A weekly newsletter and podcast diving into Clojure programs and libraries by Daniel Compton.
Falcon (my employer) still has two job openings, a Web Development Engineer (mostly front-end), and a Senior Software Engineer (mostly backend). If you’d like to work in an empathetic, inclusive, fast growing team that uses Clojure, please look at applying. We’re looking to hire people remotely (or in the Bay Area) who can work with a significant overlap in the Pacific time zone.
If you (or someone you know) haven’t done Clojure but are experienced in another language and would like to learn Clojure, we’re happy to teach you!
:db-crud
This lets you interoperate with JavaScript objects in an idiomatic fashion, while being an order of magnitude faster than equivalent constructs using js->clj
Brian Marick had a thread on Twitter about testing frameworks, and some fundamental assumptions that test frameworks make about equality.
Workiva has open sourced eva, a clone (mostly) of Datomic. It sounds like they are not going to be doing a lot of active development on it anymore, and it’s unclear whether they’re using it themselves currently. Very cool nonetheless, and it has great documentation.
Speaking of Datomic, there is a new release which adds a bunch of very useful new data modelling and data validation features.
Tuples solve some thorny data modelling problems that I’ve faced in the past. Attribute predicates allow you to validate attributes match particular rules at the database level; previously you had to use transaction functions, or app level code to handle this (I think?). Entity specs let you define validation rules for an entity as whole, e.g. a user has an email address and a password. Return maps are a very cool feature that let you get maps back from a datalog query instead of tuples, while also being able to positionally destructure them.
Taken as a whole, these changes significantly improve Datomic’s native data modelling, querying, and data validation capabilities. I expect a lot of Datomic shops are going to be very happy with this update.\
Now for something completely different, I read and listened to a discussion about what happens if the cost of capital never rises again, and what that would mean for businesses and society. I have a tendency to assume that things will revert to the mean, and to the way they are ‘supposed’ to be (see NZ’s housing market bubble). This was a good reminder for me to keep an open mind that sometimes the world fundamentally changes.
I’m Daniel Compton. I maintain public Maven repositories at Clojars, private ones at Deps, and help fund OSS Clojure projects (along with tons of generous members like Pitch, Nubank, JUXT, Metosin, Adgoji, and Funding Circle) at Clojurists Together. If you’ve enjoyed reading this, tell your friends to sign up at therepl.net, or post a link in your company chatroom. If you’ve seen (or published) a blog post, library, or anything else Clojure/JVM related please reply to this to let me know about it.
If you’d like to support the work that I’m doing, consider signing up for a trial of Deps, a private, hosted, Maven Repository service that I run.
Thanks!