Vesa Piittinen

@MerriNet
219 Followers
52 Following
1.5K Posts

WebDev who occasionally pushes the boundaries. Greatly prefer #HTML and #CSS over JS, but daily work revolves around React so that's awful. Anyway. If some layout trick is possible to do with CSS I will figure out how to do it.
#ActuallyAutistic

I like to develop #WithAstro so I have multiple Astro projects you can spy on over at my GitHub.

Yli 20 vuotta suomalaista Tolkien-nettiä! Lue lisää: https://olifant.fi/@merri

Homepage + Bloghttps://vesa.piittinen.name
The Settlers II.nethttps://settlers2.net
GitHubhttps://github.com/Merri?tab=repositories&q=astro&type=&language=&sort=
Oma Mastodon-instanssi (Finnish)https://olifant.fi

> RESOLVED: make all property descriptors in @property optional

https://github.com/w3c/csswg-drafts/issues/13211#issuecomment-4040028009

[css-properties-values-api] `@property` descriptors should be optional whenever possible · Issue #13211 · w3c/csswg-drafts

@property rules require a syntax and inherits descriptor; if either are missing, the entire rule is invalid and must be ignored. This requirement seems very unlike any other declaration list in CSS...

GitHub
I feel offended when I see values such as 0.3rem, 0.4rem, 0.6rem.

Well. I guess there are about 32 different primary/secondary action button variants available in the #CSS colornames.

This when pairing two colors to light-dark() that are of similar hue.

https://codepen.io/Merri/pen/ogzLbPV

Implementation of button hover & pressed states with percentage based rule in light & dark mode with color-mix and a legacy fallback

...

Do you want to hear a joke?

"Let's just implement design tokens, we don't have time for a design system with all the bells and whistles."

So it's been half a year since I heard that line. If it looks like a design system and if it behaves like a design system then maybe it is a design system.

It is also silly Microsoft has the money to afford hundreds of data centers around the globe, even finding ways to build more by working around regulations (case Netherlands), but can't afford to hire a person to tell if what they're about to release is worthless garbage.
Maybe the product owner asked from Copilot whether the site was OK to be released and it said yes, because of course it does!

We now have 5 million Finns laughing at #Microsoft as they released embarrassingly awful production site for Microsoft Translator.

We have things like godly/overlord cookies, a mobile app that the text implies to be given to us regardless of whether we want it or not, and a mysterious link to "Espoon keskus" (which is a place at Finland) and the link goes to downloads page.

This in addition to horrendous mistakes and anglism-like issues everywhere.

Nothing. Makes. Sense.

"AI"-users are spamming so many shitty PRs that GitHub is considering allowing repository owners to outright disable the pull request system on their repos to prevent low-quality contributions from reaching them.

https://github.com/orgs/community/discussions/185387

#AI #LLM #Copilot #Claude #ChatGPT #GitHub #Microsoft #Microslop

Exploring Solutions to Tackle Low-Quality Contributions on GitHub · community · Discussion #185387

Hey everyone, I wanted to provide an update on a critical issue affecting the open source community: the increasing volume of low-quality contributions that is creating significant operational chal...

GitHub

Also: I think I haven't seen anyone do a tool that would estimate the effect of optimizing CSS size vs. the size of HTML/JS.

You would like to go for a balance instead of focusing in optimizing for just one thing.

(Also, these thoughts are mostly meaningful for larger scale sites.)

With CSS people sometimes suggest going for atomic, or essentially, utility classes. To minimize the size of CSS. At worst meaning each class is one declaration.

However I think this is the wrong place to optimize. While throwing in lots of classes in HTML isn't that bad, it does get bad when your JavaScript also grows as the cost of 1 byte of JS is roughly 100 bytes of HTML/CSS.

If optimizing CSS increases the size of HTML and/or JS, then that is not the optimization to do.