<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: listeria</title><link>https://news.ycombinator.com/user?id=listeria</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 18 Nov 2026 20:23:41 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=listeria" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by listeria in "Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache"]]></title><description><![CDATA[
<p>Depends on how the CacheEntry is stored, it's probably stored in a slice of &[CacheEntry] which precludes storing the record data alongside it as the size of each entry must be fixed.</p>
]]></description><pubDate>Thu, 27 Aug 2026 18:53:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=49469523</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=49469523</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49469523</guid></item><item><title><![CDATA[New comment by listeria in "Using GCC's Nested Functions with Wide Pointers and No Trampolines II"]]></title><description><![CDATA[
<p>Well, if you're already using qsort_r, what's the point of using nested functions, if you can have a context pointer with the target?<p>And if you're not using qsort_r, but reaching for _Thread_local, the target can be _Thread_local instead of dsq.</p>
]]></description><pubDate>Sat, 15 Aug 2026 15:08:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=49311228</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=49311228</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49311228</guid></item><item><title><![CDATA[New comment by listeria in "How to corrupt an SQLite database file"]]></title><description><![CDATA[
<p>killing a process which is using SQLite shouldn't corrupt the database, same as pulling the plug.</p>
]]></description><pubDate>Tue, 30 Jun 2026 13:43:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=48732669</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=48732669</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48732669</guid></item><item><title><![CDATA[New comment by listeria in "Zig's new bitCast semantics and LLVM back end improvements"]]></title><description><![CDATA[
<p>When I first found out about bit fields in C, I was left wondering what the order of bits was in a byte, eventually I convinced myself it doesn't matter, since the byte is the smallest I/O unit, and lived with the fact that casting between bitfields and bytes was UB (or unspecified, I can't remember), and as such, was another thing I wasn't suppossed to do when writing C.<p>All this to say that Zig just keeps cleaning up and giving well-defined semantics to warts I learned to live with in C.</p>
]]></description><pubDate>Fri, 26 Jun 2026 16:42:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=48688729</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=48688729</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48688729</guid></item><item><title><![CDATA[New comment by listeria in "The 29th International Obfuscated C Code Contest (IOCCC) 2025 Winners"]]></title><description><![CDATA[
<p>(1) fails for negative numbers<p>(2) fails for (x % 32 in [1, 2]) due to UB<p>(3) fails for x == 2<p>(4) crashes for x == 0<p>(5) is the same polynomial, only factorized<p>(6) always returns 0<p>(7) is the same polynomail reordered<p>But this works for any value of x:<p><pre><code>  x<2==2-x
</code></pre>
or for something shorter:<p><pre><code>  x<3&x>0
</code></pre>
but that's not bery obfuscated</p>
]]></description><pubDate>Sun, 07 Jun 2026 14:33:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48435235</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=48435235</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48435235</guid></item><item><title><![CDATA[New comment by listeria in "You can beat the binary search"]]></title><description><![CDATA[
<p>This reminds me of two excellent articles[1][2] by Paul Khuong, in which he talks about using size-specialized binary search for power-of-two sized arrays (special-casing the first iteration for other sizes).<p>He uses conditional moves and defines the number of iterations in advance to ellide the often mispredicted branch, and in the second article goes on to fix cache aliasing issues for large vectors using ternary search.<p>[1]: <a href="https://pvk.ca/Blog/2012/07/03/binary-search-star-eliminates-star-branch-mispredictions/" rel="nofollow">https://pvk.ca/Blog/2012/07/03/binary-search-star-eliminates...</a><p>[2]: <a href="https://pvk.ca/Blog/2012/07/30/binary-search-is-a-pathological-case-for-caches/" rel="nofollow">https://pvk.ca/Blog/2012/07/30/binary-search-is-a-pathologic...</a></p>
]]></description><pubDate>Fri, 01 May 2026 14:17:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=47975080</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=47975080</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47975080</guid></item><item><title><![CDATA[New comment by listeria in "Relicensing with AI-Assisted Rewrite"]]></title><description><![CDATA[
<p>Apparently there was some talk a few years ago about adding the project to the python standard library[1] and the maintainer seems really[2] interested[3] in that.<p>But I don't think the standard library maintainers would want to incorporate it considering the way in which the relicensing took place, the controversy, and the implications on software licences in general. So his motivations for the license change seem moot. I certainly wouldn't touch it with a 10-foot pole.<p>[1]: <a href="https://github.com/chardet/chardet/issues/36#issuecomment-766426747" rel="nofollow">https://github.com/chardet/chardet/issues/36#issuecomment-76...</a>
[2]: <a href="https://github.com/chardet/chardet/issues/327#issuecomment-4005324385" rel="nofollow">https://github.com/chardet/chardet/issues/327#issuecomment-4...</a>
[3]: <a href="https://github.com/chardet/chardet/issues/327#issuecomment-4006569552" rel="nofollow">https://github.com/chardet/chardet/issues/327#issuecomment-4...</a></p>
]]></description><pubDate>Fri, 06 Mar 2026 04:00:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=47270705</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=47270705</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47270705</guid></item><item><title><![CDATA[New comment by listeria in "Meta’s AI smart glasses and data privacy concerns"]]></title><description><![CDATA[
<p>Have you tried bringing it up with HR? If you explain why you try to avoid her while she's wearing them, they might ask her to stop wearing them to work.<p>Meta's own guidelines[1] say that you should "Power off in private spaces."<p>You can't always tell if you're being recorded since they can be tampered with to disable the LED. And from what I gather, the LED only serves to indicate of video recording, and not necessarily audio.<p>[1]: <a href="https://www.meta.com/ai-glasses/privacy/" rel="nofollow">https://www.meta.com/ai-glasses/privacy/</a></p>
]]></description><pubDate>Tue, 03 Mar 2026 15:30:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47233870</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=47233870</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47233870</guid></item><item><title><![CDATA[New comment by listeria in "Layoffs at Block"]]></title><description><![CDATA[
<p>But the definition of economically active differs between the two: Finland includes people from ages 15-89, while in Spain you need to be 16 or older. And judging from what I read the rise in unemployment in Finland is attributed to more people entering the workforce.</p>
]]></description><pubDate>Fri, 27 Feb 2026 15:30:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47181681</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=47181681</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47181681</guid></item><item><title><![CDATA[New comment by listeria in "Why is the sky blue?"]]></title><description><![CDATA[
<p>If you look at the solar radiation spectrum chart in the section "Why isn’t the sky violet?", you can see that sunlight is not evenly distributed along the visible spectrum--it emit more blue than red, and at sea level it's closer to evenly distributed. So the light that reaches the clouds is still mostly white light.</p>
]]></description><pubDate>Wed, 11 Feb 2026 01:43:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=46969707</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=46969707</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46969707</guid></item><item><title><![CDATA[New comment by listeria in "Start all of your commands with a comma (2009)"]]></title><description><![CDATA[
<p>Global aliases are a zsh feature and not avaliable in bash. So if you want:<p><pre><code>  openssl ,v</code></pre>
to expand to...<p><pre><code>  openssl --version</code></pre>
readline seems like the way to go.<p>Then again most of the examples OP gave are usually available as short options, and aliasing ,s to sudo is certainly possible. So the only one which makes sense to me is ,,=$. But it's probably not worth the trouble to my muscle memory.</p>
]]></description><pubDate>Sat, 07 Feb 2026 15:17:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=46924522</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=46924522</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46924522</guid></item><item><title><![CDATA[New comment by listeria in "Doom has been ported to an earbud"]]></title><description><![CDATA[
<p>and risk having them interpret it as a declaration of war?</p>
]]></description><pubDate>Sun, 25 Jan 2026 18:01:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=46756387</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=46756387</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46756387</guid></item><item><title><![CDATA[New comment by listeria in "Banned C++ features in Chromium"]]></title><description><![CDATA[
<p>may I introduce you to the nodiscard attribute[1]?<p><pre><code>  enum (class)? [[nodiscard]] Error {
    Ok,
    NoMem,
    ...
  };
</code></pre>
[1]: <a href="https://en.cppreference.com/w/cpp/language/attributes/nodiscard.html" rel="nofollow">https://en.cppreference.com/w/cpp/language/attributes/nodisc...</a></p>
]]></description><pubDate>Sat, 24 Jan 2026 16:57:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=46745197</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=46745197</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46745197</guid></item><item><title><![CDATA[New comment by listeria in "Just the Browser"]]></title><description><![CDATA[
<p>Firefox will read it if it exists[1]. You could use the /usr/lib/firefox/distribution directory (or whatever the installation directory may be), but that may be overwritten by an update.<p>There doesn't seem to be any way to set per-user group policies, so unless you're installing firefox in a user-controlled directory, it will require elevated privileges.<p>[1]: <a href="https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson" rel="nofollow">https://support.mozilla.org/en-US/kb/customizing-firefox-usi...</a></p>
]]></description><pubDate>Fri, 16 Jan 2026 18:39:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=46650163</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=46650163</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46650163</guid></item><item><title><![CDATA[New comment by listeria in "Nabokov's guide to foreigners learning Russian"]]></title><description><![CDATA[
<p>> The books were translated years ago anyway.<p>Translated books lack the nuance or tone of the originals, which you would be missing out of, and most of the time you don't even realise.</p>
]]></description><pubDate>Wed, 24 Dec 2025 15:53:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=46376603</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=46376603</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46376603</guid></item><item><title><![CDATA[New comment by listeria in "CLI tool to check the Git status of multiple projects"]]></title><description><![CDATA[
<p><p><pre><code>  sh: 1: [[: not found</code></pre></p>
]]></description><pubDate>Thu, 20 Nov 2025 14:37:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=45992980</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=45992980</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45992980</guid></item><item><title><![CDATA[New comment by listeria in "Rouille – Rust Programming, in French"]]></title><description><![CDATA[
<p>That's all well and good, except the README clearly states:<p>> rústico (Spanish for Rust)<p>which is plain wrong.</p>
]]></description><pubDate>Fri, 31 Oct 2025 16:17:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=45773765</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=45773765</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45773765</guid></item><item><title><![CDATA[New comment by listeria in "Rouille – Rust Programming, in French"]]></title><description><![CDATA[
<p>I was immediately put off by the Spanish version when I saw it was called "rústico", which does not translate to rust at all, it means rustic. The Spanish word for rust would be "óxido".</p>
]]></description><pubDate>Fri, 31 Oct 2025 14:57:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=45772673</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=45772673</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45772673</guid></item><item><title><![CDATA[New comment by listeria in "US declines to join more than 70 countries in signing UN cybercrime treaty"]]></title><description><![CDATA[
<p>you can see at the top of the page it says:<p><pre><code>  STATUS AS AT : 30-10-2025 09:16:00 EDT
</code></pre>
and the date of the signature says 25 Oct 2025.</p>
]]></description><pubDate>Thu, 30 Oct 2025 16:05:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=45761555</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=45761555</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45761555</guid></item><item><title><![CDATA[New comment by listeria in "US declines to join more than 70 countries in signing UN cybercrime treaty"]]></title><description><![CDATA[
<p>full list of signatories: <a href="https://treaties.un.org/Pages/ViewDetails.aspx?src=TREATY&mtdsg_no=XVIII-16&chapter=18&clang=_en" rel="nofollow">https://treaties.un.org/Pages/ViewDetails.aspx?src=TREATY&mt...</a></p>
]]></description><pubDate>Thu, 30 Oct 2025 15:36:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=45761200</link><dc:creator>listeria</dc:creator><comments>https://news.ycombinator.com/item?id=45761200</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45761200</guid></item></channel></rss>