Fork me on GitHub
#xtdb
<
2023-07-07
>
Eugene Huang18:07:05

show: A toy https://github.com/elh/dignum on top of xtdb. Built it to just learn the XTDB APIs, make my first clj server, and demo some schemaless ideas for teammates. I couldn't find any concrete examples on approaches to schema-on-write so maybe this is interesting to folks. implemented via JSON schema where jinx was very helpful!

🆒 8
🙌 6
jarohen18:07:50

thanks for sharing, @U04EXJT9Q2U 😊 cc @U050CTFRT

🙌 2
Eugene Huang19:07:19

Just a toy right now, but I imagine it might already have 1 plausible use case. I'm often quickly hacking some project and want to collecting some random metrics or metadata. Something like this cheaply brings up a conventional REST API that is not scary for less adventurous devs but keeps the good stuff of XTDB under the hood

refset21:07:17

+1 Thanks for sharing! Fascinating also to see your older work on https://github.com/elh/bitempura-viz - I couldn't see any obviously 'easy' ways to plot bitemp data interactively using regular charting libs so ended up wroting my own little svg thing https://bitemporal-visualizer.github.io/

Eugene Huang22:07:21

I'm glad that was interesting! I made that for fun year ago as I first learned about bitemporal databases via implementing "audit tables" for SQL databases. Did some reading then and was fascinated, but did not actually get too deep into using XTDB. You can see that the temporal metadata fields are directly inspired by it.

🙂 1
Eugene Huang22:07:28

Nice project there. FYI I was able to get some pretty charting using echarts working out of the box. it was just low level enough to allow you to create floating boxes in a bar chart to do the visualization. it was easy enough for this quick side project I had always meant to come back and create a version of that that ran directly on top of XTDB. It could be a nifty generic component like the XTDB query GUI. Would there be interest in that? @U899JBRPF

Eugene Huang22:07:31

oh, your demo is more interactive than i initially realized. nice! did you think about having a visualizer that was able to live query an XTDB database? shipping it with the XTDB GUI? curious

Eugene Huang00:07:23

Clerk looks cool! I might first try to just revive this old project as-is and make standalone cheaply before rethinking toolset. I'm hardly a frontend engineer and even less familiar with the Clojure ecosystem so ill start simple 😅

clojure-spin 2