Better HN
topnewbestaskshowjobs
Log inSign up

pwagland

1,168 karma · joined Jan 23, 2011 (15y ago) · 279 submissions

Submissions

comment 9h ago · link · parent

I'm going to challenge that.

The reason why so many people had a terrible experience with StackOverflow is that there was a lot of duplicate questions being asked. And this caused overzealousness in trying to stamp it out.

The second cause is that it relied on volunteer labor, and there were a lot of questions being asked that required quite obscure knowledge.

AI solves both of these issue, since it doesn't really care if it is being asked the same question a million times, mostly because it doesn't know anyway, but even then, it effectively has infinite patience, and people don't.

As to the second, AI also wins here, since, as has been shown in the math problem solving, it has a broad scope of knowledge, and it can search for more. This leads to being able to answer a lot more questions way more quickly.

Even when StackOverflow was working well, it could take hours, days, or (rarely) weeks, to get a good answer. AI will (usually) give your a decent answer within seconds, or minutes.

comment 9h ago · link · parent

Surely it would have to to save the energy costs. If the old ones were still needed as well, then your total energy cost would be higher, unless this new unit was of such low capacity that it couldn't cool the restaurant, but that hardly seems notable enough for a press release.

comment 2d ago · link · parent

This is typically because only one species is invasive, and not the entire biosphere, including their predators et al.

This allows an invasive species to have wildly different behaviour in their new environment, since this behaviour would get them killed back in their native habitat.

comment 1w ago · link · parent

Believe it or not - Straight to Jail.

comment 3w ago · link · parent

It's not _that_ low, from the Tesla site: https://www.tesla.com/ownersmanual/model3/en_us/GUID-E261502...

> Model 3 provides a maximum draw of 11.5 kW.

You can't run your heating or air conditioning at full tilt, but otherwise that will get you at lot, this is 240V at ~45A.

comment 3w ago · link · parent

Well, your ISP likely _doesn't_ know which sites you are going to.

In the old days, they'd run proxies, but with SSL, they no longer know where they are going, only that they are, for example, going to an AWS or GCP site.

comment 3w ago · link · parent

Interesting experiments and differences between the browsers.

Using the test: (async () => { const sleep = (ms) => new Promise((r) => setTimeout(r, ms)); for (let i = 0; i < 200; i++) { __walker.add(); await sleep(10); } })();

From the JavaScript console, on both Chrome and Safari.

The animation is _way_ smoother on Chrome, but scrolling on that page becomes really painful.

Safari, on the other hand, uses a lot more CPU to do the animation, and the FP of that animation drops dramatically as you change the number of lemmings from 10 -> 50 -> 100 -> 200. However scrolling the page remains smooth the entire time.

comment 4w ago · link · parent

Millions of people on TikTok and the lines after a place has been hit by an influencer implies that this inoculation is wearing out.

comment 4w ago · link · parent

From the article:

> The Go team adds that "the underlying bug is not specific to MPTCP. It is possible that systems with no MPTCP listeners are vulnerable to similar attacks"

MPTCP is only required for the known exploit, it isn't necessarily needed.

comment 1mo ago · link · parent

It's funny to see what a parallel you have to my story.

my reputation is 29,459, my last answer October 15, 2021, close enough to be considered the same IMO.

For me, the thing that drove me away, is that you'd spend time on writing good answers, to provider lore, etc, but it was increasingly difficult to find "good" questions to answer. There were increasingly many "homework" questions, and far fewer questions where people _had_ put the effort in.

And, an increasing animosity to the people answering the questions.

The community became toxic, and it wasn't the only the gatekeepers, everyone wanted something for free, and StackOverflow suffered from the "open source burn-out" problem.

Certainly I did.

comment 1mo ago · link · parent

But that is _exactly_ the problem.

Flights take x hours in the sky, and so would have left at `2026-10-01T09:00:00, America/Havana`, and arrives at Miami at `2026-10-01T10:25:00, America/Havana`.

Now, they have to choose, do they arrive at 10:25, and leave at 10:00? Or do they leave at 9:00, and arrive at 9:25, since only _one_ of those two timezones is changing. It is extraordinarily unlikely that they'll choose to just circle in the air for an hour so that they can just keep the same departure and arrival times.

comment 1mo ago · link · parent

This is so very very relevant.

Top salary earners, who do manage to save somewhat for retirement end up getting punished by these wealth taxes as well, especially since, generally, you need money in order to be able to move money around, in order to be able to save money on these sorts of taxes.

comment 1mo ago · link · parent

The UK, at least, is big enough that you can have multiple regions within the same country. There's a lot of distance between Glasgow and London, for example. Maybe not enough if both are targeted with nuclear warheads, but at that point, we have bigger fish to fry I suspect.

Most European countries have enough space within the country to do that, and, for most things, except banking typically, hosting within the EU is enough, it doesn't have to be within your own country.

comment 2mo ago · link · parent

Depends on the specific car, Tesla's are notoriously expensive to insure, but I believe that the Volkswagen ID series is much more reasonable.

comment 2mo ago · link · parent

This depends on country, and what you consider to be a comparable car.

If we compare, for example, the Tesla Model 3 (RWD) against the BMW 3 series (320i), then we get:

NL: Model 3 ~€36K vs 3 series ~€50K UK: Model 3 ~£37K vs 3 series ~£41K

In both countries the Model 3 is more expensive than that the 3 series.

Second hand the maths can change again, since EVs typically depreciate faster, due to battery degradation fears, and the fact that range on newer cars is always improving, but still, typically for a four year old version of the above, the Model 3 is still cheaper than the 3 series.

There is, of course, the discussion on whether it is fair to compare a model 3 with the 3 series, but it is often used, so I'll go with it.

If you want to compare cheaper cars, then you could compare a Ford Focus with an MG4 EV, and in the UK the EV wins, in NL, the Gasoline car wins, but in both cases, they are more price comparable.

comment 2mo ago · link · parent

This, and then, if you notice, and backspace to remove the 'e', it doesn't put chess back into the search results, since it figures that everything that matches 'che' also matches 'ch', and so doesn't update it. Sometimes, if you add the 'e' again, it _will_ find chess, sometimes you need to type the 's', or even the final 's' before it gives you chess back again.

And sometimes, it finds what you want, but before you can select it, it decides that it has found something better, and places that in the place where you wanted to select, causing you to select the wrong thing. And then it thinks that because you selected this, it must be what you want, and starts to push it to the top…

Search is definitely frustrating.

comment 3mo ago · link · parent

It definitely has a following.

This is the challenge of extreme weather, it's either drought or floods, and wild swings from the one to the other. As a kid growing up in Australia, we heard many such stories, especially if the rains came on too suddenly, since then the ground can't absorb the water, and you get flash floods.

As if being a farmer isn't already tough enough.

comment 3mo ago · link · parent

This is the bit that I don't get though, if it is all about the "travel and lifestyle", then why would I want to end up in a rural village in Spain. My travel is more limited, and I'm hardly following the "digital nomad lifestyle".

Not saying it can't be fun, but you can live in a country town almost anywhere, if I just want a permanent base hours from any airport, and they all tend to be a lot cheaper than living in the "big smoke".

comment 3mo ago · link · parent

Exactly this. Or charge my laptop via the phone cable, sure, it's slower, but it still works.

comment 4mo ago · link · parent

That is exact problem.

Basically JEP401 guarantees that just adding "value" to the class won't change behaviour, which also means that you are not allowed to see object tearing, which requires atomic operations on the field.

Relaxing that would break safe publication rules, at least for Java.

comment 4mo ago · link · parent

That is a nice piece piece of knowledge! We have an Integer cache in our product, and the only reason that it hangs around is that it caches 0..1024 instead of -127..128. By setting this value, we could simplify our code, ever so slightly.

comment 4mo ago · link · parent

What is the problem at hand?

How to get customers to make poor financial decisions? How to sell more phones to people that can't really afford them?

Seriously, what is the problem that is being solved?

comment 5mo ago · link · parent

They didn't blow the whistle though, not really.

Especially not when gp said that they expected the department head to brush it under the rug. If reporting things "up the chain of command" was really expected to root corruption out, and this fraud is 100% a form of corruption, then whistle blowing simply wouldn't be needed.

They covered their own ass, which is fine, in that later the head can't say they didn't know about it. But they didn't blow the whistle.

comment 5mo ago · link · parent

There are plenty of cases where flattening an object that takes 64bits would make sense.

The current code will help with `Integer[]`, `Char []`, etc, as well as combinations of `byte`, `char`, and `int`. Past that it doesn't really help much.

It would be fantastic if we could also flatten something like `Pair` or `Tuple`. However, even with compressed pointers, that is 64 bits, so that, plus the `null` bit, means it can't be flattened, which is a real shame. For various reasons, I have `List<Long>` in numerous places in my code, It would be great if that could also be flattened. However, since a Long is 64 bits, it _also_ can't be flattened. https://openjdk.org/jeps/8316779 would go a long way to to helping here, since then at least the null bit could be thrown away, which would allow more things to be flattened.

And then, if you want to go Wishlist land, something that would allow SSO (Small String Optimisation) would also be awesome, but that would require something akin to unions in Java, which we can _kind_ of do with sealed classes, but, since String is a final class, can't be retrofitted back into the language.

Does anyone know if Valhalla will flatten "simple" sealed classes, where every sealed class is small enough to be flattened? Since that would also be a powerful example to share.

comment 5mo ago · link · parent

From the article:

> The documentation should open with something like this:

>> The callback function must perform its work quickly without blocking. If you need to do complex work or synchronize with other threads or processes, do the work asynchronously, such as by using System Worker Threads.

A change was made, but not the change that Raymond thinks would explain why the list is there anyway.

comment 5mo ago · link · parent

And, since he isn't waiting on the reply, he is following the rule for the callback.

comment 5mo ago · link · parent

The "practical" use case is to allow auto playing of videos for those users who disable it, from the "Strategic Vision & Core Capabilities" section:

> Bypassing Browser Constraints: Modern browsers aggressively throttle autoplay videos, and ad-blockers restrict traditional media frames. To the browser, ASCILINE is simply "JavaScript updating a canvas"—completely invisible to media restrictions.

comment 6mo ago · link · parent

At the very least, it goes against the spirit of the specification, even if there is no explicit wording forbidding it.

comment 6mo ago · link · parent

In many battlefield scenarios, there is more than one "somebody" on it. The "somebody" that you kill might not be the "somebody" that you intended to kill.

Depending on the how pelicans are created, it is entirely possible to indirectly kill "somebody" due to the externalised costs of global warming etc.

comment 6mo ago · link · parent

That's the advantage of externalised costs. It doesn't matter how high they are, you don't have to pay them!

You see this in all sorts of places, for example, stealing an EV charging cable. To a thief, a $500 charging station is just $10 worth of copper waiting to be melted down. They don't care about the $490 deficit they left behind because that’s the victim's problem. Social media platforms, and apparently now car manufacturers, look through the exact same lens.

12345
10