<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: jtregunna</title><link>https://news.ycombinator.com/user?id=jtregunna</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 07 Apr 2026 07:39:18 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=jtregunna" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by jtregunna in "Disks Lie: Building a WAL that actually survives"]]></title><description><![CDATA[
<p>In what sense? The phrasing is just a generalization, production-grade anything needs consideration of the needs and goals of the project.</p>
]]></description><pubDate>Fri, 12 Dec 2025 15:23:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=46244966</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=46244966</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46244966</guid></item><item><title><![CDATA[New comment by jtregunna in "Disks Lie: Building a WAL that actually survives"]]></title><description><![CDATA[
<p>Right, you do need to fsync when creating new files to ensure the directory entry is durable. However, WAL files are typically created once and then appended to for their lifetime, so the directory fsync is only needed at file creation time, not during normal operations.</p>
]]></description><pubDate>Fri, 12 Dec 2025 13:37:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=46243996</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=46243996</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46243996</guid></item><item><title><![CDATA[Disks Lie: Building a WAL that actually survives]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.canoozie.net/disks-lie-building-a-wal-that-actually-survives/">https://blog.canoozie.net/disks-lie-building-a-wal-that-actually-survives/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=46239726">https://news.ycombinator.com/item?id=46239726</a></p>
<p>Points: 49</p>
<p># Comments: 50</p>
]]></description><pubDate>Fri, 12 Dec 2025 01:16:49 +0000</pubDate><link>https://blog.canoozie.net/disks-lie-building-a-wal-that-actually-survives/</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=46239726</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46239726</guid></item><item><title><![CDATA[A delightfully silly database that lives in CPU cache]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.canoozie.net/when-your-database-lives-in-cpu-cache-because-why-not/">https://blog.canoozie.net/when-your-database-lives-in-cpu-cache-because-why-not/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=44753734">https://news.ycombinator.com/item?id=44753734</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 01 Aug 2025 06:52:29 +0000</pubDate><link>https://blog.canoozie.net/when-your-database-lives-in-cpu-cache-because-why-not/</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=44753734</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44753734</guid></item><item><title><![CDATA[New comment by jtregunna in "Async I/O on Linux in databases"]]></title><description><![CDATA[
<p>Update:<p>I updated the post based on the conversation below, I wholly missed an important callout about performance, and wasn't super clear that you do need to wait for the completion record to be written before responding to the client. That was implicitly mentioned by writing the completion record coming before responding, but I made it clearer to avoid confusion.<p>Also the dual WAL approach is worse for latency, unless you can amortize the double write over multiple async writes, so the cost paid amortizes across the batch, but when batch size is closer to 1, the cost is higher.</p>
]]></description><pubDate>Sun, 20 Jul 2025 15:51:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=44626355</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=44626355</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44626355</guid></item><item><title><![CDATA[New comment by jtregunna in "Async I/O on Linux in databases"]]></title><description><![CDATA[
<p>Post talks about how to use io_uring, in the context of building a "database" (a demonstration key-value cache with a write-ahead log), to maintain durability.</p>
]]></description><pubDate>Sun, 20 Jul 2025 06:20:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=44622455</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=44622455</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44622455</guid></item><item><title><![CDATA[Async I/O on Linux in databases]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.canoozie.net/async-i-o-on-linux-and-durability/">https://blog.canoozie.net/async-i-o-on-linux-and-durability/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=44622454">https://news.ycombinator.com/item?id=44622454</a></p>
<p>Points: 205</p>
<p># Comments: 94</p>
]]></description><pubDate>Sun, 20 Jul 2025 06:20:02 +0000</pubDate><link>https://blog.canoozie.net/async-i-o-on-linux-and-durability/</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=44622454</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44622454</guid></item><item><title><![CDATA[New comment by jtregunna in "US Lawmakers Urge Canada to Snub China's Huawei in Telecoms"]]></title><description><![CDATA[
<p>Actually, this is exactly why Canada should be looking for other markets. The US has clearly indicated to us that we can no longer rely on them for trade. It's long overdue, but now is the time we need to act in reducing our dependence on the US, since clearly one dumbass can impact our economy in ways that one dumbass shouldn't be able to.</p>
]]></description><pubDate>Tue, 16 Oct 2018 16:29:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=18230697</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18230697</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18230697</guid></item><item><title><![CDATA[New comment by jtregunna in "US Lawmakers Urge Canada to Snub China's Huawei in Telecoms"]]></title><description><![CDATA[
<p>> Secret courts are a shame. Secret directives, on the other hand, can be compatible with the rule of law and an independent judiciary, provided they're lawfully authorized and can be challenged in a court.<p>I presume you also forgot to add this before challenged in a court...<p>> ..., whistleblowers are protected, and can be ...<p>You see, because that's the thing with secret directives, they're redacted from the public eye. The only way we get visibility into them isn't with FOIA requests, it's with whistleblowers who feel the government is doing things wrong, and if they're not protected, they rarely come forward.</p>
]]></description><pubDate>Tue, 16 Oct 2018 14:50:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=18229812</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18229812</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18229812</guid></item><item><title><![CDATA[New comment by jtregunna in "US Lawmakers Urge Canada to Snub China's Huawei in Telecoms"]]></title><description><![CDATA[
<p>Textbook nonsequiter, well done.</p>
]]></description><pubDate>Mon, 15 Oct 2018 18:52:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=18222552</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18222552</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18222552</guid></item><item><title><![CDATA[New comment by jtregunna in "US Lawmakers Urge Canada to Snub China's Huawei in Telecoms"]]></title><description><![CDATA[
<p>Uh, not my intent. I'm trying to illustrate that Canada has command and control regulations regarding telecommunication providers that operate in the country, and there are requirements for Canadian control. If equipment were factored into such decisions, that could go a way into resolving this problem. Though it'd probably create others. And for completeness, it's still Canada's decision to make, the rhetoric the US has been sending our way has left many of us feeling like the once good friend and neighbour, has decided that we're a threat to their national security.<p>EDIT: Clicked too soon.</p>
]]></description><pubDate>Mon, 15 Oct 2018 18:45:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=18222476</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18222476</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18222476</guid></item><item><title><![CDATA[New comment by jtregunna in "US Lawmakers Urge Canada to Snub China's Huawei in Telecoms"]]></title><description><![CDATA[
<p>Sure, doesn't hurt to listen, but at the end of the day, that's just being polite. A courtesy. The decision is still entirely Canada's, and shouldn't be influenced by US congress critters.</p>
]]></description><pubDate>Mon, 15 Oct 2018 16:22:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=18221052</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18221052</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18221052</guid></item><item><title><![CDATA[New comment by jtregunna in "US Lawmakers Urge Canada to Snub China's Huawei in Telecoms"]]></title><description><![CDATA[
<p>Sure, just saying, Canada should review any orders it makes towards telecom companies (full disclosure, I started and ran a telecom company from 2001 until 2010) from entirely a Canadian perspective and not account for any input from the US; doubly so given how the US government (like it or not, Trump is their president and reflects their government internationally) has treated Canada over the last year and a half.</p>
]]></description><pubDate>Mon, 15 Oct 2018 16:19:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=18221024</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18221024</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18221024</guid></item><item><title><![CDATA[New comment by jtregunna in "US Lawmakers Urge Canada to Snub China's Huawei in Telecoms"]]></title><description><![CDATA[
<p>> As a Canadian citizen, I urge Canada to snub Huawei too.<p>I'm not a fan of Huawei, but I am a fan of retaining our sovereignty. If the US wants the privilege of suggesting how we should run our country, then perhaps they should work on their end to repair the bilateral relationship. Currently, my vote is to tell them "Mind your own damned business."</p>
]]></description><pubDate>Mon, 15 Oct 2018 16:02:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=18220860</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18220860</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18220860</guid></item><item><title><![CDATA[New comment by jtregunna in "About the ZipCPU"]]></title><description><![CDATA[
<p>Oh I know it can, my comment was more tongue in cheek not dismissive :)</p>
]]></description><pubDate>Thu, 04 Oct 2018 16:45:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=18141497</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18141497</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18141497</guid></item><item><title><![CDATA[New comment by jtregunna in "About the ZipCPU"]]></title><description><![CDATA[
<p>It's almost always more efficient to use an existing CPU if it fits your use case than to design your own. Even if it doesn't, it is often more efficient (time wise) to adapt your use case to the hardware you have available, or write software to resolve the feature you want in hardware but don't have. Only the especially nutty build their own CPUs (I'm especially nutty too)</p>
]]></description><pubDate>Thu, 04 Oct 2018 16:26:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=18141333</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=18141333</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18141333</guid></item><item><title><![CDATA[New comment by jtregunna in "Dropbox is using an unsigned binary to install kernel extensions on your Mac"]]></title><description><![CDATA[
<p>More likely referring to the fact that Dropbox has had many an issue lately of doing things that may not have been intended to look nefarious, but look that way nonetheless. This is just the last straw for some users, whether or not the feature was used by them.</p>
]]></description><pubDate>Mon, 27 Feb 2017 17:44:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=13746101</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=13746101</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13746101</guid></item><item><title><![CDATA[New comment by jtregunna in "Ask HN: Idea Sunday"]]></title><description><![CDATA[
<p>And where exactly would it drain to? Your toilet's output is plugged, thus causing the overflow, remember?</p>
]]></description><pubDate>Sun, 06 Apr 2014 21:01:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=7542929</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=7542929</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7542929</guid></item><item><title><![CDATA[You can't just build an app, that's not how it works.]]></title><description><![CDATA[
<p>Article URL: <a href="http://jeremy.tregunna.ca/post/25929923241/you-cant-just-build-an-app-thats-not-how-it-works">http://jeremy.tregunna.ca/post/25929923241/you-cant-just-build-an-app-thats-not-how-it-works</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=4162499">https://news.ycombinator.com/item?id=4162499</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 26 Jun 2012 15:48:27 +0000</pubDate><link>http://jeremy.tregunna.ca/post/25929923241/you-cant-just-build-an-app-thats-not-how-it-works</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=4162499</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=4162499</guid></item><item><title><![CDATA[New comment by jtregunna in "Ask HN: Who is using Go language?"]]></title><description><![CDATA[
<p>Go is one of those languages I'd like to use more, but can't find a good fit for the kind of work I do (I mostly write iOS apps, and programming languages myself (weird dichotomy I know)).</p>
]]></description><pubDate>Mon, 28 May 2012 23:56:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=4035415</link><dc:creator>jtregunna</dc:creator><comments>https://news.ycombinator.com/item?id=4035415</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=4035415</guid></item></channel></rss>