Live data from Hacker News

Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

pixelambacht.nl

121–130 of 156 posts

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#121
post #90
post #35

Earlier quoted context omitted.

By renaming the CSS file from `font-awesome.min.css` to `fa.min.css` they could save 660GB a day: 73,000,000 sites * 1000 visitors * 10 bytes / 1024^3

A calculator for you, because I'm in pitch-my-side-project mode ;) https://instacalc.com/50060

Oh shit, you're the asshole[1] behind instacalc?

I love instacalc.

[1] I mean that in the most endearing way.

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#122
post #57

Wouldn't the most obvious solution be to open-source FA fonts and include them in Linux, Windows, Mac OS, iOS and Android? If they were installed on all systems then we wouldn't really have this issue at all. Given the ubiquity of some fonts this doesn't seem impossible. Or and sorry to say cause I like FA, screw them and see if Apple/MS/Google can have an open standard icon font that doesn't suck.

They're available under the OFA license. They're already shipped with Linux, eg. here: https://admin.fedoraproject.org/pkgdb/package/rpms/fontaweso...

Yeah, and with the TTF available, readily installable on Windows/Mac OS as well. I used FA in a PPT just the other day.

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#123
post #120
post #90

Earlier quoted context omitted.

A calculator for you, because I'm in pitch-my-side-project mode ;) https://instacalc.com/50060

This is really cool! Bookmarked. :D ps. I can't use any of your examples. I use a portrait orientated screen which causes the examples list to go below the example. Hovering over them causes the example to change, which changes the height of the area, which forces a hover event on another item in the list as it gets pushed up/down which repeats the process until the height is either too short or too tall for me to be…

Great feedback, thanks! The examples should probably load on either hover (preview) or click (load). Currently it takes you off the example list and to a standalone calc, which is confusing. (There are so many usability issues you discover as things get out there.)

Glad you're enjoying betterexplained too ;).

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#124
post #99

Earlier quoted context omitted.

Hah, I just finished a flat redesign from mid-2000s skeuomorphic interface. Redoing the logo / favicons is that last thing...

Too bad you didn't have a legacy "flat design" from the early 90s still at hand, saves time when changing trends every 10-15 years..

Ironically the site design is 90s-browser friendly (maybe with tables vs. divs) but the new JS features are not.

That reminds me, I want to browse the site on lynx and see what happens...

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#125
post #90

Earlier quoted context omitted.

A calculator for you, because I'm in pitch-my-side-project mode ;) https://instacalc.com/50060

Oh shit, you're the asshole[1] behind instacalc? I love instacalc. [1] I mean that in the most endearing way.

Hah, yes, I'm that bad mamma jamma.

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#126
post #35
post #28

Is the 2000TB/day number reasonable, or just clickbait? It's all based on coming up with two numbers that when multiplied say that this resource is downloaded 73 billion times a day. That's 20 times / day for every internet user (even those using it on a 2G connection once a year). Given a reasonable caching period of 1 month, that'd mean the average user visits 600 different sites a month. That seems like much more…

By renaming the CSS file from `font-awesome.min.css` to `fa.min.css` they could save 660GB a day: 73,000,000 sites * 1000 visitors * 10 bytes / 1024^3

skip the `min` for production completely.

use `fa.css` and if you want the expanded one for development, then you could have `fa.[max|debug|whatever].css`

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#127
post #90
post #35

Earlier quoted context omitted.

By renaming the CSS file from `font-awesome.min.css` to `fa.min.css` they could save 660GB a day: 73,000,000 sites * 1000 visitors * 10 bytes / 1024^3

A calculator for you, because I'm in pitch-my-side-project mode ;) https://instacalc.com/50060

Hey, I just wanted to say this is a really cool idea. Thanks for making it and sharing!

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#128

Earlier quoted context omitted.

I don't know where they came up with the 73 million sites umber, but let's assume there are that many sites using font awesome. Most sites are obscure, and rarely get any visitors at all. Maybe 10 a month, or none. Popular sites that receive a lot of traffic are also visited very frequently by the same user, so the font will be in the cache. In addition, plenty of sites use a CDN for fontawesome. I guess that number…

73 million sites comes from our friends at Meanpath (their search engine isn't running anymore, sadly). They showed us on 7.3% of websites. Best guess is there are about a billion sites on the internet. Thus, 73 million.

According to Netcraft [0] there are currently 171,432,273 active websites. However there were 1,436,724,046 host names on the net. A total of 6,225,374 web-facing computers was reported.

Interestingly the number of active sites hasn't materially changed in 5 years, but host names have skyrocketed.

[0] https://news.netcraft.com/archives/category/web-server-surve...

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#129
We are actually in the process of changing our Font Awesome font usage into svg versions of the font (via Icomoon's free converter tool) due to some of our customers blocking web fonts on IE11 via Windows Registry settings, claiming security issues...

But one nice side-effect of changing it to svg versions is that our clients are now loading icons on demand and only the ones being used in the app, as opposed to the whole web font.

Re: Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts

#130
post #90

Earlier quoted context omitted.

A calculator for you, because I'm in pitch-my-side-project mode ;) https://instacalc.com/50060

Hey, I just wanted to say this is a really cool idea. Thanks for making it and sharing!

Glad you liked it!
Post reply on HN