toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

198
active users

#clojure

10 posts10 participants0 posts today
Hacker News 50<p>Writing your Clojure tests in EDN files</p><p>Link: <a href="https://biffweb.com/p/edn-tests/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">biffweb.com/p/edn-tests/</span><span class="invisible"></span></a><br>Discussion: <a href="https://news.ycombinator.com/item?id=44616405" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.ycombinator.com/item?id=4</span><span class="invisible">4616405</span></a></p><p><a href="https://social.lansky.name/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a></p>
Simon Brooke<p><span class="h-card" translate="no"><a href="https://mastodon.online/@mfikes" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mfikes</span></a></span> Are you doing the weird correction for the <br>ellipsoid? I remember when I was doing a similar thing for the UK Ordnance Survey grid (which was probably also in <a href="https://mastodon.scot/tags/Clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clojure</span></a>) that was an issue...</p><p>... no, can't find it just now, can't even remember which project it was in.</p>
Mike Fikes<p>Geeking out on Maidenhead grid squares. Golfed <a href="https://mastodon.online/tags/Clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clojure</span></a>:</p><p>(defn latlon-&gt;maidenhead [lat lon]<br>&nbsp;&nbsp;(let [c #(char (+ 65 (quot %1 %2)))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p #(let [a (long (* (+ %1 (%2 90)) 240))<br> s (%2 240)<br> f (* 10 s)]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[(c a f)<br> (quot (mod a f) s)<br> (c (mod a s) (%2 10))])]<br>&nbsp;&nbsp;&nbsp;&nbsp;(apply str (interleave (p lon #(* % 2))<br> (p lat identity)))))</p><p>(latlon-&gt;maidenhead 41.71 -72.7) =&gt; "FN31PR"</p>
Kasper Gałkowski<p><span class="h-card" translate="no"><a href="https://mastodon.social/@extenebris" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>extenebris</span></a></span> </p><p><a href="https://functional.cafe/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> we've got the best hammocks, though</p><p>the only actually useful lisp... might be <a href="https://functional.cafe/tags/julia" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>julia</span></a></p>
extenebris<p><a href="https://mastodon.social/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CommonLisp</span></a> sturdy, industrial</p><p><a href="https://mastodon.social/tags/Scheme" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Scheme</span></a> elegant, academic</p><p><a href="https://mastodon.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Emacs</span></a> lisp the only actually useful lisp</p><p><a href="https://mastodon.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> if it weren't JVM-based... there's always one bad apple</p><p><a href="https://mastodon.social/tags/shitpost" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shitpost</span></a></p>
Clojure Planet<p>Writing your tests in EDN files</p><p><a href="https://biffweb.com/p/edn-tests/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">biffweb.com/p/edn-tests/</span><span class="invisible"></span></a></p><p>I've previously written about my latest approach to unit tests: [Y]ou define only the input data for your function, and then the expected return value is generated by calling your function. The expected value is saved to an EDN file and checked...</p><p><a href="https://clj.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> <a href="https://clj.social/tags/clj" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clj</span></a> <a href="https://clj.social/tags/cljs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cljs</span></a> !clojure@lemmy.ml <span class="h-card" translate="no"><a href="https://lemmy.ml/c/clojure" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>clojure</span></a></span></p>
(λ. borkdude)<p>Today the <a href="https://mastodon.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> jet CLI tool to transform between JSON, EDN and Transit is 6 years old!</p><p><a href="https://github.com/borkdude/jet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/borkdude/jet</span><span class="invisible"></span></a></p>
Nundrum<p>What would you name a <a href="https://theatl.social/tags/Clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clojure</span></a> library for handling terminal/console codes? A library not as fancy as Lanterna, but in the same family.</p>
Jack Rusher<p>Scaffolding, <a href="https://berlin.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a>, 2025.</p>
(λ. borkdude)<p>Clerk, the moldable live programming tool for <a href="https://mastodon.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> and <a href="https://mastodon.social/tags/babashka" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>babashka</span></a> now work together! Get the latest of both to try it.</p>
Clojure Planet<p>Simulating 1-D Convection in Clojure — From Equations to Arrays</p><p><a href="https://clojurecivitas.github.io/scicloj/cfd/intro/linear_1d_convection_with_array.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">clojurecivitas.github.io/scicl</span><span class="invisible">oj/cfd/intro/linear_1d_convection_with_array.html</span></a></p><p>Earlier this year I gave a talk at the first online Scinoj Light Conference, sharing a ongoing project to port Computational Fluid Dynamics(CFD) learning materials from Python to Clojure. In this post, I’ll demonstrate a simple one-dimensional...</p><p><a href="https://clj.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> <a href="https://clj.social/tags/clj" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clj</span></a> <a href="https://clj.social/tags/cljs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cljs</span></a> !clojure@lemmy.ml <span class="h-card" translate="no"><a href="https://lemmy.ml/c/clojure" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>clojure</span></a></span></p>
Nundrum<p>An exciting new blog post about how to build a simple web "app" using Babashka and CGI.</p><p><a href="https://blog.nundrum.net/posts-output/2025-07-09-clojure-cgi/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.nundrum.net/posts-output/</span><span class="invisible">2025-07-09-clojure-cgi/</span></a></p><p><a href="https://theatl.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> <a href="https://theatl.social/tags/hacks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hacks</span></a></p>
Clojure Planet<p>Poor man's bitemporal data system in SQLite and Clojure</p><p><a href="https://www.evalapply.org/posts/poor-mans-time-oriented-data-system/index.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">evalapply.org/posts/poor-mans-</span><span class="invisible">time-oriented-data-system/index.html</span></a></p><p>On trying to mash up SQLite with ideas stolen from Accountants, Clojure, Datomic, XTDB, Rama, and Local-first-ers, to satisfy Henderson's Tenth Law. Viz., to make a sufficiently complicated data system containing an ad-hoc, informally-specified,...</p><p><a href="https://clj.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> <a href="https://clj.social/tags/clj" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clj</span></a> <a href="https://clj.social/tags/cljs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cljs</span></a> !clojure@lemmy.ml <span class="h-card" translate="no"><a href="https://lemmy.ml/c/clojure" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>clojure</span></a></span></p>
Weavejester<p>I've released a small library for building TCP servers in <a href="https://mastodon.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a>, TeensP. <a href="https://github.com/weavejester/teensyp" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/weavejester/teensyp</span><span class="invisible"></span></a></p>
vascorsd<p>You've heard of <a href="https://mastodon.social/tags/scala" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scala</span></a> language that works on the jvm. You also heard about scala native target to native (C) and interoping with that world side stepping the <a href="https://mastodon.social/tags/jvm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jvm</span></a>... </p><p>Now get ready for <a href="https://mastodon.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> (jvm language) and it's target to Cpp.</p><p>---</p><p><a href="https://mastodon.social/tags/jank" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jank</span></a> programming language - Clojure/LLVM/C++</p><p>"Where jank differs from Clojure JVM is that its host is C++ on top of an LLVM-based JIT*</p><p><a href="https://jank-lang.org/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jank-lang.org/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/jankLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jankLang</span></a></p>
Trev :neovim:<p>Who needs Postman, Bruno or even httpie (honestly really good try it you don't like lisp) when you can just <a href="https://fosstodon.org/tags/babashka" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>babashka</span></a>?</p><p>I have one API template file that I can just use for all of my use-case work scenarios. Nothing helps build queries better than dynamic feedback from Neovim and Conjure.</p><p>I'm not paid to write <a href="https://fosstodon.org/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> for work, but boy does it have legs.</p>
Weavejester<p>Electric <a href="https://mastodon.social/tags/Clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clojure</span></a>: Differential Dataflow for UI - a talk at <a href="https://mastodon.social/tags/reClojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reClojure</span></a> 2025 from Dustin Getz - is up on YouTube: <a href="https://www.youtube.com/watch?v=ML8cFrWkWeg" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/watch?v=ML8cFrWkWeg</span><span class="invisible"></span></a></p>
Knut 🏳️‍🌈 🇳🇴🧸<p>Tilderadio is playing this really awesome bossa nova <a href="https://mstdn.social/tags/music" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>music</span></a> that is perfect for morning farting around as I get setup with the days activities. Namely...fighting with my <a href="https://mstdn.social/tags/emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emacs</span></a> config so it will work with the emacs daemon. Some workflow, some <a href="https://mstdn.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a>, reading my Tolkien book, and of course....<a href="https://mstdn.social/tags/tea" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tea</span></a> and <a href="https://mstdn.social/tags/cat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cat</span></a>. Should be a good day.</p>
Clojure Planet<p>The Architecture Behind Ooloi: A Quarter-Century in the Making</p><p><a href="https://www.ooloi.org/home/the-architecture-behind-ooloi-a-quarter-century-in-the-making" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">ooloi.org/home/the-architectur</span><span class="invisible">e-behind-ooloi-a-quarter-century-in-the-making</span></a></p><p>Now that the backend engine is complete, architecturally speaking, I'm getting increasingly eager to open the source. Itching, in fact. But as that will take a while, the least I can do for you is give you the WELCOME.md file from the source...</p><p><a href="https://clj.social/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a> <a href="https://clj.social/tags/clj" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clj</span></a> <a href="https://clj.social/tags/cljs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cljs</span></a> !clojure@lemmy.ml <span class="h-card" translate="no"><a href="https://lemmy.ml/c/clojure" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>clojure</span></a></span></p>
Nundrum<p>Finally got over the hump and was able to re-build my Babashka-based project into a binary with GraalVM. It really does start so much faster that way.</p><p>The hump I couldn't get over is tools.build. This is the fourth time I've tried to use it for a project. Even after trying neil and uberdeps and I can't remember what else ... it just wouldn't build an uberjar.</p><p>After hours of trying, I switched over to Leiningen and had the uberjar and compiled binary in about 20 minutes.</p><p><a href="https://theatl.social/tags/Clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clojure</span></a></p>