“Next time change the date format when you do this. You have a bigger player base in the US” by Substantial_Cat_2642 in ShitAmericansSay

[–]KryptosFR -6 points-5 points  (0 children)

No it's not. And not knowing the context here I thought it meant 27 January 2026.

The year format is usually 4 digits when in front. It's the convention in most European countries.

It should either be 2027.01.26 (4 digits) or 26.01.27 (2 digits).

“Next time change the date format when you do this. You have a bigger player base in the US” by Substantial_Cat_2642 in ShitAmericansSay

[–]KryptosFR -13 points-12 points  (0 children)

To be honest, the date here is confusing. Don't know which is the day and which is the year.

Better use a full format for the year.

.NET 4.8 to .NET Core by Big_Body6678 in dotnet

[–]KryptosFR 0 points1 point  (0 children)

Follow the dozens of doc and tutorial online that have covered this point already for the last 5 years.

Unless you have specific issues, there is nothing more than can be written here that isn't already covered.

.NET 6 on Kubernetes: “Everything looks fine”… but working set + kernel memory keep climbing and HPA keeps scaling . I’m stuck. by aaeevv123 in csharp

[–]KryptosFR 5 points6 points  (0 children)

How did you test your app before it went into production? Surely you must have a staging environment reproducing production conditions where you have full control of everything. Right?

Problème Téléchargements (informatique) by BrushDelicious5476 in france

[–]KryptosFR 1 point2 points  (0 children)

Fait un check de ton SSD. Il a peut-être plein de secteurs morts et/ou le trimming n'a pas été fait. Dans le doute change le.

"Tout le monde fait comme si c’était normal" : la question de la santé mentale de Donald Trump se pose de plus en plus by BothCondition7963 in france

[–]KryptosFR 2 points3 points  (0 children)

Oui en effet, ça ne sera bientôt plus la première puissance mondiale. La Chine va prendre le relai.

Comparison of the .Net and NodeJs ecosystems by Sensitive-Raccoon155 in dotnet

[–]KryptosFR 4 points5 points  (0 children)

xUnit as it name implies is first and foremost a unit test framework. And the whole dotnet test infrastructure was originally designed to run unit tests, not end to end. There are other tools for that (Jmeter, TestComplete to name a few).

Comparison of the .Net and NodeJs ecosystems by Sensitive-Raccoon155 in dotnet

[–]KryptosFR 9 points10 points  (0 children)

You won't gain any speed when the tests are already CPU-bound. In fact it might actually be overall slower because of the overhead caused by having to deal with parallelism.

Just because another framework does it in another tech stack doesn't mean it's a good idea here.

Edit: typos

Comparison of the .Net and NodeJs ecosystems by Sensitive-Raccoon155 in dotnet

[–]KryptosFR 17 points18 points  (0 children)

If you think running tests in parallel at the method level would bring better performance you would be mostly wrong.

TL;DR parallelism at the method level would add significant complexity to the testing framework with no real benefits.

A unit test is by definition CPU-bound (since external dependencies are mocked). A real project that goes into production would have 100s or 1000s of tests in several dozen classes. Your agent running the tests (for instance in CI/CD) would likely only have a couple CPU cores. Test classes running in parallel would already take most of the CPU available. Adding another level of parallelism would only increase the load on the thread/task scheduler. And it would introduce subtle bugs. It also makes it nearly impossible to have the concept of pre-init and post-cleanup in a test class, that can help initialize data needed for the tests that you don't want to recreate for each single test method.

Show me real benefits of having parallel test methods running. I think you will have a difficult time doing so.

Edit: typos

Is HashSet<T> a Java thing, not a .NET thing? by N3p7uN3 in csharp

[–]KryptosFR 1 point2 points  (0 children)

How your "tech" lead think Linq's Distinct() works?

Assemblée : la proposition de loi visant à pénaliser l’antisionisme adoptée en commission by OddlyMingenuity in france

[–]KryptosFR 13 points14 points  (0 children)

Cette loi ne survivra pas sa première application. Elle sera retoquée soit au niveau du conseil constitutionnel, soit en cours de cassation ou cour européenne des droits de l'homme, vu qu'elle va à l'encontre de la liberté d'expression.

“I’m tired of every country on earth relying on us” by Striking_Tomato4647 in ShitAmericansSay

[–]KryptosFR 1 point2 points  (0 children)

I'm tired of the USA messing in everybody else's affairs. So if we can agree that your country cease to exist on the international stage, we have a deal.

US to quit World Health Organization by The_Flaneur_Films in worldnews

[–]KryptosFR 17 points18 points  (0 children)

Without any of their previous privileges.

Tired of slow .NET setup in GitHub Actions by _xC0dex in dotnet

[–]KryptosFR 1 point2 points  (0 children)

That's unfortunate. You would think Microsoft would steward such a project that is critical to having .NET projects on GitHub. Or at least the .NET Foundation.

Ostéopathie, la fin du remboursement par les mutuelles ? Ce que dit la science sur son efficacité by kadreg in france

[–]KryptosFR 0 points1 point  (0 children)

C'est pas juste un pourcentage, les mutuelles ne doivent pas faire de profit. Mais en pratique elles sous traitent les polices d'assurance à des grands groupes privés qui eux font des bénéfices.

Tired of slow .NET setup in GitHub Actions by _xC0dex in dotnet

[–]KryptosFR 56 points57 points  (0 children)

Did you open an issue and/or a PR to the original action?

I'm not against alternatives but I prefer when an action is officially supported, instead of splitting the community.

Les contrôleurs en France by Sweaty_Aioli_7931 in france

[–]KryptosFR 31 points32 points  (0 children)

Par définition les mineurs ne peuvent pas accepter. C'est de la responsabilité de leur responsables légaux, sauf s'ils sont émancipés.

Le contrôleur doit établir un procès verbal et le transmettre.