This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-08
Channels
- # babashka (9)
- # beginners (43)
- # biff (4)
- # calva (11)
- # cider (6)
- # clerk (1)
- # clj-kondo (4)
- # cljs-dev (6)
- # clojure (82)
- # clojure-berlin (1)
- # clojure-europe (42)
- # clojure-nl (1)
- # clojure-norway (182)
- # clojure-quebec (1)
- # clojure-uk (19)
- # clojurescript (6)
- # datahike (1)
- # emacs (30)
- # fulcro (5)
- # honeysql (6)
- # hyperfiddle (12)
- # lambdaisland (8)
- # malli (11)
- # off-topic (36)
- # pathom (26)
- # pedestal (1)
- # portal (25)
- # practicalli (1)
- # rdf (29)
- # re-frame (17)
- # reitit (1)
- # releases (1)
- # sci (37)
- # shadow-cljs (15)
- # vim (10)
- # xtdb (13)
Mornings!
Morning Here's to a calm day staying home with a sick rugrat (at least she's resting) Thinking about it, what's the cutoff age for rugrat?
mååning
@mccraigmccraig How’s the market for buying/selling at the moment? I had 7 properties pop up matching my search this morning which is a massive increase.
not really sure... it's been a few months since we were looking - there wasn't much supply around then, but we went with a new-build, which bucks the market trend
(i.e. while existing owners were not putting their houses on the market, new-build developers were markedly enthusiastic to sell)
Yeah, it always surprise me. There are no white nights here but still the light is visible from the distance.
I can share exact location: https://maps.app.goo.gl/b66NxuWSt6XBwggo7
has anyone tried the "JSONB+key-cols" approach to postgresql table schemas - i.e. having all record data stored in a single JSONB column, with the only other columns being key columns (PK + whatever other keys) extracted from the JSONB structure (to improve postgresql query planner behaviour) ?
How does it suppose to improve query planner? I always think if you have data stored in a single JSONB column, you probably should look at MongoDB 🙂
@U04V4KLKC postgresql doesn't collect stats on JSONB contents - so join decisions on JSONB indexes may be poor
yeah, I know, and extracting some fields to dedicated columns will help in the short term. But in general, I think such a schema is not a good idea. In a long run, you will have to take care of syncing those columns with the content of primary JSONB column, heavy\non-trivial migration will be needed every time you need yet another column for indexing, etc.
hmm. i've used a similar approach for SQLite dbs on the client side, and it's worked out very well - but in those cases the response to any schema changes was to throw away the table and fetch from the API again...
that's technically feasible in this case too, since i'm looking at an event-sourced architecture and i could certainly recreate a table from scratch - but that would be a lot of work just to add a key
maybe mongo is a good idea... though i didn't really enjoy the experience last time i tried to use it (which was quite some time ago)
xtdb/2 would be a good fit i think, were it ready
... but /dev/null
is even better ?
AAAS - amnesia as a service