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.

2024-02-22 12:56:26

My friend Tim is running a workshop. He’s really very smart, has a TON of experience, and he’s entertaining too:

“I'm running a workshop on how to clean a hacked Site, it's on the 21st March and I hope I can tempt you to come! I'm excited, I think I have managed to get the balance between technical and accessible, so that it genuinely is useful to everyone.”

timnash.co.uk/workshop/

2024-02-19 20:02:44

Another week, another single-page web app gets spun up. These are the new domain names. 😂

This one is secret for now. But real fun to make.

Figuring out in-browser background removal with JS/CSS. Plus turning HTML into images to print.

Cool stuff!

2024-02-17 15:06:42

Here it is then: My manifesto for small, static web apps.

If you wish to comment/reply on this, please read the intro on what a manifesto is before you do.

rosswintle.uk/2024/02/a-manife

With that in mind the summary is:

– Static first/only
– No login
– Don't store user data
– Use the smallest JS library possible
– Use web standards as much as possible
– Use simple build steps that won't break
– “Done” is a goal
– Zero-maintenance (and easy maintenance) is a goal
– Don’t minify
– Be accessible

2024-02-17 10:03:15

I try hard not to dunk on WordPress because I still love it, for all its flaws.

But when patterns first arrived I knew it was the wrong model.

And now we’re at what they should have been. But because it’s built on the wrong legacy it’s “Synced Pattern Overrides” 😬

Surely I wasn’t the only one that (fore)saw this?

Anyway, here’s the video…

youtu.be/VGw3aNIwTNw

In the newsletter that linked me to this video I also read:

“Gutenberg meets the needs of fewer than half of respondents”

🧐

2024-02-17 09:55:52

I’m watching Matt Medeiros demonstrate “Synced Pattern Overrides” in WordPress 6.5 and wondering “How on earth did we get here?”

The feature, like the name, is so complicated.

And it’s complicated because the original model of patterns was bad.

Patterns should always have been synced. And they should have been called “Components”, which is what everyone else on the web calls this concept.

They should have default content.

That’s it. That’s all that was needed.

Scrap patterns. Start again.