News for hackers. Stuff that matters.
Re:Public CDNs Are Useless and Dangerous by lelandfe on Thursday June 09, 2022 @08:51AM (#31680589)
Use font-display, people.

Required reading, “More than you ever wanted to know about font loading on the web”: https://www.industrialempathy.com/posts/high-performance-web...

Edit:

> Developers need to use a system font stack which loads fonts from the system itself instead of remote web fonts

IMO the takeaway is "self-host fonts, make sure they're small files, load early, and don't block render," not "only use native fonts"

Re:Public CDNs Are Useless and Dangerous by TecoAndJix on Thursday June 09, 2022 @09:18AM (#31680797)
I love the progress bar at the top of that page. It is a better gauge of the required time commitment than the "7 minute read" or by glancing at the scrollbar block size, IMO.
Re:Public CDNs Are Useless and Dangerous by bartread on Thursday June 09, 2022 @11:28AM (#31682449)
It is a good idea but not an original one: what it's really doing is reinventing the vertical scrollbar, but placing it horizontally, with a bunch of the functionality missing.
Re:Public CDNs Are Useless and Dangerous by zeta0134 on Thursday June 09, 2022 @11:22AM (#31682356)
I usually use my element blocker to hide these things. They animate while I try to read and it's very distracting.
Re:Public CDNs Are Useless and Dangerous by wwweston on Thursday June 09, 2022 @09:35AM (#31680954)
Which browsing contexts still feature the affordance of scrollbar blocksize? I thought UX as a profession had chosen to totally commit to the sin of removing it.
Re:Public CDNs Are Useless and Dangerous by cylon13 on Thursday June 09, 2022 @11:24AM (#31682388)
Scrollbar blocksize wouldn’t usually be useful for estimating content length anyway because of comment sections.
Re:Public CDNs Are Useless and Dangerous by madeofpalk on Thursday June 09, 2022 @10:55AM (#31681985)
You mean like a constantly visible scroll bar? Like any windows PC? Or Mac if you enable it?
Re:Public CDNs Are Useless and Dangerous by 0des on Thursday June 09, 2022 @10:04AM (#31681265)
UX is not a monolith
Re:Public CDNs Are Useless and Dangerous by Angostura on Thursday June 09, 2022 @11:43AM (#31682627)
Isn't it a shame that OS people have started making scroll bars so hard to see that someone is having to implement a less functional equivalent on-page.
Re:Public CDNs Are Useless and Dangerous by jayd16 on Thursday June 09, 2022 @11:52AM (#31682754)
Well its irrelevant because the progress bar is content only and the scrollbar includes the comment section.
Re:Public CDNs Are Useless and Dangerous by noctis on Friday June 10, 2022 @02:36PM (#31697821)
I suppose you can `.content { overflow-y: scroll }`.
Re:Public CDNs Are Useless and Dangerous by contravariant on Thursday June 09, 2022 @09:49AM (#31681098)
I'm not too fond of it, it's sacrificing 10% of the screen height to show redundant information.
Re:Public CDNs Are Useless and Dangerous by doliveira on Thursday June 09, 2022 @10:35AM (#31681689)
It's not really doing that, it's under the title bar.
Re:Public CDNs Are Useless and Dangerous by midislack on Friday June 10, 2022 @09:48AM (#31694166)
Emacs tells you how far down you are, "3% of 80k" etc.
Re:Public CDNs Are Useless and Dangerous by myrmidon on Thursday June 09, 2022 @09:58AM (#31681197)
It's broken/not working on current Firefox though :(
Re:Public CDNs Are Useless and Dangerous by abirch on Thursday June 09, 2022 @09:13AM (#31680759)
Thank you goodperson!! You made my week!
Re:Public CDNs Are Useless and Dangerous by LoveGracePeace on Thursday June 09, 2022 @09:20AM (#31680818)
Unfortunately the light on dark theme made it hard to read, I could not progress past the first page.
Re:Public CDNs Are Useless and Dangerous by xigoi on Thursday June 09, 2022 @10:59AM (#31682038)
Just use Dark Reader.