<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: jemfinch</title><link>https://news.ycombinator.com/user?id=jemfinch</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 28 Apr 2026 08:23:04 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=jemfinch" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by jemfinch in "What async promised and what it delivered"]]></title><description><![CDATA[
<p>I regularly spawn several thousands of threads in the C++ servers I write, and they perform well.  At least 40% of FAANG companies just reduce the size of their per-thread stacks.  "Thread per-connection" works just fine, and when you need to go faster, thread pools work even better without coloring all your functions.<p>There is an <i>extremely</i> small set of domains where simple threading doesn't suffice, and async/await is too high a price to pay across the entire software ecosystem just to slightly optimize those domains.</p>
]]></description><pubDate>Sun, 26 Apr 2026 04:54:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=47907485</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=47907485</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47907485</guid></item><item><title><![CDATA[New comment by jemfinch in "What async promised and what it delivered"]]></title><description><![CDATA[
<p>> OS threads are expensive: an operating system thread typically reserves a megabyte of stack space and takes roughly a millisecond to create.<p>It's typically less than a hundred kilobytes and (on the systems I've benchmarked using std::thread) it takes 60usec (wall time in userspace) to create and destroy a thread.<p>Threads have gotten so fast that paying the async function coloring price makes very little sense for most software.</p>
]]></description><pubDate>Sun, 26 Apr 2026 03:01:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47906867</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=47906867</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47906867</guid></item><item><title><![CDATA[New comment by jemfinch in "Vouch"]]></title><description><![CDATA[
<p>Is this the return of Advogato?</p>
]]></description><pubDate>Sun, 08 Feb 2026 06:39:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=46931867</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=46931867</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46931867</guid></item><item><title><![CDATA[New comment by jemfinch in "Assorted less(1) tips"]]></title><description><![CDATA[
<p>My biggest problem with less(1) is that the regex engine is unreasonably slow.  When processing large files, I frequently need to search with grep (or more recently, rip-grep) with large -A/-B buffers, and then pipe <i>that</i> through less, because the regex engine in less won't find what I want on any reasonable time scale.</p>
]]></description><pubDate>Sat, 03 Jan 2026 15:56:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=46478068</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=46478068</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46478068</guid></item><item><title><![CDATA[New comment by jemfinch in "We Politely Insist: Your LLM Must Learn the Persian Art of Taarof"]]></title><description><![CDATA[
<p>This sounds remarkably similar to the (western) Catholic theological concept of "mental reservation" (<a href="https://en.wikipedia.org/wiki/Mental_reservation" rel="nofollow">https://en.wikipedia.org/wiki/Mental_reservation</a>).</p>
]]></description><pubDate>Mon, 22 Sep 2025 12:19:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=45332395</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=45332395</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45332395</guid></item><item><title><![CDATA[New comment by jemfinch in "The elegance of movement in Silksong"]]></title><description><![CDATA[
<p>It is most definitely not an overstatement.  I have over 425 hours in Hollow Knight.  I stopped playing Silksong in 8 because it felt like unfun masochism.</p>
]]></description><pubDate>Mon, 08 Sep 2025 23:02:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=45175256</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=45175256</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45175256</guid></item><item><title><![CDATA[New comment by jemfinch in "The Polymarket users betting on when Jesus will return"]]></title><description><![CDATA[
<p>This contradicts the most common view of Christians throughout history, especially since the simplest reading of Romans 1 expresses exactly the opposite view: "Ever since the creation of the world his invisible nature, namely, his eternal power and deity, has been clearly perceived in the things that have been made. So they are without excuse."</p>
]]></description><pubDate>Thu, 29 May 2025 22:15:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=44130913</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=44130913</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44130913</guid></item><item><title><![CDATA[New comment by jemfinch in "The Polymarket users betting on when Jesus will return"]]></title><description><![CDATA[
<p>> Many times I've asked that I'm told "he was 100% human and also 100% God."<p>Does this surprise you?  The council of Nicea where this was defined as the orthodox claim happened in A.D. 325.<p>> I'm sure different sects believe differently on that, but plenty do accept that. When I ask "how is it possible to be 100% human and 100% God?" you'll sometimes get answers like, "well it's like water in different for<p>The _vast majority_ hold that, because the vast majority affirm Nicea.  The only major denominations not holding to the orthodoxy here are (in descending order of size) Latter Day Saints (Mormons), Oneness Pentecostals, Jehovah's Witnesses, Unitarians, and Christadelphians.  They represent approximately 1.6-2.4% of the Christian population.<p>> you'll sometimes get answers like, "well it's like water in different forms, ice, liquid, and vapor" but that doesn't answer the question<p>The real (orthodox) answer depends on a metaphysics of substance that most Christians, even those who hold the orthodox view, are ill-prepared to elaborate on.</p>
]]></description><pubDate>Thu, 29 May 2025 21:49:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=44130732</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=44130732</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44130732</guid></item><item><title><![CDATA[New comment by jemfinch in "We hacked Gemini's Python sandbox and leaked its source code (at least some)"]]></title><description><![CDATA[
<p>grte is probably "google runtime environment", I would imagine.</p>
]]></description><pubDate>Fri, 28 Mar 2025 22:57:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=43510783</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=43510783</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43510783</guid></item><item><title><![CDATA[New comment by jemfinch in "Before NATO goes away, A website to spell anything using NATO phonetic Alphabet"]]></title><description><![CDATA[
<p>My experience has been the opposite.  The number of customer service representatives I speak with that simply <i>can't comprehend</i> the NATO phonetic alphabet never ceases to surprise me, somehow.  More than half the time I'm nearly finished with my last name ("foxtrot india november charlie hotel...") when my interlocutor just says "whoa whoa whoa, what?" and I have to fall back to the annoyingly slow and frustrating "eff as in foxtrot..." form while effortfully disguising my palpable disappointment.  It's just one more way for humanity to disappoint me.</p>
]]></description><pubDate>Thu, 20 Feb 2025 02:50:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=43110532</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=43110532</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43110532</guid></item><item><title><![CDATA[New comment by jemfinch in "Is the Q source the origin of the Gospels?"]]></title><description><![CDATA[
<p>"Synoptic" is simply the adjectival form of "synopsis": Matthew, Mark, and Luke all strive to give a synopsis of Jesus' life, organized primarily around a chronological retelling of his approximately three-year ministry.  Matthew and Luke include details of his birth and genealogy.<p>John, on the other hand, is organized around theological and moral themes, rather than the totality of Jesus' ministry and teachings.  That's why it's not considered a synoptic gospel.</p>
]]></description><pubDate>Mon, 04 Nov 2024 14:07:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=42041634</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=42041634</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42041634</guid></item><item><title><![CDATA[New comment by jemfinch in "Kernighan's Lever (2012)"]]></title><description><![CDATA[
<p>What don't they like about it?</p>
]]></description><pubDate>Tue, 08 Oct 2024 17:44:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=41779871</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=41779871</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41779871</guid></item><item><title><![CDATA[New comment by jemfinch in "Pro bettors disguising themselves as gambling addicts"]]></title><description><![CDATA[
<p>But <i>how much</i> would you bet?</p>
]]></description><pubDate>Wed, 02 Oct 2024 15:30:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=41721653</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=41721653</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41721653</guid></item><item><title><![CDATA[New comment by jemfinch in "Relativistic Spaceship"]]></title><description><![CDATA[
<p>It's impossible for your fact and the fact you're replying to both be true.  Water is denser than butter, and the nearest star to the sun is about 4.3ly away; if your fact were true, the universe would be a black hole.<p>A cubic lightyear is about 8.468e+50 liters, and butter weighs 911 g/L, giving the mass of a cubic lightyear of butter to be 7.714348e+50, whose Schwarzchild radius is about 121,103,293 lightyears, about 100x smaller than the radius of the known universe.</p>
]]></description><pubDate>Tue, 06 Feb 2024 05:43:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=39271184</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=39271184</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39271184</guid></item><item><title><![CDATA[New comment by jemfinch in "Show HN: Integer Map Data Structure"]]></title><description><![CDATA[
<p>I've written a lot of high performance/scale C++ code using a lot of data structures over the years, and ordered iteration has been very rarely needed; unordered data structures still rule the day in performance the vast majority of the time, and their lower constant factors very frequently outperform more specialized data structures.  They're absolutely worth benchmarking against if the goal is actual uptake in the actual world.<p>In my experience, practically every single time I've used absl::btree_map, I've ended up reverting for performance reasons to either a flat hash map or, in some relatively rare cases, a sorted vector map (despite its O(n) insert/erase) because the constant factors are _so doggone low_.  The experience remains: btree_map (or SkipLists, or whatever) has (in my experience) essentially <i>never</i>, in over a half million lines of C++, actually remained in the code.<p>Also, I presume (based on the implementation details, not based on actual use) that roaring bitmaps have some reasonable iteration API that would make them relevant even to the ordered comparison.<p>The important thing here is that if anyone wants to contend that someone should use their new data structure because it's better or faster or more optimal for some particular use case, it's important for them to demonstrate that they've <i>thoroughly investigated</i> the data structure space around their proposal.  Comparison against std::map and std::unordered_map simply doesn't demonstrate the kind of comprehensive knowledge that I would expect from someone who claims that I should use their optimized integer map in my own code.</p>
]]></description><pubDate>Thu, 25 Jan 2024 08:27:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=39127435</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=39127435</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39127435</guid></item><item><title><![CDATA[New comment by jemfinch in "Show HN: Integer Map Data Structure"]]></title><description><![CDATA[
<p>This really doesn't seem to be comparing to comparable data structures.  For int map specializations like this, the optimized alternatives are things like Judy (which is looking quite aged these days) or roaring bitmaps, not to mention that any C++ developer using "ordinary" maps will be using absl's SwissTable (flat_hash_map) or folly's F14 (F14FastMap) or perhaps absl::btree_map if order is important.  Comparisons to std::map and std::unordered_map are simply too naive to make the case for this data structure.</p>
]]></description><pubDate>Thu, 25 Jan 2024 06:08:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=39126691</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=39126691</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39126691</guid></item><item><title><![CDATA[New comment by jemfinch in "LA Sheriff Still Has 429 Ford Crown Vics in Service Because It Stockpiled Them"]]></title><description><![CDATA[
<p>Why do you call it a "national security asset"?</p>
]]></description><pubDate>Thu, 14 Dec 2023 16:02:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=38642795</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=38642795</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38642795</guid></item><item><title><![CDATA[New comment by jemfinch in "Rust-Cache"]]></title><description><![CDATA[
<p>> Now we can make an assumption that the int it's a finite number say u32, this means we can construct a binary tree with a depth of 32 with access time of O(32) therefore O(1) time and space.<p>Heck, let's go even further.  All the computers I've used have a fixed amount of memory, addressable by a u64, so I guess all my algorithms are constant time now.<p>I guess we've solved the interview, folks.</p>
]]></description><pubDate>Sun, 03 Dec 2023 22:13:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=38511259</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=38511259</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38511259</guid></item><item><title><![CDATA[New comment by jemfinch in "Teddy Roosevelt pursues the boat thieves (2015)"]]></title><description><![CDATA[
<p>For what it's worth, the only state in the United States which agrees with your philosophy is Texas.  Every other state requires an imminent threat of death or grave bodily harm to justify the use of lethal force.  (And honestly, Texas only holds that position because of its huge size and ranching background, where cattle rustling stood a major risk to the state's economy.)</p>
]]></description><pubDate>Sun, 19 Nov 2023 17:32:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=38335087</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=38335087</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38335087</guid></item><item><title><![CDATA[New comment by jemfinch in "My favorite coding question to give candidates"]]></title><description><![CDATA[
<p>> I prefer to talk them through the problem together, like we were actual teammates working on a problem together.<p>If a colleague came to me to discuss a question this basic, I'd want them PIPed out.  This is <i>miles</i> from the complexity of problems that require collaboration.  It's a shell pipeline that I'd write with sort/uniq in less than five minutes.  I just did it to make sure my estimate wasn't wrong:<p><pre><code>    sort <(sort -u <(cut -d' ' -f1,2 /tmp/day1)  <(cut -d' ' -f1,2 /tmp/day2) | cut -d' ' -f1 | uniq -d) <(sort <(cut -d' ' -f1 /tmp/day1 | sort | uniq) <(cut -d' ' -f1 /tmp/day2 | sort | uniq) | uniq -d) | uniq -d
</code></pre>
Maintainable?  No.  Done iteratively in less than five minutes?  Yes.<p>If your perspective is that it's unrealistic to ask anyone to come up with an answer to this question on the spot, you should take a long, hard look at yourself and the quality of your colleagues.</p>
]]></description><pubDate>Tue, 14 Nov 2023 17:32:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=38266503</link><dc:creator>jemfinch</dc:creator><comments>https://news.ycombinator.com/item?id=38266503</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38266503</guid></item></channel></rss>