Posts

    •  
    • 14 minute read

    A while ago I saw a post on LinkedIn that piqued my interest, not because it was any good, but because it was impressively wrong. It claimed that, to quote, “if every email user deleted just 10 emails, it would save enough electricity to power millions of households each year”. This is not only wrong, it is obviously wrong. In this post, I’d like to dive into why it’s wrong, how one might come to think it’s right, and perhaps what better message you could put out there to save the planet.

    •  
    • 75 minute read

    For the ninth December in a row, I’m playing with Advent of Code. Advent of Code is a series of 50 puzzles published by Eric Wastl, where you try to solve Christmas from some far-fetched horror. Every day from December 1st to December 25th, two puzzles become available, but the second is revealed only after you provide the answer to the first. In this post I will go over how you can solve them, and hopefully some interesting concepts along the way.

    •  
    • 5 minute read

    Next.JS is a fairly nice way of building a multi-page, mostly statically rendered website with React and making it make sense. It actually solves the problem of “what if a React app was not a Single Page Application” pretty well, but it’s somewhat particular about how it wants to be deployed.

    •  
    • 11 minute read

    Rust has a burgeoning async system. If your application is heavy on IO, you should simply “use async” and everything will work efficiently. You can have async fn, .await whenever that could be worked on in the background while the CPU does something useful. Then you learn to add Tokio for it to do anything and things may seem like magic. Fortunately, computers do not work by magic yet, so we can try to simplify things and get a better understanding. Today I want to do just that.

    •  
    • 13 minute read

    This is the KingFast F6 Pro 240 GB SSD. Despite its name, it is neither King nor Fast. I suspect the name might have been chosen for its similarity to Kingston’s brand. It is said the disk is so slow using it qualifies as inhuman punishment under the UN’s Universal Declaration of Human Rights. Yet somehow a copy of them has found their way into my hands. Today, I’d like to figure out what makes it so slow, and take you along on my journey.

subscribe via RSS