Sponsored links
Dart and Flutter

Dart: Trie Data Structure: The Key to Fast and Effective Search

Structure Trie (same pronunciation as "try") is a tree-like data structure. It has the following looks. Let's assume tha...
Python

Python Check performance by using timeit

We should somehow check the performance if we want to compare some implementations to know a faster one. It can be done ...
Golang

Golang Implement Debounce logic in different ways

There are multiple ways to implement Debounce Logic in Golang. I want to compare the differences and check which one is ...
Golang

Golang How to implement Debounce and how to use time.Timer properly

timer.Timer is simple but it's not as straightforward to use it as it looks. What can we do with time.Timer? There are t...
Golang

Golang Which way is the best to declare array/slice

Have you ever considered the best way to declare an array/slice in Golang? Golang offers several ways to declare it. It'...
Python

Python How to add custom fields to logging formatter

logging module is a useful module for logging. The log format somehow needs to be defined to make it more readable. The ...
Golang

Golang When should Atomic be used instead of Mutex?

I have used sync.atomic for the first time in my work. It's lighter than Mutex. If the program requires speed and it doe...
Docker

Docker How to set up USB hotplug for a USB device

I needed to configure Docker container that can recognize a USB device. I used --device option for the first release. It...
JavaScript/TypeScript

How to write clean if-else statements

if-else statements can easily be nested and make the code unreadable if we don't consider anything to write it. if-else ...
Python

Python How to convert a nested JSON to a class

It's easy to convert an object to JSON and JSON to an object in Python. json module provides the following functions. du...
Sponsored links