News for hackers. Stuff that matters.

veloxo

Re:Someone at YouTube Needs Glasses on Wednesday April 30, 2025 @02:49PM (#43849247)
Re:Soda-Can Planimeter on Saturday May 25, 2024 @01:29PM (#40476469)
"Coke can" is a phrasal adjective here and ought to be hyphenated, which removes the ambiguity: "Coke-can planimeter"
For some use cases, copper-foil adhesive tape can be bought relatively cheaply.

I've applied it to some frequently-wet surfaces to successfully prevent microbial growth that previously had to be sanitized on a regular basis.

The adhesive keeps keeps it watertight to the surface, but the stuff I got could also be peeled off without residue. Because it's copper, it does develop a patina and leach green copper oxide onto towels when wiped. Brass tape may be a less-corrosive alternative.

People also use it for EM shielding, eg around electric guitar pickups.

Re:macOS Command Line on Wednesday December 07, 2022 @05:45PM (#33901460)
For mapping UI preferences to corresponding plist keys, https://github.com/catilac/plistwatch will monitor and output real-time changes. May be easier than diffing snapshots of `defaults read`.

This doesn't help with "secret" settings that aren't exposed through the UI, but can be handy for creating setup scripts.

Re:Computer Latency: 1977-2017 on Sunday November 20, 2022 @03:56PM (#33685201)
FWIW, a quick ballpark test shows <30 ms minimum keyboard latency on my M1 Max MacBook, which has a 120-hz display.

  Sublime Text: 17–29 ms
  iTerm (zsh4humans): 25–54 ms
  Safari address bar: 17–38 ms
  TextEdit: 25–46 ms
Method: Record 240-fps slo-mo video. Press keyboard key. Count frames from key depress to first update on screen, inclusive. Repeat 3x for each app.