@nietras@mastodon.social avatar

nietras

@nietras@mastodon.social

Systems and machine learning programmer pushing .NET performance to the limits for real-time 24/7 edge applications.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nietras, to dotnet
@nietras@mastodon.social avatar

"Automate your .NET SDK updates for consistent and reproducible builds with global.json and Renovate"

https://anthonysimmon.com/automate-dotnet-sdk-updates-global-json-renovate/

#dotnet

nietras, to dotnet
@nietras@mastodon.social avatar

New blog post "Phi-3-vision in 50 lines of C# with ONNX Runtime GenAI"
👇
https://nietras.com/2024/06/05/phi-3-vision-csharp-ortgenai/

Phi-3-vision is multi-modal and supports image + text inputs.

#dotnet #csharp #LLM #AI

video/mp4

nietras, to dotnet
@nietras@mastodon.social avatar

What options are there to improve Parallel.For runs when WorkerThreadStart is taking 70% of CPU usage?

#dotnet #csharp

nietras,
@nietras@mastodon.social avatar

@cincura_net https://github.com/nietras/Llm.cs WIP, dotnet run Llm.csproj, first time will download some data. Port of @karpathy llm.c.

nietras,
@nietras@mastodon.social avatar

@cincura_net running code on another machine (with 16c/32t vs 8c/16t) and the RtlUserThreadStart Self CPU drops to ~1% (from 70%). Could this just be a profiler issue?

nietras,
@nietras@mastodon.social avatar

@cincura_net it's vs profiler, sampling, with high 4 khz sampling. could def. try perfview.

nietras,
@nietras@mastodon.social avatar

@KirillOsenkov @cincura_net turns out by refactoring some code out from delegate (lambda) to static methods then vs profiler reports it correctly. Guess would be code in delegate somehow causes stack frame to be incorrectly reported as top frame of thread start. Or something 😅

jeremydmiller, to random
@jeremydmiller@hachyderm.io avatar

One of my clients has a very strict StyleCop setup, and anytime I write code in their codebase, I spend more time dealing with fussy whitespace rules than I do thinking about the actual work

nietras,
@nietras@mastodon.social avatar

@jeremydmiller @simoncropp editorconfig and cleanup on save in vs works fine. we enforce dotnet format in our ci and its been nice to not have to deal with idiosyncratic dev formatting. you can just call dotnet format before pushing.

xoofx, to dotnet
@xoofx@mastodon.social avatar

As spotted by @mzikmund https://www.youtube.com/watch?v=wzMMclD8QsI there is a potential new slnx format coming to Visual Studio, which is very welcome, but it might not be MSBuild based which is quite an unexpected and unproductive solution (haha 😁)

So, just shared my comment on the issue directly https://developercommunity.visualstudio.com/t/Clean-up-sln-VisualStudio-solution-fil/988209#T-N10636836 📢

Note that, it's not like I love MSBuild, but it is what we have today for authoring and building projects in VS/cmdline and so, let's not repeat the project.json mistake. 👀

#dotnet

nietras,
@nietras@mastodon.social avatar

@xoofx @mzikmund was this not developed in the open?

agocke, to random
@agocke@hachyderm.io avatar

@danluu Q re: your blogging software. I notice your blog almost never has inline code. Is that deliberate? If you were to put inline code, how would you format it? Would you be able to meet your performance goals with the more complex rendering and (potential) JS usage?

nietras,
@nietras@mastodon.social avatar

@agocke @danluu html?

Like many statically generated blogs like my own nietras.com

nietras, to dotnet
@nietras@mastodon.social avatar

Sep 0.4.0 takes the crown as fastest single and multi-threaded #dotnet CSV parser. Results are a bit unrealible though perhaps due to thermal built up from the slow ones 😅
https://github.com/nietras/Sep

ncsvperf sep only

nietras,
@nietras@mastodon.social avatar

Switching to #dotnet 8 and server GC and perf is insane. That's 147 ns per row. 🚀
And this is just the NCsvPerf/PackageAssets benchmark. For floats Sep is up to 35x faster than CsvHelper, see readme at:
https://github.com/nietras/Sep

nietras, to dotnet
@nietras@mastodon.social avatar
khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

As we go into the home stretch, I was curious about today's health of the #dotnet #oss ecosystem.

At the beginning of the year, there were 313,365 unique packages listed in search, and as of December 1st, it is 355,127 packages. A difference of 41,762 packages.

The growth is about about 126 unique packages uploaded a day.

What do you think about that trajectory? Good? Expected? Bad?

Boost for reach.

nietras,
@nietras@mastodon.social avatar

@khalidabuhakmeh I think I published a couple hundred this year, so think sounds expected 😉

nietras,
@nietras@mastodon.social avatar

@khalidabuhakmeh native libraries for machine learning. These are massive, had to be split into several files to serve on nuget. Build a small tool/library for this, concept means a lot of packages, since supporting various forms incl. runtime.json, and per dll/file. Packages prefixed with NtvLibs can be found on nuget. General problem in ML is everybody packages up things separately, makes it hard to combine or reuse.

nietras, to dotnet
@nietras@mastodon.social avatar

New blog post ".NET and C# Versions - 8/12 Update" with #dotnet 8 and #csharp 12 updates. Celebrating #dotnetconf day and the imminent release of both.
👇
https://nietras.com/2023/11/14/dotnet-and-csharp-versions/

cc @shanselman @davidfowl @tannergooding Repost 🤞😁

nietras, to dotnet
@nietras@mastodon.social avatar

Sep is now "officially" the fastest (and most efficient) #dotnet csv parser as @joelverhagen has updated his blog post "The fastest CSV parser in .NET" with new entries.
👇
https://www.joelverhagen.com/blog/2020/12/fastest-net-csv-parsers
PS: Yes I'm ignoring the parallized entry cause that's just unfair... 😅

nietras, to dotnet
@nietras@mastodon.social avatar
khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

If you’re worried about being part of layoffs at a big tech company, I have some solid advice. For increased job security, consider changing your name to the following options:

  • RTX 4090
  • Tensorflow
  • ChadGPT or BradGPT
  • RX 7900 XTX
nietras,
@nietras@mastodon.social avatar

@khalidabuhakmeh H100 better.

poppastring, to random
@poppastring@dotnet.social avatar

I miss long form content produced by the tech community.

If there are technical bloggers out there (with rss feeds) that are still sharing long form technical content please share your blogs.

nietras,
@nietras@mastodon.social avatar
nietras, to programming
@nietras@mastodon.social avatar

New blog post "Introducing Sep - Possibly the World's Fastest .NET CSV Parser".
#dotnet #csharp
cc @xoofx (thanks for ARM benchmark runs), @tannergooding
👇
https://nietras.com/2023/06/05/introducing-sep/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • lostlight
  • All magazines