• 0 Posts
  • 224 Comments
Joined 2 years ago
cake
Cake day: September 2nd, 2023

help-circle




  • Rust is not fully functional. But I am legally obligated to recommend it any time I can.

    Jokes aside, this doesn’t apply to you, since you seem to actively learn functional programming. But for people that are scared of it, rust looks like “normal” languages, but has tons of features that can be attributed to functional programming. Even more so if you avoid using references. You can easily “mutate” objects the functional way, by passing the object to the function, and the function creates a new object with just some value changed.

    It has algebraic data types. Function pointers. Iterators. Pattern-based match statements. Don’t have class inheritance. Inmutable by default. Recursion. Monads. And probably other FP features that I’m missing.

    It has basically every functional feature while having familiar syntax.

    It’s also extremely easy to install. Which I didn’t use to appreciate, but then I tried to learn OCaml and had to give up because I couldn’t set up a proper dev environment on windows.




  • As an analogy, just like dragging a 1000kg at 1m/s is not the same experience as dragging a 10g sphere at 1m/s. The same thing happened “something moved at 1 m/s”, yet they were very distinct experiences.

    That being said, Occam’s razor applies here. If it’s the same brain activity, it probably results in the same experience.

    But there’s still room for doubt. Since brains don’t all have the exact same amount of neurons arranged in the exact same way. And their chemical composition might be slightly different. They also change with age.

    I don’t think science can prove definitely that a slightly different brain structure won’t result in a different perception of color. Just like it can’t prove/disprove the existence of god. Some questions are just unsolvable. But science can get far enough so we say “this is probably true/false”



  • I’m no biologist. It’s very possible it’s an incomplete definition, and I don’t claim it to be a perfect one.

    I guess if we apply my definition to mules, each mule would be a different species lol.

    The horses one is a non-issue though. It doesn’t matter that they can create offspring of different species. Since 2 horses can potentially create a horse, then the horses are of the same species.

    And yes, my definition works only for sexual reproduction, since as seen by this article, asexual reproduction can get very complicated.

    I wouldn’t say it’s outdated and mainly for children. Just like Newtonian physics are very useful if we use it correctly. Having simple models that work in the situations we encounter most is useful even for adults.









  • It is not propaganda as it is factual information. If you believe this is 4D chess from Google to manipulate us to dislike Firefox you are out of your mind. https://github.com/mozilla/bedrock/commit/d459addab846d8144b61939b7f4310eb80c5470e this is an actual commit made by mozilla. It was not made by Google.

    Changes include:

    • Removing “we don’t sell access to your data”. Curiously this change is only for the TOU. Presumable because that is legally binding. Idk where the “else” branch is displayed though.
    • Removing this question from FAQ: “Does Firefox sell your personal data? Nope. Never has, never will (…). That’s a promise”
    • Remove another mention in the TOU “and we don’t sell your personal data”. That again was not removed from the “else” branch

    That to me indicates one of the following:

    • They have started selling data.
    • They plan on selling data in the near future.
    • They don’t feel confident that they can keep that promise forever. That is, they see a future where they sell data.

    I don’t like either of those alternatives.

    I don’t know if they are able to sell the data you mentioned. Because I’m not in the enshittification minds of giant American corporations. 20 years ago people would laugh at the idea of buying data about the screen size of a user. But now they do, and use it for fingerprinting. If recent history has shown anything is that most data has some kind of value. And giant corporations will find their way to use that data against users.

    I’ve seen way too many companies that were supposed to be the cool kids and were doing everything morally enshittify. There’s no reason to believe Mozilla is going to be different. They’re showing the same signs.