Categories
Blog

I had received calls from Amazon drivers asking if I would like my packages delivered for months, and today I finally fixed this issue

For months, I had received calls from Amazon drivers asking me if I would like my packages. “Of course”, I would always tell them. But still, I was wondering why this happened so frequently.

Until probably two months ago, I asked the Amazon driver why you always asked me this question. I thought it was their fault. But he told me, “you left an instruction saying you want the order cancelled, please not deliver the item”.

Well, it came to my mind that, yes, I did leave such instruction for an order. I didn’t notice that this instruction was saved and used for all future orders.

But now I think it makes sense, it is the instruction for the delivery at this address – the address doesn’t change, neither does the instruction.

Procrastinated for two months, I finally remembered to erase this instruction.

Categories
Blog

Going to receive my first COVID-19 dose tomorrow

Waiting for vaccine
Waiting for vaccine

Going to receive my first COVID-19 dose tomorrow.

Update: Received my first Moderna dose. Feeling the left arm hurts, but nothing too serious (2021-05-09 7:00 PM).

Update: almost recovered (2021-05-11 9:00 PM)

Categories
Blog

Booked my vaccine appointment

Booked my vaccine appointment today.

I will be vaccinated next Sunday.

Categories
Uncategorized

Pan’s Choice

Categories
Blog

How to install Linux, Apache, MySQL, PHP (LAMP) stack on a Ubuntu VPS to host websites

This article is about how I deploy a Linux, Apache, MySQL, and PHP (LAMP) environment on my DigitalOcean VPS.

I wrote this article in Chinese originally. I borrowed some ideas from the internet.

Categories
Research

Behavioral consequences of reminder emails on students’ performances for homework: a real-world deployment

Behavioral consequences of reminder emails on students’ performances for homework: a real-world deployment

Presentation was from 3:00 PM to 5:00 PM on March 18th, 2021

Recording: to be uploaded

Categories
Blog

Personal Website Update: Hover Panel

I was doing a refurbishment for my personal website right here. The idea came from Felix Wong.

In the hover panel, first thing first, there is the area for the menu. Below the menu, there is a search bar. Under the search bar, there is an area for widgets. In the end, there is the menu for switching languages.

The button itself is the picture used as the Site Icon for Twenty Twenty Theme. The width of the hover panel is 76% or 38.2 (the golden ratio) depending on the screen size. The opacity is 0.9, which is “semi-transparent”.

Felix proposed a good question that for some devices, the position of the notch might affect the visibility of the hover panel button.

To resolve this, I am thinking about the following solution:

First: I need to write some script to detect the position and shape of the notch. I hope that I can do it with JavaScript only.

Second, I need to check if the notch influences the visibility of the hover panel.

Lastly, if the notch doesn’t exist or it doesn’t matter at all, no action is required. Otherwise, I need to adjust the padding-top of the hover panel to prevent it from being overlapped.

Categories
Blog

Happy New Year of the Ox

Today is the first day of the Year of the Ox, which happens once in twelve years.

So, whether you are celebrating it or not, I wish you a prosperous year!

Happy New Year of the Ox
Categories
Blog

XYZ is the most-registered new top-level domain again.

According to https://ntldstats.com/tld, XYZ is again the most-registered top-level domain.

More than 1 million ICU domains were deleted yesterday, which is crazy.

Categories
Courses

LIN200H1: Introduction to Language

When

From September 2018 to December 2018

Where

University of Toronto – St. George Campus

Course Description

Introduction to Language is a general-interest course on language. Possible topics include: the structure of language; how language changes over time, the social and psychological aspects of language, language and culture, the origin of language, writing systems, and language acquisition.

Coursework

Grade