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

Git worktrees are awesome but they broke my workflow in a couple ways:

Resuming work. I used to `j <reponame>` then `gco <branchname>`. Now if I do that I get an error about the branch being checked out already in another worktree. I realized the branch names are pretty unique across repos so I made ` jbr <branchname>` that works from anywhere.

Jumping within repo. The other kink was when I wanted to focus on a particular package I’d do `j <subdir>` and it would usually be unique enough to jump to the one in my current checkout. But now I have dozens of concurrent checkouts and have to pick, even though I’m already in the repo. So `jd <subdir>` does like autojump or zoxide but only within the current checkout.

To power those shell functions I made a “where” extension for Git.

https://github.com/turadg/git-where

It’s working out nicely!


an allegory of SaaS in the AI age


Execa package works nicely for that. Zx has a good DX but is YA runtime.

https://github.com/sindresorhus/execa/blob/main/docs/bash.md


China begins assembling 2,800-satellite network of AI supercomputers


I was on a date when she asked “do you like magnetic fields?”. “Yes!” and we were both smitten.

Took us a few conversational turns to realize we had different capitalization. (This was in the old days when courting was mostly by speaking in person.)


I enjoyed the name Euphoria State University for his fictional model of UC Berkeley.

To combine this news with the AI zeitgeist, consider reading his 2001 novel, Thinks….


Yes, and the nice touch of situating Euphoria State University in the city of Plotinus.


« Gen Zers, it turns out, are "not on a linear journey to evaluate the veracity of anything." Instead, they're engaged in what the researchers call "information sensibility" — a "socially informed" practice that relies on "folk heuristics of credibility." In other words, Gen Zers know the difference between rock-solid news and AI-generated memes. They just don't care. »

https://archive.is/BZIU8#selection-1855.0-1867.1


On the scale of "rock-solid news" to "AI-generated memes", where does businessinsider.com lie?


Same. I was curious what the differences are.

JSONPath can only pull data out, like XPath. jq can do much more, like perform transformations.

jq is also more concise:

  .book[0].title
versus JSONPath:

  $..book[0].title

Here's a discussion with more comparisons: https://github.com/serverlessworkflow/specification/issues/2...


Nice to see more systems architected on object capabilities. It's a more practical security model than ACLs: https://srl.cs.jhu.edu/pubs/SRL2003-02.pdf

Or more succinctly:

> Capability-based security enables the concise composition of powerful patterns of cooperation without vulnerability.

from https://github.com/dckc/awesome-ocap


  The requested URL was not found on the server.
    -- Old Apache saying
(I forget where I got it from for http://aleahmad.net/404 )


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

Search: