Live data from Hacker News

Heroku has been running a second copy of my scheduler instance

openfolder.sh

111–120 of 132 posts

Re: Heroku has been running a second copy of my scheduler instance

#111
post #92

Kinda refreshing - within the ever growing genre of stories about Heroku's downfall into junk status - to find such an article with a higher level of detail and analysis of the origins of the problem. There's one thing that somewhat surprised me though: this line: > "In 2018 Heroku was pretty much the only option for a newbie like me to get started with web-development" Was it? Really? I mean, I'm not saying the auth…

Let's say you have never deployed anything to production before, and you've worked through a tutorial in Rails or Django or whatever and just built your first web app, and it's 2018, what are your options? There's the zoo of AWS. Maybe there's something there you can use - Lightsail came out I think in 2016 - but good luck trying to find it out of all the plethora of weirdly named services. Again, total beginner here…

> you've worked through a tutorial in Rails or Django or whatever

People underestimate the momentum of educational content. The Ruby on Rails tutorial book is a perfect example of guiding people into the Heroku walled garden - and at the time it was a reasonable decision that benefited the readers and (IMO) helped encourage them to go beyond starter-apps and actually put something in the wild.

Re: Heroku has been running a second copy of my scheduler instance

#112
post #54

Earlier quoted context omitted.

Or dokku, which is to a very high degree compatible with heroku too.

Dokku is amazing if you just want to get your stuff deployed behind a https domain. It allows the average developer (me) to spin up docker containers behind HTTPS subdomains together with postgres and other popular services from nothing within less than half an hour.

It supports kubernetes and stuff nowadays too.

Re: Heroku has been running a second copy of my scheduler instance

#113

Kinda refreshing - within the ever growing genre of stories about Heroku's downfall into junk status - to find such an article with a higher level of detail and analysis of the origins of the problem. There's one thing that somewhat surprised me though: this line: > "In 2018 Heroku was pretty much the only option for a newbie like me to get started with web-development" Was it? Really? I mean, I'm not saying the auth…

What's an alternative to Heroku with the same level of ease and establishment? AppEngine is established but not easy, for example.

I still have some smaller projects running on Heroku. Was running a mid-scale one that we shut down for unrelated business reasons. It's been fine.

Re: Heroku has been running a second copy of my scheduler instance

#114

Kinda refreshing - within the ever growing genre of stories about Heroku's downfall into junk status - to find such an article with a higher level of detail and analysis of the origins of the problem. There's one thing that somewhat surprised me though: this line: > "In 2018 Heroku was pretty much the only option for a newbie like me to get started with web-development" Was it? Really? I mean, I'm not saying the auth…

Yeah I'd only agree with that statement in like 2009. By 2018 there were a hundred equally fully-featured PaaS options to choose from.

Re: Heroku has been running a second copy of my scheduler instance

#115
post #48
post #28

Earlier quoted context omitted.

Building your own data center isn't enough, land ownership is a myth as you'll still be locked in to your government via property taxes. The real self-hosted solution is running your server off a solar powered yacht in international waters while transmitting and receiving all data via worldwide shortwave radio. Fire any customers not willing to invest in a SW-Ethernet adapter.

Shortwave radio depends on ionospheric conditions, which can be manipulated via nuclear blasts, ionospheric heating facilities, solar activity, and volcanos. Instead you must modulate a neutrino beam from international waters using a nuclear submarine for power. Fire any customers not willing to invest in kiloton-scale neutrino detectors.

Or just use the regular Internet but conquer the entire world first to make sure nobody can tell you what to do with it.

Re: Heroku has been running a second copy of my scheduler instance

#116
post #54
post #53

Friendly reminder that if you want Heroku-like deployments for simple projects you can go and roll your own with https://github.com/piku :)

Or dokku, which is to a very high degree compatible with heroku too.

Looks nice, I'll try it for my next little project.

Re: Heroku has been running a second copy of my scheduler instance

#117
post #92

Earlier quoted context omitted.

Let's say you have never deployed anything to production before, and you've worked through a tutorial in Rails or Django or whatever and just built your first web app, and it's 2018, what are your options? There's the zoo of AWS. Maybe there's something there you can use - Lightsail came out I think in 2016 - but good luck trying to find it out of all the plethora of weirdly named services. Again, total beginner here…

> You can go with Linode or Digital Ocean. You would need to set up a VM with all the dependencies and make it secure. Oh and you'll need a database - should that sit on another VM? What about backup and restore? What about deployment? Sure, you can use Ansible, but that's yet another learning curve. An interesting perspective. I started using Linux as a kid, long before I started programming. When I wrote my first w…

Well yeah the hard part in running your own VMs is security (and backups), if you don’t concern yourself with this then it isn’t super difficult to diy. But how long will it stay online?

Re: Heroku has been running a second copy of my scheduler instance

#118
post #92

Earlier quoted context omitted.

Let's say you have never deployed anything to production before, and you've worked through a tutorial in Rails or Django or whatever and just built your first web app, and it's 2018, what are your options? There's the zoo of AWS. Maybe there's something there you can use - Lightsail came out I think in 2016 - but good luck trying to find it out of all the plethora of weirdly named services. Again, total beginner here…

Why is "learn more about how to properly host something" never an option for people? And in 2018! Suck it up and learn how to secure a VM, folks, especially if you're turning tutorials into production services. Most of those issues don't just go away when someone builds yet another expensive abstraction on top of a server, I promise.

As someone who took this advice around 2016 and setup servers for clients' sites I was building, the lesson I would impart here is: DON'T DO THIS

Maybe do this for small side projects and people who don't care if the site goes down.

Nothing more fun than trying to figure out what your 2016 self did to set up that fucking server based on a half-baked tutorial that was the top Google hit. And now it's crashing, and you don't know what the fuck is wrong. And the client is frantically texting you asking when the site will be up again.

The curse of knowledge gets people to forget how fucking steep the learning curve can be when every Linux thing is new. Especially when you're trying to debug a problem and every StackOverflow answer has you chasing wrong paths.

2023 me would have no problem doing this now, but also why the fuck would I want to waste my time mucking about fixing dumb problems. There's no need to prove how awesome I am at doing DevOps. I'm 100% ok paying a premium to let that be someone else's problem. I would rather solve fun problems than doing endless maintenance tasks.

Re: Heroku has been running a second copy of my scheduler instance

#119
post #118

Earlier quoted context omitted.

Why is "learn more about how to properly host something" never an option for people? And in 2018! Suck it up and learn how to secure a VM, folks, especially if you're turning tutorials into production services. Most of those issues don't just go away when someone builds yet another expensive abstraction on top of a server, I promise.

As someone who took this advice around 2016 and setup servers for clients' sites I was building, the lesson I would impart here is: DON'T DO THIS Maybe do this for small side projects and people who don't care if the site goes down. Nothing more fun than trying to figure out what your 2016 self did to set up that fucking server based on a half-baked tutorial that was the top Google hit. And now it's crashing, and you…

>I would rather solve fun problems than doing endless maintenance tasks.

Not everything in your career will be fun and exciting, and what you consider to be maintenance that you can ignore, some of us consider fundamentals that one ought to know to be considered a serious professional. Food for thought.

Edit: the real lesson is to avoid doing mission-critical, production work for customers without the requisite knowledge. This is hard to hear, but if people don't, they'll overestimate their abilities and get into trouble. It's fine to be junior, it's not fine to oversell your skills.

Re: Heroku has been running a second copy of my scheduler instance

#120

Earlier quoted context omitted.

But don't do it if its Google. I had been charged for g-suite for domain that expired and someone else picked it up (and parked), long story short after 3 months of back-and-forth with "support" I gave up and started with chargebacks. It was 7 of them, each month one for $6, until one sunny day I woke up and my own gmail account, my youtube TV and Google Play on 2 Android devices all got blocked with messages popping…

That's a good reason to never use Google ever. They did you a favor.

[deleted]
Post reply on HN