News for hackers. Stuff that matters.
Re:Show HN: I made a site that calculates the market price o... by locksley on Thursday January 03, 2013 @11:56AM (#5003242)
I made this in rails over a couple of weekends after learning how to code late last year. The inspiration came from wanting to buy an iPhone 5 from ebay but not knowing what a fair price should be. After a writing a script to calculate this for myself, I thought it could be useful for others too and abstracted it into its current incarnation.

Any feedback would be fantastic, especially on UX!

Re:Show HN: I made a site that calculates the market price o... by byoung2 on Thursday January 03, 2013 @12:08PM (#5003298)
I keep getting an error:

Application Error

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

Re:Show HN: I made a site that calculates the market price o... by locksley on Thursday January 03, 2013 @12:21PM (#5003366)
Sorry! It should be ok now.
Re:Show HN: I made a site that calculates the market price o... by pavel_lishin on Thursday January 03, 2013 @12:53PM (#5003528)
Now it's throwing a 500 error that says: "Sorry, we stuffed up. Please try again."

http://i.imgur.com/zhNDB.png

Re:Show HN: I made a site that calculates the market price o... by GotAnyMegadeth on Thursday January 03, 2013 @12:15PM (#5003336)
same here
Re:Show HN: I made a site that calculates the market price o... by toki5 on Thursday January 03, 2013 @12:31PM (#5003418)
/results?utf8=✓

This made me laugh aloud.

Re:Show HN: I made a site that calculates the market price o... by klous on Thursday January 03, 2013 @12:23PM (#5003376)
Can you dive more into the technical details of this, eg. are you using the ebay API or are you scraping the data?
Re:Show HN: I made a site that calculates the market price o... by locksley on Thursday January 03, 2013 @12:26PM (#5003394)
Yeah sure, it's a scraper. The histogram is then built out of the 200 results retrieved from 'completed listings', minus the ones that weren't sold. The X/Y scatter plot is built from the 200 upcoming results, intended as a way to find good bargains after you know the median/mean price.
Re:Show HN: I made a site that calculates the market price o... by klous on Thursday January 03, 2013 @01:17PM (#5003664)
And the scraper is using a "logged in" ebay account, correct? Because I believe to view completed listings you need to be logged in.
Re:Show HN: I made a site that calculates the market price o... by Pezmc on Thursday January 03, 2013 @12:04PM (#5003283)
Perhaps implement a cache for the results? It already seems to be being hit quite hard!
Re:Show HN: I made a site that calculates the market price o... by bdfh42 on Thursday January 03, 2013 @12:09PM (#5003300)
Sadly just reporting an error when I tried.