@michael@thms.uk
@michael@thms.uk avatar

michael

@michael@thms.uk

Full stack web developer currently working mostly with #PHP / #Laravel, Vanilla #Javascript and #SCSS. Love learning more about (almost) anything, but particularly #MySQL and #InfoSec. Currently learning Arabic. Husband, father of two boys, Christian.

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.)

michael,
@michael@thms.uk avatar

@joby yep. I’ve also done another site recently from 7.x to 8.1 that was originally built in 3.x.

Similarly painless. But, to be fair, that one is a far simpler site!

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 🤣

stefan, to mastodon
@stefan@stefanbohacek.online avatar

Between setting up DigitalOcean Spaces [1] for uploaded media and enabling @michael's FediFetcher [2], my experience on a one-person self-hosted Mastodon instance has been greatly improved.

1: https://www.digitalocean.com/products/spaces
2: https://github.com/nanos/FediFetcher

michael,
@michael@thms.uk avatar

@gunchleoc i love the idea and principle behind substitoot! Unfortunately, because I use mastodon almost exclusively through an app, it is not an option for me.

I wish mastodon would do what substitoot does natively!

@stefan

michael,
@michael@thms.uk avatar

@stefan @gunchleoc unfortunately I don’t think this will happen. Last time it was brought up on GitHub it was roundly rejected, and there is no sign of them reconsidering it.

(Although to be fair they have reconsidered things they were vehemently against in the past, so I wouldn’t rule it out. But it doesn’t appear likely. At least not any time soon)

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 …

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 It is worth saying though, that as far as I understand (and I'm far from a linguist) the different variants of Arabic are much more than just dialects, and most people considere these actually different languages. My wife for example, would actually struggle having a proper conversation with someone from Syria, or Morocco (to pick just two of the dozen or so other Arabic languages), as they'd use different vocabulary and grammar. It's a mine field, and part of the reason why I've put off learning it for so very long. @loke

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

jan, to mastodon
@jan@kcore.org avatar

Yeah, I'd call this a problem somewhere. open files of the mastodon user, which just runs mastodon.

michael,
@michael@thms.uk avatar

@jan @derek @haploc

I’ve been restarting my sidekiq on a daily basis pretty much since day 1 anyway, because there used to be a memory leak somewhere (I have no idea whether that’s still the case, but never bothered to retest), and yet appear to have been affected by this.

However it has to my knowledge only happened once to me, during a period of network connectivity problems, so maybe that’s related? Very hard to tell, of course

michael,
@michael@thms.uk avatar

@jan @paul @derek @haploc

Yes, I also am using B2. No idea if there’s a connection. Could be coincidence too, I suppose.

michael,
@michael@thms.uk avatar

@mick
Thanks for this. Very helpful!
@jan @paul @derek @haploc

michael, to random
@michael@thms.uk avatar

One of the things that really annoys me about my single user instance, is that I'm often missing replies to posts from other servers.

Over the weekend, I saw @abnv 's post where he introduced a python script to pull in these replies.

I've made that into a GitHub Action, and added the functionality to pull through even more replies (and added loads of exception handing):

https://blog.thms.uk/2023/03/pull-missing-responses-into-mastodon?utm_source=mastodon

Been running it for a day, and I'm now getting almost all replies to everything that's in my home timeline, which is a game changer.

michael,
@michael@thms.uk avatar

@anchal @abnv I’m not very familiar with other projects, but afaik several of them also suffer of this to varying degrees

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