Monday, October 15, 2007

mac os X - Leopard

I am a huge fan of Mac laptops, and I am so missed my ibook. The only thing I can do is to buy a new one, a 13 inches MacBook should fit my need. I almost bought one from Staple yesterday, it sells the 2.16GHz white laptop only for 1254 Bucks, the same prize as the 2.0GHz one, maybe it is a mistake. But I checked with the sales, there are only demo left in Calgary, no stocks for this city:-( Then today I found mac os X - Leopard will be unveil in this month - October, so I think I should wait to the end of the month or the early of next month, to buy a MacBook with Leopard. So be patient, just wait.

Thursday, October 11, 2007

Zamzar

I find Zamzar, a online PDF converter, today. And tried it with my PDF file, for PDF can not be modified by my co-worker, so I convert it to word doc format, it is good. Better than another trialed version converter I download to my PC. The only problem is I have to wait a little while (30-minutes) to let Zamzar inform me by email. I suggest Zamzar for its great quality.

Tuesday, October 9, 2007

Trolltech

Trolltech is an amazing company which produces a lot of interesting staff, Qt, KDE, Qtopia, Greenphone etc. It did contribution to the Free Software world, but it also make profits by commercial license fees. I don't know the opinion of RMS to Trolltech, but I know he is against Lessor GPL. I have a mixing feeling to Trolltech. I'm stand on GNU side in spirit, but make a living on GNU's opposite side.

Can you agree "Keep Linux free, use KDE!"? Myself does not use KDE. KDE is the default x window manager by Slackware, and I just find there are many LGPL packages with KDElibs, here is a reference.

I noticed a news related to Trolltech today, that is, it will make Qtopia Phone Free. Is that true? and When? Because when I worked on Qtopia Phone several month ago, I was with a commercial version.

Friday, October 5, 2007

-ck


Con Kolivas, or known as -ck which is his kernel patch's identity. He is a Linux kernel patcher for sure. Visit here for his home page on kernel patches. But he is quit what he has been doing. Why? Here is an interview that you must read.

As a Linux user, I know there are a lot of code monkey, they love programming, so Linux is just a perfect platform for them, there are always new devices in the market, new software that brings solutions on specific area, and new bugs that are found to be fixed, ..., so all the code monkey can do is coding, coding and coding, and thus what I am doing is install, install and install. Some times I make my own customized change on my thinkpad because the software I installed is still not very good on my slackware. iMac makes life easier for me, but Linux brings challenge to me -- that is what I thought. I seems choose the later in my life.

CPU performance is now not a big problem since the hardware has been upgrading for decades. To me, on audio area, it still could be causing problems on mobile devices, because the processor on mobile device is not as powerful as on PC, and sound is special time restrict, for instance, you have to fill 1764 bytes buffer in 20ms for sound rate 22050, stereo audio. CPU usage is important measurements, so if you use 10ms to fill the buffer, the usage of CPU is 50%.

I like to get in deep, to know audio, to know kernel... I read books on operating systems, on learning the Linux source code, on configure, build and install the kernel, but I never be a patcher. I may know how to write a module, and get it run in the kernel mode, but usually I don't have to build a device driver from scratch, so I am not "certain". There are a lot that need to be learn.

Although it is pity to see "-ck" gone,
To be or not to be, that's a question. (Shakespeare)
but it is good to see what he brings to us.

Monday, October 1, 2007

cweb - the way to coding


I found Knuth's image here.

I think I learned 3 things from Knuth. One, life is too short; Second, code can be beautiful; Third, math is for God?

CWEB is developed by Knuth & Levy. I am using CWEB again in my job. Basically I don't have a design for what I am doing, and I am using C language to solve my problems, then I can use CWEB. The good for using CWEB is -- code is always followed by my thoughts, so the Tex part of CWEB is my thoughts, and Code part is what I would sent to the compiler. What amazing me is my current work is mixing the channel of sound in a mixer, while in coding CWEB acts as a mixer on code and thoughts.

There are two other things I would mention with CWEB. One is doxygen, I didn't use it for my design. Doxygen is a wonderful tool good at on showing source code design. I use it a lot in my work. But with CWEB I can see the progress on the design and solving my problems, just with C language.

The second thing I want to mention is Wiki, I use wiki a lot, because I want to document what I learned. Wiki is a fast way to take notes. I think CWEB, Doxygen and Wiki make sense to me, because my way of coding is more like documenting it well. Documenting gives me the sense of solving problems, and also for reference.

Wednesday, September 19, 2007

fvwm - newbie for the years


I find myself newbie on many things such as cvs, fvwm even I use them for a long times.
On Fvwm, although most people use gnome or kde, but I am still get it a try. I like it simple, not cost too much memory. In spare time, I am fiddling into FVWM, and at last I figure out the set up of "micro GUI" decor.

Tuesday, September 11, 2007

cvs

I have a long history of using CVS, but I am still not an expert on using it. Here is a great link , it provides several types of format on learning cvs. I am using the "info" one.

1. First set CVSROOT. I use shellscript:

export CVSROOT=":pserver:markc@xxx.xxx.xxx:2401/cvs/repsitory"


2. login "cvs login "

3. import my package

Here I make a mistake. my package is /devel/src/myproj, but I am in /devel/src, then do an import, it will import everything in /devel/src to myproj. :-(

4. Remove directories and files

cd dir
rm file1 file2
cd ..
cvs remove dir
cvs commit -m " message remove xxx"


5. Add myproj

cvs add myproject

6. check out and update and release
for check out and update, use "-P" option to avoid the empty directories.
"cvs release -d project" will end use of it!