Using own OpenWRT router with Vodafone/Cityfibre

For something very different this time, a quick recipe for a very specific situation. One of the very few fiber-to-the-home solutions in the UK is through Cityfibre, sold as Vodafone “Gigafast” packages where I live. As with other ISPs they give you their own internet router. If you would like to use your own, here’s how. TLDR; Obtain PPPoE credentials specific to your account from Vodafone, then use them to configure your router, you need to tag all your packets with VLAN 911. [Read More]

My 2020 setup

Hello and welcome to the second edition of me doing a summary of the year of using tech tools. Here’s a list of software and some hardware I find useful, either things that I use daily or things that make an unusual task pleasant instead of incredibly difficult. This is constantly evolving, so please mind the publish date of this post, please also check the last year’s installment as this article will make references to the previous setup. [Read More]

Don't let failures spread over your suite with process-based tests isolation

Being able to precisely control what failures in underlying systems occur and at what time can be really useful in achieving a fast and stable test suite. While I am a big proponent of dependency inversion and being able to control dependencies via the explicit injection points in your API, sometimes it’s impractical to do so. This is where fail can help us immensely, providing an escape hatch for situations like those as it allows to inject failures into previously defined failure points. [Read More]

Buttermilk cornbread

I like baking, as it can be something that does not involve any computers. Please have this recipe for cornbread, based on buttermilk and baked in a skillet. As for baking goes, this recipe is quite forgiving and you don’t need to watch ratios as closely as with others. Ingredients This is for a 20cm (8") skillet, which gives you enough bread for you and one other person to enjoy over a weekend. [Read More]

My 2019 setup

Here’s a list of software and some hardware I find useful, either things that I use daily or things that make an unusual task pleasant instead of incredibly difficult. This is constantly evolving, so please mind the publish date of this post to gauge how dated it is. The best place to get most recent settings I currently use is my dotfiles repository, especially the nixos configuration. Laptop and OS My daily driver is Thinkpad T480 running NixOS. [Read More]

Fuzzers and how to run them.

I am fascinated by the concept of fuzzing. It fits well with my desire to test weird code paths by using more of computer’s time and less that of a programmer. What is fuzzing ? It’s a type of automated testing, especially good with finding edge cases in your code. It runs totally outside of your code and knows nothing about it - it just throws random data at it. Modern fuzzers instrument your code to be able to tell if by changing input they change the code paths covered and by doing that they try to achieve maximum coverage. [Read More]

Website refresh

Hello ! As you may have noticed - this website looks different now ! Why is that ? I’ve not only changed the visual theme but also a lot of underlying infrastructure. Let’s start with describing the old setup and see where we can improve. The site previously ran on Nikola, was built on Travis and then pushed to Netlify, which I later changed to Github Pages. While it worked it had some issues of its own; [Read More]