Fork me on GitHub
#off-topic
<
2020-05-29
>
andy.fingerhut08:05:34

You are welcome to encourage Clojure developers to use Stack Overflow for Clojure questions as much as you and they wish. Encouraging does not mean individuals will make that choice, of course, any more than there is a central authority that decides whether Clojure developers prefer Slack vs. ZulipChat, or Discord, or IRC, etc. for near-real-time chat.

plexus14:05:55

What are people's favorite "topic" channels? so not for a specific project or a specific locality, but for a specific topic like #testing, #observability , #books, #interceptors ...

plexus14:05:20

considering doing a blog post listing some of these, as they often lack visibility/discoverability

👍 12
seancorfield15:05:13

@plexus #sql and #tools-deps are probably my main focus here -- the latter is broader than it sounds, covering all manner of Clojure CLI and tooling questions.

seancorfield15:05:24

(wow, we're up to 655 channels now!)

borkdude15:05:52

maybe some channels can be garbage collected if they haven't been used for more than a year

seancorfield15:05:56

@borkdude The Admin team make fairly regular sweeps over the channels and archive off any that either have almost no members or seem to duplicate a more popular channel. But that rarely prunes more than about a dozen each time.

seancorfield15:05:52

(given the lack of available history in Slack's free plan, it can be hard to tell the difference between a "never active" channel and one that is just having a quiet few days)

jjttjj16:05:57

@plexus I started #bootstrapped-cljs somewhat recently, then never actually used it. But it could be useful (can be hard to find info on that topic)

andy.fingerhut20:05:14

Hopefully this is not too off topic even for this channel, but I laughed out loud when I recently received an email that is probably a legitimate result of a company that I am applying for a job to, but from a background check company that I have never dealt with before. The body of the message has a link to click on, and a few other sentences, but this is the one I found so funny: "This is a valid email from an authorized source."

andy.fingerhut20:05:19

In this case, it seems likely to me it is true, but dang, anybody can write that sentence in an email.

seancorfield20:05:49

"Click me! I'm harmless!" 🙂

borkdude20:05:25

@andy.fingerhut lol.. 🙂 good luck with your application

souenzzo21:05:00

Continue my #clojure thread about java The "minimal reproduce" works, but my code don't 😞

(let [cp (string/trim-newline (:out (sh/sh "clojure" "-Srepro" "-Spath")))
      pb (ProcessBuilder. (into-array ["java" "-cp" cp "clojure.main"]))
      p (.start pb)
      stdin (.getOutputStream p)
      stdout (.getInputStream p)
      buffer (byte-array 2048)]
  (async/thread
    (loop []
      (let [len (.read stdout buffer)]
        (prn [:read len (String. buffer 0 len "UTF-8")])
        (recur))))
  (async/thread
    (prn [:end (.waitFor p)]))
  (prn [:write 3 (.write stdin (.getBytes "(+ 1 2)\n"))])
  (prn [:flush 3 (.flush stdin)])
  (prn [:write 5 (.write stdin (.getBytes "(+ 3 2)\n"))])
  (prn [:flush 5 (.flush stdin)]))

borkdude21:05:31

@souenzzo What's your goal? I have a project which also invokes Clojure using ProcessBuilder: https://github.com/borkdude/deps.clj/blob/master/src/borkdude/deps.clj

👍 4
souenzzo21:05:07

My "long running" version was not working because I ctrl+c/v the handler-stop to create the handler-new-line and forgot the (.destroy p) on the first line dafuq 2+hours of debug

ðŸĪŠ 4