A
Alex Miller
insideclojure.org · Personal blog · on HN since 2014
Alex Miller, a member of the Clojure core team, writes about Clojure releases, tools.deps, the CLI and planning.
What HN saysHN commenters link it as the source for Clojure development news, including add-lib, clj-exec and prerelease announcements, and Miller himself replies in threads.
19HN people shared it
10linked it in comments
21stories submitted
406story points
3 years agolast shared
2014people per year2026
Most-shared posts
- 1Add lib3 people · first shared 2020
- 2Spec/select, clj jiras, tools.deps2 people · 2 points · first shared 2019 · discussion on HN
- 3Clj Exec2 people · 2 points · first shared 2020 · discussion on HN
- 4Errors2 people · first shared 2018
- 5Homepage2 people · first shared 2019
- 6Warn on boxed2 people · first shared 2017
- 7Clojure 1.11 planning1 people · 188 points · first shared 2019 · 71 comments on HN
- 8Inside Clojure's Collection Model (2016)1 people · 64 points · first shared 2018 · 2 comments on HN
- 9Clojure: Creating a reducible repeat1 people · 57 points · first shared 2014 · 9 comments on HN
- 10Contributing to Clojure1 people · 54 points · first shared 2015 · 9 comments on HN
- 11Clj on Windows1 people · 14 points · first shared 2019 · discussion on HN
- 12Method Values – Inside Clojure1 people · 4 points · first shared 2024 · 1 comments on HN
- 13Closed Spec Checking – Inside Clojure1 people · 3 points · first shared 2019 · discussion on HN
- 14Journal 2020.1 – Clojure survey, core.async1 people · 3 points · first shared 2020 · discussion on HN
- 15Clojure Survey Feedback1 people · 2 points · first shared 2020 · discussion on HN
What HN people wrote when they linked it
geokon · 2022-02-22
I was always wondering why something like this doesn't exist already! This is really great.
Would it be possible to add `add-libs` from `tools.deps.alpha`? https://insideclojure.org/2018/05/04/add-lib/ Then you could add libraries at runtime directly from the REPL
You could then pair it with a pastbin and share/run code snippets (with some URL shortener). Could you imagine the possibilities for bug reports for instance? :D You could reproducibly demo bugs (well and features as well)
harperlee · 2020-11-17
This is only incidentally correct (last stable release was June 6, 2019), because clojure is still evolving, just slowly and stably. A new prerelease was announced September 4, 2020 at https://insideclojure.org.
didibus · 2020-09-11
The quote is from: https://insideclojure.org/2020/07/28/clj-exec/ under section "Deprecated unqualified lib names".
That said, ya this is best intentions unfortunately. I'm guessing if you own a real trademark, you could actually sue people using your trademark as their group-id.
Otherwise in general they recommend using a registered web domain name. Someone else could take over your domain name as theirs, but I think the registry owner, like maven-central, if you contacted them and could show you own that domain, they might be able to take actions against the impersonator. Same for a github user.
Actually, thinking about this, I feel it be great if the repository owner like maven-central required a form of proof of ownership of the domain or the github id. That could add a lot of trust to the whole process.
puredanger · 2019-02-06
I don't get how you go from my comment to that. I literally talk to people all day long, every day, about what we should be doing in Clojure. The idea that this is "Rich's gift" and we're not taking input from others is just wrong.
http://insideclojure.org now has weekly journals detailing everything we're doing in Clojure dev if you're interested.
Borkdude · 2022-02-22
I thought you were referring to https://insideclojure.org/2018/05/04/add-lib/ which is an experimental feature of tools.deps.alpha. But sure, there could be an (add-lib ...) function in this environment which loads some external code.
slifin · 2020-12-17
Libraries can be installed from the REPL in Clojure but it does require a dependency ahead of time:
https://insideclojure.org/2018/05/04/add-lib/
Some of Clojure's other runtimes perform a bit better, Babashka, CLJS, CLR, GraalVM for different trade offs if you need something like a scripting language or native images etc
I'm sure CL is still quicker but there are options
finalfantasia · 2020-03-01
According to the latest status update from a member of the Clojure core team [1], we may see improvements in startup time with the next version of Clojure (1.11).
[1] https://insideclojure.org/2020/02/28/journal/
adamfeldman · 2019-03-29
Recently Clojure error messages have vastly improved: http://insideclojure.org/2018/12/17/errors.
As well, Clojure has an opt-in solution to type issues: https://clojure.org/about/spec
raspasov · 2017-01-09
If you ever have the need, checkout this blog post about optimizing math operations in Clojure http://insideclojure.org/2014/12/15/warn-on-boxed/
_bsless · 2021-10-24
That's a fair criticism, but indulge this hypothetical, if you will:
- assume the sliding window transducer existed in the standard library (there's an open jira for it)
- assume the programmer is not an expert, but is familiar with stuff like boxed maths in Clojure, which isn't hard to work around, well documented [1], and has a known performance impact
- assume the programmer will avoid using `last`
- assume the programmer is comfortable using transducers
In short, that the transducer exists and the programmer has at least 6 months of experience programming in Clojure full time.
Will you consider the resulting implementation complicated, in depth or non idiomatic? There's always the possibility I'm just used to it so it comes naturally to me, but as the title suggests, I consider the result, before dropping down to arrays, way more idiomatic than the initial implementation.
I don't begrudge CL's speed and implementation, it's the readiness with which Clojure is dismissed as being slow with only surface familiarity with it.
[1] - https://insideclojure.org/2014/12/15/warn-on-boxed/