6/25/07

6/10/07

google-diff-match-patch

Found an interesting Google code on text diffing, matching and patching: google-diff-match-patch

The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.

The python code is real useful for us! Thanks Google.

WBox HTTP testing tool

WBox is a ping-like utility to test HTTP.

Looks pretty interesting. Codes are short.

6/6/07

HKPL Checkouts 1.0



Direct download link: HKPL Widget 1.01

Hi, this is my first ever widget that was built using Dashcode. HKPL Checkouts is a simple library records widget, that keeps you informed about your library records.

I made this widget because I forgot to renew a book for almost 2 months, fined for almost $100 HKD! So I have vowed to myself that I will make a widget to make the world a better place...

So here it is. This widget is actually powered by a simple python program, that logins to HKPL website on your behalf, grabs the library records and parse the information in a nicely layout table.

I will make a version 1.01 sometimes which add 'book search' feature. So stay tuned! If you find any bugs or have any suggestions, feel free to leave a message here. Thanks!

[edit 2:54am] 1.01 Bug fix is out: Thank you to the support from our friends at Mac.hk. thmalex and Dennis found an off-by-one error... a CS 101 mistake, very embarrassing. My girlfriend's and my own library accounts have maxed out all the slots, so I can't verify if I have squashed the bug just yet.

6/5/07

New York Magazine - The Profit Calculator

Interesting breakdown of different profit models of NY businesses, from being a drug dealer to H&M.


New York Magazine - The Profit Calculator

Folk Guy



6/3/07

Things to look out for when building a large application, by Joshua Schachter, del.icio.us

I always keep referring to this little txt document everyday:


Learn Apache - tuning can make things a lot faster. Understand headers,
mod_rewrite (a dark art). Put a proxy in front of Apache e.g. Perlbal from
LiveJournal - one guy on a modem can suck up lots of resources otherwise.

Images off a different server, RSS from a different server.

"Save site for offline use" feature in IE is particularly nasty.

The easier the API to get in and out of, the more people will use it. There's
a long tail of smart developers. Stuff like SOAP discourages adoption. No API
key = people can play with it faster; drives attention.


More....