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

  • 2 Posts
  • 124 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.






  • 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



  • tatterdemalion@programming.devtoWorld News@lemmy.worldJapan to criminalise cannabis use
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    14
    ·
    edit-2
    2 months ago

    It’s not harmless. It’s linked to mental illness and increased stress. People need to stop spreading this myth.

    EDIT: I know that people are down voting because weed is incredibly popular and rarely does harm, but that doesn’t mean you should propagate the myth that it’s harmless. Your personal experience should not speak for everyone.

    Weed can easily cause intense anxiety and paranoia if the user takes more than they can handle. This is just as true for someone who is trying it for the first time as it is for someone with a long history of use.

    If you have ever had panic attacks or heart palpitations, the combined increase in heart rate and anxiety may trigger a panic attack. It’s also habit-forming enough that people who’ve had panic attacks will keep using it despite knowing they are risking a really stressful experience.



  • I’m not in the market, but I’ve actually had similar thoughts of building a project on top of NixOS that’s focused on self-hosting for homes and small businesses. I recently deployed my own router/server on a BeeLink mini PC and instead of using something like OpenWRT, I used NixOS, systemd-networkd, nftables, etc.

    DM me if you want to discuss more. I think the idea has potential and I might be interested in helping if you can get the business model right (even if it just ends up being some FOSS thing).