20.09.2018 22:56

Liked: you-dont-need/You-Dont-Need-Momentjs: List of date-fns or native functions which you can use to replace moment.js + ESLint Plugin


20.09.2018 10:00

One of the first things you learn when you start to study philosophy is how difficult it is to write a definition.

Because you want to write a definition in a way where it stands on its own, where you don’t need to understand a million other things to get it. While at the same time making sure that you don’t include anything you don’t want to include and not exlucde anything you don’t want to exclude.

This is the reason legal stuff is hard. Laws are just a collection of complicated defintions.

This is why it is hard to write a law, that does exactly what you want it to do in the legal system. It’s kind of like programming. You know what you want it to do, but getting there can be difficult and complicated with a lot of external factors out of your control.


19.09.2018 17:50

Liked: Introducing GitHub Pull Requests for Visual Studio Code


19.09.2018 17:45

Liked: Introducing the React Profiler – React Blog


19.09.2018 17:43

Liked: The Rise of Immer in React | Netlify


19.09.2018 17:43

Liked: GNU Emacs and XEmacs Schism


19.09.2018 17:42

Liked: My Lisp Experiences and the Development of GNU Emacs - GNU Project - Free Software Foundation

Two sides to everything

19.09.2018 10:00

No matter what “it” is, there are usually at least two sides to it. Usually there are some good, and some bad and a lot in between.

It is always important to be able to analyse stuff from multiple angels and viewpoints. Because it is easy to look at it from where you stand. But how does someone more conservative think about it? Someone more radical? Different groups of the society?

Each of them will react differently to different arguments.

Three of my favourite Clojure methods: assoc-in, get-in, dissoc-in.

18.09.2018 10:00

When people hear Clojure and Immutable, I guess they think with horror of doing that with a language that have not been designed for it, like for example Java or JavaScript.

In Clojure you use the methods get, dissoc and accoc to get, set or remove values from hashtables or objects if you come from JavaScript land. That’s great, but far from revolutionary. Where it really shines is with the get-in, dissoc-in and assoc-in methods. They do the same thing, except that you can go as deep as you need to. They are the best when you work with deep data structures.

It was when I discovered these methods when I got it. This language is designed to work with immutable types. And it is easier than working with mutable types in most languages.

A Pile of Pencils

17.09.2018 10:00

The moment I got home after recieving the Clasroom Friendly Sharpener through eBay and tested it out on a few pencils I started to consider ordering another one. Because it is the only sharpener I want to use.

I did not do that. But instead I found a pen case or pouch at home and sharpened 24 pencils on both ends and started to carry that. The pouch I found at home have since been replaced by one from Nock. But the same principle stands.

Instead of doing what I did in the beginning, where I used up on pencil before moving on to the next, I now carry a lot of sharp pencils. And I use one after another and then re-sharpen them when I get home. Not usually every single day, but 2-3 times a week. But I usually stick to one pencil and re-sharpen it as often as I need when I am at home.

I still carry the KUM Masterpiece though, just in case, but I have never needed it.