tomateaux mutters.
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 17 days ago

"Source code file"

gregtech.eu

message-square
178
link
fedilink
654

"Source code file"

gregtech.eu

Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 17 days ago
message-square
178
link
fedilink
alert-triangle
You must log in or register to comment.
  • Frezik@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    386
    arrow-down
    4
    ·
    17 days ago

    Why are all my variables suddenly named after SS officers?

    • kambusha@sh.itjust.works
      link
      fedilink
      arrow-up
      134
      ·
      17 days ago

      Führer loop

      • ch00f@lemmy.world
        link
        fedilink
        arrow-up
        120
        ·
        edit-2
        17 days ago
        • Auswitch statement
        • V2latile variable
        • Goebboolean
        • Zyklon C++
        • Left shift, Reich shift
        • Open and close Parenzer
        • Iron Cross-compiler
        • kibiz0r@midwest.social
          link
          fedilink
          English
          arrow-up
          37
          ·
          17 days ago

          Thanks I hate it!

    • vivalapivo@lemmy.today
      link
      fedilink
      arrow-up
      84
      ·
      17 days ago

      if (hasBillion) { throw new NaziSalute(); }

    • Taiatari@lemmynsfw.com
      link
      fedilink
      arrow-up
      35
      arrow-down
      2
      ·
      17 days ago

      It’s for familiarity, that way you can remember the variables better. taps head

      /s obviously

      • PattyMcB@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        17 days ago

        Modern problems…

        • noodly_appendage@lemmy.myserv.one
          link
          fedilink
          arrow-up
          11
          ·
          17 days ago

          Require traditional 1933 solutions!

  • UnderpantsWeevil@lemmy.world
    link
    fedilink
    English
    arrow-up
    245
    ·
    17 days ago

    I am a professional encoder and I always put all my codes in a single big file marked EXE for faster execution.

    • PattyMcB@lemmy.world
      link
      fedilink
      arrow-up
      49
      ·
      17 days ago

      James? I told you not to share or office secrets!

      • kambusha@sh.itjust.works
        link
        fedilink
        arrow-up
        41
        ·
        17 days ago

        What does the office secrete?

        • PattyMcB@lemmy.world
          link
          fedilink
          arrow-up
          27
          ·
          17 days ago

          Garbage code. Sadly

          • NotSteve_@piefed.ca
            link
            fedilink
            English
            arrow-up
            13
            ·
            17 days ago

            Fucking James 😤

    • skuzz@discuss.tchncs.de
      link
      fedilink
      arrow-up
      40
      ·
      17 days ago

      Don’t forget to put them all in italics so they execute faster!

      • ricecake@sh.itjust.works
        link
        fedilink
        arrow-up
        23
        ·
        17 days ago

        No, that makes them slower because theyre leaning into the wind. You want to try to mostly use A’s, because they’re the most aerodynamic, and anything else should be formatted as subscript to keep code size down and reduce drag. C should be avoided at all costs because it’s just going to catch the wind.

        • entropicdrift@lemmy.sdf.org
          link
          fedilink
          arrow-up
          17
          ·
          17 days ago

          Conclusive proof that D is faster than C, 2025

        • skuzz@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          16 days ago

          deleted by creator

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      17 days ago

      marked EXE

      Ok, I’m taking from it that you use a permanent marker pen… I just don’t know why you execute your files, but since paper guillotines are so fun to use, I’m assuming it’s just for amusement.

  • negativenull@piefed.world
    link
    fedilink
    English
    arrow-up
    205
    ·
    17 days ago

    Get popcorn ready

    Upload the entire Linux kernel, then submit the “fixed” code as a PR to Linus.

    Enjoy popcorn

    • CaptDust@sh.itjust.works
      link
      fedilink
      arrow-up
      139
      arrow-down
      1
      ·
      17 days ago

      My sibling in christ, we are trying to code not cause a NATO conflict.

      • methodicalaspect@midwest.social
        link
        fedilink
        English
        arrow-up
        47
        ·
        17 days ago

        I’d love to see Linus verbally bitchslap the fuckwit. Or physically, that’d be cool too.

        • AnarchistArtificer@slrpnk.net
          link
          fedilink
          English
          arrow-up
          26
          ·
          17 days ago

          I think that Linus becoming less of an abusive asshole over the years has been a positive development, but I wouldn’t mind the return of the old for this event

        • Pup Biru@aussie.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          16 days ago

          i’d love to see linus revoke twitters license to use linux somehow

  • nonentity@sh.itjust.works
    link
    fedilink
    arrow-up
    157
    ·
    17 days ago

    No one who legitimately knows anything about computing speaks like this.

    He’s truly a moron’s hallucination of a genius.

    • Jankatarch@lemmy.world
      link
      fedilink
      arrow-up
      63
      ·
      edit-2
      17 days ago

      Wdym. Just copy-paste your source code. Go ahead. That one single file with the source code, copy-paste it.

      • saimen@feddit.org
        link
        fedilink
        arrow-up
        29
        ·
        16 days ago

        Not copy-paste. Cut-paste. As an additional feature that way your source code becomes as light weighted as 0 Kb.

    • pigup@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      17 days ago

      relevant comedy bit

      • Botzo@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        16 days ago

        Oh man, the people leaving when he starts. Amazing.

      • DrSteveBrule@mander.xyz
        link
        fedilink
        arrow-up
        6
        ·
        16 days ago

        I saw him do a show in Florida and he started bashing republicans during a joke when a bunch of people in the audience started booing and leaving. He calls them all dipshits and dives into doing a bunch of jokes further questioning their intelligence before winning back the crowd. It was very impressive.

        • Tiger666@lemmy.ca
          link
          fedilink
          arrow-up
          3
          ·
          16 days ago

          I love Stavrose baby. He is awesome and doesn’t give a fuck what people think.

    • Evotech@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      16 days ago

      An ai runs his twitter probly

  • Evil_Shrubbery@lemmy.zip
    link
    fedilink
    English
    arrow-up
    104
    ·
    17 days ago

    So “don’t talk to strangers” or “don’t give your credit card info to strangers” never really reached the audience, did it?

    • AreaKode@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      17 days ago

      This is the future. Robots are more people than people now!

      • Evil_Shrubbery@lemmy.zip
        link
        fedilink
        English
        arrow-up
        10
        ·
        17 days ago

        Human rights were made for megacorp’s robots anyway.

  • Davin@lemmy.world
    link
    fedilink
    arrow-up
    101
    ·
    17 days ago

    Yes, I who knows a lot about programming, only use one file per application.

    • console.log(bathing_in_bismuth)@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      18
      ·
      16 days ago

      Drop the executable in the GrokBox

    • 3abas@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      17 days ago

      The entire file! My biggest frustration with cursor is that it doesn’t support reading from multiple projects at once so it can see the context of how the projects interact or how interfaces are implemented.

      • Dhar@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        16 days ago

        Add the other project folder to your workspace. BAM, now it has backend context in the frontend.

      • Knock_Knock_Lemmy_In@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        3
        ·
        16 days ago

        Have you used GenAI for art? It can do a reasonable job for the entire composition, but the extra fine detail have to be inpainted with specific prompts, and there are special routines that make sure faces and hands look human.

        The same with code. It can outline the entire project but details need to be inpainted and specific errors handled.

        The context window can’t handle an entire codebase, never mind multiple projects.

        • 3abas@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          16 days ago

          Actually, I have my entire code base documented in obsidian, and I literally tell cursor to refer to the documentation. It works amazingly well, and then I have it draft documentation for the new features it’s creating. I can do in a day what I used to do in a week, and it’s not because it’s doing anything advanced, it’s just takes care of so much of the brain draining tedious tasks.

    • t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ@lemmy.tgxn.net
      link
      fedilink
      arrow-up
      5
      ·
      16 days ago

      LMAO, yeah let’s jist disregard all the other files that are definately not required contextually!!!

    • AccountMaker@slrpnk.net
      link
      fedilink
      arrow-up
      1
      ·
      16 days ago

      Having multiple files increases the compile time, think of all the femtoseconds you can save by having everything in one place!

    • Everyday0764@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      16 days ago

      gpt-copy: a simple utility to copy a folder tree in a single markdown file, ready to be ingested by gpt

  • turdburglar@sh.itjust.works
    link
    fedilink
    arrow-up
    81
    arrow-down
    1
    ·
    17 days ago

    please don’t use grok.

    elon is poisoning the air over memphis with exhaust from the generators that he’s using to power it while using drinking water from the memphis sands aquifer to cool it.

    please don’t use grok.

    • Lemminary@lemmy.world
      link
      fedilink
      arrow-up
      35
      ·
      17 days ago

      You’re probably preaching to the choir here. lol

      • turdburglar@sh.itjust.works
        link
        fedilink
        arrow-up
        21
        ·
        17 days ago

        i just wanna keep sayin it out loud so maybe folks remember.

        • Hadriscus@jlai.lu
          link
          fedilink
          arrow-up
          3
          ·
          16 days ago

          You’d have to say it on the platforms normies use, make it short and attention-grabbing, a drone shot, a couple of tits…

          • Gork@sopuli.xyz
            link
            fedilink
            arrow-up
            6
            ·
            16 days ago

            Like this? Unrelated but similar in concept.

            Canada lesbian oil sands

            • Hadriscus@jlai.lu
              link
              fedilink
              arrow-up
              2
              ·
              16 days ago

              That’s amazing. Moving to Canada

    • wise_pancake@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      16 days ago

      Why do these places even make sense to build datacenters in?

    • Quik@infosec.pub
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      16 days ago

      Is using it without paying him anything fine?

      • That Weird Vegan@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        7
        ·
        16 days ago

        no. It will give grok data to learn from. Don’t use it at all.

      • turdburglar@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        16 days ago

        naw. the smog producing generators run exclusively to power grok. the drinking water is being pulled from the ground to cool grok. using grok is the problem, not whether you pay for it.

      • Magnum, P.I.@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        16 days ago

        Of course only paying customers pollute the air, everyone knows that \s

  • prole@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    75
    ·
    edit-2
    16 days ago

    Why the fuck can’t these assholes just go away?

    You’ve won life. We get it. Good for you. Why do you need more money? Why do you need to constantly be the center of attention?*

    It truly is just a handful of unscrupulous, malignant narcissists that have ruined everything (including the planet) for everyone else.

    *these are rhetorical questions

    • paulbg@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      16 days ago

      these mfs don’t need money anymore, they need power. money is just a byproduct of it.

    • PostaL@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      16 days ago

      What does a man with power want?

      More power

    • GreenKnight23@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      16 days ago

      1000001736

      • Taleya@aussie.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 days ago
        • substance abuse
        • GreenKnight23@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          15 days ago

          greed should be a mental illness

          • wildbus8979@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            11 days ago

            If anyone hoarded anything like billionaire hoard money we’d have them commited.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      16 days ago

      It truly is just a handful of unscrupulous, malignant narcissists that have ruined everything (including the planet) for everyone else.

      No, that was a much larger group effort. You and me can’t wash our hands of it. Like, even if you ignore the majority of stuff they don’t own, we let them do that.

  • Vince@lemmy.world
    link
    fedilink
    arrow-up
    70
    ·
    17 days ago

    Hmm, can you upload files? Wonder if they set an upper limit. Wonder which language would burn the most cycles?

    • chiliedogg@lemmy.world
      link
      fedilink
      arrow-up
      89
      ·
      17 days ago

      Knowing how half-assed they’ve been deploying Grok a ZIP bomb would probably work on it if they allowed file uploads.

      • BassTurd@lemmy.world
        link
        fedilink
        arrow-up
        18
        ·
        17 days ago

        I really want someone to try this and report back. It really does feel like something that could execute.

      • EpicFailGuy@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        1
        ·
        17 days ago

        not the same thing at all, but there’s already been a couple of pretty high profile “prompt injection” malware cases out there.

    • KickMeElmo@sopuli.xyz
      link
      fedilink
      arrow-up
      48
      ·
      17 days ago

      Ask for all output in brainfuck.

      • MrLLM@ani.social
        link
        fedilink
        English
        arrow-up
        19
        ·
        edit-2
        17 days ago

        I have asked several LLM to output brainfuck and Malbolge, but none of them seem capable to do so, even those that implement train of thought, me included ofc.

      • Vince@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        17 days ago

        bf was my first thought, but I would think that would be very easy to parse for computers, and hard for humans. So maybe something that’s a lot more verbose?

        • blargle@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          9
          ·
          edit-2
          17 days ago

          How about feeding it a bunch of Twitter source code and asking it to translate into JSON Programming Language? Maybe it’ll somehow accidentally hack/exploit itself.

          But seriously, no one should be using Twitter or interacting with Grok at all, even just to fuck with it.

        • Grendel84?@tiny.tilde.website
          link
          fedilink
          arrow-up
          5
          ·
          17 days ago

          @Vince @KickMeElmo malbolge is computationally intense to generate. It’s self-modifying, is ternary instead of binary, and after each operation the next opcode gets replaced by its mod 94 value.

          It’s like the insane sudoku of coding.

          https://en.wikipedia.org/wiki/Malbolge?wprov=sfla1

        • KickMeElmo@sopuli.xyz
          link
          fedilink
          arrow-up
          4
          ·
          17 days ago

          Could go for a middleground. Verbose -and- obscure. Check out fetlang when you’re not on a work computer.

  • Aurenkin@sh.itjust.works
    link
    fedilink
    arrow-up
    56
    ·
    17 days ago

    Do you have to print it out and scan it first?

    • resipsaloquitur@lemmy.world
      link
      fedilink
      arrow-up
      26
      ·
      17 days ago

      Only if you don’t have a fax.

  • m0darn@lemmy.ca
    link
    fedilink
    arrow-up
    52
    ·
    17 days ago

    Presumably anybody that does this gets their code integrated into the training data right?

    • ChickenLadyLovesLife@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      16 days ago

      Is there a downside to training your AI on broken code? Can’t be!

  • MonkeMischief@lemmy.today
    link
    fedilink
    arrow-up
    52
    arrow-down
    1
    ·
    16 days ago

    From the genius and his whipped minions that brought you MechaHitler after some “fixes and improvements”…

    …Comes the same AI that offers to “fix your code.”

    Wow. Simply astounding. A magnificent feat indeed, to waste so many finite precious resources over such garbage.

    Kindly Ctrl+A and shift-delete “All your code files”, sir.

    • saimen@feddit.org
      link
      fedilink
      arrow-up
      12
      ·
      16 days ago

      Does he really don’t know the difference between cut and copy?

      • xthexder@l.sw0.com
        link
        fedilink
        arrow-up
        7
        ·
        16 days ago

        What if this is a plot to literally steal your code? You give it to the AI, page refreshes and clears your clipboard. Your entire “source code file” is now theirs, and probably part of the training set for Grok 5.

        The first part is a joke, but the second part…

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          16 days ago

          Ctrl+Z undoes the cut.

        • matlag@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          16 days ago

          Assuming people upload their code to fix it, that means it’s non working code. Great training material!

          I’m joking but I wouldn’t be surprised if he didn’t think that through…

      • buttnugget@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        16 days ago

        It’s just a mistake. He’s an idiot but he means copy and paste.

    • wise_pancake@lemmy.ca
      link
      fedilink
      arrow-up
      10
      ·
      16 days ago

      LOL the macos dictionary entry/quicklook entry for “MechaHitler” gives you Grok’s wikipedia page

      Which happens because wikipedia redirects “Mechahitler” to Grok

  • maxwells_daemon@lemmy.world
    link
    fedilink
    English
    arrow-up
    49
    ·
    17 days ago

    It will definitely not report back to Musk on your proprietary code…

    Because Musk wouldn’t understand shit, it’ll report back to some Indian guy instead.

  • MTK@lemmy.world
    link
    fedilink
    arrow-up
    49
    arrow-down
    2
    ·
    16 days ago
    # Checking validity of each file
    for file in directory:
      content = file.read()
      for keywords in ("heil hitler","hitler did nothing wrong","kill the jews","hitler was the victim","there is no evidence for the Holocaust"):
        if keywords in content:
          return True
    
    # File is Invalid and fake news
    return False
    
  • Taleya@aussie.zone
    link
    fedilink
    English
    arrow-up
    49
    arrow-down
    2
    ·
    16 days ago

    pelcan Mouth perfec t size for put baby in to n\ap! inside very Soft and Comfort baby sleep soundly put baby in Pelican Mouth. Put Baby In Pelican Mouth. no problems ever in peliccan mouth

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      16 days ago

      You ok…?

      • ilinamorato@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        16 days ago

        I assume it’s a joke about Elon asking for developers to willingly put their code into a predatory but apparently welcoming input for digestion.

        • funkless_eck@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          16 days ago

          it’s a copypasta meme from 2020ish

      • MNByChoice@midwest.social
        link
        fedilink
        arrow-up
        2
        ·
        16 days ago

        Might be chaff for AI training.
        Just upvote the crazies and move on. Something something Sarah Connor.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 203 users / day
  • 5.54K users / week
  • 7.46K users / month
  • 12.2K users / 6 months
  • 1 local subscriber
  • 25.3K subscribers
  • 608 Posts
  • 7.4K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org