Recent Posts

  • Implementing wc command – Rust coding challenges

    This is the second post of the Rust coding challenges series, in which we will learn computer science fundamentals and write some actual code to make usable programs. In this […]

  • Starting a Rust learning journey with a simple parser

    Before diving into learning some Rust, let’s have some background on the motivation why I want to learn Rust in the first place. I’ve written Java professionally for a few […]

  • What stuck in my mind after reading The Black Swan (a book)

    Recently I’ve felt pretty bored and want to find something interesting to read. My initial plan was not about reading a whole book but rather just some Wikipedia article. But […]

  • Preemptive vs. Cooperative scheduling

    In an operation system, multitasking refers to the ability to execute multiple tasks concurrently; there are primarily two different types of multitasking: preemptive and cooperative. These methods are used by […]

  • Finding orders using Topological Sort

    Topological sort is a fundamental algorithm to order elements in a directed graph; in this context, elements are often denoted as nodes, and the edges between them represent dependencies. In […]

  • Understanding two’s complement

    Have you ever wondered why, in Java and other languages, one byte can only represent to as the maximum value and why cannot we have . There is indeed a […]

  • Implementing the LRU cache

    A cache is a component that stores data temporarily so that further requests can be served faster. For example, the search engine might store the result from users’ queries in […]

  • What is Java CLASSPATH?

    Classpath is a fundamental concept that has been oblivious to many of us, especially when working with modern IDEs like IntelliJ IDEA; we don’t have to worry much about classpaths […]

  • Things I’ve learned from Effective Java – Part 1

    In this series, I want to introduce one of the most-read books in Java programming: Effective Java. For the most part, this book focuses on the most fundamental classes and […]

  • Dependency Injection: The Basic

    To start the article, let’s first look at the code below: As we can see, class MonitoringService depends on class NotificationSender to function, and we’ve initialized class NotificationSender directly inside […]

Every support is much appreciated ❤️

Buy Me a Coffee