Charles Desneuf's Avatar

Charles Desneuf

@selrahcd.bsky.social

Agile Tech coach Expect to hear about testing, archi, DDD, and maybe music.

190 Followers  |  500 Following  |  350 Posts  |  Joined: 17.11.2024  |  1.7513

Latest posts by selrahcd.bsky.social on Bluesky

Thanks a lot for the clarification. Thatโ€™s an interesting thread.

05.08.2025 16:08 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I could agree with that :)

05.08.2025 12:02 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Using automated refactoring tools is one of the key missing skills of most devs.

05.08.2025 08:35 โ€” ๐Ÿ‘ 14    ๐Ÿ” 2    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
The Sound of Silence A GitHub Issue on OpenAIโ€™s Whisper, which is a good speech-recognition and transcription model with support for a large number of languages. A lot of people use it. The issue: Complete silence...

kieranhealy.org/blog/archive...

02.08.2025 13:58 โ€” ๐Ÿ‘ 9    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

.... "Vous allez crever parce que quelqu'un d'autre a dit quelque chose sur Internet"

01.08.2025 08:37 โ€” ๐Ÿ‘ 862    ๐Ÿ” 316    ๐Ÿ’ฌ 66    ๐Ÿ“Œ 12
Video thumbnail

Dimanche 27 juillet, Lisa et Lyes assistent au Tour de France ร  Paris et accrochent un drapeau de la Palestine.

Rรฉsultat : 22 heures de garde ร  vue, une condamnation et des poursuites pour "violence sur un fonctionnaire de la police nationale sans incapacitรฉ et rรฉbellion".

31.07.2025 16:26 โ€” ๐Ÿ‘ 779    ๐Ÿ” 611    ๐Ÿ’ฌ 80    ๐Ÿ“Œ 97

Unpopular opinion: Using a variable named sut for the system under test is a bad idea; it makes tests less readable. Sure, it helps with finding the act part of the test but, IMO, needing that is a sign that you need to invest in your arrange and assert parts to improve the overall test readability.

30.07.2025 14:37 โ€” ๐Ÿ‘ 4    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Stupid
Ugly
Test

30.07.2025 15:00 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Unpopular opinion: Using a variable named sut for the system under test is a bad idea; it makes tests less readable. Sure, it helps with finding the act part of the test but, IMO, needing that is a sign that you need to invest in your arrange and assert parts to improve the overall test readability.

30.07.2025 14:37 โ€” ๐Ÿ‘ 4    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

In your tests, most of the time, the setup/beforeEach should be used only for instantiating services. You want values to appear right in the test because they are helpful for telling the story.

30.07.2025 14:24 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Testing Rule of Thumb: if some pieces of data are in the assert they must appear in the arrange or act phase first.

10.07.2025 14:33 โ€” ๐Ÿ‘ 6    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Using a builder to create your mocks is a clear signal that you are doing something wrong and should start looking for an alternative solution.

(And that solution is probably an abstraction using domain language)

25.07.2025 07:23 โ€” ๐Ÿ‘ 2    ๐Ÿ” 3    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them.

28.07.2025 19:30 โ€” ๐Ÿ‘ 111    ๐Ÿ” 49    ๐Ÿ’ฌ 4    ๐Ÿ“Œ 2

Never tried HTMX but itโ€™s clearly in my good SPA alternatives. Iโ€™m not sure we can, and will be able, to go without JS. It removes a lot of the needed complexity for SPAs.

27.07.2025 19:00 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Yes, probably.
But I seriously think that most of the SPAs would better be MPAs, even now, even without these enhancements.

27.07.2025 17:56 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post X de BFMTV avec ce texte :

Parade nautique, grand concert...Le programme du premier anniversaire des Jeux olympiques de Paris

Post X de BFMTV avec ce texte : Parade nautique, grand concert...Le programme du premier anniversaire des Jeux olympiques de Paris

Attendez on remet de lโ€™argent pour fรชter lโ€™anniversaire dโ€™un รฉvรฉnement qui a dรฉjร  explosรฉ les conteurs en termes de budget ?
On est des gรฉnies

26.07.2025 21:28 โ€” ๐Ÿ‘ 237    ๐Ÿ” 80    ๐Ÿ’ฌ 19    ๐Ÿ“Œ 2
Preview
It's time for modern CSS to kill the SPA Native CSS transitions have quietly killed the strongest argument for client-side routing. Yet people keep building terrible apps instead of performant websites.

Is it finally the time to kill the monstrousities that SPA are and the cost in accidental complexity they come with?

www.jonoalderson.com/conjecture/i...

27.07.2025 07:34 โ€” ๐Ÿ‘ 5    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

You'll find the proper definition of the principle, formulated by Andy Hunt and Dave Thomas, in their book "The Pragmatic Programmer" as quoted here:

"Every piece of knowledge must have a single, unambiguous, authoritative representation within a system."

2/2

27.07.2025 04:48 โ€” ๐Ÿ‘ 10    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

DRY is often confused as "don't repeat code," which was never the intended meaning.

DRY is about knowledge. Don't repeat knowledge.

You can repeat identical lines of code that don't repeat or leak knowledge.

1/2

27.07.2025 04:48 โ€” ๐Ÿ‘ 23    ๐Ÿ” 5    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Fabien รฉtait un modรจle pour plusieurs personnes. Je me demande souvent ยซย Que ferait Fabien M. ?ย ยป quand il y a de lโ€™humain et de lโ€™รฉthique.

Un de mes souvenirs de Fabien est la fois oรน il sโ€™est pointรฉ en kata pour nous faire gรฉnรฉrer des chansons de Justine avec une chaรฎne de Markov.

Salut copain.

25.07.2025 12:28 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Using a builder to create your mocks is a clear signal that you are doing something wrong and should start looking for an alternative solution.

(And that solution is probably an abstraction using domain language)

25.07.2025 07:23 โ€” ๐Ÿ‘ 2    ๐Ÿ” 3    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Tu sais tout faire ๐Ÿซถ

24.07.2025 07:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

๐Ÿ˜‚

23.07.2025 19:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Woman in line in front of me at the post office is not happy about the cost of shipping. She just whipped out her phone, asked ChatGPT how much it thinks the shipping should cost, and is trying to get the mailman to honor that price.

21.07.2025 23:41 โ€” ๐Ÿ‘ 4862    ๐Ÿ” 543    ๐Ÿ’ฌ 160    ๐Ÿ“Œ 273

Vous avez vu, lโ€™Espagne va baisser la TVA sur les produits essentiels. Vous savez pourquoi on ne le fait pas en France ? La rรฉponse courte, cโ€™est Macron, comme souvent. Mais le dรฉtail du pourquoi est hyper intรฉressant. Explications :

22.07.2025 21:00 โ€” ๐Ÿ‘ 373    ๐Ÿ” 183    ๐Ÿ’ฌ 14    ๐Ÿ“Œ 9

Postgres is probably more than good enough for most of us ๐Ÿ˜…

18.07.2025 16:59 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Could decrease the number of queries by one (only decrease vs read inventory + update inventory) but thatโ€™s probably not a massive boost.

18.07.2025 15:53 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Yep, thatโ€™s what I understood later. > 0 could work (actually > requestedItemCount) but it would be similar to select for update so wonโ€™t make a change.

18.07.2025 15:51 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Testing Rule of Thumb: If it looks too much like the real implementation, doubt it

๐Ÿงต 1/9

16.07.2025 05:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1

Couldโ€™ve been a single PHP script?

17.07.2025 10:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@selrahcd is following 20 prominent accounts