Boing Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 3 months ago

"Source code file"

gregtech.eu

message-square
130
link
fedilink
306

"Source code file"

gregtech.eu

Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 3 months ago
message-square
130
link
fedilink
alert-triangle
You must log in or # to comment.
  • Frezik@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    250
    arrow-down
    3
    ·
    3 months ago

    Why are all my variables suddenly named after SS officers?

    • kambusha@sh.itjust.works
      link
      fedilink
      arrow-up
      73
      ·
      3 months ago

      Führer loop

      • ch00f@lemmy.world
        link
        fedilink
        arrow-up
        45
        ·
        3 months 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
          8
          ·
          3 months ago

          Thanks I hate it!

    • cub Gucci@lemmy.today
      link
      fedilink
      arrow-up
      71
      ·
      3 months ago

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

    • Taiatari@lemmynsfw.com
      link
      fedilink
      arrow-up
      29
      arrow-down
      2
      ·
      3 months ago

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

      /s obviously

      • PattyMcB@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        3 months ago

        Modern problems…

        • noodly_appendage@lemmy.myserv.one
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          Require traditional 1933 solutions!

  • UnderpantsWeevil@lemmy.world
    link
    fedilink
    English
    arrow-up
    169
    ·
    3 months 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
      26
      ·
      3 months ago

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

      • kambusha@sh.itjust.works
        link
        fedilink
        arrow-up
        21
        ·
        3 months ago

        What does the office secrete?

        • PattyMcB@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          3 months ago

          Garbage code. Sadly

          • NotSteve_@piefed.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 months ago

            Fucking James 😤

    • skuzz@discuss.tchncs.de
      link
      fedilink
      arrow-up
      16
      ·
      3 months ago

      deleted by creator

      • ricecake@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        3 months 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
          3
          ·
          3 months ago

          Conclusive proof that D is faster than C, 2025

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 months 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
    135
    ·
    3 months 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
      89
      arrow-down
      1
      ·
      3 months ago

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

      • methodicalaspect@midwest.social
        link
        fedilink
        English
        arrow-up
        26
        ·
        3 months ago

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

        • Pup Biru@aussie.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

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

        • AnarchistArtificer@slrpnk.net
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months 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

    • Avicenna@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      make sure to mention that the fix is by Grok for maximum lols

  • Evil_Shrubbery@lemmy.zip
    link
    fedilink
    English
    arrow-up
    82
    ·
    3 months 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
      16
      ·
      3 months ago

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

      • Evil_Shrubbery@lemmy.zip
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 months ago

        Human rights were made for megacorp’s robots anyway.

  • Vince@lemmy.world
    link
    fedilink
    arrow-up
    59
    ·
    3 months 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
      70
      ·
      3 months 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
        9
        ·
        3 months 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
        6
        ·
        3 months 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
      40
      ·
      3 months ago

      Ask for all output in brainfuck.

      • MrLLM@ani.social
        link
        fedilink
        English
        arrow-up
        13
        ·
        3 months 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
        2
        ·
        3 months 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
          1
          ·
          3 months 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.

  • Aurenkin@sh.itjust.works
    link
    fedilink
    arrow-up
    51
    ·
    3 months ago

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

    • resipsaloquitur@lemmy.world
      link
      fedilink
      arrow-up
      21
      ·
      3 months ago

      Only if you don’t have a fax.

  • maxwells_daemon@lemmy.world
    link
    fedilink
    English
    arrow-up
    43
    ·
    3 months 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.

  • nonentity@sh.itjust.works
    link
    fedilink
    arrow-up
    33
    ·
    3 months 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
      2
      ·
      3 months 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
        1
        ·
        3 months 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
      1
      ·
      3 months ago

      relevant comedy bit

  • Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    3 months ago

    how does the AI know what the rest of the project is like? Or what the purpouse of the file is?

    • CaptDust@sh.itjust.works
      link
      fedilink
      arrow-up
      81
      ·
      3 months ago

      What do you mean “rest of the project”? Don’t you put all of everything into a singular neatly contained file? It’s way more optimized that way

      • 0ops@piefed.zip
        link
        fedilink
        English
        arrow-up
        21
        ·
        3 months ago

        That’s how I read the tweet, dork never got further than Programming 1

      • potatoenjoyer@kbin.earth
        link
        fedilink
        arrow-up
        13
        ·
        3 months ago

        All my source code is in one .h file

        • Skullgrid@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          3 months ago

          A hentai file so you can goon while you code? My god , you’re a genius. Elon musk needs you at twitter asap

      • Morphit @feddit.uk
        link
        fedilink
        arrow-up
        12
        ·
        3 months ago

        That’s Link Time Optimization, right? Put everything into one place for the linker to optimize.

        • MonkeMischief@lemmy.today
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          I thought Link Time Optimization usually involved at least an ocarina…

      • Weirdfish@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        With the obscure language I use for work, I do tend to keep each system to a single file, even though includes and modules are supported.

        Granted, they are generally between 500 and 5000 lines, and are usually written from scratch.

        That being said, there is a 0 percent chance I’m going to be feeding anything I write into Grok.

  • neidu3@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    25
    ·
    3 months ago

    Using Grok to develop Grok… This sounds like Model Collapse with extra steps.

    • ricdeh@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      10
      ·
      3 months ago

      There’s nothing wrong with writing code in a text editor. Plain vim is the best imo

      • LadyMeow@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        9
        arrow-down
        1
        ·
        3 months ago

        Vim gang, rise up!

        • swab148@startrek.website
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          :q!

  • kn0wmad1c@programming.dev
    link
    fedilink
    English
    arrow-up
    19
    ·
    3 months ago

    Wait, so if everyone at xAI does that, does that mean that Grok’s own source code was the result of Grok’s output?

    And then they once again feed that source into Grok?

    Dude is destroying his own product. Again.

  • turdburglar@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    3 months 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
      5
      ·
      3 months ago

      You’re probably preaching to the choir here. lol

      • turdburglar@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

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

        • Hadriscus@jlai.lu
          link
          fedilink
          arrow-up
          0
          ·
          3 months 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
            1
            ·
            3 months ago

            Like this? Unrelated but similar in concept.

            Canada lesbian oil sands

  • carpelbridgesyndrome@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    14
    ·
    3 months ago

    I’m convinced this man has never used a computer

    • mimic_dev@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Well according to his lawyer…

  • Korhaka@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    12
    ·
    3 months ago

    I should give it my code, if they use that for training Grok will never work again.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    12
    ·
    3 months ago

    Hey Grok, take this one file out of the context of my 250,000 line project and give me that delicious AI slop!

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      13
      ·
      3 months ago

      Just really fuck up this shit. I want it unrecognizable!

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.

  • 2.4K users / day
  • 5.05K users / week
  • 9.59K users / month
  • 18.2K users / 6 months
  • 1 local subscriber
  • 26.8K subscribers
  • 952 Posts
  • 19.6K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org