Tuesday, January 31, 2012

Java SWT Programming

Over the past two years I have been working on a pair of engineering programs for a group of water gate manufacturers.  With the help of a veteran engineer as the voice of the customer I created these form-based programs to help design a specific water gate and gate hoist.  The two programs were very similar in their functionality including:

  • An initial menu for choosing program direction

  • A screen to retrieve previous program runs

  • A password-protected table editor for adding and changing gate components

  • A series of screens for entering details and selecting options

  • A final page to view and print a formatted report compiling the data and calculations entered in the program.

Since I was working on a Linux (Ubuntu) machine and the program was needed to run on Windows desktop I opted for Java SWT to be able to compile versions for both operating systems.  Using Eclipse Plug-in Development for a framework allowed me to work in my preferred IDE while providing a number of desktop components out of the box.  Wrapping the whole thing up with an NSIS installer/uninstaller made for easy distribution.

Saturday, January 28, 2012

Lunar New Year in Vietnam

Even though Erin and I were only back at work for two weeks it was already time for another vacation as the Lunar New Year came early this year.  Despite the crowds we had decided last year to travel to Vietnam and Cambodia.  We only had one week off though so we were going to be specific about what we visited.  First stop was Vietnam to see Halong Bay.


On Saturday morning we got up early for our flight to Hanoi, Vietnam.  It wasn't until I double-checked our itinerary that I realized that we had booked business class for our entire trip.  Thinking back I feel it was the only thing available, but it explained the high cost of our tickets.  In any case it was a welcome surprise as we got access to the business lounge before our flight and got the nice, wide seats on the plane.

We arrived in the cold and gray of Hanoi noticing the dull, utilitarian, communist elements of the airport.  Fortunately we had contacted our hotel to pick us up so we didn't have to deal with any shady taxi drivers.  Our hotel, The Hanoi Moment Hotel was very accomodating throughout the trip and let us check in early so we could get some rest before heading out on the town.  As it was the weekend before the New Year the streets were packed and there were flower markets all around town. We found a wonderful ice cream shop for a snack while walking around the idyllic Hoan Kiem lake.  After some souvenir shopping we went to see a very nice water-puppet show.  With all the people in town we had a hard time getting in to a place for dinner, but eventually found a place with some space.

On Sunday we went out for a cruise on Halong Bay.  After a four-hour shuttle ride we checked in and boarded the ship.  Our first stop in the beautiful bay was a floating village where we were guided around by local row boats. It was astounding to think about how the people lived their lives on the water as we were taken to the town's school.  Our next event was a short cooking class before dinner.  Erin and I were pretty exhausted after that so we retired to our cabin, but others stayed up to celebrate the new year.

On the next day, the first day of the "Dragon" new year, we were treated to a trip to a magnificent cave.  The geography of the area made our trip back to the dock spellbinding.  However, we were soon back on the shuttle heading back to Hanoi.  The streets were far less packed as we got back in and checked back in to our hotel.  We still had a hard time finding a place for dinner, but soon discovered some delicious Italian food.

Monday morning we spent the day walking around Hanoi looking at the various sites.  From lake pagodas to Ho Chi Minh's Mausoleum it was all very interesting to see.  We just wish we could have been there when it was warmer.  We finished our sight-seeing at the temple of literature which contained a number of stone turtles carrying tablets of former Vietnamese scholars.  It was nice walking around the streets of Hanoi, but it was soon time to head back to the airport and fly off to Cambodia.  By that time we were looking forward to a warmer climate and some sun!

Friday, December 30, 2011

Home for the Holidays

This year for the holidays Erin and I made the long flight back to Denver. Making the flights seem even longer was the lack of seat-back TV's that we have come to expect on international flights. I think we'll avoid flying long distances with United in the future. Once we got back to family though it made the long flights worth the trouble.


We started our visit with Erin's parents, Mike and Susie, and their cute dog, Dante. Erin's brother, Andrew, and his fiancee, Sara, soon joined us.  The next night after dinner at the artfully decorated Beatrice & Woodsley Erin's sister, Amy, her husband, Kevin, and their 6-month old daughter, Nora, joined us as well. From then on it was a cuteness contest between the baby and the dog. Even though she was sick (as most of us were or would be) I think Nora won and Dante had to battle for attention.


On Christmas Eve we had a wonderful home-cooked meal compliments of Andrew and Sara. After dinner Erin and I presented everyone with an activity we had brought back from Taiwan: Chinese Lanterns. These were paper balloons with flammable material suspended at the base. We prompted everyone to write down what they were wishing for in the coming year. We then took the balloons outside and lit them. The balloons filled with hot air and gently lifted off into the night sky taking our wishes for the New Year with them.


Christmas morning found us opening presents and talking to family. Though Nora wasn't old enough to open her presents by herself she certainly received the lion's share. Dinner that night was another wonderful home-cooked meal, this time coming from Susie's cookbook. We finished the night with a game of dominoes.


On Monday, the day after Christmas Erin went with her family for pedicures and then we all went out to a Vietnamese restaurant for lunch.



While Tuesday was a relaxing day to catch up on emails, Wednesday proved to much busier. As a birthday gift Erin had gotten me some time at Denver's indoor skydiving building. After a brief introduction our instructor had us suited up and ready to get in the vertical wind tunnel. I spent my first two minutes trying to remember my previous sky-diving experience. When it was time for me to go again for another two minutes I was ready to do some basic manuevers like turning, going up and down, and going back and forth. Later that night I went out to join our supper club at Duo Restaurant in the Highlands. Unfortunately Erin couldn't join me as she was going to see "West Side Story" with her family. It was unfortunate she couldn't make it to experience the wacky gift exchange we did, but she enjoyed the musical.



On Thursday we had to say goodby to Erin's family as my parents, Karen and Gary, were flying in and we were going to stay with my aunt and uncle, Janet and Reynold, for their stay.  It was hard to say goodbye knowing we wouldn't see some of Erin's siblings and our niece until Andrew and Sara's wedding in September. Still, it was great to see my family and have a wonderful spaghetti dinner fixed by Janet that night.



On Friday Janet had reserved a table for afternoon tea at the Brown Palace.  The hotel is beautiful and the tea and scones were delicious.  Later we went out to dinner at a great place in downtown Littleton called, Terracotta.  On Saturday it was much the same except that Erin and I joined our friends Pete and Leah for dinner at the Wash Park Grill. We all then went over to join our other friends, Rachel and Cameron, at their house. It was nice to talk and catch up with them.


We started the New Year on Sunday with more relaxing time with the family.  This included playing Reynold and Janet's Wii along with some dominoes.


On Monday Erin and I got to meet with friends around town. That night Erin and I cooked my family a nice dinner of shrimp and tilapia before sharing the Chinese Lantern experience once more.


On Tuesday Erin and I drove my parents out to the airport for their flight back to California. We also took the opportunity to try to get some things out of storage that we would need in Taiwan. That night it was my turn to treat Erin to a surprise. We started out with dinner at the 9th Door Restuarant, a favorite tapas place downtown. We then went up to the Omni Interlocken Hotel in Broomfield. It was a nice hotel to stay at.


The next day the surprise continued as I got Erin an early birthday gift of a hot stone massage at the spa attached to the hotel. So she wouldn't be alone I went with her for my first hot stone massage. It was nice, but probably only something I would do rarely. We spent much of the afternoon running errands and preparing to leave. That night we went out with Erin's parents to the Sushi Den.


Early the next day Susie drove us to the airport for our flight back to Taiwan. As I type this we are once again on a long flight with limited entertainment options. It is a grueling process, but it was definitely worth it to see our family.

Sunday, November 27, 2011

Lions and Tigers and ... Turkey - Thanksgiving in Singapore

With four days off for Thanksgiving Erin and I decided to see Singapore over the long holiday weekend. Flying out Thursday morning we arrived to our modest hotel that afternoon and were soon out exploring the city. Our first stop was the famous Raffles Hotel and Long Bar where the Singapore Sling cocktail was originally concocted. The hotel and bar exuded a British Colonial style along with a tradition of leaving peanut shells on the floor.


From there we went to a Thanksgiving buffet put on by a brewery/restaurant on the Riverfront area. It was nice to get some turkey and stuffing, but the buffet style and confused service limited our enthusiasm for the place. Maybe finding the perfect Thanksgiving dinner in a former British colony in South-East Asia is asking a bit too much... We finished off the evening with a river cruise that described some of the history of the sites we saw up and down the river. It was nice to get a feel for some of the history of the city while taking in the splendid night skyline.

The next morning we were up early for breakfast out at the zoo. After a long ride on subway and bus we arrived just in time for our breakfast with orangutans. In an open-air dining area we got a typical breakfast buffet while animal handlers brought out orangutans, cockatoos and boa constrictor to join us. We were able to hold the snake and get pictures with the animals before finishing our meal and heading out to the rest of the zoo.


The Singapore zoo is truly one of the best in the world. It's been a while since I've been to the San Diego Zoo, but I would say this one was better. The main reason was because animal enclosures were created in the most natural way possible and even gave direct access to some of the animals. Highlights included a sea lion show where we were close enough to get wet; seeing various types of monkeys get fed; an Australian Outback exhibit where a walabi came up close enough to touch; and an enclosed area with freely-roaming lemurs, deer-mice, parrots, and butterflies. It's only drawback is the long time it takes to get there and back to the city.


It was mid-afternoon by the time we got back so we relaxed some and got cleaned up before going out to dinner at the fancy "Coriander Leaf" hotel back on the Riverfront. While the meal was decent and our server was nervous at times the real treat was the wine-pairing that accompanied each course. The wines were exceptional and almost justified the high price of the meal.


On Saturday we slept in a bit before going out for brunch near Chinatown. PS Cafe on Ann Siang was a wonderful place to sit back, read a paper, and enjoy the amazingly delicious food. It was a great way to start the day. From there we went out to Sentosa Island by way of cable car. While the views from the ride were nice, we met with disappointment once we arrived. The ride we wanted to do was booked for the day, it was hot outside, and everything else looked cheesy. We confirmed this suspicion with two cinema experiences: a hokey, water-in-your-face, bumpy show about pirates and a nausea-inducing, poor-video "log ride".  After sulking in the mall a bit we made our way to the Botanical Gardens.

Erin and I have discovered something paradoxical in our travels. We like to visit and stay in big cities, but once we're there we enjoy seeking out the natural, open spaces of parks, gardens, and wilderness. After walking around the gardens we were feeling much better and even made some friends from Louisiana along the way. The highlight was the National Orchid Gardens with thousands of beautiful orchids in a variety of settings. We would have spent more time in the gardens but we had to get to dinner. After a delicious Italian dinner along the river we were heading back out to the zoo area.


Right next to the zoo is a night safari that many people recommended. With many animals being nocturnal it was a wonderful chance to see them up and about. While not as good as the zoo, the night safari provided plenty of highlights as well including a tram ride where you could potentially reach out and touch several animals; a bat enclosure with bats flying inches from your face; and the chance to see a variety of animals that only come out at night.


After arriving back to our hotel late the night before we were exhausted on Sunday. We had time to get some breakfast and walk around Little India before grabbing our stuff and heading out to the airport. Leaving at 2pm with stops in Bangkok and Hong Kong we didn't get back home until midnight.


Even with only four days I feel like we got to see a good portion of Singapore. We're both fairly sore from all the walking and tired from the hectic pace, but we had a great time and would love to visit Singapore again in the future... how else will we see all the parks and nature reserves that we missed.

Sunday, November 20, 2011

Things you learn as you get older

It was my birthday this past weekend and to celebrate Erin and I took the train up to Taipei. We had a great time mainly because of lessons we have learned over the years and would have had an even better time if we had learned some things that we're still working on.


First off are the everyday things that help us get around in the world. As our second year in Taiwan we find things much easier because we've done them before. We've been up to Taipei several times now and so it has become and easy and enjoyable experience to get on the train and escape for the night.


Having tried many different hotels I think we've found one that tops the rest with The Riviera Hotel. Shortly after checking in they called up to confirm it was my birthday and say they had a surprise. Without either of us having contact the hotel they noticed it was my birthday and brought up a chocolate cake. This act, along with the free western-style breakfast and internet, has secured them at the top of our list when we go back.


When we went out that night things got a bit more difficult as we learned that we still need to work on writing down addresses and asking for directions. We tried to get to a wine bar, but couldn't find it and stopped instead for a glass at an Italian restaurant. Later, when we tried to get to our intended dinner restaurant the taxi could only get us to the neighborhood leaving us to walk around in the rain before we could find the place. We had a similar problem directing the taxi back to our hotel when we were finished.

Our dinner turned out to be an interesting event where years of experience finally lent themselves to better judgement. We were having dinner at a place called "Ninja" which was decorated in a feudal Japanese style with women dressed as ninjas. The food was okay (sushi, etc.) and there was a fun little waterfall gate that opened up when you said the secret password "ninja". The most interesting part was when they encouraged us to sit closer to where they were going to have a dance. That was when two women with little clothing started dancing and soon were beckoning some of the patrons to come join them. Knowing better, I declined to join them, but another young man wasn't as wise. At first it seemed to be good fun as the two women were dancing with him up on stage and started to take his clothes off. By the end though they were pouring ice water over his head and ice down his pants. He took it like a sport, but also seemed very red with embarrassment. Live and learn.


After the difficulties of getting around Saturday night, Sunday was a sunny new day.  After breakfast we went down to a store that stocks western-style food and packed for a picnic. We then found a trail up one of the nearby hills. The trail was steep, but we kept at it and before long we were rewarded with a beautiful view of the city while we had our lunch.


We then hiked back down to a nearby mall where they always have a wide variety of entertainment. There were various street performers and even a small half-pipe were they let me ride a bike around. After all the steps and walking on the trail we were glad to sit down for a movie (Tower Heist) and dinner (Gordon Biersch). As we made our way back home we made a key insight to birthdays and celebrations.


I often don't like to put too much emphasis on my birthday because it can lead to unrealistic expectations. Erin loves to celebrate birthdays and anniversaries often spreading the celebrations out over several days. What we came to realize is that this spreading out of celebrations provides more opportunities to meet higher expectations and have a great time.


Of course, the most important lesson I've learned over the years is that events are best celebrated with the people you love. I want to thank everyone for all the nice birthday wishes and especially, Erin, for being a wonderful wife.

Sunday, November 6, 2011

Bubbles, Bicycles, Forts, and Fashion

Erin and I have been getting a lot of bicycle riding in lately. Two weekends ago we rented bikes and rode along the river. The city makes it fairly easy to rent bikes out of their numerous automated bike stands so we were able to get the bikes near where we live, ride downtown, and leave them at another stand there. While downtown we enjoyed a western-style dinner and walked around an artistic section of the city. It was a good evening to get Erin's mind off of the day-long parent teacher conference she had the day before.


This past weekend we went to Tainan for some more cycling. Tainan is the next largest city North of us about an hour train ride away. It used to be the seat of power when the Dutch ruled and still has many buildings from that era. We started with a walk around one of the old Dutch forts. Surprisingly, as we arrived we saw that they were holding a small fabric expo and were treated to the tail end of a fashion show.


After the fort we walked over to an old tree house which turned out to be an old salt warehouse that had been overgrown with banyan trees. The trees gave the place a relaxing feel. Their shade was a welcome relief from the surprisingly hot day.


As lunch time was soon approaching we rented some bicycles and rode out to where this quirky cafe was supposed to be. The crazy construction of driftwood and glass was there, but they were doing work on it and not serving food. Fortunately there was a cafe next door. Though it was serving typical Taiwanese food we found some palatable dishes before moving on. Across the street was another Dutch fort with an array of massive cannons.


Before long we were back on the bikes and heading back to where we rented them. Along the way though we spotted a massive amount of bubbles. There were people with huge saucers of soap and sticks with rings on the end. Joining the fun we got our own set. We would dip the rings into the soap and let the breeze blow huge bubbles and tubes. It really made our day after missing our expected lunch.

After returning the bikes we took a taxi back into the main part of town. There we tried to get a melon drink for Erin, but with no signs in English I fear we got something else because it just tasted like sugar water. We then went to the Confucius temple, but didn't see much as it had gotten dark at this time. We finished our trip with dinner at a Greek restaurant which also had good mango margaritas.


It was nice to get away for the day and see a different city. Looking through the guidebook it seems we've done just about all there is to do in southern Taiwan. It will be nice later this month to get away to Singapore for Thanksgiving.

Sunday, October 16, 2011

Thanksgiving, Paper Umbrellas, and Rugby

One of the things I really enjoy about living abroad is the ability to experience multiple cultures, even those of countries we're not currently living in.  I've found that living as a foreigner in a different country often means that you get to know other foreigners more than the locals.  As English speakers we naturally tend to gravitate towards other English speakers.


So it was last Monday night, as the Republic of China (Taiwan) celebrated it's 100th anniversary, Erin and I could be found at a restaurant/bar enjoying Canadian Thanksgiving.  Similar to a Thanksgiving meal in America; we enjoyed turkey, stuffing, ham, mashed potatoes, and finished off with some pumpkin pie.  We even had leftovers for lunch the next day.  Looking around at the Western decor and fellow Westerners enjoying the feast I could imagine being in North America.


On Saturday this past weekend we were back to local Taiwanese culture as our friend took us to Meinong, a town in the foothills not far from Kaohsiung.  We started with a delicious lunch at a place that served local, naturally-grown food.  The style was more typical of the indiginous tribes than the fried food we often see in the city.  After lunch we went to a shop where they hand-make and paint paper umbrellas.  There were many beautiful designs in various shapes.  To finish out our trip we visited a local potter.  We're hoping that the pottery and paper umbrellas will provide some character to whatever place we get back in Colorado.


For Sunday afternoon I was off to celebrate some more foreign culture as another bar had a satellite link to the semi-finals of the Rugby World Cup.  My friend, Andrew, had invited me to watch his national, New Zealand team: the "All Blacks", versus the Australian "Wallabies".  It was the first time I had seen a full rugby game and I enjoyed how fast-paced it was.  It helped that the team we were cheering for ended up winning.


I suppose that we could have enjoyed Canadian Thanksgiving and the Rugby World Cup in the US, but I doubt we would have known about them.  Maybe now that we know about them we'll be on the lookout for opportunities to enjoy them back in the States.