off-topic

Ovi Stoica 2025-08-08T08:51:44.388619Z

I know the reason it happened but I stared at this one for a while lol

Ovi Stoica 2025-08-08T08:52:11.268489Z

Context: The audio is a byte-array so normal clj equality doesn’t work

p-himik 2025-08-08T08:54:25.967509Z

And that's pretty much the reason I avoid "data humanizers".

Ovi Stoica 2025-08-08T08:56:40.479469Z

True. It would’ve been easier to understand the issue if I’d had: #object["[B" 0x50cab54c "[B@50cab54c"]

☝️ 1
henrik 2025-08-08T09:36:21.491039Z

Herakleitos was correct, you truly can’t step into the same ByteStream twice

😂 9
vemv 2025-08-09T13:11:37.221099Z

Maybe within the scope of tests, CIDER could use a best-of-both-worlds representation e.g. #byte-array[0x50cab54c [116, 101, 115, 116]]

👍 2
💯 1
henrik 2025-08-08T09:43:14.670949Z

The Anthropic and Open AI java SDK javadocs are unsearchable: when typing into the search box, the page locks up. Navigate to the source code, and it’s full of “visitor”, “companion”, and “metadata”, and generally looks weird. I just realized why: they’re written in Kotlin. Is it too much to ask for people to stick with either Clojure or Java?

💯 2
henrik 2025-08-08T09:46:08.993549Z

I know almost nothing about Kotlin, so allow me to speak authoritatively about it: it’s at best an iterative improvement over Java. Is it really worth it?

daveliepmann 2025-08-08T09:59:07.302859Z

Colin Fleming has some good things to say about Kotlin in the context of using it to build Cursive. I remember null safety was a big element.

👍 1
henrik 2025-08-08T10:05:28.729439Z

My outburst was tongue in cheek; while I don’t know much about the particulars of Kotlin, I totally get that the (sometimes, historically) glacial pace of development of the Java language will entice some people to improve their own situation rather than waiting for someone else to do it. I imagine that in this case, the language can also inform the Java development process about what’s missing from Java.

👍 1
gaverhae 2025-08-08T10:09:57.091909Z

It's not just about speed, it's about backwards compatibility. There are things you cannot do in Java that would break compatibility, but you can do easily in a brand new language. Even if it is just Java with that one backwards-incompatible tweak, a new name is warranted. (Kotlin is a bit more, though.)

Ludger Solbach 2025-08-08T11:08:53.040909Z

There's a very interesting interview with Brian Goetz on this topic: https://www.youtube.com/watch?v=ZyTH8uCziI4

Ludger Solbach 2025-08-08T11:10:24.578019Z

Also around 48:00 says something about his favorite JVM language apart from Java.

seancorfield 2025-08-08T11:49:15.924869Z

I suspect the XTDB team would have some good things to say about Kotlin too, given that ~20% of that codebase is Kotlin (and 66% is Clojure).

👍 1
henrik 2025-08-08T12:02:12.413539Z

I’ve recently interacted with the Google, Anthropic, and Open AI Java SDKs, migrating away from bespoke REST stuff. Google has written theirs in Java, and Anthropic and Open AI has gone via Kotlin. From a Clojure consumption perspective, the Google SDK has been easier to work with in various ways. I have no idea whether this stems from innate differences between Java and Kotlin, or whether it’s due to SDK design as distinct from language particulars.

seancorfield 2025-08-08T12:14:10.548879Z

That any Google SDK is "easier to work with" is pretty shocking to me, based on extensive use of a lot of Google SDKs! 🤣 We found them to be all over the place and very inconsistent. We ended up writing our own generic Google REST API client that introspects the API description, so we had a consistent "interface" across their various services.

henrik 2025-08-08T12:19:27.056129Z

Oh, that certainly wasn’t the case with the Vertex AI, but to my surprise the new “genai” SDK turned out to be pretty OK to work with. Much of that comes down to them supporting fromJson and toJson at pretty much every level, which means I don’t have to switch to parochial object builders for leaf node stuff that is already logically data on the Clojure side (function call requests/responses for example).

henrik 2025-08-08T12:22:05.608719Z

Well, logically all of it is data on the Clojure side, but that stuff is especially aggravating to have to squeeze through a bunch of nested builder patterns, because the shape is not statically known.

jussi 2025-08-08T13:27:42.965159Z

Regarding the Stack Overflow Survey for this year it strikes me quite odd that last year Clojure was te 5th most admired language and now it is completely missing? Or am I just blind? What happened? A mistake in the survey? Most Popular Technologies https://survey.stackoverflow.co/2025/technology#1-programming-scripting-and-markup-languages Most Admired Technologies https://survey.stackoverflow.co/2025/technology#2-programming-scripting-and-markup-languages And comparing to 2024 https://survey.stackoverflow.co/2024/technology#2-programming-scripting-and-markup-languages

seancorfield 2025-08-08T13:32:59.175809Z

Click the "write ins" tab:

seancorfield 2025-08-08T13:34:25.294969Z

It wasn't listed because they considered it too niche based on past years' survey numbers I expect.

jussi 2025-08-08T13:37:16.379689Z

Ah, ok. Too few to make it statistically interesting

seancorfield 2025-08-08T13:37:18.708269Z

(I was actually more skeptical of their past surveys and they've changed quite a few things about how they present the data this year, I think?)

jussi 2025-08-08T13:37:45.574879Z

Nice to know I'm a really Niche CTO 😂

2
seancorfield 2025-08-08T13:38:23.445119Z

For the past 25 years, I've only worked with niche languages: ColdFusion, Groovy, Scala, Clojure 🙂

👌 1
👌🏻 1
jussi 2025-08-08T13:41:08.764489Z

My movement (albeit with glacial speed) has been towards niche: C / Perl / Java / JavaScript / TypeScript / Clojure (and with an architect title along some others like Senior Software Jester)

seancorfield 2025-08-08T13:54:24.327349Z

My arc prior to that was C ('80s), C++ ('90s), Java (late '90s). And COBOL/assembler prior to that.

2025-08-08T15:00:12.187589Z

Emacs also consigned to "write-ins" 😢

5