2019

How to change email of your Nvidia account

November 22, 2019 1 minute read

I recently retired a few old email addresses, and am currently going in a row to change email for accounts associated with those emails. Everything else went...

Converting DFA to Regular Expression

September 25, 2019 1 minute read

This post originated from Lab 1 of course Compilers: Principles that I’m currently taking, in which we were required to write a flex program to parse a subse...

My speech at Microsoft Summer Camp 2019

August 14, 2019 10 minute read

This is a translated version from the Chinese (original) script. The slideshow can be acquired here. For comments, please head to the Chinese version of this...

Creating templated Systemd services

July 16, 2019 2 minute read

Last time I wrote an article about NAT traversal using FRP, which has been my personal solution for exposing SSH access of machines behind NAT to the interne...

Using SSH deploy keys on CircleCI

July 08, 2019 2 minute read

A year ago back I wrote an article on automating build & deployment of GitHub Pages website with Travis CI. It’s a great CI service at first, but since T...

How I saved a lost commit from GitHub

June 07, 2019 2 minute read

Earlier today I force-pushed to my repository USTC-RV-Chisel for testing purposes, without noticing that my local ref origin/master is 1 commit behind the ac...

Bootstrapping Make

February 25, 2019 4 minute read

Have C or C++ project to build? You may think, “Yeah this is very easy, I’ll just call the compiler to do so”, and yes, let’s take a look at an example.

Setting up Ubuntu in VMware Workstation

February 21, 2019 3 minute read

A quick step-by-step guide for those wanting to get in touch with Ubuntu in a virtual machine with minimal effort. For example, at the start of a semester of...

Access your Raspberry Pi remotely with SSH

February 13, 2019 3 minute read

Do you have a personal server at home but can’t access it from work or travel because your home doesn’t have a public IP? If so, then, this article is what y...

Back to Top ↑

2018

Alpha-Beta Pruning

May 23, 2018 4 minute read

As described in a previous article, Alpha-Beta pruning can be used to speed up minimax heuristic searching by pruning branches that will never be reached.

Making a Reversi game with Python

May 10, 2018 3 minute read

As a casual attempt to accomplish a Grand Assignment, I created a Reversi game with Python. The project is open-source on GitHub and you can view it with the...

Joining SmokeDetector

March 14, 2018 3 minute read

After a plain request, an administrator of the SmokeDetector project added me under the Developers section of their team member list, which indicates that I ...

Back to Top ↑

2017

Append int to std::string

August 04, 2017 1 minute read

For people new to template resolution and template type deduction in C++, they may have written this code and get confused why it doesn’t compile:

Some ideas about multicore on Android

June 11, 2017 3 minute read

Laptops have usually at most four cores, and dualcores are probably more common. I have recently switched from quadcore to dualcore and I can confirm there i...

Back to Top ↑

2009

Back to Top ↑