transcript

A meme saying: “STOP DOING COMPUTER SCIENCE”

  • Computers were supposed to solve math, NOT to be programmed
  • C is a LETTER, not a language
  • Wanna print() something? Write it in a PAPER with a PEN
  • “I’m writing a recursive method with threads to optimize the CPU usage in a 0.02%” THIS IS A NONSENSICAL STATEMENT MADE BY DERANGED PEOPLE

Look at what PROGRAMMERs have been demanding your respect for, after all the led lights we put in their computers: (This is real COMPUTER SCIENCE, done by real COMPUTER SCIENTISTS)

  • FUNNY COLORED LETTERS (with a picture of syntax-highlighted code)
  • 178 COMPILATION ERRORS??? (with a picture of compilation errors
  • A FAKE TEAPOT YOU CAN’T USE (with a picture of a 3d rendered teapot.

IF PROGRAMMING WAS REAL HOW COME NOBODY THOUGH IN DOING while(true{print(money);}

end transcript.

  • x00z@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    10 hours ago

    Ah yes, let’s forget that that image is created on a computer

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      8 hours ago

      Yes, it’s just buried under crap and and redundant copies of itself. And possibly still written in Fortran.

    • slaneesh_is_right@lemmy.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      12 hours ago

      I think it’s only getting worse. I always assumed the next generation will be more tech savvy than the last one. I had to learn windows/mac/dos when i grew up, just to play some video games. There was a lot of troubleshooting and hardware problems i had to figure out. When i was 25, people would tell me that their 5 year old can use their ipd better than they can. (Ipads just came out.) I thought these kids are gonna be computer wizards when they grow up. It was the absolute opposite. I talked to these kids when they were around 16 again, and they were absolutely clueless. If it wasn’t an ipad or an app they could use, they might as well play with a piece of glass. Can you do … On an ipad? Hmm, what app is that? It’s not an app is something you do, like a setting. Hmmm… I’ll check the app store.

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        8 hours ago

        Yep, 1990-2010 was kind of the golden age for learning computers on the fly. They were too rare and inaccessible before, and they’re too polished and sandboxed now.

  • humanspiral@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    while 1 print money

    Central banks obfuscate this code a bit, but its all about having the right printer hooked up.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      7 hours ago

      Well, they use a for loop that whatever group of bureaucrats has to enter a limit into, but basically yes.

  • sp3ctr4l@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 day ago

    I mean, the entirety of Steam’s code could maybe be described as an obfuscated version of

    while(true){ print(money); }

  • SlopppyEngineer@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    A client with s very low budget wanted a solution for their filing. We suggested they could get more bang for their bucks with preprinted paper forms, pens and a cabinet than going for software. They were not amused.

  • morrowind@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    Ok but that is actually a nonsensical statement. In no case will using threads and recursion reduce cpu usage

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        That’s what diffs a professional button pusher from an amateur button pusher.
        When you know which buttons in which order get you money, you become a professional.

    • cows_are_underrated@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      I dont know where I heard this story but it was something like the following:

      In a company a very valuable machine breaks and becomes inoperable, so they call the support. They send a mechanic to fix the machine. The mechanic arrives inspects the machine, opens it, presses a button and it works as if nothing happened. The manager then asks why he is paying the mechanic just to press a button. The mechanic answers “you aren’t paying me for pressing the button, but for knowing which button to press”.

  • _____@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    using threads to reduce cpu usage ? in what world ? if you can parallelize tasks you will always increase the workload done.

    • sus@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      they said optimize CPU usage, not reduce CPU usage. clearly they actually want to increase CPU utilization in this mysterious “0.02%” situation in order to get the results faster

      • psud@aussie.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        Isn’t that what you’re optimising? Trying to reduce runtime by increasing CPU load

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          If that’s a genuine non-sarcastic question that isn’t whooshing me then no - there can be other things like memory/disk usage… but if I’m optimizing for CPU I want it to use less overall cycles. It may be that the easiest fix is to throw money at the problem (always a fair option) which would mean getting a beefier/more processor cores to make the performance acceptable but this would usually just shift how cycles are being used to process them faster.

          My joke above was that it’d use more total cycles which actually is generally the case if you’re solving a problem by throwing resources at it (since you’re likely incurring more overhead) but generally when you optimize you want to reduce the total number of cycles by somehow locating and eliminating work that doesn’t need to be done.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 hours ago

          I once made a multithreaded code for an embedded device.
          Tested it on my development Desktop PC and it used all 4 cores.

          Running it on the target device, all threads ran on the same core because it was too powerful for Linux to feel the need to use multiple cores.