Toots for nietras@mastodon.social account

Written by nietras 👾 on 2025-01-21 at 13:55

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

Written by nietras 👾 on 2025-01-19 at 15:59

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

Written by nietras 👾 on 2025-01-14 at 11:07

[#]dotnet Asynchronous Programming Guidance by @davidfowl

https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md

=> More informations about this toot | View the thread

Written by nietras 👾 on 2025-01-13 at 11:09

@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

Written by nietras 👾 on 2025-01-13 at 10:03

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

Written by nietras 👾 on 2024-12-09 at 14:33

Sep perf on #Apple #M1 #dotnet 9

=> View attached media

=> More informations about this toot | View the thread

Written by nietras 👾 on 2024-12-09 at 14:33

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

=> View attached media

=> More informations about this toot | View the thread

Written by nietras 👾 on 2024-12-06 at 17:56

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

Written by nietras 👾 on 2024-12-01 at 14:08

Uh oh, I broke #dotnet #csharp 😅

error MSB6006: "csc.exe" exited with code -2146232797.

=> More informations about this toot | View the thread

Written by nietras 👾 on 2024-11-28 at 11:36

[#]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

Written by nietras 👾 on 2024-11-24 at 12:09

sharplab.io link:

https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AXEBLANmgExAGoAfAAQCYBGAWACgGA3AQygAIn2BedgWUoAKAAxp21MZQCUAbgYNy1JOwDKABxYA7ADzZNGAHz9qg9Vt36jegtjAwAzlJ5XNNu/bn1Fyszr2H+IQ0oFgBbe1UNP0t2a1sHJ24XNwdPb0jzfyM+AGZBe0g1GAIM6IC490Tk+I8GIA==

=> More informations about this toot | View the thread

Written by nietras 👾 on 2024-11-24 at 12:09

[#]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

Written by nietras 👾 on 2024-11-21 at 11:33

[#]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.

=> View attached media

=> More informations about this toot | View the thread

Written by nietras 👾 on 2024-11-15 at 12:06

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

Written by nietras 👾 on 2024-11-13 at 14:35

[#]dotnet 9, just migrated a large project to 9, but then observing dotnet format never finishing during CI, it works fine locally... 🤔

=> View attached media

=> More informations about this toot | View the thread

Written by nietras 👾 on 2024-11-12 at 20:31

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

=> View attached media

=> More informations about this toot | View the thread

Written by nietras 👾 on 2024-11-09 at 13:24

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

Written by nietras 👾 on 2024-10-26 at 09:50

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.

=> View attached media

=> More informations about this toot | View the thread

Written by nietras 👾 on 2024-10-25 at 12:57

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

Written by nietras 👾 on 2024-10-08 at 19:45

[#]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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109423058766359315
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
364.231944 milliseconds
Gemini-to-HTML Time
6.996984 milliseconds

This content has been proxied by September (3851b).