@Paxxi That's why I opened the original issue in the 1st place, then It was said that it might break too many folks relying on the existing broken behavior, so I'm trying to introduce a new API, now maybe it might be possible to actually break the existing behavior which seems to be an unintentional change ๐
Hey, late Saturday night, but I just released a new .NET library https://github.com/XenoAtom/XenoAtom.CommandLine Finally a lightweight command line parser compatible with NativeAOT, a direct fork/descendant of NDesk.Options/Mono.Options supporting all its features - and more! and the easiness of using it! ๐ฅณ
@khalidabuhakmeh yes, I'm using ISpanParseable<T> instead of TypeConverter which makes it fully aware of the types/methods that it needs to compile. Often existing command line parsers are including stuffs like declaring options by putting attributes on fields/properties and other similar stuffs, so they have to rely more heavily on System.Reflection and are are usually less NativeAOT friendly. Some are doing source generator, and while it could be nice, it feels overkill.
@khalidabuhakmeh Ah, yeah, having enough time to code in my sparetime for all the things I want to do is already challenging, so blog posts are even harder! ๐
If you use Mastodon on desktop (as opposed to mobile), I cannot praise highly enough Phanpy https://phanpy.social/#phanpy
It really cleans up my timeline, handles replies very nicely, and allows for a great "refresh" (view updates) experience.
Join Chris Klug and me today on our latest Livestream. I think this is a spicy ๐ถ๏ธ take, and Iโm curious how many folks agree or disagree with the guest regarding #dotnet#entityframework?
"Stop using Entity Framework as a DTO provider!โ
@khalidabuhakmeh Agree, though, I would believe that what Chris is describing with his wrapper over DTO is closer to the more conventional concept of a "ViewModel" over "Model", or am I missing something? A ViewModel doesn't have to be solely designed for an UI scenario, it can be designed for e.g higher level Web API
It's a little sad that after all these years I again find myself without an obvious day to day code editor.
Sublime Text is good... but when I work with Python I want Copilot and Copilot plugin for ST is bad. Python and C++ navigation is also very hit-and-miss out of the box.
VS Code has great Copilot integration and surprisingly good code navigation... but it locks up and becomes way too slow once in a while, requires occasional restarts, has weird UX in places, and nav breaks occasionally.
I have been using many of their full IDE products in the past 25 years and I would not compare the code editor you mention as featured as the one from Jetbrains (they are closer to enhanced text editors than complete IDE)
Oh that's a fun bug! So Unity has both Matrix4x4 and float4x4, and the have slightly different syntax, but close enough. The big difference is float4x4 is significantly faster. So a lot of people replace one with the other - happy.
BUT....
To do matrix multiplication with Matrix4x4, you do a = b*c.
To do it with float4x4 you have to do a = math.mul(b,c)
OK whatever. The problem is that a=b*c COMPILES FINE. It just does the componentwise multiply is all.
@TomF@jvalenzu The initial decision was to use HLSL so that you could copy HLSL snippet code and it would work almost out of the box. HLSL uses per-component operations for regular multiply operator, so we used that. It makes it consistent with the other types.
In a windows application, is there a documented way to detect if it's running on the SteamDeck? I want to do this early at startup before initializing a Vulkan device. Can this be inferred from GetVersion, GetComputerName, or one of these Windows APIs?
Time from Ubuntu install to jank? This time, about 10 maybe 20 seconds. "Go to the store to install these apps" -> "Install VLC" -> no progress, button still shows the green "install" -> click again -> crappy error string. That was fast! Right there on the "golden path".
@meziantou Disasmo is really the top 1. Primarily because the integration with VS is the killer feature... Also, not only it can dump static compilation, but it can run your program and dump JIT asm after Tiered Compilation+PGO has been doing its work. Also recently Egor added support for NativeAOT.
@khalidabuhakmeh@meziantou yeah, for sure, I can't live without it these days. When I develop, I can almost use it daily and hit the SHIFT-ALT-D key several times a day. โบ๏ธ
Ideally it would be great if it was coming with similar feature to what Disasmo is providing under VS (direct shortcut, options to tweak compiler mode, asm diffs...etc.)
The code is OSS so I believe that reusing some parts for an extension for Rider would not be lots of work for someone familiar with Rider plugins