Tuesday, January 02, 2007

Hong Kong - part 4 - cycling

One of the fun things I have done this trip is cycling with a few friends from school. These guys started out swimming competitively in school days and picked up triathlon as a sport a few years back. I was never good at swimming so triathlon was not my thing.


Here is a picture we took on a ride near the border of Hong Kong.

My friends' bikes are all very high quality. I didn't bring a bike and borrowed my friend's nice spare Bianchi with Ultegra components. (My "good" bike is 105) The other guy's pair of wheels are more expensive than my 2 bikes added together.

The routes in Hong Kong are a bit limited in choices and we have to start early. I have to wake up before 5am, hop on my friend's car at 5;15am to arrive at the starting location by 6am. The routes are a few laps of 10-20km so you have to do a few rounds to have a 2 hour ride.

One thing I learned from my friends is their dedication and the possibility of riding in the early morning. It is challenging for me to wake up but once you do the ride is very enjoyable. This is especially true during the Vancouver Winter when sunset is before I leave the office.

Hong Kong - part 3

Here is a small snippet of sights and sounds during the few days when the internet come to a halt due to the earthquake in Taiwan:

My family were having a bite at a small eatery and I overheard a conversation about the outage and ways to get around it like: oh I can go to yahoo.com.hk but can't do a search so I use this website and they were able to get me some results...

On the TV and in the paper people are talking about using proxy servers to route out of Asia. Of course the proxy servers pretty much shut down because this increased traffic.

My cousin was visiting Hong Kong from Japan and we were supposed to hook up to go to Ocean Park together. I was suppose to send him a email to confirm date and time. He was supposed to read his email from his blackberry and give me a confirmation. Well the email was sent out (thanks to the basic version of gmail) but he never got notified because of the routing problems.

During those few days I have to constantly no think internet, no google, limited email capability and survive without these tools. Kind of like brushing your teeth with your other hand.

Hong Kong part 2 - conveyor belts

I was standing and the luggage claim area in the Hong Kong International Airport, and being the optimized person that I am, I want to grab my bags as soon as they show up. So I was standing right where the bags are being dropped into the circular conveyor belt area.

After staring at the mechanism for a few minutes I noticed one thing, that the linear conveyor belt that drops the bags into the circular belt sometimes stops. There seems to be some sort of traffic monitoring going on. It seems to be looking for existence of baggage in the main belt and waits for a slot to drop it in if there are bags in the vicinity.

When I arrive in Vancouver, I noticed there is a similar system. Unfortunately there is also a guy working on the belt to smooth out the luggages. So obviously the system does not work as well.

Tuesday, December 26, 2006

Hong Kong - part 1

I was in Hong Kong for a few weeks attending a family wedding and visiting friends and family. Upon arrival I saw something like a ticketing booth in the immigration area:



So I stuck my smart-card Hong Kong ID card in and viola, in-and-out of immigration area in less than 10 seconds... cool!

Here is more info on the system.

My boss told me after the trip that this is similar to the NEXUS program. One difference is that every resident of Hong Kong has or will have this ID card and the system is to designed to process a high number of travellers at a very short time.

Tuesday, October 17, 2006

bullet

I have been pondering on a new bike for a while. The ability to use a commuter bike for normal riding and a nicer bike for longer and faster rides has attracted my attention for roughly two years.

So finally I pulled the trigger and got myself a second hand Cannondale. There is a couple of things I need to install before a real ride so more to come.

The interesting thing about this ordeal is the emotional aspect of it. I have been debating back and forth with myself with a little help with some friends. The moment I close the deal I felt dreadful, as if I have made the biggest mistake in the world. My wife was mildly supportive (that fact she did not veto is a good sign). My kids were a bit excited and wanted to go out with me on the new bike. Now I feel OK but there is no urgency to ride it - possibly saving it for next year.

Anyways I will put the stuff on and give it a spin when I have a weekend opening.

Wednesday, August 23, 2006

Chinese Fields Medal winner!

I was planning to write up on Yau Shing Tung and this news popped right out. Congrats to this fine young genius!

Monday, August 21, 2006

new shifters = new bike?

I have a touring bike with road shifters. My front Tiagra shifter is starting to skip at particular areas and the mechanic advices me to look for a new one. After a bunch of googles ended up getting a good idea on a pair of 105 shifters. I just got them installed yesterday.

With new shifters and new handlebar wrap, it justs feels like a new bike. It seems very smooth. So happens they put the same colour as the original wraps so it actually brought me back to the point in time when the bike is new and I was so happy!

So do yourself a favour, spend a little money on handlebar wrap and you can make a 5 -year old bike brand new again.

Friday, August 18, 2006

let me be the first to say this on the internet

Last night we invited 2 out-of-town Jesuits home for a get-together. One of them, an alumnus of La Salle College and also attended my alma mater, said that the reason my school has a serious rivalry with Wah Yan College Hong Kong goes as far as the found of Wah Yan. It is documented that he was a teacher at St Joseph's before he started, but apparently he "invited" a few colleagues to come with him. So according to my friend the Jesuit this is the start of a rivalry.

Tuesday, August 15, 2006

what do I want to do - part 2

This is one that is way out in left field: being a quant (aka rocket scientist), aka financial analyst in a heavy weight math setting. Most found in investment houses calculation financial option prices.

Why? Because it seemed fun. I was working in Tokyo for a US bank when I realize there is such an occupation for math grads.

It would be fun putting my interest and skills in math and programming together. The closest I've got since was to write a bunch of bond price-to-yield calculations which involve solving a bunch of degree N polynomials. It is really high school math then it is "advanced" math.

The saving grace these days is me having the ability to talk intelligently about financial instruments in general how it is modelled in the application.

The other side effect is to be able to argue with accountants and implementation folks about what kind of accounting entries need to be created for the financial instruments we model. Yea, amortization and interest accrual, debt expenses and stuff are *really* sophiscated math. :-)

Wednesday, August 09, 2006

What do I want to do when I grow up? Part 1

I guess when one turns 40, one starts their mid life crisis. So I am starting to ponder the things that I wanted to do but never did and see if there is any chance of happening in the future.

So let's start with something old: the thought of becoming a teacher. A high school Math teacher to be precise. I did that for two years not long after graduating. It was challenging for a young guy who is not patient and does not possess the wisdom (read conviction) to stick to his ways and do the right thing for the students. Somewhere in the back of my head this is a broken dream and one day I want to try it again...

Also back in my education training and undergrad days there was a thought: the use of history in aiding the instruction of math. The argument I have is that topics should be introduced in the order of their discovery in history. For example, the concept of limit was introduced after integration and differentiation. So therefore when teaching students you really need to talk about differentiation and integration before you can introduce limits in any reasonable manner. But yet if you read Calculus textbooks 99% of them would define limit ahead.

Thursday, February 02, 2006

Thursday, December 01, 2005

Riding in the rain and cold

Just read and commented on a post from the fat cyclist. One thing lead to another so here are some more thoughts.

The question comes up now and again: why do you ride in the rain? Why do you ride when it is so cold? The simple answer: because I can and I want to.

When I started commuting by bicycle 8 years ago, I only do it 2-3 times a week when it is not raining. I don't have the appropriate rain gear nor was I prepared to deal with cars and splashes and other problems. This went on for about 2 years. Then a new colleague who also commutes showed me what gear to get and soon I ride more and more. Now it is just natural to wake up, check the weather report and outside conditions, put on the right gear and go.

Riding in the cold is actually not hard. The body just naturally generates heat to keep you warm. The next issue to deal with is keeping your fingers, toes and ears warm.

Ice remains my biggest enemy. I generally stop riding for about 10-15 days during dead winter to avoid hitting ice. A few years back I spilled a few times. That's why I haven't conquered it. I still see commuters on the road and sometimes wonder how they can do it. Then again I watch racers go and also wonder how they can do it.

Tuesday, September 13, 2005

riding in Seattle

Finally got a chance to brag about this. I went to the Devscovery in Redmond. The conference was great and insightful. The best part of the trip was riding around Redmond with Eric G! We even skipped a trip to the Microsoft employee store in order to ride!

Monday, July 11, 2005

new use of computer fan

Well it's July 11th and it is still raining in Vancouver. When I leave home this morning there was no rain. Well a few peddles on the bike and voila, pouring rain. I took a chance and didn't put on my shoe covers and by the time my ride is over, my socks are shoes are totally soaked. I put my shoes to a strategic spot behind the computer and after an hour or 2, my shoes are totally dry. All thanks to Intel making a cpu that needs multiple fans to cool down. I finally found a way to reuse the heat generated! :-)

Friday, May 27, 2005

Visual Studio 2005 beta 2

I was asked to do a prototype of a new UI based on new features from VS 2005. I started with the thinking that it should be relatively simple to upgrade stuff from .Net framework 1.1 up. We actually had a good experience with VS 2002 beta 2. Boy was I wrong this time. Things I encountered include:

- the new partial classes with aspx pages blows up the previous implementations of inherited code behind. See this blog entry.
- custom controls not showing up. Haven't even logged this yet.
- using master pages changes how controls are hooked up under the Page object. I always thought the FindControl method goes iterative into the hierarchy, but I guess I was wrong.
- XML serialization problems with datasets. A patch is needed for framework 1.1 but not available yet.

So my advice to the reader is that check early and don't assume anything.

Monday, April 04, 2005

Mark's blog

Comment from this blog:

"Nor did anyone blog the conversations that took place among the thousands of attendees as they interacted during sessions, labs, meals, etc."

I agree the interactions are useful if you are there, but even attending doesn't guarantee you are to be at the right place to participate or listen in to these conversations. I feeling I got after going to PDC 2001 and 2003 is that it is like drinking water from a firehose. There must be a better way for these interactions to happen.

PDC was good for me in 2001 and 2003, but that doesn't mean I will be going to the one this year.

Thursday, March 10, 2005

PDC 2005

track back from Robert Scoble's blog:

Having attended PDC's 2001 and 2003 I can't really find any good reason to justify going. Whidbey? Read quite a bit and I am waiting for beta 2. Unless there are late additions like Indigo into Whidbey I don't think I'm going.

Wednesday, March 09, 2005

scalability

Comment from Larry Osterman's weblog:

"you can't speed up hard disk copies by throwing more threads or overlapped I/O at the problem, because file copy speed is ultimately limited by the physical speed of the underlying media - and with only one spindle, it can only read or write to the drive one operation at a time."

I thought with RAID, byte striping, SAN and the like you can't really assume what your underlying physical reality is anymore. I once heard this from a technical staff of a high-end RAID provider: "that anything you can throw into the SCSI bus, their RAID box will be able to write". Not really sure if it were true but their disks are really fast.

Thursday, August 19, 2004

Compression on IIS 6

Since this blog is closed for comments I have to add mine here:
http://weblogs.asp.net/owscott/archive/2004/01/12/57916.aspx

I was looking for ways to compress javascripts and google just keep return to the tool that does the metabase editing. Turns out the MSDN library has the description for the metabase entries. The HTML equivalent of what I've read is here:
www.microsoft.com/resources/documentation/ iis/6/all/proddocs/en-us/ref_mb_hcfileextensions.mspx

IIS has htm, html and txt turned on for static compression so I've added js and css.

One more thing, turning it on does wonders. I am doing performance testing a test cycle without compression involves around 7000 packets. Turn it on make it drop to about 3500.

Wednesday, June 09, 2004

VB or C#

A colleague raised this question again. My answer now is that I am bilingual and doesn't really prefer one over the other from a language point of view. However, the VB IDE is more feature rich than C#. e.g. background compilation and warnings, shift f2 (goto definition) works. That's why I prefer VB over C# now. I expect when Whidbey comes out the field is even more level than it is now. Comments?
 
Listed on BlogShares