News for hackers. Stuff that matters.
Re:Ask HN: What would be your stack if you are building an M... by ultrasounder on Thursday January 26, 2023 @02:30PM (#34537437)
Fellow EE here and love what you do! Loved your post on scraping.Btw, I thought you used Flask. Looks like I was wrong.
Re:Ask HN: What would be your stack if you are building an M... by cushychicken on Thursday January 26, 2023 @04:17PM (#34538963)
Thanks for the kind words. It’s probably time for me to revise that a bit, or write another one. I’ve learned a lot more yet since I wrote that.

I used to use Flask, but I changed over to Django at the end of 2022. Super happy I did. It wasn’t painless, but the benefits have been totally worth it.

Re:Ask HN: What would be your stack if you are building an M... by heavyheavy on Thursday January 26, 2023 @06:58PM (#34540616)
What were the benefits switching over to Django from Flask?
Re:Ask HN: What would be your stack if you are building an M... by cushychicken on Friday January 27, 2023 @02:26AM (#34543550)
Batteries included admin console with easily configurable model views.

Built in migrations. Can’t possibly overstate how much this has helped ease deployment. Most of the live debug and prod edits I had to do on the older app were due to db migrations not being shipped with the app.

A baked in ORM with lots of backend optimizations like pagination that keep your queries fast, plus convenience functions for model creation and retrieval (long live get_or_create)

There was a learning curve to all of this, and the complexity of all this in the tutorial scared me away at first, but having seen how the other half lives with Flask, where there are no guardrails for anything, I really appreciate having a framework that solves these kinds of challenges for me.

Re:Ask HN: What would be your stack if you are building an M... by heavyheavy on Tuesday January 31, 2023 @06:48PM (#34604107)
Interesting, appreciate the reply. Wouldn't hurt to add it to the repertoire.
Re:Ask HN: What would be your stack if you are building an M... by cushychicken on Friday January 27, 2023 @09:48AM (#34546622)
One more big benefit: you can figure out how to do almost anything with Django with the right combination of Google and Stack Overflow searches. Not so for Flask.

Ok, well, maybe there are some answers, but it’s always like “Install, configure, and integrate this third party plugin”. Ain’t nobody who’s side-hustlin’ got time for that.