HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jgavris

no profile record

comments

jgavris
·4 месяца назад·discuss
Almost spit out my coffee
jgavris
·5 месяцев назад·discuss
They’re trashing our rights!
jgavris
·6 месяцев назад·discuss
I was just in the middle of writing something similar above, thanks!
jgavris
·6 месяцев назад·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 месяцев назад·discuss
Of course, ActiveRecord back in 2005.
jgavris
·6 месяцев назад·discuss
The Django ORM / migrations are still basically unmatched in happiness factor.
jgavris
·6 месяцев назад·discuss
This is essentially how some fixed wireless providers (like Starry) deliver the last mile (twisted pair).
jgavris
·7 месяцев назад·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.