• andybytes@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    I just uh… thought about this a little bit further and I think it’s kind of like a situation between truth and circumstance and shit on top of shit. as well as who does it serve and for what?

  • excral@feddit.org
    link
    fedilink
    arrow-up
    1
    ·
    14 days ago

    My experience is that the programmers from the first row very much still exist. My theory is that the number of programmers from the first row stayed the about same or even increased slightly. There are so many more so called “programmers” overall now, however, that in relation the first row programmers are much rarer now. And to be fair, you don’t need a programmer capable of programming entire games in assembly to center a div.

    • zerofk@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      14 days ago

      And vice versa, you don’t need to know how to centre a div to create a game in assembler. I’m comfortable using pointers and managing memory, but don’t ask me to do anything with web UI.

  • jubilationtcornpone@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    14 days ago

    QA: “Yeah, Hi. Can you look at this defect ticket?”

    Reading ticket details…

    Me: “Let me guess. Is [whatshisname] responsible for this?”

    QA: “Yeah.”

    Me: “Get him to fix it.”

    QA: “I tried. Like four times.”

    Me: Sigh “I’ll take care of it.”

    QA: “Thank you!”

  • arudesalad@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    14 days ago

    One of my favourite game dev stories from the 1980s is the story of Elite. It was a game people thought couldn’t be made. Most devs thought hardware wasn’t powerful enough and publishers thought it wouldn’t be fun enough.

    It was one of the first properly 3D open world video games ever made. I think when it released it sold nearly as many copies as there were home computers that could run it.

    In order to make the game small enough to fit on a cassette tape they had to ditch basic and program the entire game, world in assembly.

    There’s a fantastic video about it here: https://youtu.be/lC4YLMLar5I

    • Redkey@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      14 days ago

      In order to make the game small enough to fit on a cassette tape they had to ditch basic and program the entire game, world in assembly.

      Putting aside the fact that the majority of commercial games of the time were written in assembly (or other low-level languages) just as a matter of course, I strongly suspect that programming the game in assembly was an execution speed issue, and not a cassette space issue. Regular audio cassettes easily held enough data to fill an average 8-bit home computer’s memory many times over, whether that data was machine code or BASIC instruction codes.

    • Lemminary@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      14 days ago

      the game small enough to fit on a cassette tape

      Holy hell, that is OLD old. We’re talking about the beginnings of digital time here. Had the first web constellations formed yet? How fast did you crank your CPU?

      • zurohki@aussie.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        14 days ago

        You couldn’t crank your CPU in the olden days, it’d make games run in fast forward.

        • The Ramen Dutchman@ttrpg.network
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 days ago

          To be fair, unlocking the frame rate on console-to-PC ports still fast-forwards many games including Nier: Automata or breaks the physics like in Skyrim.

          It doesn’t have to be this way, any more, but it still is because… Lack of expertise? I really can’t think of anything else?

  • gradual@lemmings.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    13 days ago

    Honestly, CSS is a fucking joke and it’s solely to blame for why centering something isn’t always straightforward.

    By the way, this picture is a crock of shit for people who aren’t programmers. Anyone who is a programmer will not take it seriously because programming is so much more about helping others instead of shaming them.

      • rooroo@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        12 days ago

        Everybody complaining about css like “but it doesn’t do what I want if to do without me investing a minute into why”.

        Ironically, it’s oh so often the RTFM crowd.

    • Rose@slrpnk.net
      link
      fedilink
      arrow-up
      1
      ·
      13 days ago

      If using plain CSS, usually it’s enough to set width appropriately, and margin-left and margin-right to auto.

      If using a Modern Frontend/CSS Framework, then may God have mercy on your poor soul.

      (Seriously I just started a new project with TailwindCSS and I’m so confused. But not entirely desperate yet.)

      • Ricaz@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 days ago

        I’m doing a small hobby project (a ladder/ranking system for playing beer sports with my community), and I tried out Tailwind.

        I gave up and loaded Bootstrap instead, but I will probably end up just writing all the CSS myself.

        Seems so silly to have 15 CSS classes on a single DOM element…

      • loics2@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        13 days ago

        w-... mx-auto, replace the 3 dots with your desired width value, and that’s it with tailwind

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 days ago

        My brother in Christ TailwindCSS just gives classes that let you do inline styling in a shorter syntax! (and theme configuration, but mostly inline styling)

        Replace width: ...px with w-..., margin-left: ... with ml-... and margin-right: ... with mr-.... Setting both horizontal margins is mx-... and both vertical margins is my-....

        If you can do inline styling, TW just makes the syntax a bit shorter, but that’s it, really.

    • ɪᴍᴘᴇᴅᴀɴꜱ@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      14 days ago

      If you define what you mean by centering I’ll give you a straight answer.

      Vertically? Horizontally? Center the text or the entire box? Compared to the viewport, the parent container or the entire page?

      “Centering” isn’t as straight forward as you’d think, and what you actually want usually depends on the situation.

    • bisby@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      14 days ago

      Nano… Like… The one that has all the keybinds permanently shown at the bottom of the screen?

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      13 days ago

      Huh? Isn’t it like right there at the bottom of the screen?

      I guess not knowing that ^X means Control+X could be the issue, but still…

      • andioop@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        13 days ago

        TIL!

        Can exit nano on my own, have the common sense to not call in a panic about it before at least looking it up. (Which is how I learned how to exit it: looking it up.) But was never taught about ^ meaning “Control+” until your comment, especially since nowadays people write it out as “Control+” or “CTRL+”.

        I might have put two and two together when dealing with everything else in nano after I learned to exit, but never really internalized the rule “^ means Control+”. So thank you for your comment!

        Disclaimer: I feel like I am too stupid for most of programming.dev but participate here anyways because I learn stuff from the comments.

  • hope@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    14 days ago

    I feel very confident in my understanding of random 8 bit CPUs and their support chips, but asking me to center a div is like this xkcd.

      • qjkxbmwvz@startrek.website
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        14 days ago

        It is “backwards” from some other commands — usually you run copy/rsync/link from source to destination, but with tar the destination (tarball) is specified before the source (directory/files).

        That, and the flags not needing dashes always just throws me for a loop.

        And the icing on the cake is that I don’t use tar for tarring that often, so I lose all muscle memory (untaring a tgz or tar.bz2 is frequent enough that I can usually get that right at least…).

        • Ethan@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          14 days ago

          I almost never create a tarball, so I have to look up the syntax for that. Which is as simple as man tar. But as far as extracting it almost couldn’t be easier, tar xf <tarball> and call it a day. Or if you want to list the contents without extracting, tar tf <tarball>. Unless you’re using an ancient version of tar, it will detect and handle whatever compression format you’re using without you having to remember if you need z or J or whatever.

          • The Ramen Dutchman@ttrpg.network
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            7 days ago

            It can be easier if you’re used to the dash before the arguments; it’s optional but you can put them:

            tar -cf   # Compress File
            tar -xf   # Xtract File
            
  • milkisklim@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    14 days ago

    Hey now. Searching stack overflow circia 2011 to 2018 was an Art. You had to know enough to find the correct question that wasn’t deleted because a mod thought it was a duplicate of another question