larsnystrom
Re:The other Sean Byrne doesn't exist
on Saturday August 15, 2026 @05:28AM (#49309090)
Don’t let perfect be the enemy of good. As you said, Ireland might comply, which would’ve solved this particular issue.
Re:The other Sean Byrne doesn't exist
on Saturday August 15, 2026 @04:24AM (#49308811)
If they put an ID on a sanction list, there’s a possibility to verify it. They could verify that it actually belongs to the person they want to sanction before putting it on the list. Failing that, the actual person can prove that they don’t belong on the list by verifying their identity.
Verifying identity is a much simpler problem than establishing identity.
Re:The other Sean Byrne doesn't exist
on Saturday August 15, 2026 @04:09AM (#49308740)
You’re talking about different things. Sweden has personal identity numbers and they’re public information. It protects you from being mixed up with someone with the same name. Not from identity theft though.
Re:OpenAI: In early talks to give 5% stake to US Government
on Thursday July 02, 2026 @08:21AM (#48760332)
I assume that’s why Altman wants the government as a co-owner.
Re:Local Qwen isn't a worse Opus, it's a different tool
on Thursday June 18, 2026 @03:05AM (#48581820)
I’ve only used Opus in GitHub copilot and was hugely underwhelmed. It was barely usable. Are you saying it’s better with the official Anthropic tools?
Re:Looking Forward to Postgres 19: It's About Time
on Friday June 12, 2026 @02:20PM (#48507574)
Sure, from a theoretical perspective, but in practice there’s got to be some sort of order at some point even when storing timespans.
Re:Looking Forward to Postgres 19: It's About Time
on Friday June 12, 2026 @02:18PM (#48507552)
You could also make the price column nullable and just insert a row with price null and the date from which there should be no price.
Re:Looking Forward to Postgres 19: It's About Time
on Friday June 12, 2026 @02:03PM (#48507374)
Why are they storing a time period (start and end date) in the first example? Why not just store the date when the price comes into effect? That would make both overlaps and time travel impossible without using any constraints.
Re:Snowboard Kids 2 is 100% Decompiled
on Saturday May 30, 2026 @04:18AM (#48333931)
By that logic VPNs and many other technical solutions are also not solving technical problems, since it is theoretically possible to achieve the same results by other means.
Re:PHP's Oddities
on Sunday May 24, 2026 @02:54AM (#48255095)
Just use array_values() and suddenly you can use int indicies again.
Re:PHP's Oddities
on Saturday May 23, 2026 @03:08PM (#48250372)
Yeah, at the moment we use arrays as anonymous objects and phpdoc+phpstan to verify the types, but I want it in the language. PHP already supports intersection and union types, it really feels like just skipping the naming part and going all in on structural typing is not that far fetched by now.
Re:PHP's Oddities
on Saturday May 23, 2026 @02:18PM (#48249874)
I've been writing PHP for 20 years now. It's my bread and butter.
The one thing I really wish PHP would add is structurally typed objects. I really miss it when moving back and forth between PHP and TypeScript.
They could call them anonymous objects if they want to (that would be a more culturally correct analogue to anonymous classes).
Like, I wish it was possible to do
{
string $mystring = $myvar,
}
and have it be equivalent to new class($myvar) {
public function __construct(
readonly public string $mystring,
) {}
}
and then be able to typehint it like function ({ string $mystring } $myobj) {
echo $myobj->mystring;
}
and honestly, why not go all the way and allow type definitions/aliases, something like type myobj_type = { string $mystring };
That'd be great.
Re:AI is killing the cheap smartphone
on Friday May 22, 2026 @03:39AM (#48233109)
I don’t think AI demand is driven by consumers.
Re:Should I Run Plain Docker Compose in Production in 2026?
on Tuesday May 05, 2026 @02:33PM (#48026613)
What a great blog post! I have wanted to do rootless docker with subuids, but putting it all together like you have is not easy. Thank you for writing it down!
Re:Unsigned Sizes: A Five Year Mistake
on Sunday May 03, 2026 @12:52AM (#47993458)
My comment was a bit tongue in cheek. Obviously it is a hard problem. But in a profession where we work with machines that literally were made to crunch numbers, and where abstraction is something we deal with daily, why can’t we have a performant abstraction for doing arbitrary calculations? The answer is that to be performant it must be solved in hardware, which would cost more than the hardware we have.
So in fact it is not just telling me it’s a hard problem, it’s telling me that the cost-benefit is still not there. It’s like it’s just not a very important problem (in an economic sense). And that is what surprises me, given that computers were made to do arbitrary calculations.
Re:Unsigned Sizes: A Five Year Mistake
on Saturday May 02, 2026 @04:49PM (#47990344)
I don’t understand how dealing with numbers correctly is not a solved problem in computer engineering by now.
Re:Java is fast, code might not be
on Wednesday April 01, 2026 @03:37AM (#47597988)
I remember now what the problem was. I was instantiating a new ArrayList in a loop. The solution to the performance issue was to use a Vector instead. I was used to just writing PHP arrays when I wanted a list of something, and since they’re dynamically sized I thought the analogue in Java was ArrayList, which is also dynamically sized. But somehow that was extremely unperformant in Java.
Re:Java is fast, code might not be
on Friday March 20, 2026 @03:11PM (#47459238)
I remember writing Java for our introductory programming course at university around 2010. I was already familiar with object oriented programming in PHP at the time, so I just wrote the Java code like I would write PHP. I was absolutely astounded at the poor performance of the Java app. I asked one of our tutors and I can still remember him looking at the code and saying something along the lines of ”oh, you’re instantiating objects in a loop, that’s obviously going to be slow”. Like, what? If I can do this performantly in freakin PHP, how can Java, the flagship of OOP, not have fast instantiation of objects? I’m still shaking my head thinking about it.
Re:Edge.js: Run Node apps inside a WebAssembly sandbox
on Tuesday March 17, 2026 @03:45PM (#47417323)
Maybe I’m just dense, but it says the fs module is fully supported, so what happens when I try to read a file from disk if the app is fully sandboxed?
Re:If you thought code writing speed was your problem you have bigger ...
on Tuesday March 17, 2026 @03:31PM (#47417136)
I can really relate to this. At the same time I’m not convinced cycle time always trumps throughput. Context switching is bad, and one solution to it is time boxing, which basically means there will be some wait time until the next box of time where the work is picked up. Doing time boxing properly lowers context switching, increases throughput but also increases latency (cycle time). It’s a trade-off. But of course maybe time boxing isn’t the best solution to the problem of context switching, maybe it’s possible to figure out a way to have the cookie and eat it. And maybe different circumstances require a different balance between latency and throughput.
Re:Notes on Writing WASM
on Sunday March 08, 2026 @08:07AM (#47296681)
WASM is kind of like Java bytecode, right? A compilation target which requires a runtime? But better sandboxed?
Re:Tesla registrations crash 17% in Europe as BEV market surges 14%
on Tuesday February 24, 2026 @02:41PM (#47141768)
It’s still possible to order new and original parts for SAAB models, almost 20 years after they went under. The spare parts are made by a separate company which is still going.
Re:Sub-$200 Lidar Could Reshuffle Auto Sensor Economics
on Monday February 23, 2026 @07:28AM (#47121441)
Human eyes are much better than cameras at dealing with dynamic range. They’re also attached to a super-computer which has been continuously trained for many years to determine distances and classify objects.
Re:France dumps Zoom and Teams as Europe seeks digital autonomy from t...
on Tuesday February 03, 2026 @12:55PM (#46874481)
There seems to be a huge business opportunity in Europe right now, to sell support and customization of open source software to government players. Has anyone heard about a European company that’s been successful in this area?
Re:9 Things I Learned in 90 Years – From the Creator of Choose Your Ow...
on Tuesday September 23, 2025 @07:30AM (#45345522)
On the other hand, many things attributed to chance are actually the aggregate effect of other people's choices. If we make choices based on not just what's best for ourselves but what's best for all of us, we will all suddenly become more "lucky". And vice versa, if we only think about ourselves that luck will diminish.
Re:Modern Node.js Patterns
on Monday August 04, 2025 @06:23AM (#44783948)
And AFAIK there is still no upload progress with fetch.
Re:Show HN: Unregistry – "docker push" directly to servers without a r...
on Thursday June 19, 2025 @02:49AM (#44316121)
Nice to only have to push the layers that changed. For me it's been enough to just do "docker save my-image | ssh host 'docker load'" but I don't push images very often so for me it's fine to push all layers every time.
Re:Finland announces migration of its rail network to international gauge
on Tuesday May 20, 2025 @05:58AM (#44039742)
Yes, it is because of NATO. They've been thinking about it for some time, but NATO tipped the scales.
Re:The Cryptography Behind Passkeys
on Thursday May 15, 2025 @04:40AM (#43993049)
Please do share some links to these events, because this is the first I hear of it.
Re:The Cryptography Behind Passkeys
on Thursday May 15, 2025 @04:37AM (#43993036)
Sure, but TOTP still defends against password leakage. So it’s still more secure than only using a password.