Problem 1 from Project Euler . net

Trying to reinforce the syntax in ruby, I did Problem 1 from Project Euler . net:

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000.

x=0
1.upto(999) {

|i|
x=x+i if (i % 5 == 0 || i % 3 == 0)

}

print x

I'd like to do this by merging two sets of numbers next.

My first powershell

A foreach loop that calls ping with a specific buffer size, and sends output to a ping*.txt file corresponding to the buffer size:

foreach ($number in 32, 256, 1024) { ping -n100 -l$number yahoo.com > ping$number.txt }

Ran 19 miles in two segments today

Ran with a group today for the first part of my long run with Trent from RunningAhead and a co-worker. Co-worker has a natural 3:30 marathon pace, with a BQ under his belt. Trent led the way, and we managed to keep exactly on my "target" LR/ER pace of 9'18".

Total Time (h:m:s) 1:33:05 (9:18 pace)
Distance (mi ) 10.01
Elevation Gain (ft) +489 / -505

Elevation Chart:

Then we proceeded to stand around for 18 minutes of blabbing/recovery... then I finished my "18 miler" by getting lost on the way back from downtown:

Total Time (h:m:s) 1:29:33 (9:48 pace)
Distance (mi ) 9.12
Elevation Gain (ft) +402 / -399

Elevation Chart:

For when I really can't get my brain fired up on a given day

Project Euler for programming problems.:  "Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems."

I was looking up V=IR, P=IV, etc...  and found this site:  Equation Sheet site.  It has algebra, calculus, statistics, and physics, etc... equations.

A simple AJAX TODO List and links to the code

Feeling pretty peppy the day after the relay

Course: 1% Treadmill
Distance:4.56 miles
Duration: 40:00
Pace: 8:47 / mile

I started this workout at 6.5 mph (9'13" pace) and tried to speed up every 4 minutes.  My last minute I ran at 9.4 mph (6'23" pace)

My blister is actually feeling pretty good as well (used two Band Aid advanced healing blister bandages last night and through the run today).

I'm still targeting 40 miles for the week, with an 18 mile long run on Saturday.

Risking personal injury for World Hunger!

I'm running a 9.2 mile leg of a relay race between our office buildings today.

I am one of 24 runners and 6 walkers participating in a relay between two of our office buildings (9.2 miles) today to raise money for World Hunger.  This relay takes us:
- South on Poplar Level Rd
- Crossing at Jefferson Ave
- Crossing Fern Valley Rd
- Crossing Outer Loop
- Down Preston Hwy
- Across the Gene Snyder interchange and down the I-265 Northbound exit ramp area to South Preston Hwy.

I've run some crazy routes in my marathon training, but the shoulder between the exit ramp and Preston Hwy is pretty dicey.  Help me make this risk worthwhile.

Update:
We won our relay (4 x 9.2 miles) by two minutes.

PC World's opinions on products and websites.

100 Incredibly Useful and Interesting Web Sites

The Bottom 10: The Web's Most Useless Sites - Digg made it!  Wow.  Some pretty ugly sites otherwise as well.

The 10 Most Overrated Products  -- a little too much credit to Microsoft, especially with the underrated Zune vs. the overrated iPod.  Part of the greatness of the iPod and iTunes is the market saturation of the product.  My ripped CDs, my iTunes-purchased AAC files, and my podcasts co-exist seemlessly.  The wifi sharing feature of the Zune is made relatively useless by the lack of adoption.

8.2 Easy Run w/ Strides 8x20sec

Elevation Chart:

Summary Data
Total Time (h:m:s) 1:11:01 8:40 pace
Moving Time (h:m:s) 1:10:07 8:33 pace
Distance (mi ) 8.18
Elevation Gain (ft) +535 / -536

Lap Breakdown (mile 7 had 8x20 sec strides)

Lap
(#)
Time
(m:s)
Distance
(mi )
1 8:39 1.00
2 8:34 1.00
3 8:45 1.00
4 8:42 1.00
5 8:52 1.00
6 8:38 1.00
7 7:54 1.00
8 8:52 1.00
9 1:08 0.18