You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Dave Liepmann
daveliepmann
Solution-builder working in Berlin. Partner at Applied Science.
In JVM Clojure, Exceptions are for operating errors ("something went wrong")
and Assertions are for programmer and correctness errors ("this program is
wrong").
An assert might be the right tool if throwing an Exception isn't enough. Use
them when the assertion failing means
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
During the long weary days and nights I spent in the Army, I had ample time to think about my American citizenship. I knew Germany under the Kaiser, during the Weimar Republic, in the beginning of Hitler’s regime and I saw it again at the end of it. Therefore, I had quite some occasion to compare it with America and maybe some of my experiences and observations will be interesting for you to hear. I consider it a great honor to be asked by the American Legion to talk to you and I thank the chairman very much.
You heard in the introduction a short outline of my story but I may be permitted to say a few more words about it. In 1933, when Hitler was chancellor, I received a letter from the government that from the next day on I, being a Jewish physician, was not permitted any longer to take care of patients who were members of the medical insurance companies. That was not so terribly bad in itself. But at that
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java interop for the Clojurists who haven't done Java and who need to translate Java code to Clojure
Converting Java to Clojure for Non-Java Folks
Some simplified examples of how to read Java and turn it into Clojure. Intended for Clojurists without a background in Java. Based on clojure.org's Java Interop reference.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; People who strength train often want to predict the maximum weight they could lift for one repetition. This is because actually making a maximal attempt is tiring, slightly risky, and difficult to repeat. Let's see how to guess our "1RM" using sub-maximal attempts.
;; If you need to re-evaluate one of the code blocks below, put your cursor in it and press `Control-Shift-Enter` (`Command-Shift-Enter` on Mac).
;; ## Equations
;; There are many equations used to predict one-repetition maximum based on the greatest weight lifted for two to ten reps. All are unavoidably inexact. One popular method for determining your 1RM comes from Baechle, Earle, and Wathen (2000):
ClojureBridge Berlin curriculum 2: Data Structures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters