Thursday, 12 August 2010

snippet 2010.08.12


1. Refined messpic's blog. Turns out scrollHeight doesn't work for Chrome. clientHeight is good for both FF and Chrome. Hopefully IE7 will support it.

2. Retouched a photo yesterday.

3. Start to use SVN in Google code to manage my source code. It's after I lost some of them when writing to NTFS from my linux box. Lost a day's work....

Wednesday, 11 August 2010

daily snippet 2010.08.11

1. Get the blog of messpic.com ready.
I wrote blog in blog.sina.com.cn and display the posts in messpic.com. There's a problem. Sina has a anti-hotlinking facility. After some research, I find it's based on HTTP request's Referer header of each tag. Only unset referer of erferers from inside Sina will be served. I hacked it via proxy. One of my appengine's URL is appended to each of the post's 's src attribute. The appengine I request each original URL using urlfetch. By default urlfetch's http request doesn't set Referer header, so the images will be returned.

Saturday, 7 August 2010

Things need to complete before choosing whether get a job.

1. Finish the SNS project. At least integrated four sites: renren, kaixin, qzone and MSN.

2. Finish the fight-training.

3. Setup the photo studio.

If all has been done and both project won't get profitable. I may consider getting a job. But not in big corp, not as Eng.

Friday, 6 August 2010

daily snippet 2010.08.07

messpic.com is ready for release. Don't support IE6 though.


Thursday, 5 August 2010

daily snippet 2010.08.05

1. Investigate a little bit about Javascript's closure. MDC's explanation is the best. Some nerd wrote a very geeky one. It's highly technical and hard to understand.

2. Optimized the photo display in main page of messpic.com

3. Get my ID card back making fake ones.

Monday, 2 August 2010

daily snippet 2010.08.02-2010.08.03

1. Build my portfilio. Would deploy in this week, without blog.

2. A very good way to create water color paint in PS.

3. When using PS's batch function, it's better the path doesn't contain non-English characters. In my case, PS CS5 in Windows XP will complain the directory don't exist if the path has Chinese character.