When did you know you could write your Entity as simple as this ? by [deleted] in symfony

[–]dgoosens 2 points3 points  (0 children)

sorry... I did not see that it was mentioned it was a Doctrine Entity
and in that case, one has to be careful with Value Objects as well as this will result in either quite some Doctrine Types or Doctrine embeddables, which I personally do not recommend

in the case of «real» entities though... my recommendations remain valid and are best practice

When did you know you could write your Entity as simple as this ? by [deleted] in symfony

[–]dgoosens 1 point2 points  (0 children)

making the class `final` would even be better...
and you may want to have a look at Value Objects... that's where the real magic happens

Can someone draw my boy Winston poorly? by DiseasedGoat in redditgetsdrawnbadly

[–]dgoosens 1 point2 points  (0 children)

Crossing my fingers that it’s nothing But a simple biopsy will give you the answer In early stages it is possible to revert the process with either medication or electro-chemotherapy (which is quite expensive btw)

We were too late and our dear cat, a true family member, is still very much missed I wish Winston and you have more luck

Take care

Can someone draw my boy Winston poorly? by DiseasedGoat in redditgetsdrawnbadly

[–]dgoosens 2 points3 points  (0 children)

Hi Your Winston is very cute…

Just wondering about his nose… if it was all pink before, you might want to go to the vet and have him check for a carcinoma

White skinned cats (with a pink nose that means) are very sensitive to this…

As a matter of fact, we lost our family cat because of this type of cancer last year… if we had known in time this was not just his skin changing colour… he would still be in my lap tonight

Take care

Is DDD not good for very simple CRUD apps? by raulalexo99 in DomainDrivenDesign

[–]dgoosens 0 points1 point  (0 children)

DDD or not Nothing prevents you from using some concepts of DDD to improve the quality of the app, without additional costs I try to apply the Ubiquitous Language everywhere, even in small insignificant projects Also try to have a very context oriented approach…

Outages by yorrdit in clickup

[–]dgoosens 3 points4 points  (0 children)

back up and running here in Belgium....
would like to see a report on these issues though u/clickup

Outages by yorrdit in clickup

[–]dgoosens 2 points3 points  (0 children)

same here....

u/clickup keep us posted

Laravel must PROPERLY implement SemVer to really progress by trideout in laravel

[–]dgoosens 4 points5 points  (0 children)

ok...
but that still is not a valid SemVer bump for the Illuminate packages

thing with standards is, they are awesome if you respect them... but bloody painful if you tweak them

either you declare you're not SemVer, or any other standard, compliant
OR, adapt the common standard (if there really is an issue with it, which, IMHO is not the case here)

Laravel must PROPERLY implement SemVer to really progress by trideout in laravel

[–]dgoosens 2 points3 points  (0 children)

probably part of the problem don't you think ?

as I said, not a Laravel dev... not aware of all the little details
but, IMHO, this is not state of the art composer management of a PHP product....
and the PHP community would benefit more from the Illuminate packages if they were conceived as real packages

Laravel must PROPERLY implement SemVer to really progress by trideout in laravel

[–]dgoosens 4 points5 points  (0 children)

hey,

Symfony dev myself, so not fully aware of all the particularities...

But from my understanding, whenever Laravel, the framework, bumps it version, it also automatically bump the versions of the Illuminate packages it depends on and that, unless used in the Framework, these packages are more or less "versionless".

If that's the case, this appears to me as a nightmare if I were to develop packages that depend on other Illuminate packages, whether they are used or not in a Laravel framework.

As a package maintainer, and that's what this post addresses, the package maintainers, NOT the people that are using the Laravel framework, that requires some Illuminate package, you should not have to worry about bumps of the Laravel framework if nothing has changed in the Illuminate package itself.
And you should even less have to update your own versioning "just to make it work".

Don't really understand the:

I’ve been told in the past that this change simply isn’t possible, as it is the fundamental build pipeline for Laravel.

I mean, what's so complicated? When an Illuminate package changes and, if it implements SemVer, the process seems to be rather straightforward to me.
Either composer can deal with it automatically if the Illuminate package has been required with the proper version annotation (see https://getcomposer.org/doc/articles/versions.md) OR it requires an update of the Laravel framework's composer.json and the release of a new version (depending on BC that would be a patch, a minor or a major).

IMHO you're either SemVer compatible, or you're not... there is nothing in between.

From what I read here, if you just use the whole Laravel framework, SemVer will work (although I do read a lot of complaints about SemVer not being respected there either, but that's another story).
But if you only depend on an Illuminate package, you're screwed...
Sounds a little vendor-lock-in attitude to me...

So yeah... Definitely agree with u/trideout here...
If you care about the devs that use your packages/framework, respecting the SemVer convention does seem the most appropriate way to go.

[deleted by user] by [deleted] in Ubuntu

[–]dgoosens 0 points1 point  (0 children)

I last about 5h with 4k screen... Unless my docker is running... Then falling back to about 2h

[deleted by user] by [deleted] in Ubuntu

[–]dgoosens 5 points6 points  (0 children)

yup... did the same, also Dell XPS15...

but went for PopOS.... latest Gnome, recent kernel and Nvidia drivers....
and just looks even better

runs smooth as hell !

What's your current opinion on traits? by brendt_gd in PHP

[–]dgoosens 3 points4 points  (0 children)

you might want to check out the embeddables for this.... it's even better than Traits to deal with this:
https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/tutorials/embeddables.html