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

pierstoval, (edited ) to random French
@pierstoval@mastodon.social avatar

Project manager: "What's technical debt? Explain it to me like I'm 6 years old"

Devs:

(source: "Richard Scarry's Storybook Dictionary" : https://archive.org/details/1scarryRichardStorybookDictionary/page/n56/mode/1up )

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

Laravel folks will literally keep reinventing the wheel and adding glitter on it instead of going to therapy

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

Which one do you prefer?

I'm hesitating in keeping the one-liner

pierstoval, (edited ) to random French
@pierstoval@mastodon.social avatar

Yup.

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

I need a fixture set of data for API testing. A simple JSON file with like 50 or 100 elements with data of various types (text, number, date, boolean, etc.) would be great, like books samples, music, or something like that.

Does anyone know such a source?

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

Je déménage bientôt (si vous connaissez des gens en Haute-Loire qui ont des maisons à louer, je veux bien les connaître !), mais avant de partir, la proprio m'a dit de tondre à ras les 2 petits terrains attenants, à mes frais évidemment, sachant qu'il y a 3000m² et que moi j'ai laissé tel quel jusque-là.

D'une part, c'est inutile de tondre un terrain inexploité, et d'autre part y'a un apiculteur en face qui est bien content d'avoir 3000m² de fleurs des champs.

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, (edited ) to random French
@pierstoval@mastodon.social avatar

Boosts appreciated :)

My benchmarks for Angular/Vue/React/Svelte are finally properly set with graphs!

Everything can be seen there: https://github.com/Pierstoval/benchmarks-react-svelte-vue

I have over 2000 build tests, and over 200 runtime tests (which took longer to setup, hence why there's less).

My server is still running the tests as I speak, but I think it's already relevant.

And we can agree that Svelte Kit probably provides the most advantages if we consider more than these graphs :)

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

I have heard again about dirty things some other people say about me behind my back, and it makes me think about it (again).

I'm not a "loved" one. Some people like me, sure, but I'm not admired like some tech superstars can be, especially for their contribution to our entire industry.

However, I will never accept somebody saying I'm not contributing at all.

I've spent countless hours in the past decade on public networks helping people with PHP, Symfony, JS and other things.

And more.

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

Almost 6 months ago, the client I'm working for created a "new" project.

This "new" project was a 100% copy/paste of another company project. Reason? It has "all that we need" (meaning API Platform, docker config with Mercure, Vulcain, Varnish, REST setup with auth, etc.).

But it came with hundreds of thousands of business-logic code, and glue-code to fit this, in an "almost-DDD&clean-architecture" way.
It was based on a 5-years-old-now-archived old APIP demo project that doesn't work anymore.

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

I ordered customized t-shirts with my own logo on it for the talk I'm gonna give at Api Platform Con in three weeks.

It's maybe the first time I'll be really okay wearing "corporate" stuff 😁

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

Recently I've had a strange issue in the app I work on:

When I update a Doctrine entity with a Symfony form, it turns out it generates a postgresql query: "UPDATE my_table SET id = ? WHERE id = ?" , and of course the ID is the exact same in the two cases.
The ID field mapping is just « type="uuid" », and it's fixed if I replace the mapping with « type="string" »

Ever encountered something like this?

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

Hey @cooptilleuls / @dunglas , do you have a guide somewhere on how to migrate a server that has tons of Caddy "vhosts" to FrankenPHP, where frankenphp is not used at first, but then I can migrate my vhosts one y one?

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

The worst part of fighting against GAFAM, AIs or any other Tech™ lobby, is that most people won't care because they don't know jack shit about it.

There are more than 60 million ICT workers in the world, and let's be optimistic, the same amount of non-ICT workers that are proficient with computers.

That's still less than 2% of all people in the world that know what computers are and how they work.

And among the rest 98%, most of them don't give a damn.

GAFAM will win.

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

I'm trying to work as much as possible on SvelteAdmin (https://github.com/Orbitale/SvelteAdmin) to keep up with what other admin-generators are doing, and so far I think I'm doing good.

Most of it is still at the state of prototype, but for one single reason: nobody seem to care.

I am becoming quite emotional with that.

Whining incoming ⬇

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

Hey folks: is it possible to hook into the "include", "include_once", "require" and "require_once" calls, like with a C extension or something?

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

Does anyone know about a JS library that can create an HTTP client based on @ApiPlatform definition, could it be a CLI tool (like Orval) or a runtime library?

I'd like to make some tests, and Orval's the only lib I currently use.

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

I just learnt that apparently the maximum length of an URL in Chrome (and IE, but come on…) is 2083 characters, 65536 for Firefox, and 80000 for Safari.

I wonder why any URL would be longer than 2083 characters though, and why the gap between the lowest and highest value is so big.

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

Svelte is great, but I just saw that it added "runes", a "signals-like" API, and all the code I'm gonna see will have a hardcoded dependency on the Svelte compiler everywhere.

Why isn't there a "signals" standard that all frameworks could use?

Oh, yeah, I remember: because it's the fucking JS ecosystem.

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

The projects I'm gonna keep an eye on in the upcoming months in order to update my entire app stack:

  • Sylius' ResourceBundle upgrades, made by Loïc Frémont from Akawaka, because it's ought to be an awesome replacement to EasyAdmin
  • FrankenPHP, by @dunglas, because it's gonna be great to be able to choose between classic PHP processes and workers, and also, it's an all-in-one small binary
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, to random French
@pierstoval@mastodon.social avatar

I'm afraid of how AI will take over many things.

What is potentially reassuring is people that come to get related to AI stuff will definitely throw away AI when it's not acting properly. Basically just like when people harrass other people when they don't act like they want, but even worse because people know they can't hurt AIs so they will react even harsher.

Small example here: https://github.com/pkgxdev/pantry/issues/5358

Some thoughts on this though: ⬇

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

Alors, les chiffres :

Salaire net : 2000 €
Après impôt : 1889 €
Taux d'impôts au global : 5,55%

Salaire brut : 2554 €
Coût total employeur : 3339 €
Total Cotisations patronales : 23,51%

Maintenant, même chose, mais plus haut :

Salaire net : 10000 €
Après impôt : 7425 €
Taux d'impôts au global : 25,75%

Salaire brut : 12527 €
Coût total employeur : 17925 €
Total Cotisations patronales : 30,11%

Source : https://www.urssaf.fr/accueil/outils-documentation/simulateurs/cotisations-employeur.html

Que dire de ces chiffres ?

Parlons-en :

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

Hot take: devs that want to remove "final" or "readonly" keywords from PHP classes are the same than the ones who don't care about the "do not eat" warning on bleach bottles.

  • 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