News for hackers. Stuff that matters.

drifkin

Re:Apple Pass Designer on Friday October 02, 2026 @04:31PM (#49938253)
that's what I was most excited for with the new built-in iOS pass creator, but it doesn't seem to have that feature?
the compare-and-swap prevents out-of-sync instances from stomping on the source of truth manifest
Re:Git at Any Scale on Thursday August 20, 2026 @10:51PM (#49383140)
hmmm, I think they might be using a quorum-based 3PC variant. Reading <https://github.blog/engineering/infrastructure/building-resi...> does make it seem like they only need a majority to commit instead of all nodes.

Ah, and then it looks like the losing nodes get marked unhealthy:

> In essence, every write operation goes through a voting protocol, and any replicas on the losing side of the vote are marked as unhealthy—unavailable for reads or writes—until they can be repaired. Repairs are automatic and quick. Because a majority agreed either to accept or to roll back the update, there are still at least two replicas available to continue accepting both reads and writes while the unhealthy replica is repaired.

But not sure how unhealthy nodes are discovered. Maybe the coordinator marks them, and if the coordinator crashes it allows stale reads and detects invalid writes?

Re:Claude Code: connect to a local model when your quota runs out on Wednesday February 04, 2026 @04:42PM (#46892218)
we recently added a `launch` command to Ollama, so you can set up tools like Claude Code easily: https://ollama.com/blog/launch

tldr; `ollama launch claude`

glm-4.7-flash is a nice local model for this sort of thing if you have a machine that can run it

Guessing you're talking about this interview? https://youtu.be/1UES4gQZH6o?si=X_zP2AKmvVrkpVi4&t=1069

I just saw it a couple of weeks ago, it's great. I linked to him trying to remember one of those lines, but the whole interview is worth listening to

Re:The Invention of a New Pasta Shape on Saturday January 27, 2024 @07:26PM (#39161278)
I came here to the comments to mention the shape "Cresti di Gallo", which I had for the first time recently and really enjoyed. I suspect it might just be another name for the same shape you posted, so maybe you can find another brand you like
Re:A new instrument found unusual success on Saturday August 19, 2023 @01:05AM (#37185699)
Cory Henry playing Stevie's "Love's In Need of Love Today" is great https://www.youtube.com/watch?v=RL50VnZY1Kk
Re:FDA Finalizes Rule to Deregulate Hearing Aids on Saturday May 06, 2023 @07:10PM (#35846197)
The AirPods Pro already have a bunch of features that overlap quite a bit with hearing aids (e.g., importing audiograms), but it'll be interesting to how it evolves: https://support.apple.com/en-us/HT211218
Re:San Francisco’s famous sourdough was once gross on Friday September 23, 2022 @04:00PM (#32956379)
I think it's the same
Re:Open Circuits – No Starch Press [pdf] on Sunday August 28, 2022 @08:07PM (#32633449)
turns out that Ken Shirriff is the technical reviewer for this book! (I saw this in the early access PDF)
Re:Severance is the workplace thriller we’ve needed on Sunday August 14, 2022 @12:54AM (#32456462)
I love both the show & Egan's writing, but Egan's stuff feels a lot more optimistic to me. I do like the theory that things are not quite what they seem in Severance and there might be a Ndoli Jewel-type device involved.
Re:Watching an acquirer ruin your company on Saturday July 02, 2022 @11:25PM (#31964771)
product-market fit
Re:The Typography of Legal Opinions on Saturday June 25, 2022 @03:48AM (#31873364)
GoodReader on iPad has this (though you set it for the document manually). It even lets you choose a different view-time crop for odd and even page numbers.
"mils" often means 1/1000th of an inch
You can send an invisible push notification that tells an iOS app to wake up in the background and check for updates: https://developer.apple.com/documentation/usernotifications/...
Re:Apple TV 4K Gets A12 Bionic on Wednesday April 21, 2021 @03:49PM (#26894526)
It falls back to IR, but will use HDMI-CEC if available. Can be pretty fiddly to get it to work
Most midrange A/V receivers come with mics these days to do this sort of calibration. For example, Denon's version of this is called Audyssey http://manuals.denon.com/avrx4100w/NA/EN/GFNFSYnuokgukf.php
Re:Virtual Machine Detection in the Browser (2019) on Saturday December 19, 2020 @12:58AM (#25475450)
Related: a 2014 paper on using timing side channels to detect being in a VM from within browsers https://www.usenix.org/system/files/conference/woot14/woot14...
it's very brief, but she gets quite a reaction from the band at around 6:10: https://www.youtube.com/watch?v=0SJIgTLe0hc
I think it's a three-finger swipe, isn't it? Though while trying it out, I did discover that a three-finger tap now shows another menu that makes undo/redo a little easier.
Re:How to Make Apple’s Mac Pro Holes on Wednesday June 26, 2019 @01:09AM (#20282068)
Same! I didn't realize it wasn't just circles cut on two sheets of metal until I saw this video on their design page: https://www.apple.com/105/media/us/mac-pro/2019/36178e80-30f...
Re:Let the Fountain Pens Flow on Saturday December 29, 2018 @08:55PM (#18786877)
I've had good luck with Pilot Varsity disposable fountain pens as a left hander. Surprisingly not very smudgy.
Re:Google announces major expansion in New York City on Tuesday December 18, 2018 @12:57AM (#18704804)
SF is a little under 50 square miles with a population of around 900,000
Re:Keyboard Service Program for MacBook and MacBook Pro on Friday June 22, 2018 @07:12PM (#17378300)
I believe the iPhone 1 didn't have an oleophobic coating, which I think is what normally gets scratched. IIRC it was just plain glass, which is a lot harder to scratch.
Re:The Math of Card Shuffling on Sunday June 17, 2018 @09:22PM (#17335320)
Persi Diaconis is fascinating, it's definitely worth reading through his biography [1].

A small preview: after leaving high school at 14 to travel as a magician, a little more than a decade later he managed to get into grad school at Harvard, largely due to a letter of recommendation about his magic abilities (apparently that's a thing).

I also really enjoyed that he was shy revealing his background in magic to other Stanford faculty until he discovered that Paul Lévy also studied perfect shuffling [2].

[1]: http://www-history.mcs.st-andrews.ac.uk/Biographies/Diaconis...

[2]: https://www.chronicle.com/article/The-Magical-Mind-of-Persi/...

Re:Show HN: Zones for Node.js using async_hooks on Sunday April 22, 2018 @05:52PM (#16898802)
By "similar functionality" are you talking about domains? If so, it's been deprecated for quite a while, but has never been removed.
Re:Planet Shadertoy on Saturday February 24, 2018 @10:12PM (#16456908)
Make sure Low Power Mode is off, if it's on it'll have a big effect on performance.
For an introduction to computational geometry in general, I've enjoyed these lecture notes from Leonidas Guibas [1]. There are some more specific class notes at [2].

[1] http://graphics.stanford.edu/courses/cs268-16-fall/Notes/tor...

[2] http://graphics.stanford.edu/courses/cs268-16-fall/notes.htm...

Older »