• 0 Posts
  • 116 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle









  • It’s an interesting idea, though, that one’s preference for a particular design or aesthetic, especially when that design or aesthetic is emblematic of a particular historical or cultural moment, is never wholly isolated to its visual or material components, but also innately tied to our memory and understanding of that moment. I personally don’t think you can extricate a particular aesthetic from the psychic background noise surrounding it. Our minds don’t work that way. It’s always forming these subconscious or unconscious connections, binding events and memory to abstract signifiers.

    We don’t like the 90s aesthetic because it’s “better” or even attractive. I mean, nobody has wallpaper in their home with those pastel and neon triangles. Many of us like it because it reminds us of childhood, of not having responsibilities other than waking up early enough on Saturday to catch all your cartoons and of not complaining too much when you have to go visit your grandparents who can never remember your birthday and who always ask you how old you are this year, of finishing Super Mario on the SNES before your friend does so you can brag about being better at video games than him. It’s of a simpler time and place, because we were simpler. And it was, in retrospect, of an America briefly sandwiched between the end of the original “Forever War” that was the Cold War, and the beginning of the 20th Century’s new “Forever War,” that is the War on Terror.



  • I’ve heard nothing but good things about HTMX

    I’ve only ever heard anything “bad” about HTMX and it was here on Lemmy, actually. I ran into someone who was absolutely certain that HTMX was unsafe by design because it leveraged HTML over the wire and was therefore susceptible to HTML injection attacks, specifically by injecting malicious scripts that could be ran from domains you didn’t control. I tried explaining that proper utilization of access-control headers innately prevented this because they worked on the browser level and couldn’t be intercepted or interfered with by HTML injection by design, but he kept insisting it was unsafe while refusing to elaborate. He was very wrong, of course, but also very confident.






  • I’ve heard similar from the worst first year CS students you could ever meet. People talk out their ass without the experience to back up their observations constantly. The indentation thing is a reasonable heuristic that states you are adding too much complexity at specific points in your code that suggests you should isolate core pieces of logic into discrete functions. And while that’s broadly reasonable, this often has the downside of you producing code that has a lot of very small, very specific functions that are only ever invoked by other very small, very specific functions. It doesn’t make your code easier to read or understand and it arguably leads to scenarios in which your code becomes very disorganized and needlessly opaque purely because you didn’t want additional indentation in order to meet some kind of arbitrary formatting guideline you set for yourself. This is something that happens in any language but some languages are more susceptible to it than others. PEP8’s line length limit is treated like biblical edict by your more insufferable python developers.


  • Yeah, but it’s still a Ship of Theseus problem. If you have a ship and replace every single board or plank with a different one, piece by piece, is it still the same ship or a completely different one, albeit an exact replica of the original. It’s important because of philosophical ideas around the existence of the soul and authenticity of the individual and a bunch of other thought-experimenty stuff.