Golang Golang How can nil be set to string? Can nil not be assigned to string variable in Golang? It needs to be a pointer to set nil. You don't know what a pointer is? Then, this post is for you. 2022.12.14 Golang
Docker Fails to start devcontainer in VSCode due to lack of mounted device It fails to open devcontainer even if the Docker image is removed and rebuilt. The Dockerfile and devcontainer.json are correct but it seems that vscode uses the old runArgs to start docker! 2022.12.12 DockerOther techs
Other techs How to connect to a scanner with Golang on Linux You need to configure udev rule correctly to connect to a USB device on Linux. If you are a Windows user, you also need to setup a VM. Then, implement Go app! 2022.11.28 Other techs
JavaScript/TypeScript TypeScript Remove elements from an object array Remove method doesn't exist on Array interface. So we need to implement it ourselves. This article explains how to remove elements from number/string/object array. 2022.11.23 JavaScript/TypeScript
Other techs How to connect USB devices to a VirtualBox VM VirtualBox supports only USB 1.1 by default. You need to install extension packages if you want to use USB 2.0 or 3.0. 2022.11.18 Other techs
Other techs Connect a USB device to WSL without admin privilege I tried to connect a USB device to WSL by following the official way but it didn't work. This post explains how to make it work without admin privileges. This is a hack. 2022.11.16 Other techs
Python Python Set value for many properties if it is not None It is not good to write Null check as many properties as we need. It should be written in a single place. Define a function and call it for the necessary properties. 2022.11.09 Python
JavaScript/TypeScript Implementation of D Way Heap in TypeScript (Binary Tree) Explains how D-way heap works and how it can be implemented in TypeScript. If you need to update/remove an element, it does it in a very short time. 2022.11.07 JavaScript/TypeScript
JavaScript/TypeScript FATAL ERROR: invalid array length Allocation failed Isn't there an infinite loop in your code? Don't you edit an array in the loop? If so, use the copy instead. 2022.11.02 JavaScript/TypeScript
JavaScript/TypeScript TypeScript Find the lowest missing number in an array It explains how to find the lowest missing number in an array. Not only for an array that starts with 0 but also starts with an arbitrary value. Furthermore, the step between the values can change. 2022.10.28 JavaScript/TypeScript