Month: May 2017

  • My take on an AJAX re-frame effect handler

    My take on an AJAX re-frame effect handler

    There’s already an AJAX re-frame effect handler provided by Day8, the same guy who made re-frame and there’s nothing wrong with it. From the documentation, this is how you use it: That felt a little to verbose for my taste, so I made my own that you use like this: If you are familiar with…

  • Book Review: The Obstacle Is the Way: The Timeless Art of Turning Trials into Triumph by Ryan Holiday

    Book Review: The Obstacle Is the Way: The Timeless Art of Turning Trials into Triumph by Ryan Holiday

    This book is a sort of different explanation of the concepts of Stoicism. The book claimed the original works by Seneca and others are very accessible but I found The Obstacle is the Way way easier to digest. This books claims obstacles are a good thing and tries to prove it with many examples of…

  • Pre-signed S3 URLs with Clojure and ClojureScript

    Pre-signed S3 URLs with Clojure and ClojureScript

    Dashman uses S3 for storing the encrypted screenshots. They can go directly from the renderer application to S3 and from there to the displayer application as there’s no need for the server application to ever see them. They are end-to-end encrypted anyway. My needs in this regard were a bit unique. I have a server…

  • How to work with a private library in ClojureScript

    How to work with a private library in ClojureScript

    Dashman is composed of many components  including three desktop apps written in ClojureScript using Electron that share code through a private library (as in, it’s not open source). To have continuous integration and a set up that is easy to boostrap, that library should be deployed to a private repository. I achieved that using the…