Professional software engineer, musician, gamer, stoic, democratic socialist

  • 3 Posts
  • 103 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle





  • Agreed.

    And sometimes code is not the right medium for communicating domain knowledge. For example, if you are writing code the does some geometric calculations, with lot of trigonometry, etc. Even with clear variable names, it can be hard to decipher without a generous comment or splitting it up into functions with verbose names. Sometimes you really just want a picture of what’s happening, in SVG format, embedded into the function documentation HTML.






  • Being eternally trapped in a mental prison. Imagine having a panic attack that never ends. I’m pretty sure that type of prolonged stress would cause a psychotic break where your psyche fractures and you become a despondent shell. You would become deathly afraid of everything, even the people you love, because of an unceasing paranoia. That basically sounds like hell to me.

    I’m not really afraid of the idea of nothingness after death, because at least then I am released from the torment of living.





  • There are plenty of good resources online. Here are some topics you probably wouldn’t see in an intro algos course (which I’ve actually used in my career). And I highly recommend finding the motivation for each of these in application rather than just learning them abstractly.

    • bloom filter
    • btree
    • b+ tree
    • consensus algos (PAXOS, RAFT, VSR, etc)
    • error correction codes (Hamming, Reed Solomon, etc)
    • garbage collection (mark+sweep, generational, etc)
    • generational arena allocator
    • lease (i.e. distributed lock)
    • log-structured merge trees
    • min-cost + max-flow
    • request caching and coalescing
    • reservoir sampling
    • spatial partition (BVH, kd-tree, etc)
    • trie
    • write-ahead log

  • 2001: A Space Odyssey

    Just epic classical music.

    Spirited Away

    Joe Hisaishi fits the fantastical setting perfectly. Lots of bittersweet, exciting, and meditative moods, each placed in the perfect scene.

    Tarantino’s movies usually have a great song selection.

    Full Metal Jacket

    Hearing “Bird is the Word” juxtaposed with the Vietnam War is just a crazy choice that paid off.

    Nobody (2021)

    Turned me on to Luther Allison. Not a “best soundtrack” but it definitely stands out.




  • the risks in cannabis are comparable to caffeine, and on an objective level, even smaller

    OK maybe? I think it depends on the user. Excuse my falling back on anecdotes now, but I don’t think I’ve met anyone whose had a panic attack from drinking coffee (though I would not be surprised). However I know several people who have had panic attacks from ingesting THC.

    I agree that we are too blase as a culture about the relative risks of caffeine and alcohol dependence. I just get frustrated when people parrot the notion that cannabis has never hurt anyone. I even support the cause to at least decriminalize it and even legalize it for adults, though we need better education about the potential risks. I’ve only ever seen warning labels about the habit-forming nature.