<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: dnautics</title><link>https://news.ycombinator.com/user?id=dnautics</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 13 Jun 2026 08:42:25 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=dnautics" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by dnautics in "Solar generates more energy in US than coal for first time"]]></title><description><![CDATA[
<p>"flat or falling" let's be honest.  The amount of "fall" in that graph is basically in the noise.  It's been flat.</p>
]]></description><pubDate>Thu, 11 Jun 2026 18:41:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=48494644</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48494644</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48494644</guid></item><item><title><![CDATA[New comment by dnautics in "Solar generates more energy in US than coal for first time"]]></title><description><![CDATA[
<p>US population has been basically stable (+10% over the past 10 years), so per capita (in terms of the paris agreement timeframe) is a reasonable proxy.</p>
]]></description><pubDate>Thu, 11 Jun 2026 18:36:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=48494580</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48494580</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48494580</guid></item><item><title><![CDATA[New comment by dnautics in "Solar generates more energy in US than coal for first time"]]></title><description><![CDATA[
<p>In absolute terms, china's coal footprint is increasing, and will continue to increase in the short term, as of early 2026, they were still opening new coal plants.</p>
]]></description><pubDate>Thu, 11 Jun 2026 18:34:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=48494544</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48494544</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48494544</guid></item><item><title><![CDATA[New comment by dnautics in "Solar generates more energy in US than coal for first time"]]></title><description><![CDATA[
<p>> US consumers and businesses buy almost all their stuff from China<p>This is not really the case, China is the US' #3 trading partner, and trade-corrected GHGs are also down (see the graph further down the page), actually by an slightly better percentage off-peak.</p>
]]></description><pubDate>Thu, 11 Jun 2026 18:32:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=48494511</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48494511</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48494511</guid></item><item><title><![CDATA[New comment by dnautics in "Anthropic apologizes for invisible Claude Fable guardrails"]]></title><description><![CDATA[
<p>public safety is downstream of distillation.  If you can distill claude, then no amount of guardrails on claude will protect you from what someone can do with it.</p>
]]></description><pubDate>Thu, 11 Jun 2026 17:19:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=48493302</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48493302</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48493302</guid></item><item><title><![CDATA[New comment by dnautics in "Solar generates more energy in US than coal for first time"]]></title><description><![CDATA[
<p>The US currently is at per capita GHG emissions approximately at the the same level as it was in 1910.<p><a href="https://ourworldindata.org/profile/co2/united-states" rel="nofollow">https://ourworldindata.org/profile/co2/united-states</a><p>Despite not being in the paris treaty, the us needs only a 10-12% reduction to meet the paris accord requirements on schedule (43% decrease by 2030).</p>
]]></description><pubDate>Thu, 11 Jun 2026 17:12:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=48493177</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48493177</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48493177</guid></item><item><title><![CDATA[New comment by dnautics in "Zig Structs of Arrays (2024)"]]></title><description><![CDATA[
<p>one is implementable entirely in the parser.  overloading (operator or otherwise) in general is a deeper compiler feature</p>
]]></description><pubDate>Tue, 09 Jun 2026 00:57:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=48454741</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48454741</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48454741</guid></item><item><title><![CDATA[New comment by dnautics in "Zig Structs of Arrays (2024)"]]></title><description><![CDATA[
<p>no, in general overloading is not syntactic sugar, it's a feature of the language (being able to (re-)define a function in place X and have it change the function in unrelated place Y).</p>
]]></description><pubDate>Mon, 08 Jun 2026 22:06:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=48452957</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48452957</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48452957</guid></item><item><title><![CDATA[New comment by dnautics in "Ask HN: What are tools you have made for yourself since the advent of AI?"]]></title><description><![CDATA[
<p>- Otzel, an OT library for elixir that is in some common cases 50x faster than the most widely deployed elixir OT library:<p><a href="https://github.com/ityonemo/otzel" rel="nofollow">https://github.com/ityonemo/otzel</a><p>- Spector, a bare-bones CQRS library for elixir that composes extremely well with Otzel:<p><a href="https://spector.hexdocs.pm/Spector.html" rel="nofollow">https://spector.hexdocs.pm/Spector.html</a><p>- nanodrop, an elixir library that interfaces with nanodrop spectrophotometers:<p><a href="https://nanodrop.hexdocs.pm/Nanodrop.html" rel="nofollow">https://nanodrop.hexdocs.pm/Nanodrop.html</a><p>- opengenepool, a web-based dna editing tool (technically I started this one 11 years ago):<p><a href="https://opengenepool.vidalalabs.com/" rel="nofollow">https://opengenepool.vidalalabs.com/</a>
<a href="https://github.com/vidala-labs/opengenepool" rel="nofollow">https://github.com/vidala-labs/opengenepool</a><p>- a proprietary camera library that communicates with industrial-grade digital cameras.<p>- a full on self-hosted lab management system (journal articles, obsidian-like notes, lab notebook, kanban, embedded dna editor, LIMS), obviously this builds on all of the above items</p>
]]></description><pubDate>Mon, 08 Jun 2026 21:58:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=48452852</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48452852</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48452852</guid></item><item><title><![CDATA[New comment by dnautics in "I'm building a parallel internet, and it's called The Thinnernet"]]></title><description><![CDATA[
<p>gemini gave it the old college try</p>
]]></description><pubDate>Mon, 08 Jun 2026 21:24:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=48452342</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48452342</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48452342</guid></item><item><title><![CDATA[New comment by dnautics in "Switzerland wil have a referendum to cap population at 10M"]]></title><description><![CDATA[
<p>how did they ever survive in the pre-EU/schengen/EEC era?</p>
]]></description><pubDate>Mon, 08 Jun 2026 19:33:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=48450462</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48450462</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48450462</guid></item><item><title><![CDATA[New comment by dnautics in "Are you expected to run five Python type-checkers now?"]]></title><description><![CDATA[
<p>you don't think the elixir type system is effective?  I've never seen a bolted-on type system get so much acceptance from the hardcore "you can add types into my dead hands" crowd</p>
]]></description><pubDate>Mon, 08 Jun 2026 18:42:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=48449574</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48449574</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48449574</guid></item><item><title><![CDATA[New comment by dnautics in "Zig Structs of Arrays (2024)"]]></title><description><![CDATA[
<p>forced use of parens, or else syntax error.</p>
]]></description><pubDate>Mon, 08 Jun 2026 17:23:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=48448239</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48448239</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48448239</guid></item><item><title><![CDATA[New comment by dnautics in "Zig Structs of Arrays (2024)"]]></title><description><![CDATA[
<p>I have a sibling comment -- having thought about this for a very very long time, zig should really implement binary pseudo-operator syntactic sugar.  I don't think this violate zig's spirit of 'no hidden function calls' in that I don't think it takes much of a mental lift to "get" that (_ <+> _) means "heyo this is a function call, not a true operator".</p>
]]></description><pubDate>Mon, 08 Jun 2026 16:42:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=48447676</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48447676</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48447676</guid></item><item><title><![CDATA[New comment by dnautics in "Zig Structs of Arrays (2024)"]]></title><description><![CDATA[
<p>you actually don't want "operator overloading", you want syntactic sugar.  I once proposed just a special operator syntax at the parser level, but it got rejected, but if you REALLY wanted it, you could probably do this in about 100-120 lines as a fork of the zig compiler, just hacking (a <_> b) as a special form to be transformed into @"<_>"(a, b).  Requiring parentheses elides questions about operator precedence.<p><pre><code>    const @"<+>" = @import("operator_module").plus;

    ...

    const x = (a <+> b);</code></pre></p>
]]></description><pubDate>Mon, 08 Jun 2026 16:33:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=48447541</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48447541</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48447541</guid></item><item><title><![CDATA[New comment by dnautics in "Zig by Example"]]></title><description><![CDATA[
<p>> Linters are not exactly a new idea, and they can be pushed quite far.<p>That's not an answer.  There's a reason why you can't do it in C, and the reason is "the stdlib is poorly designed".  No amount of linting can get you around that.</p>
]]></description><pubDate>Mon, 08 Jun 2026 15:59:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=48447063</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48447063</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48447063</guid></item><item><title><![CDATA[New comment by dnautics in "Zig by Example"]]></title><description><![CDATA[
<p>Point being, these two things aren't different (variable assignment and function calls); IIUC they go through the same analysis pathway, result location semantics.<p><a href="https://ziglang.org/documentation/master/#Result-Location-Semantics" rel="nofollow">https://ziglang.org/documentation/master/#Result-Location-Se...</a><p>It's a little bit weird, since the types flow in the reverse direction than you would expect.</p>
]]></description><pubDate>Mon, 08 Jun 2026 15:44:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=48446864</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48446864</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48446864</guid></item><item><title><![CDATA[New comment by dnautics in "Zig by Example"]]></title><description><![CDATA[
<p>> Everything you do in Zig can be done almost in the same way in C or C++.<p>Can you do this in C?<p><a href="https://github.com/ityonemo/clr" rel="nofollow">https://github.com/ityonemo/clr</a></p>
]]></description><pubDate>Mon, 08 Jun 2026 15:41:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=48446829</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48446829</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48446829</guid></item><item><title><![CDATA[New comment by dnautics in "Zig by Example"]]></title><description><![CDATA[
<p>that's not quite right.<p>1)  It's var foo = Foo{...};  (no intervening dot)<p>2)  I think parent commenter is referring to function call use case call_my_func(.{...})</p>
]]></description><pubDate>Mon, 08 Jun 2026 15:37:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=48446769</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48446769</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48446769</guid></item><item><title><![CDATA[New comment by dnautics in "Zig by Example"]]></title><description><![CDATA[
<p>> And the compiler should be just a bit smarter to avoid the .{} thing when it is not strictly necessary.<p>What's your plan for this?  Rebuilding the C varargs mess from first principles?</p>
]]></description><pubDate>Mon, 08 Jun 2026 15:32:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48446704</link><dc:creator>dnautics</dc:creator><comments>https://news.ycombinator.com/item?id=48446704</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48446704</guid></item></channel></rss>