Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

michael, to php
@michael@thms.uk avatar

Got to say: Just been through upgrading an app from 8.1 to 8.3 and it's really nice and painfree.

Very few breaking changes, and the few that are there are stuff that a sensible person would've addressed a long time ago.

Unfortuantely that means that apart from readonly classes, there are also few exciting new things in there. But I guess these also are just point updates after all…

Almost boring 😉 (Not a bad thing! Stability is also nice.)

Crell,
@Crell@phpc.social avatar

@michael As a general rule, "well-behaved" code tends to upgrade very easily and quickly. Code that is not well-behaved... less so.

Mainly that's because older PHP versions allowed all sorts of stupid shit, and the list of allowed stupid shit has been steadily decreasing over the years. The less stupid shit your code does, the easier the upgrade process will be. 🙂

michael,
@michael@thms.uk avatar

@Crell yep I still got scars from when I upgraded my very first ever PHP application from 3 to 5. I was a kid when I started writing that app, so it definitely was full of stupid shit (still is, to be honest: always only ever stuck on band aids - the full rewrite is finally planned for later this year), so the upgrade was beyond hard.

But yeah, since then I’ve learned how to code properly (I think) so upgrades tend to be a lot simpler.

That first experience traumatised me for life though, so I’m still always scared when I start …

michael, to random
@michael@thms.uk avatar

I've been getting this popup in my for the last couple of days.

Obviosuly I know why this is happening (NextDNS blocking the request) but I can't see any other info, such as which component is making that call, which URL is actually being requested etc.

Nor is there a way to stop this (clicking 'Reject' just makes the thing pop back up a few seconds later).

Anyone got any advice?

Thanks

michael, to random
@michael@thms.uk avatar

🤔 don’t drink that early in the morning, Duo!

michael, to Marriage
@michael@thms.uk avatar

One of the hardest parts of being married is when the OH wakes you up in the middle of the night because she ‘heard something downstairs’ and is now convinced there’s someone in the house.

Spoiler alert: there never is!

michael,
@michael@thms.uk avatar

The worst part though is that after you have checked the house, and inevitably found that there is of course no intruder (I’m genuinely not sure what I’d do if there ever was one, by the way. I’m no American, so there are no weapons in the house 🤷‍♂️) your body involuntarily goes on high alert, and for the next half hour every tiny sounds sends the adrenaline rushing, preventing me from falling asleep again, despite knowing full well that there is still no intruder 🙄🙄🙄

michael, to wordpress
@michael@thms.uk avatar

Question here: I've got to build a theme. Our in house designer designed it. I already have a multi-site wordpress install that I would like to add this new blog to.

Whilst budget is of course a factor, quality is more imporant to us, as we hope to maintain this in-house going forwards. (We have php devs in house, but noone with real wordpress experience.)

What's the best way of finding a WordPress dev for this sort of one-off project?

michael, to random
@michael@thms.uk avatar

Oh dear! I'm in trouble 🤣

michael, to random
@michael@thms.uk avatar

It's about time!

now just another 10 years until they actually do it 🙄

michael,
@michael@thms.uk avatar

@Jbasoo Yeah, thankfully we are so far OK with FTTC, so I have been able to avoid Virgin so far ...

But over the next 1-5 years I imagine the kids will be starting to be stream and/or game a lot more, and that's where I think we'll need extra capacity …

Jbasoo,
@Jbasoo@mastodon.social avatar

@michael Yeah if you can get away with lower speeds it's not too bad. With my wife and I working remotely we need faster speeds than the alternatives provide, which means I need to keep negotiating on renewal (which I hate doing)

michael, to random
@michael@thms.uk avatar

That feeling when your MD thinks you are no longer using a domain so lets it lapse to save a few quid…

Spoiler alert: we were still using it 😬

michael, to Russia
@michael@thms.uk avatar

https://apple.news/AMuHZ8XWiQ8a0MX65qsIwdA

Looks like might be performing a update …

michael, to infosec
@michael@thms.uk avatar

Seriously Apple? Seriously? and then we are surprised people fall for phishing scams despite 2FA 🤦‍♂️

michael, to infosec
@michael@thms.uk avatar

Remember guys: hosting in the cloud doesn’t mean you don’t need backups: always have backups that are stored with an independent third party!

https://www.datacenterdynamics.com/en/news/unisuper-private-cloud-outage-caused-by-google-cloud-issues/

michael, to random
@michael@thms.uk avatar

For those interested: here are just some of the reasons why Arabic is such a difficult language to learn:

https://blog.duolingo.com/what-makes-arabic-hard-and-why-that-shouldnt-stop-you-from-learning-it/

michael, to random
@michael@thms.uk avatar

The more I’m trying to learn Arabic the more I’m becoming convinced that whoever came up with that script, did so with the express intention to mock learners.

How else can you explain that ج ح and خ all make very different sounds, whilst the sounds for ث and ط are essentially indistinguishable 🙄

michael,
@michael@thms.uk avatar

@skribe Many different written systems as well. For example in Egypt you have at least the following:

Religious/old Arabic as used in both mosque and Church settings (I don't even know whether these are both using the same language, but I doubt it)

Formal Arabic as used in the news, courts, etc.

Informal Arabic as used in every day settings (and which of course has lots of different dialects - Egypt is large country [though maybe not so large when compared to Australia 😆]).

Each of these have their own grammar and vocabulary. And there'll definitely be people in Egypt who’ll only be able to understand 1 or 2 of these (especially because illeteracy is actually still quite common, so lots of Egyptians really only know informal Arabic).

@loke

michael,
@michael@thms.uk avatar

@skribe When you are trying to learn it, it's far less fun 🤣 @loke

michael, to Laravel
@michael@thms.uk avatar

Oh wow. That’s quite the revelation!

I’ve just spent quite way too much time scratching my head today thinking ‘I swear doing request()->route('param') used to get me the full model. Why is it only getting me a string now?!

Thanks @jclermont

#laravel https://phpc.social/@jclermont/112377153052040020

michael, to random
@michael@thms.uk avatar

My lovely Egyptian wife just told me that she doesn’t want to go for a walk, because - and I quote - “it might be too hot” 😲🙈😂

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • thenastyranch
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • InstantRegret
  • Youngstown
  • vwfavf
  • slotface
  • everett
  • osvaldo12
  • kavyap
  • anitta
  • khanakhh
  • tester
  • Durango
  • tacticalgear
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • cubers
  • normalnudes
  • modclub
  • provamag3
  • Leos
  • JUstTest
  • All magazines