News for hackers. Stuff that matters.
Re:TrasHTTPandas – Trash Panda HTTP Responses by tusqasi on Saturday November 18, 2023 @01:20AM (#38316119)
Amazing work.
Re:TrasHTTPandas – Trash Panda HTTP Responses by isoprophlex on Saturday November 18, 2023 @01:39AM (#38316222)
TIL there is an unofficial HTTP status code 420, "Enhance your calm"... lol
Re:TrasHTTPandas – Trash Panda HTTP Responses by dspillett on Saturday November 18, 2023 @03:31AM (#38316954)
Introduced by twitter IIRC. When used it generally means you've hit some sort of rate limit. 429 "Too Many Requests" is usually more appropriate.

The code had a previous (now deprecated and possibly no more official when it was in use) hence the gap in the list of official codes.

Re:TrasHTTPandas – Trash Panda HTTP Responses by fuddle on Saturday November 18, 2023 @01:41AM (#38316230)
This is so cool :)
Re:TrasHTTPandas – Trash Panda HTTP Responses by benatkin on Saturday November 18, 2023 @01:44AM (#38316250)
Cute mapaches. I’ll have to keep this handy for International Raccoon Day on April 12.

416 is my favorite so far.

Re:TrasHTTPandas – Trash Panda HTTP Responses by Y_Y on Saturday November 18, 2023 @08:57AM (#38319638)
Mapache Http Server
Re:TrasHTTPandas – Trash Panda HTTP Responses by ergl on Saturday November 18, 2023 @03:37AM (#38317003)
[delayed]
Re:TrasHTTPandas – Trash Panda HTTP Responses by Y_Y on Saturday November 18, 2023 @08:40AM (#38319482)
> El domini .cat està dissenyat específicament per promoure la cultura i la llengua catalana a nivell global.

The domain .cat is designed specifically for the promotion of Catalan language and culture at a global level.

Re:TrasHTTPandas – Trash Panda HTTP Responses by cinntaile on Saturday November 18, 2023 @09:12AM (#38319787)
It's a shame that they are allowed to monopolize a domain extension like this. A more sensible approach would have been to have this requirement for .catalan instead of the generic .cat .
Re:TrasHTTPandas – Trash Panda HTTP Responses by ergl on Saturday November 18, 2023 @09:56AM (#38320302)
The rules are quite loose: as long as you make your content available in catalan, they'll be happy to have your site hosted in the TLD
Re:TrasHTTPandas – Trash Panda HTTP Responses by exikyut on Saturday November 18, 2023 @03:59AM (#38317147)
This is super cute, but unfortunately it's currently both misconfigured and broken. Very easy fixes though.

Firstly, it's eyebrow-raisingly slow. A quick network check shows everything is capped at 100kbps download. For PNG images that translates to a hitch-y 2-3 second pause.

Secondly, the slowness is amplified to the point of "this needs fixing" by the total lack of caching. Everything pauses every time the image loads.

Thirdly,

  $ wget -O- https://httpraccoons.com/jpeg/100 | md5sum
  ...
  Length: 530755 (518K) [image/jpeg]
  ...
  9a7aa269111ca315277bbec79bfab5c1

  $ wget -O- https://httpraccoons.com/100 | md5sum
  ...
  Length: 530755 (518K) [image/png]
  ...
  9a7aa269111ca315277bbec79bfab5c1
It's changing the mimetype but serving the same image!

Critically, besides these issues, this is perfect and fit for purpose :)

Re:TrasHTTPandas – Trash Panda HTTP Responses by hiyer on Saturday November 18, 2023 @05:38AM (#38317877)
The wepb images are smaller and load pretty fast.
Re:TrasHTTPandas – Trash Panda HTTP Responses by mozzyfx on Saturday November 18, 2023 @11:31AM (#38321264)
Hey, creator here! Thanks for the feedback. For the first point, I can't reproduce this slowness. On the third point, and I'm mostly asking for thoughts here: I'm thinking of removing the "false" formats, but I wonder if they come with any upsides?
Re:TrasHTTPandas – Trash Panda HTTP Responses by pfsalter on Saturday November 18, 2023 @05:34AM (#38317851)
Very weird that it's using paths instead of the Accept header to change the content type, but otherwise pretty cool
Re:TrasHTTPandas – Trash Panda HTTP Responses by meatjuice on Saturday November 18, 2023 @06:58AM (#38318501)
The implementations are pretty neat. Especially this one.

https://httpraccoons.com/418

Re:TrasHTTPandas – Trash Panda HTTP Responses by mozzyfx on Saturday November 18, 2023 @07:34AM (#38318841)
This is mine, thanks for sharing! I'm having a look at all the feedback in this thread :)
Re:TrasHTTPandas – Trash Panda HTTP Responses by xwowsersx on Saturday November 18, 2023 @11:19AM (#38321151)