Home
Borko Rajkovic Tech Blog
Cancel

Callback Scheduling in JavaScript: Fire Callbacks at the Stroke of Every Second

Sometimes you would like to execute a callback exactly on the stroke of each second. There are many cases when you would like to achieve such behavior, here are just a few examples: New Year’s ...

IT Crossword

Try if you can complete this IT crossword. Good luck! Created with crosswordlabs.com

Unlocking the Theater Experience

New plays in local theater Recently I stumbled upon an advertisement for the local theater. From time to time I like to bring my kids to a theater as they enjoy it. Wow, there is a play that I can...

Modulo vs Remainder

Once I had to migrate an application from Python to Javascript. Even though the code was copied almost exactly, tests were failing. After some time I finally found out that the % operator is not th...

Code review using Git

A common practice in modern software development companies is to have a Code Review process in their development teams, which I believe is a must for a clean code base. In this post, I am going to...

Generics in Java part 3 of 3

This article is the third and final part of the series Generics in Java. Here are links to all parts: Generics in Java part 1 of 3 Generics in Java part 2 of 3 Generics in Java part 3 of...

Generics in Java part 2 of 3

This article is the second part of the series Generics in Java. Here are links to all parts: Generics in Java part 1 of 3 Generics in Java part 2 of 3 Generics in Java part 3 of 3 Now ...

Generics in Java part 1 of 3

In this series of articles, we’ll discuss Generics in Java. Here are links to all parts: Generics in Java part 1 of 3 Generics in Java part 2 of 3 Generics in Java part 3 of 3 Generics...

SQL: NULL values in UNIQUE vs DISTINCT

There is a subtle difference in how SQL UNIQUE and DISTINCT reason about NULL values. For UNIQUE they are not the same, but for DISTINCT they are 🤯 Cheat Sheet UNIQUE constraint makes sure n...

Floyd cycle detection

TL;DR To check for the existence of a cycle in Linked List, you can use Floyd cycle detection (tortoise and hare algorithm). I created a mini-game Tile walker 🏃‍♂️ that shows the use of Floyd cyc...