Of course I have a backup!

Random blobs of wisdom about software engineering

Archive About Me Consulting My toolset

I noticed that my XPS 15 laptop (from 2020), almost always wakes up immediately from suspend, or even worse, when I take it out of my backpack, that's when I find out that it woke up, and now all the fans are going crazy, because it almost melted in the backpack. Turns out, Microsoft have decided to fuck over the consumers, and the manufacturers just went along with it.

Continue reading ...

This is my presentation on rust, the programming language, that I have done at the Norwegian Food and Safety Administration (Mattilsynet), while I worked there as a (devops) consultant. It goes over the very basics of rust, the major features, the type system, talks about some unique concepts not found elsewhere, and shows some examples on how you would model some very simple things.

Continue reading ...

It has been a few months since I started heavily investing in learning to type on a 40% keyboard, in hopes of juicing out some extra productivity, and it has been an extremely bumpy ride so far.

Continue reading ...

I built a new PC a few days ago which in itself was a challenge in these COVID times, since there are stock issues everywhere, but I managed to get lucky with a few purchases. After assembling everything, it was time to look into how to setup VFIO for a second time.

Continue reading ...

I have been fascinated with keyboards for a long time now, I think I currently have 6 in my flat, and I usually bring one with me to my workplace. This week I finally managed to finish my Lets Split keyboard that I ordered 2 years ago.

Continue reading ...

The ways you can cache assets with HTTP has been already beaten to death by many other blog posts, but I want to highlight a very big gotcha that still bites many people. This is when you deploy a new version of your application, but some browsers still show the old CSS and JS files, even though the contents of those files have changed.

Continue reading ...

I tried to get into rust 3 times now. Every time I gave up after about ~20 hours (combined), for various reasons. A week ago I gave it another shot, and I think I finally managed to have a breakthrough. Here is a list of things that I wish somebody has taught me before starting.

Continue reading ...

Execute yarn. Do not go git checkout --theirs ... and git reset ... and whatever else people might suggest. Just type yarn and press enter. Yarn has an automatic conflict resolution built into it, it will detect that the yarn.lock file has conflicts, and use its internal algorithm to figure out what to do. This was a public service announcement.

Some libraries, tools, and technologies that have made a lasting impact on me in 2018.

Continue reading ...

And it's a terrible mess, and nobody should use it until this is fixed. Yeah I said it. The internet is already full of "5 reasons async/await blows Promises away" and "How to escape callback hell with async/await", only thing they all fail to mention is that is that it will lead to errors that are missing crucial stack trace information.

Continue reading ...