• Programming

    Vintage CPU collection

    Collecting vintage CPUs, such as the venerable 486, Pentium, and Athlon processors, is a fascinating journey through the history of computing. These iconic chips represent significant milestones in the evolution of personal computing power. The 386, released in the mid-1980s, marked a significant shift towards 32-bit computing and paved the…

  • .NET - Programming

    Clearing NuGet cache

    NuGet is a package manager for .NET that makes it easy to install, update, and manage packages and dependencies for your .NET projects. When you install or update a package with NuGet, it downloads the package from a package source and stores it in a local cache on your computer.…

  • .NET - OOD / OOP - Programming

    Priority Queue in .NET 6

    Priority Queue is a data structure in computer science that is used to manage a collection of prioritized elements. It allows adding, removing and peeking (reading) elements in the order of their priority. The priority queue is used in many applications such as job scheduling, network routing, data compression, and…

  • .NET - OOD / OOP - Programming

    Custom comparer of a SortedSet

    Sorting collections is a common task in programming, and .NET provides a variety of tools to do so efficiently. One such tool is the SortedSet class, which represents a collection of unique elements sorted in ascending or descending order. By default, SortedSet uses the default comparer for its type, but…

  • Video

    Easily upload videos of security cameras to YouTube

    Home security cameras have become increasingly popular in recent years, with many homeowners opting to install cameras to keep their homes and families safe. One of the benefits of these cameras is that they can capture footage of potential intruders or other suspicious activity around the home. In this blog…

  • .NET - Programming - Web

    Web page scraping, the easy way

    Scraping content from websites can be a useful tool for gathering information or automating certain tasks. In C#, there are several libraries available that can help make this process easier. In this blog post, we will cover how to use the HtmlAgilityPack library to scrape content from websites in C#.…

  • .NET - Programming - Web

    Scraping dynamic page content

    Scraping dynamic content from websites has become an important task in data collection and analysis. With the advancements in web technologies, websites are now using dynamic content that cannot be easily scraped with traditional web scraping techniques. In this blog post, we will explore how to scrape dynamic content from…

  • .NET - Programming - Testing

    Unit-testing file I/O

    Two good news: file I/O is unit-testable, and it is surprisingly easy to do. Let’s see how it works! A software no-one asked for First, we need a piece of software that deals with files and that has to be unit-tested. The TestableIO project does the following: given a directory,…

  • Programming - Software

    Fixing Git pull errors in SourceTree

    If you encounter the following error when pulling a repository in SourceTree: VirtualAlloc pointer is null, Win32 error 487 it is due to to the Cygwin system failing to allocate a 5 MB large chunk of memory for its heap at the fixed address 0x68570000, while only a hole 2.5…

  • .NET - Programming - Testing

    Necessary evil: testing private methods

    Some might say that testing private methods should be avoided because it means not testing the contract, that is the interface implemented by the class, but the internal implementation of the class itself. Still, not all classes were designed with testability in mind, so real life compromises sometimes demand such…