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
    5
    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
      2
      ·
      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
      10
      ·
      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
        3
        ·
        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
    21
    ·
    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
      3
      ·
      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.

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

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

  • sp3ctr4l@lemmy.zip
    link
    fedilink
    English
    arrow-up
    18
    ·
    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); }

    • jef@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      22 hours ago

      Don’t understand why it takes people so long anyways, took me like 5 seconds to write it.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        14
        ·
        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
      11
      ·
      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”.

  • Gork@lemm.ee
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    1 day ago

    We need more funding for RGB lit components for our programmers since this will make them better programmers

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

      I am able to get components with unwanted lighting all over the place, but none where lighting is desirable.

      • Didn’t ask for lighting in my fans, got them.
      • Didn’t ask for lighting on my motherboard, got it.
      • Didn’t ask to a blinding light in the power indicator of my monitor, which is brighter than the screen itself. Had to tape it up.
      • Took a real while to find a cabinet without glass/acrylic stuff, because that’s all people sell nowadays.
      • Asked for a good backlit keyboard for a reasonable price. I had to make cutouts out of glow-in-the-dark stickers.
        • RGB everywhere by default, but getting even a single coloured backlight on a keyboard ramps up the price like anything.
      • psud@aussie.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        Some people use the RGB to indicate system loads by colour, so they can have a visual indicator for when a long process finishes

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

          That’s a nice way to use it.
          Not for me though, since I prefer audio cues for those things.

          I use the RGB on my gaming mouse to help find it in the dark, but that’s all. Since it’s usually too bright, all 3 RGB values are kept under 10 (out of 255).

          As for the keyboard, I am mostly fine with a single colour LED. RGB would be considered a nice to have for seasonally changing colours. I may find different zone based colours useful, but I need to find a good enough keyboard first.

  • _____@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    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
      14
      ·
      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.