Christian Kruse

Welcome. On this page you can find my software projects, my articles, my notes and my pictures.

My name is Christian Kruse. I work as a software developer and system administator at Termitel GmbH. I live in Germany in a small town called Steinfurt.

I am passionate about software development, GNU/Linux, FLOSS as well as OS X. I am also a do-it-yourself apologetic: I did a lot of things in and around my house myself. I love the hacker culture. And last but not least I am a dog owner.

This is my personal replacement for Twitter, Facebook and the other data silos. My content is mine — so if you are interested in my activity, just have a look at this page.

Last Article

What's new

Atom Feed

  1. 2018-09-19
  2. 2018-09-12
    Christian Kruse,

    Public service announcement: Math.max(...[]) returns -Infinity - took me about an hour of debugging to locate this problem.

  3. 2018-09-11
    Christian Kruse,

    Currently I am working on a TypeScript project. During this project I wanted to give the TypeScript compiler the hint that I expect a class object as a parameter. I couldn't find something in the documentation. But since you can use expressions as type declaration I tried to use typeof:

    class Bar {}
    function foo(val: typeof Bar) {}

    Surprisingly this works. Now after I knew what I had to look for I could find a hint in the documentation as well:

    Next, we then use the class directly. Here we create a new variable called greeterMaker. This variable will hold the class itself, or said another way its constructor function. Here we use typeof Greeter, that is “give me the type of the Greeter class itself” rather than the instance type.

    Maybe this saves you a few headaches.

  4. 2018-09-10
    Christian Kruse,

    Over the weekend my good friend Jeena was visiting me. We had a lot of fun and tons of interesting talks. It was a pleasure, Jeena!

  5. 2018-08-23
  6. 2018-08-15
  7. 2018-08-12
    Christian Kruse,

    EmacsCast: A journey into Emacs is a podcast of a programmer diving into Emacs. While I didn't listen to it, yet, I thought I should share it because there is not very much Emacs content out there. In the first episode he introduces hilself and explains why he, as a SublimeText user, dives into Emacs.


  8. Christian Kruse,

    After a pause of 14 days it is surprisingly easy to get back into running. 17,8km in 01:21:33, 04:35 per km 🏃

  9. 2018-08-11