• 1 Post
  • 386 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle








  • Ouch.

    I’ve once decided that “hey, software interaction is logic, so prolog should be the best for complex protocols and UIs!”

    Quite soon I understood that no, “complex protocols and UIs” are a problem all by themselves, enabling them makes them worse, and enabling them with prolog makes them even worse.

    Up to this day I’m stuck trying to make data quering more “programming-like” than the restrictive thing we have with SQL. I’ve backtracked a few times already after noticing that I just designed prolog again.

    But fear not, at some point one of us will finally find that problem domain for what prolog is really suitable. I know of an entire company betting on using it for describing access control rules, maybe they are up to something!






  • marcos@lemmy.worldtoMemes@lemmy.mlZen Z
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Stuff like history, art, and how a fucking analog clock works

    Well, I don’t exactly disagree… but one of those things is completely different from the others.

    I would agree more if we were talking literally about “how an analog clock works” instead of the convention to reading them. But it would still be a niche knowledge that you can take from Wikipedia if it ever becomes relevant to you.


  • marcos@lemmy.worldtoMemes@lemmy.mlZen Z
    link
    fedilink
    arrow-up
    20
    arrow-down
    2
    ·
    1 month ago

    Kids these days do absolutely still know how to read analog clocks.

    Besides, they probably shouldn’t put effort into that. Those things are close to useless nowadays. It’s mostly a case of schools being conservative… but then, it’s not that much of an effort, so there are more important things to care about.



  • marcos@lemmy.worldtoMemes@lemmy.mlRemade for clarity
    link
    fedilink
    arrow-up
    1
    arrow-down
    5
    ·
    1 month ago

    None of the LTV hold up. For a start, it predicts that people won’t ever trade. That’s quite a big flaw because, you know, people do trade. Theories of value predicting people won’t trade was a big problem by the time Marx was young. His one doesn’t solve the problem at all, but well, it wasn’t a problem anymore when he published.

    The family of theories of value that predict that trade happens are called “subjective theories of value”.




  • Odds are that your computer doesn’t export any language where it will do exactly as you say (amd64 machine code certainly won’t execute exactly as written). And how much difference it makes varies from one language to another.

    But the specific example from the OP, of uninitialized variables, is one of those cases where the C spec famously goes completely out of line and says your code can do whatever, run with a random value, fail, initialize it, format your hard drive, make a transaction on your bank account… whatever.