• 0 Posts
  • 36 Comments
Joined 2 years ago
cake
Cake day: July 12th, 2023

help-circle


  • I loved programming since I was 14. This was an acceptable passion to spend time on because it would allow me to be successful (read: make money).

    My sister always loved visual art, and is now in art school. This is an unacceptable passion, and when she tells people that she’s in art school the first response is almost always “oh so what are you planning to do with that degree?”

    We have been conditioned into a very narrow definition of success. It’s not surprising then that we start seeing art as “the next big problem to solve”, and you have all these tech bros frothing at the mouth to be the first to “solve” it and become the next startup billionaire.

    Low-effort art and music has always been around. You don’t see anyone bumping those inoffensive cover albums and lounge remixes that you hear at the mall or the driving range in their cars though. Anyone who doesn’t already love listening to music isn’t in that position because of a lack of options in the (sigh) market. So I promise you won’t see “billions of new customers” dying to consume derivative slop music.



  • Once I got used to single-directory filetree browsing plus fuzzy finding, I have never been able to comfortably use a traditional filetree anymore. most of them are not designed for efficient keyboard use (vscode and intellij at least) and don’t really help understanding the structure of the project imo (unless there arent that many files). For massive projects I find it easier to spend the initial effort of learning a few directory names and the vague structure using oil.nvim, and then eventually I can just find what I need almost instantly by fuzzy finding.











  • My college dorm was like this. Every bathroom was ungendered. The stalls weren’t fully floor to ceiling, but were slightly better than the average public bathroom. 99% of people got over it after a little culture shock at the very beginning (maybe 2-3 days).

    There was still one women-only bathroom in my building; I believe it was for a few students who asked for religious consideration. No biggie though for almost every student.

    It only led to one embarrassing moment for me: I (a guy) was singing Frank Ocean at the top of my lungs while showering. When I came out of the shower a girl was brushing her teeth and made eye contact with me and kind of snickered/giggled. Racewalked back to my room 💀




  • I think neovim with kickstart has out-of-the-box support for go, or if not, should be configurable with two added lines (add the treesitter parser and LSP). Unlike nvchad and lunarvim and stuff, this is not a “distribution” of neovim but a good starting point for a config that makes it easy to slowly learn how to add stuff and change stuff as you see fit.

    At the beginning, you can add languages that you need support for pretty easily by adding to a list of LSPs and Treesitter parsers that should be installed; later on you can start adding and configuring plugins as you wish.

    I’d say it sets you up about the same level as Helix or a little less than VSCode.


  • Nix being an expression based functional language, it doesn’t really make sense to have something like let x=y; since this looks to most people like a statement (i.e. a line of code that gets executed as part of a sequence). This doesn’t exist in nix—instead you have expressions that get lazily evaluated, possibly out of order compared to what you’d expect. let x=y in makes it more clear that the variable binding you’re doing is only in scope for the current expression, which reads something like “let x refer to y in x + 3”

    The function definition syntax is unusual but definitely not unintuitive imo. It captures the simplicity of the function semantics of nix—a function is just a mapping/transformation from one value (or set of values) to another. I don’t think it’s too much overhead to learn that they use : to mean this instead of =>

    In terms of why they picked this syntax, it follows the traditions of other functional languages such as the ML family, Haskell etc.