leontrolski
Joined 7 years ago
Joined 7 years ago
I've experimented (see below) with TEMPLATE dbs and such in Python (with inspiration from this library). IMHO the "around 100ms" mark is pretty slow for a big test suite. Interestingly, pg_restore is only twice as slow as TEMPLATEs.
https://github.com/leontrolski/postgresql-testing
I'd be interested about how all this compares to snapshotting the postrgres dir with ZFS and restoring to that, but don't have a Linux box to hand.
I'm trying to compress recipes into little schematics https://leontrolski.github.io/recipes.html
cat = Cat(age=3)
l = [1, [2, cat], 4]
alt l[1][1].age.=9
That would give us l equal to: [1, [2, Cat(age=9)], 4] l[1][1].age:9
# (1,(2,{"age":9}),4)
How come it doesn't return just: {"age":9}
Or is there something totally different going on with references here? As in, how is this different to: l_inner = l[1][1]
l_inner.age:9Currently it feels a bit like everyone is talking about what new editor they're using. I don't care about that type of developer tooling very much. AI isn't coming up with some exciting new database, type system, etc etc.
"Look at how I'm able to web dev x% faster" because of LLMs is boring.