Hacker Newsnew | past | comments | ask | show | jobs | submit | paulsmith's commentslogin

Alternately, hold the power button and either volume button together for a few seconds.

This is the third person advocating button squeezing, as a reminder: IF a gun is on you the jig is up, you can be shot for resisting or reaching for a potential weapon. Wireless detonators do exist, don't f around please.

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


Cool! That would pair well with SelfCI's MQ daemon, preventing accidentally forgetting about merging in stuff without running the local CI.

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! ;^)


lol I came here to post this too - perfect


As an OCaml-curious, is this the community recommendation, to choose the Jane Street stdlib if you’re just getting started?


It's probably the path of least resistance if following the Real World OCaml book (https://dev.realworldocaml.org/), which is quite excellent.


Many learning materials will push you that way, but the vast majority of FOSS packages don't use it.

There's nothing inherently wrong with using Jane Street's stdlibs if you miss the goodies they provide, but be aware the API suffers breaking changes from time to time and they support less targets than regular OCaml. I personally stopped using them, and use a few libraries from dbunzli and c-cube instead to fill the gaps.


You can wrap the navigation event in document.startViewTransition() and get something basic out of the box:

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


> Unfortunately, they removed Plan mode

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


I think they meant the 'Plan with Opus' model. shift+tab still works for me, the VS code extension allows you to plan still too, but the UI is _so_slow with updates.


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.


Yep, this fact eluded me earlier in the year. I was supposed to map out all ZIP codes in the US and color their boundaries based on certain stats we had. We were surprised to find many areas in the US were empty because they didn't have ZIP codes. I did a quick search and found out ZIP codes are driven by mail routes, and that instantly made sense to me, but the product stakeholders were very surprised to learn it.


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.


ZIP codes also span county boundaries that aren't state boundaries -- I know of several in my county alone


Why would you do this?


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/


Except when it isn’t. I’d be curious to know the population in areas where a zip code spans multiple counties.


In that case, each county that corresponds to that ZIP Code is shown and the user can disambiguate manually.


Yeah it makes it easier. And I’m appreciative of the idea of making address entry easier for users but if they have to disambiguate did you actually make it easier?

I think Zillow does it best. You just type your address in a box and it looks up the normalized full address.

That makes everyone happy.


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.


SGI reality center had a glove option. I can't find a pic of it though.


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. ... ?


The most notable change is probably the new native container runtime: https://github.com/apple/containerization

Metal 4 is interesting: https://developer.apple.com/metal/whats-new/

New enterprise-y stuff: https://support.apple.com/en-us/124963

FireWire support is gone, and this is the last macOS release for Intel.


How dare you not complain about the UI?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: