• 0 Posts
  • 186 Comments
Joined 1 year ago
cake
Cake day: November 13th, 2023

help-circle



  • As someone who just picked through the Zig docs (take this with a mountain of salt), Zig has a few things going for it:

    • spec is simple and closer to C in scope
    • modern language design, toolchain, and overall ergonomics
    • Go-like struct & interface system
    • 1st-class C interoperability

    Go foists co-routines on you and the runtime, and Rust has the borrow checker. Both of these things deeply impact language design, standard libraries, and the overall developer experience. So Zig might actually be a “more modern C” in many ways which makes it a contender. That said, it’s not a 1:1 comparsion since it lacks everything else that C++ does: you’d have to re-envision your software designs as something other than OOP if that’s what you’re used to.



  • Beating most any “hard” video game is always a great feeling just due to the sheer hours that go into it. In some cases, you have to develop the memory and skill to do the whole thing in one sitting. I can’t count how many from the NES era fit this criteria. Top of that list are: Contra, Bionic Commando, and most Zelda and Mega Man games.

    The best one happened in the middle of my Dark Souls play-through. I kept having to quit playing after short sessions, as skill and vigor checks kept wrecking me. This lead to anger and rage that just made it impossible to proceed. Once I made the connection that I could concentrate more and flow through combat more easily while calm, I changed tactics to calming my own mind and keeping it that way. The game just “opened up” after that. From there on, it was much more about meditation and breathing than equipment and leveling - skills I now carry with me everywhere. DS literally made me a calmer and more resilient person.




  • **For some reason Lemmy is adding a ‘25’ between the % and s. Those numbers shouldn’t be there, just fyi.

    The URL as shown is actually valid. No worries there.

    The value 25 happens to be hexidecimal for a percent sign. The percent symbol is reserved in URLs for encoding special characters (e.g. %20 is a space), so a bare percent sign must be represented by %25. Lemmy must be parsing your URL and normalizing it for the rest of us.




  • I love that “Uh, guys?” is a real in-character reaction and moment in many episodes of SG1. This story easily could have been a plot in the show.

    While Star Trek had these wonderful “this is why we explore the galaxy” moments, SG1 wasn’t afraid to place characters face-to-face with something or someone that would just erase existence or end humanity if the next moment wasn’t handled the right way.