HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jgavris

no profile record

comments

jgavris
·4 miesiące temu·discuss
Almost spit out my coffee
jgavris
·5 miesięcy temu·discuss
They’re trashing our rights!
jgavris
·6 miesięcy temu·discuss
I was just in the middle of writing something similar above, thanks!
jgavris
·6 miesięcy temu·discuss
The general approach is to do multiple migrations (add first and make new-code work with both, deploy, remove old-code, then delete old-schema) and this is not specific to Django's ORM in any way, the same goes for any database schema deployment. Take a peek at https://medium.com/@pranavdixit20/zero-downtime-migrations-i... for some ideas.
jgavris
·6 miesięcy temu·discuss
Of course, ActiveRecord back in 2005.
jgavris
·6 miesięcy temu·discuss
The Django ORM / migrations are still basically unmatched in happiness factor.
jgavris
·6 miesięcy temu·discuss
This is essentially how some fixed wireless providers (like Starry) deliver the last mile (twisted pair).
jgavris
·7 miesięcy temu·discuss
I still feel like Swift 5 (5.2?) was the sweet spot. Right now there are just way too many keywords, making C++ look easy again.

Similarly, I find Combine / GCD code far easier to write and read and understand, and the semantics are better than structured concurrency. I have plenty of production Combine code in use by (hundreds of) millions of people and it hasn't needed to be touched in years.