• 0 Posts
  • 19 Comments
Joined 3 months ago
cake
Cake day: December 18th, 2024

help-circle
  • Damn why doesn’t git just use sql instead of Merkle trees I guess that’s just stupid tell Linus to get to using SQLite asap!!!

    But no, you’re wrong. Cryptographically verifiable merkle trees are a valuable way to store changing data. Unlike your recommendations, they don’t satisfy the needs of verification, which is literally a great use-case for ssns. Now I’ll admit that the SSN db doesn’t need to be distributed, which is the only thing a blockchain adds to that equation. But you are just flat out wrong for suggesting a sql db 😂



  • dreadbeef@lemmy.dbzer0.comtoProgrammer Humor@programming.devstop
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    5 days ago

    Okay but partial application of curried functions is a really cool way of doing dependency injection and you haven’t experienced bliss until you create a perfect module of functions that are exactly that

    Also languages with macros and custom operators (where operators are just functions with special syntactic sugar) are so much cooler than those without (Clojure and elixir my beloved)

    Additionally a system where illegal states are made impossible is soooo nice to work in. It’s like a cheat code


  • dreadbeef@lemmy.dbzer0.comtoProgrammer Humor@programming.devstop
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    5 days ago

    Not really, it’s just good practice. You write your application in layers, and the outer layer/boundary is where you want your side effects and that outer layer takes the crazy effectful world and turns it sane with nice data types and type classes and whatnot and then your inner layers operate on that. Data goes down the layers then back up, at least in my experience with functional projects in OCaml, F#, Clojure, and Haskell.

    The real sauce is immutability by default/hard-to-do mutation. I love refs in OCaml and Clojure, so much better than mutation. Most of the benefits of FP are that and algebraic data types, in that order imo.





  • I used SOAP in my first web dev job over a decade ago when I was making flight search software and connecting to horrific APIs owned by the airline industry to get flight details and purchase tickets. Why are these two things even remotely the same? It’s closer to SQL than SOAP, and I’d choose graphql over any soap api. I still wouldn’t do it over http if I could avoid it though.












  • I played enshrouded and path of exile and Diablo and Elden ring coop and bg3 coop all with zero issues except on like the first few days of release if there are any.

    The worst thing right now about Linux multiplayer gaming with anticheat is the release day experience. Or if it’s a AAA title with heavy graphics expectations, odds are they use some weird directx fuckery that’s not available in vulkan immediately and needs patching.

    All of that gets fixed when Steam deck compatibility at launch day becomes more of a thing, so it’s just a matter of time tbh. I’ve been using Linux dual-boot since Hardy Heron and as my sole OS since 2018, 2025 may be honestly the year of the Linux desktop no joke.