Wednesday, November 30, 2005

RIM gets more bad news on NTP lawsuit

What good has NTP done for the public? RIM spends resources to make its products (during the process there could be certain gray areas, but definitely it's not a 100% copy-cat of anything out there in the market) while NTP with a bunch of greedy lawyers bought the IP and go sue and hope for a huge settlement. Companies are now afraid of innovation because one of the obvious building blocks was patented.

Monday, November 21, 2005

San Jose, Sunnyvale among safest cities

San Jose and Sunnyvale are among the safest cities in the United States and Richmond and Oakland are among the most dangerous.

UW - School of CS got $25M

The University of Waterloo received a huge "Google dividend" yesterday when David Cheriton, one of the search engine giant's early investors, donated $25-million to the school's well-respected computer science department. Mr. Cheriton estimates the return on his US$200,000 investment in Google at about 5,000%. CS School renamed to David R. Cheriton School of Computer Science. It’s really exicting to see and imagine all potential opportunities UW can do with this donation. As an UW/CS alumni, I thank you, Mr. Cheriton!

Linear Regression PHP Class

Friday, November 18, 2005

Referrer & AJAX

Firefox does not pass referrer string while IE does.

Thursday, November 17, 2005

RSLite - A cookie-based AJAX solution

This is another solution written by Brent Ashley for asynchronous information fetching, way before the term AJAX were coined

map - Google Search

If you search for "map" or "maps" on Google, the first result is not maps.google.com but MapQuest. This surprised me!

Wednesday, November 16, 2005

TV: PRISON BREAK

FOX Broadcasting Company: PRISON BREAK With too many pathetic reality TV shows these years. One of the best TV show I've ever seen. It's an excellent show. Very original and high level of suspense.

Tuesday, November 15, 2005

Funny Video - I Love Sky Video

I Love Sky Video on Metacafe

Make your files immutable in Linux which even root can't delete

Root account in Linux is considered all powerful. You can make or break the system if you have root access to a Linux box. Here is a cool tip to make your files immutable even by root.

read more | digg story

Math and the Computer Science Major

Computer science majors tend to struggle for reasons that have very little to do with computers. More often than not, such struggles are rooted in weaknesses related to math. If you plan on getting a CS degree, you need to come to grips with one important fact first: computer science has more to do with math than computers.

read more | digg story

Friday, November 11, 2005

Using JavaScript to dynamically add CSS

How to insert a block of javascript code to a html page...

Issue: innerHTML simply writes HTML as a string; it doesn't call the javascript interpreter to parse and execute any scripts that are part of the string

Reference: http://www.webmasterworld.com/forum91/2912.htm

Solution: manually find these scripts inside the text string and append them to the document

Friday, November 04, 2005

/bin/rm: Argument list too long.

Instead: "find . -name 'abc*' | xargs rm"

Thursday, November 03, 2005

Turnitin.com

Pretty cool technology but probably only good at catching those that stupidly enough to copy the whole paper.