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.
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. :-)
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.
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.
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.
- 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.
"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
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.
"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.
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?
Tuesday, May 18, 2004
IDE features (or the lack of)
One of the pains of using Visual Studio 2003 is the lack of multi-monitor support. If you feel the same way go here and give some feedback:
http://blogs.msdn.com/saraford/archive/2004/05/18/134295.aspx?Pending=true
Recently I have been reading code from multiple files and was trying to refactor them. One of my monitors is 21" and the other is 17". So expanding the IDE window to both monitors would not work. It would be really nice to drag a code window onto the second monitor and now you can cut and paste whatever you want. Note that I said CUT and not COPY. I am not a fan of COPYing code!
http://blogs.msdn.com/saraford/archive/2004/05/18/134295.aspx?Pending=true
Recently I have been reading code from multiple files and was trying to refactor them. One of my monitors is 21" and the other is 17". So expanding the IDE window to both monitors would not work. It would be really nice to drag a code window onto the second monitor and now you can cut and paste whatever you want. Note that I said CUT and not COPY. I am not a fan of COPYing code!
Friday, May 14, 2004
hello world
I wonder if anybody will read this... if you do please send me a email at mhywan2@yahoo.ca
Subscribe to:
Posts (Atom)