true true, I've found in general, I've rarely encountered deal breaker issues, and slow and steady can be better then too fast, though sometimes I'm not sure about the "steady" when it come to core libraries π
Makes sense. I added a comment to the ticket. It would be a slightly-more-than-trivial change to the TransientVector class to avoid the need to do this copying of the empty root node, I think, unless there is an approach I'm not thinking of yet that is a smaller change.
I think you have to do that
Getting Docker hub permissions issues when I try to build FROM graalvm:afdbbd5
per this article - https://www.innoq.com/en/blog/native-clojure-and-graalvm/ anyone know if there's a new canonical name for GraalVM's docker images? I also tried graalvm/graalvm
and just graalvm
...
Ah, I bet it is locals clearing that mostly handles avoids the leaks, so I need to make a more complicated test case to avoid locals clearing
yeah, a simple go-loop doesn't do it either because of locals clearing / the way the go blocks re-use slots in the array of locals, but change it from a loop/recur to actual recursive function calls, and throw in some exception catching to extend the life time, and it leaks
Hi. I have a newbie question around plumatic.schema. Given this simple schema, how would I indicate either foo
or bar
must be provided? (one or the other must be there, but not both)
[{
:id s/Int
:name s/Str
:foo s/Str
:bar s/Int
}]
does anyone have a good link that I can share with people regarding best practices for naming maven artifacts and namespaces?
this is apropos of a conversation happening in #kaocha https://clojurians.slack.com/archives/CCY2V0U6A/p1607095244238600
https://clojure.org/guides/deps_and_cli has a little about groupIds: "When artifacts are deployed in a Maven repository, itβs a best practice to use a groupId (the first part of the name) that is something you control (usually via DNS or trademark). In the case where you have neither, you can instead combine the name of a site that establishes identities (like GitHub) with your identity on that site, here github-yourname
."
thanks! I knew I had seen it somewhere but couldn't find it.
looks like you can pass an arbitrary function to s/pred
https://github.com/plumatic/schema#other-schema-types
Is there a predicate that tests true for all values that support sequence functions. Like β I can call first
on a java.util.HashSet
, but (seq? (java.util.HashSet.))
is false
seqable?
?
Ah, epic, how did I miss that
Haha, I was already wondering whether I was doing it wrong
To be fair, seqable?
was only added in Clojure 1.9... π