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

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

help-circle





  • I don’t really like the “as intended” take because it fails Hanlon’s Razor. Even Karl Marx understood that Capitalism is doomed to a crisis and revolution cycle, not because that’s what anyone wants, but because it is a law of nature.

    The same is true of first-past-the-post voting.

    The resolve to tear it down is still plausible though. I don’t know whether it is possible to escape capitalism without a revolution. The alternative is a perfect storm of progressive legislation that seems unlikely to occur in my lifetime.



  • 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









  • Yea I agree. Good UX is a lot of work, and I think FOSS projects rarely prioritize it. Even good documentation is hard to come by. When you write software for your own use case, it’s easy to cut UX corners, because you don’t need your hand held.

    And good UX for a programmer might be completely different from good UX for someone that only knows how to use GUIs. E.g. NixOS has amazing UX for programmers, but the code-illiterate would be completely lost.

    I believe that the solution is “progressive disclosure”, and it requires a lot of effort. You basically need every interface to have both the “handholding GUI” and the underlying “poweruser config,” and there needs to be a seamless transition between the two.

    I actually think we could have an amazing Linux distro for both “normies” and powerusers if this type of UX were the primary focus of developers.