Vesa / Merri / メレリ

@MerriNet
221 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.

I like to dig into old games and their files, sometimes try to mod the ones not designed to be modded. Also finally learning Japanese. Yet I do not have any travel plans to Japan.

Homepage + Bloghttps://vesa.piittinen.name
The Settlers II.nethttps://settlers2.net

Vaihteeksi pikseligrafiikkaa.

Return to the Rootsin ideakanavalla nousi esiin että RttR:ään voisi tehdä uuden kansan Settlers 1:n tyylisillä rakennuksilla.

Joten nyt sitten tuhlasin tämmöisen piirtämiseen aikaani: Settlers 2:n viikinkien sahan mittoihin mukailtu hieman Settlers 1:n tyylinen rakennus.

Aina kyllä riittäisi parannettavaa... varsinkin kun teen näitä grafiikkajuttuja aika harvoin. Mutta kai se kelpaa varsinkin kun ei hajua meneekö tämä maaliin asti

#pixelart #settlers2 #settlers1

If you add a bunch of images via CSS content and apply `display: flex; justify-content: space-between;` then Firefox works OK, but Chrome and Safari can't do this. They treat the set of content as if it is just one item.

To workaround you can put `'\0009'` between the images, use `white-space: pre;`, and then calculate some length value to `tab-size` to almost mimic the `space-between` behavior.

#WebDev #CSS

> 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