Pedestal development using emacs.

03.09.2018 10:00

Pedestal is my current favourite backend development library for Clojure. I find it a lot cleaner than Ring for various reasons that I’m going to get into in a future blog post.

This is how I do pedastal development: I start my dev eniornment, usually IntelliJ+Cursive or Emacs+Cider; because VSCode doesn’t have any good plugins yet.

Then I run (def serv (run-dev)) in the repl and you have a running dev server. Then the repl should pick up on file changes, but it does not work that well with all editors. Or that is at least my personal experience. Seems like some editors don’t send the proper notifications or something.

Anyways, when I launch the repl in iTerm and edit with VS Code updates are detected without me doing anything. But, if you use emacs or Cursive you need to tell the editor to evaluate the file you are editing before you see the changes. In Cusrive it is CMD SHift H, and it is M-x cider-load-buffer and the changes should show up more or less immediatly.

If you want the full story, you have to run cider-jack-in to start the repl, and then cider-switch-to-repl-buffer to get the buffer and then I run (def serv (run-dev)), and cider-load-buffer each time something changes (full: cider-jack-in, cider-switch-to-repl-buffer, cider-load-buffer)

Where I buy stationary in 2018.

03.09.2018 10:00

Historically I have been buying from Goulet and JetPens. The reason is simple, they had the most stuff, with the most affordable overall pricing.

Back when I got into this crap in 2013, there was not anyone selling that kind of stuff in Norway. And the companies in Europe ended up being as expensive and same shipping times as the American ones after shipping, customs etc.

So I just went for the ones that had the most stuff. And the best websites. I tried to do most of my shopping at Goulet, because I love how they are doing everything.

Then about a year and a half ago I was made aware of a Norwegian site selling the kind of stuff I loved. So I wrote a blog post, got an e-mail. And have been doing most of my shopping there since then.

I have also gotten some stuff for free, for the purpose of revewing them or gotten nice discounts.

These days I try to do all my shopping at Tudos. Because I want to support them as much as possible. And because everything is simpler when they are inside Norway. Cheaper shipping and no import / customs fees.

Even though they might be more expensive when you compare product A and B; the result are much closer the identical when you look at how it looks by the time you get the product.

And it is so nice to not having to plan weeks in advnace to make sure you always have inks and notebooks.

In other words, I get stuff from Tudos if they can sell it to me. And the little I need that they can’t get me are mostly bought from

Running your own git server.

02.09.2018 02:00

To run your own git server is very easy, and it doesn’t require any extra software. If you want something a little bit more fancy like a web interface or collaboration you will need more setup. But when you just need a second location for all your private projects you just need a machine with SSH.

A git repo can exist in two different variants, either as a full repo or as a so called bare repo. A bare repo is the repo without a working copy.

The way I host my own git repos is that I have a folder called GIT in my home directory on my Linode. In there I have all my private repos. You just use the –bare parameter when you create them, and use user@hostname:/home/user/GIT/name to clone them.

I think it works great for all of the repos that you don’t work with others on, and just want to have somewhere remote.


31.08.2018 10:00

I first played this game on iOS, then I bought it again when I got my Switch.

It is beautiful and great. It is kind of a side scroller meats puzzle game. There are probably a whole category for it that I don’t know the name for.

This is not an easy game, and it is great, but a little bit more on the frustrating side than I prefer.

My history of pocket pens

31.08.2018 10:00

I have always had a pen or a pencil in my pocket, or at least for as long as I can remember.

  1. Pilot G2
  2. Retro 51
  3. Pilot Metropolitan
  4. TWSBI Eco
  5. Pencils
  6. Fisher Spacepen.

Let me preface this with what I have concluded with being a good pocket pen, and this is not the same as a “mini pen”. A lot of people prefer a smaller pen as their pocket pen. I’m not one of them. Because my pants have larger pockets.

  • It should have a cap, because retractable pens often get a lot of shit inside it, that can cause some mess like it soaking up a lot of ink. And sometimes you twist / click the mechanism that can destroy pants.
  • It should be low maintenance. We all have many writing instruments that require a lot of up keep, like fountain pens or pencils. The thing I have in my pocket should be something that always works
  • The cap should be tight enough for you to trust that it won’t come off
  • THe construction should be solid enough so that you don’t feel it will break.

Of the items on the list above, I personally have only been happy with the Pilot Metropolitan fountain pen and the Spacepen. None of them are perfect, but both of them are built in a way where I can trust that they never spill ink in my pants. The Metropolitan required a little bit too much up keep (aka too low ink capacity) and the Spacepen refill is not my favourite. But I might try to replace it with a Retro 51 refill, or something similar.


31.08.2018 09:40

Liked: Directory of Microbloggers | Excursions


31.08.2018 09:40

Liked: Microsoft to business partners: If you want to work with us, offer paid family leave - The Washington Post


31.08.2018 09:40

Liked: Microsoft to business partners: If you want to work with us, offer paid family leave - The Washington Post


31.08.2018 09:40

Liked: inessential: Social Media Mobs


31.08.2018 09:39

Liked: What does the GDPR actually mean for Startups – Hacker Noon