Fork me on GitHub
#clojure-europe
<
2023-06-08
>
dharrigan05:06:08

Good Morning!

Ben Sless07:06:04

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?

otfrom07:06:47

when they start toddling around. Then they become kneebiters

Ben Sless07:06:03

Then she's at least a kneebiter by now! I need a diagram or something

otfrom08:06:36

sprog -> rugrat -> knee biter -> child?

ray07:06:57

Good morning. Range of dress codes on the bus here.

😅 2
otfrom08:06:15

that is a nicely done mohawk. Good use of superglue

dominicm08:06:06

@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.

mccraigmccraig08:06:13

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

mccraigmccraig08:06:10

(i.e. while existing owners were not putting their houses on the market, new-build developers were markedly enthusiastic to sell)

genmeblog08:06:26

Morning, sun glow over Baltic, it's around midnight.

😍 6
thomas08:06:04

amazing isn't it.... still a bit of day light left at that time of day.

genmeblog09:06:50

Yeah, it always surprise me. There are no white nights here but still the light is visible from the distance.

thomas09:06:32

how far north was this? (roughly)

thomas11:06:38

that isn't even that much further north from where I am.

mccraigmccraig12:06:31

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) ?

delaguardo12:06:01

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 🙂

mccraigmccraig12:06:01

@U04V4KLKC postgresql doesn't collect stats on JSONB contents - so join decisions on JSONB indexes may be poor

delaguardo12:06:43

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.

mccraigmccraig13:06:26

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...

mccraigmccraig13:06:10

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

mccraigmccraig13:06:02

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)

mccraigmccraig13:06:29

xtdb/2 would be a good fit i think, were it ready

otfrom13:06:23

mongo db has the advantage of being web scale /s

mccraigmccraig13:06:38

... but /dev/null is even better ?

otfrom13:06:46

scalable for writes anyway.

otfrom16:06:22

GDPR compliant? Any stored data is correct. Preserves your right to be forgotten

😂 2
mccraigmccraig16:06:18

AAAS - amnesia as a service

lread13:06:35

morning!

👋 2