开朗的你,不见了
是什么把它带走了
是工作
是生活
还是那段已逝去的爱情
我相信,
时间会给你带来忘记
忘记了烦恼,
开朗的你,就会回来了。。。
Monday, February 25, 2008
Sunday, February 24, 2008
Monday, February 4, 2008
What if you were told ...
Lately we've been busy with the relocation to Beijing,China. The management actually let each of us to decide whether we want to go or not.For me,its actually a good chance to expose to different environment,therefore i agreed to go.But there is one guy that can't make up his mind whether want to go or not.He just have far too many concerns,like what to do with current credit card,buying new pc so that if the family pc spoiled there is a backup etc etc.So yesterday he mentioned some other reasons again.Of which i have been told are Beijing is very crowded,because of the population its quite hard to find food in Beijing,and Beijing is full of bicycles.I was like, what the fuck,what are the bicycles have anything to do with our work there?As a capital of China,what are the possibilities that we can't find food there.I am really speechless on this.
If I am your CEO and I ask you to go Beijing.Here are my promises
If I am your CEO and I ask you to go Beijing.Here are my promises
- Beijing is not crowded
- Beijing can find good food
- Beijing is not full of bicycles
Thursday, January 3, 2008
Change log4j properties dynamically
Most of the time,we will define log4j properties in a log4j.properties file.But sometimes,we might need to modify the properties value dynamically,instead of keep modifying the properties file.Example,we want to log a file with the timestamp as file name everytime we run the application.So, here is how we do it.
In the properties file,we will have something like this.
In the properties file,we will have something like this.
log4j.appender.fileAppender=org.apache.log4j.FileAppenderYou will notice that we have a ${logFileName} in our properties file.This is meant to be substituted later.So when we run the application,we will type the following command
log4j.appender.fileAppender.File=logs/${logFileName}
log4j.appender.fileAppender.Append=false
log4j.appender.fileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.fileAppender.layout.ConversionPattern=%d [%-5p] %c{1} - %m%n
java -DlogFileName=20080104.log YourClassHappy programming. :)
Monday, December 31, 2007
From 2007 to 2008
Today is the last day of 2007.I did make a few plans when 2007 begins.So,lets review my initial planning and the outcome.
1.Getting SCJP and SCWCD certifications.Well,I've got SCJP but not SCWCD.There are few reasons,one of it is because i am too busy :P...the other reason is I think SCBCD is more suitable to what I am doing now.
2.Create one or two open source projects.Well,I am too lazy for that.But I did post some of my findings on my blog,such as the jboss axis problem etc.
So what's my planning for the coming 2008?Here are some of them
1.I should really take my SCBCD exam before the voucher got expired.
2.I hope i can be a little bit more hardworking.
3.I will be going to Beijing in February,I hope I can do well in the new envinronment.
4.Earn more money,and spend less(I think spend less is more important..hehe)
5.Become a better man.
At last,I will like to wish everyone a Happy new year... :D
1.Getting SCJP and SCWCD certifications.Well,I've got SCJP but not SCWCD.There are few reasons,one of it is because i am too busy :P...the other reason is I think SCBCD is more suitable to what I am doing now.
2.Create one or two open source projects.Well,I am too lazy for that.But I did post some of my findings on my blog,such as the jboss axis problem etc.
So what's my planning for the coming 2008?Here are some of them
1.I should really take my SCBCD exam before the voucher got expired.
2.I hope i can be a little bit more hardworking.
3.I will be going to Beijing in February,I hope I can do well in the new envinronment.
4.Earn more money,and spend less(I think spend less is more important..hehe)
5.Become a better man.
At last,I will like to wish everyone a Happy new year... :D
Tuesday, December 25, 2007
Just need to be patient
Recently I am looking at Android, the new phone platform launched by Google and some other partners. I found it quite interesting, and I mentioned this to Neo and suggested him to use this platform for his college project. And I myself also try to implement a famous "Hello world" program in Android.So i downloaded the SDK, Eclipse plugin and created a new Android project. I used the sample code from Android website and run it on the emulator. The emulator launched,but only the word "Android" shown on the emulator screen instead of "Hello world".This is weird, I tried few rounds and the code i wrote just seem not loaded.I did some surfing and finally I found out that it takes time for the emulator to load.I am using a 1.4 centrino with 2GB ram,and yet it still took around 1 minute to load.The lesson I learnt from this experiment is,when first launching the emulator,be patient and wait for the apps you wrote to load,then don't close the emulator to avoid the waiting when you load your apps again.
Happy programming :)
Happy programming :)
Wednesday, December 5, 2007
Updates : My first work using ZK,Spring and Acegi
Dear all,
If you were unable to download the war file,please leave your email here and I shall send u a copy of it.Please make sure that your email have sufficient space to receive the file.
If you were unable to download the war file,please leave your email here and I shall send u a copy of it.Please make sure that your email have sufficient space to receive the file.
Subscribe to:
Posts (Atom)




