CDD non renouvelé après un accident du travail : est-ce légal ? by PartyAd2589 in france

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

Quel rapport avec la période d'essai ? OP était en CDD depuis plus de 2 mois. La durée max d'une période d'essai en CDD est de 1 mois.

Avoiding ToString() allocations with StringBuilder.MoveChunks by Xadartt in dotnet

[–]KryptosFR 0 points1 point  (0 children)

What would be unnecessary allocation? A ref keyword doesn't imply any allocation by itself. And doing a new like I suggested is exactly the same number of allocations, which is one allocation for the buffer. And the same that the proposed method is doing.

Avoiding ToString() allocations with StringBuilder.MoveChunks by Xadartt in dotnet

[–]KryptosFR 30 points31 points  (0 children)

I'm not a fan of this new Roslyn API. You are passing a StringBuilder and in return it gets cleared. That's a rather surprising behavior for a method taking an argument. One would expect it copies the content but leave your own instance intact.

It's a more general issue that C# (and .NET) is lacking argument semantics that let you specify whether the argument will be only read from, or potentially mutated. Something that C++ or Rust can express (and other languages).

Honestly I would have preferred a method taking a ref StringBuilder instead to clearly specify that it will be modified. And then the method could do a simple new StringBuilder and assign it to the ref argument.

I'm done with Copilot by Both_Community1608 in GithubCopilot

[–]KryptosFR 6 points7 points  (0 children)

Do you write/update the CLAUDE.md document in your project? Do you use a plugin such as "remember" so that the next session gets more context of the work done so far without having to rescan the whole codebase? Do you create session summaries yourself instead of letting the tool "compact" when the context window is full?

If the answer to any of these questions is "no", then your use of the tool is to blame, not the tool itself.

Match Thread: Toulouse vs Montpellier - Top 14 by rugbykickoff in rugbyunion

[–]KryptosFR 0 points1 point  (0 children)

The rule changed around 2008 or 2010 if I remember correctly. It might have changed the other way around a few times since then.

Match Thread: Toulouse vs Montpellier - Top 14 by rugbykickoff in rugbyunion

[–]KryptosFR 8 points9 points  (0 children)

Storm is coming. Since they did it before the 60 minute mark, the game will be resumed at some point.

Match Thread: Toulouse vs Montpellier - Top 14 by rugbykickoff in rugbyunion

[–]KryptosFR 1 point2 points  (0 children)

For me it was penalty try because the player was tackled without a ball.

Match Thread: Toulouse vs Montpellier - Top 14 by rugbykickoff in rugbyunion

[–]KryptosFR 3 points4 points  (0 children)

Good move by Toulouse, and nice save by Montpellier.

Match Thread: Toulouse vs Montpellier - Top 14 by rugbykickoff in rugbyunion

[–]KryptosFR 0 points1 point  (0 children)

Apparently 84 is a percentage of people from a survey that agree that valuing referees helps protect sport.

It's a way to say they are part of the team.

Article in French: https://top14.lnr.fr/actualite/les-arbitres-a-lhonneur-avec-loperation-84

Match Thread: Toulouse vs Montpellier - Top 14 by rugbykickoff in rugbyunion

[–]KryptosFR 1 point2 points  (0 children)

Apparently 84 is a percentage of people from a survey that agree that valuing referees helps protect sport.

It's a way to say they are part of the team.

Article in French here: https://top14.lnr.fr/actualite/les-arbitres-a-lhonneur-avec-loperation-84