<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: larsnystrom</title><link>https://news.ycombinator.com/user?id=larsnystrom</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 20 Apr 2026 23:38:05 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=larsnystrom" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by larsnystrom in "Java is fast, code might not be"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Wed, 01 Apr 2026 07:37:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=47597988</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=47597988</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47597988</guid></item><item><title><![CDATA[New comment by larsnystrom in "Java is fast, code might not be"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Fri, 20 Mar 2026 19:11:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=47459238</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=47459238</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47459238</guid></item><item><title><![CDATA[New comment by larsnystrom in "Edge.js: Run Node apps inside a WebAssembly sandbox"]]></title><description><![CDATA[
<p>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?</p>
]]></description><pubDate>Tue, 17 Mar 2026 19:45:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=47417323</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=47417323</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47417323</guid></item><item><title><![CDATA[New comment by larsnystrom in "If you thought the code writing speed was your problem; you have bigger problems"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Tue, 17 Mar 2026 19:31:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=47417136</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=47417136</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47417136</guid></item><item><title><![CDATA[New comment by larsnystrom in "Notes on writing Rust-based Wasm"]]></title><description><![CDATA[
<p>WASM is kind of like Java bytecode, right? A compilation target which requires a runtime? But better sandboxed?</p>
]]></description><pubDate>Sun, 08 Mar 2026 12:07:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=47296681</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=47296681</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47296681</guid></item><item><title><![CDATA[New comment by larsnystrom in "Tesla registrations crash 17% in Europe as BEV market surges 14%"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Tue, 24 Feb 2026 19:41:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47141768</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=47141768</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47141768</guid></item><item><title><![CDATA[New comment by larsnystrom in "Sub-$200 Lidar could reshuffle auto sensor economics"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Mon, 23 Feb 2026 12:28:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=47121441</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=47121441</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47121441</guid></item><item><title><![CDATA[New comment by larsnystrom in "France dumps Zoom and Teams as Europe seeks digital autonomy from the US"]]></title><description><![CDATA[
<p>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?</p>
]]></description><pubDate>Tue, 03 Feb 2026 17:55:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=46874481</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=46874481</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46874481</guid></item><item><title><![CDATA[New comment by larsnystrom in "Nine things I learned in ninety years"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Tue, 23 Sep 2025 11:30:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=45345522</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=45345522</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45345522</guid></item><item><title><![CDATA[New comment by larsnystrom in "Modern Node.js Patterns"]]></title><description><![CDATA[
<p>And AFAIK there is still no upload progress with fetch.</p>
]]></description><pubDate>Mon, 04 Aug 2025 10:23:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=44783948</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=44783948</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44783948</guid></item><item><title><![CDATA[New comment by larsnystrom in "Show HN: Unregistry – “docker push” directly to servers without a registry"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Thu, 19 Jun 2025 06:49:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=44316121</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=44316121</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44316121</guid></item><item><title><![CDATA[New comment by larsnystrom in "Finland announces migration of its rail network to international gauge"]]></title><description><![CDATA[
<p>Yes, it is because of NATO. They've been thinking about it for some time, but NATO tipped the scales.</p>
]]></description><pubDate>Tue, 20 May 2025 09:58:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=44039742</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=44039742</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44039742</guid></item><item><title><![CDATA[New comment by larsnystrom in "The cryptography behind passkeys"]]></title><description><![CDATA[
<p>Please do share some links to these events, because this is the first I hear of it.</p>
]]></description><pubDate>Thu, 15 May 2025 08:40:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=43993049</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=43993049</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43993049</guid></item><item><title><![CDATA[New comment by larsnystrom in "The cryptography behind passkeys"]]></title><description><![CDATA[
<p>Sure, but TOTP still defends against password leakage. So it’s still more secure than only using a password.</p>
]]></description><pubDate>Thu, 15 May 2025 08:37:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=43993036</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=43993036</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43993036</guid></item><item><title><![CDATA[New comment by larsnystrom in "Apple violated antitrust ruling, judge finds"]]></title><description><![CDATA[
<p>Allowing third party payment systems does not mean they have to be less strict in the rest of their app vetting process.</p>
]]></description><pubDate>Fri, 02 May 2025 13:28:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=43869480</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=43869480</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43869480</guid></item><item><title><![CDATA[New comment by larsnystrom in "Apple violated antitrust ruling, judge finds"]]></title><description><![CDATA[
<p>But this is from a non-Apple app. You’re already on a page outside of Apples control.</p>
]]></description><pubDate>Thu, 01 May 2025 12:51:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=43857025</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=43857025</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43857025</guid></item><item><title><![CDATA[New comment by larsnystrom in "Apple violated antitrust ruling, judge finds"]]></title><description><![CDATA[
<p>Why are they using any language at all? Why not just let the app maker open the payment screen directly?</p>
]]></description><pubDate>Thu, 01 May 2025 12:39:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=43856910</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=43856910</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43856910</guid></item><item><title><![CDATA[New comment by larsnystrom in "Carefully but Purposefully Oxidising Ubuntu"]]></title><description><![CDATA[
<p>> Performance is a frequently cited rationale for “Rewrite it in Rust” projects. While performance is high on my list of priorities, it’s not the primary driver behind this change.<p>Is performance a frequent rationale for rewriting C applications in Rust?</p>
]]></description><pubDate>Thu, 13 Mar 2025 13:57:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=43353416</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=43353416</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43353416</guid></item><item><title><![CDATA[New comment by larsnystrom in "VSCode’s SSH agent is bananas"]]></title><description><![CDATA[
<p>But vscode doesn’t just let you edit files on the remote, it runs everything on the remote: extensions, terminal commands, etc. If you’re working on a web project, it forwards ports so you can still visit localhost in your browser, even though your dev server is running on the remote host.</p>
]]></description><pubDate>Sat, 08 Feb 2025 17:33:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=42984526</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=42984526</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42984526</guid></item><item><title><![CDATA[New comment by larsnystrom in "VSCode’s SSH agent is bananas"]]></title><description><![CDATA[
<p>Where is the Remote SSH extension code? I always thought that was closed source?<p>Edit: The reason I think it is closed source is because a StackOverflow answer says so[1]. I’d be very interested in seeing the code if you could link to its repo!<p>[1] <a href="https://stackoverflow.com/a/55979526" rel="nofollow">https://stackoverflow.com/a/55979526</a></p>
]]></description><pubDate>Sat, 08 Feb 2025 07:50:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=42981271</link><dc:creator>larsnystrom</dc:creator><comments>https://news.ycombinator.com/item?id=42981271</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42981271</guid></item></channel></rss>