HNHacker News
TopNewBestAskShowJobs

drifkin

197 karma · joined May 9, 2007

submissionscomments
drifkin··on Apple Pass Designer
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?
drifkin··on Walgit – a Git server that is one binary in front of an object store
the compare-and-swap prevents out-of-sync instances from stomping on the source of truth manifest
drifkin··on Git at any scale
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?

drifkin··on Claude Code: connect to a local model when your quota runs out
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

drifkin··on Rivers Cuomo is an active developer on GitHub
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

drifkin··on The invention of a new pasta shape (2021)
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
drifkin··on A new instrument found unusual success
Cory Henry playing Stevie's "Love's In Need of Love Today" is great https://www.youtube.com/watch?v=RL50VnZY1Kk
drifkin··on FDA Finalizes Rule to Deregulate Hearing Aids
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
drifkin··on San Francisco’s famous sourdough was once gross
I think it's the same
drifkin··on Open Circuits – No Starch Press [pdf]
turns out that Ken Shirriff is the technical reviewer for this book! (I saw this in the early access PDF)
drifkin··on Severance is the workplace thriller we’ve needed
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.
drifkin··on Mindustry – Open-Source Game
https://en.m.wikipedia.org/wiki/Tetris_effect
drifkin··on Watching an acquirer ruin your company
product-market fit
drifkin··on The Typography of Legal Opinions
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.
drifkin··on Study confirms superior sound of a Stradivari is due to wood treatment (2021)
"mils" often means 1/1000th of an inch
drifkin··on Grand jury subpoena for Signal user data, Central District of California
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/...
drifkin··on Apple TV 4K Gets A12 Bionic
It falls back to IR, but will use HDMI-CEC if available. Can be pretty fiddly to get it to work
drifkin··on A speaker placement tip that speaker manuals get wrong (2017)
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
drifkin··on Virtual Machine Detection in the Browser (2019)
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...
drifkin··on Polyphonic overtone singing explained visually (2014) [video]
it's very brief, but she gets quite a reaction from the band at around 6:10: https://www.youtube.com/watch?v=0SJIgTLe0hc
drifkin··on Apple's products are getting harder to use, ignore principles of design (2015)
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.
drifkin··on How to Make Apple’s Mac Pro Holes
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...
drifkin··on Let the Fountain Pens Flow
I've had good luck with Pilot Varsity disposable fountain pens as a left hander. Surprisingly not very smudgy.
drifkin··on Google announces major expansion in New York City
SF is a little under 50 square miles with a population of around 900,000
drifkin··on Keyboard Service Program for MacBook and MacBook Pro
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.
drifkin··on The Math of Card Shuffling
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/...

drifkin··on Show HN: Zones for Node.js using async_hooks
By "similar functionality" are you talking about domains? If so, it's been deprecated for quite a while, but has never been removed.
drifkin··on Planet Shadertoy
Make sure Low Power Mode is off, if it's on it'll have a big effect on performance.
drifkin··on Tutorial for Wykobi – A C++ Computational Geometry Library
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...

drifkin··on Buttery Smooth Emacs
Try using MacVim, it performs much better than using vim with any terminal emulator in OS X.
Page 1 of 3Next →