Skip to content

Programmer Humor

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
425 Topics 11.9k Posts
  • Perfect relationship

    programmerhumor
    11
    1
    265 Votes
    11 Posts
    17 Views
    lena@gregtech.euL
    Very useful reply
  • You can get the exclusive behaviour with `random.randrange`.

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • My boss bought me DataGrip today

    programmerhumor
    33
    1
    196 Votes
    33 Posts
    117 Views
    C
    Saying the chance of something going sideways is smaller than on Windows isn’t saying much True. I'll grant you that. I’ll pick a distro that’s stable by default Arch isn't "unstable" by any means. I've been running Arch EndeavourOS as my desktop distro that I develop on for years and it's entirely reliable. Now I personally wouldn't run Arch on any of my distros (I go with either Debian or NixOS), but there are people who do it and it works fine. Edit: I said "Arch" but I meant EndeavourOS, which is Arch with some QoL improvements.
  • Any language...

    2
    0 Votes
    2 Posts
    3 Views
    W
    Lua starts at 1 too. It's infuriating. I believe for the same historical reason Matlab does. Both meant for non CS people.
  • DOGE Denizen Marko Elez Leaked API Key for xAI

    programmerhumor
    5
    2
    194 Votes
    5 Posts
    0 Views
    firelizzard@programming.devF
    If committing over the weekend is what makes the difference between committing a secret and not, that’s an issue.
  • 10 Votes
    1 Posts
    0 Views
    No one has replied
  • 15 Votes
    1 Posts
    0 Views
    No one has replied
  • Infallible Code

    programmerhumor
    52
    2
    223 Votes
    52 Posts
    3 Views
    U
    Nice, now we just need another function to find odd numbers, cause not all numbers are even you know.
  • "Source code file"

    programmerhumor
    234
    1
    838 Votes
    234 Posts
    2 Views
    W
    If anyone hoarded anything like billionaire hoard money we'd have them commited.
  • Slop Query Language UI

    artist ai slop fuck ai stealing art prompt skill
    3
    1
    74 Votes
    3 Posts
    0 Views
    W
    I don't think it was unintentional
  • Starting Projects

    programmerhumor
    23
    2
    491 Votes
    23 Posts
    1 Views
    J
    My wife. She often has no idea what I'm talking about but she listens patiently and at least looks like she's interested. I appreciate her for that.
  • Finally a professional car for programmers !

    programmerhumor
    4
    2
    44 Votes
    4 Posts
    1 Views
    D
    Real question is: how many smaller cars can I fit inside it?
  • Learning to program in rust

    programmerhumor
    53
    235 Votes
    53 Posts
    3 Views
    D
    It pushes your code to be very tree-shaped This is basically where my learning took me. I had to develop this notion that there was a preferred directionality to ownership and data flow, like "grain" in a piece of wood. Everything is easier if you go with the grain. "Tree-shaped" works too, since it basically is the call graph of a (single threaded) program. The point where I realized all this was when I tried to do a very Python/JS-brained thing: return a closure from a function. The moment you try to "curry" values into the closure, you have to "move" them to solve for ownership, lest you bring timelines into the picture. Which isn't always what you want in a generic and reusable function. And sure enough, the standard lib and other popular libraries want you to pass a closure to functions instead.
  • i use edit.com, notepad and geany btw

    programmerhumor
    13
    2
    1 Votes
    13 Posts
    0 Views
    V
    My point is that when I asked the question: Does nano have LSP support? I meant Language Server Protocol.
  • Vibe Coding

    programmerhumor
    33
    2
    648 Votes
    33 Posts
    2 Views
    B
    That's cool and I would say I mostly agree, I am also going to add a couple specific pointers that I consider practical: use ChatGPT on a desktop in a browser, use VS Code and extensions, keep ChatGPT instructions OFF the CLI so you don't end up in a loop of running CLI codes and reporting back to your SupervisorGPT, make deals with ChatGPT in terms of complete code files and check every line, run midnight commander in a separate terminal and pay attention to permissions and ownership, force ChatGPT into lock down checklist mode and force it to go step by step, focus on the BIG picture with ChatGPT and don't let it runoff to the next shiny object before you completed and tested everything that you wanted to do and hardened before you listen to the next bullshit suggestion prior to project completion. It's not all bad and it does help you learn and punch above your weight class, but it can be downright infuriating and is by no means a turnkey solution: my two cents. Nobody going nowhere doing nothing.
  • mmmmm pasta

    programmerhumor
    11
    2
    62 Votes
    11 Posts
    0 Views
    dosuser123456@lemmy.sdf.orgD
    *points at pretty much every single js in his website* like this?
  • AI cannot replace humans spiteful spirit

    programmerhumor
    98
    1
    935 Votes
    98 Posts
    2 Views
    Y
    The person on the video, known online as Tsoding (or by some as "mista azozin"), was writing a music visualizer program using the raylib library for writing videogames. raylib doesn't have code aimed at UI handling, meaning he had to manage the UI by himself. He likes doing a little bit of trolling, so that's why he picked that title. Tsoding does by far the most entertaining recreational programming sessions I have ever seen on the Internet, so, despite them being quite long (about two hours), I recommend you watch at least a little bit of his videos/streams if you have time. YouTube channel: https://www.youtube.com/channel/UCrqM0Ym_NbK1fqeQG2VIohg Twitch channel: https://twitch.tv/tsoding If you're interested specifically on this video in question: The video: https://www.youtube.com/watch?v=SRgLA8X5N_4 The program's code: https://github.com/tsoding/musializer The playlist containing the making of the program: https://www.youtube.com/playlist?list=PLpM-Dvs8t0Vak1rrE2NJn8XYEJ5M7-BqT
  • new Date("wtf")

    programmerhumor
    15
    1
    194 Votes
    15 Posts
    2 Views
    M
    13/28, last time I touched JavaScript was about 3 years ago. What a terrible language. Love it.
  • The Art of Prompting

    programmerhumor
    9
    2
    706 Votes
    9 Posts
    4 Views
    spez@sh.itjust.worksS
    OH MY GOD I HAVEN'T LAUGHED THIS HARD AT AN INTERNET POST FOR YEARS LMAOOOOO
  • Happy dev noises

    programmerhumor
    37
    2
    571 Votes
    37 Posts
    3 Views
    D
    we upgraded to 8 from 5 at my first job in 2014