wols

joined 1 year ago
[–] [email protected] 15 points 1 year ago (1 children)

Yup.

Spaces? Tabs? Don't care, works regardless.
Copied some code from somewhere else? No problem, 9/10 times it just works. Bonus: a smart IDE will let you quick-format the entire code to whatever style you configured at the click of a button even if it was a complete mess to begin with, as long as all the curly braces are correct.

Also, in any decent IDE you will very rarely need to actually count curly braces, it finds the pair for you, and even lets you easily navigate between them.

The inconsistent way that whitespace is handled across applications makes interacting with code outside your own code files incredibly finicky when your language cares so much about the layout.

There's an argument to be made for the simplicity of python-style indentation and for its aesthetic merits, but IMO that's outweighed by the practical inconvenience it brings.

[–] [email protected] 1 points 1 year ago (1 children)

You don't need to correct something everyone already knows is an exaggeration (and I agree it doesn't seem very socially aware to do so) but this is a political discussion on the internet, so

  1. Everyone does not know the original figure is an exaggeration, especially by how much
  2. Providing the actual information ads value to the conversation and in this context this is more important than whether the commenter comes off as smarmy or socially inept

What if they said "Hey I know you're being hyperbolic, but for anyone who's interested, here's the number estimated by experts..."?
The only difference here is tone.
 

I'm not sure why they only shared numbers for minke whales, as these don't seem to be hunted anymore in Iceland in contrast to fin whales, whom the article was about.

Global fin whale population was estimated in 2018 by IUCN to have been around 100000.
https://www.iucnredlist.org/species/2478/50349982#population

[–] [email protected] 12 points 1 year ago (5 children)

Yes, correcting hyperbole with relevant information is bad, actually.

[–] [email protected] 5 points 1 year ago (1 children)

As always, the dose makes the poison.
A common scenario is people picking the wrong species and then not just eating a small bite, but cooking an entire meal and eating that.

A small bite may not kill you, but just one mushroom (50g) can be enough to do it.

There are some toxic mfs out there and they can be mistaken for edible lookalikes by inexperienced foragers.

[–] [email protected] 1 points 1 year ago (1 children)

I'd say generally speaking it's more likely that issues stem from extensions than from Firefox itself, so maybe try looking into that.

[–] [email protected] 2 points 1 year ago

Btw tab reordering is only missing for private tabs on the latest ff on Android.
Unfortunately there is still no acceleration when reordering so the ux is not great when you have many tabs.

[–] [email protected] 1 points 1 year ago

Good points.

I would argue that grains, lentils and eggs are fresh, as well as most meats that I would consider "healthy" enough to be compared with fruits, but that's maybe due to my perhaps non-standard understanding of the word so I apologize for the confusion (let me conveniently hide behind the "non-native speaker" excuse).
I concede frozen vegetables.

I agree that veggies (especially legumes and root vegetables) are even healthier than fruits.

But I think we should encourage fruit consumption as a more healthy way to enjoy sweet things.
I think it's more effective than to continue consuming large amounts of processed foods with added sugars and more pragmatic than trying to cut out everything sweet altogether.

Most unhealthy diets are caloric surplus anyway, so I think it makes more sense to replace things than to simply add them, and fruits are a good substitute because they taste really good by default.

I enjoy many vegetables, but most are not that tasty without good preparation (cooking, seasoning, etc. - notable exceptions: carrots & tomatoes).
You can just bite into a banana and it tastes great, scratches that sweet craving and will also satiate you a bit; a good substitute for a chocolate or ice cream. Or a bag of chips.

[–] [email protected] 2 points 1 year ago

That does indeed seem like the hangup in this case, and it's on me; I should have used a less vague word or else clarify.

To me fresh is anything that hasn't been processed for preservation (except drying). So cheese isn't fresh, heat treated milk/cream isn't fresh, smoked and cooked meats aren't fresh, pickled foods aren't fresh, frozen foods aren't fresh and anything with actual preservatives added is definitely not fresh.
"raw" would probably have been the better word to use.
Also, having thought about my own understanding of the word a bit more in depth, I'll concede that some pickled veggies are pretty healthy, as well as yoghurt.

You were right with all three examples.

[–] [email protected] 2 points 1 year ago (4 children)

I've been trying to think of things commonly sold in supermarkets that are not fresh and that are more healthy than fruits, and after a few minutes I have to say I came up blank.
Maybe vegetable soup? Not sure if you can get a good soup at the supermarket.

Care to share a few examples?

[–] [email protected] 11 points 1 year ago (6 children)

Actually fruits are pretty great for us, if they aren't highly processed.
Better to eat an apple than drink apple juice, also better to eat an apple than just about anything from the supermarket that isn't fresh.
Of course, you still need a balanced diet, and you can't get nearly all the necessary nutrients from just apples. Still, assuming an otherwise nutrient-complete diet, it's a lot less healthy to eat a slice of frozen pizza than an apple or a banana. (the apple might even contain less available sugar than the pizza slice - people often overestimate how much sugar fruits really contain)

The "stuff removed" bit is more important than you seem to give it credit for. Take out all the fiber and water and sure it's still the same sugars that are left over, but we didn't evolve to consume large quantities of pure sugar, so it spikes our insulin and gets stored as excess fat.

Fruit juice is pretty unhealthy, because all the sugar is more available due to all the fiber being stripped out and you can consume a dozen apples' worth in a few minutes, which you wouldn't do with actual apples.

Sure, there's not that much fiber left in raisins either. But in the context of musli they can be combined with whole grains and nuts, so you get enough fiber back to make the sugar less quickly digested and thus more healthy.

A third of the entire cereal mix being sugar is definitely worse than musli with raisins (which comes to about 10g of sugar per 100g), especially considering that a good portion of the rest of the mass in the case of musli is made up of fiber, proteins and healthy fats.

Adding sugar isn't just "another big issue", it's the big issue. Eating fresh fruits is a non-issue, and usually so is eating dried fruits in moderation.

[–] [email protected] 5 points 1 year ago (2 children)

Many of the programming languages that are regularly the butt of everyone's jokes don't just allow you to use them badly, they make it easy to do so, sometimes easier than using them well.
This is not a good thing. A good language should

  • be well suited to the task at hand
  • be easy to use correctly
  • be hard to use incorrectly

The reality is that the average software developer barely knows best practices, much less how to apply them effectively.
This fact, combined with languages that make it easy to shoot yourself in the foot leads to lots of bad code in the wild.

Tangentially related rant
We should attack this problem from both directions: improve developers but also improve languages.
Sometimes that means replacing them with new languages that are designed on top of years of knowledge that we didn't have when these old languages were being designed.

There seems to be a certain cynicism (especially from some more senior developers) about new languages.
I've heard stuff like: every other day a new programming language is invented, it's all just a fad, they add nothing new, all the existing languages could already do all the things the new ones can, etc.
To me this misses the point. New languages have the advantage of years of knowledge accrued in the industry along with general technological advancements, allowing them to be safer, more ergonomic, and more efficient.
Sure, we can also improve existing languages (and should, and do) but often times for one reason or another (backwards compatibility, implementation effort, the wider technological ecosystem, dogma, politics, etc.) old quirks and deficiencies stay.

Even for experienced developers who know how to use their language of choice well, there can be unnecessary cognitive burden caused by poor language design. The more your language helps you automatically avoid mistakes, the more you can focus on actually developing software.

We should embrace new languages when they lead to more good code and less bad code.

[–] [email protected] 3 points 1 year ago

It's not even the same if you strictly consider 'the time I spend in this line', which I would assume is to most people the time that actually matters.

Everyone behind her doesn't just lose the feeling of progress, they lose actual time (granted it's probably just a few seconds). And she loses that time also.

The actual justification here seems to be that she's busy doing something on her phone and doesn't want to be distracted every 30 seconds, which in her mind trumps the handful of seconds she and everyone behind her would gain.
Which imo would be fair enough, if you didn't have to also add the annoyance of the people behind her to the equation.
Many people standing in such queues are tired, stressed about catching their flight, or otherwise impaired and someone holding up the queue for no obvious reason can become aggravating fast.

view more: ‹ prev next ›