News for hackers. Stuff that matters.

karlding

Keep in mind that overlay file systems are designed to treat the lower layer as read only. Changes made in the merged view are written to the upper layer while the original lower files are untouched.

So if you need to persist changes into the lower layers, I think you may need to do tricks like taking snapshots and then swapping the bind mount (maybe with some diffing logic) or some other offline methods.

Re:Relicensing with AI-Assisted Rewrite on Thursday March 05, 2026 @12:53AM (#47258030)
I am not a lawyer, but from my understanding the legal precedent is NEC v. Intel which established that clean-room software development is not infringing, even if it performs the same functionality as the original.

As an aside, this clean room engineering is one of the plot points of Season 1 of the TV show Halt and Catch Fire where the fictional characters do this with the BIOS image they dumped.

You can write automated refactoring with clang tools if you need AST-level knowledge across your project (or monorepo).

I’m not sure if there’s other public examples leveraging this, but Chromium has this document [0] which has a few examples. And there’s also the clang-tidy docs [1].

[0] https://chromium.googlesource.com/chromium/src/+/80a6fc33dee...

[1] https://releases.llvm.org/21.1.0/tools/clang/tools/extra/doc...

Do you handle books with no ISBN?

I’ve recently acquired some photo books that don’t appear to have any ISBN but are listed on WorldCat and have OCLC Numbers and are catalogued in the Japanese National Diet Library. Not sure if they actually don't have ISBNs or if I just haven't been able to find them, but from what I got from some research it's quite common for self-published books.

Re:Minecraft removing obfuscation in Java Edition on Wednesday October 29, 2025 @04:25PM (#45752573)
Said online multiplayer [0].

The devs also wrote a write-up here about how they handle the desyncs in netcode [1].

[0] https://slippi.gg/

[1] https://medium.com/project-slippi/fighting-desyncs-in-melee-...

I'm not sure if you're aware, but there's the Wheel Variants proposal [0] that the WheelNext initiative is working through that was presented at PyCon 2025 [1][2], which hopes to solve some of those problems.

uv has implemented experimental support, which they announced here [3].

[0] https://wheelnext.dev/proposals/pepxxx_wheel_variant_support...

[1] https://us.pycon.org/2025/schedule/presentation/100/

[2] https://www.youtube.com/watch?v=1Oki8vAWb1Q

[3] https://astral.sh/blog/wheel-variants

If you watch the video, (one of) the reasons why the AI was winning was because it was using “meta” information from the Street View camera images, and not necessarily because it’s successfully identifying locations purely based on the landmarks in the image.

> I realized that the AI was using the smudges on the camera to help make an educated guess here.

[0] https://youtu.be/ts5lPDV--cU?t=1412

Things like cargo-crev [0] or cargo vet [1] aim to tackle a subset of that problem.

There’s also alternate implementations of crev [2] for other languages, but I’m not sure about the maturity of those integrations and their ecosystems.

[0] https://github.com/crev-dev/cargo-crev

[1] https://mozilla.github.io/cargo-vet/

[2] https://github.com/crev-dev/crev/

The University of Waterloo has a similar course, CS452: Real-time Programming.

It’s not quite the same as having physical access to the train set, but a student eventually wrote a simulator for the Märklin train set [0]. Another student wrote an emulator for the TS-7200 used for the class [1] if you don’t want to test your kernel in QEMU.

[0] https://github.com/Martin1994/MarklinSim

[1] https://github.com/daniel5151/ts7200

Re:AirPods Causing Tinnitus? on Saturday March 04, 2023 @04:18PM (#35024585)
I don't own AirPods, but one of the things that I've struggled with after the proliferation of headphone jack removal is that on all the Bluetooth headphones/earbuds I've tried the lowest volume setting is still too loud. I normally use Shure SE215s wired, but I've tried the Sennheiser PXC550, Sony WH-1000XM3, Jabra Elite 7 Sport with similar impressions, and tried using my work 2021 MacBook Pro as the audio source instead of my phone. Surely I'm not the only one who feels this way?

On my Samsung phone, I've had to manually set individual app volumes to 80% via Sound Assistant, have additional volume steps enabled, and have the system sound set to the lowest setting when using Bluetooth.

Rob ter Horst's (The Quantified Scientist) test results compared against a fingertip pulse oximeter—which include at ground level and on flights—seem to indicate that they're okay for detecting whether your SpO2 readings are normal/abnormal. Basically it seems that if you get a one-off abnormal reading then it's possible for it to be a false positive, while you're unlikely to consistently get false positive results.

See the video for the Apple Watch Series 6 [0], and Series 7 [1].

There's also tests for the Series 8 [2], although it doesn't include data collected in a low oxygen environment.

[0] https://youtube.com/watch?v=8HIcwMhEny0

[1] https://youtube.com/watch?v=EI-Bsvo7sHs

[2] https://youtube.com/watch?v=u8XbiWIUW4s

Re:Avoiding homework with code and getting caught on Friday September 23, 2022 @03:48AM (#32949109)
To me, it sounds more like the old system that WaterlooWorks replaced (JobMine). JobMine was just Oracle/PeopleSoft's PeopleTools under the hood.

Some of my friends who graduated earlier told stories about how JobMine at one point accepted resumes in HTML. Of course, this also meant that it was vulnerable to XSS attacks. The eventual fix was just to only allow PDF resumes.

Re:We're improving search results when you use quotes on Thursday August 04, 2022 @11:08PM (#32351087)
There's a "Typo-tolerance" option [0] HN exposes in the search settings [1]. If you disable that, then those results no longer show up.

[0] https://www.algolia.com/doc/guides/managing-results/optimize...

[1] https://hn.algolia.com/settings

Re:Love Song to Costco on Monday July 11, 2022 @12:07AM (#32052071)
I think the break even point for the upgrade is actually $3k/year, not $2k/year?

The standard Gold Star Membership costs $60/year, and the Gold Star Executive Membership costs $120/year [0]. This is an additional $60/year (ignoring sales tax, etc.).

In order to break even, you need to earn at least $60 using the 2% cash back from the Executive Membership in order to cover the upgrade. This works out to ($60/year) / 0.02 = $3k/year.

[0] https://customerservice.costco.com/app/answers/detail/a_id/8...

This is called the "inverted pyramid" structure [0]. It's definitely less common in the era of online media.

[0] https://en.wikipedia.org/wiki/Inverted_pyramid_(journalism)

Older »