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-18 08:55:13

US Politics + ā€œOh my eyes!ā€ design.


Even if you thought Trump was a good politician, would you really look at this and think you’d want to spend $400 on them?

Keep scrolling too… there’s a VERY special offer at the bottom.

gettrumpsneakers.com/

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.