Live data from Hacker News

“It's The Future”

circleci.com

531–536 of 536 posts

Re: “It's The Future”

#531
As someone who recently drove down the path of learning all the new "hotness" in the DevOps world, I can safely say I came out of it with two learnings:

1. I have a much better understanding of what's happening behind-the-scenes

2. For most small startups, you should seriously consider the time (and therefore, cost) of investing in your own infrastructure.

For point #1, I think understanding your options and how they benefit your company is essential for you transition from a small -> medium -> large size company. The paradigms you learn by virtue of researching the new technologies might end up being applicable in other parts of your development process.

On point #2, I partially regret not deploying to Heroku, seeing where our system became stressed, and optimizing. Attempting to scale for things you don't know about yet is tough, and can lead you down a path of wasted time and money.

Re: “It's The Future”

#532

Earlier quoted context omitted.

I never thought I would appreciate Java...but the industry has really made me. Take your .war file, drop it onto JBoss. It deploys across the cluster in a zero downtime manner, isolates configuration, provides consistent log structure, cert management, deployment. You can deploy dozens of small war's to the same server and they can talk to each other. Load balance across the cluster automatically based on actual load…

Can you do similar stuff with clojure or Scala? Maybe there's a way to avoid the bad parts

Yeah. And Kotlin.

Re: “It's The Future”

#533
post #303

There was a time when Heroku seemed just as foreign to me as Docker does in this article. - So shared webhosting is dead, apparently Heroku is the future? - Why Ruby, why not just PHP? - Wait, what's Rails? Is that different from Ruby? - What's MVC, why do I need that for my simple website? - Ok, so I need to install RubyGems? What's a Gemfile.lock? None of these commands work on Windows. - I don't like this new text…

To be fair, a lot of these questions are valid. You arguably /don't/ need MVC for yours simple website, if Dreamweaver floats your boat you might as well use it, it's unclear why a small website needs an elaborate deployment infrastructure, using a VCS for personal code can be overkill, PGSql and SQLite aren't better than MySQL for every use case -- and so on. Frameworks, orchestrations, even just new technologies --…

Agree until

> using a VCS for personal code can be overkill

I've been burned before, have you? If you're using something like Google Drive, you should use DropBox instead, since it seems less likely to lose your work.

Re: “It's The Future”

#534

Don't listen to hype. Look at the problems you need to solve. If you need a big, complex, distributed system, than maybe microservices are a good idea. If you're building a simple webapp... not so much. Things that work in the large don't necessarily work in the small. I write stuff in Scheme. I'm a hobbyist, there's no reason for me not to, and I love the language. The apps I write are sometimes single-threaded (or…

For people who do not know what "Worse is Better" means, here's the link: https://www.jwz.org/doc/worse-is-better.html

WTF is at that link? It's NSFW...

Re: “It's The Future”

#535

There are 2 major issues with this: 1) Small teams (~1-5 people) trying to seem "big" by working at Google's scale. 2) Heroku's prices. We are currently (successfully so far) migrating a small Django project from bare Amazon EC2 instances to ECS with Docker. Even using 3 EC2 micro instances (1 vCPU, 1 GB RAM) for the Docker cluster we would spend ~8 USD/month/instance. With Heroku the minimum would be 25 USD/month/dy…

And what is the cost of the working hours spent to migrate to Docker compared to just doing a git push to Heroku?

A few hours a week dedicated to re-building our deployment process (which was a pain since everything had to be provisioned manually for each new project). Not saying it was the best approach, it sure was an improvement and worth the (relatively little) time.

Once again keep in mind that for new projects the process is so streamlined it will take a fraction of the time to set them up.

Re: “It's The Future”

#536

Earlier quoted context omitted.

React native was not mature enough the last time I had to solve this problem. After writing and maintaining native clients in both Android and iOS for years, I decided to try something different. SPA app + Cordova + writing custom, native plugins for performance has worked out pretty well. Some things in the UI are not as fast as I would like, but develop/test/release cycle is so much faster (web, ios, android releas…

Another question... how do you like Ember for your web apps? :)

I still have a love/hate relationship with Ember (and other JS frameworks). They are simultaneously very powerful and quite restrictive. My most recent example: there's still no common and fast&easy way to integrate Google Analytics in a project. It takes some (reasonable) effort, like 1 hour for research and implementation, when it takes 10 minutes on good old server generated HTML/JS.
Post reply on HN