Thursday, March 31, 2005 

Red bean..

Dont miss understand i will be discussing red bean story :P In fact, i am having red bean as my supper while i am writing this blog :D It has been 11 days i left this blog lonely, well as you can know from my previous blog. I was engaged in my freelance project which i just submitted and closed file on this Monday. As a result i able to meet the timeline as i set earlier. That should be earlier than expected but due to my company project which fell on last weekend, i need to make it later. I attended the Carlsberg NanYang Shi Da Music Award as working committee in that event. That's because my company is responsible for a SMS contest on three categories :D That was a nice experience, reason is you are working with people that you have never met before, some of them are friendly but not all. Lot of unexpected incidents might be happened since every different working committee did not really meet up for a discussion and preparation. As for my case, telephone line is not prepared and port is not open for dial-up connnection (telephone in genting you need to have a password to call out). All these cases here, you need to "chap sang" as no one will be there to assist you. As a solution, i have to go back to my room and "borrow" the phone line in order to connect from their phone connector with company's laptop. Beside, i have to dial a different number for internet connection which is not 1515 (end up with only 28.8kbps poor bandwidth). Whuah.. can genting prepare a better connection infrastructure since Genting Arena is a place for lot of events??!! I just feel disappointed with it because by using 28.8kbps, i cant really get the SMS recent result show on screen in real time... My tricks are load the page correctly one by one (we have three for different categories), then save it locally, change the code and display it statically. More works as compare that you have a broadband service! I wish i were the EDGE service subscriber to have better connectivity~

I met Zhang Zhi Cheng at the back stage when i submitting my SMS result! In fact he is short and small i would say but still looks funny and friendly to everyone :D :P Well, as a working committee i cant do anything on it, i cant take his signature, i cant request for a photo with him, as i only can smile with him. Poorr~~~ But still have to congrate him because he is the winner of that night (won the most awards) :D Saw some carlsberg leng luis too but unfortunately... you can see but cannot talk or touch :P :P haha... well it is a good experience i would conclude :D

I might got another freelance project in the coming April. Again i might spend my night for that. Well better get some good rest before the nightmare starts again :P (althought nightmare but still enjoying the time when i receive the pay ahaha.. :P) Nights everyone!! (Someone is getting lazy to update her blog~ :P)

Quote : We all have N·T·L (Nothing To Lose)!

Saturday, March 19, 2005 

Busy Weeks

In fact, i am very busy in these coming few weeks. I have engaged in a freelance project which required about 18 days to finish a educational system together with documentation. Well, that suppose to be 1-2 months work but due to some circumstances, i will be the one who finish the project. Still developing the project but just too tired and too bored therefore show up myself here in this blog for a fresh breathe~ Well hopefully i could finish it ASAP and get my sleeping hours back! :D Actually i am taking this project to evaluate self-ability and understanding on JSP/Servlet + Java after a 9 months working experiences. Well sound pretty cooool~ right? But shite~, in fact it is not that cool as you are thinking, need to sacrify quite a lot to follow the schedule. Every night you can only sleep after 2am... enjoy ah??? :-L

Sunday, March 06, 2005 

CNY in Tanjung Malim! (Day 1)

These are my friends in TARC, the best friends i mean! All of us were taking the same course, hanging around for projects and assignments, even in activities. Miss those days but i know we cant stop at that point of time. :) Looks like everyone is doing well in their career path. Keeping it up guys!!




 

Digi MMS

Hoho.. back to stephenlim.blogspot.com. Well recently i am busying with MMS gateway in my company. Need to studying the specification and technical API, understand the flow in and out of CP to MMSC. Have a tough time when comes to Mobile Originating (MO) UAT, reasearching the way of extracting a zip stream into a file for the entire working day + night time.

MMS from MMSC to CP is in zip format through Http POST method. All the while i have thought of bufferedstream, servletstream, outputstream, filestream... everything in streaming. In fact, we have two ways of extracting the zip stream:

1. Extract the stream in a low level of programming and rebuild it from base to file output.

2. Use a third-party library which help u to extract from Http POST header.

However, by using a third-party library save up your time a lot and i think that should be the way where JAVA comes in common, reusability. Well, here is the code i would like to share out which may help the next person hopefully.

DiskFileUpload upload = new DiskFileUpload();
boolean isMultipart = FileUpload.isMultipartContent(request);
if( isMultipart )
{
List items = upload.parseRequest( request );
Iterator iter = items.iterator();
while( iter.hasNext() )
{
FileItem fileItem = ( FileItem ) iter.next();
File uploadedFile = new File( "your location and the file name." );
fileItem.write( uploadedFile );
}
}

Please be noted i am using Apache Commons fileupload library. The above code is only workable in version 1.0 not the latest build version. Simple and understandable right? :) I am glad that now i able to finish the UAT for Digi MMS, waiting for migration to production. Cool~!

Programming is difficult when you restrict yourself in certain extend, when u able to overcome the boundary, you will be the real man who enjoys the challenge and satisfaction!

Google here!


Web stephenlim.blogspot.com

 

Say it!

About me

  • I'm StephenLim
  • From Petaling Jaya, Selangor, Malaysia
  • a normal person that lack of good memory.
My profile

Recent Comments



My Flickr Badge

[ SIMagine Competition ]

www.flickr.com
This is a Flickr badge showing photos in a set called SIMagine 2005. Make your own badge here.


[ Lang Tengah Island Trip ]

www.flickr.com
This is a Flickr badge showing photos in a set called Lang Tengah Trip 2006. Make your own badge here.