Charles Desneuf
@selrahcd.bsky.social
200 followers 500 following 420 posts
Agile Tech coach Expect to hear about testing, archi, DDD, and maybe music.
Posts Media Videos Starter Packs
selrahcd.bsky.social
Thank you. I shouldn’t have left PHP.
selrahcd.bsky.social
I’m all about making Scott Wlaschin proud.
selrahcd.bsky.social
This removed several optional parameters in functions and checks for value in the code.
selrahcd.bsky.social
Yesterday we’ve replaced a optional array that when missing was meaning “all values of an enum” by default(ThatEnumSchema.options). Now when the Zod parsing is done and the array is missing we have all the enum values. The rest of the code doesn’t need to know about that logic anymore.
selrahcd.bsky.social
In a Zod schema, try using default instead of optional and see your code become clearer, free of undefined checks.
selrahcd.bsky.social
If you have some components everyone is using, you should be able to refactor the internal of these components to provide the new look, right?
I have the impression that if you want to work gradually, you have an easy way to do branching by abstraction at the level of the component.
selrahcd.bsky.social
Question: if you have a design system and want to change your website look, why do you need a new design system that everyone has to implement over modifying the current one?
selrahcd.bsky.social
Do they have a maximum size to be Serverless? I read somewhere that they have to be each in one repo. Is that the true way of doing it?
selrahcd.bsky.social
Ah yes, Serverless, I’ve heard about that thing.
selrahcd.bsky.social
This discussion feels way too serious for my not so serious post 😅
selrahcd.bsky.social
Is this Vertical Slice architecture?
robbowley.net
From a CTO WhatsApp group I'm in
Message in CTO WhatsApp group:

I did a code and architecture review for a company yesterday who had vibe coded their MVP - there were no common classes, modules, functions, etc. every "feature" was a separate file with literally a main method full of all the code required for that one function - no reuse anywhere and loads of bits of code that were declared but never used, variable names that didn't make sense, the same variables defined everywhere, etc. Because they were quite far down this path the tidy-up process is going to be a long and difficult road
Reposted by Charles Desneuf
nilswilcke.bsky.social
Les préfets ont reçu ordre de l'Intérieur de réserver les dates du 16 et 23 novembre pour des élections, selon mes infos (source préfectorale), qui confirment celles du Canard. Macron semble préférer prendre le risque de mettre le RN au pouvoir que d'appeler la gauche à Matignon. #Off
selrahcd.bsky.social
Oh waow, I didn't know that when the Github integration is on, Jetbrains IDE display PRs comments inside the code.
selrahcd.bsky.social
Today is a git bisect day
Reposted by Charles Desneuf
gingerbreadt.bsky.social
J'ai une butternut dans ma cuisine qui a connu 3 gouvernements.
selrahcd.bsky.social
"But we would need to deploy to change the referential!"

You do use migration scripts, right?
selrahcd.bsky.social
Another simple source of simplification is not having a generated ID and a natural id to use for referential data that no user can change. If you are lucky enough to have a natural ID use that. The same one in all environments. Stop mapping!

(Oh, and maybe you don't even need a database)
selrahcd.bsky.social
(Tu peux utiliser des tags pour faire ça facilement 😛)
selrahcd.bsky.social
Clairement. Juste c’est ce qui colle chez moi 😭
selrahcd.bsky.social
De mon côté c’est de gauche et de droite qui reste le mieux, mais ça implique d’avoir un schéma dans la tête toujours orienté pareil 😅
selrahcd.bsky.social
Y’avait un compte « un clique en moins » ou un nom similaire sur Twitter qui donnait les infos. Ça pourrait être un bot un peu marrant à créer
Reposted by Charles Desneuf
bouletcorp.bsky.social
"On va piller tout ce qui existe, à moins que tout le monde nous dise individuellement qu'il/elle n'est pas d'accord pour être pillé"
Il est vraiment temps que cette baudruche de pus qu'est l'industrie de l'I.A. générative crève et s'effondre.
wsj.com
Exclusive: OpenAI is planning to release a new version of its Sora video generator, which creates videos featuring copyrighted material unless copyright holders opt out of having their work appear.
OpenAI’s New Sora Video Generator to Require Copyright Holders to Opt Out
Executives at the startup notified talent agencies and studios over the last week.
on.wsj.com
selrahcd.bsky.social
Je viens de me rendre compte que je ne t’avais pas répondu (et donc désolé) Je serai super chaud pour lire un article de blog sur ton orga :)