Today, my daughter got home from school.
She told me that her iPhone had no signal while on campus and could only connected to a specific WiFi network, which blocked almost every social apps (Facebook, WhatsApp, Instagram, etc.).
She said this was unfair and an insult to human rights.

I calmed her down.

But frankly, I support this mobile phone ban.
My daughter spends too much time on her phone.

Schools in China should follow this policy.

This morning, my whole family went to Bur Oak high school for my daughter to enroll.
At around 8:15, I was talking with a teacher about the enrollment process.
My wife and my daughter were chatting beside me.
A song started to play from roof speakers. Everyone in the room stopped talking and stood quietly.
The teacher who was talking to me used one hand to signal me to stop speaking.
I suddenly realized that the song was the Canada Nation Anthem.
I stood and listened.
But my wife and daughter did not realize the situation, they were still chatting.
I stopped them.
Now I know it’s a daily routine in schools, just like in China.

Yesterday, my whole family went to T&T Supermarket.
We found some very large crabs being sold at a huge discount.
We bought one and had a great meal - it was amazingly delicious.
However, when I put all crab shells into the kitchen rubbish bag, I realized that today is Friday. The garbage was just collected this morning, meaning these crab shells would have to stay at home until next Friday.
Yes, my garage was full of the stink of crab for an entire week!

This afternoon, my family went to a local warehouse to buy some kitchen supplies.
It was a chinese store, and the salesperson was a young chinese boy who spoke fluent chinese.
My wife picked out a fancy pan priced at \$35.
At checkout, I gave the salesperson a \$100 bill, and what happened next surprised me.

He grabbed a calculator to compute 100 - 35 !
This would never happen in China - everyone, from 10 to 80 could do it in their head.

I asked him, “You studied math in Canada, right?”
He nodded.

I’m not here to laugh at Canadians;
I have just started to notice the many interesting differences between China and Canada.

Recently I read an interesting math puzzle in Medium:

There is a prime number \(p\) greater than 3.
What factors can we find in \(p^2-1\) ?

First, we can rewrite \(p^2-1\) as \((p+1)(p-1)\).

  • Since \(p\) is a prime number greater than 3, \(p\) must be a odd number, both \((p+1)\) and \((p-1)\) are even, have a factor of 2.
  • And they are consective even numbers, one of them must have a factor of 4.
  • Because \(p\) is prime and greater than 3, when divided by 3, it has a remainder of either 1 or 2. This means one of \((p+1)\) or \((p-1)\) must be a multiple of 3.

Now, multiplying these factors together: \(2 * 4 * 3=24\)
You can verify with some prime numbers:

  • \(5^2-1=24 = 24 * 1 \)
  • \(7^2-1=48 = 24 * 2 \)
  • \(11^2-1=120 = 24 * 5 \)

Elegant, right?

My daughter just spent \$60 and half a day on nail beauty.
Now she can’t even grap a cup without worrying about damaging her beautiful nails.

Why do women spend money to make themselves “disabled”?
I don’t undertand it.

On September 6, 1976, Soviet Union pilot Viktor Belenko flew a MIG-25 fighter and defected to Japan.
The Soviet Union immediately asked Japan to return the MIG-25, which was a top military secret.

However, the Japanese goverment informed US goverment first and gave various reasons to delay its return.
Meanwhile, the US sent engineers to Japan, where they disassembled and examined the fighter for weeks.

On November 15, 1976, the fighter was returned to Soviet Union with many parts missing.

Viktor Belenko started a new life in USA and later wrote a book about this story.

Recenty I tried to connect my office from home with open-vpn.
It worked fine when using ubuntu 18.04 a few months ago.
But after I upgrade system to ubuntu 22.04, it failed.

Open-vpn showed below log:

NOTE: unable to redirect IPv4 default gateway -- VPN gateway parameter (--route-gateway or --ifconfig) is missing

I don’t know what exactly it means, I’m not a network expert, so I searched web.
After hours of searching I got nothing! All answers are not even close.

Then I paste the log to Chat-GPT, she told me add below line to open-vpn config file:

ifconfig 192.168.1.xxx 255.255.255.0

It works! Great Chat-GPT!

Clone repo and install hexo

  • First install nodejs & git
  • Clone blog folder:
    git clone https://codeup.aliyun.com/xxxxxxxxxx/blog.git
  • Install hexo
    cd blog
    rm package-lock.json
    npm install

Generate ssh key

ssh-keygen -t rsa -C "your email address"

It will generate ~/.ssh/id_rsa.pub file, paste the file’s content to your github SSH key.

Hexo commands:

  • Startup a local server, view the blog on http://localhost:4000/
    npx hexo server
  • create new blog, you will find the new blog md file in _posts folder
    npx hexo new "Blog title"
  • genarate web site
    npx hexo g
  • deploy web site
    npx hexo d