Thursday, December 13, 2007

石器时代

最近学了点无线通讯的东西,还有点数电的。很多是复习十年前的电路、模电课程,想来真是很惭愧,对不起学校的老师啊。其实也都没几块钱的东西,插插面包板就行了,可是我居然有不少看不懂了。看见数字处理器俺倒不怵,可是看见三极管我就没底了......

买个开发板玩玩吧,其实我们这些搞软件的家伙很多做不了的事情对于真正的 EE 工程师来说实在是小事一桩。我跟女朋友说了,我要是活到六七十岁,一定会搞到石器......

Wednesday, December 12, 2007

Xdelta for VM Image Patching

I spent hours to transfer a VM image to a remote host and find the most stable transfer method is Bittorrent. Now, I just want to avoid transfering another one for minor changes. Some thing like binary patch is required.

Fortunately, I found xdelta, a tool for binary diff and patching. After modified some files in the VM, I compared it with the original VM disk and got a zipped patch of about 100KB. So, with xdelta, it's now very easy to generate patches of binary files and to create incremental backups.

The version I used under Ubuntu provides a parameter "-m", which limits the memory size used by xdelta. This is important for diffing and patching large files, i.e. VM images. Actually, I tried bsdiff before xdelta, but failed because it used up all memory.

Labels:

Sunday, December 2, 2007

Importing Sample Projects Into Carbide C++


I got some packages of Symbian S60 C++ example projects, and spent some time to test it. It's easy to import these projects into Carbide C++. Just select "File" -> "Import..." -> "Symbian OS", and find your bld.inf file. See the above screenshot.

Labels: ,

Finally, I switched to Opera Mini 4.0 .

Bookmarklets for Opera Mini at Wap Review: "I think that all versions of Opera Mini support bookmarkets, I used them successfully in 3.1 (both low memory and high memory versions) and 4.0. "

I used to fail to call bookmarklets with Opera Mini 4.0 beta. So, when 4.0 is officially released, I still kept my Opera Mini 3.0, since I need the feature of bookmarklet. That's the key feature I need for blogging and del.icio.us .

Finally, when it's provied by wapreview.com that Opera Mini 4.0 also support bookmarklets, I switched to it. It works fine now.

Labels: ,