That's such a great condensation of why automated tests are worthwhile.
"To write your own testing framework based on continuation trees, all you need is a stack of databases (or rather, a database that supports rolling back to an arbitrary revision)."
PostgreSQL and SQLite and MySQL all support SAVEPOINT these days, which is a way to have a transaction nested inside a transaction. I could imagine building a testing system on top of this which could support the tree pattern described by Evan here (as long as your tests don't themselves need to test transaction-related behavior).
Since ChatGPT Code Interpreter works with o3-mini now I had that knock up a very quick proof of concept using Python and SQLite SAVEPOINT, which appears to work: https://chatgpt.com/share/67d36883-4294-8006-b464-4d6f937d99...
Seems like there'd be pushback from Apple, MS, etc on that one.
> ... tenor processing unit...
Seems like there'd be pushback from Apple, MS, etc on that one.
Maybe not “better” than OP’s design, but could be interesting in its own way.
My current setup:
- generate a new psql testcontainer _or_ reuse an existing one by using a fixed name for the container - connect to the psql container with no database selected - create a new database using a random database name - connect to the randomly generated database - initialize the project's tables - run a test - drop the database - keep the testcontainer up and running and reuse with next test
With this setup, most tests run sub-second;
Then all socks went from white to black, oddly enough.
The other clothing tragedy that happened around the same time-frame was that someone in Hollywood declared Fanny Packs to be out of style right when tight jeans came into being. This was a true tragedy for the hipsters, because fitting large phones into yoga-fit tight jeans would've been something even Harry Houdini would scoff at.
I've worn Levis 501s and used a Fanny Pack forever, and I never plan to stop.
Don't get me started on grown-azz men wearing bead or string bracelets. Nothing is more cringe than that, except for maybe flip-flops on men, but don't get me started.
Unless it was made by their young daughter/granddaughter, it which case it is the mightiest of talismans.
This paper has a pretty similar setup, but adds a spatial light modulator (like a DLP projector that can control phase as well as brightness).
What is wild to me is that the researchers here are able to create a beam where the angular moment changes as you move away.
Plus the really cool spiral patterns.