AxCoder's profile picture. Senior C# backend developer

Maxim Belugin

@AxCoder

Senior C# backend developer

AI powered supply chain attack

* People ask LLMs to write code * LLMs recommend imports that don't actually exist * Attackers work out what these imports' names are, and create & upload them with malicious payloads * People using LLM-written code then auto-add malware themselves vulcan.io/blog/ai-halluc…



Interesting non-obvious behavior of structs and generics in C# axcoder.github.io/Structs-Puzzle… #csharp #dotnet #generics #structs


Maxim Belugin reposted

An audio recording of a lock being opened provides enough data to reproduce the key required to open that lock, even with a cell phone's microphone.


Maxim Belugin reposted

The spacebar slide works!

ask_aubry's tweet image. The spacebar slide works!

An interesting approach like approvaltests.com . IMO that can be used as pinning tests for limited amount of scenarios, but for most of cases explicit declaration of assertions is preferable. TaxAmount.Should().Be(Base * Rate) is more readable than TaxAmount.Should().Be(15)


Maxim Belugin reposted

The biggest bugfix actually required me to build a private copy of System.Windows.Forms.dll 😬 .NET 7 shipped with a nasty bug in Form.ShowDialog(), and a fix is being fast-tracked for the 7.0.2 servicing release in January. github.com/dotnet/winform…


Sarted using conventionalcomments.org with emoji Like: 💡suggestion: consider renaming <this> to <that> #codereview


Maxim Belugin reposted

😢 R.I.P. Fred Brooks was the author of "The Mythical Man Month" a book that was hugely influential on so many of us. Also his paper "No Silver Bullet" would be on most people's shortlist of most influential papers.

This post is unavailable.

want to feel miserable - try to upgrade dependencies in unknown ecosystem (tried with react+npm and java+gulp recently)


Maxim Belugin reposted

“XML provides a proper engineering solution to data exchange, so we use JSON instead. JSON gives software developers a more convenient experience by not addressing the hard problems that XML took on.”


Coverage does not guarantee the code is tested. Absence of coverage guarantee the code is not tested.


Loading...

Something went wrong.


Something went wrong.