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

"Source code file"

gregtech.eu

message-square
130
link
fedilink
308

"Source code file"

gregtech.eu

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

    Why are all my variables suddenly named after SS officers?

    • kambusha@sh.itjust.works
      link
      fedilink
      arrow-up
      74
      ·
      1 year ago

      Führer loop

      • ch00f@lemmy.world
        link
        fedilink
        arrow-up
        47
        ·
        1 year 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
          ·
          1 year ago

          Thanks I hate it!

    • cub Gucci@lemmy.today
      link
      fedilink
      arrow-up
      71
      ·
      1 year ago

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

    • Taiatari@lemmynsfw.com
      link
      fedilink
      arrow-up
      29
      arrow-down
      2
      ·
      1 year 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
        ·
        1 year ago

        Modern problems…

        • noodly guy [he/they]@lemmy.myserv.one
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Require traditional 1933 solutions!

  • UnderpantsWeevil@lemmy.world
    link
    fedilink
    English
    arrow-up
    170
    ·
    1 year 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
      27
      ·
      1 year ago

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

      • kambusha@sh.itjust.works
        link
        fedilink
        arrow-up
        21
        ·
        1 year ago

        What does the office secrete?

        • PattyMcB@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          Garbage code. Sadly

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

            Fucking James 😤

    • skuzz@discuss.tchncs.dedeleted by creator
      link
      fedilink
      arrow-up
      16
      ·
      edit-2
      3 months ago

      deleted by creator

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

          Conclusive proof that D is faster than C, 2025

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year 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
    ·
    1 year 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
      ·
      1 year ago

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

      • methodicalaspect@midwest.social
        link
        fedilink
        English
        arrow-up
        26
        ·
        1 year 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
          1
          ·
          1 year 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
          1
          ·
          1 year ago

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

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

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

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

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

      • Evil_Shrubbery@lemmy.zip
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        Human rights were made for megacorp’s robots anyway.

  • Vince@lemmy.world
    link
    fedilink
    arrow-up
    59
    ·
    1 year 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
      71
      ·
      1 year 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
        ·
        1 year 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
        ·
        1 year 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
      ·
      1 year ago

      Ask for all output in brainfuck.

      • MrLLM@ani.social
        link
        fedilink
        English
        arrow-up
        13
        ·
        1 year 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
        ·
        1 year 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.worksdeleted by creator
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year 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
    ·
    1 year ago

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

    • resipsaloquitur@lemmy.worldBanned
      link
      fedilink
      arrow-up
      21
      ·
      1 year ago

      Only if you don’t have a fax.

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

      relevant comedy bit

  • Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    1 year 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
      ·
      1 year 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
        ·
        1 year ago

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

      • potatoenjoyer@kbin.earth
        link
        fedilink
        arrow-up
        13
        ·
        1 year ago

        All my source code is in one .h file

        • Skullgrid@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          1 year 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
        ·
        1 year 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
          ·
          1 year ago

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

      • Weirdfish@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year 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
    ·
    1 year 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
      ·
      1 year 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
        ·
        1 year ago

        Vim gang, rise up!

        • swab148@startrek.website
          cake
          deleted by creator
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          :q!

  • kn0wmad1c@programming.dev
    link
    fedilink
    English
    arrow-up
    19
    ·
    1 year 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
    ·
    1 year 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
      ·
      1 year ago

      You’re probably preaching to the choir here. lol

      • turdburglar@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

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

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

            Like this? Unrelated but similar in concept.

            Canada lesbian oil sands

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

    I’m convinced this man has never used a computer

    • ScriptSage@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Well according to his lawyer…

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year 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
      ·
      1 year ago

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

  • Korhaka@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

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

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.

  • 74 users / day
  • 3.75K users / week
  • 7.32K users / month
  • 17K users / 6 months
  • 1 local subscriber
  • 33.1K subscribers
  • 1.87K Posts
  • 51.3K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org