1,168 karma · joined Jan 23, 2011 (15y ago) · 279 submissions
comment 9h ago · link · parent
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
comment 2d ago · link · parent
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 3w ago · link · parent
> 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
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 1mo ago · link · parent
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
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
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
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
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
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
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
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 4mo ago · link · parent
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 5mo ago · link · parent
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
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
> 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
> 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
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
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.