« Archives in December, 2007

YouTube video uploader

YouTube with that many videos uploaded and yet they have a pretty bad interface for upload (comparing to flickr). The newer Multi-Uploader needs to install into your computer and yet still provide a broken web interface (TRANSIENT_ERROR) and would not upload but keep trying (keep cycling through the process), I tried it in different browsers and the result is still the same. The Single video upload is just so plain and so tedious. Bravo to the Flickr team for doing a much better job at this GUI. I’m still trying to find a Flickr for video.

X10 Toys

Some notes when I try to play with a bunch of X10 devices, XX20A (XC22A camera) is B/W, advertised to see 3x more than XCam2 color cameras but subjectively I don’t think it’s that good, also, it does not see as wide as the XC19A (Wide-Eye, which now turns out to be pretty good). Another note, with Ninja Pan-Tilt, it’s pretty cool (see more than a fixed position could show) and its XX14A power adapter can use for both the camera & the base, so you’ll have one extra power adapter if you have these toys.

US zipcode database in SQL format

Don’t remember where I got this file, but might be useful for some:

Debugging PowerDNS

Run “service pdns monitor” and it will show the live running stats, very useful for debugging geobackend.

Sample Output

[root@s203 fold]# service pdns monitor
Dec 17 18:59:29 [GeoBackend] This is the geobackend (Aug 30 2007, 15:24:28 – $Revision: 1.1 $) reporting
Dec 17 18:59:29 This is a standalone pdns
Dec 17 18:59:29 UDP server bound to xx.xx.xx.xx:53
Dec 17 18:59:29 TCP server bound to xx.xx.xx.xx:53
Dec 17 18:59:29 PowerDNS 2.9.x (C) 2001-2006 PowerDNS.COM BV (Aug 30 2007, 15:25:05, gcc 3.4.6 20060404 (Red Hat 3.4.6-3)) starting up
Dec 17 18:59:29 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Dec 17 18:59:29 Creating backend connection for TCP
Dec 17 18:59:29 [bindbackend] Parsing 1 domain(s), will report when done
Dec 17 18:59:29 [bindbackend] Done parsing domains, 0 rejected, 1 new, 0 removed
Dec 17 18:59:29 [geobackend] Parsing IP map zonefile
% Dec 17 18:59:29 Launched webserver on
Dec 17 18:59:30 [geobackend] Finished parsing IP map zonefile: added 83781 prefixes, stored in 208428 nodes using 2501136 bytes of memory
Dec 17 18:59:30 [geobackend] Parsing director map /mapping.dns
Dec 17 18:59:30 [geobackend] Finished parsing 1 director map files, 0 failures
Dec 17 18:59:30 About to create 3 backend threads for UDP
Dec 17 18:59:30 Done launching threads, ready to distribute questions
Dec 17 18:59:34 [geobackend] Serving blog.trungson.com CNAME us.blog.trungson.com to 69.1.xx.xx (840)