Fork me on GitHub
#announcements
<
2023-03-20
>
Carsten Behring20:03:02

As I settled on dev-containers for polyglot Clojure programming for data science, I published here: https://github.com/behrica/clojure-datascience-devcontainer a minimal setup which gives you a devcontainer having Clojure+python+R preinstalled. Devcontainer works now with and without vscode, thanks to https://github.com/devcontainers/cli

❤️ 15
🎉 4
👀 2
cjohansen23:03:14

Announcing https://github.com/cjohansen/portfolio, a “visual REPL” for UI component development. It stands on the shoulders of devcards, and borrows heavily from Storybook.JS: Render UI components (or layouts) in isolation, quickly review components with varying input data, different resolutions, dark mode, etc. It comes with support for Reagent, Rum, Helix/Pure React, Dumdom, and even DOM objects or raw HTML strings out of the box, and adding support for other rendering technologies is little work (as illustrated by https://github.com/cjohansen/portfolio/pull/2) Check out https://github.com/cjohansen/portfolio#readme for instructions on getting going and https://cjohansen.github.io/. The tool is usable but still in active development, and I’d love input, suggestions and help from anyone who wants a strong native ClojureScript alternative to Storybook.

😲 36
💯 52
clojure-spin 14
🆒 16
👀 2
🎉 8
peterh22:03:03

I just wanted to test Portfolio with Helix, but as I tried to require portfolio.ui , I got a build failure back: The required namespace "snabbdom" is not available, it was required by "dumdom/core.cljs".. Do I need to add another dependency besides portfolio or is this a problem with my deps resolution? I am using shadow-cljs.edn for dependencies and added [no.cjohansen/portfolio "2023.03.21"], maybe I can try deps.edn.

cjohansen05:03:10

Thanks for reporting! I have very limited experience with shadow, but this looks like a bug. I'll have a look at it. I've only used portfolio with figwheel-main.

👍 6
👀 1
BorisKourt14:03:40

@U032GJ90EMA could you try the following: https://github.com/cjohansen/portfolio/issues/4 This seems to have resolved the above error for me but now I am stuck debugging some new ones just want to see if everything just works for you.

cjohansen17:03:31

I have just now tried setting up a shadow project to test this myself, and ran into some problems. Looking into it 🙂

peterh17:03:12

AFAIK shadow-cljs.edn is unable to process SHAs in :dependencies, so I had to use deps.edn for dependencies and link it to shadow via an alias. However, the latest SHA 6beb9521ef5b0f5a631fe6979530f99915730c51 seems to resolve the build failure for me, but I haven’t tested if the actual library works.

cjohansen17:03:40

I’m cutting a release now

cjohansen17:03:18

Fixed in 2023.03.28, make sure you read this: https://github.com/cjohansen/portfolio#shadow-cljs

🙌 2
peterh19:03:40

Nice, now I was able to test it and it works great! May try it on my app project when I am making more progress.

Matthew Downey21:03:56

Whoa very cool, this is exciting!