News for hackers. Stuff that matters.
Re:Ask HN: Review my weekend project GitTwitIt by jmathai on Wednesday October 21, 2009 @11:13AM (#894800)
I wanted to familiarize myself with a nosql database. So I decided to use mongohq which is a hosted mongodb.

This site lets you send Twitter updates when you push to GitHub. GitHub provides similar functionality but it's pretty lame since you have to hand over your creds. OAuth ftw!

Re:Ask HN: Review my weekend project GitTwitIt by chrismear on Wednesday October 21, 2009 @11:24AM (#894825)
OAuth is great, but the app doesn't actually say what it's going to do with my Twitter account. Developers especially are wary of handing over access to their accounts (OAuth or not), so it might be good to summarise what your app will post before making the user authenticate.
Re:Ask HN: Review my weekend project GitTwitIt by isamuel on Wednesday October 21, 2009 @11:34AM (#894844)
Strongly agreed. "First, you'll need to login." Actually, first, I need to be told what this app does.
Re:Ask HN: Review my weekend project GitTwitIt by jmathai on Wednesday October 21, 2009 @12:04PM (#894905)
Haha, point taken. I always error (literally) on the side of conciseness. I'll add more verbage.

I added better messaging and error handling since Twitter seems to be really flakey this morning.

Re:Ask HN: Review my weekend project GitTwitIt by karanbhangui on Wednesday October 21, 2009 @06:03PM (#895743)
*err, not error
Re:Ask HN: Review my weekend project GitTwitIt by jmathai on Wednesday October 21, 2009 @07:27PM (#895874)
I did not know that! Seriously. May I recall all the times I've misused "error".
Re:Ask HN: Review my weekend project GitTwitIt by karanbhangui on Friday October 23, 2009 @04:42PM (#899584)
Yep, you may :D
Re:Ask HN: Review my weekend project GitTwitIt by dualogy on Wednesday October 21, 2009 @07:59PM (#895920)
"verbage" ~= verbiage?
Re:Ask HN: Review my weekend project GitTwitIt by papachito on Wednesday October 21, 2009 @12:22PM (#894951)
Is there a big difference with just using a hook like this one? http://gitorious.org/tweetthegit
Re:Ask HN: Review my weekend project GitTwitIt by jmathai on Wednesday October 21, 2009 @12:39PM (#895007)
Not necessarily. Setting up the hook on GitHub's end lets you not worry about having the proper hook set up on your laptop (I guess).
Re:Ask HN: Review my weekend project GitTwitIt by jmathai on Wednesday October 21, 2009 @12:04PM (#894906)
Thanks, added some more verbage and error handling.
Re:Ask HN: Review my weekend project GitTwitIt by MrMatt on Wednesday October 21, 2009 @12:19PM (#894943)
I think I'm missing something here - doesn't GitHub already support Twitter under their service hooks?
Re:Ask HN: Review my weekend project GitTwitIt by ErrantX on Wednesday October 21, 2009 @12:29PM (#894970)
From below:

> GitHub provides similar functionality but it's pretty lame since you have to hand over your creds. OAuth ftw!

Re:Ask HN: Review my weekend project GitTwitIt by defunkt on Thursday October 22, 2009 @02:18AM (#896294)
GitHub's similar functionality is open source:

https://github.com/pjhyett/github-services/blob/master/servi...

Re:Ask HN: Review my weekend project GitTwitIt by jmathai on Friday October 23, 2009 @04:50AM (#898470)
Re:Ask HN: Review my weekend project GitTwitIt by MicahWedemeyer on Wednesday October 21, 2009 @01:19PM (#895115)
I'd never use it, but kudos for playing with a NoSQL database and making something neat. No better way to learn than by playing like this.
Re:Ask HN: Review my weekend project GitTwitIt by joshfinnie on Wednesday October 21, 2009 @01:07PM (#895069)
I didn't get past the first page (since I can't sign into Twitter @ work), but I have to agree that some explanation of what the service is first would be a huge help for conversion. Also, as a pet-peeve of mine, if you are going to link to CSS and XHTML validation, make sure your website validates (in this case it doesn't).
Re:Ask HN: Review my weekend project GitTwitIt by jmathai on Wednesday October 21, 2009 @01:10PM (#895080)
Heh, the design of the site I got from a decent free template site. I didn't bother to remove (or check for that matter) the validation links. I had assumed they validated :).
Re:Ask HN: Review my weekend project GitTwitIt by joshfinnie on Wednesday October 21, 2009 @01:50PM (#895204)
I have done that before. Not a problem, just something I check when I see it. Like your idea though, definitely will try it out once I get access to Twitter.
Re:Ask HN: Review my weekend project GitTwitIt by diN0bot on Wednesday October 21, 2009 @12:42PM (#895013)
i really just want our dev email list to receive a post whenever someone pushes...
Re:Ask HN: Review my weekend project GitTwitIt by kneath on Wednesday October 21, 2009 @02:01PM (#895228)
You can do that with GitHub already. Just go to the repository -> admin -> service hooks and set up the email one. Here's a pic of the screen: http://share.kyleneath.com/captures/Service_Hooks_for_kneath...