<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: philippta</title><link>https://news.ycombinator.com/user?id=philippta</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 08 Nov 2026 19:25:43 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=philippta" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by philippta in "Four Months of Zig"]]></title><description><![CDATA[
<p>If the array list has enough capacity, you don't know if it allocated or not.</p>
]]></description><pubDate>Wed, 28 Oct 2026 17:05:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=50276846</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=50276846</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50276846</guid></item><item><title><![CDATA[New comment by philippta in "Four Months of Zig"]]></title><description><![CDATA[
<p>FWIW you can make procedures contextless:<p><pre><code>    proc "contextless" ()</code></pre></p>
]]></description><pubDate>Wed, 28 Oct 2026 17:02:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=50276800</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=50276800</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50276800</guid></item><item><title><![CDATA[New comment by philippta in "Four Months of Zig"]]></title><description><![CDATA[
<p>On the Odin vs Zig allocator bit:<p>In Zig you pass an allocator to every function that allocates, even if it doesn't make a lot of sense.<p><pre><code>    const arr = std.ArrayList(i64).empty;
    arr.append(allocator, 1);
    arr.append(allocator, 2);
    arr.append(allocator, 3);
</code></pre>
This rarely makes sense, as it's not really useful to append using a different allocator than you used previously.<p>In Odin, allocators are passed in the init, stored as part of the struct and reused in the append.<p><pre><code>    arr := make([dynamic]i64, 0, 10, context.allocator)
    append(&arr, 1)
    append(&arr, 2)
    append(&arr, 3)</code></pre></p>
]]></description><pubDate>Wed, 28 Oct 2026 07:24:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=50270227</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=50270227</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50270227</guid></item><item><title><![CDATA[New comment by philippta in "Why don't more developers “use the platform”?"]]></title><description><![CDATA[
<p>React to some degree made immediate mode UI possible in the browser, which is part of why it is this successful. If the browser gave the option to do ui = f(state) natively, you wouldn't need React.</p>
]]></description><pubDate>Sun, 04 Oct 2026 07:37:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=49951555</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49951555</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49951555</guid></item><item><title><![CDATA[New comment by philippta in "What Zig felt like, coming from Rust"]]></title><description><![CDATA[
<p>> For example Jai and Odin both seem to really want you to write code which can throw away a "per-frame" arena periodically<p>You can generalize this far beyond per-frame semantics. Think per-http-request, per-pubsub-message.<p>Per each, you can create a new  virtual.Arena, set it as your context.temp_allocator and use it for the entirety of the request or message. Afterwards, throw it away.</p>
]]></description><pubDate>Sat, 19 Sep 2026 18:05:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=49768775</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49768775</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49768775</guid></item><item><title><![CDATA[New comment by philippta in "Ok, but does it scale?"]]></title><description><![CDATA[
<p>I benchmarked Postgres in single- and muti-node setup against CockroachDB a while ago and my findings match what this post is talking about.<p><a href="https://github.com/philippta/postgresql-cockroachdb-benchmark" rel="nofollow">https://github.com/philippta/postgresql-cockroachdb-benchmar...</a></p>
]]></description><pubDate>Fri, 04 Sep 2026 18:34:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=49568406</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49568406</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49568406</guid></item><item><title><![CDATA[New comment by philippta in "Fine, I'll build my own text editor"]]></title><description><![CDATA[
<p>I recently learned that Odin has fully-featured text editing primitives in its core library. Coupled with the bundled raylib library, it should be fairly easy to build a GUI text editor from scratch.<p><a href="https://pkg.odin-lang.org/core/text/edit/" rel="nofollow">https://pkg.odin-lang.org/core/text/edit/</a></p>
]]></description><pubDate>Wed, 02 Sep 2026 10:40:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=49534402</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49534402</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49534402</guid></item><item><title><![CDATA[New comment by philippta in "Creepy Crawlies"]]></title><description><![CDATA[
<p>I think TVs are just used as a residential proxies. No remote controlled chrome is running there.</p>
]]></description><pubDate>Mon, 31 Aug 2026 08:23:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=49507055</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49507055</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49507055</guid></item><item><title><![CDATA[New comment by philippta in "Casey Muratori – The Root of the Root of All Evil – BSC 2026 [video]"]]></title><description><![CDATA[
<p>Having watched both, they cover completey different topics.</p>
]]></description><pubDate>Sun, 30 Aug 2026 14:33:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=49499019</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49499019</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49499019</guid></item><item><title><![CDATA[New comment by philippta in "Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache"]]></title><description><![CDATA[
<p>I recently heard a great analogy for this exact problem under the premise of "Make it work, make it right, make it fast".<p>Assume a sorting algorithm as a metaphor for your whole program.<p>You make it work by implementing the simplest thing you know how to write: bubble sort. Works.<p>At the end you notice it's way too slow and replace with something much better: quicksort.<p>Now, how much of your program is surviving? Almost nothing, perhaps except for the "greater than" comparison.<p>If you apply that idea to a real world program, we're pretty much talking about a full rewrite.</p>
]]></description><pubDate>Fri, 28 Aug 2026 08:22:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49475891</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49475891</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49475891</guid></item><item><title><![CDATA[New comment by philippta in "Incident with Github.com [resolved]"]]></title><description><![CDATA[
<p>That might apply to personal users. But to businesses the switching cost is just too high. We had a discussion about it on our team. It was  decided to keep using GitHub unfortunately.</p>
]]></description><pubDate>Tue, 18 Aug 2026 09:03:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=49343173</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49343173</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49343173</guid></item><item><title><![CDATA[New comment by philippta in "Incident with Github.com [resolved]"]]></title><description><![CDATA[
<p>The most shocking thing to me about the entire GitHub fiasco is: No matter how bad the uptime is, no matter how bad the UI is. We will keep using the software / service we depend on.<p>Why do we as software engineers have set fault tolerance and high availability as the primary goal of any software / infrastructure architecture? This shows it's completely irrelevant.</p>
]]></description><pubDate>Mon, 17 Aug 2026 17:28:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=49334597</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49334597</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49334597</guid></item><item><title><![CDATA[New comment by philippta in ""Clean" Code, Horrible Performance (2023)"]]></title><description><![CDATA[
<p>See Casey's code snippets here: <a href="https://github.com/unclebob/cmuratori-discussion/blob/main/cleancodeqa-2.md" rel="nofollow">https://github.com/unclebob/cmuratori-discussion/blob/main/c...</a></p>
]]></description><pubDate>Tue, 04 Aug 2026 21:02:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=49175101</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49175101</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49175101</guid></item><item><title><![CDATA[New comment by philippta in ""Clean" Code, Horrible Performance (2023)"]]></title><description><![CDATA[
<p>> There are surely cases where having an interface as an abstraction and multiple implementations makes sense.<p>I think most people aren't aware of the alternative, which is: A function that can call different implementations based on some other variable.<p>E.g. instead of having RealDB and MockDB type have a createUser() (method), you have a createUser() (function) that switches part of it's logic based on what DB is selected.<p>That's the prodecural way of achieving the same thing without needing a concept for virtual functions.<p>Casey explains this in the long discussion with Uncle Bob.</p>
]]></description><pubDate>Tue, 04 Aug 2026 20:18:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=49174477</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49174477</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49174477</guid></item><item><title><![CDATA[New comment by philippta in "Fil-C: Garbage In, Memory Safety Out [video]"]]></title><description><![CDATA[
<p>Even in memory safe Rust, out-of-bounds array access also results in crashes.<p>The whole point of memory safety is that bugs can not be exploited. A memory safe program does not mean a crash safe program.</p>
]]></description><pubDate>Sat, 25 Jul 2026 19:28:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=49050718</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=49050718</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49050718</guid></item><item><title><![CDATA[New comment by philippta in "Claude for Small Business"]]></title><description><![CDATA[
<p>To me this looks like a cool demo product. Yet, the problem it's solving could be equally solved by a well integrated all-in-one business suite.<p>I don't run a small business myself, but I assume the scope of administrative tasks in such company is well defined and understood.</p>
]]></description><pubDate>Thu, 14 May 2026 09:02:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=48132814</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=48132814</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48132814</guid></item><item><title><![CDATA[New comment by philippta in "Number. Everyone gets one. (App)"]]></title><description><![CDATA[
<p>Not my app. Saw it online and found it funny. I'm #27</p>
]]></description><pubDate>Thu, 07 May 2026 13:20:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=48049102</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=48049102</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48049102</guid></item><item><title><![CDATA[Number. Everyone gets one. (App)]]></title><description><![CDATA[
<p>Article URL: <a href="https://yournumber.app/">https://yournumber.app/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48049101">https://news.ycombinator.com/item?id=48049101</a></p>
<p>Points: 2</p>
<p># Comments: 1</p>
]]></description><pubDate>Thu, 07 May 2026 13:20:31 +0000</pubDate><link>https://yournumber.app/</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=48049101</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48049101</guid></item><item><title><![CDATA[New comment by philippta in "Microsoft and OpenAI end their exclusive and revenue-sharing deal"]]></title><description><![CDATA[
<p>In the recent Dwarkesh Podcast episode Jensen Huang (Nvidia) said that virtually nobody but Anthropic uses TPUs. How does that add up?</p>
]]></description><pubDate>Mon, 27 Apr 2026 18:07:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=47925107</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=47925107</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47925107</guid></item><item><title><![CDATA[nbio: A non-blocking I/O and event loop abstraction in Odin]]></title><description><![CDATA[
<p>Article URL: <a href="https://pkg.odin-lang.org/core/nbio/">https://pkg.odin-lang.org/core/nbio/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47666087">https://news.ycombinator.com/item?id=47666087</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 06 Apr 2026 19:53:48 +0000</pubDate><link>https://pkg.odin-lang.org/core/nbio/</link><dc:creator>philippta</dc:creator><comments>https://news.ycombinator.com/item?id=47666087</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47666087</guid></item></channel></rss>