WWW posts page 2

CSS wishes: add to existing rules

Some months ago, I wrote a 2023 CSS wishlist for things I’d like to see in the spec. Among them was the desire to be able to add to existing CSS values. This would be particularly useful for multi-value properties like transition and transform, although it would also be cool to be able to add to existing numeric values, like 2em more padding than this would otherwise have. There would be difficulties implementing this as described in that post though. I’ve thought of some other possible options that may be less problematic.

Continue reading post "CSS wishes: add to existing rules"

Inline emoji favicon

On a simple one-page site, I wanted as much as possible to be inline in the single document request. I didn’t have a favicon, and I didn’t want browsers to make that extra request. I considered just adding an empty file, as I’ve done sometimes in the past, but that would still be an extra request. So I looked up if it could be inlined. It can be done, with a data URL. And using an SVG format, an emoji can be used for a cheap actual icon.

Continue reading post "Inline emoji favicon"

Goodbye Dreamhost, hello Digital Ocean

My server, and with it my blog, a client site, and other web properties, was down for four days. I put in a support ticket and didn’t get a response until the fourth day. I’ve been with Dreamhost since 2009, and using DreamCompute since 2017, but I don’t think the product gets nearly the focus that their shared / managed stuff does. I use Digital Ocean at work, and it has been a much more polished and solid product for unmanaged VPS. That is where my site is now hosted.

Continue reading post "Goodbye Dreamhost, hello Digital Ocean"

Upgraded Symfony 4.4 to 5.4

I’ve upgraded my website to Symfony 5.4 from 4.4. I’ve continued on without Symfony Flex, as I had when updating from 3.4 to 4.4. The procedure was fairly similar to that, fixing any Symfony 4 deprecations and then updating the composer version constraints, fixing anything broken after that. I also switched from requiring the symfony/symfony repo to requiring individual components. It went fairly smoothly, aside from needing to fix a few things after the composer update.

Continue reading post "Upgraded Symfony 4.4 to 5.4"