Fork me on GitHub
#off-topic
<
2019-07-29
>
Michael Thurmond15:07:31

is there a clojure jobs channel on clojurians?

bherrmann15:07:25

#jobs #jobs-discuss #remote-jobs

Matthew Davidson (kingmob)16:07:55

Hey, I’m updating ripgrep to include EDN in the list of types. Do people want to have .edn grouped with the existing Clojure suffixes (.clj, .cljc, .cljs, etc), or would people prefer to search EDN with a separate type (e.g., rg -t edn ... vs rg -t clojure ...)?

borkdude17:07:39

@kingmob I often want to search in only clojure or clojurescript, so I've made a small script for myself. In the case of Clojure, it searches in .clj and .cljc files, in the case of ClojureScript it searches in .cljs and .cljc

borkdude17:07:18

so I think I would like to have them seperated

Matthew Davidson (kingmob)17:07:45

FWIW, rg also supports specifying extensions directly, these are for making shorthand lists, if that makes a difference?

borkdude17:07:12

the scripts I described are actually just aliases, so I use those as shorthand

borkdude17:07:31

I use that with ag, I only recently tried ripgrep

Matthew Davidson (kingmob)17:07:51

From the admittedly limited data, polling is exactly 50/50. :)

borkdude17:07:22

I can always roll a script myself, so discount my vote

Matthew Davidson (kingmob)17:07:07

Someone on #edn voted your way, so separate is now in the lead

markmarkmark17:07:52

@kingmob are js and json separate?

Matthew Davidson (kingmob)18:07:10

@markmarkmark yes, but JSON is much more widely used outside Js contexts than EDN is with Clojure, AFAIK

lilactown18:07:13

that's quitter talk! 😛

borkdude18:07:20

@kingmob did you write ripgrep?

Matthew Davidson (kingmob)18:07:57

Oh no, just making a PR

Matthew Davidson (kingmob)18:07:18

Author wanted me to poll the community

Alex Miller (Clojure team)18:07:03

and it was intended to be portable to many languages and independent of Clojure

Matthew Davidson (kingmob)18:07:42

Alex, I know that was the goal, but I’ve never personally encountered EDN in the wild before outside a clj project

borkdude18:07:20

instead, people took a walk with ... yaml...

Matthew Davidson (kingmob)18:07:46

Heh. Well, we can definitely not tie it further to clj

Alex Miller (Clojure team)18:07:53

I'm not trying to pick a result, just providing info

Matthew Davidson (kingmob)18:07:36

Right now, in extremely unscientific polling across Slack, separate is preferred over grouped by 3:1

Alex Miller (Clojure team)18:07:49

I presume people didn't write impls in 20 languages just for fun, surely some of those must be getting used

Alex Miller (Clojure team)18:07:19

(not that I've encountered it either)

borkdude18:07:34

@kingmob no surprise, clojurists like it decomplected

Matthew Davidson (kingmob)18:07:39

Hehe. Well, I’ll give it to the end of the day, but it looks like it’ll be separate over grouped

dpsutton22:07:40

@ghadi at the jvm summit "Clojure Futures" https://www.youtube.com/watch?v=UbqNrZMbxBg

👍 12
clj 4
👏 4
seancorfield22:07:25

Ah, I knew he was "in town" to give a talk since he'd asked me about stuff to do in SF but I didn't know that it was the JVM Summit. They got that up on YouTube quickly!