Archive - Oct 2007 - Blog entry

Date

Best Halloween

Today best Halloween I had1! So many funny things happened.
I will not mention anyone's name in this post.
Yesterday, some freshmen in my school throw fecal matter in the hallway. They pulled off without get in trouble. Sweet.
Yesterday, PA announced "We decide Halloween to be taking place in October 31st". Like they have the power to change it

Today, I dress as the guy who always wear orange jacket in my grade. Quite funny... Not as funny as Captain Condom. Wow, wish I have a photo to show everyone. Many people get into trouble with their costume, nothing happen to him. Maybe because he is just protecting the kids...

US teacher absent, we suppose to have a Halloween party "while learning". Nothing much happened.

Someone got removed from the class for wearing fishnet. My AP Alchemy2 teacher said something can be rephrased as "those people having problem with fishnet watch too much porn, girls in porn always wear fishnet" wish I had asked "how do you know girls in porn always wear fishnet?"

but something bad happened to ruin all the fun...
Math test, I only got 92. Now, my average is 99. I lose my most proud bragging right and statement "All these quizzes are taking down my average to 100" for this quarter! I got CRUSHED! The worst thing of all is I can't do one of the questions after I worked on it for 20 minutes! Guess I'm suppose to learn the lesson and start doing my homework and listen in the class3.
.
Glad people in the Magickfox's IRC is funny and cheers me up.

Mgccl: I had a quite bad day...
Tanthalas: why Mgccl??? is all Okay?
thatguy: sounds like various girls in your school dressed up as sluts and gave you a hard time
thatguy: then you failed a math test
Mgccl: There are girls dressed up as sluts but no one is giving me a hard time...
thatguy: and that is why it is bad?

Halloween idea for next year.
This one come from naxmul:
Dress as iPhone."feel free to touch me"
"slide to unlock"
Dress like myself... when people asks... I would say "I thought Halloween is Friday" and wait for people to reply "Today is Friday."

  1. 1. in 2007
  2. 2. better known as chemistry
  3. 3. not really, I won't feel the same about bragging if I actually do work.

Hint for Problem 85

I did Problem 85 during my pre-calculus Honors class, a very boring class, where I maintain above 100 average 99 average while slacking. [see why I'm not 100%]
Here is the question in case the official site is down(happens every 2 days)

By counting carefully it can be seen that a rectangular grid measuring 3 by 2 contains eighteen rectangles:

Although there exists no rectangular grid that contains exactly two million rectangles, find the area of the grid with the nearest solution.

Like the hint for problem 15, here we also start experimenting with small numbers and special cases.
Suppose there is a function, f(x,y), and it will show the amount of possible rectangles inside a x*y rectangle grid . Then:
f(x,y) = f(y,x), because nothing is changed if we just reflect the rectangles.
set up a special case, x=1, try some data and you would find f(1,y) = Ty, where Tn is the nth Triangular Number.(try yourself)
If x is something else, how would the formula change? well, because we know that f(x,y) = f(y,x), then there is something operation with commutative property applied to g(Ty) and g(Tx), where g(x) is a unknown function. to allow f(1,y) to be Ty,
g(1) [Insert a commutative operation here] g(Ty) = Ty. g(1) is a constant and g(x) should be a continuous function in the entire domain (no proof, just instinct), then we have the following induction, g(x) = x.
It's most likely f(x,y) = Tx * Ty, because f(x,y) is the 2D version of f(1,y). But it's only nice if we can prove it.
separate the rectangles into strips, size 1, 2, 3.... x, because this partition x into all possible values for the smaller rectangles
now apply f(1,y) to each strip.
f(x,1) = f(1,x), the numbers involve x below is exact same way the numbers involve y are formed.
1*1 (x*y times)+1*2(x*(y-1) times)+1*3(x*(y-2) times)+1*y(x*(y-y+1) times) = 1 * Ty
2*1 ((x-1)*y times), 2*2((x-1)*(y-1) times), 2*3((x-1)*(y-2) times)....2*y((x-1)*(y-y+1) times) = 2 * Ty
x*1 ((x-x+1)*y times), x*2((x-x+1)*(y-1) times), x*3((x-x+1)*(y-2) times)....x*y((x-x+1)*(y-y+1) times) = x*Ty
add them together.
because 1+2+3....+x = Tx
we have f(x,y) = Tx * Ty
Hint ends here.
You can figure out the rest of the problem with a little programming and under 100ms execution time :)

Dream reader: iRex iLiad

iRex iLiad is the reader of this age. Ever after the first time I laid my eyes on it, I have been dying to get my hand on one.
The spec sheet shines! Cool glasses
an 8.1-inch e ink 768x1024 pixels display with 16 levels of grayscale can guarantee this machine showing any A5 PDF document as clear as crystal (most books are around A5 size).
I would like to buy an iLiad. $699 seems expensive, someone might suggest you to buy a cheap laptop just to read books. Don't listen to them, LCD monitor harms your eyes with the backlight. iLiad don't. Instead of a LCD, E Ink Corporation provides a electrophoretic display (EPD) for iLiad. EPDs does not emit light, it simply rearrange pigments and reflects light, so it does no more harm to the eyes than a piece of paper. In fact, a white paper might be more harmful than the EPD for iLiad because white paper usually reflect more light.

iLiad runs on Linux, it won't be long until a lot of cool applications will run on it. Currently, iLiad have MP3 support with 3rd party applications.

Some pictures of iLiad, click to see the full image. There are more images in this comment about how it works with math showing math formulas. A post in mobileread have really high resolution pictures.

iLiad under sunlight
iLiad under sunlight
iLiad render Count down to spanish
iLiad render Count down to Spanish
iLiad compare with normal document
iLiad compare with normal document
iLiad render Simplified Chinese
iLiad render Simplified Chinese
iLiad render Traditional Chinese
iLiad render Traditional Chinese

Sorry, after reading the comment, I did some research, and found the ones down here are the M218A from a Chinese company, and it's 2380 RMB.
iLiad in white background
M218A in white background
M218A with a image of some Asian girl
M218A with a image of some Asian girl
M218A showing all languages
M218A showing all languages
M218A showing newspaper
M218A showing newspaper

I'm so poor right now else I can get my hand on it Crying. I don't wana...

Usually applicants of student loans are more likely to abide by the rules of mortgage rates and less likely to use their payday loans or eventually give in to debt help either.

Wedding toast to my sister

A week ago, I received public speaking class's first assignment about giving a speech. It require me to write a personal speech, I choose the easiest one(obviously), wedding toast.
The wedding toast is for my sister, Ye1, so I had a little chat with her about this online. To my surprise, it's quite funny. Chat log slightly edited for space-time continuum.
Ye is not getting married, this is just a public speaking project!
Mgccl: I'm writing a wedding toast for public speaking
Ye: are u serious?
Ye: cool.
Mgccl: so... I have to toast Ye
Ye: wy?
Mgccl: because it's a wedding toast
Mgccl: so what can I write
Ye: who are u toasting to?
Ye: me ?
Mgccl: yeah
Ye: lol. that's a funny topic.
Mgccl: Toast:
"Excuse me everyone, could I please have a moment of your attention? I would like to have a few words about this wedding. I'’m Chao, Ye’s longtime math genius brother. I would like to thank the host for allowing me in here, since I have a drinking problem.

We are here to celebrate the marriage between Ye and Mike.
I have known Ye for more than 10 years and she is a intelligent and kind person.
Ye, listens to people’s problems, without judging them, a quality not often seen these days. Remember there was a time when I finally finished the 165 questions in Project Euler, she is the only one who can listen to me bragging about it without getting a emergency phone call. It’s nice to know that this time she is going to find someone who is going to listen to her.
Mike, even though I haven’t had a long time to see you in person, I know you are the perfect one for Ye. In the last 2 month, you are involved in every bit of the wedding preparation. Your enthusiasm in making this marriage to work can be seen everyday.

Congratulations to Ye and Mike. Here I give you my dearest blessings.

Now, can I have my tequila back?"
Ye: it's awesome.
Mgccl: You always say my stuff is cool.
Ye: haha. u are my bro of course i have to say that.
Ye: that's what family is for.
Ye: lol.
Mgccl: xD.. hope you are not saying "neat, awesome, cool" because I'm your bro, but because it is really awesome..
Ye: it is really awesome. i mean it with all my heart.
Ye: it's nice and short, but to the point filled with eulogy and nice sentiment.
Mgccl: ...
Mgccl: isn't eulogy mean a formal expression of praise for someone who has died recently?
Ye: i am falling asleep. going for a walk. be back in 15-20 mins.
Mgccl: ...

  1. 1. Nothing is there... yet... soon there will be some photos of drunk people... I hope...

How I see my blog after one year from today

in

Rishi started a writing contest about "how I see my blog after one year from today".
The prize is $111, something I would like to work for, and it's less than half a month till the time I first started this blog (back then it was called webdevlogs).
Review the changes I had from last year, it's not difficult to imaging that my blog will have a completely new look a year later.
My life is filled with different changes. The ones that affect this blog most, is the change of interest. When the blog first started, it's about PHP, web development. Now, I occasionally post ideas on those field, most of the time I'm consumed by my other interests, like mathematics.Next year, my interest suppose to be the same thing, but less frequent updates due to the school work.
Zero spam comment like always, I don't give spam a 2nd chance.
Google adsense earning approaching the horizontal asymptote of $0, can't expect me to compete in the mathematic niche and win.
but, anyway, this blog will be a great show case for the colleges that consider me, wish the admission is not a grammar Nazi.
I guess, I would have 800+ post by that time, certainly some of them is to show off my project euler stats. [Why there is no chicks dig that?]Crying. I don't wana...
Some post will be my learning note on C++ and thoughts on game creation. I always dreamed to create a LF2 clone, but enable a lot player to interact online, it's likely I will release some alpha version next year.
A student government president campaign section for getting voters, features some video and my famous evil laugh. Muhahahahahahahahahahaha.
Inevitably, I will get a iRex iLiad for my birthday and finally save my eyes from reading long text from the LCD screen [backlight radiation hurts].Happy Birthday

Honey Pot that kill bots