Hacker News new | past | comments | ask | show | jobs | submit login
HTTP Cats (http.cat)
96 points by afshinmeh 2 hours ago | hide | past | web | favorite | 23 comments





I feel this is an appropriate place for a shameless plug about my website, http://ipkitten.com. It offers valuable IPv4 information while also offering a kitten GIF. No ads, no tracking; just cats and IP addresses. Zero lines of Javascript.

EDIT: Kitten GIFs are temporarily suspended; the API that I get them from has crashed.

EDIT2: Kitten GIFs have resumed.


It doesn't handle non-US countries particularly well. It found my city, and the post code is close by (2000), but then the query in the Google Maps URL is just "2000". How will that get me here? Maybe add the country code to the Google Maps URL, e.g. "<country code> <post code>"?

Otherwise, appropriate shameless plug. I only mention the above, because I could see myself making use of it.


Please refresh and see what happens.

Thanks for the quick change. That's definitely better.

Unfortunately, most European countries aren't federal states, and so dividing them by "state" (more like region, county, department or province) makes little sense. Although, that being said, I am confident that Google would find "2000 Capital Region" correctly, no matter where I search from. (Can't really test it, since Google is clever enough to base the post code on where I'm searching from.)


I am able to be neither a beggar nor a chooser with the API that I am leveraging to geo-code the IP addresses, because I am not paying for it! Either way, thank you for letting me know about non-US use-cases.

It seems to have been hugged to death (at least for me in Canada)

That's good. I've been using jsonip but I think I'll switch to yours, because it's still nice and minimal! It's good to have the geoip even though it's inaccurate. Right now geoip thinks I'm in Ft Lauderdale when I'm actually in Miami.

Did we break it?

Yes, thank you. EDIT: You broke the place I get the GIFs from, to be precise. The server is fine.

that is an oddly appropriate shameless plug.

> 420 Enhance Your Calm

Ha, no way.

https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Unofficial Codes .... 420 Enhance Your Calm (Twitter) Returned by version 1 of the Twitter Search and Trends API when the client is being rate limited; versions 1.1 and later use the 429 Too Many Requests response code instead.[74]


The .cat domain is restricted to Catalan-speaking stuff, but this site still exists. Well played, Internet. https://en.wikipedia.org/wiki/.cat#Restrictions

Poking around, it has a catalan translation, but not a spanish or french translation. https://http.cat/?lang=cat https://http.cat/?lang=es https://http.cat/?lang=fr

Edit: http://nyan.cat/ has a catalan version too (català). Apparently you've been nyaning is has nyanyejat in catalan:

"HAS NYANYEJAT DURANT 117.6 SEGONS Tweet Your Score"


I use it regularly as a quick way to look up status codes. If some log just shows http 418, typing http.cat/418 is the fastest way I've found to get the corresponding message.

> Resta prohibit explícitament per la ICANN la utilització del domini .cat per a pàgines de gats (cat en anglès), llevat que siguin en català o tinguin a veure amb la cultura catalana.

It's explicitly forbbiden by ICANN the use of .cat domain for pages about cats, unless are in catalan [language] or it has to do with catalan culture.

[1] https://ca.wikipedia.org/wiki/.cat


This really isn't enforced. I have a .cat domain that is simply a picture of my cat and I've never had an issue.

I think if you're running something more high-profile that drives a ton of content, that rule would come into play.


Pointed out by another user, but the site has a Catalan translation

https://http.cat/?lang=cat


Party poopers :-P

It does have a link to the catalan version at the bottom.

(2015) (and apparently the 11th time this is posted)

I got a status 500 error. With no cat :(

Clicked 400 and got 500

Can we have dogs as well?




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: