Improving Distance per Stroke: Me vs. Lil Miss Swim Camp

Improving Distance per Stroke: Me vs. Lil Miss Swim Camp
As I learn more and  improve my freestyle swimming technique, I’ve quickly realized that distance per stroke is a very important concept, that one should focus on and strive to improve. Distance per stroke (DPS for short) is how far each arm stroke propels you through the water. The actual distance is mostly related to ...

Race Report: My first 70.3 Triathlon, Providence RI

Race Report: My first 70.3 Triathlon, Providence RI
This is my race report of the 2012 Amica 70.3 Ironman in Providence, Rhode Island. It was my first attempt at the 70.3 distance, and it was an interesting experience to say the least.  Below is my race report. Pre-race I partly choose this 70.3 because it was one of two (the other is Eagleman which I’m doing this ...

What happens when robots do ALL the work?

What happens when robots do ALL the work?
Everyone is complaining about China and how all of our jobs are going overseas, But the real concern may not be China or any other Asian country, it’s likely to be the inevitable march of technology , automation and how modern civilization in  making the world a “better” place is going to bring a lot ...

2012 Lincoln Park Triathlon videos

2012 Lincoln Park Triathlon videos
Last weekend I did the Lincoln Park Triathlon, a fantastic local sprint triathlon. Bike Segment: I had my Contour Pro mounted on my bike and below is an abridged view of the first lap. Link to Direct YouTube video

Sample Code: prevent web page overwrites

Below are some interesting problems and solutions that I have come accross. Problem: In a web based system how to you prevent multiple updates to the same record by different users seeing potentially different data. This is a play on the old airline reservation problem you find in older computer science text books. If  there is one ...