<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: gloria_mundi</title><link>https://news.ycombinator.com/user?id=gloria_mundi</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 30 May 2026 19:09:11 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=gloria_mundi" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by gloria_mundi in "On Rendering Diffs"]]></title><description><![CDATA[
<p>I don't understand the point of the inverse sticky technique. Scrolling too fast still breaks the experience (content refuses to scroll), and in a way that, at least to me, feels more disruptive than blanking for a fraction of a second. I might just be too used to blanking.<p>Also ... shouldn't browsers just be able to render the diff without any of the trickery? Is the browser's job actually that hard for long pages, or are they just not optimising for this? Or is there some other reason for the virtualisation (e.g. memory usage)?</p>
]]></description><pubDate>Sat, 30 May 2026 01:29:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=48331441</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=48331441</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48331441</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Show HN: Outperforming VByte for Large Integers Using Phi-Encoding"]]></title><description><![CDATA[
<p>I haven't read all of that, but the problem at hand seems significantly less complicated.<p>We're mapping the numbers from 1 to 1000 to distinct numbers up to 8258, and the README claims that we should expect 2.1% of the resulting numbers to be prime. I see no reason for this claim, and as I understand it, the 2.1% comes from pi(1000) / 8258, which seems like nonsense to me.</p>
]]></description><pubDate>Tue, 27 Aug 2024 17:43:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=41370442</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=41370442</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41370442</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Show HN: Outperforming VByte for Large Integers Using Phi-Encoding"]]></title><description><![CDATA[
<p>I'm not sure I understand the prime density thing. Of the numbers up to 8258, about 12.5% are prime. Accounting for the fact that about a quarter of these primes ends in 101, i.e. cannot occur, I would expect about 10.7% = 12.5% * (3/4) / (7/8), which is fairly close to the observed 9.4%.<p>The 2.1% in the README seems to be the density of primes < 1000 among numbers up to 8258. That's not what was counted.</p>
]]></description><pubDate>Tue, 27 Aug 2024 17:21:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=41370184</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=41370184</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41370184</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Functional languages should be so much better at mutation than they are"]]></title><description><![CDATA[
<p>Remember that transformers are "inside-out", i.e. `StateT (ExceptT e m) a` is isomorphic to `m (Except e (State a))`. If we want to keep state if an exception occurs, you need a `m (State (Except e a))` which is `ExceptT e (StateT m) a`.</p>
]]></description><pubDate>Wed, 31 Jul 2024 00:16:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=41115352</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=41115352</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41115352</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Functional languages should be so much better at mutation than they are"]]></title><description><![CDATA[
<p>Isn't mixing of effects exactly what monad transformers are for? AFAICT you want an `ExceptT e ST` for some exception type `e`.<p><a href="https://hackage.haskell.org/package/mtl-2.3.1/docs/Control-Monad-Except.html#g:2" rel="nofollow">https://hackage.haskell.org/package/mtl-2.3.1/docs/Control-M...</a></p>
]]></description><pubDate>Tue, 30 Jul 2024 22:20:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=41114698</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=41114698</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41114698</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Amber: Programming language compiled to Bash"]]></title><description><![CDATA[
<p>Both, since a transpiler is a type of compiler.</p>
]]></description><pubDate>Wed, 22 May 2024 13:54:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=40441060</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=40441060</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40441060</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Solving the minimum cut problem for undirected graphs"]]></title><description><![CDATA[
<p>Not actually all-pairs max flow, you can fix the source and consider all possible sinks. In the AoC problem we also know that the min-cut is 3, so we can abort the flow algorithm as soon as we have found a 4-flow.</p>
]]></description><pubDate>Thu, 18 Apr 2024 00:54:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=40071853</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=40071853</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40071853</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Show HN: Purl – A Simple Tool for Text Processing"]]></title><description><![CDATA[
<p>grep doesn't eat the colours, apt detects that it is not outputting to a TTY and suppresses the colours. Try `printf 'a \e[36mb\e[0m c\n' | grep a`, the colour is preserved just fine.<p>Some tools have an option to force coloured output regardless, e.g. GCC's `-fdiagnostics-color` or grep's own `--colour=always`, but apt doesn't seem to have anything like that.<p>In theory one could have a command in the style of nohup or stdbuf which sets up a PTY to trick the command into outputting colours. So one could run `fakepty apt search whatever | grep another` ...</p>
]]></description><pubDate>Sun, 14 Apr 2024 22:27:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=40035044</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=40035044</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40035044</guid></item><item><title><![CDATA[New comment by gloria_mundi in "British Placename Mapper"]]></title><description><![CDATA[
<p>Recently came across something similar for Germany, although less versatile: <a href="https://dfiuhsfdfiu.neocities.org/" rel="nofollow">https://dfiuhsfdfiu.neocities.org/</a></p>
]]></description><pubDate>Thu, 11 Apr 2024 00:07:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=39997031</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=39997031</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39997031</guid></item><item><title><![CDATA[New comment by gloria_mundi in "British Placename Mapper"]]></title><description><![CDATA[
<p>Some switch around the "s" and "sh" sounds, so it is pronounced roughly like "shtratsiatella". "st" at the beginning of a word is pronounced as "sht" in German.</p>
]]></description><pubDate>Wed, 10 Apr 2024 23:56:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=39996941</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=39996941</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39996941</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Decimal Time"]]></title><description><![CDATA[
<p>The International Fixed Calendar: <a href="https://en.wikipedia.org/wiki/International_Fixed_Calendar" rel="nofollow">https://en.wikipedia.org/wiki/International_Fixed_Calendar</a></p>
]]></description><pubDate>Mon, 15 Jan 2024 14:47:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=39001545</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=39001545</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39001545</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Nature: Programming language to experience the joy of programming"]]></title><description><![CDATA[
<p>It is, of course, still freely available if you plug the title into your favourite search engine.<p>From the US Defense Technical Information Center: <a href="https://apps.dtic.mil/sti/tr/pdf/AD0296046.pdf" rel="nofollow noreferrer">https://apps.dtic.mil/sti/tr/pdf/AD0296046.pdf</a><p>Also in the Internet Archive: <a href="https://archive.org/details/DTIC_AD0296046" rel="nofollow noreferrer">https://archive.org/details/DTIC_AD0296046</a><p>The mentioned quote is on page 22.</p>
]]></description><pubDate>Sat, 14 Oct 2023 01:04:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=37877194</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=37877194</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37877194</guid></item><item><title><![CDATA[New comment by gloria_mundi in "An INI Critique of TOML (2021)"]]></title><description><![CDATA[
<p>Unicode is useful for languages other than English, and has nothing to do with anyone's libido.</p>
]]></description><pubDate>Thu, 21 Sep 2023 20:44:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=37604033</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=37604033</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37604033</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Show HN: exaequOS - a new OS running in a web browser"]]></title><description><![CDATA[
<p>Note that there's also a /usr/bin, with complete GNU coreutils (or at least most of them), and vim.</p>
]]></description><pubDate>Sat, 16 Sep 2023 18:29:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=37537296</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=37537296</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37537296</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Carrefour puts ‘shrinkflation’ price warnings on food to shame brands"]]></title><description><![CDATA[
<p>They also got the conversion wrong: 1.5 liters is 0.4 gallons, not 0.3.</p>
]]></description><pubDate>Sat, 16 Sep 2023 16:49:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=37536418</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=37536418</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37536418</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Asteroid crater 520km in diameter buried in southeast Australia, scientists say"]]></title><description><![CDATA[
<p>Another related Trek episode - the one I expected you to link: VOY's "Distant Origin" - <a href="https://wikipedia.org/wiki/Distant_Origin" rel="nofollow noreferrer">https://wikipedia.org/wiki/Distant_Origin</a></p>
]]></description><pubDate>Thu, 17 Aug 2023 14:52:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=37162622</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=37162622</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37162622</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Why is DNS still hard to learn?"]]></title><description><![CDATA[
<p>There are 13 root name server addresses, but most (all?) of these use anycast, i.e. there are actually several servers with the same address, and your traffic will usually be routed to the one closest to you. There are over 1500 root name servers.<p><a href="https://wikipedia.org/wiki/Root_name_server" rel="nofollow noreferrer">https://wikipedia.org/wiki/Root_name_server</a></p>
]]></description><pubDate>Sat, 29 Jul 2023 03:41:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=36916636</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=36916636</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36916636</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Tor’s history of D/DoS attacks and future strategies for mitigation"]]></title><description><![CDATA[
<p>On the same site:<p>> Benefits of Tor over I2P<p>> ...<p>> - C, not Java (ewww)<p>It's a joke.</p>
]]></description><pubDate>Thu, 06 Jul 2023 22:43:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=36624287</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=36624287</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36624287</guid></item><item><title><![CDATA[New comment by gloria_mundi in "Dynamic programming in Haskell: automatic memoization"]]></title><description><![CDATA[
<p>> To be absolutely clear, the expressions `seq f (putStrLn "hello")` and `seq (f undefined) (putStrLn "hello")` should both not evaluate anything and cause the string hello to be printed rather than raising an exception.<p>This does actually work here, because the array is created lazily.<p>> This often occurs in cases where the above hypothetical function `f` requires an intermediate value that's expensive to compute but only relies on the first of its two arguments. Then do you evaluate that expensive intermediate with a partial application of a single argument, or do you not? Neither is satisfactory and so this problem is best avoided.<p>Computing the intermediate value with a partial application does not actually take away laziness, it only adds sharing. (At least it can be done this way.)</p>
]]></description><pubDate>Tue, 20 Jun 2023 08:21:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=36401114</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=36401114</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36401114</guid></item><item><title><![CDATA[New comment by gloria_mundi in "The EARN IT bill is back, seeking to scan our messages and photos"]]></title><description><![CDATA[
<p>That's just how government works in general though. [0]<p>"Why is someone privileged to arrest me but I can't keep them locked up in my house?"<p>[0] <a href="https://en.wikipedia.org/wiki/Monopoly_on_violence" rel="nofollow">https://en.wikipedia.org/wiki/Monopoly_on_violence</a></p>
]]></description><pubDate>Sat, 22 Apr 2023 04:31:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=35663348</link><dc:creator>gloria_mundi</dc:creator><comments>https://news.ycombinator.com/item?id=35663348</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35663348</guid></item></channel></rss>