home.social

#programminghumour — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #programminghumour, aggregated by home.social.

fetched live
  1. CW: Potential spoilers ahead for Advent of Code

    Roses are red
    Violets are blue
    There's always someone clever enough
    To solve it all with jq:

    github.com/zogwarg/advent-of-c

    #jq #AdventOfCode #AoC2024 #ProgrammingHumour #CodingLife

  2. CW: Potential spoilers ahead for Advent of Code

    Roses are red
    Violets are blue
    There's always someone clever enough
    To solve it all with jq:

    github.com/zogwarg/advent-of-c

    #jq #AdventOfCode #AoC2024 #ProgrammingHumour #CodingLife

  3. When something is refusing to make/ build in #ruby, I think calling the log "mkmf" is not the wisest thing since the brain auto-completes a Samuel L Jackson expletive.

    #programming #programminghumour

  4. I want (in theory) to update my project but feels sooo hard to start actually doing it 😩 #coding #procrastination #programmingHumour

  5. I'm giving up.
    I have been defeated by the spaghetti.
    I will... add comments.
    How terrible.

  6. Junior developer: Any advice before I do it?

    Senior developer: No, just do it.

    *Junior does it*

    Senior: this is bad

    Welp

    #ProgrammingHumour

  7. Removing the comments from AI generated code to make it more like you wrote it. Noone comments as much as that.

    #ProgrammingHumour

  8. Removing the comments from AI generated code to make it more like you wrote it. Noone comments as much as that.

    #ProgrammingHumour

  9. "Yeah, uh, our warehouse can house between -2147483648 and 2147483647 of those things. Don't ask how."

    #Programming #ProgrammingHumor #ProgrammingHumour

  10. "Yeah, uh, our warehouse can house between -2147483648 and 2147483647 of those things. Don't ask how."

    #Programming #ProgrammingHumor #ProgrammingHumour

  11. CW: How do you generate a random number in a certain range? Me:

    #include <stdio.h>
    #include <time.h>
    #include <stdlib.h>

    int main(int argc, char ** argv) {
    int l = atoi(argv[1]);
    srand(time(0));
    int n;
    do {
    n = rand();
    } while (n > l);
    printf("%d\n", n);
    }

    #meme #ProgrammingHumour