• 1 Post
  • 150 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • The “Infinite monkey theorem” concerns itself with Probability (the mathematical field). It has been mathematically proven that given the random input (the mathematical kind - not the human-created kind) of the monkeys, and the infinite time, the probability of the “complete works of William Shakespeare” rolling out of the typewriter in between the other random output is 1.

    It’s a mathematical theorem that just uses monkeys to speak to the imagination, not a practical exercise, other than to prove the maths.

    You should look into another brain-breaking probability problem called the “Monty Hall Problem”. Note that some of the greatest mathematical minds of the time failed said puzzle. Switching 100% increases the chance of winning. No, it won’t guarantee a win, but it will increase your chances, mathematically.




  • “for I, the LORD your God, am a jealous God” - Exodus 20:5

    Says it all, really. This whole character trait is that he’s a jealous little asshole. He’s like Dolores Umbridge.

    I’m aware Christians may make counter-claims, but I’ve read the old testament, and all he does is to come off as an absolute asshole - you either worship me, or else!

    I wasn’t too surprised (but it made sense) that he (Elohim) originally came from the Canaanitic pantheon. How else can you be the only god, yet people shouldn’t worship other gods? He’s not, that’s how.

    /rant







  • Learn how to test (which is also what the article recommends).

    Write unit tests. Write property-based tests. I don’t care which ones, but automate the SHIT out of your tests.

    Also curse at your school for not teaching you this from day one.

    Alas, I don’t know any articles or books on how to learn, because school didn’t teach me either. I learned the theory from Uncle Bob, among some others, but had to learn the actual work from work…







  • NostraDavid@programming.devtoScience Memes@mander.xyzAcademic writing
    link
    fedilink
    English
    arrow-up
    40
    arrow-down
    1
    ·
    1 month ago

    I asked ChatGPT to convert the text to common words:

    “Academic writing is often hard to understand because it uses complicated words specific to a particular field, making it easier for experts to communicate with each other but harder for outsiders to follow. This keeps certain knowledge limited to a small group of people and maintains a cycle where only the educated or ‘in’ crowd can fully engage, while others are left out.”





  • YAML is fine if you use a subset (don’t use the advanced features - not like you know those anyway) and use explicit strings (always add " to strings), otherwise things may be cast when you did not intend values to be cast.

    Example:

    country: NO (Norway) will be cast to country: False, because it’ll cast no (regardless from casing) to false, and yes to true.

    country: "NO" should not be cast.