News for hackers. Stuff that matters.
Re:Do, or do not. There is no try by JadeNB on Saturday June 24, 2023 @02:31PM (#36461414)
> Looks nifty— basically it's the "let me try that in a container first" except on your live system with no setup to get it going.

Also, if I understand it correctly, it saves doing a potentially expensive operation twice: `try`ing actually performs the operation, ready to be committed; whereas, if I understand correctly, if you do something in a container and it works, then you still have to do it again "normally".

Re:Do, or do not. There is no try by samstave on Saturday June 24, 2023 @03:50PM (#36462116)
It would be nifty to save out "try"s in a sqlite/whatever and then curl install tries on other systems - such that you can easily clone certain setups between machines on a small/home network.

Also, if you can name tries, install-stacks - such that you can do "Try --name 'homeWebSever' [then do your tries here]

Then go to another machine and from your try repo, just type 'try install --name homeWebServer -- and it does whatever your try stack was

Re:Do, or do not. There is no try by JadeNB on Saturday June 24, 2023 @05:19PM (#36462743)
From my cursory understanding (based solely on the README), it seems that `try`s are just directories, so that they can automatically be slung around, without any need for a backing database:

> Sometimes, you might want to pre-execute a command and commit its result at a later time. Invoking try with the -n flag will return the overlay directory, without committing the result.

Also:

> curl install tries

… my brain instantly translated that to "curly fries". Built-in auto-correct!

Re:Do, or do not. There is no try by samstave on Saturday June 24, 2023 @05:44PM (#36462918)
Makes more, simpler, sense...
Re:Do, or do not. There is no try by tripdout on Saturday June 24, 2023 @08:52PM (#36464171)
This is basically what you can get with Nix, sharing a binary cache between machines and getting an identical dev environment / package setup.