Golang Golang How to filter a Slice with Generics Golang doesn't provide utility functions for Slice. It's easy to implement filter to filter the element but it should be implemented with Generics. Let's check how to do it. 2023.06.02 Golang
Golang Golang Generics type constraints with interface and Tilda How can we implement if an extended type (Type Definition) needs to be covered by interface for Generics? Let's define an interface with Tilda! 2023.05.31 Golang
Golang Golang How to start using gRPC in devcontainer gRPC is one of the nice tools when two applications need to be communicated with each other. It's not hard to implement ... 2023.05.24 Golang
JavaScript/TypeScript TypeScript/JavaScript Filter array of objects by property value An array often needs to be filtered by a condition. That can easily be done filter function that is implemented in Array... 2023.05.22 JavaScript/TypeScript
JavaScript/TypeScript JavaScript replaceAll multiple characters and strings replaceAll was added to ECMAScript2021. The same thing can be done with replace function but the name is clearer for the... 2023.05.19 JavaScript/TypeScript
Dart and Flutter Learn implementation of Disjoint-set (Union Find) in Dart Disjoint-set is one of the Data Structures. It's useful to merge two elements and check whether an element is in the same group as another element. Let's learn how it work and how to implement it. 2023.04.24 Dart and Flutter
JavaScript/TypeScript Node.js + C# (Edge.js) How to investigate Memory Leak It's hard to find the root cause when we find a memory leak in software. If you have no clue, it's better to start profiling the code. A tool helps the investigation. 2023.04.21 JavaScript/TypeScriptTips
Dart and Flutter Flutter How to implement Bloc like pattern with Riverpod Do you want to move from Bloc pattern with flutter_bloc to Riverpod? Then, let's go through with me. I implemented the same application in both. 2023.04.19 Dart and Flutter
Dart and Flutter Flutter Separate UI and business Logic by Bloc Pattern Code segregation is important for clean code. UI part should be separated from Business Logic. Bloc pattern is one of the solutions in Flutter. Let's learn how to implement it. 2023.04.17 Dart and Flutter
Dart and Flutter Flutter Freezed autogenerates code for copyWith, serialization, and equal Some methods need to be overridden for a data class to copy, compare, and convert from/to JSON. Freezed package auto generates those codes from a simple class definition. Let's try to use it. 2023.04.14 Dart and Flutter