News for hackers. Stuff that matters.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by koliber on Friday December 09, 2016 @10:19AM (#13139178)
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
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kalid on Friday December 09, 2016 @02:04PM (#13140942)
A calculator for you, because I'm in pitch-my-side-project mode ;)

https://instacalc.com/50060

Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by richfnelson on Friday December 09, 2016 @02:44PM (#13141239)
That's pretty neat idea. The site's missing a cute calculator favicon though, which destroyed my UX.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kalid on Friday December 09, 2016 @02:48PM (#13141264)
Hah, I just finished a flat redesign from mid-2000s skeuomorphic interface. Redoing the logo / favicons is that last thing...
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by dualogy on Friday December 09, 2016 @04:37PM (#13142063)
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..
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by lmm on Saturday December 10, 2016 @04:54AM (#13144926)
That's how you can tell flat isn't just a trend - it's going back to what worked, after years of doing rounded corners and drop shadows because we can and never stopping to wonder whether we should. There's a lost decade in web design, but hopefully we're now starting to recover from it.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kalid on Friday December 09, 2016 @05:12PM (#13142306)
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 F... by kalid on Friday December 09, 2016 @03:15PM (#13141455)
UX is now undestroyed.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by Nadya on Friday December 09, 2016 @04:47PM (#13142131)
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 hovering an item in the list.

Consider making it a .onClick() event after a certain screen size? :)

E: Woah! Just realized you're the same kalid behind betterexplained. Another really awesome resource. :)

Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kalid on Friday December 09, 2016 @05:11PM (#13142298)
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 F... by Avshalom on Friday December 09, 2016 @05:03PM (#13142243)
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 F... by kalid on Friday December 09, 2016 @05:16PM (#13142342)
Hah, yes, I'm that bad mamma jamma.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by Avshalom on Friday December 09, 2016 @07:54PM (#13143276)
seriously, been using it for years, one of my favorite tools P.S. I'm sure you've looked into it but any plans for graphing capabilities?
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kalid on Saturday December 10, 2016 @08:27PM (#13149053)
It's awesome to hear when it's been a long-standing tool in the utility belt. The original version had charts/graphs (simple pie charts, etc.) which I need to bring back, were you considering more Wolfram-Alpha style 3d plots?
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by dcousens on Friday December 09, 2016 @09:16PM (#13143616)
If you moved your scripts to 1st party, uMatrix wouldn't block it
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by therein on Saturday December 10, 2016 @04:15AM (#13144826)
Writing this so that the owner of the site knows it affects more than one person.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kalid on Saturday December 10, 2016 @08:25PM (#13149048)
Thanks for the feedback, I should test with that. I'm curious whether/if CDNs like google-hosted libraries are normally blocked.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by sillysaurus3 on Friday December 09, 2016 @05:26PM (#13142408)
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 F... by kalid on Friday December 09, 2016 @06:40PM (#13142871)
Glad you liked it!
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by timlyo on Saturday December 10, 2016 @08:29AM (#13145552)
On A serious note about the UI though, that red/green colour is awful for colourblind people. Didn't even realise there were two colours at first.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kalid on Saturday December 10, 2016 @08:28PM (#13149060)
Thanks for the feedback. The colors are more syntax highlighting (vs indicating anything important), I'd like to research best practices here. I wonder if there's any client-side settings I can detect to indicate a different stylesheet should load.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by rickycook on Sunday December 11, 2016 @01:05AM (#13149821)
blue is a good option instead of green. same reason some places in the world have blue, rather than green signals for traffic lights afaik :)
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by hoschicz on Saturday December 10, 2016 @01:27PM (#13147040)
How would you work around this? Do browsers have a colorblind mode/header/whatever? Or should we just never use red/green combination?
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kasparsklavins on Saturday December 10, 2016 @09:20AM (#13145733)
I'm sure you mean - those are two different colours. If not, oh boy do I have news for you.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by koliber on Friday December 09, 2016 @04:07PM (#13141859)
I love this!
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kalid on Friday December 09, 2016 @04:32PM (#13142029)
Thanks! I'm trying to make the imgur/pastebin of calcs. Whip something up on a forum (ahem) and share it in seconds. Let people try and share their own scenarios.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by kasparsklavins on Friday December 09, 2016 @10:31AM (#13139248)
`fa` would basically be free for gzip because the icons use fa as a class name.
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by koliber on Friday December 09, 2016 @04:05PM (#13141846)
The savings are actually greater, because by modifying the filename, 660GB would be saved in both, the request and the response!
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by sorahn on Friday December 09, 2016 @05:25PM (#13142397)
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 F... by kalleboo on Saturday December 10, 2016 @02:21AM (#13144519)
Do you even need the ".css"? Just set the proper mime type in the server configuration
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by fukusa on Saturday December 10, 2016 @09:54AM (#13145879)
f
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by rosstex on Saturday December 10, 2016 @08:27PM (#13149057)
This is Web 3.0
Re:Saving the Internet 2000TB a Day: Fixing Font Awesome’s F... by bryanrasmussen on Friday December 09, 2016 @02:54PM (#13141311)
my build task makes sure that every file on my site has only one character in the name!