@pierstoval@mastodon.social
@pierstoval@mastodon.social avatar

pierstoval

@pierstoval@mastodon.social

• 💻 Freelance full-stack tech lead, developer, coach and software architect.
• 🛠 Expertise with PHP/Symfony, JS/Typescript, Svelte, Rust, Docker, and many other tools.
• 🧹 Legacy application renovator.
• 🕊️ Free Open Source advocate.
• Speaking 🇫🇷 and 🇬🇧
• ⏲ 10+ years of dev experience
• ✊ Woke leftist (words can change depending on far-righters' way to call us)
• 🌈

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

cacheflowe, to random
@cacheflowe@mastodon.social avatar
pierstoval,
@pierstoval@mastodon.social avatar

@cacheflowe I want this as a screen saver now 😁

pierstoval, to random French
@pierstoval@mastodon.social avatar

I think my brain is continuously trying to get me out of the tech industry even though I like it.

I have no more motivation for open source, and I'm so mentally broken with tech that I might even stop going to conferences (even though I LOVE to go there).

That's it. I'm 34 and I'm taking my job as just a money-maker, and no longer as a passion, at least less than it was years ago, and I crave for the entire tech industry to collapse just for the sake of mankind.

pierstoval,
@pierstoval@mastodon.social avatar

It's a constant internal fight between "But tech is nice!" and "Everyone in tech is broken or corrupted, let it go."

I think the 3 burn-out periods I endured when working at SensioLabs that made me become a freelancer introduced something new in my career: the fact that I'm not 100% dependent on a single employer, thus I no longer need to "engage" in my job in an emotional way as I did before.

I have a real will to do things good where I work, but when I'm no longer there, it's fine, let it go

pierstoval,
@pierstoval@mastodon.social avatar

I do everything I can so that when I leave, the team no longer depends on me (so they don't end up in stuff like "What the hell was he doing!? It's a mess!", because that's bad).

And I just let it go, it was a simple contract and it's no longer a thing.

In the past, like at SL, I was like "It's MY mission to do {whatever} and make things right!", and was emotionally impacted by everything (hence the burn-outs).

Becoming a freelancer (and enduring lots of stuff also) made me more detached.

pierstoval,
@pierstoval@mastodon.social avatar

So detached in fact that I just wish all computer-related thing could disappear.

I need to find balance.

pierstoval,
@pierstoval@mastodon.social avatar

@dgoosens Yup, I see that, the notion of "purpose", but if I had to "engage" in a long mission, I'd have to find another balance, which is the one to not get too much emotional on the project's state and future 😅

pierstoval,
@pierstoval@mastodon.social avatar

@dgoosens I have no problem with businesses crashing. After all, if bad decisions were made, that's the management's problem.

What I have a problem with is when businesses make fool of their actual users, and when they blame their workers, while management is almost always the source of the problem.

pierstoval, to random French
@pierstoval@mastodon.social avatar

I'm trying to migrate an old EasyAdmin 2 application to EasyAdmin 4, to be able to also migrate to Symfony 6.

I found out EasyAdmin is now so opiniated on many things that it turned into ComplexAdmin, sometimes more complicated than its late rival SonataAdmin (ok, Sonata isn't dead, but EasyAdmin took all market shares of it).

I mean, all I want is a "second edit/new action with some additional behavior".
With EA2 it took me like 10 minutes to code.
With EA4, I've been failing on it for hours.

pierstoval,
@pierstoval@mastodon.social avatar

I was super happy in 2015 when Javier created EasyAdmin, the first version with the orange background wasn't perfect but it was the actual "configuration-revolution" we needed to either create easy admins (hence the name) or complex ones (for specific business needs).

V2 brang its new interface, it was awesome, and it had tons of customization (the bases of a WYSIWYG integration, easy datepicker integration too, etc.).

pierstoval,
@pierstoval@mastodon.social avatar

V3 (and later V4) was a total mess in my opinion.

I was a regular contributor/helper on the tool for its first years of existence, and when V3's roadmap was announced, I was like "What!?".
Entirely new config format, dropped all (I mean, ALL) its flexible customization for something else (which is more "configuration" than "customization" to me), made it impossible to extend the framework (which I can understand... until a certain point), and overriding stuff is now a real pain.

pierstoval,
@pierstoval@mastodon.social avatar

Sure, it creates pretty CRUDs, and it's probably suitable for 80% of the global use-cases.

But like nobody uses an admin generator to just use CRUD (In 8 years of EasyAdmin usage, I never saw a project only using CRUD as a strategy for its admin. Like, NEVER. More stuff was always needed).

The thing is, 80% use-cases is not 80% of users. It's just that for the 20%, they want the framework to be flexible enough to do what they need. Not struggle for hours while trying to do it.

pierstoval,
@pierstoval@mastodon.social avatar

@skylarkingmullet If EasyAdmin had DTO support, you would've been able to use a DTO instead of a Doctrine Entity in your Form, and everything would've been solved by a simple "persistEntity" and "updateEntity" call 👌

But Javier said that he never wanted anything related to DTOs, nor separate the framework from Doctrine 😑 The worse part is that in EasyAdmin 2, supporting DTOs was really easy...

pierstoval, to random French
@pierstoval@mastodon.social avatar
lucastucious, to random French
@lucastucious@ludosphere.fr avatar
pierstoval,
@pierstoval@mastodon.social avatar

@lucastucious J'ai découvert Dice Forge y'a quelques mois, j'ai A-DO-RÉ le système ! Je suis nul en stratégie, mais je trouve que ce système est tellement élégant !

juliemoynat, to random French
@juliemoynat@eldritch.cafe avatar

Dans ma quête vers la suppression de Twitter (bon, OK, de mon compte et de la pub que je lui fais), sur mon blog, j'ai retiré les liens de partage des articles en direct sur les réseaux sociaux très connus (qui étaient déjà sans cookie, bien sûr). 👋

À la place, j'ai codé un script pour que ça copie dans le presse-papier le titre et l'adresse des articles. Comme ça, on peut coller où on veut, y compris sur Mastodon !

Vous pouvez voir par ici (oui, j'ai mis en prod un vendredi soir férié 😁) : https://www.lalutineduweb.fr/inaccessibilite-politique/#sharing

Et j'ai mis le script sur CodePen si jamais ça vous intéresse : https://codepen.io/juliemoynat/pen/LYgvOOB
(Je ne suis pas une pro du JS donc un peu d'indulgence sur la qualité du code qui est peut-être à améliorer. En revanche, c'est codé de façon à ce que ce soit accessible !)

pierstoval,
@pierstoval@mastodon.social avatar

@juliemoynat Ton script est hyper propre, bien commenté, compréhensible, franchement, à part utiliser un "early return" pour certains petits bouts, j'ai aucun autre commentaire, c'est vraiment bien fait 👌

pierstoval,
@pierstoval@mastodon.social avatar

@juliemoynat Plutôt que de faire "if (navigator.clipboard) " avec un gros bloc de code dans le "if", tu peux faire l'inverse :
"if (!navigator.clipboard) { return; }"

L'idée c'est d'éviter trop d'indentations, et aussi de donner explicitement les instructions des "cas d'échec" (par exemple on peut faire pareil pour throw une exception et arrêter le script : plus tôt on le fait, plus il est facile de comprendre le script en le lisant 👌)

pierstoval,
@pierstoval@mastodon.social avatar

@juliemoynat C'est parce que tu n'as pas encore l'habitude !
En fait, quand tu t'y fais, tu te rends compte que trop d'indentations brise la lecture et augmente la charge cognitive.

L'early return est au fond une bonne pratique de code en faveur d'une forme d'accessibilité 😁

pierstoval, to random French
@pierstoval@mastodon.social avatar

What do you do when you need lots of days off but you can't because you need the 💲maaaneyyyhhh💲

pierstoval,
@pierstoval@mastodon.social avatar

@dgoosens Hardest part would be the mandatory 8 hours of work per day :p

pierstoval,
@pierstoval@mastodon.social avatar

@dgoosens I don't think I could do that, it would be quite hard with my family life 😕

dgoosens, to php
@dgoosens@phpc.social avatar

Man !!
Just learned there is a package to parallelize your @phpunit test runs

https://github.com/paratestphp/paratest

pierstoval,
@pierstoval@mastodon.social avatar

@dgoosens @phpunit I tried it on some projects in the past, and it didn't always make the suite faster, for a reason I don't really understand.

pierstoval, to random French
@pierstoval@mastodon.social avatar

Wow, no wonder that line of code gets a wavy underline 😬

pierstoval, to random French
@pierstoval@mastodon.social avatar

Ah, the « Great Legacy™ » PHP app, where you fix two "warnings" you just noticed and were easy to fix, and then you have a dozen new warnings that appear because somehow the first two warnings changed the app state enough for it to not work.

Working cases built on failing cases, always a pleasure 👌

(it's not a complaint: on the contrary, I'm really glad to have discovered these bugs)

Pro tip: ALWAYS display errors (at least in dev) in your legacy apps.
It'll help a lot.

pierstoval, to random French
@pierstoval@mastodon.social avatar

J'ai reçu la "régul" de ma facture d'électricité.

J'ai très très mal.

pierstoval,
@pierstoval@mastodon.social avatar

@Flemzord Si, mais je pouvais rien y faire, je suis pas proprio, et le problème était double : ballon d'eau chaude qui surconsommait et était incontrôlable, et pompe à chaleur qui fuyait et qui a mis genre 6 semaines à être réparée après avoir été constatée, sachant qu'elle devait être déjà présente bien avant à plus petite échelle. L'enfer énergétique...

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