News for hackers. Stuff that matters.

paulsmith

Re:A Man from the Future: Why Johnny Can't Stop Abstracting on Monday October 26, 2026 @10:31PM (#50254062)
This book is fantastic. Highly recommended if you have any interest in how the stored program computer came to be. The Dyson name apparently led to unrivaled access to first-hand accounts.
Alternately, hold the power button and either volume button together for a few seconds.
I like this approach. Something related I've been tinkering with are "protected bookmarks" - you declare what bookmarks (main, etc) are protected in your config.toml and the normal `jj bookmark` commands that change the bookmark pointer will fail, unless you pass a flag. So in your local "CI" script you can do `jj bookmark set main -r@ --allow-protected` iff the tests/lints pass. Pairs well with workspaces and something that runs a local CI (like a watcher/other automated process).

I haven't yet submitted it to upstream for design discussion, but I pushed up my branch[1]. You can also declare a revset that the target revision must match, for extra belts and suspenders (eg., '~conflicts()')

[1] https://github.com/paulsmith/jj/tree/protected-bookmarks

Re:Frinkiac – 3M "The Simpsons" Screencaps on Saturday December 06, 2025 @09:54AM (#46173778)
I'm glad you shared this because, in my head this Dr. Nick quote is so canonical it must be from the original golden 8 seasons, so it's nice to be reminded there are occasionally good things after! ;^)
Re:iPhone Pocket: a beautiful way to wear and carry iPhone on Tuesday November 11, 2025 @10:49AM (#45888684)
lol I came here to post this too - perfect
Re:I Love OCaml on Friday November 07, 2025 @01:04PM (#45849093)
As an OCaml-curious, is this the community recommendation, to choose the Jane Street stdlib if you’re just getting started?
Re:HTML Slides with notes on Friday November 07, 2025 @09:12AM (#45846582)
You can wrap the navigation event in document.startViewTransition() and get something basic out of the box:

https://codepen.io/pauladamsmith/pen/VYeJMMb

Re:Claude Code 2.0 on Monday September 29, 2025 @02:08PM (#45416885)
> Unfortunately, they removed Plan mode

If I hit shift-Tab twice I can still get to plan mode

Re:Zip Code Map of the United States on Tuesday September 23, 2025 @04:17PM (#45352218)
In that case, each county that corresponds to that ZIP Code is shown and the user can disambiguate manually.
Re:Zip Code Map of the United States on Tuesday September 23, 2025 @01:40PM (#45350345)
For example, health care plans in the US are county-specific with regard to premiums, co-pays, etc. (based on demographics). Allowing someone to type in their ZIP Code to get started can be a better user experience than having them pick their county.

https://www.healthcare.gov/see-plans/

Re:Zip Code Map of the United States on Tuesday September 23, 2025 @12:16PM (#45349085)
One thing I just recalled is that if you maintain a small exceptions lookup table (i.e. the ones that span state boundaries), you can use ZIP Codes as a way to uniquely look up a county name.
Re:Zip Code Map of the United States on Tuesday September 23, 2025 @11:44AM (#45348671)
This is a fact of ZIP Codes that a lot of people stumble one. I've worked on GIS/mapping projects in the past where stakeholders wanted or assumed ZIP Codes to be polygons.

Another complexity that surprises folks is you can't guarantee a one-to-many state-to-ZIP Code relationship. There are several (I forgot offhand how many, I used to have them memorized) that span across state boundaries.

Re:SGI demos from long ago in the browser via WASM on Monday September 22, 2025 @11:51AM (#45335173)
Similar timing, I had a high school internship at the National Cancer Institute at Ft. Detrick, MD in 1994-95, and the lab down the hall had some SGI iron and a glove (I don't remember what the glove hardware was, if it was SGI or 3rd-party or custom) for manipulating 3D renders of folded proteins. Incredible stuff, same "in the future" feeling.
Re:macOS Tahoe on Monday September 15, 2025 @05:24PM (#45255098)
Aside from the Liquid Glass stuff, has anyone detailed the changes to the Unix bits of the OS? What's new, deprecated, moved, locked-down, etc. ... ?
Re:The Value of Bringing a Telephoto Lens on Saturday September 13, 2025 @11:48AM (#45233034)
Another good rule of thumb to remember is that a 50mm lens on a 35mm sensor ("full-frame") is roughly the equivalent FOV of the human eye, i.e., what you see naturally.
Re:Classic 8×8-pixel B&W Mac patterns on Friday September 05, 2025 @09:57AM (#45138662)
It's a great point, and I did consider it, the trouble is, how do you get the pattern resource data out of ResEdit running in the emulator and onto the modern machine? And ResEdit doesn't seem to run in any kind of compatibility mode on modern Macs anymore either.

It's too bad because ResEdit is an amazing program, and even has a surprisingly full-featured graphical editor, including for those patterns, with a live preview mode:

https://raw.githubusercontent.com/paulsmith/classic-mac-patt...

Re:Classic 8×8-pixel B&W Mac patterns on Thursday September 04, 2025 @11:01PM (#45134608)
OK, wallpapers are on there now - tap/click on the virtual display after picking a pattern.
Re:Classic 8×8-pixel B&W Mac patterns on Thursday September 04, 2025 @06:00PM (#45132701)
Oh, good idea. I'll add them to the showcase site shortly. https://paulsmith.github.io/classic-mac-patterns/
Re:Classic 8×8-pixel B&W Mac patterns on Thursday September 04, 2025 @05:37PM (#45132505)
Exactly. One of the cool things about doing this the hard way was discovering that Apple still hosts old system and programmers manuals like the one for QuickDraw on its website.
Re:Classic 8×8-pixel B&W Mac patterns on Thursday September 04, 2025 @05:34PM (#45132478)
Interesting - what's the provenance of this? Is this a leaked copy of the System source, or a disassembly/decompile?
Re:Classic 8×8-pixel B&W Mac patterns on Thursday September 04, 2025 @04:46PM (#45132019)
> My favourite is the wide weave one (#15)

Same, that and the bubble one #36 have so much personality.

Re:How to Install TrueNAS on a Raspberry Pi on Thursday August 28, 2025 @01:45PM (#45054930)
Yeah this is what keeps me from considering old PCs for NAS.

Maybe stating the blindingly obvious but seems like there is a gap in the market for a board or full kit with a high efficiency ~1-10W CPU and a bunch of SATA and PCIe ports.

Re:Gemini Diffusion on Thursday May 22, 2025 @11:34AM (#44063087)
> say model returns the probability of the token "cat" on the second position as p_2("cat") = 0.3, while p_2("dog") = 0.6. We may want to replace "cat" with dog, and use it in the subsequent iterations.

Might one tradeoff of speed/quality be a tree "search" for better outcomes by branching on logit choices? If a diffusion model is so much faster overall than AR, then I might not mind that I hunt or backtrack for the best probabilities overall.

Re:The Barbican on Monday May 12, 2025 @12:12PM (#43964633)
Yep, and S1E7: https://moviemaps.org/episodes/9c8

I was reading this post and thinking, huh, this would be a good set for a Coruscant shot in Andor, and sure enough ...

Older »