Live data from Hacker News

Viewing profile — jgavris

jgavris

HN member
Joined
Tue, Jan 19, 2010, 10:11 PM UTC
HN karma
130
Public activity
82 items

About jgavris

No profile information was provided.

Recent public activity

  1. comment
    Comment #47296923

    Almost spit out my coffee

  2. comment
    Comment #46914924

    They’re trashing our rights!

  3. comment
    Comment #46794583

    I was just in the middle of writing something similar above, thanks!

  4. comment
    Comment #46794578

    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…

  5. comment
    Comment #46794547

    Of course, ActiveRecord back in 2005.

  6. comment
    Comment #46790934

    The Django ORM / migrations are still basically unmatched in happiness factor.

  7. comment
    Comment #46749003

    This is essentially how some fixed wireless providers (like Starry) deliver the last mile (twisted pair).

  8. comment
    Comment #46440818

    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 …

  9. comment
    Comment #38848841

    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 lat…

  10. comment
    Comment #38050424

    Cyberarmy was pretty fun too

  11. comment
    Comment #37937219

    Definitely a fun demo!

  12. comment
    Comment #37864206

    It’s practically a requirement…let’s say there was no iOS class when I was in school, but there was an App Store.

  13. comment
    Comment #37745723

    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.

  14. comment
    Comment #37638740

    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…

  15. comment
    Comment #37128320

    Like a store and forward wifi mesh network? I worked on this in 2008.

  16. comment
    Comment #37006049

    Lest we forget DotA was a Warcraft 3 mod to begin with…

  17. comment
    Comment #34572781

    Oh how I miss the computer labs with Kidpix, Oregon trail, Mavis Beacon, and maybe later Marathon LAN parties (when the instructor left the room for an hour)...

  18. comment
    Comment #34361686

    Even in a private monorepo, Google has tools like Copybara that make it somewhat easy to 'open source' small pieces of it and sync them in and out of a 'public' repo. The benefits …

  19. comment
    Comment #33934088

    I am fine with applying either OO / FP approaches. This example is a sealed class , it is just my opinion that the OO version reads better. And the added benefit of having the func…

  20. comment
    Comment #33922342

    Thanks. I'm just wondering why the example didn't show this extension method. It seems more idiomatic to just call it on the receiver instead of passing a parameter.

  21. comment
    Comment #33914443

    I'm genuinely curious, and I don't know much about Dart and haven't used it. The comparisons to Kotlin are interesting, especially sealed classes and pattern matching. For this exa…

  22. comment
    Comment #33708369

    Migrating from Java to Kotlin looks nice and easy on the surface (optionals!), but the lack of checked exceptions will absolutely bite you sooner or later if you are consuming Java…

  23. comment
    Comment #32611980

    How big is your Go codebase versus your Rust codebase? Why not rewrite bits in Rust? This is very cool, but seems like a lot of effort and ongoing maintenance.

  24. comment
    Comment #32446774

    Eventually you'll be able to use std::expected in C++23! https://en.cppreference.com/w/cpp/header/expected Don't throw exceptions, require the caller to handle errors and propagate…

  25. comment