-
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 […]
Recent Posts
-
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 […]
-
Measuring the Success of DevOps Implementation: Metrics and Key Performance Indicators
Introduction In the world of software development, you can’t improve what you can’t measure. This golden rule holds water especially in the constantly evolving DevOps landscape. A pioneer in this […]
-
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 […]
-
11 Reasons Why MacBook Is a Good Choice for Coding
11 Reasons Why MacBook Is a Good Choice for Coding Apple’s MacBook has become an increasingly popular choice for coders and developers across the world. It offers a range of […]
-
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 […]
-
Dijkstra’s algorithm to find the shortest path
Let’s imagine you and your best friend live quite far apart, you haven’t seen him for a while, your best friend is organizing a party at his house and you’re […]
-
An Introduction to Term Frequency – Inverse Document Frequency (tf-idf)
tf-idf is one of the most fundamental concepts in information retrieval. It’s the product of 2 statistics, the term frequency (tf), which is the numeric value representing how many times […]
-
Implementing retries with exponential backoff
Making a call to an external service might fail for a lot of reasons, sometimes it’s due to network failure, sometimes it’s because the external service is too busy, or […]