Posts

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

michael, to Laravel
@michael@thms.uk avatar

Been playing around with Laravel Livewire a bit today, and it’s quite cool actually.

Really a powerful way to quickly get an app with interactivity going, if you can’t or don’t want to use a JS framework.

luceos,
@luceos@fosstodon.org avatar

@michael wait until you meet filamentphp :air_quote:

michael,
@michael@thms.uk avatar

@luceos yeah, that seems pretty cool. One step at a time though

michael, to random
@michael@thms.uk avatar

I cannot believe that I’ve just switched the heating back on. This weather is unbelievable! 😩

morph,
@morph@morphnet.de avatar

@michael I did not go that far but I'm wearing a fleece vest.

michael,
@michael@thms.uk avatar

@morph to be fair, if it wasn’t for my wife i probably wouldn’t have switched it on either.

But it’s 14 C! On the last day of May.

The climate in this country is absolutely ridiculous!

michael, to random
@michael@thms.uk avatar

I once again come to the conclusion that I hate gardening.

The fact that the previous owners of this house have planted not one, not two, but three big hedges doesn’t help.

And the fact that I have bad hay fever and an even worse back is the cherry on top …

outofcontrol,
@outofcontrol@phpc.social avatar

@michael Should really have a “Potential Drool” warning on that ;)

michael,
@michael@thms.uk avatar
michael, to Laravel
@michael@thms.uk avatar

So, it really annoyed me that in Laravel 11 you cannot have multiple listeners for the same event in an array like you could in Laravel 10.

It's not like it's a big deal, as it's simple enough to implement, but just seems like a step backwards.

What do you think?

https://blog.thms.uk/2024/05/event-listeners-laravel-11?utm_source=mastodon

#Laravel #PHP

stefanzweifel,
@stefanzweifel@phpc.social avatar

@michael Will replicate this EventServiceProvider in one of our apps, once we start migrating it to Laravel 11.

Not a big fan of the auto-discovery or the new way of registering events.

michael,
@michael@thms.uk avatar

@stefanzweifel yeah, not a big fan of auto discovery either.

It just makes events way too opaque, in my opinion.

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 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!

#married_life #marriage

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

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 random
@michael@thms.uk avatar

Having the air ambulance land in your backyard while having lunch certainly was an experience the kids won’t forget too quickly 😲😁

outofcontrol,
@outofcontrol@phpc.social avatar

@michael Perhaps “they” were coming for you originally? You can never be too careful.

michael,
@michael@thms.uk avatar
michael, to random
@michael@thms.uk avatar

Hm. Since today my sidekiq is full of these errors

HTTP::ConnectionError: failed to connect: Too many open files @ rb_sysopen - /etc/resolv.conf on […]<br></br>

I'm sure I've seen reports on and pointers to fix this before, but can't find it anymore. Can anyone help please?

bergmeister,
@bergmeister@mountains.social avatar

@michael I have had this as well on two occasions. Had to restart sidekiq service to get it flowing again, but did not find out what caused it.

michael,
@michael@thms.uk avatar

@bergmeister thanks for this. Very strange …

michael, to random
@michael@thms.uk avatar

LOOOOOOL. I just I received this email to my personal email address 🤣 🤣 🤣 🤣 🤣 🤣 🤣

michael,
@michael@thms.uk avatar
michael, to AWS
@michael@thms.uk avatar

What on earth?! Amazon S3 charges you for unauthorised requests to S3?!

That's just absolutely insane! I better check my AWS account and delete any unused buckets I have in there …

https://medium.com/@maciej.pocwierz/how-an-empty-s3-bucket-can-make-your-aws-bill-explode-934a383cb8b1

harmonicarichard,
@harmonicarichard@techhub.social avatar

@michael When experimenting with AWS, Azure, and more I always pull down anything after I have completed a tutorial. I don't trust cloud service providers not to charge for something that should not be charged for.

wall_e,
@wall_e@ioc.exchange avatar

@michael also, and I can not stress this enough: don't use real domain names in examples or tests ffs 🫨

michael, to random
@michael@thms.uk avatar

I really do like But I’m concerned that one day - once I’ve fully bought into their ecosystem- the fee plan will come to an end and I’ll have to learn how to deploy a vpn myself 🙈

ted,
@ted@tedcarstensen.social avatar

@michael have you read this from them? https://tailscale.com/blog/free-plan

michael,
@michael@thms.uk avatar

@ted yep

michael, to random
@michael@thms.uk avatar

I foolishly offered to do a presentation at my kids’ career week.

Now I learn that I’ve been allocated a 45 min time slot, and I feel I have no idea what I’m supposed to say for a full 45 minutes! 🙈

paul,
@paul@oldfriends.live avatar

@michael

Ok. I might see a use for aI now.

"Hello, AI. This is your buddy Michael. This is what I do for a living. List items. Now, give me an outline for a fun career workday presentation for ages ____ that is fun and doesn't make me look too nerdy. It is a 45-minute presentation. Opensource images would be nice, too"

LOL

michael,
@michael@thms.uk avatar
michael, (edited ) to apple
@michael@thms.uk avatar

Anyone know what to do here?

I've got an Apple account to purchase hardware for my employer. The employer has recently claimed their domain in the Apple Business Manager portal, and as such when I log in with my work email. I now get the below screen.

I cannot use any other work email address here, as it tells me that I cannot use any of my employer's domains.

I don't want to use my personal email address for work purposes, for obvious reasons.

What's the answer?

[boosts would be very welcome, of course, if you don't know the answer, as the Apple Support is as helpful as a chocolate teapot …]

barbapulpe,
@barbapulpe@gayfr.social avatar

@michael
Yes, I thought so... the whole Apple commercial closed policy appears wrong to me but it's probably not what you want to hear nor does it help you much, it's just why I steer away from any Apple products and services... and happy my employer doesn't force my choice.

I hope someone comes up with a solution for you.

michael,
@michael@thms.uk avatar

@barbapulpe Apple is a joke in many ways. It took us about 1 year to get our ABM account set up. I guess partially because we are (extremely) small fry for them.

Problem is I really like my MacBook, and iOS is, for all its shortcomings - and there are many - still by far the best OS for me …

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