Renovate is damn nice, even picks up default branch renames e.g. from master to main on Azure DevOps.
https://nietras.com/2024/07/09/renovate-azure-devops/
=> More informations about this toot | View the thread
Should Sep (my #dotnet csv library) call ConfigureAwait(false) on all internal async/await calls for new async support? This appears to be recommendation, but this seems to assume one always wants to move work to thread pool...
=> More informations about this toot | View the thread
[#]dotnet Asynchronous Programming Guidance by @davidfowl
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md
=> More informations about this toot | View the thread
@tannergooding arguably the output is more consistent with (byte)(uint) output so perhaps this is why this has changed, just surprised by the silent change.
=> More informations about this toot | View the thread
WTH 😅 #dotnet 8 vs 9 SIMD output is different for simple float to byte conversion apparently due to Vector.ConvertToUInt output is now different?
cc @tannergooding
.NET SDK 9.0.101, x64, AMD 5950X
=> View attached media | View attached media
=> More informations about this toot | View the thread
Sep perf on #Apple #M1 #dotnet 9
=> More informations about this toot | View the thread
New blog post "Sep 0.6.0 - CSV Trim Support, .NET 9 and New Benchmarks incl. Apple M1"
👇
https://nietras.com/2024/12/07/sep-0-6-0/
[#]dotnet #csharp
=> More informations about this toot | View the thread
I have spent a lot of time optimizing my #dotnet CSV parser Sep (https://github.com/nietras/Sep) to be insanely fast and efficient... sometimes I wonder why...
I definitely did today when I found out that to change the name of column of a 2GB csv file that is in the first line of the file, the file was read into memory as a single string and then Replace(..) called on the entire file... 😅 It's a good thing #dotnet is damn fast!
=> More informations about this toot | View the thread
Uh oh, I broke #dotnet #csharp 😅
error MSB6006: "csc.exe" exited with code -2146232797.
=> More informations about this toot | View the thread
[#]dotnet #csharp my new favorite ReadLine pattern using "is string", no need for out of loop variable.
using var reader = new StringReader("1\n2\n3\n");
while(reader.ReadLine() is string line)
{
Console.WriteLine(line);
}
while(await reader.ReadLineAsync() is string line)
{
Console.WriteLine(line);
}
https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AXEUCuA7NAExAGoAfAWACgABAJgEZqaAGAAhoYDoBJAeQDc1ZuwBuAQyhtY4wjCkBeNnhgB3NgGUMUAJZ4A5gCUYs+QAoARAwA6eOrYDMtiwEohVVQAsdAGxhmZOSguY1kAGT1/FzYdAGcOBnYfSJdqAG9qNiyEgE4zZJU3agBfai9ffxoc6RMgkNqIlQBBWIBPPDAzaLiEpJT0zOzOPIKYIqpSqiA
=> More informations about this toot | View the thread
sharplab.io link:
https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AXEBLANmgExAGoAfAAQCYBGAWACgGA3AQygAIn2BedgWUoAKAAxp21MZQCUAbgYNy1JOwDKABxYA7ADzZNGAHz9qg9Vt36jegtjAwAzlJ5XNNu/bn1Fyszr2H+IQ0oFgBbe1UNP0t2a1sHJ24XNwdPb0jzfyM+AGZBe0g1GAIM6IC490Tk+I8GIA==
=> More informations about this toot | View the thread
[#]dotnet/#csharp 13.0 params question. Given:
static Span M1(Span indices) => indices;
static Span M2(params Span indices) => indices;
static Span M3(scoped Span indices) => indices;
It seems params implies "scoped", and that thus M2 and M3 fail to compile with.
error CS8352: Cannot use variable 'scoped Span indices' in this context because it may expose referenced variables outside of their declaration scope
What options are there to "unescape" this?
=> More informations about this toot | View the thread
[#]TokenPollution
A prime example of how generative AI is increasing noise, reducing information density and polluting the world. Here Google Chrome.
Sender uses #AI to generate extra and irrelevant text for a simple question in chrome.
Receiver of course doesn't read this but uses #AI to create a lengthy reply based on a massive #LLM in the cloud.
Sender receives the lengthy reply, uses #AI to summarize to "yes" or "no".
The extent of #TokenPollution is mind boggling.
=> More informations about this toot | View the thread
Why are people moving to bsky another "single company" and algorithmic feed social media? Instead of coming to fediverse, purely chrono feeds etc?
=> More informations about this toot | View the thread
[#]dotnet 9, just migrated a large project to 9, but then observing dotnet format never finishing during CI, it works fine locally... 🤔
=> More informations about this toot | View the thread
New blog post ".NET and C# Versions - 9/13 Update" on the day that #dotnet 9 and #csharp 13 are released!
👇
https://nietras.com/2024/11/12/dotnet-and-csharp-versions/
cc: @davidfowl @shanselman @csharpfritz @alvinashcraft
=> More informations about this toot | View the thread
https://superuser.com/questions/1839066/how-to-ask-windows-task-manager-to-automatically-maximize-on-startup
I can't believe this is still an issue in Windows 11. Task Manager refuses to remember and start as maximized. #Windows
=> More informations about this toot | View the thread
For the few in the know and who care. Just finished uploading new 325 NtvLibs.*
#dotnet #nuget packages totalling 6.4GB for fine granular use with #ONNX Runtime and similar. Includes ORT 1.19.2, cuda 11, cuda 12, cudnn, tensorrt.
=> More informations about this toot | View the thread
Trying to push 325 #dotnet nuget packages to nuget and...
error: Response status code does not indicate success: 403 (Quota Exceeded)
doh! 🤦♂️
=> More informations about this toot | View the thread
[#]dotnet
SponsorLink v2: A New Hope
https://www.cazzulino.com/sponsorlink2.html
=> More informations about this toot | View the thread
=> This profile with reblog | Go to nietras@mastodon.social account This content has been proxied by September (3851b).Proxy Information
text/gemini