clojure-europe

Thomas Moerman 2026-01-03T09:38:21.502749Z

Started the Sun Eater series. More than a bit inspired by Dune, but the language just drips like honey.

Thomas Moerman 2026-01-04T14:14:06.741499Z

just the overall flow of how the author writes, it's very pleasant.

❤️ 1
Thomas Moerman 2026-01-04T14:14:22.067999Z

I'll keep an eye out for specific passages

teodorlu 2026-01-03T22:05:33.049329Z

got a favourite passage to exemplify that honey dripping? I'm intrigued.

teodorlu 2026-01-03T22:08:23.383049Z

Also, I'm nearing the end of my current reading (listening) endeavor …

2026-01-03T15:07:47.135709Z

Morning

teodorlu 2026-01-03T22:13:45.008399Z

morning 🙂 Possibly controversial take: we mostly write libraries where we leave state and resource handling to the user. A function produces a little machine, but unless the user "defs" or otherwise catches the little machine, the user has no means of recovering the little machine, and is possibly forced to restart their beloved REPL. (org.httpkit.server/run-server (constantly {:status 200 :body "okayyy..."}) {:port 4040}) is a quick example, now your port 4040 is lost forever unless you caught the instance!

grav 2026-01-04T08:33:51.940949Z

I really like how in Chrome's js-console, I can right-click a result from a previous evaluation and just mark "Store as a global variable". As far as I know, Clojure's repl only have *1 ...*3

👍 1
slipset 2026-01-05T11:11:39.345809Z

Would be cool if the repl client had some sort of contract with these kinds of fns. Say that a fn like that had some meta on it that gave the repl a possible var-name to store it under?

slipset 2026-01-05T11:12:07.831789Z

Or just some meta telling the repl to keep a handle to it.

teodorlu 2026-01-05T11:12:22.814139Z

Yeah

teodorlu 2026-01-05T11:12:53.415229Z

I'm also thinking from the library development side. If the library can list and close resources it's started, the user doesn't have to care as much.

teodorlu 2026-01-05T11:14:02.796089Z

But 1. Start / Stop logic is boilerplaty 2. And it's generally nicer to have it in the app code — then you can go to the def/defonce and eval the var symbol.

ray 2026-01-03T07:58:11.287219Z

Good fresh water morning

💚 3