DNS is one of the critical building blocks of the internet and of the modern web. For the longest time the only way for Firefox to resolve a DNS domain was by using getaddrinfo. What’s remarkable about this function is that it’s implemented on Linux, Windows, MacOS - even Android. It has the same signature, and works in roughly the same way, even though the implementation in these operating…
In my previous post I explained how I created a Home Assistant entity to track the daytime/nighttime costs of my electricity. However, that is only half the story. Let’s back up to where this started.
The energy dashboard in Home Assistant supports adding tracking the cost of your electricity consumption. However, being a HA noob myself, it’s been slightly tricky figuring out how to do that, so here’s how I did it, in case someone else is also struggling with this. In the Energy dashboard, you edit your Grid consumption entity (I’m assuming you’ve already set it up). Under Select how Home…
March 4th 2014 my first day working for Mozilla full time software engineer. I’ve now been on the Networking team (Necko) for 10 years. A bit more than that if you count the 3 months I spent as an intern in 2012.
For a while now I’ve been a fan of Obsidian. It’s really great. I use it for all kinds of note taking and brainstorming. But long form writing isn’t exactly my strong point. Especially when I’m concentrating on a specific piece of code, it’s often difficult to start typing my thoughts into a document without losing my train of thought.
I just had 5 continuous weeks of time off from work. That might seem like an exceptionally long summer vacation to some, but it is actually quite common in Sweden. In fact, not just in Sweden, but most of the Nordic countries.
It’s been a while since I last wrote a blog post, so I wanted to do one about a topic that’s close to my heart. When I joined Mozilla almost 9 years ago as a full time employee, one of the first important bugs that I got was a bug in our URL parser. Little did I know that by fixing that one small bug I’d soon come to own the URL parsing code in Gecko.
Superhero movies are maybe my favourite genre. I think anyone can understand why they’re captivating. Most children spend a large chunk of their time daydreaming about flying or having super-speed or being invulnerable. Some of us never grow out of that phase and continue imagining gaining that awesome power in real life. But reality with superpowers would be quite a dystopia.