clj-yaml

borkdude 2022-09-24T09:49:07.901939Z

You can now get the latest changes of clj-yaml as a git dependency! https://github.com/clj-commons/clj-yaml#use-as-git-dependency

borkdude 2022-09-24T10:23:47.190349Z

I published a temp fork of SnakeYAML to io.github.borkdude and wrote a test showing that the leading zero is fixed: https://github.com/clj-commons/clj-yaml/pull/54 I'll update this PR once SnakeYAML 1.33 upstream comes out

borkdude 2022-09-24T10:27:54.535759Z

I also deployed a temporary clj-yaml version from this PR branch: io.github.borkdude/clj-yaml {:mvn/version "0.7-1.33-next"} I'm going to test this one in bb now

borkdude 2022-09-24T10:31:53.602979Z

$ clj -M:babashka/dev -e "(require '[clj-yaml.core :as yaml]) (yaml/generate-string [\"083\"])"
"['083']\n"

borkdude 2022-09-24T11:59:30.144969Z

I published a new bb with the all new snakeyaml + clj-yaml fixes as a temporary dep until all upstreams are streamed down!

1
🚀 1
🎉 1
lread 2022-09-24T12:45:56.791789Z

Great stuff @borkdude! 🚀

grzm 2022-09-24T12:47:55.429799Z

Cheers!

lread 2022-09-24T12:57:34.399079Z

Also thanks for moving issues->discussions

borkdude 2022-09-24T12:59:05.765969Z

Because I didn't know how mvn deployment to clojars worked, I compiled and deployed the lib using tools build 😆 https://github.com/borkdude/SnakeYAML/blob/053b63daa895294dcf55a745aa48f06dfff1dea4/build.clj#L48

lread 2022-09-24T13:02:21.076759Z

ha! cool.

grzm 2022-09-24T13:45:12.717379Z

It's so nice that clojure.tools.deps can play nice just sitting alongside mvn.

grzm 2022-09-24T13:52:54.182469Z

@borkdude what motivated the change from flatland/ordered to frankiesardo/linked? https://github.com/clj-commons/clj-yaml/commit/f45afb231b89bfd2d5a8f60247c97e0da82e8171 ?

borkdude 2022-09-24T13:53:03.695429Z

argh, wtf...?

grzm 2022-09-24T13:53:40.368059Z

Actually, I think this is a hanging commit out there.

borkdude 2022-09-24T13:53:42.652699Z

that isn't part of the master branch. https://github.com/clj-commons/clj-yaml/blob/883d7262fe7bb7ce3f844aa7fd5da184104ea74e/deps.edn#L3

grzm 2022-09-24T13:54:31.757469Z

LOL So, let me amend, what motivated the experiment to move flatland/ordered to frankiesardo/linked?

borkdude 2022-09-24T13:54:42.145819Z

no clue

grzm 2022-09-24T13:55:01.053099Z

😄

borkdude 2022-09-24T13:57:43.228959Z

@grzm I found this: https://clojurians.slack.com/archives/C03S1KBA2/p1585601368388200?thread_ts=1585581040.368800&cid=C03S1KBA2 It had to do with the added binary size of clj-yaml in bb so I investigated the effect of that dependency

slipset 2022-09-24T15:25:40.902059Z

I believe we actually removed useful from ordered because of that.

👍 1
borkdude 2022-09-24T13:59:42.072179Z

lol

borkdude 2022-09-24T14:00:04.590279Z

I think as long as it lets us write edn and make other systems happy with the yaml output, it's worth it

grzm 2022-09-24T14:00:29.999839Z

I have to (hatefully, reluctantly) agree.

😅 1
borkdude 2022-09-24T14:01:15.644869Z

it's just part of the blue collar bash-stained workplace toolset

grzm 2022-09-24T14:04:26.581629Z

English vs metric wrenches.

borkdude 2022-09-24T14:04:33.194169Z

Past summer I went to the cloud. When I saw kubernetes, I almost jumped off a cliff. (kidding, I haven't touched kubernetes at all, but I like the joke)

😆 1
grzm 2022-09-24T14:05:19.916419Z

Okay. Time for breakfast with people smarter than me. Thanks again!

☕ 1
borkdude 2022-09-24T16:41:15.569279Z

I'm contemplating a new library which smoothens the gap between YAML and several other formats: SnakeOil 🥁

1
lread 2022-09-24T17:47:49.323189Z

YAML causing you grief? JSON making you pull your hair out? Try SnakeOil! Act now and we’ll throw in XML support. Only 4 easy payments.

borkdude 2022-09-24T19:12:04.515859Z

set the channel topic: https://github.com/clj-commons/clj-yaml - YAML encoding and decoding for Clojure The art of simplicity is a puzzle of complexity.

❤️ 2