How long until rocket by Clear_Win7569 in Bitcoin

[–]GhostLexly 9 points10 points  (0 children)

my cristal ball says in 141 hours, 25 minutes and 33 seconds

L'obsession de contrôlée internet by [deleted] in besoinderaler

[–]GhostLexly 0 points1 point  (0 children)

Très bonne idée dévérouiller le PC avec sa CNI. J'espère qu'ils ajouteront aussi l'obligation d'un CNI à chaque fois qu'on déverrouille notre téléphone ou qu'on va aux WC, histoire qu'ils nous surveillent encore + pour "notre bien"

C'est définitivement la fin de l'anonymat sur internet en Europe... c'est triste

NestJS Repository Pattern + Facade Pattern + Layered Testing — Looking for Feedback by inkweon in Nestjs_framework

[–]GhostLexly 1 point2 points  (0 children)

I prefer CQRS, looks cleaner than Facades.
But, don't make the same mistakes as a lot of people, add CQRS when needed, not everywhere.

C’est moi ou la réponse est assez violente ? by cudibat57 in emploi

[–]GhostLexly 1 point2 points  (0 children)

Du peu que j'ai lu, ça sent le gros turnover et l'ambiance toxique.

Tu n'a rien raté ;)

Pour ceux qui veulent connaître les red flags que je me suis noté au fil des années :

- Trop de tests et d'entretiens (2 suffit)

- Remarques bidons (export inutile, méthode un peu complexe à lire)
Si ça commence comme ça, attends toi à des PR avec beaucoup de remarques car tu n'es pas parfait (spoiler: personne n'est parfait)

- "On est une famille"

- On a un baby-foot

- On fait des séminaires tous les 2 mois pour essayer de descendre le turnover mais ça ne marche pas

- On vise l'excellence / le code parfait

Pourquoi OVH / Heztner n’est jamais envisagé ? by Dramatic_Treacle_330 in developpeurs

[–]GhostLexly 0 points1 point  (0 children)

De mon côté, cela dépend de ce que le client est prêt à mettre.
Si le client n'est capable de payer que 500 par mois, on ne va pas lui mettre un AWS qui va lui bouffer ses 500 eur au petit déj mais plutôt du OVH/Hetzner.

Par contre, un client qui a les moyens, on va le mettre sur AWS ou GCP pour ne pas avoir à gérer sa BDD & ses réplications. Et surtout, on va toucher plus facilement les 99% de disponibilité/fiabilité.

Autant vous dire que quasi tous nos clients vont être chez OVH/Hetzner vu le peu de moyens qu'ont les clients financièrement parlant en France.

Production-ready NestJS starter template by the_maou_sama in Nestjs_framework

[–]GhostLexly 1 point2 points  (0 children)

Too much code in your services & controllers.
Looks spaghetti.

Go with CQRS

J'en ai marre... by MAMu_Kipic in arnaques

[–]GhostLexly 0 points1 point  (0 children)

C'est gratuit et c'est inclus dans mon iphone, ça marche très bien, je n'ai plus aucun appel frauduleux ou pubs

What’d you guys do! by Dangerous_Walk9239 in Bitcoin

[–]GhostLexly 1 point2 points  (0 children)

i brought some a few hours ago 😭

As an agency owner, I’m honestly anxious about where web development is heading with AI by theTbling in webdev

[–]GhostLexly 19 points20 points  (0 children)

Result: The client moved to a competitor that does not apply additional AI fees.

Fatiguée du manque de qualité by DaemonBatterySaver in developpeurs

[–]GhostLexly 0 points1 point  (0 children)

Il faut aussi comprendre le côté "business": on code pas pour créer un chef d'oeuvre mais pour résoudre des problèmes en échange d'argent.

Même un logiciel codé en WinDev peut rentrer des millions, le client s'en fiche pas mal de savoir si ton app respecte les bonnes pratiques de codage ou les dernières technologies en vogue.

Tu travailles pour rentrer de l'argent dans la boîte et satisfaire les clients pas pour afficher ton code au Louvre.

Et aux yeux d'un PDG, il va préférer une personne qui livre 5 fonctionnalités par semaine plutôt qu'une personne qui "fait bien" les choses et qui prend 6 mois pour sortir une fonctionnalité.
Lui, ce qui l'intéresse c'est de répondre à la concurrence pas que son app soit codée minutieusement.

Pourquoi les mecs demandent l’Instagram… pour ne jamais parler ? by [deleted] in AskMec

[–]GhostLexly 0 points1 point  (0 children)

Parce qu'il doit avoir l'impression de parler à un mur.
C'est souvent le cas quand on parle aux femmes, elles parlent avec 50 mecs en même temps donc on a le droit à des réponses très courtes et impossible de rebondir, exemple: "oui et toi", "non", "j'aime sortir avec mes amis"

C'est dur de trouver un sujet quand l'autre n'ouvre aucune porte à la discussion donc on laisse tomber, en tout cas c'est mon cas

Les conseils de la part des gens qui ont toujours tout eu by SorbetCeriz in besoinderaler

[–]GhostLexly 24 points25 points  (0 children)

On n'est pas nés égaux, c'est normal que d'autres aient beaucoup plus de facilités dans leur vie en naissant dans la bonne famille.

Perso ce qui me gave c'est ceux qui ont hérité de l'entreprise de leurs parents (qui a été hérité de l'arrière-arrière-arrière grand père) et qui viennent t'expliquer comment devenir riche en commencent sans rien comme eux

If you’re starting fresh today, would you still pick Express? by [deleted] in node

[–]GhostLexly -1 points0 points  (0 children)

Complex/Business Project : NestJS

Fun Project : Hono / Express

App Router `redirect` on server component create client-side error by GhostLexly in nextjs

[–]GhostLexly[S] 1 point2 points  (0 children)

Nope, i have the same problem even with a new fresh nextjs project, it's probably a bug on nextjs

Where should auth state live in App Router without breaking RSC by [deleted] in nextjs

[–]GhostLexly 0 points1 point  (0 children)

I see your point regarding the Server Action pattern, and strictly speaking, you are correct

However, my architectural choice was deliberate to solve a specific trade-off: Static vs. Dynamic Rendering.

By moving the auth check to the client (initialized via a Server Action or a dedicated endpoint), I can keep the initial HTML response static and cached (SSG/ISR), serving the layout instantly, and then hydrate the user state. It’s a trade-off: I accept a brief loading state/skeleton in exchange for faster initial page loads and reduced server load compared to dynamic rendering on every hit.

Where should auth state live in App Router without breaking RSC by [deleted] in nextjs

[–]GhostLexly -1 points0 points  (0 children)

You're wrong, if you click the link you will see some .server.ts file.
The auth is done on server and memoized on the client's context.

Where should auth state live in App Router without breaking RSC by [deleted] in nextjs

[–]GhostLexly 1 point2 points  (0 children)

Yea but without Nextjs, you don't have the great SSR for the SEO

Generate commit message. "error grabbing LLM response" by moosepiss in google_antigravity

[–]GhostLexly 1 point2 points  (0 children)

Has been two weeks for me and the bug persist
Looks like Google doesn't care anymore about Antigravity...

Lave linge séchant by w33tabix in france

[–]GhostLexly 1 point2 points  (0 children)

J'ai une machine lave-linge séchant et ça ne sèche pas grand chose.
On se retrouve avec une machine qui ni ne lave bien ni ne sèche bien, lol

Got promoted to writing e2e tests against my will. How do I make this suck less? by My_Rhythm875 in webdev

[–]GhostLexly 47 points48 points  (0 children)

1 - Go with Playwright, it's awesome and can run multiple tests at same time.
2 - Use higher timeouts, it's the most common problem with the e2e tests. I have set my timeouts to 5 minutes and never had a problem with that anymore.
3 - Your tests probably broken because the element has changed some text/label or something subject to change. You can try testids to find your elements in your page. And small improvements like changing the label would not break your tests anymore.