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.

  • NullPointer
    link
    fedilink
    English
    43
    edit-2
    1 month ago

    I just tell people that I am a “professional button pusher”

      • @ulterno@programming.dev
        link
        fedilink
        English
        221 month 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.

    • 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”.

    • sp3ctr4l
      link
      fedilink
      English
      21 month ago

      If you go back far enough, you’d be coding the ENIAC via punchcards.

      … Or maybe today you could write code on paper and have an AI augmented OCR system try to run it?

  • @_____@lemm.ee
    link
    fedilink
    English
    121 month 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
      181 month 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

  • sp3ctr4l
    link
    fedilink
    English
    23
    edit-2
    1 month 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
    511 month 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
    311 month ago

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

  • @humanspiral@lemmy.ca
    link
    fedilink
    341 month ago

    while 1 print money

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

      • @psud@aussie.zone
        link
        fedilink
        English
        11 month ago

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

        • @xmunk@sh.itjust.works
          link
          fedilink
          11 month 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
          01 month 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.