Birthday Freebies!

My wife and I have the exact same birthday. So every year around this time I start looking for free stuff for our birthdays. Last year was perfect, because Disneyland was giving free admission on your birthday, so my wife and I gladly got to go to Disneyland together, both for free =D. This year although Disneyland isn’t free on birthdays anymore, there are still a lot of places that offer free stuff on birthdays! This day is becoming the day my wife and I go around and get free stuff! Here are some that I’ve used:

You can definitely find more online, or you can go here. Please post some other good ones if you know of any.

Crawling up the Ranks

Finally, I’m back at the first hit when you google “isaac liu”. Because of all the webhost changing and redesigning of my page, my page rank started dropping, until eventually my site completely disappeared from google search when querying “isaac liu”! I did some researching and found out that by using the < meta refresh = "" > tag to do redirection, my page rank took a penalty, and maybe even prevented the google crawler to index my site. This is because normal spam sites use this method to redirect people to their spam sites. Thus, I went out to find how to do redirection the correct way, which was using 301 permanent move. What that means is, the http code that’s sent back to the requesting client should be 301, which means “permanently moved site.” The < meta refresh="" > method sends back the code 200, which means “Request OK,” and then later does the redirection. That is extremely not search engine friendly. To change this required tweaking of the .htaccess file on my web host, which is using the UC Berkeley EECS department’s webhost. If your curious, i added the following code to my .htaccess file:

1 RewriteEngine on
2 RewriteRule  ^index\.html$  /~liuisaac/site/ [R=301,L]
3 RewriteRule  ^$  /~liuisaac/site/ [R=301,L]

This uses the Apache mod_rewrite engine to rewrite all incoming requests to index.html (line 2 and 3) to the “site” subdirectory. Now all requests will be forwarded and the header message sent back will be 301 (specified by R=301 ), which is search engine friendly. Low and behold, I am back atop the google search for “isaac liu”! If you are using < meta refresh="" > to do redirection, and don’t know why your page isn’t showing up on google, this might be the reason! A more indepth tutorial on mod_rewrite can be found here.

Welcome Layton!

Welcome Layton!

We just got a new puppy! The picture shows me holding our new baby while our elder one Bigby, the cat, is being introduced to him. Layton is a Labador Terrier mix. He’s only 3 months old and was just rescued from Taiwan this weekend! He was about to be sent to a foster home before we picked him up. We named him Layton after Professor Layton from Nintendo DS. Hopefully you’re as smart as him Layton!

Lots to Learn...

Webby turned out to be very addicting… It’s certainly as powerful as I imagined, with lots of room to play with. However, I haven’t used ruby in a while, so it’s time to remember the syntax of ruby. I also learned to use partials in my layout, so i can further separate content and layout. This is progressing along fairly nicely…

my pic Isaac Liu is currently a Ph.D student at the University of California, Berkeley in the EECS department. He is part of the CHESS (Center for Hybrid and Embedded Software System) group advised by Edward A. Lee. His research interests are in real time systems, parallel architectures and programming models. His current research project is on real time computer architectures (PREcision Timed Machines – PRET).
read more…

office 545K Cory Hall, Berkeley, CA
email liuisaac (at) berkeley (dot) edu
cv html / pdf [ updated: 9/05/11 ]
others facebook linkedin twitter picasa github

Recent Blog Entries

Archive...

Tags