<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: foldr</title><link>https://news.ycombinator.com/user?id=foldr</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 01 Aug 2026 12:05:20 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=foldr" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by foldr in "An Uncomplicated Man – A review of The Odyssey, directed by Christopher Nolan"]]></title><description><![CDATA[
<p>Right, that was my understanding, but it seems inconsistent with what I quoted from the review.</p>
]]></description><pubDate>Sat, 01 Aug 2026 08:57:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=49132520</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=49132520</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49132520</guid></item><item><title><![CDATA[New comment by foldr in "Golang proposal: container/: generic collection types"]]></title><description><![CDATA[
<p>It’s the same principle as accessibility. We are all poor programmers sometimes, just as we are all impaired in various ways at times even if we don’t have a disability.</p>
]]></description><pubDate>Sat, 01 Aug 2026 08:51:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=49132481</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=49132481</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49132481</guid></item><item><title><![CDATA[New comment by foldr in "Zig's Incremental Compilation Internals"]]></title><description><![CDATA[
<p>You can easily use arena allocation in a GCed language. With modern GCs there's not usually much performance benefit, so it tends to be limited to hot paths.</p>
]]></description><pubDate>Wed, 29 Jul 2026 09:16:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=49095069</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=49095069</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49095069</guid></item><item><title><![CDATA[New comment by foldr in "An Uncomplicated Man – A review of The Odyssey, directed by Christopher Nolan"]]></title><description><![CDATA[
<p>> The Homeric epic was already an adaptation. The poem used a relatively new technology – the written alphabet – to rework existing mythical traditions [...]<p>Can someone explain this one? I understand that 'The Odyssey' as a canonical work of literature can't predate the alphabet. But what she writes here makes it sound as if the written poem is just a loose adaptation of existing mythical traditions. I thought the consensus was that the poem had existed in a reasonably fixed form as part of an oral tradition prior to being written down (and that this is why it contains various features making it easier to memorize).</p>
]]></description><pubDate>Tue, 28 Jul 2026 10:19:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=49081778</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=49081778</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49081778</guid></item><item><title><![CDATA[New comment by foldr in "Claude Code uses Bun written in Rust now"]]></title><description><![CDATA[
<p>You're right that I haven't spent much time thinking about why a project that I'm not involved with, and that is of only moderate general importance, has decided to switch from one programming language to another. Anyone who's convinced themselves that this is all part of some elaborate scheme is almost certainly overthinking it.</p>
]]></description><pubDate>Mon, 20 Jul 2026 23:44:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=48986340</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48986340</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48986340</guid></item><item><title><![CDATA[New comment by foldr in "Claude Code uses Bun written in Rust now"]]></title><description><![CDATA[
<p>The simplest explanation is that the Bun team decided to try rewriting Bun in Rust because they had some frustrations with Zig. I haven't seen any evidence that there's more to it than that. It's easy to get sucked into all the internet drama, but that only exists because Zig's author lost his cool and wrote a salty blog post, not because of any conniving on Athropic's part.</p>
]]></description><pubDate>Mon, 20 Jul 2026 14:56:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=48979753</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48979753</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48979753</guid></item><item><title><![CDATA[New comment by foldr in "Claude Code uses Bun written in Rust now"]]></title><description><![CDATA[
<p>Is anyone else failing to understand all the internet drama surrounding this?<p>The rewrite may work out on a technical level or it may not. Let's wait and see. The Bun project did not swear a blood oath to use Zig forever, and it's ultimately their choice to switch to a different programming language.<p>Beyond that, people seem to be incredibly emotionally involved with this, for reasons that entirely escape me.</p>
]]></description><pubDate>Mon, 20 Jul 2026 12:15:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=48977728</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48977728</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48977728</guid></item><item><title><![CDATA[New comment by foldr in "WTF: UK Police Tell Citizens to Run, Hide, and Hope [video]"]]></title><description><![CDATA[
<p>Even in Freedomland most people don't carry firearms. What else are you realistically going to do if someone has a gun except run or hide? This seems like a total non-story. Especially in a country with ~30 firearms homicides per year (which is about 1% of the per capita rate in the US).</p>
]]></description><pubDate>Sat, 18 Jul 2026 19:42:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48961548</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48961548</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48961548</guid></item><item><title><![CDATA[New comment by foldr in "How I use HTMX with Go"]]></title><description><![CDATA[
<p>That’s interesting, thanks. I agree that with all those extra protections enabled, there is no security issue.</p>
]]></description><pubDate>Wed, 15 Jul 2026 18:50:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48925387</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48925387</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48925387</guid></item><item><title><![CDATA[New comment by foldr in "How I use HTMX with Go"]]></title><description><![CDATA[
<p>Will it not need unsafe-eval, though? It still creates the potential for HTML injection to lead to execution of untrusted code. Execution of untrusted code is the real issue, regardless of exactly how that code ends up being evaluated and executed. Even if Hyperscript were to have its own interpreter (so that it didn't even need unsafe-eval), you'd still have the same fundamental vulnerability (unless you add nonces, or some such).<p>>the risk from Hyperscript is not greater than any other JavaScript in the application.<p>This is not really the case. If all of your client-side code is loaded via <script src="..."> tags from bundles on your server, and you have a CSP that blocks unsafe-eval or unsafe-inline, then you have a pretty good barrier against execution of untrusted code on your page.</p>
]]></description><pubDate>Wed, 15 Jul 2026 14:53:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=48921780</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48921780</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48921780</guid></item><item><title><![CDATA[New comment by foldr in "How I use HTMX with Go"]]></title><description><![CDATA[
<p>This is a pretty good argument in the case of software written by a small team of experienced engineers. In that scenario, if the engineers don't have the nous to avoid the kinds of HTML injection vulnerabilities that might allow an attacker to inject their own JS code, then, as you say, they are probably also making lots of other mistakes.<p>A CSP is more valuable in a larger organization, where the codebase is always at risk of being modified by the organization's worst engineer.</p>
]]></description><pubDate>Wed, 15 Jul 2026 10:27:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=48918681</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48918681</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48918681</guid></item><item><title><![CDATA[New comment by foldr in "How I use HTMX with Go"]]></title><description><![CDATA[
<p>It means that you have to use a less strict Content-Security-Policy, which increases your vulnerability to various client-side JS attacks.</p>
]]></description><pubDate>Wed, 15 Jul 2026 09:16:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=48918201</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48918201</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48918201</guid></item><item><title><![CDATA[New comment by foldr in "C++20 Improved the For-Loop Syntax"]]></title><description><![CDATA[
<p>>do you see any reason that std::optional<uint8_t> max; couldn't just be a regular uint8_t?<p>It's so that<p><pre><code>    if (max)
</code></pre>
is truthy iff max has been assigned (including the case where it's been assigned zero).<p>I don't know if it's possible for max to be assigned zero in this specific context, or what the correct behavior is if max==0. However, the good thing about this code is that it clearly communicates that the intended check is 'has been assigned to' rather than 'is nonzero'.<p>The function, for reference:<p><pre><code>    void WasmShuffleAnalyzer::TryReduceFromMSB(OpIndex input,
                                               const Simd128ShuffleOp& shuffle,
                                               uint8_t lower_limit,
                                               uint8_t upper_limit) {
      DemandedBytes demanded = GetDemandedBytes(&shuffle);
      std::optional<uint8_t> max = {};
      for (unsigned i = 0; i < demanded.bytes(); ++i) {
        uint8_t index = shuffle.shuffle[i];
        if (index >= lower_limit && index <= upper_limit) {
          max = std::max(static_cast<uint8_t>(index % kSimd128Size),
                         max.value_or(uint8_t{0}));
        }
      }
      if (max) {
        // input can be reduced.
        TRACE("Can reduce Op %d based upon max used index: %d\n", input.id(),
              max.value());
        demanded_byte_analysis_.Add(
            input, DemandedBytes::LowFromMaxShuffleIndex(max.value()));
      }
    }</code></pre></p>
]]></description><pubDate>Wed, 15 Jul 2026 08:01:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=48917643</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48917643</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48917643</guid></item><item><title><![CDATA[New comment by foldr in "Count Binface"]]></title><description><![CDATA[
<p>He can make that case to the investigating committee. If Farage finds that inconvenient then, well, the easiest way for him to avoid such scrutiny in future is to declare any large amounts of money  he receives. Not that difficult, and surely in the public interest to do so.<p>The standards committee has not yet made any ruling. It would be one thing for Farage to object to a specific ruling by the committee, but to object to the entire concept of a large undeclared personal gift being investigated simply shows a contempt for Parliament.</p>
]]></description><pubDate>Mon, 13 Jul 2026 12:07:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=48891445</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48891445</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48891445</guid></item><item><title><![CDATA[New comment by foldr in "Count Binface"]]></title><description><![CDATA[
<p>Investigating Farage for failing to declare donations and gifts is neither “lawfare” nor a plausible means of removing him as an MP. It’s just the Parliamentary Standards Comittee doing its job. No legal penalty is on the cards. The worst the committee can do (and they might not even do it) is make him fight another by election,  at which point the decision as to whether or not he remains an MP is entirely up to voters in his constituency. Odds are that Farage would win again, so if this is all part of a grand scheme to oust him, it’s a pretty stupid scheme.<p>Currently, the person working hardest to ensure that Farage ceases to be an MP is Farage himself, having made the strategic error of trying to pre-empt what he presumes to be the eventual outcome of the committee investigation by calling this farcical by election.</p>
]]></description><pubDate>Mon, 13 Jul 2026 12:02:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=48891380</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48891380</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48891380</guid></item><item><title><![CDATA[New comment by foldr in "Under federal rule, colleges must leave grads better off or lose financial aid"]]></title><description><![CDATA[
<p>I agree. However, as it's clear that OP is not an AAVE speaker writing a comment in AAVE (<a href="https://news.ycombinator.com/item?id=48880115">https://news.ycombinator.com/item?id=48880115</a>), I thought you were being somewhat facetious.</p>
]]></description><pubDate>Mon, 13 Jul 2026 09:12:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=48889850</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48889850</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48889850</guid></item><item><title><![CDATA[New comment by foldr in "Count Binface"]]></title><description><![CDATA[
<p>The system has proved to be quite dynamic, really. The electorate have had real choices over the past 10-15 years. Stay in the EU or don’t. Elect a genuine socialist or a centre-right conservative as Prime Minister. And unpopular or incompetent Prime Ministers have been removed quite promptly.<p>It’s time to get rid of FPTP, but the real problem seems to be that people just keep voting for the wrong policies.</p>
]]></description><pubDate>Mon, 13 Jul 2026 07:18:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=48889022</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48889022</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48889022</guid></item><item><title><![CDATA[New comment by foldr in "Under federal rule, colleges must leave grads better off or lose financial aid"]]></title><description><![CDATA[
<p>Sure, but they also teach you to use SAE in contexts where that's expected (like most written work).</p>
]]></description><pubDate>Sun, 12 Jul 2026 11:35:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=48880301</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48880301</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48880301</guid></item><item><title><![CDATA[New comment by foldr in "Apple sues OpenAI, accuses ex-employees of stealing trade secrets"]]></title><description><![CDATA[
<p>A does unethical things to B, therefore I can do unethical things to A.<p>This clearly doesn't work as an argument if A and B are people. Seems like classic 'two wrongs make a right' reasoning.</p>
]]></description><pubDate>Sun, 12 Jul 2026 10:14:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=48879904</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48879904</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48879904</guid></item><item><title><![CDATA[New comment by foldr in "Apple sues OpenAI, accuses ex-employees of stealing trade secrets"]]></title><description><![CDATA[
<p>This is obviously true to a large extent, but it is also weirdly necessary to explain basic ethical precepts to a surprisingly large number of otherwise well-educated people. Believe it or not, a significant number of people simple don’t know that it’s unethical to, e.g. exfiltrate code or data from a former employer. Making it clear that this is an ethical line may have some value.</p>
]]></description><pubDate>Sat, 11 Jul 2026 14:28:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=48872365</link><dc:creator>foldr</dc:creator><comments>https://news.ycombinator.com/item?id=48872365</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48872365</guid></item></channel></rss>