This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-29
Channels
- # announcements (7)
- # babashka (4)
- # beginners (21)
- # calva (31)
- # cljdoc (12)
- # cljsrn (5)
- # clojure (89)
- # clojure-europe (26)
- # clojurescript (9)
- # conjure (1)
- # cursive (3)
- # data-science (20)
- # events (2)
- # fulcro (4)
- # gratitude (7)
- # introduce-yourself (1)
- # lsp (24)
- # nextjournal (3)
- # off-topic (5)
- # re-frame (22)
- # shadow-cljs (48)
- # tools-deps (11)
Because admix
is a well-defined word and addmix
is not?
Whereas https://www.merriam-webster.com/dictionary/addmix "The word you've entered isn't in the dictionary."
I am trying to use https://github.com/mikera/imagez, and initially just trying to set-pixels
to a color. The type hint for the pixels I should provide for this is ^ints
, but all the methods in mikera.image.colours
seem to be working with ^long
. So when I try this for example (ic/set-pixels (ic/new-image 10 10) (into-array (repeat 100 (colors/rgb 0 120 215))))
, I get the following error message. Does anyone know how to do this?
This doesn't work either (ic/set-pixels (ic/new-image 10 10) (into-array Integer/TYPE (repeat 100 (colors/rgb 0 120 215))))
perhaps https://clojuredocs.org/clojure.core/int-array might help?
or perhaps (into-array Integer ...
to get an array of Integer
s instead of int
s
using int-array
worked! Although the color displayed was not the one corresponding to my RGB values, so I'm guessing that it ignores the "value out of range for int", that I got above
I have a file of tab separated values & want to parse them into a vector of maps where the keys are the names in the first line.
https://clojure.github.io/data.csv/ You can read it as CSV with :separator \tab
huzzah!
Is https://cljdoc.org/ a legitimate clojure documentation site?? There's problems with its SSL certificate ATM
yes, it's legitimate. we're looking in to the SSL issue. sorry for the confusion!

Uh... 😅 There is a site (not https://clojuredocs.org/) that will render clojure documentation from.. github sources? that might be it and yeah it looks down at the moment
yes, it's legitimate. we're looking in to the SSL issue. sorry for the confusion!

The official Clojure API docs are at https://clojure.github.io/clojure/