The Elevator

There’re a couple of YouTube videos that illustrate the history & principles of elevators.

History Part
Secret Life Of Machines – The Lift aka Elevator (Full Length)
View it on YouTube here
How Elevators Changed the World | Origins: The Journey of Humankind
View YouTube video here
Principle Part
How Elevator Works
View it on YouTube here

And the follow-up is a very impressive animation made by UC Berkeley.

Elevator Project Animation – UC Berkeley
View it on YouTube here
Elevator Brake Systems
Testing the limits – The Free-Fall Test
View it on YouTube here
SRH Safety device
View it on YouTube here

The Murderer

It was very hazy, but I vaguely remembered some guy said ‘your weakness’, then somehow it just happened. I thought about it for a little while and I found it reasonable, maybe it was my weakness that murdered her. Scary! What a paradox!

I really think I am emotionally retarded sometimes, I mean I’m a total geek when it comes to personal development. Alright, it’s laziness. Well, I think I should call her. That’s all. I don’t want to be a murderer. I’m a good guy :).

My Beloved Friends

I woke up from a nightmare, a very horrible nightmare. It was 6:45 a.m., raining slightly, air fresh.

The dream was incredibly bizarre, that one of my favorite girls Jiang Xuan, who used to be my deskmate for some time during the second semester of senior two of my high school years, was murdered by a guy. I was crying, desperately, madly (kinda like the rain outside). She was (, IS, & will be) one of my favorite people, to whom I also owe many apologies. She is sweet, funny, understanding, supportive, gorgeous, elegant, and awesome anyway. I like her so much. Then I dreamed about Peach, she was married to Kengping (a nickname), with two cute kids, one is 1 year old, another is 5 years old (Surprised).

The thing is that when she became my deskmate, I think I was very mean to her, ’cause at that time somehow I was having a crush on Alison who happened to transfer to our class at that semester (old story). Alright, I have to acknowledge that I was a jerk.

I’m really into Jiang Xuan, in a very special way which I can’t even explain. I don’t wanna lose my beloved friends, and I don’t even get time to tell them I love them (though you always do love them from the bottom of your heart, you just somehow cannot manage to say it out, weird.). I just wanna say I really very like her, very very much.

About the murder suspect, see the next post.

Syntax Highlighting Test

Copy constructor may not be called due to the auto-optimization of compilers. It’s quite compiler specific. See code as follows.
#include <iostream>

using namespace std;

class Point {
	Point(int a = 0, int b = 0) : x(a), y(b) {
		//note that only in VS 2019, when we want print address, it won't print Ox, while Unix-like does print
		cout << "Constructor called --> P(" << x << ',' << y << ")" << "\t with address --> 0x" << this << "\n\n";
	Point(const Point& A) : x(A.x), y(A.y) {
		cout << "Copy constructor called --> P(" << x << ',' << y << ")" << "\t with address --> 0x" << this << "\n\n";
	// try to umcomment move constructor/assignment
	/*Point(Point&& A) noexcept :x{ 0 }, y{ 0 } {
		swap(x, A.x); swap(y, A.y);
		cout << "Move constructor called --> P(" << x << ',' << y << ")" << "\t with address --> 0x" << this << "\n\n";
	Point& operator=(Point&& A)noexcept {
		if (this == &A) return *this;
		swap(x, A.x); swap(y, A.y);
		cout << "Move assignment called --> P(" << x << ',' << y << ")" << "\t with address --> 0x" << this << "\n\n";
		return *this;

	Point& operator=(const Point& A) {
		x = A.x; y = A.y;
		cout << "Copy assignment called --> P(" << x << ',' << y << ")" << "\t with address --> 0x" << this << "\n\n";
		return *this;

	~Point() { cout << "Destructor called --> P(" << x << ',' << y << ")" << "\t with address --> 0x" << this << "\n\n"; }

	friend Point operator+(const Point A, const Point B) {
		// try them respectively and see what's going on
		//return Point(A.x + B.x, A.y + B.y);
		Point C(A.x + B.x, A.y + B.y);
		return C;

	friend ostream& operator<<(ostream& os, const Point& A) {
		os << "(" << A.x << ',' << A.y << ")";
		return os;

	int x, y;

int main()
	Point A(1, 2);
	Point B(8, 9);
	// try them respectively and see what's going on
	Point C;
	C = A + B;
	//Point C = A + B;
	cout << C << "\n\n";
	return 0;

And these are the results tested in VS2019.
figure 1

figure 2

Tested in
figure 3

Also very interesting to note that the order of copy assignment called in main function & that of destructors in which objects constructed by parameters and locals constructed in subroutine operator+, varies in differing systems.

My Thanksforgiving Day

Okay, now I’d like to make every April 13 my Thanksforgiving Day, one day for appreciating what I’ve got from God – my dear family, my awesome friends, cool teachers, etc; as well as for forgiveness which then includes two aspects – asking for forgiveness and forgiving others.

My Lucky Calendar

Alright, I posted my awesome Lucky Calendar before, ’cause I really couldn’t wait to share it the moment I thought of this amazing picture when my roomie referred April. Well, this picture was sent by one of my best female friends Alison on some particular day of April 2016 which I couldn’t recall exactly, but it seemed to be one day before the circled one, i.e. April 13. Actually, I am pretty much like number 13, since it is a prime number and remains more mysterious to me. What a coincidence is that today is April 13, which is also the day when I think I completely get out of my gloomy depraving awful mood induced by the relationship stuff. It turns out that I am now feeling quite released – the unresolved Mark-Ania issue finally gets done.

Stupid Is as Stupid Does

I made it, man. I am amazing! A span of 12 days starting from April 1, it was really bad times, but not all that bad. I was anxiously waiting for Ania’s reply to my stupid confession of love, which should never happen. I had known that she has a boyfriend, but why should I still do this crazy thing. What a jackass! However, “Stupid is as stupid does”, my uneasy heart finally gets back to the feet, plus as how i met your mother says maybe it was fated and maybe she is just not the one, or as Season 4 Ep 23 that Stella tells Ted that – I know that you are tired of waiting, and you may have to wait a little while more, but she’s on her way, Ted. And she’s getting here as fast as she can.

Stella Tells Ted to Keep Waiting

And now I think Ania did make the right decision just as Stella does – I may have to wait a little while more, but she’s on her way. And she’s getting here as fast as she can.

Awesome Ted Mosby

I like Ted, he’s cute, smart, funny, caring, sweet, generous & forgiving, open & straightforward, optimistic, and romantic. He encounters a lot of relationships while seeking for the one – The Mother of how i met your mother. But fate seems to go against him, leaving tons of obstacles on his way finding the one, which on the contrary merely renders Ted braver and more unbreakable.

Life is so long, we shouldn’t make ourselves so painful & depressed, we need to move on, see the bright side, be optimistic, focus on our work, and create a brilliant future. That’s all what a real man should do.

Okay, now let’s go to the topic, about why I call it my Thanksforgiving Day.

For one thing, I really felt much better after finishing watching HIMYM (how i met your mother) season 2, 3, 4, and a couple of episodes of season 5 (of course, skipped some episodes or content). Alright, I was crazy – from Apr 12 at 8 pm to 8:30 pm on the next day, excepting sleeping hours 3:30 am ~ 9:30 am, I was all watching this sitcom, and I almost thought that Ted finds the one on the last episode of Season 3, ’cause he says when the car accident occurred, the only person crossed his mind was Stella. But it wasn’t. More tragically, Stella runs away with her ex Tony at her wedding with Ted. Pool Ted! He really shouldn’t invite Tony to their wedding. So, the lesson is NEVER INVITE AN EX TO YOUR WEDDING.

Of course, Ted is very disappointed, mad, & angry. But he just doesn’t manifest his feelings, and he even tries to avoid meeting Stella, which considerably shrinks the gang’s scope of activities. Still, they run into Stella at a restaurant, and Ted’s friends try to persuade Ted to talk to her, relieve his rage to her, and behave like a man. When Ted follows Stella to the front steps of Tony’s house, he sees Tony & their lovely daughter Lucy welcome Stella home, hugging affectionately and then walked into the house. What a happy family, Ted thinks. Afterward, all his anger has gone. Unbelievable! It probably is the magic power of love and forgiveness, which is amazingly rare in modern society – People now are just too mean or afraid to give love & forgiveness to those who have ever hurt them before.

Ted just sets a stellar example of forgiving to all of us. He’s awesome. And apparently forgiving will make people happier, for hating others is really an energy-cost expensive job, rendering people exhausted both mentally & physically. We really don’t have to do that.

Meanwhile, the hardest thing for some people (at least me) is to ask for forgiveness, which means sometimes we have to put aside all of our dignity, pride, and self-esteem in order to give a heartfelt apology, I mean, over the phone or face to face or something. Sounds not that hard, but no way, goddamn tough, especially when the one you have to face is a dude. God, you totally have no idea what to say, how to start. Awful!

But I think I must learn to nail it, ’cause it’s kinda an essential skill which can booster the friendship. More importantly, it simply makes you feel good once you tell them how sorrowful & guilty you are for the stupid things you’ve done that ever hurt their feelings.

Okay, I need to put more enforcement into this, ’cause I think I really did a bunch of idiotic things that might hurt my friends’ feelings, and I always feel horrible for those things. Maybe I should just confess to them, it shouldn’t be that hard, maybe.

Endless Love

Friends – Chandler & Phoebe singing Endless Love

Diana Ross & Lionel Richie – Endless Love

My love
There’s only you in my life
The only thing that’s bright

My first love
You’re every breath that I take
You’re every step I make

And I
I want to share
All my love with you
No one else will do…

And your eyes
Your eyes, your eyes
They tell me how much you care
Ooh yes, you will always be
My endless love

Two hearts
Two hearts that beat as one
Our lives have just begun

I’ll hold you close in my arms
I can’t resist your charms

And love
Oh, love
I’ll be a fool
And love
Oh, love
I’ll be a fool
For you
I’m sure
You know I don’t mind
Oh, you know I don’t mind

‘Cause you
You mean the world to me
I know
I know
I’ve found in you
My endless love

Boom, boom
Boom, boom, boom, boom, boom
Boom, boom, boom, boom, boom

Oooh, and love
Oh, love
I’ll be that fool
For you
I’m sure
You know I don’t mind
Oh you know
I don’t mind

And, yes
You’ll be the only one
‘Cause no one can deny
This love I have inside
And I’ll give it all to you
My love
My love, my love
My endless love