跳至主要内容

博文

目前显示的是 十二月, 2005的博文

music from the movie - The Shawshank Redemption

Needless to say, this movie is superb. Listening to these musics, the heart goes with it, to feel the depression, the courage, the strong will, even the breakout, then the final freedom. Perhaps I require more persistence in career planning. No matter what obstacles awaits, with the spirit of the dramatis personae, I can finally accomplish it, to my destination. Learn from him, put my faith on and sail. THIS should be my destiny, and THIS should be my pursuance. For our better life, my dear pig.

a debug experience about overflow

For a request of a teacher, I need to debug a project finished in 2001. It's a typical overflow problem when seeing it. The program is an image compressor, but especially for remote sensing images. The symptom is that when the width and height of image both exceed some value above 16000, the compressed result is not right. When decompress the result to restore the uncompressed format, it can't be opened. First, I try to verify the data field is right, if it does, then the most probable taken place should be the tag field in field. Using Photoshop to read as a RAW format, the image is correctly shown, luckily! But tring to find the wrong tag require careful and thorough work. Comparing the problem image and original image, I trace the tag field directly in hex mode, two tag field is different in sixteen. the offset and bytecount is very strange. Then, I can confirm that the overflow must have happened in the related code. Of course I can't imagine

light the hope

things are not going as expected life is crazy life is mad don't be afraid everything will be fine in the darkest time light the hope we ain't gods we have difficulties depressed, disheartened can't face the facts don't be afraid everything will be fine we need faith light the hope Sajaja bramani totari ta, raitata raitata, radu ridu raitata, rota trust ourselves

she? yes! why! see!

she is not so beauty, you may say commonly. yet, she is not common. she has a warm heart. an attitude that everyone is so good, and treat them as it. fool! you may say that. I really did say that. in this modern world, when the relationships of persons have been masked, so realistic, how many people still put their true heart to others, ignore their own affairs? you count it. our love may be common as others, normal life dotted with wrangle, while uncommon with time goes with us.