My first (quite pointless) Ruby website
sowhatcouldigetatmcdonalds.com
sowhatcouldigetatmcdonalds.com
Add a dietary component. First, scrape all the various nutritional values (calories, grams of fat, etc.) from each major restaurants website. They all publish that stuff. Then tie into people's bank transactions through something like Yodlee or finkin(a "Show HN" project from a couple weeks ago[1]). You'll then be able to identify when a user buys food at a given restaurant for a given amount.
With a little tweaking, you could give people an automatic and fairly accurate assessment of their food intake. For example, your current site is telling me that 2 sundaes, a medium fry, and a filet-o-fish cost exactly $5.89. According to the McDonald's site, that meal is a whopping 1420 calories and 20g of fat. People would pay money this. Bonus points for sending customized tips on how to quit eating so horribly based on my data.
You'll have to factor in taxes, different promotions, identical price combos, and more to improve accuracy. I think it could have massive potential though. I've done a little research into a concept like this so feel free to drop me a line if it interests you.
-- [1] http://news.ycombinator.com/item?id=1783823
EDIT: for clarification
Have you considered using varnish + cassandra? Take care to avoid the thundering herd problem.
I have an API that does this automatically for you, http://houdinihq.com. I'd be happy to help the OP if there's an interest in doing something like this.
Do you really think listing what people eat at restaurants/bars/coffees be enough to estimate their calorie intake? This might be my cultural bias talking, but here in Europe it would definitely not be accurate because people eat and drink a lot of "homemade" stuff.
I still consider SoWhat... as a gadget solely created to learn Ruby, but your ideas are intriguing. I'll drop you a line soon (busy schedule this week :) ).
(6:54:08 PM) Michelle: it told me this: $1,000,000? Seriously? A whole lot of food. No, I won't compute that for you. That's too much. You'd become obese and you'd die. I don't want to feel the guilt for the rest of my life. I might be a webserver, but I'm not heartless. Unlike you after eating all that and suffering a stroke. Your little human body is not made for that. It's a no.
1,000,000,000: Errr, a few franchises?
1,000,000,000,000: You could probably buy all of McDonalds stock for that kind of money.
Oh and apparently you can buy a Sundae for as little as $.999999999999999949.
Damn, I was sure hackers here would test the edge cases, but I thought it would hold! :) What you describe look like a weird behaviour in Ruby's string parsing to int (if I remember my code correctly), but I'll look into it.
switch that to sowhatcouldiget.com, add in taco bell, dominos etc...and it might make you a few hundred bucks a month
Thanks for the feedback!
Props on the project!
Just thought you'd like to know.
Yeah, there are airport locations where, for $5.00, you could get a regular cheeseburger and a medium soda. And you'll even have 45¢ left!