Wednesday, October 15, 2008

About Dream Car

Yesterday, someone ask me what is my dream car? Am I setting dream car as one of my personal goal?

This is what answer him/her:

when you are 18 years old plus, dream about your first car
when you are 20 years old plus, dream about Toyota Celica, RX8
when you are 30 years old plus, dream about BMW, Benz
when you are 40 years old plus, dream about Ferrari, Porsche
when you are 50 years old plus, dream about Audi, Lexus with a driver
when you are 60 years old plus, dream about ambulance :p
when you are 70 years old plus, dream about black car!? :D

no harm to anyone, just a joke of the day!

Friday, September 26, 2008

About the current status

It is been quite sometimes that I have stop blogging and now it is time to update the my "status".

Recently, I am involve in two roles positions. One is about the palm oil plantation. The plantation role is on planning status. Therefore, the workload is not heavy. I just have to made a few calls daily, check what are the fruit market price for today in MPOC web site and estimate in future what is the trend on economic.

On the other hand, I am working on Production role at PowerConcord. For geeks only, I know this web site is very traditional, like 90 centuries, static webpage and yet is not created from me! Why am I working on two position? Because existing employee is leaving the company. So, if there is another employee leaving, I might hold more than 2 position role, what a joke! General speaking, I have no idea what I have to do on this position. Because there isn't have a proper documented or is not systematic. Therefore I need to observe from myse, if it make sense I would let it go, if it is not I will screw them up. On this production role is like a supervisor on these products, make sure the raw material is sufficient, workers are following up with their job and there is more I haven't discover yet. Oh yea, We are manufacturing on returnable and disposable metal pallets. It is mainly for rubber factory to use and chemicals factory. It is very common in oversea country, because metal pallets can recycle, environment protect on trees. But it is not very popular in Malaysia yet, due to Malaysia still have plenty of woods for pallets.

There is my recent update!

~eddiekua

Tuesday, August 5, 2008

About HttpClient

It’s been sometimes that I have not involved any programming stuff. I am writing a small program to help me collect some data from the web site at everyday. At the beginning, I thought I could use the shellscript platform to make it words. Shellscript is a simple command language to perform simple command without using any dependencies to run it. Unfortunately, shellscript does not able to sub strings some data from the content and other processes. Therefore, I changed to Java platform which I more comfortable on it.

I use the HttpClient to retrieve the source file. This is the sample file:


import java.io.IOException;
import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.methods.*;
import org.apache.commons.httpclient.params.HttpMethodParams;


public class CPODaily {
private static String url = "http://www.mpoc.org.my/";

public static void main(String[] args) {

// Create an instance of HttpClient.
HttpClient client = new HttpClient();

// Create a method instance.
GetMethod method = new GetMethod(url);

// Provide custom retry handler is necessary
method.getParams().setParameter(HttpMethodParams.RETRY_HANDLER,
new DefaultHttpMethodRetryHandler(3, false));

try {
// Execute the method.
int statusCode = client.executeMethod(method);

if (statusCode != HttpStatus.SC_OK) {

System.err.println("Method failed: " +
method.getStatusLine());
}

// Read the response body.
byte[] responseBody = method.getResponseBody();

// Deal with the response.
// Use caution: ensure correct character encoding and
// is not binary data
System.out.println(new String(responseBody));

} catch (HttpException e) {

System.err.println("Fatal protocol violation: " + e.getMessage());
e.printStackTrace();

} catch (IOException e) {

System.err.println("Fatal transport error: " + e.getMessage());
e.printStackTrace();

}
finally {

// Release the connection.
method.releaseConnection();

}
}
}



You need to import these three libraries, in order to execute it:

* commons-httpclient-x.x.jar

* commons-logging-x.x.x.jar

* commons-codec-x.x.jar

Reference:

* http://hc.apache.org/

~eddiekua

Tuesday, July 29, 2008

About the Dark Knight

I am drinking a can of beer while writing this blog….

Today, it isn’t a grateful day or unpleasant day. It’s just like a normal day that people go for movie or having dinner with your partner. It happen same to me as well. I went for a movie with my girlfriend on tonight which is Batman: The Dark Knight.

I believe most people have seen this movie. It has been up in the cinema for couple weeks. I wasn’t free on the past few weeks and luckily there is someone who always waits for me. Then how was the movie? Was it good?

Overall, the movie is not bad at all likes storyline, acting, action, bat mobile, new technology and characteristics. There is one thing I dislike from this movie and it made me downgrade rate of this movie even though it shows 9.4 out of 10 from IMDB. The thing that I don’t like is the moral of the movie. Sometimes a single view, a single thing, a single sentence or even a single word will influence people mind and how they look at on the object in a good way or bad way. Eventually, a movie can influence you more either can bring you more happiness, sadness, hope for the life or human is evil. Human is not evil, because they are criminal. Human is more evil, because they are not caring, sick of life and it threat people as emotion toys.

In the movie, the mayor is trying to save the city or to secure others life or reduce the criminal. But at the end, he turns evil because he is being betrayed by someone that can trust. There is some good thing about the movie is human life cannot judge good or bad based on what they have did on the past. The movie influence me on the bad things that, why should I live on this world, why should I being well to others? What I got return when I being well to others? It makes me look very down on this world; it shows there is no thoughtful. Look what is happening on our politician (战争连连, 受苦始终是老百姓).

The movie increases my emotion and anger. I use my hands to block the lift and it caused some annoying sound (DONG DONG!) when it tried to close. By doing this action, its scare people in the lift that, why am I doing this. To be honest, I did not plan on this. But the mind and body is not control by me and it control by my emotion.

On the way back to home, I almost caught two car accidents because of this movie. I almost want to bands his car because he over take me or blocked my way. Another time, my car almost got scratches on a stand pole when I reverse the car, because someone car park my car post.

Alright, I finished my beer and air-cond is switch on and everything back to normal again.

Monday, July 14, 2008

About Vietnam

What an interesting lunch I had it just now! I meet this person during lunch time. He is working in a company who had invested factory in Vietnam. He works half a year in Vietnam and half a year in Malaysia. During lunch time, he told us a lot interesting things in Vietnam and why people choose Vietnam for further investment.
On the pass 3 to 5 years ago, we always heard people want to go China for future invests especially those on manufacturing company. But, now the investor has changed their mind.

Why employer or investor does not likes to invest on their own country? Few reasons I can think of:

• Workers salary
• Lifestyle
• Land, electricity, water
• Population
• Human rights
• Government Policies likes tax, laws and others

With the reasons above and more, it cause the investor does not want to invest on their own country. Profit of the return would take much longer and it might go through a lot of process.

Take an example; a listed company in Malaysia requires 30% shared hold by Bumi (Malays) person. Why is the reason? Simple it is share the portion of the foods.

In Vietnam the land boundaries is 4,693 km and Malaysia the land boundaries is 2,699km. The population in Vietnam is 86,116,559 and Malaysia is 25,274,133. This is one the reason that Vietnam land and worker salary is cost much lower than Malaysia.

Currently, Vietnamese do not have much happening lifestyle; due to their 70% of salary will go to food, motor-bike loan, family expense and the rest. Thus, in off working time or weekends, they will take stool to the walkway and chit-chat while drinking tea and children will play on the ground.

He told us that in Vietnam, most of the business or manager level is run by women. There are 4 women days happen in a year like 8th of March, 20th of October and others. In these days, the employer will buy a rose or give some voucher to the women as a small gift to them. What a grateful day! Check out this article.

Monday, July 7, 2008

About 10 Genius Inventions We're Still Waiting For (2)

Continued from the topic: About 10 Genius Inventions We're Still Waiting For

-----------------------------------------------------------------------------

6. Nontangling Cable

Cables constructed with cleverly integrated electro­active polymer components could lead to headphones that don't tangle, as well as to self-straightening extension cords and garden hoses.

I believe most of the office love to have this technology.


-----------------------------------------------------------------------------

7.
Insect Force Field

Insects are important for healthy ecosystems, but they also ruin crops, spread disease and occasionally bite your neck -- ouch. An insect force field would allow hikers to wear what they want, sleep outside the tent and come back for a dropped candy bar an hour later and find it whole.

eee....add one more request. It can block the ultralight that will be perfect!



-----------------------------------------------------------------------------

8. Megatracking System

Ever had an iPod or camera stolen? The time is ripe for microscopic tags that can be permanently implanted into inanimate objects, so they can be tracked to whichever house/pawn shop/precinct they end up in. There is a compromise, of course: your privacy. Is it worth it? Maybe not. But it'd be pretty great to go swimming without having to hide your cellphone in your shoe.

What is the thing on your list want to be tracked? =P


-----------------------------------------------------------------------------

9. Kid OnStar

Kid OnStar could be packaged into a bracelet or necklace crammed with sensors that monitor location, physiological status and voice stress levels. Parents could receive monthly diagnostic checks on exercise levels, notification if children are injured or kidnapped and the assurance that emergency services will be sent the instant a problem arises.

If you would need this kind techonlogy, are you sure are you ready for being parents to take your own chilren for their safety or have you given more care to your own children.

-----------------------------------------------------------------------------

10. Auto Memory

A memory recorder might combine two existing technologies: a wearable computer that sorts and stores data (a memory prosthetic) and an implantable micromachine that intercepts and wirelessly transmits electrical activity from the optic nerve (a neuroprosthetic). With every frame of your life cataloged, this ensures you'll never forget a face again -- even if you want to.

no comment on this......


-----------------------------------------------------------------------------

Here is the link, where I found this things.

Monday, June 30, 2008

About 10 Genius Inventions We're Still Waiting For

Let check it out what are the 10 genius inventions that we are still waiting for to simple our life or safe more resource.

The following is not sort by population, but which one you want it the most?


1. Sonic Shower
a sonic shower is a fictional device used for personal hygiene onboard starships, shuttlecrafts and starbases, which theoretically works by emitting high frequency sound (sonic) waves that disintegrate dirt and other substances that may be deposited on the skin.

Woh, how great it is taking shower without water, but everyone smell the same and would it cause skin cancer?


------------------------------------------------------------------------------

2. Augmented Reality

Augmented reality
(AR) is a field of computer research which deals with the combination of real-world and computer-generated data.

If we can use this technology, it will safe alot of works, clear out mis-understanding and knowing better what is affect by doing this.


------------------------------------------------------------------------------

3. Life Simulation
Life simulation games (or Artificial life games)[1] are simulation games in which the player lives or controls one or more artificial lifeforms.

Is life simulation can help you to made decision? There is alot possibility things could happen in this world, but how can you avoid most of it?


------------------------------------------------------------------------------

4. Acoustic Cloak
An acoustic cloak is a technology used to build sound-proof homes, advanced concert halls or stealth warships.

If those have watched "Get Smart", you will know how does it look like when you need some privacy.


------------------------------------------------------------------------------


5. Legged-Robot Everything

Picture a world of legged beds, couches and tables. People could downsize their houses to only two rooms: a storage room that holds the furniture and a main room that shifts to become whichever space is needed

This is how we come across on those new invent of fitness (lazytype). What the hell, exercise when you sitting down.


to be continued....