bitcrafter

joined 1 year ago
[–] [email protected] 14 points 1 week ago

Praise His Noodliness for his great beneficence!

[–] [email protected] 3 points 2 weeks ago

The word "imperialism" does not mean what you think that it means.

[–] [email protected] 2 points 2 weeks ago

Fair enough; I appreciate the in-depth take!

[–] [email protected] 17 points 2 weeks ago (1 children)

I was a nerd, so I tried really really hard to prove logically that my religion was the correct one... and failed.

[–] [email protected] 13 points 2 weeks ago (2 children)

I see no problem at all with lab-grown meat being the solution, but I would push back a bit on the notion that eating bugs is inherently unpalatable. The truth is that what makes eating bugs unpalatable is our current habits and inclinations think of this as being inherently "icky", save for certain species that come from the sea. Changing these habits would not only switch us to consuming animal protein with fewer ethical and environmental issues, but also would open us up to new culinary experiences which we are currently depriving ourselves.

Having said that, I have never tried hard to overcome my own habits and inclinations, even though I probably should, so I am not going to judge anyone else for not having done so; the above paragraph is a musing rather than me trying to dictate anything to other people.

[–] [email protected] 5 points 2 weeks ago

I could not agree more that anyone who points out the negative ethical and environmental repercussions of eating meat and suggests that it would be better if we all switched to eating more bugs and/or lab-grown meat instead is really just trying to oppress the poor!

(Just to be clear: I myself find it extremely hard to change my habits so I do not negatively judge anyone else for continuing to eat meat, but I do negatively judge people who derail the entire conversation about the best way to proceed given the reality of problems with eating as much meat as we do by accusing me of having bad intentions.)

[–] [email protected] 11 points 2 weeks ago

No, because the people who really think that this is what is going on are also people who are stubborn about changing anything about their lifestyle, so they will continue to eat meat.

[–] [email protected] 3 points 2 weeks ago (1 children)

Ah, but you see, JavaScript is not so straightforward. It tries to help you by automatically inserting missing semicolons, but the approach that it uses is that it will insert them in the first place where doing so would make the code parse. This, unfortunately, means that semicolons are often inserted in places where you were not expecting them, so the advice is to always include them manually yourself so that you are never unpleasantly surprised.

[–] [email protected] 12 points 2 weeks ago

Nice try, but this post is actually now talking about JavaScript, which means that the close parentheses areautomatically inserted.

[–] [email protected] 26 points 2 weeks ago (5 children)

I am sympathetic with the sentiment so I am hardly going to discourage anyone from doing this, but it is not clear who could still be convinced at this point.

[–] [email protected] 12 points 2 weeks ago* (last edited 2 weeks ago) (1 children)
[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

I would argue that everything is being named for what it is, it's just that the mathematical definitions underlying the types are sufficiently subtle that it is not easy to look at them and immediately make the connection between what you are seeing and why it works. (I personally had to study them for a while before really understanding what was going on.) Additionally, the lens package is arguably not the best entry point because it makes you learn both the basic concepts and a full batteries-included library for working with them in every conceivably way at the same time, which can be so overwhelming that it becomes impossible to learn either of these things.

The good news, though, is that the advantage of this style of lenses is that the types are inherently structural rather than nominal, which means that you can, for example, use the far simpler microlens package instead and still interoperate with code that uses the lens package.

I find it interesting that you are so passionate about elm. The impression that I got when I last played with it a few years ago is that it is a good introduction to functional program because it shows just how nice things can get when everything is pure, but that eventually one outgrows it and its simplicity feels far more constraining than useful. So the good news is that you never have to learn about things like lenses, but the bad news is that if you run into a problem that would be solved really well by them, then too bad. How much one cares about this kind of thing is a genuine matter of personal preference, though.

view more: ‹ prev next ›