Hacker News new | ask | show | jobs
by randomwalker 6391 days ago
This showed up: "Homemade migas this morning; cold brewed coffee & client work the rest of the day"

How about you match only if at least two words are weather-related? Or at least 1 weather related + 1 location related, like "cold in new york."

2 comments

Thanks! Yea it's definitely imperfect, but I'm limited by the functionality of the twitter search api, what i have been doing and what I can improve on is filtering out of common terms that involve weather related words, so for instance "ice cream", or in your case "cold brewed", which I am about to add to the exclusion list. granted this whole app has only about 15 hours of dev in it, so such a list is going to be FAR from perfect.
Ok. BTW, why are you using the twitter search API instead of Gnip?
I definitely plan on switching to gnip. As i said, tweetweather is just something I put together after work the past week, grabbing from the search api was the quick and easy solution to getting tweets into the system.

Gnip rocks.

Can you explain how you'd use Gnip in this instance? From reading the API docs, it doesn't sound like you can do anything with Gnip + Twitter other than get tweets from / to a particular Twitter user. So you can't get keyword-filtered results from the public timeline, I don't think. Am I missing it?
You're 100% correct. But I'm hoping they'll add the ability to use filters on the whole firehose in the near future.
I concur. There is definitely some room for improvement on the word filtering.

I'm at Pac Sun (205 W Blackstock Rd # 210, Spartanburg, SC)

Otherwise, I think this is an awesome idea. Keep it up.