programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

perviouslyiner, in The Perfect Solution

deleted_by_author

  • Loading...
  • Dragnmn,

    It allows you to add internal linebreaks.

    Enkers, (edited )

    Downside is that it includes your indentation whitespace, though I doubt chatgpt would care about that, as I’d imagine it gets discarded when it’s tokenized, but it’s still good to keep in mind when using " " ".

    ono, (edited )

    dedent() can help with that.

    Enkers,

    That’s a pretty clean looking solution. There are a few others as well, but yours seems better, and it’s in the standard lib!

    Zuberi, in Every goddamn time
    @Zuberi@lemmy.dbzer0.com avatar

    Excuse me while I transition my terminal to green

    MrOxiMoron, in You can have anything you wan...

    Would go for all languages, spoken, written, typed, signed, listened too, seen, felt.

    gerryflap, (edited ) in You can have anything you wan...
    @gerryflap@feddit.nl avatar

    If I was at any moment perfectly aware of every minute detail of every programming related topic, and could also apply it perfectly, I honestly think I’d get incredibly stressed and depressed. Stressed from all the billions of projects that I could improve, and would kinda feel the obligation to improve. And depressed because the whole reason I like programming is the learning part. Almost every project I start will end at the point where I learnt the most significant new stuff and it comes down to doing things that I know how to do. It’d ruin my primary hobby (and job) for me, which probably wouldn’t result in me being very happy.

    muntedcrocodile, in You can have anything you wan...
    @muntedcrocodile@lemmy.world avatar

    How do u ask to know everything without asking to know everything?

    cryptosporidium140, in “It’s not that hard”

    DAT ASS

    UnfortunateShort, in Rust project startup kit

    It’s a matter of perspective. If the game is Tic-Tac-Toe and the system a basic RISC SOC with open firmware this might be a fun project :P

    Reptorian, in no.. just no

    I kind of like it. I can understand where it start and end.

    dylanTheDeveloper, in 4 billion if statements
    @dylanTheDeveloper@lemmy.world avatar

    It works don’t it

    BigBananaDealer, in Good luck web devs
    @BigBananaDealer@lemm.ee avatar

    i guess ill have to get linux then, i NEED diagonal mode

    crsu, in Good luck web devs

    Hey I know that guy he liked a few of my jokes on Twitter

    frezik, in 4 billion if statements

    Those are rookie numbers. Professionals came up with the nested logic monstrosity that is the JSON-LD specification:

    www.w3.org/TR/json-ld11-api/#context-processing-a

    Looks through the algorithm bits in the various sections. How would you implement that? The answer is invariably by copying the highly nested statements of the spec directly into your language. Maybe there’s a better way, but you’d have to understand all that nested logic first, and you’d be exhausted at that point and just want to move on.

    RagingRobot, in no.. just no

    It’s kind of like graphQl you could make a compiler that would work with this.

    utopianfiat,

    but why

    Sanchokan, (edited ) in The Holy Trinity of JavaScript

    A few years back I came to the conclusion that the holy trinity in Christianity are three levels of abstraction: the son => God walks on earth and tangible, the father => God in heaven untangible but still reachable by speech, holy spirit => God in who knows where.

    Then I thought that as a way of imparting the thought that any level of abstraction of the universe would also be inhabitated by God, those which we can sense, and those where our senses can't reach. The idea that omniprescense is not only limited to our dimension.

    I'm not sure if that is the original meaning but is a way of seeing it that I can relate to, since I've always been akeen to a more abstract idea of God, and not so much to a figure that praises itself of thought, which is a human attribute.

    yannic,
    CanadaPlus,

    As far as I can tell, the doctrine of the trinity served political rather than logical purposes back when it was put in writing in late antiquity, and since then it’s just been the doctrine. If you want to believe, you just have to believe and not think about it too hard, like the video says.

    TheFerrango, in no.. just no

    Sharepoint queries are written in something very similar 🤢

    I still have nightmares from the one time I had to use that.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #