HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jgavris

no profile record

comments

jgavris
·hace 4 meses·discuss
Almost spit out my coffee
jgavris
·hace 5 meses·discuss
They’re trashing our rights!
jgavris
·hace 6 meses·discuss
I was just in the middle of writing something similar above, thanks!
jgavris
·hace 6 meses·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
·hace 6 meses·discuss
Of course, ActiveRecord back in 2005.
jgavris
·hace 6 meses·discuss
The Django ORM / migrations are still basically unmatched in happiness factor.
jgavris
·hace 6 meses·discuss
This is essentially how some fixed wireless providers (like Starry) deliver the last mile (twisted pair).
jgavris
·hace 7 meses·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.
jgavris
·hace 3 años·discuss
Git ‘remotes’ can have rules (hooks that run on push, and decline).

GitHub has ‘branch protection’ which prevents various changes. But GitHub is not Git. A common misconception lately due to its popularity.

Git itself is nothing more than a set of tools to manage the versions of a repository. How you choose to use it is up to you, and what you allow.

Solo developer? Rebase, or don’t.

Do you collaborate? Maybe consider using a SaaS product like GitHub and setup your rules.
jgavris
·hace 3 años·discuss
Cyberarmy was pretty fun too
jgavris
·hace 3 años·discuss
Definitely a fun demo!
jgavris
·hace 3 años·discuss
It’s practically a requirement…let’s say there was no iOS class when I was in school, but there was an App Store.
jgavris
·hace 3 años·discuss
Indeed, it’s not out of reach and compute density is higher than the Mac Pro with Minis (even the core i9). M1 / M2 is vastly higher.
jgavris
·hace 3 años·discuss
I wrote a hacky version of SKIP LOCKED using advisory locks and a recursive CTE before it was released for a job queue. It worked splendidly, along with the transactional semantics of a proper database. I’m surprised more systems don’t realize they need it.
jgavris
·hace 3 años·discuss
Like a store and forward wifi mesh network? I worked on this in 2008.
jgavris
·hace 3 años·discuss
Lest we forget DotA was a Warcraft 3 mod to begin with…