• @affiliate
    link
    427 minutes ago

    i am both people in this picture

    • @[email protected]
      link
      fedilink
      277 hours ago

      I have a great performance optimization for this

      What if instead of 1s sleep, we did 0.5s sleep? That’s a 100% improvement.

    • @devfuuu
      link
      97 hours ago

      For anyone who controls time travel this is the fastest algorithm ever. Probably gonna change everything when we are traveling through space and passing by some dark holes.

    • @rockSlayer
      link
      217 hours ago

      stay away from the edge cases and everything will be fine

    • sylver_dragon
      link
      English
      34 hours ago

      Perfect, we’ll just spin up an image of your machine in EC2, give it a public IP, set the default network rules to “allow any any” and we’re good. And I have no idea why the security team just all quit.

      • partial_accumen
        link
        23 hours ago

        The git commit comment when pushing to prod is just: WCGW?

        … alternate ending: YOLO!

  • @sumguyonline
    link
    87 hours ago

    It runs, just nothing happens and no error pops ANYWHERE!!!

  • Gigliorananomicom
    link
    fedilink
    English
    77 hours ago

    I want to learn C# or Python for game dev, but it looks…daunting.

    Anyone got advice?

    • @[email protected]
      link
      fedilink
      154 minutes ago

      Code looks more terrifying than it actually is

      After learning the basics of a programming language, you could try using a game engine like Unity or Godot to not have to code a lot of more complicated things like displaying things and collisions

    • partial_accumen
      link
      23 hours ago

      I know a bit of python and ruby, but doing something similar except I’m writing it in BASIC on a Commodore 64 and am going to attempt to refactor it assembly. I have most of the BASIC version working now.

    • @[email protected]
      link
      fedilink
      English
      14 hours ago

      Find a different career choice!

      Software development is all stress all the time and I don’t know what the fuck I’m doing and I really don’t think this much stress at 34 is healthy even with the salary

    • @rovingnothing29
      link
      117 hours ago

      “Automate the boring stuff with python” to start. As an added bonus you’ll have more downtime as you go.

    • slazer2au
      link
      English
      77 hours ago

      Start by using an existing engine like renpy to get flow and math. Then expand to other engines.

    • @[email protected]
      link
      fedilink
      5
      edit-2
      7 hours ago

      Learn rust for game dev, develop the game in rust, and then brag about how your game is written 100% in rust (nerds will be extremely impressed, for maximum clout release it under GPL V3 with native Linux support).

        • @[email protected]
          link
          fedilink
          44 hours ago

          But first you need to make a custom Risc-V CPU optimized for rust (and minimal memory leaks) and then port a custom Arch fork (completely rewritten in rust ofc) so you can run OxideFetch

    • @[email protected]
      link
      fedilink
      English
      57 hours ago

      I would start (if you havent already) with an introduction to CS. You can take CS50 for free online - https://cs50.harvard.edu/x/2025/.

      I dont think they cover much C# (I took the 2020 course and they didnt) but they do introduce you to C, C++, Python, html, etc. They provide github codespaces available for anyone for free, so you can complete the weekly labs and problem sets offered in the course. It really is a good jumping off point.