Volume 2: Levenshtein-Distance, Insecure Coding with AI & more
Happy Friday y'all,
I've spent some of this week cleaning up my RSS feed subscriptions and trying to get back into the habit of reading the feeds I'm subscribed to. I'm using Feedly's web interface for now. We'll see how that goes.
Enjoy this week's newsletter!
My Blog
Using the built-in PHP levenshtein function to write a "Did you mean?" suggestion engine https://shawnhooper.ca/2024/01/16/php-levenshtein-function/
AI
Do Users Write More Insecure Code with AI Assistants? This study from Stanford University says Yes! https://arxiv.org/pdf/2211.03622.pdf
Laravel
This is a great write-up on how Laravel's Facades (which seem like magic, but aren't) work: https://blog.oussama-mater.tech/laravel-core-facades/
Newsletters
Molly White wrote a really detailed post on how they migrated their newsletter, Citation Needed, from Substack to Ghost. https://citationneeded.news/substack-to-self-hosted-ghost/?ref=citation-needed-newsletter&attribution_id=659f08beb713080c452feec8&attribution_type=post
PHP
PHP[Tek] 2024 has released their speaker lineup. The conference takes place in Chicago at the end of April. https://tek.phparch.com/schedule
A great write-up of the PHP Standard Recommendations (PSRs) https://www.specbee.com/blogs/introduction-php-standard-recommendation-psr
Social Media
The queer.af Mastodon instance will be shutting down. Why? The Taliban (I'm not joking). Maybe something to consider when you're picking domain names for your site on country-owned TLDs. See their announcement here: https://queer.af/@postmaster/111733741786950083
Funny
From December 2000.