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

"Source code file"

gregtech.eu

message-square
87
fedilink
362

"Source code file"

gregtech.eu

Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 10 hours ago
message-square
87
fedilink
alert-triangle
You must log in or register to comment.
  • Estradiol Enjoyer @lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    5 minutes ago

    I find that without being able to see the rest of my IDE it makes no sense to just paste a single class worth of code at a time in there, it has no context for the rest of the application

  • Davin@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    2 hours ago

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

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

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

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

  • m0darn@lemmy.ca
    link
    fedilink
    arrow-up
    24
    ·
    2 hours ago

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

  • nonentity@sh.itjust.works
    link
    fedilink
    arrow-up
    68
    ·
    4 hours 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
      cake
      link
      fedilink
      arrow-up
      21
      ·
      edit-2
      3 hours 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
      4
      ·
      3 hours ago

      relevant comedy bit

  • turdburglar@sh.itjust.works
    link
    fedilink
    arrow-up
    35
    arrow-down
    1
    ·
    4 hours 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
      13
      ·
      3 hours ago

      You’re probably preaching to the choir here. lol

      • turdburglar@sh.itjust.works
        link
        fedilink
        arrow-up
        9
        ·
        3 hours ago

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

  • AlecSadler@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    17
    ·
    4 hours ago

    I do work for an AI centric company and we’ve used almost every major model in some way, shape, or form.

    Grok was so bad on all fronts that we ceased using it completely.

    So I don’t believe this for one second. I don’t even find ChatGPT to be useful for code. I’d probably put Claude first and versions of Gemini second, with no current third.

  • uss_entrepreneur@startrek.website
    link
    fedilink
    arrow-up
    18
    ·
    4 hours ago

    Wait so are they using grok to code grok? No wonder it keeps getting shittier

    • Lemminary@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      3 hours ago

      His engineers swear by it! To his face, at least.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    20
    ·
    5 hours 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
      19
      ·
      5 hours ago

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

  • kn0wmad1c@programming.dev
    link
    fedilink
    English
    arrow-up
    24
    ·
    6 hours 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.

  • burgerpocalyse@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    i dont know what source code is, is this a good idea

  • brucethemoose@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    4 hours ago

    …They don’t use it over API?

  • negativenull@piefed.world
    link
    fedilink
    English
    arrow-up
    142
    ·
    9 hours 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
      97
      arrow-down
      1
      ·
      8 hours ago

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

      • methodicalaspect@midwest.social
        link
        fedilink
        English
        arrow-up
        28
        ·
        7 hours 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
          4
          ·
          1 hour 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

  • frezik@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    264
    arrow-down
    3
    ·
    10 hours ago

    Why are all my variables suddenly named after SS officers?

    • kambusha@sh.itjust.works
      link
      fedilink
      arrow-up
      74
      ·
      9 hours ago

      Führer loop

      • ch00f@lemmy.world
        link
        fedilink
        arrow-up
        53
        ·
        edit-2
        8 hours 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
          10
          ·
          7 hours ago

          Thanks I hate it!

    • vivalapivo@lemmy.today
      link
      fedilink
      arrow-up
      71
      ·
      9 hours ago

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

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

        Modern problems…

        • noodly_appendage@lemmy.myserv.one
          link
          fedilink
          arrow-up
          2
          ·
          4 hours ago

          Require traditional 1933 solutions!

  • AusatKeyboardPremi@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    5 hours ago

    Regardless of whether it is truly superior (it isn’t, but neither is Cursor, if you think about it), it is actually more tedious to “cut and paste” the “source code file” and then paste back the output.

    It is far simpler to just initiate a chat within Cursor, allowing it to identify all the files necessary for context alongside the one being viewed.

  • UnderpantsWeevil@lemmy.world
    link
    fedilink
    English
    arrow-up
    183
    ·
    10 hours 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
      29
      ·
      9 hours ago

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

      • kambusha@sh.itjust.works
        link
        fedilink
        arrow-up
        25
        ·
        9 hours ago

        What does the office secrete?

        • PattyMcB@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          4 hours ago

          Garbage code. Sadly

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

            Fucking James 😤

    • skuzz@discuss.tchncs.de
      link
      fedilink
      arrow-up
      18
      ·
      9 hours ago

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

      • ricecake@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        6 hours 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
          2
          ·
          4 hours ago

          Conclusive proof that D is faster than C, 2025

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      8 hours 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.

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.

  • 1.24K users / day
  • 3.53K users / week
  • 7.92K users / month
  • 19.1K users / 6 months
  • 1 local subscriber
  • 24.9K subscribers
  • 1.58K Posts
  • 51.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org