Author Archives: admin

An American wanted to pull rank — it’s a Yale PhD student that starts all this

I watched it a few time. It’s amusing like a drama. The commissioner wanted to pull rank, but the officers stood their ground. I am not laughing at the former commissioner. I just feel that the happy ending shows that each job has its dignity in America. That’s great.

Start as 51:14
I am XX. I am a resident. Here you go.
I don’t need that.
Ok. Fine.
You are just here for the ride, right? (* I am not sure what he said)
No. I am not. I am here as a concerned citizen and friend of mayor and have been in Tenafly for 20 years.
Ok.
I take a full responsibility for them, and what is the reason that they were pulled over.
The driver has all information. He will tell you.
No, no, no. I need to know.
No, no, no. You don’t need to know. You are not involved. You’re picking them up …
No, I am involved.
I am going to tell you: this driver at the automobile, he’s over 18. That’s all you need to know.
We don’t need to see credential.
OK. OK. Could you give me a little bit …? Thank you.
You are a Commissioner.
I’m the Commissioner.
Do you have a ID with it?
This is my ID and my business Card. I am the Commissioner of Port Authority and I’m heading over $4000 police officers.
OK? So, if there’s a problem, I think I have –
There’s no problem.
Well, I think there’s a problem.
It’s an unregistered vehicle.
Okay. Let’s hear – what is – why were they pulled over, first of all?
Miss.
No, don’t call me “Miss.” I’m “Commissioner”. Thank you.
Commissioner, with all due respect, the driver will tell you.
No, no, no. I need to know.
Yes, Ma’am, the car is getting towed.
Why are the car getting towed?
Go ask him.
No, no, you are the person …
Go ask him.
Trust me.
Miss, this does not involve you one percent.
Yeah, it does. Because I am picking them up. I am offering to take responsibility for them. You can’t even tell me what the charge is. So you can’t tell me what’s the problem?
That’s fine.
Why is it so difficult to say why they were pulled over?
Everything is already explained.
I know, but I need to know.
Because this is impacting me…
Why?
I got four people who are coming back to my house including people who live in New Haven attending Yale Graduate school, a PhD student. And I don’t know why it’s so difficult to say what the problem is. This is impacting me in the Sunday I gotta take four people back …
I am gonna honest with you. Can I speak frankly with you?
Yeah, yeah, I want to know what problem is?
It’s the more of the way you just approached me and your demeanour.
OK.
I’m being honest with you.
I want to know why …
I don’t appreciate your demeanour and you are very demanding with me.
I am asking you a question which is not being answered.
Because it doesn’t need to be answered.
You are irrelevant. If you like to read my report, come down to the police department on Monday, you can get a copy of it. You have no right to know what is going on.
No, I do.
Explain to me, why?
Because these four people I have … that’s my daughter.
She is a backseat passenger.
And there’s a problem with you describing it, because you don’t feel confident why these people were being pulled over.
Your daughter has all those documents. Your daughter is not the driver. It is not her vehicle, not your vehicle. You are not involved.
If you have a problem explaining what the problem is and why their car was confiscated, then we have a problem. I will be with the Commissioner of Police of Tenafly.
Please step back, step back, step back please. Please step back from me. I can’t move back any farther. I keep moving back farther and you keep moving closer to me. Can you step back?
Step back.
You can’t tell me what problem is.
I’m not because of your demeanour.
No, I came very …
I’m under no legal obligation to tell you.
I have no legal obligation to tell you what I will be doing.
You can do whatever you like to do.
We’ve been …
This is a lawful motor vehicle stuff. You are here to pick them up. OK?
OK.
The report. The driver has been advised of everything was going on.
… graduation, you guys came in and it wasn’t long ago.
What graduation? What are you talking about?
OK.OK.Thanks for your motivation and help.
Have a nice day.
You know what? I hope you have a very nice holiday weekend too, because you just ruined it for a lot of people without having a decency.
I didn’t ruin anything. I am doing my job.
Yeah, you did.
I just hope, you, being a Commissioner, understand the job an officer has to do.
There is no explanation. How can I understand?
You didn’t even ask them.
I ask you because you are the one …..the report, the problem …
I don’t appreciate the way you approached me, the way you demanded information, the way … based off your position in another agency, whatever it may be, you have a business card with credentials. I don’t know you. I just met you a minute ago. No official identification.
You know Lewis, Smeldosky…
What does that do with anything?
I’m telling you who I am, I’ve been in the town for 20 years, and as a curtesy I would like to understand the rationale they are being pulled over and their car was confiscated. This is a curtesy I don’t know why it’s difficult …
I believe you asked your daughter, the driver of the motor vehicle.
My daughter is a backseat passenger as you said.
Exactly.
You are making the accusation.
What accusation?
The accusation I don’t know, you told me, go Monday to read the report.
I am not going to ask the driver what you … them for wrong doing. I am asking you because you …. the report for the accusation. They are the source, you are the source. So I try to go to the source. If you want me to go their side of the story, I will. But I won’t do that …
… at this point.
You know what? I am very disappointed in the way the two of you are acting.
You can’t even tell me the mother living in Tenafly for 20 years with two kids who went through the school system, what the problem is, and that’s shocking, shocking for you can’t even give me a sentence …
Just for safety reasons, this is a high-speed road, I think we should all get off the road.
A little bit dangerous for us being out here as long as we were anyway.
Thank you for your concern with my safety.
OK.
I don’t need it. You can’t put a sentence together. Sorry.
OK.
That’s pathetic.
OK.
You are a disappointment and you are just following him, so you are also a disappointment.
You can’t put together a sentence of what the problem is?
Are you finished now, Madam?
I’m shocked! I’m shocked, and very disappointed. Thank you for your help.
You may take them now.
You may not tell me when to take my child. You may shut the fuck up and not tell me when I may take my kid and her friends, who are PhD students from MIT and Yale. You may tell me nothing because you told me nothing. Shame on both of you.
I will be talking to the Chief of Police, and I will be speaking to the mayor.
Please. Badge No. 540.
I got your name. 
Just to make sure there are no discrepancies … Mat is the first name.
Don’t you worry.
As long as you got your information right.
I’ve got all your information, sweetheart.
OK.
You can’t put a sentence together. That’s shameful.
Have a pleasant weekend.
You have a wonderful weekend.

… ….
You know what … this isn’t gonna go down nicely.
The driver was advised where it’s going, as was your daughter. Your daughter was very nice as well. She asked and I told her.
Guess what? I’m not so nice. And you can tell that to everybody, and it’s fine.
OK.
In my home, in my second home, in my third home …
What’s the relevance to this situation?

Where will Micron Technology (MU) go after After 11% After-Earning-Report Drop

If you think it’s helpful, it will be great to buy me a cup of coffee here: https://www.paypal.me/miajiao  😉

Micron has a quite good earning report on Mar. 22, 2018. But the stock price just dropped 11% since. Where will Micron go then?

I bought some MU stocks just before its drop. Sell or hold? I do some research in my way. Here is what I get.

First, I produced this chart. If you like to take a look at the code, here it is: https://github.com/MiaToro/Stock-Data-Analysis

mu

The green line as legend said is for quarterly earning per share. Here it’s multiplied by a coefficient which is 25 here so the line’s change will looks obviously compared with stock price. The dark yellow line is for P/E (price per earning). Now we can see that the price’s change looks correlated with its quarterly earning, doesn’t obviously correlate with P/E.

Now it looks that the price line is below the-quarterly-earning-per-share dots, and no sign that its earning will go down soon, so the price will go up. How much? Let me take a guess: $70 before the next quarterly earning report.

In addition, now, it’s P/E is 6.09. The price is $52.4. The earning for one year is $8.6.

How to configure Apache to run Python on Mac (iOS)

Step 1: configure httpd.conf

change

<Directory "/Applications/XAMPP/xamppfiles/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>

to

<Directory "/Applications/XAMPP/xamppfiles/cgi-bin"> 
    AddHandler cgi-script .cgi .py
    AllowOverride All
    Options +Indexes +FollowSymLinks +ExecCGI
    Order allow,deny 
    Allow from all 
    Require all granted 
</Directory>

If no “Require all granted”, it will show “Access Forbidden” when you visit your file on browser.

Step 2: put your python file e.g. test.py in the folder cgi-bin

Example is as below:

#!/usr/bin/python

print "Content-type: text/html\n"

print "Hello, world!"

use sudo chmod 755 test.py to make it executable.

Step 3: then go to browser, type “http://localhost/cgi-bin/test.py”, you will see “Hello World”.

Please don’t forget “Content-type: text/html\n”, otherwise it will show:

Server error!

The server encountered an internal error and was unable to complete your request.

Error message:
malformed header from script ‘test.py’: Bad header: Hello, world!

In addition, you may need to change the permission of cgi-bin and test.py.

The commands are: sudo chmod 775 cgi-bin

and: sudo chmod 755 cgi-bin/test.py

 

Seven-day Trip to Miami, Fort Lauderdale and Key West

Dec. 29th

Generally I plan a trip long before its departure time and spend a lot of time to do the homework about it! But this trip is sort of in a rush. I spent just about two nights to book plane tickets and hostel beds. Now I am in Miami.

image

On skiplagged.com, I found the flight from Fort Lauderdale to Toronto. Through kayak.com/buzz, I found the flight from Toronto to Fort Lauderdale. It is Sunwing’s flight. I went to Sunwing’s official website. I booked from there.

I booked a bed in female dormitory for 5 nights in HI Miami Beach hostel. The sixth night rate is too high there, so I just booked it today, two days before it. In another hostel in Fort Lauderdale. It’s all on booking.com.

I don’t like to deal with human agencies generouly. I like to use websites with good reputation. I like DIY. It is a joy of the trip. I don’t like a human agent take it from me and even ruin my good mood for a trip. It also can improve my skills and ability for independency. With such ability, I feel that the world is bigger, more spacious around me. Human agencies are good for the people who don’t like to spend time to dig on the internet.

Now I am in Miami for the 4th day, so far so good. Every trip can help me learn, experience some new things, and every trip improves my skills to keep a sunny mood.

Before I came, I didn’t expect the trip so enjoyable. And Miami is beyond my imagine. I have been to Hawaii. There are beaches there. But here along the sealine, all are continuous beaches. I have spent one day to walk along the beach from south to north and gave up at the top of middle beach. Today, I took trolley to north beach.

South beach

South Beach

birds on the beach

birds on the beach

Compared with south beach, north beach is much less commercial. On south beach, a lot of handsome guys and beautiful ladies. On north beach, there are a lot of local people. Middle beach is ok. It is less wide and there are big rocks in about two spots.

North beach

North beach

Along the north beach, there is a public park. There are benches, tables and restrooms. There are running water close to a few beach entrances within tolerable distance along the beach. There are lifeguards along the beach.

Miami beach

Miami beach

 

Miami Beach is sort of like island. I have been exploring this island since I came here except one-day tour to key west yesterday.

Miami beach trolley, free ride

Miami beach trolley, free ride

There are free trolley driving around the island, but remember to wave to the driver otherwise he/she can ignore you and just pass by. By the way, no cup drinks on the trolley. And you can rent a bicycle using credit card. You also can rent a car, or use public transportation – $2.25 for one way I think,no changes if you pay more.

It is a beautiful island: sea, beach, seagull, palm trees, happy and friendly people. It looks like they know you want a happy, relax holiday and they do their part to let you enjoy it here. Even you go to a supermarket, the shop assistant will say ‘ Happy New Year ‘ to you. For them, more tourists, better economic. Win-win.

Dec. 29th

I went to downtow today and took a few photos. I took Metromover for sightseeing around the city. Free ride too.

miami

near government building

Miami port

Miami port

Dec. 30th

Not many people go to see sunrise on the beach. I and two other tourists standing on lifeguards port waited for the sunrise. Very cloudy on the east close to the sealevel. Even though the sun had risen above the sea but we still couldn’t see it. A lot of seagulls flied in the morning breeze. The workers started to work on the beach preparing for the coming tourists. It would be crowded later. After a few minutes, the Sun showed up from the cloud. It’s amazing.

Here are sunrise photos:

Sunrise

Sunrise

flatten the beach

flatten the beach

Later I went to Fort Lauderdale by bus. It is a long way, and took more than two hours and has two changes. I like riding the buses. It is a joy of my trip. It’s almost the only chance to contact local people and see their life style, instead of just taxi drivers or other tourists.

On the bus stop, the “S” bus came, but the driver adviced me to take the No. 120 bus behind it. He said that bus is fast. That 120 bus really shows “Limit Stops”. I got on that bus. Later on, a family of four got on the bus too. After a while, the bus made a left turn to a big parking lot, and the driver told us it was the last stop. Anyway, he told us to go through an underground tounel, get out from another side of the road, turn left and walk to the bus stop waiting for the “S” bus. It’s the morning. I am not nervous. And the bus fare is just $2 or $2.25 – in Miami-dade county is $2.25. Others is $2, I think. And I have enough time for exceptions. After a few minutes, the “S” bus came. That family got on first. When it was my turn to make the payment, the driver stopped me saying that I took the wrong bus and handed me a in-county transfer. I was confused, but he told me to go ahead and take a seat. Why did he know I took a wrong bus? I sat there still confusing? because I was at the bus stop that seems from nowhere? … … In the middle of the way, I reminded that the driver is just the one who told me to take that No. 120 bus. Haha. I watch them. They also watch me. Like that saying, you look the sightseeing and you are also the part of sightseeing from the other people’s view.

On the way, I saw “Trump Tower”. It reminded me that in that republic candidate debate, Jeb Bush said Donald Trump wanted to build a casino in Florida but they refused him. Sort of feel that the history is happening just around me.

I got a warm welcome in the hostel. The hostel rates more than 80% by clients. It’s the most important factor for me to consider except price. And I signed a list to waive the owner’s responsibility for exceptions.

Dec. 31th

Yesterday I went to Fort Lauderdale from Miami. I will fly to Toronto from there. The flight ticket are much cheaper here compared to Miami. The hostel I stayed is quite close to the beach. There is a nice swiming pool in the middle of the yard with tables, chairs etc. on two sides of it. It has a lounge room connected to a kitchen. In the hostel lounge room, I watched some of Harry Potter movie. I am still not a fun of it. I hoped I could see the character that Robert Pattinson played but no luck. All the people in our room were leaving today. Maybe they all come here for cheap flight tickets too.

It’s quite cool and windy yesterday. By the way, Fort Lauderdale also has beautiful beaches with much less people. I wonder if the beaches are continous from South end of Miami Beach to Fort Lauderdale. I feel that along the Florida sealine are all continous beaches.

One-day trip to Key West.

On the 3rd day in Miami, I went to Key West. I booked the tour at the front desk of the hostel. It is $55 in total. $20 for deposit. $35 for the driver. I guess that that $20 will be divided by the hostel and the front desk acceptionist. $35 is for the driver’s company. A group of tourists are a good source for benefit. Just like if you are able to attract more people to somewhere, business opportunities comes too.

Key West is more than 300 miles to Miami and less than 100 miles to Cuba. It took more than 3 hours by bus. They are a line of islands and man-made bridges connect them. Miami includes many islands like Miami Beach and they are connected by bridges too.

I plan to see Ernest Hemingway residence, Southernmost point and Wreck ship museum. On Key West, there are a lot of bars. People enjoy alcohol and music there. You can take trolley or rent a bicycle. I am just by feet.

key west town

key west town

On the way, there is a stand selling coconuts and other juices. The hawker drilled a hole with a drilling machine on coconuts and put a straw in it. $5 for one coconut. When it was my turn, I gave him $5, he drilled a green one for me. I took it and prepared to leave. He stopped me and drilled a yellow one and handed it to me. “It’s two?” I was surprised, “It is too much.” He gentlely pushed two coconuts towards me and made them shoulder by shoulder on my hands with a bit weird tone: “Merry Christmas”. I took two coconuts like a man with a big appitite. Later on, I found that green one has no juice. He noticed it. Haha. It is the first time I drank the juice from a real coconut. It is a funny experience.

coconuts

Coconuts

It reminds me that long time ago, one of my two roommates got one coconut, I am not sure which one bought it. One roommate didn’t like me because I didn’t flatter her and agreed on her speeches about others. She found a way that they shared it without me. I really don’t mind. I saw coconuts in supermarkets many times but I didn’t even want to buy one. This is my character. I have my principles. Not everyone like me, but there are still billions of other people in the world. If I just spent time and thoughts, bent my principle to hurt others who didn’t offend me to please her, my life is better now? In this way, I wouldn’t have time to please myself: make efforts to realize my dream. She could make my life a bit tough at that time at that room, but the outside world is bigger enough for me to enjoy my life. I am glad that I didn’t waste time to care about such things too much.

Continue reading