<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: gpm</title><link>https://news.ycombinator.com/user?id=gpm</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 14 Apr 2026 11:07:04 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=gpm" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by gpm in "Rust Threads on the GPU"]]></title><description><![CDATA[
<p>Is this proprietary, or something I can play around with? I can't find a repo.</p>
]]></description><pubDate>Tue, 14 Apr 2026 05:07:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=47761451</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47761451</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47761451</guid></item><item><title><![CDATA[New comment by gpm in "GitHub Stacked PRs"]]></title><description><![CDATA[
<p>When I've reached for stacked PRs (in the past, not using this feature) it's precisely because I've split my change into smaller PRs being merged individually.<p>I've just written those smaller PRs at once, or in quick enough succession that the previous PRs weren't merged before the later ones were ready. And the later ones relied on the previous ones because that's how working on a feature works.<p>The earlier PRs are absolutely reviewable and testable without relying on the later ones. The later ones are just treating the earlier ones as part of the codebase. I.e. everything here looks like two different PRs except the timing.<p>An obvious example would be "implement API for a feature" and then "implement UI that uses that API". Two different PRs. The second fundamentally relies on the first.</p>
]]></description><pubDate>Tue, 14 Apr 2026 04:54:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47761392</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47761392</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47761392</guid></item><item><title><![CDATA[New comment by gpm in "Building a CLI for All of Cloudflare"]]></title><description><![CDATA[
<p>I suppose you could probably legally justify claude-code-ing the package from the source maps by the license if they don't...</p>
]]></description><pubDate>Tue, 14 Apr 2026 00:54:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47759905</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47759905</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47759905</guid></item><item><title><![CDATA[New comment by gpm in "Seven countries now generate nearly all their electricity from renewables (2024)"]]></title><description><![CDATA[
<p>> This is sufficiently bad when what you need is more power in the winter.<p>Nope, it isn't. Solar is cheap and the costs are continuing to fall quickly. Generating 5x more power in the summer than needed is perfectly fine and just a nice added bonus.<p>Wires are probably a good idea to reduce that number, but with how solar panels are dropping in price traditional forms of electricity generation (nuclear, fossil fuels, etc) just won't be competitive at that multiplier even without them.<p>> Places that need more electricity in the winter because they're cold are cold in the winter because they're further away from the equator.<p>Temperature has a lot to do with ocean currents. NY and Sweden overlap in how cold they are (taking the right parts of both). The southernmost point of Sweden is at 55.3 degrees north, the northermost point of NY is at 45.0 degrees north. They aren't even close to overlapping in how far north they are.</p>
]]></description><pubDate>Mon, 13 Apr 2026 03:27:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=47747220</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47747220</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47747220</guid></item><item><title><![CDATA[New comment by gpm in "Seven countries now generate nearly all their electricity from renewables (2024)"]]></title><description><![CDATA[
<p>>  it's still a significant issue in e.g. New York or Paris or Auckland.<p>No it isn't.<p>Wires still might be worth it, but these are all close enough to the equator that you can just over provision locally without issue if you prefer.<p>> It's more than 1000km from the places that get cold<p>Solar panels work <i>better</i> in the cold. The issue is with how far from the equator Sweden is, not how cold it is.</p>
]]></description><pubDate>Mon, 13 Apr 2026 02:47:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47746988</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47746988</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47746988</guid></item><item><title><![CDATA[New comment by gpm in "Seven countries now generate nearly all their electricity from renewables (2024)"]]></title><description><![CDATA[
<p>Yeah but:<p>1. Sweden is just about the worst case, there's very few countries/people that far north.<p>2. There's this genius invention called "wires". HVDC has transmission losses on the order of 3.5% per 1,000km. You don't have to colocate the solar.</p>
]]></description><pubDate>Mon, 13 Apr 2026 01:12:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=47746368</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47746368</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47746368</guid></item><item><title><![CDATA[New comment by gpm in "The peril of laziness lost"]]></title><description><![CDATA[
<p>> have a curated list of every kind of test not to write<p>I've seen a lot of people interact with LLMs like this and I'm skeptical.<p>It's not how you'd "teach" a human (effectively). Teaching (humans) with positive examples is generally much more effective than with negative examples. You'd show them examples of good tests to write, discuss the properties you want, etc...<p>I try to interact with LLMs the same way. I certainly wouldn't say I've solved "how to interact with LLMs" but it seems to at least mostly work - though I haven't done any (pseudo-)scientific comparison testing or anything.<p>I'm curious if anyone else has opinions on what the best approach is here? Especially if backed up by actual data.</p>
]]></description><pubDate>Sun, 12 Apr 2026 22:42:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47745306</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47745306</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47745306</guid></item><item><title><![CDATA[The peril of laziness lost]]></title><description><![CDATA[
<p>Article URL: <a href="https://bcantrill.dtrace.org/2026/04/12/the-peril-of-laziness-lost/">https://bcantrill.dtrace.org/2026/04/12/the-peril-of-laziness-lost/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47743628">https://news.ycombinator.com/item?id=47743628</a></p>
<p>Points: 464</p>
<p># Comments: 142</p>
]]></description><pubDate>Sun, 12 Apr 2026 19:44:40 +0000</pubDate><link>https://bcantrill.dtrace.org/2026/04/12/the-peril-of-laziness-lost/</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47743628</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47743628</guid></item><item><title><![CDATA[New comment by gpm in "Surelock: Deadlock-Free Mutexes for Rust"]]></title><description><![CDATA[
<p>>  unless every callsite that locks any item always locks the big global lock first (probably not true, because if you serialize all item access on a global lock then a per-item lock serves no purpose...)<p>A pattern I've definitely both seen and used is<p><pre><code>    let guard1 = datastructure_containing_the_whole_world.lock();
    let guard2 = guard1.subset_of_that_datastructure.lock();
    guard1.unlock();
    // Do expensive work
    guard2.unlock();
</code></pre>
Which works to parallelize work so long as guard2 isn't contended... and at least ensures correctness and forward progress the rest of the time.</p>
]]></description><pubDate>Sat, 11 Apr 2026 21:25:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=47734135</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47734135</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47734135</guid></item><item><title><![CDATA[New comment by gpm in "France's government is ditching Windows for Linux, says US tech a strategic risk"]]></title><description><![CDATA[
<p>"Frenchman" (one word) is always... "old and inconsiderate" is a good description. "French man" (two words) is at times still appropriate.</p>
]]></description><pubDate>Sat, 11 Apr 2026 16:43:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=47732000</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47732000</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47732000</guid></item><item><title><![CDATA[New comment by gpm in "Nowhere is safe"]]></title><description><![CDATA[
<p>> In real politik terms the same can be said about the USofA and has been said about the former British Empire.<p>Sure... I think minimizing the number of entities who have this sort of impunity is a good thing even if we can't eliminate all of them.</p>
]]></description><pubDate>Sat, 11 Apr 2026 00:30:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=47725751</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47725751</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47725751</guid></item><item><title><![CDATA[New comment by gpm in "Nowhere Is Safe"]]></title><description><![CDATA[
<p>The sophisticated factories they need are basically just for chips. And the problem with chips is that civilian life is just as dependent on them as military armaments.<p>The rest of the drone is all stuff that can be fabricated in small batches in a garage... of course bigs factories are more efficient at fabricating just about anything so to the extent that's possible it's done, but bombing all the big factories won't stop it.</p>
]]></description><pubDate>Fri, 10 Apr 2026 22:39:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=47724599</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47724599</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47724599</guid></item><item><title><![CDATA[New comment by gpm in "Nowhere is safe"]]></title><description><![CDATA[
<p>Why are we ignoring the problems <i>inside</i> of North Korea? I take slavery and starving people pretty poorly regardless of where it happens.<p>That said North Korea routinely acts against the rest of the world in ways that are only possible because the rest of the world is unable to retaliate, with the government sponsoring everything from extorting hospitals with ransomware, to dealing drugs, to counterfeiting currency, to abducting film makers (from Hong Kong).</p>
]]></description><pubDate>Fri, 10 Apr 2026 22:32:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=47724538</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47724538</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47724538</guid></item><item><title><![CDATA[New comment by gpm in "US and Iran agree to provisional ceasefire"]]></title><description><![CDATA[
<p>Eh, the quoted text, and also the literal text of the Fourth Geneva Convention, Article 28 [1], doesn't qualify "certain points or areas" as only "military sites". While the other side should only be attacking military sites I don't see how that could possibly justify protecting non-military sites with human shields.<p>> As an extreme hypothetical, are humans living in their homes acting as human shields for those homes? How about people at school? How about people parading on a bridge?<p>Generally speaking I read this as not, because they aren't being "used to" render those points immune from attack, they just happen to be doing so. Hypothetically if you were to rush civilians back to their homes in an evacuated town to protect it from an attack - or as you suggest organize parades on bridges that are threatened - that would seem to meet the "used to" requirement.<p>(Good discussion though)<p>[1] <a href="https://ihl-databases.icrc.org/en/ihl-treaties/gciv-1949/article-28" rel="nofollow">https://ihl-databases.icrc.org/en/ihl-treaties/gciv-1949/art...</a><p>> Article 28 - Prohibition of using human shields<p>> The presence of a protected person may not be used to render certain points or areas immune from military operations.</p>
]]></description><pubDate>Wed, 08 Apr 2026 04:50:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47685407</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47685407</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47685407</guid></item><item><title><![CDATA[New comment by gpm in "US and Iran agree to provisional ceasefire"]]></title><description><![CDATA[
<p>It's a loss for the US. That's not equivalent to a win for Iran... both sides can and frequently do lose in wars.</p>
]]></description><pubDate>Wed, 08 Apr 2026 04:14:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47685143</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47685143</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47685143</guid></item><item><title><![CDATA[New comment by gpm in "US and Iran agree to provisional ceasefire"]]></title><description><![CDATA[
<p>> 2. Continued Iranian control of the Strait of Hormuz<p>> 6. Termination of all United Nations Security Council resolutions against Iran<p>> 7. Termination of all International Atomic Energy Agency Board of Governors resolutions against Iran<p>These seem remarkably outside the USes power to unilaterally agree to.<p>The first violates international treaties and while I'd be thrilled with the precedent as a Canadian eyeing my countries future revenue streams I doubt the rest of the world's countries are going to be happy to give up freedom of navigation through international waterways.<p>The second is something that can only be done by the UN security council with a majority vote and none of the permanent members vetoing the termination.<p>I don't actually know how the IAEA works, but it seems all but certain that that's up to their board of governors not the US.</p>
]]></description><pubDate>Wed, 08 Apr 2026 04:00:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=47685025</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47685025</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47685025</guid></item><item><title><![CDATA[New comment by gpm in "US and Iran agree to provisional ceasefire"]]></title><description><![CDATA[
<p>No it's not. International law is generally exceptionally clear that one war crime doesn't justify another, and using civilians as human shields is about as core a war-crime as war-crimes get.</p>
]]></description><pubDate>Wed, 08 Apr 2026 03:49:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=47684936</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47684936</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47684936</guid></item><item><title><![CDATA[New comment by gpm in "System Card: Claude Mythos Preview [pdf]"]]></title><description><![CDATA[
<p>Unintentional? This sort of marketing has been both Antrhopic's and OpenAI's MO for years...</p>
]]></description><pubDate>Tue, 07 Apr 2026 22:29:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47682171</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47682171</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47682171</guid></item><item><title><![CDATA[New comment by gpm in "Solar and batteries can power the world"]]></title><description><![CDATA[
<p>With a BMS and inverter? What brand should I be looking at?</p>
]]></description><pubDate>Fri, 03 Apr 2026 18:42:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=47630418</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47630418</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47630418</guid></item><item><title><![CDATA[New comment by gpm in "Solar and batteries can power the world"]]></title><description><![CDATA[
<p>I don't know if the market has improved but when I looked at this a year or two ago I concluded that the consumer market here was utter crap with hugely inflated prices.<p>The cheapest per kwh way I could find to buy a home battery (that didn't involve diy stuff) was to literally buy an EV car with an inverter... by a factor of at least two... I ended up not buying one.<p>Unfortunately cheap batteries doesn't translate to reputable companies packaging them in cheap high quality packages for consumers instantly.</p>
]]></description><pubDate>Fri, 03 Apr 2026 17:02:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=47629196</link><dc:creator>gpm</dc:creator><comments>https://news.ycombinator.com/item?id=47629196</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47629196</guid></item></channel></rss>