HAHAHAHA(HAx4)'s       




 Don't lose your cool / GM's new Pontiac 4/17/2005

(The following are comments for NBC reality show "The Apprentice" of last week)

Chris got fired finally, after 7 weeks of continuous failure and undeniable immaturity. I couldn't believe he cried in front of the camera. He is too emotional to deal with any serious task. I saw on the news that he got himself arrested fairly recently in a restaurant due to disorderly conduct. That speaks volumes of his personality.

The other thing is GM's drive for its new Pontiac 'Solstice'. GM is hemorrhaging these days. I wish the new publicity stunt could end its losing streak. I don't want to see GM end up like Chris. By the way, 'Solstice' is cool.


References:
[1] 'Solstice' to star on 'Apprentice', The Detroit News, 04/14/2005

    Posted by HAx4 at 5:49 PM 1 Comments  

 Linux Ordeal (2) 4/14/2005

Useful command / options

*) gcc -print-search-dirs
see the library search path, useful when the compiler does not work well after installation.

*) ps -Al
list all the processes in detail

*) id
see the uid/gid/group

*) kill/killall
kill -9 to kill a process by ID
use killall to kill by name

*) chkconfig / ntsysv
change/check service

*) service xxx start/stop/restart
start/stop/restart service

*) route / netstat -rn
change/check route table,
http://www.linuxsa.org.au/meetings/1998-02/conflinux/ipscript.html

Bookmarks:

*) samba config
http://mercury.chem.pitt.edu/~sasha/LinuxFocus/English/March2002/article177.shtml

*) linux file format
http://www.comptechdoc.org/os/linux/commands/linux_crfileformats.html

*) zero / null
http://linuxreviews.org/beginner/abs-guide/en/c13860.html

*) Linux in a Windows Workstation Environment, Part I, Larry Finger, LINUX Journal
http://www.linuxjournal.com/article/8084

*) Linux in a Windows Workstation Environment, Part II, Larry Finger, LINUX Journal
http://www.linuxjournal.com/article/8121

*) Linux in a Windows Workstation Environment, Part III, Larry Finger, LINUX Journal
http://www.linuxjournal.com/article/8126

*) uClinux as an Embedded OS on a DSP
http://www.linuxjournal.com/article/7814

*) Optimization in GCC
http://www.linuxjournal.com/article/7269

References:
[1] Linux Ordeal (1)

    Posted by HAx4 at 10:34 PM 0 Comments  

 Tribute to Mr. Yan 4/13/2005

Related Links:
http://www.sjtu-sv.net/
http://www.sjtu-sv.net/YAN_Caihong.html

He passed away quietly, but left big shoes to fill.

I did not know him personally. I never took his course. A friend of mine did, and he got a poor grade on the "Analog Circuit". I know that anything associated with "Analog" is not an easy course. I do respect his unique take on life and work. It seems finally he earned his credit in a different way. Hope his legacy could be kept.

    Posted by HAx4 at 11:29 PM 0 Comments  

 Briefcase - CRC32 4/10/2005

Although the CRC32 does not have a math high ground as MD5 or PDP, it is a practically good enough solution to keep data integrity.

The most widely used CRC32 is CRC32-CCITT. There are many ways to get the it:

*) The Winzip use CRC32-CCITT to prevent data corruption. In the Menu/Options/Configuration, Click View Tab, check the check box of CRC.

*) If you happen to have installed ActivePerl on your Windows, it comes with a batch file "CRC32.bat", which does the CRC32-CCITT for file

*) However, I did not find a handy one that comes with the Cygwin or Redhat release. A close one is "checksum", which does calculate CRC32, but with a different flavor, "CRC32-POSIX.2". That is different from CRC32-CCITT

The most thorough and handy description of CRC32 I found so far is Ref[1]. In the Brief Case, getCRC32.tar.gz is provided according to Ref[1]. It simply calculates the length and CRC32-CCITT of a given file. It has been tested under Cygwin.

Goto Ref[2] to see how to download.

References:
[1] A Painless Guide to CRC Error Detection Algorithms, Ross N. Williams, Rocksoft^tm Pty Ltd., Aug 1993
[2] HAHAHAHA's Briefcase

    Posted by HAx4 at 9:37 PM 0 Comments  

 HAHAHAHA's Briefcase 4/03/2005

I am always looking for an easy and cheap way to store and share my stuff online. In other words, some sort of free file server so that I don't have to maintain my own. I find that Yahoo will give you 30MB storage space for Yahoo Briefcase if you sign up for a free account. However, for a free account, there is a limitation that you are only able to share picture files with general public, such as .jpg files. To sidestep this limitation, I will rename all my files I want to share with the following naming convention:

{File Name}_{Real File Extension}.jpg

For example, if I want to share a file as abc.zip, I would rename it as abc_zip.jpg.

So the standard procedure to download a file from HAHAHAHA's briefcase will be
1) goto http://briefcase.yahoo.com/hahahaha_hax4
2) Click Public folder
3) Download the file you want. Say you downloaded xyz_txt.jpg
4) Change the file name according to the above naming convention. In the forementioned case, it will be xyz.txt.
4) Open the file with correspondent tools

The fileList_txt.jpg (change to fileList.txt) lists all the details for each file in the briefcase.

    Posted by HAx4 at 10:33 PM 1 Comments  

   

 

 

Features

       *) Grand Opening
       *) Why HAHAHAHA
       *) Stay Foolish
       *) Rabbit Hole
       *) Blotter
       *) Notebook

Links

       *) Blotter
       *) Notebook
       *) Rabbit Hole


       *) I Love Rei
       *) TEXT2PNG
       *) China Blog List


       *) Bertrand
       *) Bruin
       *) Bulldog
       *) Hua
       *) Mas
       *) Nimrod
       *) Philewar
       *) Rodent
       *) Samuel
       *) Tom

Archives
Recent Posts
  << Home