Better HN
topnewbestaskshowjobs
Log inSign up

arzig

153 karma · joined May 25, 2023 (3y ago) · 64 submissions

Submissions

comment 3y ago · link · parent

As someone from the us, I’m deeply skeptical of government nutritional labeling / recommendation since the travesty of the food pyramid when I was young. Cereals were basically the best thing to eat because how else where you going to fill the foundation of the pyramid with your 11 (exact number is fuzzy) recommended servings of grains per day. The pyramid was shown proudly on all the boxes. Meanwhile protein and fats were to be minimized. It may not be causal, but it certainly didn’t help the obesity problem in this country that the government explicitly recommended everyone fill up in foods that aren’t actually filling.

comment 3y ago · link · parent

Export the free speech is a red herring. The underlying issue is whether an aggrieved party can compel certain kinds of discovery to respond to libel (which has never been perfected speech). Prime were just able to be libelous with impunity because … the interwebs…

comment 3y ago · link · parent

It may not be recoverable locally, but the caller may know how.

Consider Files.createFile. It throws if the target already exists. That method has no way of knowing what the recovery is, however, the caller might.

It could be that the caller wants to explode, but maybe its part of some kind of singleton launch where the recovery is to pass some piece of data off to whoever created the file originally.

Maybe this is a bad example since there’s not much interesting in the return of Files. But it’s exceptional in that it’s an abort rather than a success.

That said, checked exceptions are still trash because they don’t work across thread boundaries or with futures. ExecutionException is the catch all baked into the design because they needed something. The idea could have been good though because naming error handling visible is useful. Java just has the misfortune of designing early before the kinks had been worked out and now we get nice stuff like Rust has.

comment 3y ago · link · parent

Ladybird sure thinks they are going to.

I’m curious how successful they will be.

123