• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle



  • david@feddit.uktoMemes@lemmy.ml*monch*
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    You say that because you commit crimes of indecency against confectionary and you like to think of yourself as immune to radicalisation. Don’t kid yourself. Come back to all that is right and good before it’s too late for you.


  • david@feddit.uktoMemes@lemmy.ml*monch*
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    9 months ago

    It’s symptomatic. Symptomatic of the abandonment of all that is proper and decent. Would our great grandparents have eaten candy like this? Would they have celebrated their rebellious ways so boldly? No, they’d have been ashamed. Ashamed of their wicked rule breaking. Rule breaking just for the sake of it. Rule breaking, not for mercy, not in exceptional circumstances, not out of desperation or having no other options, but role breaking just to show off how little respect they have in their hearts.

    So yes, yes, people are eating bad candy so incorrectly that you can TELL society is on the point OF COLLAPSE.

    This is indicative of a terrible malaise in education, in parenting, in intergenerational transfer of values, in respect and in good manners. No wonder the far right are on the rise, that Naziism is again celebrated. These edgelords will be the first to join the SS, just to shamelessly show off how wicked they are. Have we learned nothing? Are we so quick to repeat history’s darkest mistakes?







  • True. But the word Monad has done more harm to the accessibility, popularity and reputation of pure functional programming than pretty much anything else.

    Yeah, I could have said circle rather than curve of constant normal intersection points, but that word is very commonly understood, so it’s not that same as unnecessarily calling something a Monad. Maybe it’s the equivalent of calling it a 2-manifold instead of a wheel.

    Perhaps just ditch the generalisation, then, and just call them Result or Maybe. After all, circle is a short word, but we just call them wheels.


  • david@feddit.uktoProgrammer Humor@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    9 months ago

    Don’t call it a monad, call it a structured data type or something, that’s what it is! Calling it a monad is like saying that you’re using a curve of constant normal intersection point. Why not just say it’s a wheel?

    Yes, it’s mathematically true that you’re having a smooth ride precisely because the normals have a constant intersection point, but it’s also true to say that it’s a wheel and it goes round and isn’t bumpy and doesn’t scrape, and people can get a handle on that.

    So yeah, use a Result or Option or Maybe structured data type because it keeps explicit track of whether there’s a value or not, and yeah, you can change or combine them and preserve the tracking, but there’s no point calling it a monad unless you’re trying to make people believe that avoiding the $1bn mistake of allowing/using null requires category theory. It doesn’t, it’s just a structured data type. It’s simpler than an array! Stop calling it a monad.




  • In his notes, Roszak wrote that Google’s search advertising “is one of the world’s greatest business models ever created” with economics that only certain “illicit businesses” selling “cigarettes or drugs” “could rival.”

    Beyond likening Google’s search advertising business to illicit drug markets, Roszak’s notes also said that because users got hooked on Google’s search engine, Google was able to “mostly ignore the demand side” of “fundamental laws of economics” and “only focus on the supply side of advertisers, ad formats, and sales.” This was likely the bit that actually interested the DOJ.


  • david@feddit.uktoProgramming@programming.dev*Permanently Deleted*
    link
    fedilink
    arrow-up
    20
    arrow-down
    2
    ·
    edit-2
    9 months ago

    Elm (for frontend). https://elm-lang.org/

    Nothing is as easy to refactor, maintain, add new features to, work with after a gap, nothing else is as crashless and rock solid.

    No compiler is a fast, friendly, helpful and insightful. Seriously. You don’t wait for the compiler. It’s instant even on huge code bases. And the resulting output outperforms other major frameworks.

    Its syntax is weird at first (even stranger than python) and the autoformatter is mad keen on blank lines but after a while it’s just so clear and easy to follow.

    You have to let go of your object oriented mindset and stop trying to turn everything into objects and components but everything I hated about maintaining old code evaporated once I did. I used to believe that objects detangled code, I don’t know why I continued to believe that despite the evidence, because apart from pretty small and simple things, OO code gets extremely tangled. Elm is absurdly easy to refractor, so you just do.

    It’s genuinely nice to add new features to old code, something I’ve never experienced before in a few decades of programming.

    The elm slack is also a very helpful place indeed and you usually get a lot of support pretty quickly.

    Adding the link to their front page, I see they call it “A delightful language for reliable web applications” and the first claim is “no runtime exceptions”. I remember thinking that was marketing BS but being intrigued by the bold claim. A few years later and I can honestly say that that accurately describes my experience.

    These last few years I’ve rediscovered the joy of coding.