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

"Source code file"

gregtech.eu

message-square
149
link
fedilink
741

"Source code file"

gregtech.eu

Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 9 days ago
message-square
149
link
fedilink
alert-triangle
You must log in or register to comment.
  • negativenull@piefed.world
    link
    fedilink
    English
    arrow-up
    195
    ·
    9 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
      130
      arrow-down
      1
      ·
      9 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
        ·
        9 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
          ·
          9 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
          4
          ·
          8 days ago

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

  • nonentity@sh.itjust.works
    link
    fedilink
    arrow-up
    153
    ·
    9 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
      62
      ·
      edit-2
      9 days ago

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

    • pigup@lemmy.world
      link
      fedilink
      arrow-up
      30
      ·
      9 days ago

      relevant comedy bit

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

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

      • DrSteveBrule@mander.xyz
        link
        fedilink
        arrow-up
        11
        ·
        9 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.

      • voracitude@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        7 days ago

        I’m a minute in and I’m a fan, thanks for the link!

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

      An ai runs his twitter probly

  • Evil_Shrubbery@lemmy.zip
    link
    fedilink
    English
    arrow-up
    95
    ·
    9 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
      22
      ·
      9 days ago

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

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

        Human rights were made for megacorp’s robots anyway.

  • Davin@lemmy.world
    link
    fedilink
    arrow-up
    88
    ·
    9 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
      15
      ·
      9 days ago

      Drop the executable in the GrokBox

    • 3abas@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      9 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.

      • Knock_Knock_Lemmy_In@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        9 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
          ·
          8 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.

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

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

    • t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ@lemmy.tgxn.net
      link
      fedilink
      arrow-up
      4
      ·
      9 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
      4
      ·
      8 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
      ·
      9 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
    80
    arrow-down
    1
    ·
    9 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
      36
      ·
      9 days ago

      You’re probably preaching to the choir here. lol

      • turdburglar@sh.itjust.works
        link
        fedilink
        arrow-up
        24
        ·
        9 days ago

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

        • Hadriscus@jlai.lu
          link
          fedilink
          arrow-up
          2
          ·
          9 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
            7
            ·
            8 days ago

            Like this? Unrelated but similar in concept.

            Canada lesbian oil sands

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

              That’s amazing. Moving to Canada

    • wise_pancake@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      8 days ago

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

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

      deleted by creator

      • turdburglar@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        8 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
        3
        ·
        9 days ago

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

  • Spice Hoarder@lemmy.zip
    link
    fedilink
    arrow-up
    69
    ·
    8 days ago

    This just confirms Twitter is a 1M line BASIC program.

    • YtA4QCam2A9j7EfTgHrH@infosec.pub
      link
      fedilink
      arrow-up
      25
      ·
      8 days ago

      Think of all the GOTOs

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

        More like all the On Error Resume Next statements. Which wasn’t even the worst thing about Visual Basic! VB also had the On Error Resume statement. On Error Resume Next at least moved on to the next line after an error occurred; On Error Resume just re-executed the error-generating line, I guess on the assumption that something would eventually change there.

        • locuester@lemmy.zip
          link
          fedilink
          English
          arrow-up
          5
          ·
          8 days ago

          There would just be one of those, at the top of the 1 file…

          • ChickenLadyLovesLife@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            8 days ago

            On Error was used within a function, so you would have one (or more … or less) per function.

            • locuester@lemmy.zip
              link
              fedilink
              English
              arrow-up
              4
              ·
              8 days ago

              Oof indeed! After 40 years, I forgot it even had fns

              • ChickenLadyLovesLife@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                8 days ago

                I started with VB3, which didn’t have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic.

                • locuester@lemmy.zip
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  8 days ago

                  I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust.

            • I Cast Fist@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              8 days ago

              One function per file is definitely what grok would output

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        8 days ago

        Elon goto hell

        • YtA4QCam2A9j7EfTgHrH@infosec.pub
          link
          fedilink
          arrow-up
          2
          ·
          8 days ago

          GOTO considered harmful, except in this case

      • JohnnyCanuck@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        7 days ago

        Nah it’s just if-then-elses all the way down

  • Vince@lemmy.world
    link
    fedilink
    arrow-up
    52
    ·
    9 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
      73
      ·
      9 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
        15
        ·
        9 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
        9
        arrow-down
        1
        ·
        9 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
      40
      ·
      9 days ago

      Ask for all output in brainfuck.

      • MrLLM@ani.social
        link
        fedilink
        English
        arrow-up
        18
        ·
        edit-2
        9 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
        3
        ·
        9 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?

        • Grendel84?@tiny.tilde.website
          link
          fedilink
          arrow-up
          4
          ·
          9 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
          3
          ·
          9 days ago

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

  • Taleya@aussie.zone
    link
    fedilink
    English
    arrow-up
    54
    arrow-down
    2
    ·
    9 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

  • GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    50
    ·
    8 days ago

    1000001735

    • lessthanluigi@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      7 days ago

      Just give it to grok without expecting your code to come back

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

        that or it’ll be converted into a bunch of swastikas.

  • m0darn@lemmy.ca
    link
    fedilink
    arrow-up
    48
    ·
    9 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
      ·
      8 days ago

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

  • MTK@lemmy.world
    link
    fedilink
    arrow-up
    49
    arrow-down
    2
    ·
    9 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
    
  • Aurenkin@sh.itjust.works
    link
    fedilink
    arrow-up
    46
    ·
    9 days ago

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

    • resipsaloquitur@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      9 days ago

      Only if you don’t have a fax.

  • MonkeMischief@lemmy.today
    link
    fedilink
    arrow-up
    46
    arrow-down
    1
    ·
    9 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.

    • wise_pancake@lemmy.ca
      link
      fedilink
      arrow-up
      15
      ·
      8 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

      • MonkeMischief@lemmy.today
        link
        fedilink
        arrow-up
        5
        ·
        8 days ago

        Holy coconuts it REALLY DOES! That’s some weapons grade level snark right here LOL. Wow that “controversies” section…

        Honestly great move to immortalize when fascist strongmen act “weird” and embarass themselves to the world by sharing their true thoughts.

    • fin@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      8 days ago

      I didn’t know abiut MechaHitler. At this point we can safely say we’re living in the dystopia

  • kamen@lemmy.world
    link
    fedilink
    English
    arrow-up
    44
    ·
    9 days ago

    Notice how it’s suggested to cut instead of to copy the file.

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

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: !programmer_humor@programming.dev

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.

  • 746 users / day
  • 3.29K users / week
  • 6.65K users / month
  • 15.6K users / 6 months
  • 1 local subscriber
  • 25.1K subscribers
  • 829 Posts
  • 10.5K 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