I primarily use heroku to run my applications and Travis for CI/CD. I’m also currently giving Github Actions a try. So what do all those have in common? Well, for starters they have generous free tiers, but more importantly they’re not in the Google Cloud. Google cloud has some really nifty capabilities and so I end up using them pretty often. That’s where my problem started.
The Dev Life
Loading Google Credentials without .json
Fun with Clojure maps
There was a time where I was working exclusively in clojure and using SSR for the frontend. It was a peaceful time. But alas peace doesn’t last for ever. And then I picked up a new full stack project. A project building a SPA.
Clojure's thread-first macro: ->
Don’t you just hate functions with names that you can’t pronounce. I mean how do you pronounce
->? On top of that, its name is not consistent across languages so learning it once is not a guarantee that you’ll know its name in another programming language.
Clojure shootout: keep vs filter
Oh no, it happened again
it’s time to filter or keep
you ponder for hours it’s so
you don’t know which way to go
Gotcha! It's the trailing slash
You’ve discovered the Luminus framework. You’ve reached unparalleled levels of productivity. You can build a web app at the drop of a hat. You can’t believe no-one told you about this before. You’re life is perfect except for one small thing.
Destructuring keys in clojure
Oh, you think JSON is your ally? I do a lot work with JSON. So much so that my favourite library is a JSON parsing library (cheshire). The most tedious thing about working wiht JSON is pulling keys out of JSON objects over and over again.
My 5 favourite clojure libraries
In my travels I have collected a set of clojure libraries that I can rely on to help me solve problems effectively. These are my top 5.
There was a time where I was so fed up with lisps, Clojure, stack traces, and EOF errors. I was ready to go back to Node.js. And then I came a turning point. I stumbled across episode 29 of the Functional Geekery.
5 Tools for Getting Started with Clojure
Greetings friend. Today we’re going to talk Clojure tools. And no, you don’t have to use emacs. There are many tools and they’re all slightly different. Which tools are the best? Well, you see, like everything else in programming, it depends. It depends on many things. And therein lies the difficulty. Since our aim is to make it easier for people to enter the Clojure community we’re going to evaluate our decisions on beginner friendliness.
Advent of Parens
Overtone: Music to keep my dynos awake
In my earlier years, I worked with startups as well as the “idea guys” aka “Code this for me and I’ll give you equity in my idea”. So I quickly learnt to contain costs for each of the multiple ventures I was involved in.
Clojure Bits: Working with JSON
Clojure Bits: bite-sized and human friendly bits of Clojure. Today, let’s chat about JSON, the backbone of the internet. I’ve written a ton of web applications in Clojure and so far my favourite library for working with JSON is Cheshire. It’s simple to use and fast. Really fast. Here’s how you can get started with it.