4 ms·
Show HN: CraigTrend - graph job data over the last year
http://www.craigtrend.com/
I've been accumulating Craigslist data for the last ~1.3 years and decided to do something with it. What you see is two days of work over Thanksgiving.
Note: I'm using JQuery's $.each() for regex matching the words on the page -- which is expensive and seems to crash chrome+safari (firefox works just fine). If anyone has any insight, or can suggest something quicker let me know.
- carlsednaoui 15y agoFor some reason searching keeps on freezing on Chrome 15.0.874.121
- carlsednaoui 15y agoWorks great in Firefox
- lowglow 15y agoYeah, I don't understand why firefox handles $.each() + regex and chrome+safari choke so badly. The same command in ff takes under a second, meanwhile in chrome+safari it grinds to a halt. I'm puzzled because I thought chrome would be the fastest.
- lowglow 15y agoClickable: http://craigtrend.com/ http://craigtrend.com/ Also, please let me know if you run across any bugs. Thanks. :)
- redgirlsays 15y agoWhat's the most interesting thing you've found with this data?
- lowglow 15y agoDefinitely the graph of "php" "python", it seems python is gaining in popularity. Also the graph of "php" "ruby" -- there are a TON more php jobs than ruby jobs at the moment. "android" "ios" is cool, it seems android is losing market interest, while ios demand is climbing -- although there are more android related jobs at the moment.
- smj2118 15y agoI like underscore.js although I'm not sure if _.each will be faster than jquery or not. http://documentcloud.github.com/underscore/#each http://documentcloud.github.com/underscore/#each I've also heard that the coffeescript implementation of forEach is pretty fast since it uses the old c-style for-loop under the hood.
- lowglow 15y agoAwesome! Thanks. I'll check these out tonight. It might be quicker to have mysql just return matching search results, but I wouldn't want to use LIKE on 1.6M text phrases, so I was hoping to just parse them in the browser, but anything over ~2k entries for regex seems to choke chrome and safari.
- lowglow 15y agoOk. It now works in chrome+safari. I stripped out the client-side processing and now keyword filtering is handled via the back-end. I didn't realize that webkit would choke on what I had intended. Live. Learn.