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

fj, (edited ) to random
@fj@mastodon.social avatar

Today the Swiss Army is landing the FA-18 fighter jets on the highways. It's an exercise to train the pilots at landing on "decentralized" infrastructure in case of degraded airbases.
#AlphaUno

fj, (edited )
@fj@mastodon.social avatar

And of course, the Swiss Army wouldn't land a fighter jet on the highway without paying for the highway tax sticker
#vignette #AlphaUno

fabio, to threads
@fabio@manganiello.social avatar

It’s been almost 3 months since joined the Fediverse family. A quick overview of what changed since then:

  1. The hordes of Nazi/homophobic users from the outside world into our safe islands are nowhere to be seen. I was insulted multiple times a couple of months ago, along the lines of “if you don’t proactively defederate Threads then you’re an asshole who does nothing to protect the marginalized minorities on the Fediverse from the outside world!“. Well, guess what, it turns out that not everyone outside of our comfort zone is a pathological jerk craving for psychological abuse. It turns out that the minorities police over-reacted. And it turns out that the whole Fedipact thingy was probably collective hysteria.
  2. The Threads-Fedi sync is still an opt-in feature, and only available to accounts in selected countries. And posting responses from the Fediverse to a Threads post isn’t supported yet. I’m not sure if they are ever going to change that, but given the lack of announcements in these months I’m wondering if anybody at Meta is even bothering to work on this integration, or if it was just about another loud announcement for what was a time-bound experiment with no follow-ups.
  3. Threads itself, after reaping the initial novelty benefits, is losing momentum. No E-E-E on the horizon for now.

Result: I added a couple of Threads accounts to my list, I see their content on my timeline every now and then as if they were just another Fediverse instance (but one that I can’t directly interact with), end of the story.

stephaniewalter, to random
@stephaniewalter@front-end.social avatar

I agree with Dan Mall here: if you want something from me, if you make me guess what it is, there’s a higher chance I will say no, just, because we all have tones of things to think about. Make it easier for people to say yes to you, by asking direct questions, and being very specific.

https://danmall.com/posts/ask/

louis, to random
@louis@emacs.ch avatar

The Mastodon developers started to implement telemetry for everything you search for: Posts, Accounts, Tags

https://github.com/glitch-soc/mastodon/commit/acc77c3836974473e7c6a423cbd1138479ae197a

I'm not so sure if I like what I see in this commit. But we all knew it would be coming eventually.

So important that we build Mastodon-compatible server alternatives.

#mastoadmin #mastodonsocial

renchap,
@renchap@oisaur.com avatar

@louis I do not think you understand what this PR is about or what is does. It does not collect anything about what you search for, and there is no personal data involved here. You can see this as "improved web logs”. OpenTelemetry is an open protocol to collect technical traces of request to have a better overview of their performance.

It is disabled by default, and only useful for admins who want to work on improving Mastodon's performance.

sarah, to random
@sarah@phpc.social avatar

There's a huge advantage to choosing a boring stack over the new shiny: the boring stack has years if not decades of people talking about it on places like blogs, Stack Overflow and more, to help guide you when things go wrong.

Building exciting things doesn't require the new shiny.

"Boring", battle-tested tech can be lots of fun, too. And easier to fix, to boot.

jclermont, to php
@jclermont@phpc.social avatar
andymckay, to random
@andymckay@mastodon.social avatar

I gave Jira AI a try. So I typed this into AI to see what would happen. Was not disappointed. Well alright I was. Haven't found it give a useful or correct answer yet.

andymckay,
@andymckay@mastodon.social avatar

That's it everyone, no need for developers anymore. Y'all can go home now.

syntaxseed, to random
@syntaxseed@phpc.social avatar
nixCraft, to random
@nixCraft@mastodon.social avatar

End of an era.

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.

emd, to Laravel
@emd@cosocial.ca avatar

What am I missing folks, you can't have multiple listeners (in an array) in v11?

https://laracasts.com/discuss/channels/laravel/laravel-11-register-event-with-multiple-listeners

Crell, to random
@Crell@phpc.social avatar

"It's a DTO so it shouldn't have methods, just data" is an excellent way to end up with procedural spaghetti with a class keyword floating around.

It certainly won't get you a good codebase, that's for sure.

theseer, to random
@theseer@phpc.social avatar

Is it just me or is #phpstorm getting worse by the day?

I'm runnig 2024.1 (Build #PS-241.14494.237, built on March 27, 2024) but have to constantly restart the IDE to fix bizarre errors like PHPStorm claiming a property or parameter isn't used while highlighting the very use a line later, inconsistently resolving asserts with instanceof checks - e.g. claiming a method doesn't exist in the class referenced in a different assert and not seeing a parameter that is clearly there... #fail #ensh11n

PHPStorm claiming a parameter is missing that is clearly there..

pythoneer, to UKpolitics
@pythoneer@cyberplace.social avatar

🎵 "Things... can only get wetter" 🎵 😆

sarah, to php
@sarah@phpc.social avatar

Do you rehearse your disaster recovery plans?

Have you ever stood up, from scratch, a completely new version of your application in a production-ready state?

If you haven't, you should.

You may never need to fully stand up a complete production instance, but what happens if a part goes down like your database, your webservers, or your jobs? Are you prepared for emergencies?

Practice makes perfect, especially in high-pressure situations. So practice! #php #disasterrecovery #emergencies

GossiTheDog, to random
@GossiTheDog@cyberplace.social avatar

For those who aren’t aware, Microsoft have decided to bake essentially an infostealer into base Windows OS and enable by default.

From the Microsoft FAQ: “Note that Recall does not perform content moderation. It will not hide information such as passwords or financial account numbers."

Info is stored locally - but rather than something like Redline stealing your local browser password vault, now they can just steal the last 3 months of everything you’ve typed and viewed in one database.

video/mp4

GossiTheDog,
@GossiTheDog@cyberplace.social avatar

I've written up my thoughts on the Copilot Recall feature in Microsoft Copilot+ PCs

I think it will enable fraud and endanger users, and is not the sign of a company who are committed to security first.

https://doublepulsar.com/how-the-new-microsoft-recall-feature-fundamentally-undermines-windows-security-aa072829f218

tixie, to random
@tixie@guerilla.studio avatar

iTerm, can you NOT PUT FUCKING AI in my terminal. I don't need AI in my fucking terminal ffs.

Damn, tech bubble is fucking rotting everything

derickr, to random
@derickr@phpc.social avatar

Looks like PHP London will finally meet again on the first Thursday of June!

Hosted by Vonage with a talk by @SecondeJ !

🐘 https://www.meetup.com/phplondon/events/301132866/

ramsey, to random
@ramsey@phpc.social avatar

It’s interesting to note that many of the AI suggestions for PHP code (in IDEs) use older syntax and practices, such as using a string for the fully-qualified class name, instead of ClassName::class, which is the modern and generally-accepted best practice today.

ramsey,
@ramsey@phpc.social avatar

So, if AI was trained on all the publicly-available code it found on GitHub and the rest of the web, and if MOST code is shit code, then does that mean AI is recommending the worst practices to new developers?

Crell, to php
@Crell@phpc.social avatar

Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.

thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

Defaced some of my Stack Overflow answers again because the people who own that site are triple-A fartwaffles who are fucking over the community.

P.S. They smell bad.

thomasfuchs,
@thomasfuchs@hachyderm.io avatar

They’re doubling down on victim blaming.

Seriously, bend over backwards and stick your head up your ass until you disppear.

Crell, to php
@Crell@phpc.social avatar

Any time I see "bad" code, the first answer is usually "you need more precise and strict types."

Often there's other stuff wrong, but easily 70% of the time, the fix starts with "define the problem better and the problem goes away."

#PHP #Kotlin #Programming

alexstandiford, to random
@alexstandiford@fosstodon.org avatar

I'm doing a limited $49 lifetime deal for Siren Affiliates
at launch. My email list will get early access, and expect it to sell out before I actually launch.

If you're not on the list now, change that. I'm never going to offer a deal this good again.

https://www.sirenaffiliates.com/#cta

Please boost for reach! I've been working on this since last August and am really excited to get moving on it.

nunomaduro, to random
@nunomaduro@mastodon.social avatar

something i've noticed with more senior engineers is that it's tough for them to admit when they don't know something

there's nothing more beautiful than saying "i don't know" or saying you need some time to learn first

stay humble and passionate — that's the perfect combo to keep getting better

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