This is the first of a many parts series about starting up a web design company. Please scroll to the bottom of the article to read the other parts of this series.

Beamstyle Logo - Web Design Hong Kong
Beamstyle Logo - Web Design Hong Kong

Beamstyle was founded one day when I met a friend during a lunch. We both have the vision to be an entrepreneur, but we are unsure what we should do. We are pretty sure that it would be something software related, as my friend (and my business partner) is a master of computer science and I just have an deep interest and a degree in software engineering.

Continue reading

Have you ever had this experience in the office? Your boss assigned a task to your manager, then your manager assigned the task to you. However, what you’ve heard from your manager is actually different from what your boss wants. Your boss saw your code and he/she doesn’t like it. He/She told your manager to ask you to make the changes again, and the loop goes on. Time are wasted when you are waiting for your boss to review your changes.

Our solution for the case at the end? I ended up using an Agile development methodology to solve this problem. I had a pair programming session with my boss in the conference room. On a big screen. Wow!

The end results are great. My boss got what he wanted. His knowledge are transferred to me. Now I understand the coding standard he is looking for. All the time wasted for submitting a patch and waiting for my boss for review are gone. Best of all, he helped me caught a lot of bugs which I might’ve done if I didn’t do pair programming. Bugs are sometimes hard to avoid when one is programming alone. Our brains sometimes just cannot handle thinking so many different things at once.

Today, I was working a newsletter program in Java using the Hibernate library.  I decided to use the ScrollableResults object because I do not have to load all of the database entity at once.  Instead, I can use a database cursor to retrieve the entity one by one.

At the beginning, I wrote this code.

ScrollableResults userCursor = query.scroll();
while (userCursor.next()) {
    User user = (User)userCursor.get(0);
    // do action
}

Our database has around 200,000 users and the program seems to be working fine. Later on, we put this code in a multi-threaded environment with 5 threads, and the program runs slower and slower.  A few minutes later, I saw this message in the console:

Continue reading



how to get back your girl
do you ever miss your ex when on holiday
i cheated boyfriend wont take me back
win back my boyfriend after a month break up
how to get back with your ex boyfriend after you broke up

Tonight, I went to the supermarket and I wanted to check the number of points my supermarket cards has. I was greeted by this mess. Wow.

i have a holiday booked with my ex girlfriend what should i do.

what the best advice to get someone back

how to handle if your ex trys to return after a breakup

how to get man back after breakup

how to getover ex husband

my ex bf friends are my friends

tips to get back my long distance boyfriend

how to get back your ex girlfriend when you broke up with her

how do i know if my ex wants to get back together with me

ex boyfriend text you

How to get an ex gilrfriend back

my boyfriend broke up with me why doesnt he want me back

things to say to make your girlfriend get back with you

he left me for another woman i want him back how

does ex girlfriend going to dinner with you mean she still loves you

how can i get my ex back but we are distance away

how to make him get back with me

my ex back

how to make your ex man want you back

How to get your man back after broke up
http://blog.beamstyle.com.hk/wp-content/uploads/2009/02/shopping-machine.jpg” alt=”A point card machine with a mess in front of it.” width=”375″ height=”500″ /> A point card machine with a mess in front of it.

You may think this is wierd, but actually there are so many websites which does similar things.

Continue reading

Table2CSS Converter Box

A couple days ago, I was given a task to convert a webpage using HTML tables for positioning to a webpage using CSS for positioning. I was rather lazy and I looked for a free tool to do this task. After looking up in Google for a few minutes, I found this software called Table2CSS Converter. This software is actually quite user friendly to use. All you have to do is to specify a folder to convert and it’s all done for you.

Continue reading