This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-25
Channels
- # announcements (9)
- # asami (69)
- # babashka (151)
- # babashka-sci-dev (34)
- # beginners (90)
- # cider (21)
- # clj-on-windows (17)
- # clj-otel (4)
- # cljsrn (5)
- # clojure (27)
- # clojure-austin (3)
- # clojure-europe (87)
- # clojure-gamedev (1)
- # clojure-nl (3)
- # clojure-norway (8)
- # clojure-poland (2)
- # clojure-uk (3)
- # clojured (10)
- # clojurescript (50)
- # core-async (73)
- # cursive (28)
- # data-science (2)
- # datomic (17)
- # etaoin (1)
- # honeysql (6)
- # introduce-yourself (3)
- # jobs (1)
- # joyride (12)
- # malli (5)
- # nbb (14)
- # off-topic (18)
- # pathom (4)
- # podcasts-discuss (2)
- # polylith (30)
- # project-updates (3)
- # re-frame (33)
- # reitit (1)
- # remote-jobs (13)
- # shadow-cljs (59)
- # sql (12)
- # tools-build (7)
- # xtdb (36)
I want to generate json objects based on a json schema, is there a clojure library that can help me do that?
You mean generate random objects that matches the schema?
Try these (it won't be JSON and won't be from JSON schema but you can easily make JSON out of it): https://github.com/metosin/malli https://github.com/plumatic/schema
is there a library that provides db-table-like persistent data structures? I'm looking for column-oriented data structure, with assoc/dissoc support, with ability to index some columns for efficient access, and preserve indexes on modifications...
Maybe datascript? https://github.com/tonsky/datascript
yes, something like datascript but maybe more lightweight? e.g. only index access, no querying...
does tech.ml.dataset support attaching indexes to the dataset for efficient access? does it preserve the indexes on adding/removing rows?
OK. Sorry, then I don’t know 🙂
@U47G49KHQ https://github.com/lilactown/pyramid/ might do what you want with some futzing
it has helpers to store your data in a table-like form, using plain clojure maps/sets/vectors
Similar to idx [I think], there’s also compound https://github.com/riverford/compound
Nice thread.