This is a webmention and syndication test for my new eleventy site.
Posted: by David Peach
Welcome to my new website. Currently being built "in the wild" using 11ty.
I got sick of using WordPress and not having an easy and full control over the entirety of my website. So this new site, at my original domain, is my place to really focus in on learning and sharing the best new features in front end technologies.
I am a backend (PHP) developer by trade, but have always had a cursory interest in front end technologies.
I want to start working on my front end skills too now.
This is a webmention and syndication test for my new eleventy site.
Posted: by David Peach
The ActivityPub plugin for WordPress is incredible.
Posted: by David Peach
Another test for the creating of status posts from the mastodon app to my WP site.
This should not create a post with a title.
Instead, should be a status post.
Posted: by David Peach
This morning i had my last decaffeinated tea bag.
All I have left is Alta Rica coffee. I’ve had half-portions but something tells me that I’m going to be wired for half the day, before having a big caffeine crash.
School boy error.
Posted: by David Peach
Yesterday I gave a family member a lift somewhere.
On the way there, entering a country road I began overtaking the car in front as I was struggling to get the person to their appointment on time.
The road ahead was clear and overtaking was permitted in this particular part of the stretch.
When all of a sudden a white Tesla — of all cars — came around a corner at the far end of the road I was overtaking on.
So i put my foot down as far as I could to finish the manoeuvre.
As I passed the car I was overtaking, the car In front was getting ever closer — not sure if they were speeding but being a Tesla I wouldn’t be too surprised.
I then pulled across as the on coming car flashed it’s lights twice at me “I’m here”. I flashed once back “sorry”.
Of course signalling with your lights is not encouraged and possibly illegal except under very specific circumstances.
Nevertheless we exchanged our vague highway morse code.
At the time it was obvious we weren’t going to impact.
But since then I’ve been stressing about the “What ifs”.
It’s even been running around my head about “What if the other driver reports me with dash camera footage, and I get prosecuted for dangerous driving”.
My mind automatically goes to the worst-case scenario.
Apparently if a letter isn’t received before 14 days has passed since an incident, then no action will be taken.
Thirteen days to go.
Hopefully I can look back on this post in a couple of weeks and laugh at myself.
Either way it gave me a wake up call to be extra mindful. And to not risk it all to save a potential few minutes. Because the trade off could be the rest of mine, and any passengers, days.
Stay safe out there.
Posted: by David Peach
There’s a strange sense of joy and accomplishment that comes after mowing the lawns and thus filling the garden bin.
Knowing that you’ve cleaned the garden somewhat.
And knowing that you’re getting your money’s worth from the garden bin subscription.
Nothing worse than seeing that collection truck go past for another week and having nothing to meet them at the bottom of the drive with. Another few quid wasted (pro-rata).
But not this time. This time I’ll have an almost full bin and I won’t lie — feels pretty good.
Posted: by David Peach
Dark as fuck. And so brilliantly doing a send-up of the modern “subscription culture”.
Both leads were great.
This is the second thing I’ve seen Chris Dowd act in after The I.T. Crowd. So it was a complete departure for me.
And he is incredible in it.
Similarly with Rashida I’ve only seen her in The Office and Parks and Recreation.
She too was great.
They missed a trick in one scene though.
When they thought that his wife’s implant was malfunctioning and they headed to the Rivermind building. They didn’t have Chris Dowd ask “Have you tried turning it off and on again”.
This is the first time in recent memory I’ve needed to watch something light-hearted after seeing an episode of something.
A bleak, subscription-based nightmare.
And I loved it.
Posted: by David Peach
What do hospitals and supermarkets have in common?
Go on – take a moment to think about it.
Got it?
No? Well, I’ll tell you.
Both are places where absolute fucking plebs congregate right outside the front doors, smoking.
Smoking is an individual choice, regardless of how completely dumb it is, but Christ if I don’t wish they would bugger off 100 metres away.
And the complete hypocrisy of a hospital placing one of their smoking areas directly outside their cancer wards. *smh*
Walking through a cloud of nicotine fog is not something I want to be doing.
Go away smokers.
Go away.
Posted: by David Peach
On the whole it was great to see the series back.
I’ve played through part 2, the game on which this series is based, five or six times through. So seeing certain scenes happen in this episode that were towards the end of the game was very strange for me.
But I get it from a storytelling perspective. Games are just completely different beasts to TV shows. Certain reveals and motivations need to be shown earlier.
Dina and Ellie at the Jackson New Years Dance
I just have to mention though. The Jackson dance scene was just incredible. I’m not 100% sure, but it seemed to be a shot for shot remake of the same scene from the game. And it hit just as well.
In fact, dare I say it hit slightly harder — mainly due to Joel seeming to have slightly more of a temper against Seth.
The shots, the dialogue, the chemistry between Dina and Ellie, and the music just fell right into place here.
Beautiful.
I’m looking forward to the rest of the series.
My prediction is that the series will end at the closing of the third day at the pinnacle theatre. It just seems like the most logical place for me for it to cliffhanger.
But who knows what changes they will make.
Posted: by David Peach
“What the hell was I thinking?”; “Huh?”; “Who’s the fucking idiot who did this?.. oh. It was me…”.
Three questions every developer / coder / programmer / whatever-er asks themselves from time to time.
And I am definitely no different.
I built an initial version of a web-based tool for work some time ago. I built it with some speed to get it done as quickly as possible. But I should have taken longer and focused in more on the ongoing code quality.
I wrote tests from the get-go, but I let it slip a little when I would dip back into the project for little updates and tweaks across the last twelve months.
The other day I ran a static analysis tool over the project for the first time.
Christ on a bike.
So for the past day or so I’ve been battling hard to climb up the 9 rung ladder to the highly sought after status of level 9 all green. (Larastan/phpstan this is).
I’m currently on level 7 with about 15 errors to fix.
I have found that from implementing the fixes — many of which have been type hinting and generics-related — I am understanding the code — and the underlying framework Laravel — much better.
I’ve even found a very odd design decision in Laravel. The `auth()->id()` method can return either of the following:
Why not just “int” and “null”?
Anyway.
It’s been fun and I’m looking forward to fighting through level 8 before defeating the final boss — level 9 All Green. 🟩🟩🟩🟩🟩
Posted: by David Peach
You can also find me in these other places: