Antimatter falls down, not up: CERN experiment confirms theory
wols @ wols @lemm.ee Posts 1Comments 39Joined 2 yr. ago
Extra steps that guarantee you don't accidentally treat an integer as if it were a string or an array and get a runtime exception.
With generics, the compiler can prove that the thing you're passing to that function is actually something the function can use.
Really what you're doing if you're honest, is doing the compiler's work: hmm inside this function I access this field on this parameter. Can I pass an argument of such and such type here? Lemme check if it has that field. Forgot to check? Or were mistaken? Runtime error! If you're lucky, you caught it before production.
Not to mention that types communicate intent. It's no fun trying to figure out how to use a library that has bad/missing documentation. But it's a hell of a lot easier if you don't need to guess what type of arguments its functions can handle.
The point is that you're not fixing the problem, you're just masking it (and one could even argue enabling it).
The same way adding another 4 lane highway doesn't fix traffic long term (increasing highway throughput leads to more people leads to more cars leads to congestion all over again) simply adding more RAM is only a temporary solution.
Developers use the excuse of people having access to more RAM as justification to produce more and more bloated software. In 5 years you'll likely struggle even with 32GiB, because everything uses more.
That's not sustainable, and it's not necessary.
I think they meant the only language we transpile to for the express reason that working with it directly is so unpleasant.
Java is not transpiled to another language intended for human use, it's compiled to JVM bytecode.
People don't usually develop software directly in the IR of LLVM. They do develop software using vanilla JavaScript.
I can't for the life of me figure out how your proposed method helps in the described scenario.
Maybe I misunderstood it, can you elaborate?
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.
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
- Everyone does not know the original figure is an exaggeration, especially by how much
- 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
Yes, correcting hyperbole with relevant information is bad, actually.
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.
I'd say generally speaking it's more likely that issues stem from extensions than from Firefox itself, so maybe try looking into that.
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.
Kellogg’s is going to war over Mexico’s nutrition label rules. A similar fight is coming to the U.S.
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.
Kellogg’s is going to war over Mexico’s nutrition label rules. A similar fight is coming to the U.S.
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.
Kellogg’s is going to war over Mexico’s nutrition label rules. A similar fight is coming to the U.S.
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?
Kellogg’s is going to war over Mexico’s nutrition label rules. A similar fight is coming to the U.S.
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.
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.
I haven't used a different browser in a good while, so I'm not sure that these issues don't exist elsewhere, but here's a few:
For a very long time after the rework, reordering tabs was not possible. Only recently was this added again. But there seems to be no acceleration, so moving an old tab to the front takes forever. Even worse, this feature is still not available for private tabs (since you can't select those at all).
Quite often when I switch to the tab overview, it doesn't automatically scroll to my current tab so I need to do that manually.
I'm also not a fan of the "jump back in" view that shows up every so often instead of the content of my tab. Why they would assume I'm interested in anything besides what I intentionally opened is beyond me.
Creating a new tab is more cumbersome than it needs to be. I think you were able to do that by scrolling to the right on the address bar of the rightmost tab. A dedicated button would be even better.
I think it's a great browser, and pretty much the only one I use, but in my experience everything does not work perfectly.
El psy kongroo