This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-21
Channels
- # announcements (3)
- # aws (11)
- # babashka (5)
- # beginners (116)
- # cider (30)
- # clara (1)
- # clj-kondo (15)
- # clojure (17)
- # clojure-dev (9)
- # clojure-europe (2)
- # clojure-italy (1)
- # clojure-uk (3)
- # clojurescript (9)
- # conjure (3)
- # duct (22)
- # exercism (1)
- # fulcro (8)
- # graalvm (5)
- # graphql (3)
- # helix (3)
- # joker (3)
- # kaocha (2)
- # off-topic (9)
- # pathom (4)
- # re-frame (1)
- # rum (6)
- # shadow-cljs (81)
- # sql (6)
- # xtdb (9)
Seems like it being zero-copy depends on a particular implementation. Seems like C++ and Ruby ones have it, but there are no mentions of it for Clojure or Java. Although there are mentions of it in closed issues of msgpack-java
.
So it appears this doesn’t work:
(map #(var %) [inc dec])
Is there a way to turn a list of symbols into a list of vars?Actually, never mind — it turns out I needed to take a step back and just use they values instead of the keys of ns-publics
and ns-map
.
How should I go about getting a list of timezones to populate a select form field in Clojure? I thought about hardcoding them but they may change based on DST
Doesn’t java.time list zones somewhere?
Yep, there we go (ZoneId/getAvailableZoneIds)
. Uhh, maybe you need to filter that, because some zones aren’t really human
I have a lein-based project I'd like to convert to deps.edn. It is mixed java and clj source. Leiningen makes this pretty easy to do. Can someone point me to an example deps.edn which builds java source and clj source into an uberjar?
Maybe of interest to you: https://github.com/ztellman/virgil Doesn't have anything specifically for tools.deps, but can be used to mix Java in a Clojure project.
@tstout The general recommendation with deps projects is to build your Java stuff separately and treat it as a dependency of your Clojure project.