This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-02
Channels
- # announcements (12)
- # asami (5)
- # aws (3)
- # babashka (12)
- # beginners (86)
- # calva (14)
- # chlorine-clover (3)
- # cider (13)
- # clara (8)
- # cljdoc (1)
- # cljfx (2)
- # cljsrn (1)
- # clojure (69)
- # clojure-berlin (6)
- # clojure-czech (14)
- # clojure-dev (17)
- # clojure-europe (76)
- # clojure-france (14)
- # clojure-nl (43)
- # clojure-norway (6)
- # clojure-spec (7)
- # clojure-uk (13)
- # clojurescript (4)
- # code-reviews (1)
- # conjure (16)
- # cursive (2)
- # data-science (3)
- # datascript (1)
- # datomic (41)
- # events (4)
- # fulcro (9)
- # hugsql (3)
- # instaparse (5)
- # jobs (3)
- # malli (1)
- # mid-cities-meetup (1)
- # nrepl (22)
- # off-topic (25)
- # onyx (1)
- # pedestal (3)
- # remote-jobs (3)
- # shadow-cljs (61)
- # sql (22)
- # xtdb (12)
One thing I will never be comfortable with is the ><<=>= being prefixed. The order messes with my mind. interesting because I don't have similar issues with division or subtraction, just lessthan/greaterthan
One trick I heard of is to mentally think of them as:
< are-the-following-ordered-from-least-to-greatest?
> are-the-following-ordered-from-greatest-to-least?
etcLike if you imagine the shape of the operator as a picture of the shape the “heights” of the quantities.
@manutter51 That’s nice, so basically “ascending?” and “descending?” respectively I guess
"monotonically increasing" and "monotonically decreasing" is the word from the docs. < increasing ... > decreasing (< 1 2 3 4 5 6 7 8 9 10) all good ( > 100 8 1) all good
Yeah, it’s the only way I can keep them straight, hat’s off to whoever came up with that.
I picture a little skier going either uphill < or downhill > on the top of the bracket and that helps me.
If I forget, I just mentally move the operator past the first argument and then it becomes clear to me.
I like how this community (Rich) has turned "hammock" into a verb 😄 https://clojurians.slack.com/archives/C03S1KBA2/p1601648356409300

How would I deploy a service that does its work on the filesystem in an environment where the filesystem if often destroyed
Maybe use something like https://aws.amazon.com/efs/ if the perf characteristics are sufficient for you
Hey there peeps! Not sure on which channel to ask but do you write scripts in Clojure or some other lisp dialect? I want to write a script to sync my home directory with some directory on external HDD using rsync or similar tool. But also I want to exclude some files and directories. I know I can write a simple bash script but I want to explore other possibilities and I want to have fun. 😄
I have not used it myself, but you might want to check out babashka https://github.com/borkdude/babashka. Also there is a #babashka channel here. If you have a system with a JVM installed, and the Clojure CLI tools, you can also write a single-file Clojure/JVM program like this: https://github.com/jafingerhut/dotfiles/blob/master/bin/clj-check-added-metadata. (only the first few lines of that file are necessary to adapt for another script -- I do not currently have a shorter example that uses that approach)
This looks interesting. Thanks.
Here is a shorter example of a single-file Clojure/JVM program, in case that approach interests you: https://github.com/jafingerhut/dotfiles/blob/master/bin/clj-simple-single-file-script
that's really neat! so it invokes clojure on the command-line...
I used babashka with borg-backup and am fairly happy
"monotonically increasing" and "monotonically decreasing" is the word from the docs. < increasing ... > decreasing (< 1 2 3 4 5 6 7 8 9 10) all good ( > 100 8 1) all good