News for hackers. Stuff that matters.
Re:The dumb reason why flag emojis aren't working on your si... by pkasting on Sunday February 02, 2025 @11:57PM (#42915130)
A 1.4MB binary size cost is massive. I'm a chrome developer and our threshold for what you need to explain the cost/benefit of is 16KB.

To me this just isn't worth the cost.

Re:The dumb reason why flag emojis aren't working on your si... by skrebbel on Monday February 03, 2025 @03:54AM (#42916276)
Fwiw just the country flags are 77kb if you use the Twemoji ones like Firefox does. Fancy shiny ones area bit bigger I suspect.
Re:The dumb reason why flag emojis aren't working on your si... by pkasting on Monday February 03, 2025 @08:14AM (#42917880)
Interesting. That's a lot more plausible. Reopened the bug.
Re:The dumb reason why flag emojis aren't working on your si... by skrebbel on Monday February 03, 2025 @09:46AM (#42918677)
Wow cool!

Sidenote, I'm the maintainer of the polyfill for this and its little script that extracts just the country flags from Mozilla's Twemoji font [0]. I'm not an expert by any stretch, but if it's in any way helpful that I chime into that Chromium bug then let me know. I'd love to deprecate the polyfill.

[0] https://github.com/talkjs/country-flag-emoji-polyfill/blob/m...

Re:The dumb reason why flag emojis aren't working on your si... by awiesenhofer on Monday February 03, 2025 @06:10AM (#42917072)
Sorry, but a Chrome developer complaining about 1.4MB being too "massive" is just the funniest thing ever! xD
Re:The dumb reason why flag emojis aren't working on your si... by shultays on Monday February 03, 2025 @11:01AM (#42919525)
google.com homepage

  59 requests 1.2 MB transferred 3.1 MB resources
Re:The dumb reason why flag emojis aren't working on your si... by zamadatix on Monday February 03, 2025 @01:05PM (#42920997)
The entire offline installer of over 15 years worth of features is 120 MB for Windows, it's quite impressive really considering the amount of features that includes. If they took the typical approach of web pages run in Chrome that might be multiple GB by now.
Re:The dumb reason why flag emojis aren't working on your si... by int_19h on Monday February 03, 2025 @04:10PM (#42923184)
But this just means that numerous websites are going to offer different versions of that same 1.4Mb download to make it work for themselves.