Reading List #46

Hey there

We were up in the mountains this week so I was mostly hiking, relaxing and enjoying some days off in the sun. Also I took some photos of Disentis and its surroundings. It was a very nice week and much needed break and I’m looking forward to get back to work next week.

Frontend Development

😎 Flex-wrap detection

Ahmad Shadeed makes a point about why it could be a good idea to have a way to detect when a box with flex-wrap is actually getting wrapped. Sounds like a good idea.

Ahmad Shadeed – Do we need CSS flex-wrap detection?

πŸ€“ Font Fallbacks

If you load webfonts with font-display: swap; (as you should) your text will be displayed faster, but it can lead to layout shifts when the font is finally being swapped. But there seems to be a way to accommodate for those layout shifts with size-adjust, ascent-override, descent-override, and line-gap-override. Except for Safari, this even seem to be widely supported.

Google Chrome Developers – Improved font fallbacks


WordPress

🩻 Plugin: Block X-ray Attributes

When working with the block editor, it’s often handy to get the attributes of a block. Much like Sal Ferrarello, I landed on Laras page a lot to remember how to get the attributes of the selected block in the console. Sal went on and built this into a plugin that shows the attributes right in the sidebar of the editor, which is pretty handy.

Sal Ferrarello – Block X-ray Attributes Plugin


Other

πŸ“ž Why you shouldn’t trust ChatGPT too much

Another interesting one about AI, or ChatGPT specifically. OpenCage provides a Geolocation API which can turn coordinates to places and vice versa. What it can’t do is a reverse lookup to get a location from a telephone number. Yet ChatGPT recommends them for exactly this purpose, fully with a python script to copy and paste. And because of this, they are getting loads of sign-ups and support requests now, because “It won’t work”. It seems like we all need to learn to be a bit more sceptic when it comes to those AI bot recommendations, and – even more so – AI products like OpenAI or Bing should make it more clear that their output can be complete bogus, especially with products focused on and marketed to everyone.

OpenCage Blog – Don’t believe ChatGPT – we do NOT offer a “phone lookup” service


✌️Cheers

Made with ❀️ in Switzerland