This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # asami (1)
- # babashka (50)
- # beginners (70)
- # bristol-clojurians (6)
- # calva (36)
- # chlorine-clover (1)
- # cider (4)
- # clj-kondo (3)
- # cljdoc (49)
- # cljsrn (5)
- # clojure (96)
- # clojure-australia (3)
- # clojure-dev (1)
- # clojure-europe (84)
- # clojure-nl (4)
- # clojure-spec (9)
- # clojure-uk (65)
- # clojurescript (31)
- # community-development (6)
- # conjure (17)
- # cursive (8)
- # datascript (5)
- # datomic (12)
- # duct (3)
- # emacs (18)
- # figwheel-main (2)
- # fulcro (7)
- # helix (1)
- # jobs (3)
- # luminus (7)
- # off-topic (77)
- # pathom (3)
- # portal (1)
- # rdf (4)
- # re-frame (1)
- # reitit (4)
- # remote-jobs (4)
- # reveal (15)
- # rum (1)
- # sci (38)
- # shadow-cljs (22)
- # spacemacs (1)
- # specter (6)
- # sql (1)
- # test-check (1)
- # tools-deps (60)
- # vim (12)
Where my Belgians at (if you can read this you are now an honorary Belgian) https://twitter.com/drGerlant/status/1315997215152799747
I must confess that I realized only until miday that this was actual multiple languages. And I don’t even speek dutch(?). Lol. I was missing some german sprinkled in though. Awesome text.
yeah it does bother me that this is dutch/french/english, while official languages in Belgium are dutch/french/german, but to be fair most belgians understand English, most don't understand German
Did some maths with one of my ten year olds this morning, as one does. Anyways, we ended up in some term rewriting. Like 2 + 3 is just 1 + 1 + 1 + 1 + 1. In order to do this, you need (AFAICT) three things. You need to be able to add one, subtract one, and check if something is zero. Which leads me to Clojure. I’ve sometimes wondered why we have inc, dec, and zero? And I guess a reason for this is that these are the three building blocks for arithmetic. And good morning!
@slipset you don’t even need subtraction, just the concept of peno numbers: 2 + 3 = S(S(0)) + S(S(S(0))) = S(0) + S(S(S(S(0)))) = 0 + S(S(S(S(S(0))))) = S(S(S(S(S(0))))) = 5
@slipset Maybe you can also teach them integer overflow, then you can simulate subtraction with only addition?
does this count as a non-euclidean thing? presumably the jump from MAX_INT to MIN_INT is not considered to be smooth
Doesn't make sense in maths as you need the concept of an infinite number of, well, numbers.
Btw, did you know that addition has an identity element (zero), but subtraction doesn't.
If your really fances then maybe(!) take the difference. But only if absolutely necessary :)
Someone just said IDEA and my first thought was "ugh, intellij". But then I realized that they were not a programmer and they just had an idea they were excited about...
Don’t most developers refer to the software as “IntelliJ” (which is also misleading)
none of their other products are named intellij though, so the
Idea part has always seemed superfluous
Once had a manager whose style was described as “Management by Crocodile”, but I am not sure if it’s translatable. “He’s surfacing, gapes his mouth wide open (meaning: talking loudly and a lot), and submerges again”.
Suprisingly, in german it would be… shorter: “Auftauchen, Maul aufreißen, abtauchen”
oohh.. I hadn't heard of that one. Mushroom management is. Keep everyone in the dark, throw lots of sh*t over them and as soon one of them sticks it head out you chop it off.
What was your goal of creating one? Was there a performance issue you are trying to debug?
ok, I know that you shouldn't do
swap! on the fast path... but what is a good workaround for this?
vreset! might help if you don't need thread safety and watches
and maybe not... as I have one big
atom holding state for all the clients and I need to update it for each client on each interaction with the client.