2024-03-05 21:17:28

I wish I had a home office I could retreat to. Our home is modest. Our “office” is the middle room and a thoroughfare. It’s not ideal. But also it’s not quiet.

There’s lots of stuff I would do if I had a decent space.

Perhaps I don’t actually need one though? Am I overthinking? Procrastinating?

2024-03-05 08:30:45

I’ve also got totally addicted to a little mobile strategy game called “Turmoil”. It consumed a whole evening last night. And I’m sure the tiny graphics are ruining my eyes!

2024-03-05 08:29:35

Having heard so much about Brandon Sanderson, I spotted “The Way of Kings” on Kobo for 99p and picked it up. Seems to be quite a tome! Did I do good?

2024-03-05 08:23:14

Laravel 11 releases next week with simplified app structure and config and SQLite support baked in and enabled by default.

Plus there is Laravel Herd: a simple, first-party web server app.

It will be a superb platform for learning about web dev from the ground up.

2024-03-03 13:52:33

My daughter telling me about the song “I don’t like Mondays”

“I don’t like Mondays. And I don’t like ‘I don’t like Mondays’. So I don’t like ‘I don’t like Mondays’ on Mondays”

2024-02-28 23:25:45

Righty. I think I have a nicely working watch script + auto-reloader that doesn't poll.

That was WAY harder than I expected – mostly because of how nginx doesn't put headers on some things.

Need to tidy up and document. But want to get this into my small site template!

Making things simple is complicated!

2024-02-28 09:20:05

So having discovered Live.js and Turbowatch and then deciding to write my own simple file watcher using a shell script and Live.js as a reloader, I wondered… do you need to poll?

WebSockets was an option for sending server-side changes to the browser. But too complex for my needs.

Then I found this ancient Server-Side Events API that's been around since Chrome version 6! And it's PERFECT!

developer.mozilla.org/en-US/do

2024-02-25 23:33:55

Dang it – didn't quite get everything updated. But a @chriscoyier post referenced Turbowatch and Live.js as a simple file watcher/browser reloader combo.

I want something simpler than Turbowatch though, and more modern than Live.js.

Live.js also didn't work with Laravel Valet. 😢

BUT… I got it all working! It's 55 lines of shell script and 10k of modernised JS (uncompressed). I will build it into my small static site template and write up soon!!

😃

2024-02-25 13:01:30

I’ve been thinking a lot about code style recently. Naming conventions. Simple refactors. Stuff like that.

I can’t think of who in is doing this (outside of recommending PHPCS and WPCS).

Am I missing something/someone? Or is this a gap that needs filling?

2024-02-24 09:56:22

I was also discussing sport with a Canadian this week and she told me that because “hockey” means “ice hockey” by default they need a term for hockey-on-grass.

And that term is “floor hockey”

Which for some reason makes me giggle.

2024-02-24 09:54:14

Words that Americans seem to use a lot that I think carry cultural weight that I, as a Brit, don’t understand:

– “compelling” (as in “That’s a compelling tool”)
– “appreciate” (as in “I appreciate you.”)

I wonder what I say that carries cultural weight that my other-side-of-the-pond colleagues don’t understand.

2024-02-24 09:50:37

Today will also require careful management of sugar/caffeine levels. Will be very easy to overdo it.

Yes, I’m middle-aged and these are the things I think about now when I’m socialising. 😂

2024-02-24 09:43:52

I’m travelling to London today to… err… socialise with people in real life?!

Will I remember how?

Tips/advice?

Best worst advice wins.