Profile cover photo
Profile photo
Likai Liu
I like you like everyone likes Likai.
I like you like everyone likes Likai.
About
Communities and Collections
Posts

Post has attachment
Embedding a Binary Search Tree in an Array
Recently I started researching what would be the most efficient data structure to represent an IP address lookup table. An IP address table is useful for making routing decisions or access control, which checks whether a single IP address is a member of a r...
Add a comment...

Post has attachment
C++, the cause and solution to life's pimpl problems
Can a programming language invite programmers to write anti-patterns that makes them write more code that is also harder to follow? Certainly, it can. PIMPL is a much hyped code pattern in C++ to separate a class's public declaration from the implementation...
Add a comment...

Post has attachment
White Christmas
Video
PhotoPhoto
Scrapbook Photos
3 Photos - View album
Add a comment...

Post has attachment
Facebook admits that some social media use can be harmful
Photo
Add a comment...

Post has attachment
A day at the beach, probably the last beach-worthy day of this year.
PhotoVideo
PhotoPhoto
10/4/17
4 Photos - View album
Add a comment...

Post has attachment
How Computability Could Help Understand Procrastination
The weather has been fine this summer for any sane-minded person to sit at home writing blogs, but today it's clear that summer has come to an end. I brewed myself a cup of coffee this morning to sulk at the rainy mist outside of my window while reading an ...
Add a comment...

Post has attachment
How to restart emulationstation on RetroPie over SSH
tl;dr: over ssh, run: sudo systemctl restart autologin@tty1.service You are probably looking for how to restart emulationstation on RetroPie, after running killall emulationstation  in the first place. And you probably did everything over ssh so far. After booti...
Add a comment...

Post has attachment
Revisit Walden Pond on Labor Day.
PhotoPhotoPhotoVideo
Photo
9/4/17
8 Photos - View album
Add a comment...

Post has attachment
Unsure about policymaking? Try it out at a small scale, in a special economic district as an experiment, then roll it out gradually across the country if it works.

Healthcare is a complex issue that can be debated ad-infinitum and still fall victim to partisanship and impassé. I feel that we should make it a requirement to have a state implement the bill and give evidence of its efficacy before that state's congressperson votes on it nationwide.

Small scale experiment is a well-known engineering method. This should be how we do all policymaking as well.
Add a comment...

(x > y) - (x < y)

This is how you compare x and y and return clean -1, 0, and 1, for x is less than y, x equals to y, and x is greater than y, respectively.
Add a comment...
Wait while more posts are being loaded