<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: EPWN3D</title><link>https://news.ycombinator.com/user?id=EPWN3D</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 21 Jun 2026 16:35:10 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=EPWN3D" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by EPWN3D in "Show HN: Voice Age Verification"]]></title><description><![CDATA[
<p>How do you distinguish between a live person and a high-fidelity recording?</p>
]]></description><pubDate>Tue, 16 Jun 2026 14:46:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=48556109</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=48556109</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48556109</guid></item><item><title><![CDATA[New comment by EPWN3D in "Honda Civics and the Evil Valet"]]></title><description><![CDATA[
<p>LLMs are great at writing unit tests.</p>
]]></description><pubDate>Sun, 14 Jun 2026 03:22:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=48523883</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=48523883</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48523883</guid></item><item><title><![CDATA[New comment by EPWN3D in "Police officer investigated for using AI to 'create evidence' in multiple cases"]]></title><description><![CDATA[
<p>"Crack the hash"? Does this mean you were employing some novel hashing algorithm and relying on its secrecy? If so your employer were never serious about security in the first place. Hardware attestation is more or less a solved problem, and that solution does not involve secret algorithms.</p>
]]></description><pubDate>Sat, 13 Jun 2026 22:37:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=48522198</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=48522198</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48522198</guid></item><item><title><![CDATA[New comment by EPWN3D in "Texas is America Inc's new centre of gravity"]]></title><description><![CDATA[
<p>Fewer rights.</p>
]]></description><pubDate>Sat, 13 Jun 2026 20:43:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=48521245</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=48521245</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48521245</guid></item><item><title><![CDATA[New comment by EPWN3D in "Orthodox C++ (2016)"]]></title><description><![CDATA[
<p>C programmers aren't complaining about the "magic" being tens of thousands of lines of code. They're complaining about the magic including bizarre side effects that brazenly violate the principle of least astonishment.<p>In C++, you can overload the comma operator to do shit. I've seen it done. There's no reason to do it, and no reasonable person would ever expect it in a code base they're unfamiliar with. To find bug in that ultimately roots back to that implementation, you have to go eliminate every other whack-job possibility before it even occurs to you that maybe the weirdo who wrote this code chose to overload the comma operator.<p>I'm not going to argue with anyone who wants to use C++ in their own projects, you do you. But let's be real about what C programmers are complaining about. It's not line count. It's syntactic obfuscation. I don't just level this criticism at C++ either. Basically every major new language has its own byzantine syntactic constructs to some degree.</p>
]]></description><pubDate>Sat, 13 Jun 2026 18:59:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=48520316</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=48520316</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48520316</guid></item><item><title><![CDATA[New comment by EPWN3D in "New Lifetime Plex Pass Pricing"]]></title><description><![CDATA[
<p>God Plex sucks now. The mobile Photos app is basically abandonware that threw out 80% of the functionality from when photos were handled in the main app. Still glad I snatched up the lifetime pass when it was $150, but they're doing their best to make it money wasted.</p>
]]></description><pubDate>Tue, 19 May 2026 15:27:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=48194600</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=48194600</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48194600</guid></item><item><title><![CDATA[New comment by EPWN3D in "The Upper Middle Class Trap"]]></title><description><![CDATA[
<p>I can't take anyone seriously who equates "six figure income" with "upper-middle class". That was true in the 80s. But the median household income in the US is about $80,000/yr. That extra $20,000 doesn't push you into upper-middle class.<p>If there's a trap for the upper-middle class, it's for the W2 earners. The federal tax code essentially disqualifies high-income W2 earners from virtually every deduction. Both parties wind up soaking these taxpayers because they<p>- make a lot of money,<p>- don't own a business, and<p>- don't have an organization like the Chamber of Commerce to lobby on their behalf<p>When Republicans get into power, these people are likely to vote Democratic and are therefore okay to stick with the bill after cutting taxes for dentists, lawyers, and corporations. When Democrats are in power, these people are (as ever) not "paying their fair share", so they need their taxes hiked to pay for free stuff for people who don't vote for Democrats. And then they'll also be disqualified from taking advantage of those new benefits/entitlements.</p>
]]></description><pubDate>Thu, 07 May 2026 16:03:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=48051043</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=48051043</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48051043</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>This is a tragically misguided view. There are tons of code bases that aren't going to be rewritten in safe languages for various reasons, be it political or technical. You may or may not agree with those reasons, and you may or may not like that these code bases are important, but the fact remains that these projects exist. Giving them a toolset to adopt a broad set of bounds-safe behavior can only be a good thing.</p>
]]></description><pubDate>Sat, 02 May 2026 21:05:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=47990500</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47990500</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47990500</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>I just haven't tried it on a BSD. No reason it wouldn't work though. Might require a couple of fixes here and there, but generally the library sticks to standard C stuff and uncontroversial POSIX (in the POSIX target).</p>
]]></description><pubDate>Sat, 02 May 2026 21:00:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=47990459</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47990459</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47990459</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>There are people on my team who are interested in stewarding, so I think it'll be covered.</p>
]]></description><pubDate>Sat, 02 May 2026 16:21:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=47987733</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47987733</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47987733</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>C does not need to be completely safe. But it should be safer by default than it currently is. And I think that "it's a low level language, you just need to be smarter" is too often a cover story for bad design decisions.<p>I don't think that the choices should be "self-driving cars" and "cars with no seatbelts, airbags, or crumple zones" with nothing in between.</p>
]]></description><pubDate>Sat, 02 May 2026 16:18:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47987705</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47987705</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47987705</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>Yeah here's a trivial one.<p>void *__free p = NULL;<p>func(&p); // func zeroes p to claim ownership<p>// end of scope, p is NULL, nothing happens
// if func was not called, p is freed</p>
]]></description><pubDate>Sat, 02 May 2026 16:10:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=47987646</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47987646</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47987646</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>I'll have to give the access attributes a look, I hadn't heard of them. (My team were sitting back on gcc-12, so not up to speed on the latest.)<p>I think I had seen noplate before -- looks like you're taking advantage of the anonymous struct compatibility changes in C23? Those are going to open up a lot of possibilities. Regardless I'd love to stay in touch -- by "us" do you mean the working group?</p>
]]></description><pubDate>Sat, 02 May 2026 16:08:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=47987633</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47987633</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47987633</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>Microsoft supports memory safety. Rust is 100% the direction for new projects. But there are existing C codebases that are unlikely to be entirely rewritten in a memory-safe language for various reasons. Such projects can significantly benefit from incremental improvements in memory safety.</p>
]]></description><pubDate>Sat, 02 May 2026 05:32:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47983597</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47983597</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47983597</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>I think the real failing is that new language features then must be prototyped by people <i>who have a background in compilers</i>. That's a very small subset of the overall C community.<p>I don't have any clue how to patch clang's front end. I'm not a language or compiler person. I just want to make stuff better. There needs to be a playground for people like me, and hopefully lib0xc can be that playground.</p>
]]></description><pubDate>Sat, 02 May 2026 05:26:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=47983574</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47983574</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47983574</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>Thanks! I agree, a better build story for C projects is desperately needed.</p>
]]></description><pubDate>Sat, 02 May 2026 05:23:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=47983562</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47983562</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47983562</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>I think defer has been included in the next round of working group proposals for C2y, but I don't think Apple's clang has it. Maybe it's there as a language extension and I just didn't see it.<p>What lib0xc has is some cleanup attributes that you can apply to variables to e.g. automatically free a heap allocation or close a file descriptor, at end of scope. Personally, I like variable annotations much more than defer for these uses, but they accomplish the same thing. I've also found that using those attributes inherently pushes your code to make ownership more explicit. I personally stopped being terrified of double-pointers and started using them for ownership transfers, which eliminates a large class of bugs.</p>
]]></description><pubDate>Sat, 02 May 2026 03:57:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=47983163</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47983163</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47983163</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>Not really. You'd still be able to address memory as bytes. The problem with void * is that it strips all bounds information by its nature. Most of the time when you're passing a void * without an associated length (e.g. context pointers, objects that you pinky-swear are of a certain type), it indicates a failure in the language. That's the stuff I think needs to be eliminated.</p>
]]></description><pubDate>Sat, 02 May 2026 03:50:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=47983134</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47983134</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47983134</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>It's designed to be incremental. For example, you can do a search for `sprintf` and replace it with `ssprintf`. The function signature is the same. Any instance of printing to a character array just works. Think of the APIs as "the stuff you usually do by hand, but safer".<p>If you get compiler errors, it means you were printing to a heap-allocated buffer (or a buffer whose bounds you did not know), and you should be propagating bounds and using `snprintf`.<p>Integer conversion is the same way. If you have something like<p>int v1;
uint64_t v2;<p><stuff happens><p>v2 = (uint64_t)v1;<p>Then you can replace it with<p>v2 = __cast_signed_unsigned(uint64_t, v1);<p>and you'll get a runtime trap when v1 is a negative value, meaning you can both enable -Wint-conversion and have defined behavior for when the value in a certain integer type is not representable in another.</p>
]]></description><pubDate>Fri, 01 May 2026 23:28:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47981706</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47981706</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47981706</guid></item><item><title><![CDATA[New comment by EPWN3D in "Lib0xc: A set of C standard library-adjacent APIs for safer systems programming"]]></title><description><![CDATA[
<p>> This might be a dumb question, but using this + clang bounds-safety, whats the difference between this and something like Zig or Odin.<p>I really need to learn more about Zig, but from what I know, there are still worlds of possibilities that a modern, well-designed language offers over something like lib0xc. Zig's ability to evaluate any expression at compile-time is one such example.<p>But generally, lib0xc gives you <i>bounds</i>-safety everywhere it can. Languages like Zig and Rust give you <i>type</i>-safety to their own degrees, which I think is a superset.<p>> What do you think C would need in order to reach the user experience of those languages?<p>Not really having direct user experience, it's hard for me to say. But if I what I can give you is a list of features that would make large parts of lib0xc irrelevant:<p>1. Protocols/traits<p>2. Allocating from a caller's stack frame (think, returning the result of `alloca` to the caller)<p>3. printf format specifiers for stdint.h types and for octet strings<p>4. Ability to express function parameter lists as structures<p>5. New sprintf family that returns a value which is always less than or equal to the size passed (no negative values)<p>Basically, I think that the C standard should be working aggressively to cut down on the use cases for heap allocation and `void *`. And I think that the bounds safety annotations should become first-class language features.</p>
]]></description><pubDate>Fri, 01 May 2026 23:21:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=47981653</link><dc:creator>EPWN3D</dc:creator><comments>https://news.ycombinator.com/item?id=47981653</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47981653</guid></item></channel></rss>