~$ ls -la posts/

TypeScript

Intention The intention of this post is to sum up some thoughts on TypeScript that come from my own experience of working with it. As with all engineering the right tool for the job is always dependent on the context of the job. The context where I would consider using TypeScript would be on projects that have a large codebase that will be developed and maintained by a large team of developers that have preliminary JavaScript or TypeScript knowledge. The advantages that come with using TypeScript will in my opinion outweigh the effort that has to spend on set up and the large amounts of boiler plate code that has to be written compared to using JavaScript. When setting up a proof of concept or a rather small project JavaScript will do just fine for my needs. [read more]

Fatbiking in the Cairngorms

This winter in December I took a little escape from work to the Cairngorms national park in Scotland. I had been curious about riding a fatbike for quite some time and after seeing “Mountain Bikes and Bothy Nights” by Alastair Humphreys, a great video about bothy culture I thought this would be the perfect area to do so. Other than that I Recently have been intrigued by steel bike frames. This for a couple of reasons. Steel bike frames are usually stiffer, tough heavier than aluminum frames. They are cheaper and more durable than carbon frames. And overall they just look cool. [read more]

Pure reducers in Elm

One of the most defining courses I took during university was “Functional Programming”. After being introduced to other paradigms such as object oriented programming in the bachelor years it was possible to learn Haskell in this course and thus delve deeper into the functional programming paradigm. At the end of the course I developed a web application using Snap. After that I got more involved into front end development using JavaScript and always missed the developer experience that I got when programming in Haskell. [read more]

Time for a website

My set up For this site I’ll be using Hugo, a static site generator that I’ve been using for several projects at the moment. Because in my search for a good and easy solution to host on Github pages I didn’t find a good source of information, I will start off with giving a short guide on how I set up my site. Assuming that you have set up your website using the guide on the Hugo website you will have a folder with the source of your website. To deploy to Github Pages you will need to create a repository that has the index.html file at the root on the master branch. Unfortanetly Hugo builds the pages into a folder named public. To overcome this, I have a solution based on this approach. I keep the source for the website in my local repository on a develop branch, and the build on the master. [read more]