• 0 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: October 17th, 2023

help-circle

  • Yes, it’s emotional to disregard advice you know is good. However it is a logical reaction to have.

    It is logical for humans not to trust or accept advice from a hypocrite, even if that advice may be good. It’s not about the advice itself, but about who gives it. That was my point.

    Unfortunately humans have emotions, and those emotions factor into our so called “logical decisions”. To ignore our emotions is to pretend we are machines, and machines wouldn’t be in these situations, as a machine wouldn’t give advice it doesn’t follow itself.

    Now, if we were machines, sure, if the advice is good, it’s good, doesn’t matter who gives it.

    Furthermore, if I already know the advice is good, did I receive advice?



  • Let’s assume I didn’t know about vaccines and I went to ask for advice to someone. How would I know if what they told me was good advice?

    I would ask myself, are they an authority on the subject? Where do they draw the advice from? Who says they are an authority? What did they have to do to earn that authority? Do other authorities say the same?

    Are mormons authorities on logic? Why trust advice about logic from someone that doesn’t follow logic?

    A liar can say that lying is bad. A killer can say that killing is bad. It just so happens that the advice is good, in spite of who said it.


  • Following my first example, it is logical that a person that sees no value in life would want to commit suicide. It is logical to want to end one’s suffering. It would be illogical for them to continue living a life of misery and suffering. It would be illogical for them to expect changes for the better, given their past experiences.

    So why do we stop suicides? Why do we prevent them? Isn’t it logical for such person to commit suicide?


  • What you said (and such defenses of religion) makes me think: If I see someone ready to jump off a bridge, and I can stop them against their will, should I? I mean, inside their brain they are ending their suffering. They don’t see value in life. But I do. Whose worldview is more important?

    What if it was drugs, should I stop them? What if it was drinking every weekend? What if it was refusing to go outside without a mask in the middle of a pandemic?

    What if it was following the cult of their parents, which encourages abuse & discrimination of women, opression of minorities, supression & regression of scientific advances and further indoctrination of future generations? If I have the power to get someone out of their cult against their will, should I?

    Or what if it was continuing to feed a system that brainwashes people into thinking that monetary gain is what’s important in life, that the system is infallible, and no alternatives exist?

    Should we act against what we perceive as wrong, even if it’s against the will of other persons? Where do we draw the line? Who decides what is right and what is wrong?



  • araozu@lemm.eetoMemes@lemmy.mlEvery time
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I still haven’t read that source about dota 2 but personally, I think it’s addictive because it feels sooooo good when you win. It brings the worst of you when you lose, but when you win, it feels really good, it’s so satisfying to win a hard match, competitive or not (i play a lot of turbo, feels addictive anyway). After all, if we only felt bad when losing and didn’t feel as good when wining, we wouldn’t come back. Or at least, I wouldn’t. If another game frustrates me, and gives me nothing in return, I leave it





  • araozu@lemm.eetoMemes@lemmy.ml¿¿Que??
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Interesting. Afaik what determines a question is a higher pitch, so in your sentence I wouldn’t think of the sentence as a question until I hear the intonation of the last word.

    Like, toda la oracion puede tener cualquier tono, pero si la última palabra tiene un tono mas agudo (molesteee en vez de moleste) recien cuenta como pregunta.

    Me puse a pensar y escuchar conversaciones, fijandome si el tono cambia siempre en la ultima palabra, o en algun otro lado, y en donde vivo (casi) siempre el tono cambia en la ultima palabra, incluso solo la ultima silaba.

    Me pregunto si de donde eres toda la oracion (o, desde “dijiste”) el tono es más agudo, o si usan otra forma para diferenciar?



  • araozu@lemm.eetoMemes@lemmy.ml¿¿Que??
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 year ago

    In spanish questions intonation changes occur only on the last word(s), not the whole sentence. I’m not a linguistic, but I think it’s so you can be sure a sentence is a question from the start.

    When reading english sometimes I assume a sentence is an affirmation until I see the question mark, and then I have to reinterpret the sentence. I wonder how it is for native english speakers. Do they assume nothing until the sentence is finished?




  • Just to provide counter examples, in arch I can’t use the native steam package and play games with proton. It just doesn’t work. I think proton expects some ubuntu libraries or something (found something like that while spending 5 hours debugging nfs heat). And even if I manage to fix it, next time I update the system it’ll be broken again.

    I use flatpak, and everything just works.

    However, in arch if something is in the official repo or the AUR i prefer those.

    In ubuntu I installed krita and gmic, but it doesn’t work. For some reason krita doesn’t find the gmic executable. Instead of debugging krita and gmic for hours I just installed the flatpak version, and it just works.

    And yeah, app startup went from 5 to 7-10 seconds in krita, and from 1 to 2-3 seconds in firefox. It’s not snap, it’s 2023, we have SSDs.


  • Could you elaborate on the htmx security holes? I only know about xss attacks, and for those it’s trivial to sanitize in the backend.

    I too gravitate towards just templating for static or simple interactivity, but for pages that need SEO and interactivity I’m still wondering what’s a good solution that doesn’t involve SSR and a js framework. For a recent project I had I generated the html in php and sent a lot of pure js for dom manipulation


  • __invoke is just for making a class Callable. Java has those with functional interfaces. __get is just dynamic property resolution synax sugar. Instead of something like obj.get("property") you do obj->property.

    Instead, I would like to see ADTs, generics, pattern matching, immutability, expressions everywhere and a better stdlib. Then one could call PHP functional.

    It’s like how people say Javascript is functional. Sure, it has lambdas, anonymous functions, closures, const. But those alone don’t make it functional.

    Functional programming is very different (and at times hard). If you have the time you can check out F#, OCaml, Elixir, Erlang, Rust or Haskell (in order of difficulty imo). Those are more “pure” functional, rather than imperative/OOP with a touch of functional.

    See how things work, what features they have and don’t have. How problems are solved in these languages. I think learning about one of them can give you a different perspective on what functional means. I discovered F# one day, got curious and discovered a whole different paradigm, a new perspective on programming. And learning about functional programming really made me a better programmer, even on procedural/OOP.


  • I’d say that PHP allows you to write very bad code (and makes that the default). It’s a language feature.

    For example Java has a lot of NullPointerException because it was designed with null and without mechanisms to detect & prevent these errors. Any method can return null and cause a NPE. It’s just easy to ignore them. Modern languages like Go, Rust or Zig force you to handle null errors, and make it easy to do so. NPEs are a lasguage feature in Java.

    In the same way PHP allows you to write any ugly code you want. There are no checks, no safety. People can write bad code, people can be lazy, people can be stupid. PHP allows it and empowers them.