Fork me on GitHub
#clj-commons
<
2022-04-03
>
Matthew Davidson (kingmob)05:04:38

@craigy I think we'd prefer to put it under the clj-commons banner. core is usually a single file in Clojure, not a namespace nesting.

👍 1
skynet23:04:57

do you think I should move every namespace, or is it enough to move just the single-segment one?

skynet00:04:12

updated the primitive-math PR back to moving things under clj-commons. prefix

Matthew Davidson (kingmob)05:04:28

primitive-math only has a single-segment ns. byte-streams has one top-level single-segment ns, but I think we should copy everything under clj-commons so it’ll be easier for people to update their requires

👍 1
Matthew Davidson (kingmob)05:04:12

@craigy I’m testing out the deployment now, but when primitive-math is ready, I’ll let you know

Matthew Davidson (kingmob)05:04:27

@craigy org.clj-commons/primitive-math 1.0.0-SNAPSHOT is ready to try out

Arnaud Geiser13:04:02

Maybe we could also take the opportunity to fix clj-doc badge and the full documentation link (at the bottom of the README)

skynet21:04:22

@U10EC98F5 thanks! I've drafted a similar PR for byte-streams with that snapshot version https://github.com/clj-commons/byte-streams/pull/54

Matthew Davidson (kingmob)01:04:36

@U038LN9KTAR my plan was to fix those for the real 1.0.0

🙌 1
Matthew Davidson (kingmob)01:04:43

@craigy the real pertinent question is, does making new namespaces fix the original graal/clj-easy issue?

Matthew Davidson (kingmob)03:04:46

Thanks for all your hard work. > I also have a fix for a use of reify in aleph.tcp which causes warnings Hmm, what are the warnings?

skynet03:04:25

oh so I also use the graal native image agent with the clojure-native-image-agent as well (and needed to patch it https://github.com/skynet-gh/clojure-native-image-agent/releases/tag/v0.2.0%2Bfix-noclass%2Bcustom-ignore) so it marks the class generated by reify for initialization at build time, but the name changes on each run. so reified classes won't be found when building

Matthew Davidson (kingmob)04:04:18

@craigy I don’t really use Graal, so I can’t help you there. Aleph uses reify in 10 different places, though, so if reify has to be removed, that will be a lot of work. (Also, I don’t see reify in aleph.tcp, is that the right ns?) Before even considering this, have you asked in the #graalvm channel for help/clarification? I haven’t heard of reify being a Graal limitation before.

Matthew Davidson (kingmob)04:04:09

@craigy https://clojars.org/org.clj-commons/primitive-math is released. I think we’re ready for the byte-streams and gloss PRs next, if you want to tackled them. For byte-streams, let’s actually deprecate the old namespaces (but leave them there).

skynet11:04:12

let me look into the reify thing more then. either way it doesn't seem to be mandatory to get it working

skynet11:04:53

cool, I'll update my byte-streams pr and start a gloss one. I think it might be good to copy gloss into clj-commons too since I'm changing code, so it won't potentially break people

skynet01:04:03

@U10EC98F5 I've updated my byte-streams PR to use primitive-math 1.0.0, and deprecated the old namespaces and classes https://github.com/clj-commons/byte-streams/pull/54/commits/25558091b4311f269c60b3266668f0cd05d1736e