Better HN
topnewbestaskshowjobs
Log inSign up

csswizardry

913 karma · joined Apr 26, 2011 (15y ago) · 156 submissions

* Consultant Web Performance Engineer * Google Developer Expert * csswizardry.com * @csswizardry

![](https://csswizardry.com/img/css/masthead-small.jpg_ — csswizardry.at.hn

--- meet.hn/city/gb-Leeds

Socials: - csswizardry.at.hn - bsky.app/profile/csswizardry.com - github.com/csswizardry - instagram.com/csswizardry - linkedin.com/in/csswizardry - csswizardry.com - x.com/csswizardry ---

Submissions

comment 6y ago · link · parent

Thanks! Though GTMetrix hasn’t been considered a reliable or relevant tool for a while now, unfortunately.

comment 6y ago · link · parent

OP here. Inlining CSS won’t work as the request is UA-sniffed.

comment 7y ago · link · parent

OP here. My beef wasn’t and isn’t with the ads or monetisation: it’s with the engineering decision to bury the product’s primary content in a 1.2MB JS application. The image itself just needs to be an `IMG` element in a server rendered page—ads, tracking, comments, upvotes, etc. can and should be all loaded as secondary content.

My beef is with a ‘mobile-optimised’ image hosting platform taking over 40s to display an image on mobile.

comment 7y ago · link · parent

My pals cracked this one back in June! https://parall.ax/blog/view/3301/boris-johnson-the-unlikely-...

comment 7y ago · link · parent

I’m a proud Loiner.

comment 7y ago · link · parent

Ohh wow. That’s night and day. Thanks for the feedback. I’m on it.

comment 7y ago · link · parent

It’s all paranoia all the way down, I’m sure. There can be no other explanation for such convoluted implementations.

That said, I do sympathise. If your entire business/career/life is fonts, and all of a sudden they’re one ‘right click » Save as…’ away, I’d be panicking, too.

comment 7y ago · link · parent

You’re not the first person to mention this—I’m sorry. Does font-weight: 400; on the body copy help? (Sorry to make you do the legwork but for me the type is perfectly legible as it is, so I need someone else to verify.)

comment 7y ago · link · parent

Neat, huh? :D

comment 7y ago · link · parent

Thanks, Harry!

comment 7y ago · link · parent

s/acceptable/an enormous improvement

From the article, wihch presumably you read:

> Yes, we do have a FOFT, but we are getting text in front of the reader much, much sooner—this is an enormous improvement.

Emphasis mine.

comment 7y ago · link · parent

~~Hey! OP here. I’m currently sat on a flight so I’ll try my best to push it back live. N.B. At some point, my client will de-whitelist my csswizardry.dev domain from their Cloud.typography account and these demos will stop working.~~

UPDATE: I’ve had to go the opposite way and pull the whole lot. It outs my client and I really don’t want their name against anything. Email me and I’ll fire you a private demo.

73.

Making Cloud.typography Faster(csswizardry.com ↗)

79 points · by csswizardry · 7y ago · 21 comments

comment 7y ago · link · parent

Hah. This is the only company that has ever f—ked me over. I’m a self-employed consultant who flew out to SF to work with them and was told the gig was off the working-day before we were set to begin. My lawyer said I absolutely had a case but I’d need to be prepared to open an international lawsuit against them (I’m UK-based) and I just couldn’t muster the effort. They got away with it.

They also quite cheerfully asked me ‘Hey! Next time you’re in the area we’d love to look at working together?’ Classy.

comment 7y ago · link · parent

I had this exact thing happen to me: https://mobile.twitter.com/csswizardry/status/10812788212806...

Verdict: we need to do better.

76.

Airplanes and Ashtrays(csswizardry.com ↗)

1 points · by csswizardry · 9y ago · discuss

comment 9y ago · link · parent

You can pretty-print the file through the Sources panel.

78.

Refactoring Tunnels(csswizardry.com ↗)

1 points · by csswizardry · 9y ago · discuss

comment 9y ago · link · parent

Had someone on Twitter suggest `git who` which I think also strikes a great balance.

comment 9y ago · link · parent

OP here.

> That is actually an SVNism.

Yep. From the article:

> Taking the lead from SVN, I alias praise onto blame…

:)

comment 9y ago · link · parent

Hey! OP here.

> Are we really that afraid of hurting someone’s feelings…

I don’t do it to save peoples’ feelings: I do it because there are two separate use cases for determining the author of something—sometimes I really do not want to blame[1] someone.

1. blame — verb: feel or declare that (someone or something) is responsible for a fault or wrong.

82.

Little Things I Like to Do with Git(csswizardry.com ↗)

656 points · by csswizardry · 9y ago · 103 comments

comment 9y ago · link · parent

The UK’s second biggest district by population[1], Leeds is also home to the world’s first ever moving image[2]!

1. http://www.bbc.co.uk/news/entertainment-arts-33198686

2. https://en.m.wikipedia.org/wiki/List_of_English_districts_by...

comment 9y ago · link · parent

LBA: Leeds Bradford, UK

85.

Ask HN: Where do you live?

4 points · by csswizardry · 9y ago · 12 comments

comment 9y ago · link · parent

HTTP/2 is allowed to work over insecure connections as per the spec, but all browser vendors have decided that their browsers will not support unencrypted H/2 (no browser at all currently allows H/2 over HTTP). This means that in theory H/2 can run insecurely, but in practice it cannot.

https://http2.github.io/faq/#does-http2-require-encryption

comment 9y ago · link · parent

My best friend @wengerstoybus[1] made this! Fun fact, he actually manually illustrated each animal in Illustrator, and then exported them to images that he loaded up in the browser. He then wrote some really quick ’n dirty JS so that he could click each of the points in the image, and he’d get their coordinates fed back to him once he’d completed a whole shape. He could then just plug these coords into the CSS etc voila!

1. https://twitter.com/wengerstoybus

comment 9y ago · link · parent

This literally just turned on for me seconds ago. I noticed it because nearly all of my Notifications timeline now lacks clear context.

comment 9y ago · link · parent

Related: https://twitter.com/csswizardry/status/843040649666596865

comment 9y ago · link · parent

I had quite an insightful conversation with a Nepalese developer on Twitter recently: https://twitter.com/csswizardry/status/832903820539748352
123456