Steve Thomas
banner
steve-coding.bsky.social
Steve Thomas
@steve-coding.bsky.social
Building software for business and for fun with Laravel at Coding Labs. Our open source work: https://github.com/codinglabsau
Absolutely. I’ve been at it for 20 years and am filling knowledge gaps on a daily basis with AI.
Its not just the “how” either, but the “why” - so I can be an annoying child asking excessive questions again
April 15, 2025 at 12:50 PM
Of course! Currently marinating whether the things I’ve done to in-app Notifications today was in fact bad
April 1, 2025 at 8:51 AM
Fair enough - I guess the attribute could take an optional name param / set a sensible default? I need to take a look at the source but sounds interesting!
March 30, 2025 at 10:59 AM
I’ve never put a lot of thought into routes, just went with file based routing in codeigniter then laravel routing when I moved over.

Attribute routing makes a heap of sense; I wouldn’t be surprised if this became optional in laravel at some point.

How would you share routes with client-side?
March 30, 2025 at 5:53 AM
Very nice trick! Any thoughts on how you’d update an item in a collection / paginated data?
Would you map over the collection and replace the updated item?
March 26, 2025 at 9:34 AM
I’ve run a small team ranging from 2-10 people for over 10 years - currently at 7 full stack devs (including me).
Definitely very hard to strike the right balance across skill sets and business requirements.
Strong workflow processes and shared responsibility with stakeholders goes a long way.
March 11, 2025 at 12:36 PM
This is smart. Thinking back on tests where I’ve done 3+ ifs on the attributes; assert equals is much cleaner 👌🏻
March 8, 2025 at 10:19 AM
Looks promising 👀
March 5, 2025 at 12:02 PM
Fair point, I haven’t tried the bom app but WillyWeather is pretty good and has push notifications for BoM warnings.
Also just discovered ZoomEarth which has some great visualisations and projections
March 5, 2025 at 7:59 AM
Of course this also requires that every date in the db is UTC and the app is writing UTC dates. Basically everything is UTC except for display purposes 🤝
February 12, 2025 at 9:52 AM
As long as you are casting to a carbon date you can apply any manipulation you need on the app side… +1 for UTC, I’ve never seen a good use case to keep dates in any other tz.
February 12, 2025 at 9:48 AM
yup i'm a bit on the fence as well, love that it is actually possible to do that, but would prefer to have a php class in ./app that can magically wire up to a vue page / component with a composable or something.

Also generating types for autocompletion would be amazing.
February 5, 2025 at 12:15 AM
AFAIK no, but having a standardised “Laravel backed component” approach would be awesome. Watching with interest what @aaronfrancis.com is about to demo
February 4, 2025 at 1:20 PM
import.meta.glob() takes care of discovering all the possible components (for Inertia people, bear in mind Pages are already registered, so don't put the components there).

With the component ready to import, we then simply need to register it with vue.

Example use case: user generated templates
January 27, 2025 at 9:03 AM
We don’t get any meaningful help from authorities, and hacker capabilities are improving at least as fast as our own.

It’s not like the authorities have abandoned us online, they were just never there in the first place.

I’m not sure I even want them to catch up, but better firewalls would be 👌🏻
January 18, 2025 at 11:58 AM
I almost never write tests first, but I do introduce them as early as possible and iterate with them.
Main reason: manual testing is slow and unreliable.

The best time for a test-first approach is when changing something that already exists as you can just write a failing test for the change.
January 14, 2025 at 8:57 PM
I had the same thought… seems like a giant waste of money for a business we have no relationship with. Maybe they think it will keep regional people away from starlink 🤷‍♂️… good luck with that
January 5, 2025 at 6:08 AM
The hardest problem I’ve encountered in livewire is organising complex logic and readily finding where things are happening, especially when state mutates across multiple methods.

I just love invokable controllers that do one thing well.

I’m sure there are many things I could do better in LW.
January 4, 2025 at 7:04 AM