<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: JonChesterfield</title><link>https://news.ycombinator.com/user?id=JonChesterfield</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 25 May 2026 00:44:56 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=JonChesterfield" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by JonChesterfield in "Everything in C is undefined behavior"]]></title><description><![CDATA[
<p>Not imaginary. Eliding checks on nullptr and integer overflow were both implemented, shipped, miscompiled the linux kernel and grew flags to disable them. I expect there are more if one goes looking.</p>
]]></description><pubDate>Wed, 20 May 2026 11:47:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=48206214</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=48206214</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48206214</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Everything in C is undefined behavior"]]></title><description><![CDATA[
<p>Well, you can't write malloc in conforming C, which hurts rather more than remembering to write bitcast as memcpy on char pointers.<p>Doesn't matter though because you aren't writing standards conforming C. You're writing whatever dialect your compilers support, and that's probably (module bugs) much better behaved than the spec suggests.<p>Or you're writing C++ and way more exposed to the adversarial-and-benevolent compiler experience.<p>The type aliasing rules are the only ones that routinely cause me much annoyance in C and there's always a workaround, whether if it's the launder intrinsic used to implement C++, the may_alias attribute or in extremis dropping into asm. So they're a nuisance not a blocker.</p>
]]></description><pubDate>Wed, 20 May 2026 11:45:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=48206195</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=48206195</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48206195</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Amateur armed with ChatGPT solves an Erdős problem"]]></title><description><![CDATA[
<p>You too can solve maths problems by:<p>1. Generating enormous amounts of text<p>2. Persuading a mathematician to look closely at it<p>3. Announcing success if they conclude it is a proof<p>This is deeply disappointing relative to "chatgpt found a proof that isabelle verifies" or similar, especially the part where a mathematician spends (presumably hours) reading through the llm output.</p>
]]></description><pubDate>Sun, 26 Apr 2026 14:27:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=47910637</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47910637</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47910637</guid></item><item><title><![CDATA[New comment by JonChesterfield in "New 10 GbE USB adapters are cooler, smaller, cheaper"]]></title><description><![CDATA[
<p>I found a 5gbe one that claimed 60W, will power a phone but not the low power laptop I've got here. It probably isn't far off.</p>
]]></description><pubDate>Sat, 25 Apr 2026 09:14:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=47899959</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47899959</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47899959</guid></item><item><title><![CDATA[New comment by JonChesterfield in "New 10 GbE USB adapters are cooler, smaller, cheaper"]]></title><description><![CDATA[
<p>Ymmv. I've got a mix of cheap premade patch cables and some I crimped from solid core, all cat5e, all holding 10gbe totally happily. I suspect that only works because they're a meter or two long but that reaches across the rack.</p>
]]></description><pubDate>Sat, 25 Apr 2026 09:12:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47899945</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47899945</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47899945</guid></item><item><title><![CDATA[New comment by JonChesterfield in "US special forces soldier arrested after allegedly winning $400k on Maduro raid"]]></title><description><![CDATA[
<p>It would do nothing. You'd get an increase in derivatives volume with the same underlying effect.</p>
]]></description><pubDate>Fri, 24 Apr 2026 08:35:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=47887384</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47887384</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47887384</guid></item><item><title><![CDATA[New comment by JonChesterfield in "DeepSeek v4"]]></title><description><![CDATA[
<p>Anyone worked out how much hardware one needs to self host this one?</p>
]]></description><pubDate>Fri, 24 Apr 2026 08:32:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47887364</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47887364</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47887364</guid></item><item><title><![CDATA[New comment by JonChesterfield in "DeepSeek v4"]]></title><description><![CDATA[
<p>Get out seems an important priority. Good luck</p>
]]></description><pubDate>Fri, 24 Apr 2026 08:21:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=47887280</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47887280</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47887280</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Artemis II Launch Day Updates"]]></title><description><![CDATA[
<p>Who makes the bar for "good at delivering tech" if the guy pushing spacex, starlink and tesla simultaneously doesn't reach it?</p>
]]></description><pubDate>Thu, 02 Apr 2026 09:05:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47611853</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47611853</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47611853</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Should AI have the right to say 'No' to its owner?"]]></title><description><![CDATA[
<p>The existing work is all of software dev. The program did what it was told to do, not what people wanted it to do, is rather a lot of the profession.</p>
]]></description><pubDate>Thu, 02 Apr 2026 08:55:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=47611774</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47611774</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47611774</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Optimizing a lock-free ring buffer"]]></title><description><![CDATA[
<p>This was _really_ surprising to me. What's the point of marking individual stores if it affects everything, not just that address. But yeah, what I can find online agrees that C++ has done this. Thanks!</p>
]]></description><pubDate>Thu, 02 Apr 2026 07:36:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47611188</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47611188</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47611188</guid></item><item><title><![CDATA[New comment by JonChesterfield in "The Claude Code Leak"]]></title><description><![CDATA[
<p>I've stopped reading anything on blogs on the basis that it's now probably llm spew and life is too short for the signal to noise ratio that implies.<p>With the exception of things that places like HN seems to consider worth reading, which is why I'm looking through the comments to this and others to find recommendations.</p>
]]></description><pubDate>Thu, 02 Apr 2026 07:31:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=47611147</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47611147</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47611147</guid></item><item><title><![CDATA[New comment by JonChesterfield in "If you don't opt out by Apr 24 GitHub will train on your private repos"]]></title><description><![CDATA[
<p>Any computer you have ssh access to.</p>
]]></description><pubDate>Fri, 27 Mar 2026 22:25:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47549188</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47549188</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47549188</guid></item><item><title><![CDATA[New comment by JonChesterfield in "If you don't opt out by Apr 24 GitHub will train on your private repos"]]></title><description><![CDATA[
<p>Don't give your code to Microsoft if you don't want them to have your code.<p>This setting will make no difference to whether your code is fed into their training set. "Oops we accidentally ignored the private flag years ago and didn't realise, we are very sorry, we were trying to not do that".</p>
]]></description><pubDate>Fri, 27 Mar 2026 22:24:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=47549175</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47549175</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47549175</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Optimizing a lock-free ring buffer"]]></title><description><![CDATA[
<p>If it's a power of two, you don't need the branch at all. Let the unsigned index wrap.</p>
]]></description><pubDate>Thu, 26 Mar 2026 14:46:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=47531124</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47531124</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47531124</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Optimizing a lock-free ring buffer"]]></title><description><![CDATA[
<p>Push:<p>buffer_[head] = value;<p>head_.store(next_head, std::memory_order_release);<p>return true;<p>There's no relationship between the two written variables. Stores to the two are independent and can be reordered. The aq/rel applies to the index, not to the unrelated non-atomic buffer located near the index.</p>
]]></description><pubDate>Thu, 26 Mar 2026 14:46:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=47531111</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47531111</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47531111</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Optimizing a lock-free ring buffer"]]></title><description><![CDATA[
<p>It's obviously, trivially broken. Stores the index before storing the value, so the other thread reads nonsense whenever the race goes against it.<p>Also doesn't have fences on the store, has extra branches that shouldn't be there, and is written in really stylistically weird c++.<p>Maybe an llm that likes a different language more, copying a broken implementation off github? Mostly commenting because the initial replies are "best" and "lol", though I sympathise with one of those.</p>
]]></description><pubDate>Thu, 26 Mar 2026 14:18:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47530796</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47530796</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47530796</guid></item><item><title><![CDATA[New comment by JonChesterfield in "How BYD got EV chargers to work almost as fast as gas pumps"]]></title><description><![CDATA[
<p>If you can get a megawatt into the car batteries without setting them on fire, that's game over for petrol cars. And for the other electric vehicles that haven't worked it out yet. Only reason I'm on petrol is unwillingness to wait an hour to recharge the car.<p>The rest of the infra is fine if that can be done. Array of batteries and/or capacitors at the supply point and draw continuously from the grid.<p>Most entertainingly run a diesel generator on site if that doesn't work out. Lines up well with basing them at the existing fuel stations, got the diesel supply already sorted out.<p>Put a bunch of solar near it when you can. Maybe sell back to grid, nice to have the extra capacity available.<p>All comes down to capital deployment at that point. Do the calculations on how much to charge for slow car charge vs fast charge, fallback to slow with an apology/discount when the infra is struggling etc.<p>Huge news. Iff the cars don't catch fire when plugged in.</p>
]]></description><pubDate>Sat, 21 Mar 2026 21:31:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47471633</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47471633</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47471633</guid></item><item><title><![CDATA[New comment by JonChesterfield in "Ask HN: Solo Senior Developers, Where do we find you?"]]></title><description><![CDATA[
<p>"Fair" or "insane" ideas on price vary a lot between people. See also "competitive" salary on job posts.<p>You might think $10 an hour is fair. Or you might think $1000 an hour is fair. If the developers you're trying to contact can't guess where you are on pricing, they'll probably ignore you.</p>
]]></description><pubDate>Thu, 19 Mar 2026 23:42:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47448091</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47448091</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47448091</guid></item><item><title><![CDATA[New comment by JonChesterfield in "4Chan mocks £520k fine for UK online safety breaches"]]></title><description><![CDATA[
<p>Nope. A direct connection from residential British Telecom line is fine.</p>
]]></description><pubDate>Thu, 19 Mar 2026 21:14:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47446226</link><dc:creator>JonChesterfield</dc:creator><comments>https://news.ycombinator.com/item?id=47446226</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47446226</guid></item></channel></rss>