Back to Spacemacs.

06.08.2018 10:00

I have gone full circle, first Spacemacs, then Doom and finally my own thingø before I went back to Spacemacs.

It was a lot of fun, and I got a lot out of it.

Te mai nreason I went back is that Spacemacs have a lot of really nice tiny details that would be really hard to re+implement by myself. And they have improved some of the problems I had with it since I left.

For example start time is a lot better.

Five step guide to pen addiction

06.08.2018 10:00

  1. Get a pack of Field Notes, a Leuchtturm1917 A5 notebook and a Retro 1.
  2. Get a Pilot Metropolitan
  3. Get a bottle or Iroshizuku ink.
  4. Get a TWSBI Eco
  5. Get a Lamy 2000.


04.08.2018 20:48

Text Expander and Emacs doesn’t play that nice together out of the box, because of keyboard input related reasons. The snippet below makes a lot nicer. Not perfect, but better.


04.08.2018 18:18

Liked: WTF is this - Understanding the this keyword, call, apply, and bind in JavaScript


04.08.2018 17:50

Liked: GitHub - klauscfhq/taskbook: Tasks, boards & notes for the command-line habitat


03.08.2018 19:39

Two of my favourite SQL libraries for Clojure: SQL Korma and HoneySQL.

Cloud standards

03.08.2018 02:00

I have never written anything of substance for any of the server-less stuff that amazon or microsoft are doing. Or I have used some of the services here and there, but I have never gone “all the way”.

One of the reasons I have never gone in on any of them is that all the stuff are proprietary. If I want to move I have to re-write a significant amount of code. And it also requires a lot of manual configuration for it to work.

What I would like to see is standards. Or at least a standard compliant way to use them. Because a lot of the features exist across the various services; old shit, new wrapping.

I don’t care that much about how, but what I want is some kind of configuration or manifest file plus some code that I can deploy.

Just to tell it what kind of services I need, how I want them to be configured etc.

And if I want to change from Amazon to Microsoft it would just be to update DNS and upload the shit.

Also, if this was done, it would also be possible to run your own version of it, and get some real developer environments locally.

Field Notes Pitch Black

03.08.2018 02:00

I recently got my first Field Notes order in a long time. It was three packs of Pitch Black. It is the first limited edition I have bought since Arts and Sciences.

It is awesome. The cover is thicker than usual. And the colour is awesome, because the outside is black and the inside is like the regular. I’ll probably order another batch of them if there are any left by the time I order more.


02.08.2018 11:00

I finally got arround to ordering a Nintendo Switch about a week ago, and it is awesome. This is the first modern “handheld” Nintendo device I have used that feel modern, both in terms of design and graphics. It is great, but it feels more like an “iPad” than an “iPhone”, unlike the Nintendo 3DS. And I think I would have preffered something a tiny bit smaller, because I mostly use it as a handheld device while communting etc.

Clojure needs its Django / Rails moment.

01.08.2018 02:00

I’m not a huge fan of Django and Rails, I don’t think they are bad either, the languages they use are not a good fit for how I think any more. I also think they have not managed to integrate the whole web app moment in as well as they should.

But that is a blog post for another time.

Both frameworks are very important in the history of web development because they managed to turn a lot of difficult or complicated topics in a way that was very easy to deal with, in a way that felt very native to their respective programming languages.

Having a proper way to deal with databases, database schema changes, login, and solid implementations of the MVC.

The Clojure world might not be into the idea of frameworks, but neither was the Python world. Most of it outside Django are more about putting together various different libraries with your own code to get what Django would give you out of the box.

A bare minimum solution of what Clojure would need is:

  • A solid way to write API’ and the controller side of a server side rendered web page
  • A way to define how the database looks in code
  • A way to query the database you modelled in code.
  • A template language
  • A middleware system (to make it easy to make reusable component to deal with common stuff)
  • A login system that just works without any config, that you can configure if you need to.

And all of this have to feel natural for a Clojure programmer.