@dgoosens@phpc.social
@dgoosens@phpc.social avatar

dgoosens

@dgoosens@phpc.social

#PHP & #DDD #developer & #architect at Ardennes-étape
#OSS, #Linux & #ethics enthusiast (#BEL) beer fanatic
Father of 2

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

dgoosens, to php
@dgoosens@phpc.social avatar
dgoosens,
@dgoosens@phpc.social avatar

@derickr 😂

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

I’ll be at in a few weeks giving a talk about CQRS (secretly a design patterns talk) and NeoVim for PHP Developers (secretly a talk about deeply learning tools)

dgoosens,
@dgoosens@phpc.social avatar

@grmpyprogrammer

definitely going to watch you talk about CQRS !

afilina, (edited ) to random
@afilina@phpc.social avatar

Do you want to attend phpday for free? Reply with your funniest GIF about code and boost.

Winner will get an in-person ticket and the following four will get online tickets. https://2024.phpday.it/

I start: "We're just bumping to PHP 7.4. It shouldn't be that hard."

dgoosens,
@dgoosens@phpc.social avatar
eric, to random
@eric@phparch.social avatar

I am very excited to have @tjmiller and @pollita for episode 380 of @phpugly. I can't wait to catch up with them. https://www.youtube.com/watch?v=y5vbiNcI7HM

dgoosens,
@dgoosens@phpc.social avatar

@eric @tjmiller @pollita @phpugly

!title PHPBeauties and the Beast

dgoosens, to random
@dgoosens@phpc.social avatar

so
discovered that if you're using advanced features in , you might want to make sure you are no longer using docker-compose (you should be using docker compose instead)

piece of cake to deal with this...

change the path to your docker compose executable (see screenshot) and you're all set

dgoosens, (edited ) to php
@dgoosens@phpc.social avatar

OK... here is a question ( but other communities are welcome to comment.

When building a decoupled app, do you consider the usage of something like
ClassWithAnnoyingName::class
(not to call the class, but to reference the name as a string and to simply avoid to type it out) as coupling?

IMHO, it is not

  • it is very trivial to replace with its string value if needed
  • it greatly improves DX
  • it greatly reduces errors because of typos

But what do you think ? And why ?

dgoosens,
@dgoosens@phpc.social avatar

@Skoop

classname of interface, for my question, are the same

the question is, would it be ok to use Class::class of Interface::class in a part of your app that is to be decoupled from them ?

dgoosens,
@dgoosens@phpc.social avatar

@Skoop

that only inverts the coupling does it not..

the only alternative, IMHO, is to make it dynamic via the usage of attributes (which will not do any harm if not found)

this attribute would tag the referenced class/interface and have a service that indexes their usage somehow and make them available

but IMHO that is quite a lot of overhead just to reference a string

dgoosens,
@dgoosens@phpc.social avatar

@heiglandreas

man...
I did not even know that !

even better !

thanks !

dgoosens,
@dgoosens@phpc.social avatar
dgoosens,
@dgoosens@phpc.social avatar

@Crell

actually, and I was not aware of this, @heiglandreas showed me this:

https://phpc.social/@dgoosens/112247386776714044

so if the class is missing, it will still interpret it as a string

dgoosens, (edited ) to php
@dgoosens@phpc.social avatar

This is the best talk I have ever seen

Tips & tricks for GIT by Scott Chacon from Github

Was discussed during the last episode of @phpugly where lots of brillant stuff, mostly is discussed

https://www.youtube.com/watch?v=aolI_Rz0ZqY

dgoosens, to php
@dgoosens@phpc.social avatar

Very close to reaching the target...

Every Euro/Dollar counts to support , one of the nicest and most generous persons in our

https://www.gofundme.com/f/support-ryans-brain-cancer-battle

dgoosens, to Symfony
@dgoosens@phpc.social avatar

Terrible announcement by Ryan Weaver

Always seems to happen to the nicest people

If you can, please support him and his family

https://x.com/weaverryan/status/1777326885292114048

dgoosens, to GNOME
@dgoosens@phpc.social avatar

system wide NBSP, or non breaking space, through the keyboard, shift + space in with gnome-tweaks

(3rd level would be AltGr + space)

dgoosens,
@dgoosens@phpc.social avatar

@heiglandreas
I figure most people here do...
even more if they know what [narrow] non-breaking spaces are...

dgoosens, to random French
@dgoosens@phpc.social avatar

Striatum, génétique, liberté et Stoïcisme

En lisant le livre « le bug humain » de Sébastien Bohler, une pensée m'est venue...
Et si on adoptait, le temps d'un instant, un regard un chouïa (« tantinet » pour les non-Belges) philosophique sur notre rapport à la consommation...

https://notes.belgeek.dev/misc/2024/04/04/striatum-g%C3%A9n%C3%A9tique-libert%C3%A9-et-sto%C3%AFcisme/

dgoosens, to random French
@dgoosens@phpc.social avatar

Striatum, génétique, liberté et Stoïcisme

En lisant le livre « le bug humain » de Sébastien Bohler, une pensée m'est venue...
Et si on adoptait, le temps d'un instant, un regard un chouïa (« tantinet » pour les non-Belges) philosophique sur notre rapport à la consommation...

https://notes.belgeek.dev/misc/2024/04/04/striatum-g%C3%A9n%C3%A9tique-libert%C3%A9-et-sto%C3%AFcisme/

dgoosens, to science French
@dgoosens@phpc.social avatar

How about we, , and who build that may change the world of tomorrow, from now on, aim for and not more ?

rob, to random
@rob@akrabat.com avatar

The interesting thing about the xz attack is that as humans we tend to trust after time has passed.

A senior dev starts working for a company in 2021 is a trusted senior dev by 2024.

Someone starts regularly contributing to an OSS project in 2021 is a maintainer by 2024.

dgoosens,
@dgoosens@phpc.social avatar

@rob @jaapio @wouterj

Sadly not
Current society is based on control, not trust

is based on the same principles as the Commons (described by Ostrom)
It is based on trust and ao rules accepted by all stakeholders
Within Commons, one trusts each other to respect these rules

The exact opposite of our society where nobody trusts anybody.
Without trust, everything needs to be checked, controlled over and over again.
IMHO a terrible waste of resources and a sad way to see human relations

dgoosens, to random French
@dgoosens@phpc.social avatar

Funny when you think of it

Even if they cost nothing, the biggest luxury of all is to have and be true to one’s principles

dgoosens, to random
@dgoosens@phpc.social avatar

prompt: generate image.. middle finger...
Copilot: no can't do, offensive wording

prompt: generate image... third finger
Copilot: Sure... here it is

dgoosens, to random French
@dgoosens@phpc.social avatar

j'adore
ce n'est pas une voiture, cen'est pas un véloto... c'est le véloto de Michel

https://www.brut.media/fr/nature/pas-une-auto-pas-un-velo-michel-presente-son-veloto-0cf67e8a-4f2a-4979-809c-8ec8a4ef095c

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

InternetWidow and mini-me made me Black Forest cup cakes for my birthday

Inside view of the cupcake with black cherry filling

dgoosens,
@dgoosens@phpc.social avatar

@grmpyprogrammer

Happy birthday!!

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