there is only one hard problem in computer science: abstracting the entirety of CSS into HTML classes
14 posts total
there is only one hard problem in computer science: abstracting the entirety of CSS into HTML classes For years there has been a stinky cloud of web performance misinformation and propaganda coming from folks in the React community. So much so that apparently a 57 score on Lighthouse is “fast” (even with 1160ms of TBT and a 5.4s LCP). (There is *some* nuance here, of course—but we haven’t graduated to those discussions yet!) If you too want to pretend that your slow web site is fast, use this handy guide: https://www.zachleat.com/web/lighthouse-deception/ @zachleat thanks for writing this Zach! On a project a while ago we ran into a lot of headaches trying to compare Lighthouse scores over time to track performance changes. Even the difference between running mobile lighthouse tests on a new M1 Macbook and an older Intel-powered Macbook was huge. We ended up having to change our strategy and rely more on tools like webpagetest.org. I wish there was more info out there about how device variability impacts these scores! Absolutely LOVE to see the new `fediverse:creator` tags showing up on shared URLs, providing automated attribution controlled by the source! https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/ Incredible feature. @zachleat looking forward to when I can get it working! I've copied/adapted tags from pages that it worked for (and updated my allowed domains), but no luck. It's not clear from the article whether it's your home server or the server that you view the post on that needs to be on the latest version - but that's my best guess. JSX: yes @zachleat every one of those besides web components (and i guess esm) can go out of fashion and never be thought about again without breaking the web. Web components are calcified how they are forever since they are built in to the platform you can only do additive changes which is why complexity is an issue with them 🤷♀️ independent of my well-being, rest assured that I am doing my best to ensure that your email never finds me #1 superfan of the CSS Anchor Positioning API: https://developer.chrome.com/blog/anchor-positioning-api Used it to implement more accessible heading anchor links on `eleventy-base-blog` using sibling elements without a wrapper element 🏆 You can see it in action here: https://eleventy-base-blog-git-v9-11ty.vercel.app/blog/thirdpost/ (Chrome and Edge support this, falls back to a nested link in other browsers) everybody has a plan until they {get punched in the mouth, scale beyond the host’s free tier} @zachleat I've always hated this. Also it feels like such an allegory of Twitter and Facebook and even The New York Times. It even applies to the advertising model being all fun and games... until it's not. thing becomes popular because it’s free to use ♻️ popular thing goes away because it’s now too expensive to run Today, the good people of the world commemorate the passing of Google Reader eleven short years ago on July 1, 2013. To honor their memory (and in leiu of flowers) please add an RSS, Atom, JSON or equivalent feed to your web site and keep building towards a web that connects people in meaningful and positive ways.
Show previous comments
@zachleat and today people are celebrating the (earlier, 2010) birth of friendica, a fediverse platform that also supports adding rss feeds as contacts (I don't use that feature, rss2email is a better fit for my own lifeflow, but it's nice that the option exists) Framing this Twitter exchange on my wall (sorry for the Twitter link, but it’s worth it https://twitter.com/karrisaarinen/status/1769101933480911033)
Show previous comments
@zachleat This broke my fucking brain. All that to build something that looks like the first web page ever made. 🤦🏻♂️ The table shows how much of the web is being broken with the release of iOS 17.4.
Show previous comments
@zachleat this might actually mean more native apps. less chromium in the background. or more electron So... Not much of the web at all then. Don't get me wrong: Apple are assholes. I find it sad that the whole issue revolves around one of the absolute worst things imaginable: web apps. I keep asking lamenting this one simple question and never get the answer: 1/ A new blog post with some important news about the future of Eleventy @eleventy https://www.zachleat.com/web/eleventy-side-project/ Appreciate y’all ❤️ Oh wow, linking npm packages with specific GitHub source versions—an exciting update 🏆 https://github.blog/2023-04-19-introducing-npm-package-provenance/ |
@zachleat have you tried tailwind?
@zachleat Is this a Tailwind subtoot?
@zachleat We’ll start by creating a system of CSS Custom Properties that allow us to write machine code, and eventually object code and assembly. This foundation weights in at…