datomic

Dave Liepmann 2026-01-30T08:51:52.733219Z

Rangel Spasov's Conj talk about incremental query computation is out! https://www.youtube.com/watch?v=Wu-OyLxiP88 Direct link to related repo https://github.com/saberstack/zsxf

🔥 2
🥳 2
2026-01-30T18:31:49.953579Z

@potetm, awesome talk about your Datomic-based warehouse management system: https://www.youtube.com/watch?v=NV02r1Y1B-8&pp=ygUdZm9ya2xpZnRzIGZhY3RzIGFuZCBmdW5jdGlvbnPYBgHSBwkJkQoBhyohjO8%3D There's one point I want to ask you about: you said at one point to "not use Datomic's built-in transaction log" for offering users a view into the history of their transactions in the system, seeing as the built-in Datomic transaction log is best used just for the system and not for user-facing stuff. Makes a lot of sense, there's probably info in Datomic's built in transaction log that users don't need to see or shouldn't see depending on the specifics. I'm curious to ask about the actual nuts and bolts of building a user-facing transaction log though. I guess you could just transact a separate transaction entity per transaction that represents a user-facing log entry:

{:user-tx-log/txns [:stuff :you :transacted]
 :user-tx-log/txInstant #inst "2026-01-30"}
It'd just be a matter of picking the right time and place to transact this in, and then offering users a view into that log when needed. Is there anything else you could say about the topic?

2026-01-30T18:37:12.266719Z

no that's it. depending on your needs you could turn it into a linked list (point one transaction to the next) or add an incrementing tx counter, but that's really only necessary if you need to re-order things. I just kept track of tx entities and allowed users to search them.

2026-01-30T18:37:41.082599Z

long time no talk btw! good to hear from you!