clojure 2026-08-21

No no. This is all great. At work I run very large java servers and don't care (much) about size or cost. Most of my personal projects have been things like go, Python, or Node, and I could scale to zero and forget about them, or remember them and get charged a penny or so when I used/updated them. Multiplexing is an interesting point. I guess a cheap VPS would only be able to have a couple of apps fit the ram specs. So would you just start it up based on traffic. Like a home-rolled knative?

I was just looking for ideas and experience-backed input and you all came through.

I run my stuff at home on my nas box with a cloudflare tunnel.

cheaper than VPS? I didn't know that existed

Dunno if it cheaper, but the nas is running anyway and I have a 1 gig fibre connection that is always on as well

yeah a NAS works, if you want to self-host. Or just an old laptop

Is this a known issue? Installed Clojure on Fedora 44 in accordance with https://clojure.org/guides/install_clojure#_linux_instructions. Running either clj or clojure returns Error building classpath. Error reading edn. Expected edn to contain a single value. (/var/home/benl/.clojure/deps.edn). I had to delete the deps.edn file in question for things to start working.

What was in that file? (before you deleted it)

Can this be repeated/repro'd?

Looked like

{
  :aliases {}
}
and there was a comment in there, but looks like valid EDN to me

(FWIW, on Ubuntu, I use the POSIX installer, rather than the Linux installer)

I can try to repro

> looks like valid EDN to me The key word is "looks". There might've been some bogus invisible character in there that's not treated as whitespace.

This is what it should copy into that location:

{
  :aliases {
    ;; Add cross-project aliases here
  }
}
(from example-deps.edn in the installer) Maybe there were non-printable characters in the file? (`od -c` would tell you)

If you can repro with the Linux installer, I'd be interested to know whether you have the same problem with the POSIX installer? Also, do you have any custom settings around line endings or anything like that (perhaps for compatibility with Windows)?

I've never encountered this issue before installing Clojure on many other Linux distros, and what I suspect is that there is something fishy related to this being Fedora Atomic (immutable distro), but I'll see if I can repro with a fresh run of linux-install and posix-install

Ah, interesting... I'm now fascinated about the cause 🙂

./posix-install.sh works fine for me

Cannot reproduce with linux-install.sh now, weird

oh well, just a fluke I guess

I'd assume that things like transient disk write failures or bit flips if the machine doesn't have ECC couldn't be ruled out. Probably not worth investigating further. :)

I have been using fedoa silverblue for a number of years and never had this problem. I install dev envs inside a dedicated toolbox rather than the host os - I assume you were doing that too?. I switched to installing via brew rather than the shell script when I got a new laptop last year kinda out of lazyness - things like babashka are in there too. Brew can put all the things it installs in /home/linuxbrew which is not mounted from the host system by default, which I find convenient.