Reddit » Clojure
0 FOLLOWERS
Reddit gives you the best of the internet in one place. A subreddit for Clojure. Clojure is a dynamic programming language / Lisp that targets the Java Virtual Machine.
Reddit » Clojure
1d ago
Around 5 years ago I installed clojure by first installing leningen, but I know build tools and dependency management preference have changed over the years, so I wonder: what are the options I have these days to install clojure in a development environment. I'm running Debian 12 Bookworm, and I know the official page recommends this: https://clojure.org/guides/install_clojure
submitted by /u/lwhfa
[visit reddit] [comments ..read more
Reddit » Clojure
1d ago
Please ask anything and we'll be able to help one another out.
Questions from all levels of experience are welcome, with new users highly encouraged to ask.
Ground Rules:
Top level replies should only be questions. Feel free to post as many questions as you'd like and split multiple questions into their own post threads.
No toxicity. It can be very difficult to reveal a lack of understanding in programming circles. Never disparage one's choices and do not posture about FP vs. whatever.
If you prefer IRC check out #clojure on libera. If you prefer Slack check out http://clojurians.net
If you ..read more
Reddit » Clojure
3d ago
I find myself using core.async and sometimes manifold more than ever. It's silly, I always manage to get things done, but it usually takes a good amount of trial and error to find the right way to do something.
What are the most common patterns you encounter when writing async code in Clojure?
submitted by /u/arylcyclohexylameme
[visit reddit] [comments ..read more
Reddit » Clojure
3d ago
I recently had the opportunity to revive an old project
that was basically a POC of using ClojureScript + React Native to make 2D mobile games.
Thought someone might find it interesting, and maybe get inspired to build something!
https://github.com/divs1210/cljs-expo-game
Screenshot:
https://preview.redd.it/ec78yvscbdyc1.png?width=1468&format=png&auto=webp&s=11f42d622c75e8143a6a1a320d3a7cad89e910d3
submitted by /u/therealdivs1210
[visit reddit] [comments ..read more
Reddit » Clojure
4d ago
Tips on the best way to go about writing a systray applet (systemtray app, or whatever it should be called)?
I've found:
Clojure programming example: creating an applet
clj-systemtray: a clojure interface to the Java AWT SystemTray
HN Tray: a clojure systray app for top stories on Hacker News
Much of this seems rather old though (the HN Tray app doesn't work; it points to a dead URL and pointing it instead at different HN apis doesn't work either - I assume the json parsing would need redoing), and so I wondered if I should be looking at anything else (or if it's just that no-one writes sys ..read more
Reddit » Clojure
6d ago
https://preview.redd.it/tnpvwtsj9sxc1.png?width=651&format=png&auto=webp&s=4bd7fbe04de64dcd7a5b403b305af88ce7060043
What I am doing here is to render some DIVs that encapsulate an "action", on one client (the active one), the actions must be clickable on the others I just want to show what the other players can do but the buttons must be disabled.
Is there a better way to express this? I have the feeling that I am abusing cond-> and that a better, more readable approach, must exists...
submitted by /u/minasss
[visit reddit] [comments ..read more