Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

Pages

Posts

New Website

less than 1 minute read

Please visit my new website at: https://home.j3soon.com

Pythagorean Means

3 minute read

A short comparison of Pythagorean Means: the arithmetic mean (AM), the geometric mean (GM), and the harmonic mean (HM).

Creating a Basic MIDI File from Scratch

4 minute read

A basic tutorial of how to create a simple MIDI file from scratch that contains only one note. What You Will Learn Using an example file, we’ll explain the...

Hightower’s Algorithm

2 minute read

One of the traditional algorithms of solving routing problems in VLSI Design Automation is Hightower’s Algorithm. I haven’t seen someone writing about this ...

About Johnson’s Site

less than 1 minute read

Just another random site on the internet. Disclaimers: The views and opinions expressed in this website are those of my own and do not represent those of my...

cheatsheets

Styling Syntax Test

In this document, we’ll showcase some commonly used features that Jekyll can achieve in a generated website. All of them can work out-of-the-box if you forke...

LaTex Math Notations

This document provides the notation used in the Deep Learning Book, and is highly based on this LaTex file. You can refer to the source of this post for the ...

Yahboom Dofbot

Provides quick access and useful resources for Yahboom Dofbot.

NVIDIA Jetson

Provides quick access and useful resources for NVIDIA Jetson.

Clearpath Husky

Provides quick access and useful resources for Clearpath Husky.

Iclebo Kobuki

Provides quick access and useful resources for Yujin Robot’s Iclebo Kobuki.

Unicode Blocks

Provides quick access to common Unicode blocks/symbols/Emojis/Emoticons.

Free Online Computation Resources

All services here has a free tier for accessing the computation resources. The free services all fall under one of the categories: free credits for a lim...

OpenVPN

Set up a OpenVPN Server on your own Ubuntu server.

Velodyne VLP-16 Lidar

Provides quick access and useful resources for Velodyne Lidar. This post focus on the Puck Lidar, which is previously named VLP-16.

essays

notes

Open Command Window Here

In File Explorer, hold Shift when right-clicking on a blank space in the desired folder bring up the Extended Context Menu. One of the options is Open Comman...

Invert colors on Windows

Open Magnifier. Turn on color inversion option. Ctrl+Alt+F to active (Full Screen) Ctrl+Alt+D to disable (Docked)

Installing Plugins in GIMP

Download Plugins or Scripts You can find plugin in registry.gimp.org. Extracting the downloaded plugin packages to files with extensions like .scm, .py....

C# Unit Test with IO Hack

When you want to test a simple I/O function that won’t change parent directories and files, you can just add a file in the test project and set it to Always ...

Premiere timeline preview bug

If the timeline preview in Adobe Premiere keeps shaking back and forth, try to remove the audio input. Set Edit->Preferences->Audio Hardware->Deafa...

Change cursor position using SendInput

The dx, dy in MOUSEINPUT should be within [0, 65535] when using absolute coordinates. And the currect formula should be: dx := x * 65536 / ScreenWidth + 1

NuGet pack dollar version error

When executing nuget pack [ProjectName].nuspec The error message occured: Value cannot be null or an empty string. Parameter name: value It’s caused by the...

將 AIM & XNAT 的原始碼和 ClearCanvas 整合在一起

在網路上有個能做醫學影像標記的開源專案 AIM on ClearCanvas 他目前出到第 4.5 版,我想要修改其中有發現的一些 bugs. 因為過程中遇到了很多問題,花了很多時間才解決(快整整三天),於是我把我的經驗整理一下,以供日後參考。

Markdown to PDF using Pandoc

Convert to PDF file When I use pandoc to convert markdown to pdf on Windows. The command below fails and give me an error message.

Auto indenting, formatting your code

將你的程式碼自動縮排/美化。 手動縮排程式碼是一個好習慣,但是程式碼一變長,或是一次性刪減很多不同的地方,甚至是幫別人 debug 沒編排好的 code 時,自動縮排快捷鍵就會變得非常方便。以下介紹一些 C/C++ 比較常用的 IDE 中如何使用自動縮排。 如果有自己愛用的 IDE 沒有被列在下面也歡迎告知我...

My AStyle arguments

The settings I used in my vimrc for code formatting: " Need astyle installed autocmd BufNewFile,BufRead *.c set formatprg=astyle\ -A1xjxVpSNYk1Hm0xwxWO auto...

mac OSX High Sierra on VirtualBox

Follow the steps here. If you encountered the problem that the downloaded Install High Sierra file only has 19MB. Then, check your OSX version and App Stor...

NoteBook FanControl

If your notebook’s fan is always on for some unknown reason, its fan settings might be changed to always on. You can change it back in the BIOS or using the...

to_string is not a member of std

When using Code::Blocks, I get the error when using MinGW g++ to compile: to_string is not a member of std. This is actually a bug of MinGW, which can be fi...

Unity output to UWP

Unity is a cross-platform game engine. When we want to export our game to Windows Store, it will show you a bunch of errors. The article below is some notes ...

Hinet webmail settings on ThunderBird

Setting up Hinet Webmail on mailing programs are such a hassle. By changing Outgoing Server to msr.hinet.net. In ThunderBird settings: Tools->Account Set...

Git error when pushing large LFS data

When pushing large files to GitLab or some other remotes, sometimes it will fail. We can fix it by the following command: git config http.postBuffer 5242880...

Turn off Windows Defender AntiVirus

If you’re a superuser, you might think Windows Defender’s AntiVirus is slowing your computer. If you don’t want this feature, you can disable it. Go to rege...

Emacs slow when viewing certain text

當 Emacs 裡面有「硬值」、「說明」、「內文」、「閱讀」、「腳」這幾個字時,org mode 會變很慢很慢,但刪掉後就沒事了。後來確認是因為字形的問題。可以從這邊 下載微軟雅黑體 (Microsoft YaHei Mono), 然後在 Options > Set Default Font... 裡面更改...

No sound on Windows

There’s a audio bug in Windows 10, the sound icon at the notification bar is normal, but there’s no sound. When this problem occurs, Youtube might freeze, a...

Windows 100 percent disk usage

My computer still has the 100% disk problem, however it seems to happen less by following the steps below: Disable Windows Search, Superfetch. Disable ...

Clean Unity GI cache

Open a Unity project: Edit > Preferences > GI Cache > Clean Cache In my case I cleaned 10 GB of caches. Further Reading Manual: GI cache | Uni...

Eslint and Egg.js lint error

Using Eslint with egg.js will have errors when linting files using: eslint --fix --ext .js,.vue --ignore-path .gitignore .

OneTab delete all saved tabs script

OneTab is a nice extension, but it becomes very slow when we have about 10k tabs. There aren’t options in OneTab to delete all tabs after exporting them. So ...

Dropbox Stop Syncing on Linux

Dropbox may stop syncing on Linux without any error message. The issue may arise from 2 causes: The user does not have the privilege to access the files t...

CentOS 6 Setup

CentOS 6 is in archived state, but may still be used for education purposes. This post guides you through the installation process: (1) Download ISO file (2...

Increase VirtualBox Disk Size

Resize VDI with File > Virtual Media Manager. If you are using snapshots, remember to resize all snapshots. Reference: resize vbox disk.vhd w...

CUDA and cuDNN Version

How to retrieve CUDA and cuDNN versions. Please note that the CUDA version in nvidia-smi does not show the currently installed CUDA version. Instead, it sho...

Free Remote Desktop Software

For commercial use, you can use RustDesk, or Google Remote Desktop (doesn’t support Linux). For personal use, you can further use TeamViewer, Anydesk, RealV...

Proxmox VE GPU Passthrough Report

Some notes and references on the GPU passthrough settings. The guide is a sufficient condition for GPU passthrough, not a necessary one. Keep in mind that t...

Proxmox VE VM Setup Notes

Some setup scripts / guides for VMs in Proxmox VE. This note is highly dependent on the following repo: https://github.com/j3soon/linux-scripts

Xbox Controller Keep Turning Off

Connect controller via cable [Device Manager] -> [Xbox Peripherals] -> [Xbox Controller] Right click -> [Properties] -> [Power Management]...

Windows Startup Folder

Win + R and enter shell:startup. Reference: Add an app to run automatically at startup in Windows 10

ArXiv Upload Success but No PDF Output

If your arXiv logs show that it is using hlatex, then you can add \pdfoutput=1 in the beginning of your LaTex file to switch to using hpdflatex. Reference: ...

Wake On LAN

After allowing Wake On LAN in the BIOS (example), we need to setup the OS to allow Wake On LAN. For Ubuntu Desktop, see the Debian guide. For Proxmox V...

rl

Table of Contents

Use a graph to describe the relationship of Deep Reinforcement Learning baselines. Table the characteristic of these algorithms. List out the papers and blog...