Triathlon Season 2012

Triathlon Season 2012
2012 Triathlon… a return So 2012 was an interesting year for me. After more than 15 years of not competing in any kind of athletics I decide to take up running, swimming and biking and take part in a bunch of races all in one year.. . Crazy .. for sure.. but sooo .. much ...

Sample Code: Quick and Dirty PHP Cache 4

Sample Code: Quick and Dirty PHP Cache
Here’s a variation of a PHP caching script. One of the things I frequently find myself doing for page(s) that take a long time to render, especially if they are a long running process, is to generally save a recent cached page (or more specifically) cached content and serving that up, when I need to have an immediate page ...

Running 2012

Running 2012
So trying to get back into shape I started running in 2011 and continued into 2012.  I had been hoping to lose a few pounds, and restore myself to some sort of decent running shape. S’tarting slowly 5K then 10K   Cherry Blossom 10k .. The “A” race that wasn’t My favorite race has to ...

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 ...
Newark , US
5:30 am
20°F
Few clouds
High: 22°F
Low: 18°F
Wind: 18 mph