Profile avatar
tim.macdonald.au
Doggos, hypermedia, and core team at Laravel https://tim.macdonald.au
56 posts 1,599 followers 239 following
Regular Contributor
Active Commenter

“Because of their excessive reverence for omens, they let the words of others guide them rather than their own intuition, and they creep down alleyways picking up advice from other people’s remarks, thinking with their ears, so to speak, not with their brains.”

Respect to @tim.macdonald.au and the Laravel community for understanding the decision to release breaking changes in a patch and gracefully handling the disruption to their users. And shoutout to other maintainers in the ecosystem for helping their users upgrade and stay safe.

I just published my 27th post. A bit personal and vulnerable, and I really wonder how I'm going to feel about it in the morning, but for now - here it is: www.zuzana-k.com/articles/som...

Wanna make Slack better? Settings: 1. Appearance > Font = Robot Mono 2. Messages > Theme =Compact 3. Messages > Names = Just display names 4. Messages > Additional options: uncheck “Display information about who is currently typing a message” Give it a week. I don’t even hate Slack anymore.

🍭 Refactoring a callback to a first-class callable? Heck yea. But also… You might be subtly changing behaviour by implicitly passing additional arguments, especially with collection pipelines.

Learnt something new about Laravel today. I always thought Laravel’s `$fallback` value kicked in when a retrieved value was either missing OR `null`. I always thought these two approaches were equivalent. Always learning.

A pattern I’ve been enjoying recently is extracting binding callbacks from Laravel service providers into smaller dedicated factory classes and then replacing the anonymous closure with the factories invoke method. Just want the container to accept `callable` rather requiring `Closure`.

One of the APIs I'm most happy with is in [Gretel](github.com/glhd/gretel) — defining breadcrumbs right next to your routes is *so nice.* Adding a route? Just chain the breadcrumb on. Removing one? Just remove the whole block, and the breadcrumb config is gone, too!

Starting the week with a keycap refresh 💅