This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (37)
- # aws (6)
- # babashka (12)
- # babashka-sci-dev (16)
- # beginners (83)
- # biff (10)
- # cider (14)
- # cljdoc (26)
- # cljs-dev (20)
- # clojure (123)
- # clojure-czech (9)
- # clojure-europe (26)
- # clojure-nl (4)
- # clojure-norway (20)
- # clojure-spec (7)
- # clojure-uk (6)
- # clojured (14)
- # clojurescript (28)
- # cursive (5)
- # datalevin (8)
- # datomic (3)
- # duct (6)
- # emacs (26)
- # events (2)
- # fulcro (7)
- # gratitude (1)
- # holy-lambda (19)
- # integrant (1)
- # jobs (2)
- # leiningen (8)
- # lsp (7)
- # nyc (1)
- # pathom (70)
- # re-frame (8)
- # reagent (15)
- # releases (1)
- # sci (8)
- # shadow-cljs (117)
- # testing (5)
- # tools-deps (11)
- # vim (5)
Hello folks, it’s old (3 days!) news but @cgrand and I have released ClojureDart. It’s a Clojure compiler to Dart. The goal is to leverage Flutter and write native mobile applications on iOS/Android/macOs/linux/windows It’s alpha and does not have a REPL yet but we do support hot-reload ! Give it a try ! https://github.com/Tensegritics/ClojureDart
hi, tried it out already. Works great. Biggest issues where setting up my environment for Android development. Congrats !
thanks ! what was hard with Android ?
I had to setup flutter and dart.
Dart was simple, with flutter I had some issues.
flutter doctor and it was not detecting command line tools and such.
I had to open Android Studio IDE (Bumblebee) to install them.
I was expecting CLI setup all the way.
Bumblebee seems o have changed some things so advice on stack overflow and other guides are not very accurate.
After that it was not detecting emulator.
Had to add it to $PATH.
After that it was not detecting avds (emulator images).
This took some trial and error until I got something working for my machine - Installed about 5 avd system images.
I did try to follow official installation docs.
ClojureDart App was visible in emulator.
Reload only worked after pressing Enter key - thanks for putting that there.
I did no know how to build my app as APK - this would be nice to add.
Ok, this is mostly related to flutter though. I’ve had issues in the past with Android Studio
I don’t use it anymore and just go with genymotion or a real device, the experience is way better
ok, as a noob I don't know how to use those 😞 - I followed the official recommendations
oh, ok. Thanks for the review, it helps. Maybe you can make a PR on the documentation ? Might be good to leverage this recent experience.
An updated version of the Clojure cheat sheet has been published, which includes the new functions from Clojure 1.11 that we expect would be most commonly used: https://clojure.org/api/cheatsheet
i forget about this, what a banger of a cheatsheet
Change log here for anyone interested in details of changes made: https://github.com/jafingerhut/clojure-cheatsheets/blob/master/src/clj-jvm/CHANGELOG.txt
I like the 404 page on clojuredocs: https://clojuredocs.org/clojure.core/iteration
Yep. Pretty cool failure until they update ClojureDocs to include the new things in 1.11, which has an issue for it already: https://github.com/zk/clojuredocs/issues/238
Just to be sure: I assumed that (clojuredocs has the version on the top right) - I was referring to the picture shown on 404.
https://cljdoc.org/ now has new search features!
Searching for libraries on the main page, among other tweaks, now:
• ranks results by library popularity
• matches by substring, so a search for
corfield will now find Sean’s many works!
And now, thanks to @corasaurus-hex, you can also search within the docs of the library you’ve selected! Quickly find:
• namespaces, vars, etc
• and articles!
Give it a whirl and let us know what you think over at #cljdoc.
We don’t have stats strategy for artifacts hosted on maven central yet, so they are currently very popular by default.
Can I also request a library removal? borkdude/sci should not pop up and certainly not above org.babashka/sci, since that library moved organizations.
Good question. Not currently. The libraries are sourced from clojars. I’m guessing that borkdude/sci has had more downloads in the last year than org.babashka/sci. Maybe we need to give that https://github.com/clj-easy/lib-deprecations idea some more love/thought. If cljdoc knew a library was deprecated, it could reduce its rank - or omit it from results.
I'm considering one more release where I just throw an exception on load and the README only contains: moved ;)
I'm not saying that using LATEST as a version is a good idea, but wouldn't that immediately break everyone that uses LATEST as their sci version? It's probably good to encourage people to update, but I'm not sure forcing everyone to update RIGHT NOW is the best.
If they were using LATEST they could change it to the last version to fix the problem. Using LATEST is a bad idea anyway
Another idea I had is to just print a message on load, which is a weaker form than throwing
Not that anybody is asking but… I think
LASTEST is latest release including snapshots and
RELEASE is latest non-snapshot release.
oh that's good to know
yes, and both are not officially supported by tools.deps and will be phased out of mvn eventually too
Awesome! This is a game-changer for beginners looking for libraries. Another thing that would be amazing: Visualize all libraries in a graph, clustered by two different aspects: 1. How similar libraries are in terms of which problem they solve. ◦ Example: Libraries like Transit, Nippy, and Fressian would likely be spatially close. 2. How often libraries are used together in the same project. ◦ Example: Libraries like Ring, Compojure, Reitit, Re-agent, and Re-frame would likely be spatially close. Perhaps no. 1 could be solved by allowing library authors or community members to add a “category” and “similar to” links to libraries. A more sophisticated approach might be to cluster libraries by recognizing similar function signatures and names within the library sources. Maybe no. 2 could be done by mining dependencies from Clojure repos on GitHub. These additions would allow people to see which library alternatives are available and how they tend to be composed. And it would also help people find reference projects.
It would also be super cool if we could somehow link videos (i.e., from YouTube) and blog posts to library docs. That would make it easier for people to discover relevant conference talks, screencasts, tutorials, etc. I’m not sure if or how that could be automated, however. Perhaps links to Clojure content would need to be crawled, then manually curated and linked to libraries by the community through some web interface.
Awesome work, @UE21H2HHD! Thank you so much!
Hey, your foundation was a great help @U0522TWDA ❤️