Live data from Hacker News

HN: Please replace grayarrow.gif with Unicode character ▲

news.ycombinator.com

181–190 of 190 posts

Re: HN: Please replace grayarrow.gif with Unicode character ▲

#181
post #139

Earlier quoted context omitted.

I think that downvotes are also disabled for old comments

I think that downvotes are also disabled for old comments Downvotes are disabled for any comment more than 24 hours old, but upvotes are still allowed after more than a day. Emphasize the positive.

[deleted]

Re: HN: Please replace grayarrow.gif with Unicode character ▲

#182
post #139

Earlier quoted context omitted.

I think that downvotes are also disabled for old comments

I think that downvotes are also disabled for old comments Downvotes are disabled for any comment more than 24 hours old, but upvotes are still allowed after more than a day. Emphasize the positive.

[deleted]

Re: HN: Please replace grayarrow.gif with Unicode character ▲

#183
post #3

Very good proposal. There are more unicode symbols to choice from: http://www.alanwood.net/unicode/geometric_shapes.html Down arrow/triangle: ▼ It is not only matter of resolution but I personally like bigger fonts and have zoomed in HN so triangles look bad: http://i.imgur.com/fpA7N.png

How does simple zooming produce that horribly mangled graphic on the left of that screenshot? That seems like a deficiency in your browser.

Re: HN: Please replace grayarrow.gif with Unicode character ▲

#184
post #20

Earlier quoted context omitted.

The image is only loaded once and does not block anything (in fact it's loaded in parallel with — and the same size as — the orange Y logo at the top-left, and the tracking gif). Furthermore the images on YC have extremely low dynamicity and size, so there's little chance they'll be evicted from the browser's cache (short of a manual cache clear), so their 100 bytes will only be loaded once the first time ever you vi…

The image is only downloaded once, but each page you load re-requests it. If your account has enough karma to downvote posts, you're requesting two array gifs per page view. There's no Expires header being set, so your browser is not caching these images. A full roundtrip to the HN server to get back the "content hasn't changed" status code (304) is required for each.

If you are really worried about performance (and the operators of of this forum should be) then there are more important things that need to be fixed besides just adding caching headers to an images (which is still a good idea). https://developers.google.com/speed/pagespeed/insights#url=h...

Re: HN: Please replace grayarrow.gif with Unicode character ▲

#185
post #183
post #3

Very good proposal. There are more unicode symbols to choice from: http://www.alanwood.net/unicode/geometric_shapes.html Down arrow/triangle: ▼ It is not only matter of resolution but I personally like bigger fonts and have zoomed in HN so triangles look bad: http://i.imgur.com/fpA7N.png

How does simple zooming produce that horribly mangled graphic on the left of that screenshot? That seems like a deficiency in your browser.

It's because the GIF arrow is anti-aliased. You always want to anti-alias after sizing, lest it look like that, but you can't do that in a bitmapped image.

Re: HN: Please replace grayarrow.gif with Unicode character ▲

#187

Earlier quoted context omitted.

There are a few Chrome plugins to improve the readability of HN. I personally use Georgify: https://chrome.google.com/webstore/detail/ofjfdfaleomlfanfeh...

+1000 for Georgify chrome plugin!

I just tried it out. This font is... massive! It's pretty to look at, but tough to quickly parse, IMHO. I think I prefer HN's micro font.

Also, the margins are way too big for my taste. I feel like 1/2 of the screen is unused white space. Is there any way to tweak it?

Re: HN: Please replace grayarrow.gif with Unicode character ▲

#189
post #183

Earlier quoted context omitted.

How does simple zooming produce that horribly mangled graphic on the left of that screenshot? That seems like a deficiency in your browser.

It's because the GIF arrow is anti-aliased. You always want to anti-alias after sizing, lest it look like that, but you can't do that in a bitmapped image.

I don't think anti-aliasing is the explanation. I had a look at the GIF zoomed up in Paint.NET and there's nothing unusual about it, just the gray triangle with some lighter-shade pixels around the edges. I think the browser has a flaw when enlarging images with transparency - eliminating the transparency around the arrow would probably fix everything.

Re: HN: Please replace grayarrow.gif with Unicode character ▲

#190
post #123
post #39

Earlier quoted context omitted.

I also zoom in to 125%, not sure if it's just me, but for a textual site the default font size seems too small. Maybe my eyes are just giving up. Out of curiosity, I was wondering why the triangle wasn't a CSS triangle.. wouldn't that be more efficient than a gif?

The GIF is 111 bytes. A CSS triangle might be smaller, but it's probably not much of a win.

While 111 bytes is small, it is actually 111 bytes + size of the image HTML tag (82 bytes) = 193. When I checked (at 08:08 PST on Friday) there were 163 instances of the image tag in the code. That means that the way it is today 11 bytes the first time and 13,366 (82 * 163) bytes of extra HTML every time. If we changed it to the unicode character if would be 163 * 2 (2 bytes for the unicode character) which is 326. 326 is way less than the 13,366 bytes currently being served.
Post reply on HN