<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: cesaref</title><link>https://news.ycombinator.com/user?id=cesaref</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 20 Jun 2026 09:35:31 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=cesaref" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by cesaref in "A brief tour of the PDP-11, the most influential minicomputer of all time (2022)"]]></title><description><![CDATA[
<p>Yeah, there were two busses, and the bigger ones were certainly rather impressive. I built a PDP-11/23 out of spare bits gifted from a university physics department in the late 80s, and it was awesome, but nothing like an 11/70 or anything like that!</p>
]]></description><pubDate>Wed, 17 Jun 2026 08:59:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=48567671</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=48567671</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48567671</guid></item><item><title><![CDATA[New comment by cesaref in "How memory safety CVEs differ between Rust and C/C++"]]></title><description><![CDATA[
<p>Is it only me that would have expected curl_getenv() to have an assert that it's argument isn't NULL?<p>I know this doesn't stop runtime problems in release builds, but i'd have thought this sort of simple precondition check would help users find problems in their library useage.<p>It's not going to stop you passing a non-terminated string, or other such invalid input though, which is I guess more the point, that it's totally possible in C to produce good looking but actually invalid arguments that can't be spotted at runtime without UB (out of bounds access etc).<p>Edit: Actually thinking about this more, I guess the problem is that you are likely linking against a release library implementation, so it's not possible to add a precondition without introducing a runtime overhead, which is probably more likely what we are talking about with this case.</p>
]]></description><pubDate>Mon, 15 Jun 2026 17:56:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48544824</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=48544824</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48544824</guid></item><item><title><![CDATA[New comment by cesaref in "Int a = 5; a = a++ + ++a; a =? (2011)"]]></title><description><![CDATA[
<p>I think the history of this is that these operations were common with assembly programmers, so when C came along, these were included in the language to allow these developers to feel they weren't leaving lots of performance behind.<p>Look at the addressing modes for the PDP-11 in <a href="https://en.wikipedia.org/wiki/PDP-11_architecture" rel="nofollow">https://en.wikipedia.org/wiki/PDP-11_architecture</a> and you'll see you can write (R0)+ to read the contents of the location pointed to by R0, and then increment R0 afterwards (so a post increment).<p>Back in the day, compilers were simple and optimisations weren't that common, so folding two statements into one and working out that there were no dependencies would have been tough with single pass compilers.<p>You could argue that without such instructions, C wouldn't have been embraced quite so enthusiastically for systems programming, and the world would have looked rather different.</p>
]]></description><pubDate>Thu, 14 May 2026 19:20:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=48139957</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=48139957</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48139957</guid></item><item><title><![CDATA[New comment by cesaref in "Claude Code Found a Linux Vulnerability Hidden for 23 Years"]]></title><description><![CDATA[
<p>I'm interested in the implications for the open source movement, specifically about security concerns. Anyone know is there has been a study about how well Claude Code works on closed source (but decompiled) source?</p>
]]></description><pubDate>Sat, 04 Apr 2026 12:22:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=47638411</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=47638411</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47638411</guid></item><item><title><![CDATA[New comment by cesaref in "Is it a pint?"]]></title><description><![CDATA[
<p>On the subject of the weights and measures to check that a pint is a pint, I remember the father of a friend of mine at university who was responsible for the weights and measures for Staffordshire. I think he was the undersheriff or something like that, and that the official pint was part of the collection.<p>This would have been in the late 80s - i've no idea if it was still in use, but i've a feeling that the law hadn't necessarily moved on, so I guess the official measure could have been required if challenged in court.</p>
]]></description><pubDate>Mon, 23 Mar 2026 19:19:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47493922</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=47493922</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47493922</guid></item><item><title><![CDATA[New comment by cesaref in "From Oscilloscope to Wireshark: A UDP Story (2022)"]]></title><description><![CDATA[
<p>The older Tektronix TDS540 series did this, but at much lower rates as was common in those days though. Internally there are differential feeds from the very beautiful hybrid ceramic input boards to 4 DACs, with some clever switching so that a single input can be sampled by all 4 DACs with a suitable offset to create 4x the sample rate when running with all 4 inputs.<p>The calibration procedure on the scope fiddles with the time alignment to get the different DACs correctly offset so that the combined signal is correct.<p>The hybrid ceramic input boards in their metal cases are a thing of beauty, fragile (don't ask how I know), but beautiful.</p>
]]></description><pubDate>Thu, 19 Mar 2026 23:01:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=47447617</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=47447617</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47447617</guid></item><item><title><![CDATA[New comment by cesaref in "RISC-V Is Sloooow"]]></title><description><![CDATA[
<p>I failed to find this on my skim, my bad :(<p>Interesting that it's mandated as native - i'm really not sure the logic behind this (i've worked in the embedded world where such stuff is not only normal, but the only choice). I'll do some digging and see if I can find the thought process behind this.</p>
]]></description><pubDate>Wed, 11 Mar 2026 20:42:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=47341346</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=47341346</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47341346</guid></item><item><title><![CDATA[New comment by cesaref in "RISC-V Is Sloooow"]]></title><description><![CDATA[
<p>Just out of interest, why aren't they cross compiling RISC-V? I thought that was common practice when targeting lower performing hardware. It seems odd to me that the build cycle on the target hardware is a metric that matters.</p>
]]></description><pubDate>Wed, 11 Mar 2026 10:17:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=47333761</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=47333761</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47333761</guid></item><item><title><![CDATA[New comment by cesaref in "Restoring a Sun SPARCstation IPX part 1: PSU and NVRAM (2020)"]]></title><description><![CDATA[
<p>Nobody misses the terrible optical mouse with the blue metal mouse mat though! You are right, the keyboards were great.</p>
]]></description><pubDate>Mon, 09 Mar 2026 20:43:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=47315243</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=47315243</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47315243</guid></item><item><title><![CDATA[New comment by cesaref in "What does " 2>&1 " mean?"]]></title><description><![CDATA[
<p>The way I read it, the prefix to the > indicates which file descriptor to redirect, and there is just a default that means no indicated file descriptor means stdout.<p>So, >foo is the same as 1>foo<p>If you want to get really into the weeds, I think 2>>&1 will create a file called 1, append to a file descriptor makes no sense (or maybe, truncate to a file descriptor makes no sense is maybe what I mean), but why this is the case is probably an oversight 50 years ago in sh, although i'd be surprised if this was codified anywhere, or relied upon in scripts.</p>
]]></description><pubDate>Fri, 27 Feb 2026 10:09:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=47178753</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=47178753</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47178753</guid></item><item><title><![CDATA[New comment by cesaref in "FDA says companies can claim "no artificial colors" if they use natural dyes"]]></title><description><![CDATA[
<p>Except it has a taste. I think finding something with just the colour and no taste would be a better example of this.</p>
]]></description><pubDate>Wed, 11 Feb 2026 14:59:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=46975763</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=46975763</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46975763</guid></item><item><title><![CDATA[New comment by cesaref in "We tasked Opus 4.6 using agent teams to build a C Compiler"]]></title><description><![CDATA[
<p>Most of the effort when writing a compiler is handling incorrect code, and reporting sensible error messages. Compiling known good code is a great start though.</p>
]]></description><pubDate>Fri, 06 Feb 2026 10:02:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=46911002</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=46911002</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46911002</guid></item><item><title><![CDATA[New comment by cesaref in "xAI joins SpaceX"]]></title><description><![CDATA[
<p>Just out of interest, what's the current 'state of the art' for a chip that is hardened to survive launch and any length of time in orbit?</p>
]]></description><pubDate>Tue, 03 Feb 2026 10:48:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=46869289</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=46869289</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46869289</guid></item><item><title><![CDATA[New comment by cesaref in "Fix macOS 26 (Tahoe) exaggerated rounded corners"]]></title><description><![CDATA[
<p>This has reminded me that in System 7, the code for the window was a system resource (resource forks contained all sorts of code, icons, text dictionaries etc). Anyhow, if you dropped an updated window resource into your system with the correct resource id, you could change this default behaviour. A friend of mine wrote a round window for a clock app, and made a copy with resedit in the system, and a reboot later, all windows were round.<p>It was a very flexible and hackable system, very fragile, and no security whatsoever, but lots of fun!</p>
]]></description><pubDate>Mon, 19 Jan 2026 22:01:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=46685115</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=46685115</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46685115</guid></item><item><title><![CDATA[New comment by cesaref in "C Is Best (2025)"]]></title><description><![CDATA[
<p>The problem with articles like this is that they read a little like justifying a decision that has already been made. I've a feeling that if it was written in C++/Rust/Go/whatever, it would also be possible to justify that decision with similar reasoning.</p>
]]></description><pubDate>Tue, 06 Jan 2026 16:41:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=46514622</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=46514622</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46514622</guid></item><item><title><![CDATA[New comment by cesaref in "Unpowered SSDs slowly lose data"]]></title><description><![CDATA[
<p>I'm interested in why SSDs would struggle with condensation. What aspect of the design is prone to issues? I routinely repair old computer boards, replace leaky capacitors, that sort of thing, and have cleaned boards with IPA and rinsed in tap water without any issues to anything for many years.</p>
]]></description><pubDate>Tue, 25 Nov 2025 12:34:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=46045204</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=46045204</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46045204</guid></item><item><title><![CDATA[New comment by cesaref in "When did people favor composition over inheritance?"]]></title><description><![CDATA[
<p>I think that's an over-simplification. There was pressure on the language to ensure that data structures were compatible with C structs, so avoiding the vtable with simple classes was a win for moving data between these languages.<p>Of course these days with LTO the whole performance space is somewhat blurred since de-virtualisation can happen across whole applications at link time, and so the presumed performance cost can disappear (even if it wasn't actually a performance issue in reality). It's tough to create hard and fast rules in this case.</p>
]]></description><pubDate>Sun, 16 Nov 2025 16:15:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=45946162</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=45946162</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45946162</guid></item><item><title><![CDATA[New comment by cesaref in "Tiny electric motor can produce more than 1,000 horsepower"]]></title><description><![CDATA[
<p>I don't see the weight reduction being very significant.<p>If we take a Tesla model 3, I believe it weighs 1611kg, and the motor shows up at 80kg if you google it (no idea if this is correct). This YASA motor by comparison weighs 14kg. So, this would drop the vehicle weight by 66kg out of 1611, so that's a 4% saving.</p>
]]></description><pubDate>Mon, 03 Nov 2025 14:10:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=45799092</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=45799092</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45799092</guid></item><item><title><![CDATA[New comment by cesaref in "Roc Camera"]]></title><description><![CDATA[
<p>There's the C2PA standard which has picked up momentum recently to I guess help resolve some of the issues.<p><a href="https://www.bbc.co.uk/rd/blog/2024-03-c2pa-verification-news-journalism-credentials" rel="nofollow">https://www.bbc.co.uk/rd/blog/2024-03-c2pa-verification-news...</a><p>I believe various cameras support this, e.g. <a href="https://www.canon-europe.com/press-centre/press-releases/2025/07/eos-r1-and-eos-r5-mark-ii-powerful-new-firmware-and-system-updates/" rel="nofollow">https://www.canon-europe.com/press-centre/press-releases/202...</a><p>`C2PA Authenticity: Integrated support for the C2PA standard for photo authenticity verification – initially available exclusively for registered news agencies.`<p>Sounds like it's limited to some users for now, I guess this will change in the future.<p>Going too far won't really help, since the scene being photographed can be manipulated or staged, which sounds more likely to be a concern rather than the hardware being hacked.</p>
]]></description><pubDate>Fri, 24 Oct 2025 11:52:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=45693673</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=45693673</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45693673</guid></item><item><title><![CDATA[New comment by cesaref in "What Americans die from vs. what the news reports on"]]></title><description><![CDATA[
<p>Ok, i'll turn the sarcasm detector up a notch :)</p>
]]></description><pubDate>Wed, 15 Oct 2025 10:11:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=45590247</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=45590247</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45590247</guid></item></channel></rss>