HackerTrans
TopNewTrendsCommentsPastAskShowJobs

paulsmith

no profile record

Submissions

The Dark Factory Is a .dot file

2389.ai
1 points·by paulsmith·4 miesiące temu·0 comments

We Built Social Media for Agents and They Won't Stop Posting

2389.ai
3 points·by paulsmith·9 miesięcy temu·0 comments

comments

paulsmith
·5 miesięcy temu·discuss
Alternately, hold the power button and either volume button together for a few seconds.
paulsmith
·5 miesięcy temu·discuss
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
paulsmith
·7 miesięcy temu·discuss
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! ;^)
paulsmith
·8 miesięcy temu·discuss
lol I came here to post this too - perfect
paulsmith
·8 miesięcy temu·discuss
As an OCaml-curious, is this the community recommendation, to choose the Jane Street stdlib if you’re just getting started?
paulsmith
·8 miesięcy temu·discuss
You can wrap the navigation event in document.startViewTransition() and get something basic out of the box:

https://codepen.io/pauladamsmith/pen/VYeJMMb
paulsmith
·10 miesięcy temu·discuss
> Unfortunately, they removed Plan mode

If I hit shift-Tab twice I can still get to plan mode
paulsmith
·10 miesięcy temu·discuss
In that case, each county that corresponds to that ZIP Code is shown and the user can disambiguate manually.
paulsmith
·10 miesięcy temu·discuss
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/
paulsmith
·10 miesięcy temu·discuss
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.
paulsmith
·10 miesięcy temu·discuss
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.
paulsmith
·10 miesięcy temu·discuss
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.
paulsmith
·10 miesięcy temu·discuss
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. ... ?
paulsmith
·10 miesięcy temu·discuss
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.
paulsmith
·10 miesięcy temu·discuss
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...
paulsmith
·10 miesięcy temu·discuss
OK, wallpapers are on there now - tap/click on the virtual display after picking a pattern.
paulsmith
·10 miesięcy temu·discuss
Oh, good idea. I'll add them to the showcase site shortly. https://paulsmith.github.io/classic-mac-patterns/
paulsmith
·10 miesięcy temu·discuss
Huh, sure enough: https://www.lyonlabs.org/commodore/onrequest/geos/lobster-64...
paulsmith
·10 miesięcy temu·discuss
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.
paulsmith
·10 miesięcy temu·discuss
Interesting - what's the provenance of this? Is this a leaked copy of the System source, or a disassembly/decompile?