Fork me on GitHub
#announcements
<
2021-09-08
>
Huahai00:09:45

Datalevin 0.5.3 is out. This is a major release that introduces transparent client/server mode of using Datalevin databases. The server supports full fledged role-based access control (RBAC). A brief documentation for the Datalevin client/server is at https://github.com/juji-io/datalevin/blob/master/doc/server.md

๐ŸŽ‰ 42
๐Ÿš€ 10
datalevin 10
sheepy 4
๐Ÿ‘ 2
henryw37409:09:28

New library, js-literal , provides a cljs reader literal #j/s which is like the #js literal, but is recursive. https://github.com/henryw374/js-literal largely built to satisfy some curiosity... maybe something like this exists already but didn't find it. Example `

#j/s [:a {:b [:c]}]
; compiles to => Array.of("a",Object.fromEntries(Array.of(Array.of("b",Array.of("c")))));
; under advanced compilation, compiles to ["a",Object.fromEntries([["b",["c"]]])]
; if you can improve on the above, IOW object literal syntax, please PR

clojure-spin 10
borkdude09:09:09

probably an obvious question, but why not just use clj->js ?

henryw37409:09:47

yeah I should address that in the readme... clj->js should be equivalent, but will be less efficient, going via cljs datastructures

henryw37409:09:32

so this is kind of in between clj->js and using #js all the way down

imre09:09:55

love the reader tag

โž• 2
borkdude09:09:06

@U051B9FU1 interesting. I had an issue in SCI around #js: I accidentally made it behave recursively and I didn't realize that, even though it's a reader function, also I learned that CLJS will still evaluate to new objects all the time, e.g. in (apply identical? (for [i [1 2 3]] #js {:a 1})), this will yield false

2
henryw37410:09:35

interesting @U5H74UNSF, that macro will produce more efficient js, ie with object literals. Possibly they could have a reader function with the same content I believe and so have a tagged literal like #j/s that produces optimal js code... hmm

refset13:09:18

Crux has been renamed to XTDB, and there are https://github.com/xtdb/xtdb/releases/tag/1.19.0-beta1 available for testing with the fully-renamed APIs, to check everything has gone smoothly (no functionality changes this time). New Twitter account & blog post here: https://twitter.com/xtdb_com/status/1435593730921218058 The Slack channel has migrated to #xtdb already.

๐ŸŽ‰ 60
xt 20
mpenet13:09:05

another 4 letter project name with an X, the tradition was respected I see :)

๐Ÿ˜‰ 4
โญ 2
richiardiandrea15:09:12

I like it!

๐Ÿ™ 2
Bobbi Towers19:09:38

The #exercism Clojure track has launched brand-new "Concept exercises" in a beta stage: https://exercism.org/tracks/clojure/concepts This is the result of a 2 year (mostly volunteer) effort to provide a better learning path on Exercism. What once was a largely haphazard collection of challenges is being revamped into a proper syllabus that navigates the student through the graph of core Clojure concepts, with a new in-browser editor with automated testing. This is very exciting and a bit terrifying for me, because it's the first thing I've written that is used in this scale of production. I'm sure there are lots of bugs, hugely embarrassing ones even, so I welcome your reports and any other feedback that could help improve the tooling and/or educational content.

8
๐Ÿ‘ 20
clojure-spin 8
clj 8
๐Ÿš€ 20
๐Ÿ™ 22
๐Ÿ’ฏ 74
sheepy 36
๐ŸŽ‰ 34
Bobbi Towers20:09:42

Oh that's interesting... I'll report that to the team ๐Ÿ˜…

partywombat 2
p-himik20:09:44

It's just an implicit offering to become a jack of all trades. :)

catjam 8
Bobbi Towers20:09:21

That's not actually a 0, it's a Mobius Strip that has been unraveled, representing the endless cycle of knowledge

โž• 8
๐Ÿ˜ป 4
๐Ÿ˜‚ 12
๐Ÿคฏ 2
metal 4
Chase14:09:14

Great endeavor! Thanks for doing this. I think it will be a great resource to guide beginners to. But one thing I would suggest is to add a project.clj file (or maybe deps.edn I guess but I would stay consistent with the rest of the non concept track Clojure problems) so folks can work on it locally with repl driven development, including running the tests.

Chase15:09:20

Ahh, in looking at the github it looks like you have added a deps.edn file to all the concept exercises except the first one (lucian's luscious lasagna)

metasoarous16:09:33

Look like the 0 thing is fixed, but what about these missing icons?

metasoarous17:09:09

Hmm... after signing up didn't see this any more

metasoarous17:09:08

instead just collapsed all of those containers

metasoarous17:09:32

Also... not able to start any of the excercises. They seem to be locked?

metasoarous17:09:19

Oh; I see. It's because I didn't complete "Hello world". But that's a little odd, because from the sylabus it looks like I should start by clicking "Basics", but then can't complete any excercises.

metasoarous17:09:32

Shouldn't hello world either be first in the syllabus, or part of basics?

metasoarous17:09:30

Next, after completing the hello world exercise, I see this:

metasoarous17:09:09

Huh; After clicking around a bit, that box was replaced with one that let me mark it as complete.

metasoarous17:09:56

Anyway, going through lasagna now; This is pretty sweet! Great work!

metasoarous17:09:44

If I were to make any suggestions, other than smoothing out the friction above, I'd suggest an option for parinfer, and more robust autocomplete that incorporates local variable names.

metasoarous17:09:11

Regardless, this is a wonderful resource; Thanks for working on this!

metasoarous17:09:22

Oh... now, it shows little locks for the other entries on the syllabus: