This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-30
Channels
- # announcements (31)
- # aws (17)
- # babashka (26)
- # babashka-sci-dev (8)
- # beginners (16)
- # biff (1)
- # calva (9)
- # cider (5)
- # clj-kondo (3)
- # clj-on-windows (38)
- # cljdoc (2)
- # cljs-dev (9)
- # cljsrn (6)
- # clojure (58)
- # clojure-europe (47)
- # clojure-nl (3)
- # clojure-norway (21)
- # clojure-uk (2)
- # clojurescript (25)
- # conjure (2)
- # data-science (7)
- # datomic (3)
- # emacs (12)
- # events (5)
- # fulcro (5)
- # honeysql (10)
- # introduce-yourself (7)
- # lsp (4)
- # meander (3)
- # nbb (18)
- # off-topic (28)
- # rdf (1)
- # releases (2)
- # sci (5)
- # shadow-cljs (23)
- # sql (5)
- # test-check (3)
deps.clj
: A faithful port of the clojure CLI bash script to Clojure
v1.11.1.1165 catches up with the same version of the clojure CLI bash script with support for the new CLJ_JVM_OPTS
and JAVA_OPTS
environment variables.
https://github.com/borkdude/deps.clj/blob/master/CHANGELOG.md#v11111165
deps.clj is used in Calva for the getting started environment and used in #babashkafor fetching dependencies. Since it's available as a jar file (and bb script and binary), you can just download that and run it without having anything else installed to get the same clojure CLI experience, which for some environments can lower the barrier of entry for getting up and running with Clojure!
For the record: Calva will use deps.clj
whenever clojure
is not installed. So it is not only for the dedicated Getting Started features. Granted, Calva does it this way to cut one step from the Getting Started with Clojure procedure.
The binary is a great alternative to the clojure Powershell module if you are using (or testing on) Windows native. You can run deps.exe
from any Windows shell and escape a layer of confusing command line escaping.
I've never gotten clojure
, the Powershell module, to work on my Windows machines. But deps.clj
works, so I use that. 😃
Same for me for some command lines on Windows. For continuous integration testing, I boldly rename deps.exe
to clojure.exe
.
• Released initial version of https://github.com/bortexz/tacos , a collection of timeseries technical analysis indicators as graphcom nodes. • Also added a rationale to https://github.com/bortexz/graphcom , hoping it better explains the why/what for this library, as well as linking to tacos as a use case.
We released a new version of clj-test-containers, a Clojure wrapper around testcontainers-java. It’s a maintenance upgrade to include the new testcontainers-java version which was released yesterday. https://clojars.org/clj-test-containers/versions/0.7.3
This is a duplicate message from events
channel but probably it's also a good idea to spam it here.
I developed a web front-end for Clojure events calendar-feed:
https://mmaciul.lt/cljcalendar/
This is seeded from the same calendar as https://clojurians.slack.com/archives/C06MAR553/p1664461794012249
(underlying event collection done by eval2020
)
Is it open source we can go look at?
It's in my github: https://github.com/Invertisment/cljcalendar There is no google, no trackers, nothing. Just clean calendar. I haven't even written any readme 😄 I'll add some kind of license, I think
And credentials, of course. But I didn't bother with it yet.
Do you want to host it on some kind of proper domain? Why do you ask? Maybe I can answer something.
I figured folks would want to see how it was built if it was public.
(and I was curious whether it was Clojure/Script or not)
Well... I wanted to use ClojureScript and re-frame. But then I decided that there is just too little code to be useful and relearn re-frame (I recreated a new project for this one about 5 times and then gave up). This is basically just library integration where types actually are useful quite a bit. i.e. this kind of UI is not state-heavy but integration-heavy. i.e. integration dominates this code.
Hi all, I've developed a library called procedure.async, which provides async procedures for Clojure
https://github.com/ertugrulcetin/procedure.async
Why?
• It'd be interesting to have re-frame's reg-sub like flow on the backend (we have reg-pro - register procedure) - which forces us to develop handlers in a certain way
• reg-pros have dependencies (similar to reg-sub's :<- [:some-procedure-id]
) and they realize asynchronously, so that gives some computational power
• It allows a more natural way to keep frontend and backend code in the same file (.CLJC)
• Frontend communicates via procedure's id directly (e.g. (dispatch-pro [:procedure-id payload-map])
- like dispatching re-frame event)
• We can implement re-usable/high-level UI components in the same file with reg-pros, allowing us to have a close view of what is happening in a single unit
• This design makes it easier to apply changes for both sides
• Feels like Storybook for both frontend and backend!
For the uninitiated, what does procedure mean here? What context is the word from? Thanks! 😀
The book SICP (one of the essential books in the LISP world), was calling functions to procedures 🙂
io.aviso/pretty 1.2 Pretty prints things prettily; mostly, carefully formatted exception output using ANSI colors, smarter ordering, and name-demangling to take the pain out of figuring out what went wrong, and where. This release buffers the exception output until it is complete before printing; this helps greatly in multi-threaded environments as it keeps any exception output across multiple threads from getting interleaved in the console. https://github.com/AvisoNovate/pretty
If often wonder how many people use pretty vs. how many just get it as a transitive dependency from other tools and libraries? It's up over 13M downloads across all versions, and 630K downloads just for version 1.1.1.
It wouldn't be too much work to find that out. Clojars has some pretty good data resources, https://github.com/clojars/clojars-web/wiki/Data. If you just look at the top level dependents, https://clojars.org/io.aviso/pretty/dependents, it seems like timbre is major user, but you would probably have to start downloading poms to try and figure out what might be pulling in the latest version.
At some point, I did some analysis comparing clojars downloads to github stars and there's some interesting outliers, https://clojurians.slack.com/archives/C8V0BQ0M6/p1648936381720099?thread_ts=1648735337.140649&cid=C8V0BQ0M6
For example, https://clojars.org/crypto-equality has 22 github stars, but almost 18 million downloads
Parens of the Dead Seven years ago there was a hectic little screencast where I coded a game, like, so very quickly. This time I'm joined by @christian767 to do something hopefully a bit more entertaining, useful and informative. The first two episodes are out as we speak. More to come every Friday. ☀️😊 https://www.parens-of-the-dead.com
Great to see this "come back from the dead" so to speak! If you want to announce new episodes as they appear, consider posting in #news-and-articles as this channel -- #announcements -- is primarily intended for major project/library announcements.
Oh cool! I stumbled on those older screencasts early in my developer and clojure journey and thought it was so cool. I admired the proficiency and it made me want to up my skills too.
@U07FCNURX i have always loved this and shared it with everyone who's learning. so great to see it getting an update!
Thanks, @U0509NKGK! That's great to hear. ❤️ I think this version might be better suited for learners also, since it's not so frantic, and there's more conversation.