Fork me on GitHub
#announcements
<
2023-03-07
>
Burin05:03:39

Rewrite of my original code/Vim printer (Ruby library) using Clojure + GraalVM. https://github.com/burinc/viip

👍 4
🎉 10
zane23:03:10

This looks cool! Seems like there’s a small typo in the README: > Print the any source code using Vim.

gratitude-thank-you 2
borkdude10:03:22

https://github.com/babashka/sci: Configurable Clojure/Script interpreter suitable for scripting and Clojure DSLs SCI is used in https://github.com/babashka/babashka, https://github.com/babashka/nbb, https://github.com/nextjournal/clerk, https://github.com/BetterThanTomorrow/joyride/ and many https://github.com/babashka/sci#projects-using-sci projects. 0.7.39 (2023-03-07) • https://github.com/babashka/sci/issues/874: Keyword arguments as map support for CLJS • Mutable deftype fields can be marked as such with ^:volatile-mutable in CLJS • Fix .toString implementation on deftype • Resolve JS library alias via imported 'class' • Fix babashka issue 1501: equals on deftype • Honor :ns-aliases for built-in libs • Fix issue with copy-ns + protocol • Support :sci/macro for copy-ns and copy-var for copying macro functions • Fix #876: SCI analysis too eager when looking up class • Optimizations with respect to looking up static fields

joyride 8
sci 18
babashka 16
nbb 12
🎉 2
mkvlr14:03:38

👁️ Clerk – Moldable Live Programming for Clojure io.github.nextjournal/clerk {:mvn/version "0.13.842"} has been released . Notable improvements in this release: • :ladybug: Bugfixes, lot of them: over 60 closed issues • 👁️ Add clerk/resolve-aliases and make alias resolution explicit (https://github.com/nextjournal/clerk/issues/410) ◦ This makes the alias resolution explicit via a new clerk/resolve-aliases function. The recommendation is now to use the full namespace in :render-fns or make the conversion explicit using clerk/resolve-aliases. This is a breaking change. After upgrading, the error message should guide you want what you need to change (e.g. v/html to nextjournal.clerk.viewer/html). • 🔨 Make build-graph recur until all transitive deps are analyzed fixing cases where Clerk would not properly invalidate the cache • 🔌 Offline suport: enabling working offline given the browser was able to previously cache the assets • ✍️ Support Sidenotes • 🌄 image and caption helpers • 🔪 Hide Clerk-specific metadata from code blocks • 💫 Add dynamic js/import for JavaScript Modules And much more, get all details in the:wood: https://github.com/nextjournal/clerk/blob/7567ebd7bcb297952cc962d7e3b805e800ee8304/CHANGELOG.md#013842-2023-03-07, find the release on 📦 https://clojars.org/io.github.nextjournal/clerk, read the 📖 https://book.clerk.vision, follow-up in #clerk.

🎉 38
borkdude15:03:14

Live from the airport!

2
🗾 2
Alex Miller (Clojure team)19:03:16

https://github.com/clojure/tools.deps 0.17.1297 - Deps as data and classpath generation • Added new api function resolve-added-libs • Added new data to basis - :basis-config and :argmap (which replaces prior :resolve-args and :classpath-args . Those keys are still there (for now) but will eventually be removed

🎉 26
Noah Bogart19:03:51

how long does it generally take until the api docs are updated? is that manual? i don't mean to rush if it is

Alex Miller (Clojure team)19:03:43

I can re-gen, it's not automatic

👍 2
Noah Bogart19:03:47

hashtag blessed

seancorfield19:03:20

I'm looking at the API docs for resolve-added-libs and it's not clear to me what the existing argument is meant to be -- is it a subset of a basis?

seancorfield19:03:32

Is it something like (t/resolve-added-libs {:existing (:libs my-basis) :procurer (:procurer my-basis) :add '{my.cool/lib {:mvn/version "1.2.3"}}) ?

Alex Miller (Clojure team)20:03:24

the procurer config is currently at the root (:mvn/repos and :mvn/local-repo) so more like (t/resolve-added-libs {:existing (:libs my-basis) :procurer my-basis :add '{my.cool/lib {:mvn/version "1.2.3"}})

Alex Miller (Clojure team)20:03:05

(possibly in the future procurer stuff will be under its own key in the basis)

seancorfield20:03:02

Thanks for the clarification. And this just resolves/downloads things -- it doesn't add it to the classpath, right? That's another piece of the puzzle coming in Clojure 1.12...?

Alex Miller (Clojure team)20:03:06

(which as my math teacher used to say will get us out of dilemma later ...)

💡 2
Alex Miller (Clojure team)19:03:29

Clojure CLI 1.11.1.1252 is now available • Update to latest tools.deps

Alex Miller (Clojure team)19:03:59

https://github.com/clojure/tools.build 0.9.4 - Clojure builds as Clojure programs • uber - exclude Emacs backup files from uberjar inclusion (useful with local/git deps) • uber - improve error message when file in local or git lib can't be read • write-pom - improve docstring • Switch to tools.deps 0.17.1297

🎉 28
clojure-spin 22