- Flash Player cannot progressively load files that are greater than 2Gb (210223)
Wednesday, January 21, 2009
Another overflow, or it looks like
Thursday, January 8, 2009
MP4Box - Out Of Memory
Monday, November 24, 2008
burn cd / dvd
CD --
mkisofs -f -U -iso-level 4 -R -x unused_dir 59m/59mh | cdrecord -v -pad speed=1 dev='/dev/scd1' -
In this command, "-f" makes it follow symbolic link. 59m/59mh is the src dir. What will be burnt into the CD everything under this dir recursively. But 59m or 59mh will NOT be in the image. /dev/scd1 is the cdrom device.DVD --
Unsure if this can be piped. But breaking it down to 2 steps works fine
mkisofs -f -U -iso-level 4 -R -x unused_dir src | growisofs -dvd-compat -Z /dev/scd1=/dev/fd/0
Wednesday, October 15, 2008
ripping an audio cd on linux
Thursday, September 11, 2008
the evil CSS, region cod, etc.
Typically technologies are enablers. DVD is far from being the newest technology, but it makes easy and quality yet at home movies watch experiences possible. DVDs are affordable, if you don't travel.
There are other "technologies", that are rather blockers. They are there to make something not working for paid users, in hopes that (abiding) users pay double or multiple. Among the most evils, is this DVD region + css thing. Someone decided that DVD buyer only can see a DVD in 1 geographic region by paying once. If you want to see your favorite movie in Japan while you already purchased a DVD in U.S., you still have to pay for another copy in Japan. If you travel globally, you better not want to watch different movies, otherwise you have to pay for the same thing 7 times. And whats worse, you better not buy DVDs outside your region, because your home DVD player is not supposed to be able to play them, after 5 times region switches. Or you must pay a hefty fee to the player manufacturer to get you addition 5 region switches. All but you are the winners. Good deal!
Losers, forced ones, don't get to be good citizens, not voluntarily.
Monday, September 1, 2008
svn server set up
Today I set up a svn server on my Ubuntu. Since I am good at losing my works, thought svn might be a good help. I don't have a good grasp on cvs, and pretty close to hating it. svn on the other hand is closer to clearcase that I am most used to. So that was my choice. Well, clearcaes would have been nice, just that it surely would be an overkill, and non open source.
To get to the meat, first this very nice site got me a jump start - http://www.section6.net/wiki/index.php/Setting_up_Subversion_in_Linux
I already had svn installed. But to follow the instructions, I did
apt-get install subversion-tools python-subversion libsvn-perl
mkdir /svnroot
svnadmin create /svnroot
vi /svnroot/conf/svnserve.conf (set proper configs, commends are explanatory)
vi /svnroot/conf/authz (to add rw account to /)
vi /svnroot/conf/passwd (to add account / password pairs)
vi /etc/init.d/svnserve (paste in the bash script provided by the above mentioned blog)
chmod +x /etc/init.d/svnserve
update-rc.d svnserve defaults
/etc/init.d/svnserve start
Unless I forgot something, these were all I did. It was pretty simple and quick, and working (more importantly). Not bad, eh?
Saturday, August 30, 2008
"find" performance on windows ntfs vs linux ext3
Cygwin over Windows:
ztang@LV017554 /cygdrive/c/same_folder_tree_node
$ time find . -name b.bat
./b.bat
real 0m9.290s
user 0m1.483s
sys 0m7.796s
Linux
ztang@ubuntu2:~/projects/same_folder_tree_node$ time find . -name b.bat
./b.bat
real 0m0.196s
user 0m0.056s
sys 0m0.136s