Thursday, April 24, 2008

My Craigslist Search Helper

I have always enjoyed the simpleness of using craigslist.org to buy and sell items in a local venue. There were just a couple things that bothered me and I have attempted to build upon them with the use of Yahoo! Pipes and JSON. I'm a software engineer by trade, so I was interested in playing around with Yahoo! Pipes and the JSON technology... and some friends of mine had suggested that craigslist.org needed better search results... something more like Google and it needed to include the images when available. Using the craigslist.org RSS feeds and some regular expressions, I was able to produce some search results that have the date, title, description, and images when available. So feel free and try it out. Let me know what you think of it and what improvements you would like to see. It is still a work in progress, so be looking for enhancements!

CraigsList Search Helper

UPDATED 06/18/08: I have added some beta sorting options that allow you to sort the results by price from high to low or low to high. These only work for results that include the price in the title text. Those without the price get sorted as if they have the lowest price. I have also added a lot more cities and states to my site. I hope you enjoy the changes. Thanks.

Friday, April 18, 2008

Earthquake in the Midwest (131 miles east of St. Louis)

A magnitude-5.2 earthquake, centered 131 miles east of St. Louis, Missouri, shook southern Illinois at 4:36 a.m. (5:36 a.m. ET) Friday, according to the U.S. Geological Survey. People as far north as southern Michigan and as far west as Des Moines, Iowa, reported feeling the quake.
My wife and I woke up early this morning to hear and feel our house shaking. The TV on the dresser was shaking... I could not believe it... at first we thought it was our dogs wagging their tails ( two 95lb labs ), but I read the news this morning and it was a 5.2 earthquake in Southern Illinois! I would estimate that the house shook for approximately 5-15 seconds. Scary to think what would happen in a larger Earthquake.

FEMA: What to do during an Earthquake...

**UPDATE**
I just felt another Earthquake from work... I wasn't sure at first...thought maybe the A/C turned on or someone walked by... but sure enough... it was a 4.6 in about the same spot the 5.2 was earlier...

Earthquakes near that area

Wednesday, April 09, 2008

First Royals Home Opener with Crown Vision produces victory!


The Royals were able to come out with a win on opening day at Kaufman Stadium against the struggling New York Yankees. Here is a photo I found someone had posted on missourinet.com showing the Crown Vision in full action! It looks amazing! The article on missourinet.com also mentioned that we need not worry about the signature crown on top of the board, as they saw it in pieces ready to be put on top of the board in good time. I hope the Royals can keep their undefeated streak at home alive at least for the next 2 games and complete the sweep of the New York Yankees. Go Royals!

Tuesday, April 08, 2008

Dominos 555 Deal verses 777 deal (Part 2 of 2)

Size of the 14 inch pizza (large) = pi * (7^2) = 153.93804 square inches
Size of the 12 inch pizza (medium) = pi * (6^2) = 113.097336 square inches.

153.93804 - 113.097336 = 40.840704 square inches less per pizza 555 deal compared to the 777 deal.

40.840704 * 3 = 122.522112 square inches total missing in the 555 deal verses the 777 deal.

If you take the amount missing from the 555 deal and divide by the total square inches in the 777 deal you get the following...
122.522112/461.81412 = 0.265306119
0.265306119 * 100% = 26.53% less pizza in the 555 deal verses the 777 deal.

$7 * 3 = $21
$5 * 3 = $15

It is $6 cheaper to get the 555 deal... so lets find out what percentage cheaper that is...
6/21 = 0.285714286
0.285714286 * 100% = 28.57%

So, the conclusion is the 555 deal cost 28.57% less than the 777 deal, but you only lose 26.53% of the pizza... therefore making the 555 deal a better deal, but not by much.

Just to hit it home... here is the price per square inch for each deal indicating the 555 deal gets you the most pizza for your money. Enjoy!
555 deal - $15 / 339.2920 sq. in. = 0.0442 ~ 4.4 cents per square inch
777 deal - $21 / 461.814 sq. in. = 0.0454 ~ 4.5 cents per square inch
444 deal - $12 / 235.6194 sq. in. = 0.0509 ~ 5.1 cents per square inch

**UPDATE**
I've been told that they actually charge $5.55 per pizza for the 555 and $7.77 for the 777... that would change the math a bit... see the following...

555 deal - $16.65 / 339.2920 sq. in. = 0.0442 ~ 4.907 cents per square inch

777 deal - $23.31 / 461.814 sq. in. = 0.0454 ~ 5.047 cents per square inch
444 deal - $12 / 235.6194 sq. in. = 0.0509 ~ 5.1 cents per square inch

It still leaves the 555 deal as the best option, with the 777 in second place, but the margins are not as big. Thanks!

(See Part 1 of 2 for more information)
Note: Delivery charge, Tip, and/or taxes have not been taken into account

Monday, April 07, 2008

Dominos 444 Deal verses 555 deal (Part 1 of 2)

The claim is that the new Domino's Pizza deal of 444 is a 'Recession-Buster' deal... lets find out...

The area of a pizza is calculated by 3.14 (pi) * radius squared...

Size of the 10 inch pizza = pi * (5^2) = 78.5398163 square inches

Size of the 12 inch pizza (medium) = pi * (6^2) = 113.097336 square inches.

So there are 34.5575197 square inches less per pizza in the 444 deal.
34.5575197 * 3 = 103.672559 square inches total missing in the 444 deal verses the 555 deal.

If you take the amount missing from the 444 deal and divide by the total square inches in the 555 deal you get the following...
103.672559 / 339.292008 = 0.305555559
0.305555559 * 100% = 30.555555559% less pizza in the 444 deal verses the 555 deal.

$5 * 3 = $15 for the 555 deal.
$4 * 3 = $12 for the 444 deal.

It is $3 cheaper to get the 444 deal... so lets find out what percentage cheaper that is...
3 / 15 = .2
.2 * 100% = It costs 20% less to get the 444 deal...

IT'S A SCAM! You pay 20% less for 30% less pizza! It's a better deal to do the 555 deal! They also have a 777 deal... I have not done the math on that one yet, but be looking for a later post to find out if it's a better deal than the 555 deal.

(See Part 2 of 2 for more information about the 777 deal and overall price per square inch)
Note: Delivery charge, Tip, and/or taxes have not been taken into account

Connection has timed out when trying to hit Google...


Over the past couple weeks I have been getting this error message saying, "The connection has timed out" when trying to reach google related websites such as http://google.com/ and http://gmail.com/ ... I even got it the first time I tried to login to blogger to write this post. It has really been frustrating and I'm beginning to wonder if it is a problem with my ISP (Charter Communications) or if Google is truly having problems? In any case, I have been forced to use Yahoo! when I am unable to access Google. This is disappointing and I hope that my issues will be resolved soon. If anyone has any suggestions on ways I can remedy this problem, please let me know. Thanks!

Thursday, April 03, 2008

The Kansas City Royals Sweep The Detroit Tigers!


What an awesome way to start the season. 3-0, 1st in their division, undefeated and a sweep of the team picked to win the world series this year! All this, done while on the road. Greinke pitched a great final game of the series and came out with the win. I look forward to seeing more games won by Greinke this year.

LETS GO ROYALS! KEEP UP THE GOOD WORK!