Earlier quoted context omitted.
Damn, I only just added the reddit check. Looks like I might have to revert that...
Just found the API that reddit uses to check for usernames[1]. I'll be adding it to handlehelp right now. [1]: http://www.reddit.com/api/username_available.json?user=foo
Show HN - usernique.com: Generate usernames and check availability
21–30 of 44 posts
Re: Show HN - usernique.com: Generate usernames and check availability
#22Re: Show HN - usernique.com: Generate usernames and check availability
#23What are you using to determine whether *.io domains are "free" vs "taken"? It seems to be incorrect. http://www.usernique.com/io/x -- "free" http://www.nic.io/cgi-bin/whois?query=x.io -- The domain is unavailable for use.
Re: Show HN - usernique.com: Generate usernames and check availability
#24What are you using to determine whether *.io domains are "free" vs "taken"? It seems to be incorrect. http://www.usernique.com/io/x -- "free" http://www.nic.io/cgi-bin/whois?query=x.io -- The domain is unavailable for use.
just checking the return code on a GET request. src is on github if you're curious. You're right though, looks like the domain lookups need a bit of work.
Re: Show HN - usernique.com: Generate usernames and check availability
#25Re: Show HN - usernique.com: Generate usernames and check availability
#26What are you using to determine whether *.io domains are "free" vs "taken"? It seems to be incorrect. http://www.usernique.com/io/x -- "free" http://www.nic.io/cgi-bin/whois?query=x.io -- The domain is unavailable for use.
Looks like there's some bugs here. Just claimed 'esi' was available on Twitter and GitHub, but it's not.
Edit: Just to be sure, I threw in a breakpoint on line 18 of generate.js, and set name to my username (cbhl) -- and got a false "free" result for both Twitter and GitHub.
The OP might need to be getting OAuth tokens and using the GitHub/Twitter APIs.
Re: Show HN - usernique.com: Generate usernames and check availability
#27Earlier quoted context omitted.
just checking the return code on a GET request. src is on github if you're curious. You're right though, looks like the domain lookups need a bit of work.
You should do a "whois" lookup for the domain. The return code for a 'get' request on the domain has no bearing on its availability -- many parked domains do not even have DNS configured, let alone HTTP.
Re: Show HN - usernique.com: Generate usernames and check availability
#28Earlier quoted context omitted.
just checking the return code on a GET request. src is on github if you're curious. You're right though, looks like the domain lookups need a bit of work.
You should do a "whois" lookup for the domain. The return code for a 'get' request on the domain has no bearing on its availability -- many parked domains do not even have DNS configured, let alone HTTP.
Re: Show HN - usernique.com: Generate usernames and check availability
#29Earlier quoted context omitted.
Looks like there's some bugs here. Just claimed 'esi' was available on Twitter and GitHub, but it's not.
Hmm. Judging from the way the server.js is written, I'd expect he's being rate-limited, and the server returns free whenever the HTTP call doesn't return 200. Edit: Just to be sure, I threw in a breakpoint on line 18 of generate.js, and set name to my username (cbhl) -- and got a false "free" result for both Twitter and GitHub. The OP might need to be getting OAuth tokens and using the GitHub/Twitter APIs.
edit: just realised you meant that twitter/github etc are rate limiting my requests. Bummer.
Re: Show HN - usernique.com: Generate usernames and check availability
#30Earlier quoted context omitted.
Hmm. Judging from the way the server.js is written, I'd expect he's being rate-limited, and the server returns free whenever the HTTP call doesn't return 200. Edit: Just to be sure, I threw in a breakpoint on line 18 of generate.js, and set name to my username (cbhl) -- and got a false "free" result for both Twitter and GitHub. The OP might need to be getting OAuth tokens and using the GitHub/Twitter APIs.
Any tips to sort this out? How are things being rate limited? edit: just realised you meant that twitter/github etc are rate limiting my requests. Bummer.
Not quit the same (a username might be reserved internally), but either way, nobody else can use the name.