Fork me on GitHub

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


they all accept varargs though, you can't easily get that semantics w/o prefixed syntax


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?


Like if you imagine the shape of the operator as a picture of the shape the “heights” of the quantities.

👏 6

Crocodiles always eat the biggest number

🐊 9

@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.


lol, that's exactly what i do too 🙂


I like how this community (Rich) has turned "hammock" into a verb 😄

😆 3
👍 6
hammock 6

Just noodling in my brain now


How would I deploy a service that does its work on the filesystem in an environment where the filesystem if often destroyed


and is it worth the trouble


Maybe use something like if the perf characteristics are sufficient for you


you can mount EFS into a Lambda now

Miloš Tepić21:10:26

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 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: (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)

Miloš Tepić21:10:41

This looks interesting. Thanks.


Here is a shorter example of a single-file Clojure/JVM program, in case that approach interests you:


that's really neat! so it invokes clojure on the command-line...

Frank Henard22:10:08

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