<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: repiret</title><link>https://news.ycombinator.com/user?id=repiret</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 08 Sep 2026 13:27:39 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=repiret" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by repiret in "The NX bit is not just about security"]]></title><description><![CDATA[
<p>No, the problem really is the prefetch itself when there are undesirable side-effects if the bus sees that memory read.</p>
]]></description><pubDate>Mon, 07 Sep 2026 05:08:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=49594113</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=49594113</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49594113</guid></item><item><title><![CDATA[New comment by repiret in "The NX bit is not just about security"]]></title><description><![CDATA[
<p>Speculative instruction fetches fetch code from "a location that you never asked it to execute code at" by design.  If it already knew you asked it to execute code there, it wouldn't be speculative.<p>The Armv8/9-A architecture reference manual is clear that speculative instruction fetches are permitted in Device memory unless that memory is also marked NX.  So if your hardware has side-effects from a certain address, but it maps it as Device non-NX memory, then your code is not "perfectly good and correct".  Assigning correct memory attributes is one of the many things needed for correct code.</p>
]]></description><pubDate>Mon, 07 Sep 2026 04:32:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=49593923</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=49593923</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49593923</guid></item><item><title><![CDATA[New comment by repiret in "The NX bit is not just about security"]]></title><description><![CDATA[
<p>"Speculative instruction fetch to device memory crashes device" is in my list of favorite bugs ever found.  I had ran into it on a Cortex-M4 without an MPU, so I couldn't even fix the memory attributes, the only solution was to gerrymander the compiled code to prevent the speculative fetch.<p>It's crazy that Armv8/9-A permits speculative instruction fetches to device memory.  Crazy enough that I had to look it up to believe it:<p>"Hardware does not prevent speculative instruction fetches from a memory location with any of the Device memory attributes unless the memory location is also marked as execute-never for all Exception levels." - ARM DDI 0487K.a § B2.15.2<p>The Armv7-M spec is less clear.  It does say: "The architecture does not permit speculative accesses to memory marked as Device," in contrast to Armv8/9-A which qualifies a similar statement with "data accesses".  But then it later says "To ensure correctness, read-sensitive locations must be marked as non-executable".  (This is all from ARM DDI 0403E.e § A3.5.7)<p>I don't have v7-A older handy to compare what they say.</p>
]]></description><pubDate>Mon, 07 Sep 2026 04:20:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=49593859</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=49593859</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49593859</guid></item><item><title><![CDATA[New comment by repiret in "Stop sending me your errors"]]></title><description><![CDATA[
<p>I configure Mutt to run the HTML part through w3m and show me that instead of the text part, because of this exact misuse of multipart/alternative.</p>
]]></description><pubDate>Wed, 05 Aug 2026 23:12:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=49190325</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=49190325</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49190325</guid></item><item><title><![CDATA[New comment by repiret in "Hybrid-Electric Aicraft Engine Targeting 30% Fuel Efficiency"]]></title><description><![CDATA[
<p>Most transport category aircraft have a better glide ratio than most single engine GA planes when configured for best glide.  But they don’t cruise descend at best glide speeds or at idle thrust.<p>I’m talking about turbo props because the article’s hybrid technology is specifically for turbo props.<p>My challenge stands: find me a turbo prop that would be happy at idle thrust for either approach or cruise descent.</p>
]]></description><pubDate>Sun, 26 Jul 2026 01:35:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=49053712</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=49053712</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49053712</guid></item><item><title><![CDATA[New comment by repiret in "Hybrid-Electric Aicraft Engine Targeting 30% Fuel Efficiency"]]></title><description><![CDATA[
<p>A car going down a slight hill on the freeway still needs a bit of gas to maintain speed.<p>My assertion is that there are no turboprop plans that can maintain a 3° glideslope at normal approach speed without thrust from the engines.  If you think there is such a plane, name the type, and show me a citation from it's POH to support the claim.</p>
]]></description><pubDate>Fri, 24 Jul 2026 15:39:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=49037268</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=49037268</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49037268</guid></item><item><title><![CDATA[New comment by repiret in "Hybrid-Electric Aicraft Engine Targeting 30% Fuel Efficiency"]]></title><description><![CDATA[
<p>Not really much room. Unlike a car going down a hill, an airplane descending still wants thrust from the engines, just not as much as in cruise.</p>
]]></description><pubDate>Thu, 23 Jul 2026 17:36:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=49025319</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=49025319</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49025319</guid></item><item><title><![CDATA[New comment by repiret in "Hybrid-Electric Aicraft Engine Targeting 30% Fuel Efficiency"]]></title><description><![CDATA[
<p>Don’t conflate airplanes with rockets.<p>On an airplane, most of the energy in cruise is spent overcoming parasitic drag, not induced drag. It’s spent pushing the airmass out of the way as it moves forward, not creating lift to stay aloft.<p>For that reason, a change in weight does not significantly change cruise fuel usage.<p>Weight is still precious, but that’s because airplanes’ load are more often weight constrained than volume constrained, and capital and operating costs are such that you want to maximize the load.</p>
]]></description><pubDate>Thu, 23 Jul 2026 17:30:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=49025239</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=49025239</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49025239</guid></item><item><title><![CDATA[New comment by repiret in "Netstrings (1997)"]]></title><description><![CDATA[
<p>strlen for netstring is O(log n).</p>
]]></description><pubDate>Fri, 17 Jul 2026 02:34:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=48942790</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=48942790</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48942790</guid></item><item><title><![CDATA[New comment by repiret in "Netstrings (1997)"]]></title><description><![CDATA[
<p>It's mathematically impossible to describe an arbitrary length in a fixed length.</p>
]]></description><pubDate>Fri, 17 Jul 2026 02:32:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=48942778</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=48942778</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48942778</guid></item><item><title><![CDATA[New comment by repiret in "Netstrings (1997)"]]></title><description><![CDATA[
<p>Because then the caller needs to treat it differently from non-empty buffers.</p>
]]></description><pubDate>Fri, 17 Jul 2026 02:30:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48942771</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=48942771</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48942771</guid></item><item><title><![CDATA[New comment by repiret in "Claude Fable 5: mid-tier results on coding tasks"]]></title><description><![CDATA[
<p>I live in the United States. I write software for a living. My wife is a physician.<p>If I had a need to spend $2k, I could do so easily, but I still think it’s a lot of money to burn. I wouldn’t spend it on a whim; I would not spend it without carefully, considering the value of what I get.<p>I would not even spend that much money in the businesses that I own, or recommended that my well capitalized employer spend that much money without being reasonably confident that the business would get good value for its money.</p>
]]></description><pubDate>Fri, 12 Jun 2026 14:54:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=48504984</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=48504984</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48504984</guid></item><item><title><![CDATA[New comment by repiret in "A Bipartisan Amendment Would End Police License Plate Tracking Nationwide"]]></title><description><![CDATA[
<p>This feels like too far the other direction.  I am of the opinion that the following are all reasonable, and I think most people would agree with me:<p>* Toll enforcement (the only thing allowed by the law)<p>* Speeding enforcement<p>* Parking enforcement<p>* Real-time alerting for vehicles that could be pulled over if you knew nothing other than the vehicle's identity.  Stolen, unregistered, uninsured, amber-alert, etc. [1]<p>I think the following are all unreasonable, and I think most people would agree with me:<p>* Selling the data for any commercial purposes (perhaps with the exception of aggregated statistical data)<p>* Mining the data "suspicious patterns of activity".<p>I think the following is reasonable, but some people may disagree:<p>* Retaining the data for a limited time, so that if a crime is reported involving a specific vehicle, you can look back for sightings of the vehicle contemporaneous with the crime to help catch the bad guys.<p>Given my thoughts on what is and is not reasonable, I think the ideal policy is one that focuses on limiting retention, limiting sharing, and limiting the types of queries that can be performed on the data.  Something like:<p>* Can retain the data for 90 days.  Data that is evidence of a specific crime can be kept longer with the evidence file for that crime, and destroyed when the investigation is done.<p>* Can use the data where knowing a series of (time, place) pairs for a vehicle is probable cause of an infraction (or toll due).  This covers speeding and parking and tools and red lights and registration/etc, but doesn't allow looking for suspicious patterns of activity.<p>* Can query the data for sightings of a specific vehicle with reasonable suspicion that the vehicle was involved in a crime.  Need to keep records of these queries to identify abuse.  Maybe need to notify owner when such a query is made.<p>* Can not disclose the data to third parties, except in the case when they agree to follow all these same rules (so you can share with other departments or law enforcement service providers, but that doesn't enable an end-run around the rules)<p>[1]: And I think it's important here that if data about a vehicle be eligible to be pulled over knowing nothing but it's license plate is out of date or otherwise wrong, then someone gets in serious trouble.  Otherwise nobody is incentivized to keep their database up to date.</p>
]]></description><pubDate>Thu, 21 May 2026 16:32:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48225442</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=48225442</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48225442</guid></item><item><title><![CDATA[New comment by repiret in "U.S. DOJ demands Apple and Google unmask over 100k users of car-tinkering app"]]></title><description><![CDATA[
<p>I don't care too much about hot-rodders either.  California specifically requires the original emissions equipment remain intact.  Here's two cases where that fails:<p>1. Close to 20 years ago I read about someone who converted a car to an EV with an old electric forklift motor, but then couldn't register the car.  It was a model year that still required smog checks, but it couldn't pass a smog check because the original emissions equipment wasn't installed anymore.<p>2. My brother inherited our dad's 1992 pickup, and tries to keep it in running order mostly out of nostalgia.  He would like to replace the engine with a newer model that would burn less fuel, produce more power, and correctly installed, no doubt would have lower emissions.  But then it wouldn't pass the smog check, because it wouldn't still have the original emissions equipment.<p>Having said all that, I agree that it disproportionately impacts the poor, because the poor tend to drive older cars that are more likely to need repairs to pass an inspection, and because the inspection fees make a larger impact on the budget of the poor, and because the employment flexibility to be without their car for half a day for the inspection, or longer if repairs are needed, is not as common among the poor.  You could subsidize the inspections for low value cars, which would help with the cost aspect, but I don't know a way to solve the other aspects beyond trying to find the minimum amount of inspection that meets the policy goals.</p>
]]></description><pubDate>Sat, 16 May 2026 02:17:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=48156206</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=48156206</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48156206</guid></item><item><title><![CDATA[New comment by repiret in "U.S. DOJ demands Apple and Google unmask over 100k users of car-tinkering app"]]></title><description><![CDATA[
<p>Periodic vehicle inspection for emissions and safety compliance.  Many jurisdictions already have this for gas engine emissions, a handful of states already have safety inspections.  Done right, it can be low burden and low cost, and basically put an end to Def deletion.  Done poorly it's grift to the shops that do the inspections, and an economically external annoyance to vehicle owners, and unnecessarily limits the ability of people to tinker with their own vehicles.</p>
]]></description><pubDate>Fri, 15 May 2026 20:44:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=48153565</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=48153565</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48153565</guid></item><item><title><![CDATA[New comment by repiret in "If AI writes your code, why use Python?"]]></title><description><![CDATA[
<p>My experience is that there's a correlation between powerful type systems and the property that once your program compiles, it's correct.  Compiles == correct is rarely true in C or JavaScript.  It's often true in Haskell and Rust.  TypeScript is somewhere in between C and Rust.<p>There's a niche available for a language which is relatively easy for a human to read, but with a very powerful at the expense of difficult to use type system.  The language would let you make all sorts of assertions whose meaning are easy for the human to see, but to compile would need to come along with correctness proofs.  The language is meant to be written by AI, which can battle the compiler, and write the proofs, but then read by humans who can verify that the AI wrote the program they wanted and/or direct the AI to make changes.</p>
]]></description><pubDate>Tue, 12 May 2026 05:17:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=48104465</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=48104465</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48104465</guid></item><item><title><![CDATA[New comment by repiret in "Philly courts will ban all smart eyeglasses starting next week"]]></title><description><![CDATA[
<p>Assuming you mean in the United Stares, can you cite a specific law or court case to support your position?<p>It occurs to me that the existence of paparazzi seems to be evidence against your position.</p>
]]></description><pubDate>Mon, 30 Mar 2026 03:04:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47569963</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=47569963</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47569963</guid></item><item><title><![CDATA[New comment by repiret in "Claude Code runs Git reset –hard origin/main against project repo every 10 mins"]]></title><description><![CDATA[
<p>Or just `strace`.</p>
]]></description><pubDate>Mon, 30 Mar 2026 01:31:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=47569437</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=47569437</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47569437</guid></item><item><title><![CDATA[New comment by repiret in "Police used AI facial recognition to wrongly arrest TN woman for crimes in ND"]]></title><description><![CDATA[
<p>This isn't the first time this month I've read about someone suffering consequences of mistaken identity after their facial recognition said they look like someone who committed a crime.  I'm sure this is starting to happen at an alarming rate.<p>The fundamental problem is that among the 350 million people living in the United States, there are a lot of pairs of people who look pretty darn similar.  It used to be impractical to ask a question like "who in the US looks like the person in this security footage", and so as a matter of practicality, once you found someone who looks like the suspect, you probably also have other evidence, even if it's pretty weak, linking them to the crime.<p>But with AI, you can ask "who in the US looks like this person", and so we need to re-calibrate what it means if all you know is that someone looks like a suspect.  I am of the opinion that "looks like someone," in the absence of any other evidence, is reasonable suspicion, but not probable cause, that you are the person you look like.  Reasonable suspicion is enough for the police to stop you on the street and ask for your ID, but not enough to arrest you.  There are other data points that alone might not even be reasonable suspicion, but could be combined with "looks like someone" to make probable cause, such as "was near the place at the time the crime happened".<p>AI isn't really the problem, even whether or not the AI's determination that two people look alike is valid or reviewed by a human isn't the problem.  The problem is assuming that because two people look alike they must be the same person, even if you have no other evidence of them being the same person.</p>
]]></description><pubDate>Sun, 29 Mar 2026 23:46:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=47568690</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=47568690</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47568690</guid></item><item><title><![CDATA[New comment by repiret in "Castlevania and Bloodstained developer Shutaro Ida dies aged 52"]]></title><description><![CDATA[
<p>If, like me, you were wondering how a 52 year old could have been a developer on a game you remember playing on an NES in the late 80s or early 90s: It looks like Īda's Castlevania involvement started around 2003, working in increasingly senior roles on Castlevania games released since then.</p>
]]></description><pubDate>Mon, 16 Feb 2026 19:39:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47039305</link><dc:creator>repiret</dc:creator><comments>https://news.ycombinator.com/item?id=47039305</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47039305</guid></item></channel></rss>