Matthew Setter

@settermjd.bsky.social

I'm an accessible web application developer, educator, author, and podcaster, based in Bundaberg, Australia.

Unable to get the weekly podcast episode out, today, as planned. 😭 Next week, however, a new series titled: "If I was Starting Over as a Web Developer, How Would I Do It?" starts. I'm looking forward to exploring this question over a series of episodes in the podcast and see where it goes.

I've not benchmarked the code, but it was a fun way of performing a case-insensitive way of searching for an array key in PHP, and returning the key's value, if the key was found. Thoughts?

A code snippet using PHP's array_filter and array_first functions to perform a case-insensitive array key search for the key "optouttype". If found, the respective value is returned.

Resterm just keeps getting better! I upgraded from v0.41, earlier today. It's easier to navigate because you can hide/collapse UI elements. It explains the request for you, breaking down what happened. And, it just shows you more of what's going on. Some excellent improvements!

So, it turns out that you can search your shell history even more effectively with basic regexes. 😀 Not sure why I never thought of doing this before, but it makes searching LOADS better.

After working with Rust for some time, the difference between using &str and String finally clicked: - Use &str when you’re reading a string. - Use String when you're manipulating a string.

I get that of all tech writing file formats, Markdown is the most popular. But, that doesn't make it the best choice. There are so many ways in which it could just be, well, better. For example, the ability to restart lists from a given index. Just saying.

It took us a bit longer than expected but after over a month of discussions and rewrites, Composer 2.10 RC2 is now available for testing with a new policy config and detected malware now blocked by default on install. github.com/composer/com... #composerphp #phpc

Release 2.10.0-RC2 · composer/composer

Composer 2.10 is ready for a release, and we need your help to test it and report any regression. Please try it out! Running composer self-update --preview will get you the 2.10.0-RC2 Running comp...

github.com