This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-25
Channels
- # announcements (14)
- # aws (1)
- # babashka (23)
- # beginners (442)
- # calva (50)
- # chlorine-clover (1)
- # cider (32)
- # clojure (124)
- # clojure-europe (35)
- # clojure-france (5)
- # clojure-gamedev (5)
- # clojure-nl (2)
- # clojure-portugal (3)
- # clojure-uk (4)
- # clojurescript (56)
- # conjure (5)
- # cursive (24)
- # datalevin (1)
- # datomic (57)
- # fulcro (35)
- # helix (15)
- # holy-lambda (8)
- # introduce-yourself (1)
- # jobs (5)
- # kaocha (1)
- # lsp (99)
- # malli (10)
- # music (1)
- # off-topic (22)
- # pathom (38)
- # podcasts-discuss (10)
- # polylith (10)
- # reitit (1)
- # releases (1)
- # remote-jobs (4)
- # shadow-cljs (18)
- # spacemacs (6)
- # tools-build (22)
- # vim (66)
- # xtdb (22)
Is it possible to toggle the dark background to white for the new-designed xtdb website? https://xtdb.com/docs/
I'm not at a pc right now, but I think we switched to using prefers-color-scheme so you would need to change your OS/browser preferences
@UGC0NEP4Y Out of curiosity, under what circumstances do you want your desktop in dark mode but the website in light mode? We can add a toggle but I'd really like to hear a strong justification from someone before we do it. It was a pretty active choice not to include one and default to the user's operating system choice. The reasoning here is perhaps somewhat personal: for those of us (like me) who require dark mode to use a computer at all, it's an accessibility issue and it is always best if the setting is globally controlled.
I am fine with dark mode of a web page. It’s just the dark mode of xtdb site is of a super high contrast, and reading it is a pain for my eyes (personal feeling) .
@U01AVNG2XNF To be honest, content-wise, the new web makes the content much more organized and accessible.
> super high contrast, and reading it is a pain for my eyes Ah, that's completely fair. It is quite a high-contrast dark mode and we may have leaned too far in the "accessibility" direction and not enough toward "night-time viewing." 😉 I'll add a task for us to look into adding a toggle.
@UGC0NEP4Y Glad to hear you like it! This was really just Phase Zero: get stuff shovelled into neat piles... like the first stage of cleaning out an old garage. 😉 We have plenty of new documentation and articles to come, once we start finding our feet.
I'm not sure, but I think https://github.com/xtdb/xtdb/issues/1533 it might be related to the same issue... I had a similar very poor query performance when using a rule with 2 legs (that was fast on its own) and adding another triple to constrain the result
so in essence I have :where [(some-rule ?c) [parent :child ?c]]
being slow, but if change it to :where [(some-rule ?c) [parent :child ?x] [(= ?x ?c)]
I get a massive speedup
I've seen the same thing, just to add 2c (yes trying to use the triple clause as a filter)
I have a UI page that allows users to search with many different search filters (any combination of one or more), so it's difficult to add workarounds because the different where clauses are dynamic
looking at the plans, the var-cardinality for ?c
explodes to huge number 1.798E308 in the slow case... in the fast case it is 109.15
I can't explain the full story here, but at least part of it is because in the slow case ?c
appears twice (whereas parent
only appears once), and therefore it will be assumed that it is best to start from there in the join order. The exact heuristics here are a lot more involved that though, so it's hard to be sure.
I will add this example & workaround to the linked thread in case it helps others.