Disclaimer: these posts are synchronized from Planet Clojure

Senior Software Engineer at OneStudyTeam

Senior Software Engineer at OneStudyTeamAbout UsOneStudyTeam is changing the way medicines are developed by connecting and empowering the clinical trial ecosystem. We are a team of researchers, entrepreneurs, technologists, and healthcare-obsessed professionals building solutions that eliminate some...

Staff Engineer at OneStudyTeam

Staff Engineer at OneStudyTeamWe're looking for a Staff Engineer with a passion for continuous learning who applies newly acquired skills to your daily work. You delight in solving difficult problems, pay close attention to detail, and believe in the value of automation. You shine as a collaborator ...

Centering text in Clojure

Notes;; centering_text.clj (def page-size 20) (defn padding [page-size line-size] (/ (- page-size line-size) 2)) (defn spaces [length] (let [infinite-space (repeat " ")] (clojure.string/join "" (take length infinite-space)))) (defn centered-line [page-size line] (let [line-size (count ...

Letter pyramid in Clojure

Notes;; letter_pyramid.clj (def chars-list (map #(char (+ % 65)) (range 26))) (defn line [number] (clojure.string/join "" (take number chars-list))) (println (clojure.string/join "\n" (map line (range 1 27)))) ...

Clojure Deref (Oct 3, 2022)

Welcome to the Clojure Deref! This is a weekly link/news roundup for the Clojure ecosystem. (@ClojureDeref RSS) Podcasts and videos Clojure events feed Apropos 2022-09-27 - Clojure Apropos E80 Clojurists Together with Daniel Compton - ClojureStream Podcast Season 1 Episode 7 - The Cl...

Page 2

Last time out, I was desperately trying to understand why my beautifully crafted page-aware lazy loading S3 list objects function was fetching more pages than it actually needed to fulfil my requirements (doesn't sound very lazy to me!), but to no avail. If you cast your mind back, I had set my page...

Making foo bar more readable in Clojure

Notes;; foo_bar_redable.clj (defn divisible? " if x is divisble by y, it returns true " [x y] (when (= (mod x y) 0) true)) (defn foo [number] (if (divisible? number 3) "foo" "")) (defn bar [number] (if (divisible? number 5) "bar" "")) (defn foobar-string [number]...

Foo bar in Clojure

Notes;; foo_bar.clj (defn foo [number] (if (= (mod number 3) 0) "foo" "")) (defn bar [number] (if (= (mod number 5) 0) "bar" "")) (map #(println % "-" (foo %) (bar %)) (range 1 31)) ...

Software Engineer in Test (Java)

We are looking for an experienced QA Engineer to join a development team for our USA client. Their product is an AWS–hosted multi-module payment and analytical platform for healthcare services, written in Clojure/Golang/Python language stack. The product encompasses a few applications for customer j...

Test-asserting Threads

Using test assertions in a multithreaded test often seems to work by magic or silently break. I found that even Clojure’s own test suite has trouble getting it right. Let’s dig into how to do it correctly.clojure.test uses thread-local state to record the progress of a unit test, and is used by test...