Fork me on GitHub
#announcements
<
2023-04-21
>
cjohansen06:04:51

Announcing phosphor-clj: All the wonderful icons in the open source Phosphor icon package as hiccup. Works with both Clojure and ClojureScript, and comes with tooling to make sure your ClojureScript bundles only contain the specific icons you use. https://github.com/cjohansen/phosphor-clj

šŸŽ‰ 18
šŸ‘ 10
slipset06:04:36

Would a macro that accepts a list of icons to import be valuable?

cjohansen06:04:49

Yes, probably. I considered adding it. PR welcome šŸ™‚

cjohansen06:04:57

I ended up with the macro that imports a single icon because I figured it would be the best way to make sure you import all the icons you use - wrap every keyword in the macro instead of maintaining a separate list. But I can see the use of both.

slipset06:04:57

Yah, and how much extra effort is it to call that macro a couple of times, really.

cjohansen06:04:33

I did add one to load all of them in order to make sure it all worked. Calling that macro by hand 7k times was too much šŸ˜„

slipset07:04:16

C-u 7000 C-x e ?

emacs 10
teodorlu14:04:22

huh icons/render, just returns data? Nice! So this should work for server-side generated HTML :thinking_face:

cjohansen14:04:13

Data all the way down šŸ˜„

šŸ’Æ 6
borkdude12:04:24

https://github.com/babashka/babashka: Native, fast starting Clojure interpreter for scripting babashka https://babashka.org/conf/ is happening June 10th in Berlin. Save the date and/or submit your babashka/clojure-related 20 minute talk in the CfP! šŸŽ‰ 1.3.177 and 1.3.178 (2023-04-18) ā€¢ https://github.com/babashka/babashka/issues/1541: respect bb.edn adjacent to invoked file. This eases writing system-global scripts from projects without using bbin. See https://book.babashka.org/#_script_adjacent_bb_edn. ā€¢ https://github.com/babashka/babashka/pull/1523: Reduce the size of the Docker images (https://github.com/raszi) ā€¢ Upgrade deps.clj to v1.11.1.1273 ā€¢ Upgrade transit-clj to 1.0.333 ā€¢ Add java.security.cert.CertificateFactory ā€¢ Bump clj-yaml to 1.0.26 ā€¢ Bump edamame to 1.3.21 ā€¢ Add UnsupportedOperationException ā€¢ Bump babashka CLI to 0.7.51 ā€¢ Bump babashka http-client to 0.2.9 ā€¢ Add --install-exit-handlers to native-image build to support shutdown hook + SIGTERM

šŸŽ‰ 44
babashka 32
4
šŸ‘ 8
šŸ˜Ž 2
2
borkdude13:04:56

Added a Windows section for the script-adjacent bb.edn solution: https://book.babashka.org/#_script_adjacent_bb_edn cc @UBLU3FQRZ if you're interested

šŸ‘€ 4
šŸ™Œ 2