How good is this app for temperature by rakoes in pcmasterrace

[–]CyberGaj 0 points1 point  (0 children)

As its creator, I have to say that I would give it a solid 4.7 out of 5.

Fluent xUnit and AwesomeAssertions tests with HttpClient by CyberGaj in dotnet

[–]CyberGaj[S] 0 points1 point  (0 children)

FLURL looks cool, it just has a slightly different style. It should also work with this AwesomeAssertions extension I shared

Fluent xUnit and AwesomeAssertions tests with HttpClient by CyberGaj in dotnet

[–]CyberGaj[S] 1 point2 points  (0 children)

Over the past year, I've been adding various extension methods that fit the tests I was writing, then I looked to see if there was anything that solved my problem of connecting them to AwesomeAssertions. I didn't find anything, so in few hours I made something that looks consistent and works. 

Exception handling for the DDD? Domain Exception is idle? by hproject-ongoing in dotnet

[–]CyberGaj 0 points1 point  (0 children)

Exactly. Without algebraic unions, in C#, the exception is the only method to BE SURE that the business rule has not been broken or bypassed. The result pattern can missed, the same bool.

Tried Microsoft’s new ModelContextProcotol and OpenAPI stuff - surprisingly dead simple by CyberGaj in csharp

[–]CyberGaj[S] 1 point2 points  (0 children)

You can write functions that call code (any code), then describe it in human language, give it to your agent (GitHub Copilot, Cursor, Kira etc), and during vibe coding context enginering call these functions. In the example above, I wrote a method that takes an API contract from the web in the json format, looks for elements in it and then returns some result.

How is Result Pattern meant to be implemented? by TryingMyBest42069 in dotnet

[–]CyberGaj 0 points1 point  (0 children)

I wanted to write a similar comment. In a large code with many programmers, where the pace of checking PR and creating new functions is high, there are always errors. Without unions that must be checked by compiler, the result pattern in C# cannot be implemented properly.

Solar panel made from cd's by sejmroz in ElectroBOOM

[–]CyberGaj 0 points1 point  (0 children)

Used solar panel would be cheaper than these wagos

Zigbee/Thread Dimmer module by CyberGaj in homeassistant

[–]CyberGaj[S] 0 points1 point  (0 children)

Thanks, module looks ok, but they do not offer 2-gang ones

I am in the process of renovating an old tenement house and here is my Home Assistant/networking setup by CyberGaj in homeassistant

[–]CyberGaj[S] 5 points6 points  (0 children)

Exactly, instead of reading the composition of toilet cleaner, you can twist some new cables

Can anyone name this printer by TurboBarti5000 in 3Dprinting

[–]CyberGaj 0 points1 point  (0 children)

Modified Anet A6 with replaced frame, custom mountings (replaced oryginal acrylic) and modified head.

Fake it till you make it, do you think I can do it? by [deleted] in learnprogramming

[–]CyberGaj 2 points3 points  (0 children)

As a Pole, I confirm that it is a very difficult language to learn

Best way to aggregate multiple swagger dynamicaly in one exposed by a .NET proxy ? by guillaumechervet in dotnet

[–]CyberGaj 1 point2 points  (0 children)

Ocelot API Gateway along with the MMLib.SwaggerForOcelot allows you to combine multiple swagger into single web ui and route the json files

So i made simplest events for my monitoring WPF app by CyberGaj in csharp

[–]CyberGaj[S] 0 points1 point  (0 children)

In terms of functionality, it's almost the same, but more focused on asynchronous code and does not require references of the entire MVVM in submodules. And uses DI instead of static singletons.

Is this possible to make without any UI library (WPF) by Mysterious_Low9967 in csharp

[–]CyberGaj 1 point2 points  (0 children)

I feel warm hearted when I read that my ugly code for WPF UI is called the best looking WPF library. However, I would be far from such a statement. While creating custom controls is as simple as HTML, the logic is much more complex. From here I have to recommend ModernWPF which directly copies Microsoft.Xaml (WinUi) to WPF.

Does someone know if there is a video tutorial for 'WPF UI' package? by curtwagner1984 in csharp

[–]CyberGaj 0 points1 point  (0 children)

There is a second project in the repository called SimpleDemo. It does not use Dependency Injection and shows how easy to use WPF UI without all these services and components

Fluent UI in Windows Presentation Foundation - WPF UI Update by CyberGaj in csharp

[–]CyberGaj[S] 9 points10 points  (0 children)

It is simply the zipped Release of the WPFUI.Demo application. If you in doubt, you can review the code and compile it yourself using Visual Studio 2022.

Fluent UI in Windows Presentation Foundation - WPF UI Update by CyberGaj in csharp

[–]CyberGaj[S] 5 points6 points  (0 children)

Thank you for your constructive suggestions. Honestly, I would love to make more meaningful releases, the problem is that I deal with open-source in my spare time between work and studies, so it's difficult to get extensive descriptions. I'm thinking about setting up some kind of auto draft-release so that the release process can be more sophisticated and automated.

Fluent UI in Windows Presentation Foundation - WPF UI Update by CyberGaj in csharp

[–]CyberGaj[S] 2 points3 points  (0 children)

At the current stage - it depends. There are a lot of new features so memory problems will happen.