<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>Sun, 29 Nov 2026 10:13:34 +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 "C's designated initializers give us named arguments"]]></title><description><![CDATA[
<p>I do wonder how many times setting the same member twice is a bug rather than a feature. I can imagine quite a bit of copy/paste leading to errors like this.</p>
]]></description><pubDate>Thu, 19 Nov 2026 16:22:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=50562127</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=50562127</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50562127</guid></item><item><title><![CDATA[New comment by cesaref in "Key symbols we lost to time, pt. 2: The Mac side"]]></title><description><![CDATA[
<p>I think back in the day (say the late 80s) it became apparent to those in charge that this new IT thing was going to be very important in the workplace, and that it was going to be important to train up people to operate computers.<p>Given those in charge were probably one finger typists if that, and befuddled by technology, they would collectively have decided that computers should be standardised so that learnt skills would be transferrable, and therefore they probably imposed ideas like standardised keyboard layouts.<p>Of course it turned out that the next generation were totally capable of operating computers without any formal training, were totally fine with different operating systems, different keyboard layouts, different applications etc, and so there was probably lots of wasted effort solving a non-existent problem.</p>
]]></description><pubDate>Sun, 20 Sep 2026 17:16:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=49777797</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=49777797</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49777797</guid></item><item><title><![CDATA[New comment by cesaref in "Subnormal floating-point numbers are expensive on Intel processors"]]></title><description><![CDATA[
<p>It used to be quite normal to add a low level random signal to inputs when writing DSP code so as to avoid dropping into subnormal territory. Careful analysis of the algorithm would identify any points where this was also necessary (e.g. feedback paths when running delays).<p>Obviously those lucky/unlucky enough to be writing 56k fixed precision code wouldn't have this concern, but other ones instead :)<p>I think flush to zero is probably the preferred strategy these days.</p>
]]></description><pubDate>Fri, 18 Sep 2026 14:05:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=49754603</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=49754603</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49754603</guid></item><item><title><![CDATA[New comment by cesaref in "Don't let anyone take away your big box of cables"]]></title><description><![CDATA[
<p>How on earth do you survive with just one big box of cables? I've got mine sorted into plastic storage boxes with labels, so things like 'Firewire' or 'Monitor' or 'SCSI' can get me to a particular box to sort through. I recently needed a SCSI-2 terminator to connect a CD-ROM drive to a 1990s sampler, and my box came up trumps. It's so pleasing when you find stuff like that...</p>
]]></description><pubDate>Thu, 10 Sep 2026 16:25:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=49646378</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=49646378</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49646378</guid></item><item><title><![CDATA[New comment by cesaref in "Porting my 1993 Amiga game to Godot, with an LLM reading the 68000 assembly"]]></title><description><![CDATA[
<p>I noticed he mentioned that his game was running at 50hz - that's true if an Amiga is running on PAL, but if it's a US machine it'll be 60hz when running with NTSC.<p>Back in the day, most Amiga games were made in Europe, so were tuned for 50Hz refresh, and played 'normally' over here. At 60hz, they would feel wrong, and likewise, US games could feel sluggish and unsatisfying.<p>Locking the machine to the monitor refresh rate in this way was a curse but also a blessing. It allowed the machines to drive a standard television in various regions, although the image was somewhat blurry, but also the use of dedicated monitors once you started taking it seriously. This reduced the price point and allowed lots of kids to convince their parents to get one :) The higher resolution modes just didn't work out though, so lots of stuff targeted the 320x256 resolution.<p>The surprise benefit was also that the amiga could genlock to a TV signal and used to overlay onto a video feed, leading to many interesting cheap graphics overlay capabilities which were otherwise totally unobtainable by small TV channels or enthusiasts.<p>Those were happy days.</p>
]]></description><pubDate>Fri, 04 Sep 2026 10:45:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=49562824</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=49562824</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49562824</guid></item><item><title><![CDATA[New comment by cesaref in ""No way to prevent this" say users of only language where this regularly happens"]]></title><description><![CDATA[
<p>'the only language where 90% of the world's memory safety vulnerabilities have occurred in the last 50 years'<p>Let's assume this is true, and ignoring the fact that it's not possible for more than 1 language to have >50% of the vulnerabilities, we are left pondering what proportion of the worlds software is written in C. If it's >90%, then C is safer than average :)</p>
]]></description><pubDate>Thu, 27 Aug 2026 12:53:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=49464072</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=49464072</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49464072</guid></item><item><title><![CDATA[New comment by cesaref in "Sony Deletes a Bunch More Movies from the Accounts of People Who 'Bought' Them"]]></title><description><![CDATA[
<p>All information is ephemeral, but I don't honestly think that argument holds much weight here.<p>I'm currently listening to a record which was pressed before I was born, and that will outlast me. My CDs were ripped around 2000 to a drive and i've streamed then since. I've still got the CDs though, and the last time I played one it worked fine on my 1989 vintage transport.<p>I think i'm good.</p>
]]></description><pubDate>Thu, 16 Jul 2026 15:17:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=48935754</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=48935754</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48935754</guid></item><item><title><![CDATA[New comment by cesaref in "US Supreme Court Just Blew Up EU-US Data Transfers"]]></title><description><![CDATA[
<p>Ah, of course. Interesting.</p>
]]></description><pubDate>Tue, 30 Jun 2026 10:21:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48730643</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=48730643</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48730643</guid></item><item><title><![CDATA[New comment by cesaref in "US Supreme Court Just Blew Up EU-US Data Transfers"]]></title><description><![CDATA[
<p>Unless that site collects personal information, it's fine isn't it? This isn't about where stuff is hosted, it's about privacy.</p>
]]></description><pubDate>Tue, 30 Jun 2026 08:37:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=48729994</link><dc:creator>cesaref</dc:creator><comments>https://news.ycombinator.com/item?id=48729994</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48729994</guid></item><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></channel></rss>