announcements

borkdude 2025-09-08T12:52:17.214219Z

https://github.com/borkdude/unused-deps/releases/tag/v0.1.0 - Find unused deps in a clojure project v0.1.0 β€’ add support for git deps

πŸŽ‰ 25
seancorfield 2025-09-08T13:09:05.116019Z

Cool project! The README still says it's a limitation that it doesn't handle git deps, FYI.

borkdude 2025-09-08T13:14:23.880629Z

fixed!

seancorfield 2025-09-08T13:16:21.368519Z

I'll have to figure out how to use it with a Polylith project. I think running it on each projects/<name>/deps.edn should work. Not sure how to test the :dev alias in the main deps.edn file tho'...

borkdude 2025-09-08T13:18:27.059709Z

it currently doesn't have support for that (yet!)

borkdude 2025-09-08T13:19:30.440909Z

note that it may report some false positives, typical ones are JDBC drivers that do not manifest themselves as a :require-ed thing in Clojure code. So don't blindly remove any dependencies it reports

πŸ‘πŸ» 1
borkdude 2025-09-08T13:19:52.361199Z

feel free to post issues about stuff

πŸ‘πŸ» 1
Casey 2025-09-08T18:01:23.175219Z

Announcing https://github.com/outskirtslabs/sfv, a zero dependency lib for parsing and generating Structured Field Values (SFV) for HTTP headers (https://www.rfc-editor.org/rfc/rfc9651.html). This continues my efforts to extract helpful little web libraries from client projects into open source libs for the community. RFC 9651 specs out the SFV format for stuffing complex data into HTTP headers (for better or worse...). Several older headers have been updated to use this format, and future HTTP headers will also use it. This little lib is a handy tool to have in your toolbox when the time comes.

πŸ‘ 3
πŸ‘πŸ½ 1
πŸŽ‰ 13
0️⃣ 2
borkdude 2025-09-11T11:05:38.727479Z

@ramblurr Got all the test working in bb, I'm running yours in bb CI now. I did have to make some tweaks to one test namespace though: https://github.com/babashka/babashka/pull/1864/files#diff-199053c7fccf4bc3154fa154473ceeac6e7c5cc0f95ca1304eb250c15f72074f

Casey 2025-09-11T14:04:50.126179Z

Oh interesting, maybe i should switch from apache codec to mvxcvi/alphabase for base32, didn't know about that lib

Casey 2025-09-11T14:05:16.938879Z

i could change to cheshire too.. its just a test file so I don't care about the bloat

Casey 2025-09-11T14:05:24.418849Z

would save you from maintaining the patch

borkdude 2025-09-11T14:06:06.689129Z

oh that would be nice :) you could also try babashka.json which abstracts from the json implementation. or use a reader conditional or macro. up to you :)

Casey 2025-09-11T14:14:15.856039Z

try 943a4787e0c132bdb6e8ab3da9607b1337c9e27d without the test file patch πŸ™‚

borkdude 2025-09-11T14:16:45.555189Z

works!

borkdude 2025-09-08T18:41:36.257819Z

Nice! Small point of feedback on bb.edn, maybe you're aware but clojure and shell also take varargs so you don't have to stringify multiple args (only the first argument is tokenized automatically)

borkdude 2025-09-08T18:45:51.634669Z

(and I guess I could try to add some stuff in bb so this lib works there too

$ bb -Sdeps '{:deps {com.outskirtslabs/sfv {:mvn/version "0.1.0"}}}' -e "(require '[ol.sfv :as sfv])"
----- Error --------------------------------------------------------------------
Type:     clojure.lang.ExceptionInfo
Message:  Could not resolve symbol: java.nio.charset.CodingErrorAction/REPORT
)

borkdude 2025-09-08T19:01:27.099739Z

Got it working locally in bb now. Btw, the README says sfv/serialize-item but in the code it's called sfv/serialize

Casey 2025-09-08T19:14:17.485929Z

> and I guess I could try to add some stuff in bb so this lib works there too > ... > Got it working locally in bb now. ❀️ I was about to open some issues about this! Many thanks.

oyakushev 2025-09-08T19:16:51.592349Z

https://0dependencies.dev/ gang represent Ø Damn, the site is dead now.

borkdude 2025-09-08T19:19:00.788039Z

Webpage works here

oyakushev 2025-09-08T19:19:24.725529Z

It acts weird, but anyway

borkdude 2025-09-08T19:20:01.146219Z

But they are probably using 0 deps so that’s worth something?

Casey 2025-09-08T19:20:06.688279Z

probably some dependency on it acting up πŸ˜‰

πŸ™€ 1
oyakushev 2025-09-08T19:21:13.048469Z

Maybe the npm one

Casey 2025-10-03T12:27:51.325219Z

@borkdude just so we are talking about the same thing, you are referring to this?

borkdude 2025-10-03T12:29:50.918389Z

no, about: https://github.com/babashka/babashka/actions/runs/18194686850/job/51797711689 it's a couple of thousands of lines.

borkdude 2025-10-03T12:30:07.305269Z

I guess koacha swallows this output, but I'm not using that in bb's tests

Casey 2025-10-03T12:40:28.273369Z

1c83246772c3baffd19ab5928e6646c62a0b53f3 should fix that for you

borkdude 2025-10-03T12:41:15.830859Z

thanks!

borkdude 2025-10-01T13:49:04.270449Z

@ramblurr would it be possible to suppress the very long output of ol.sfv.conformance-test ? it's a little bit overwhelming every time I look at failing bb test suite tests

Casey 2025-10-01T13:49:44.772609Z

Yes that should be possible