-
AI and difficult programming task–part1
OpenLiveWriter , https://github.com/OpenLiveWriter/OpenLiveWriter , it is a good editor to write blog posts. I use him for this blog . I plan the blog posts in advance – mostly the friday links , https://msprogrammer.serviciipeweb.ro/category/friday-links/ , that comes from my browser bookmarks. As OpenLiveWriter saves the drafts into a specific folder in a specific format (…
-
AI and most used path
TL;DR : he problem with AI is that he is giving solution – most precisely, the most used solution. Not the best one, but the most used . I have had to export a DTO to HTML . There are multiple ways to do that . One is to add HTML code into a string…
-
Friday links 519
Displaying recent browsing history – CodeProject 10 Lessons I Learned from Using Aspire in Production Building pipelines with IAsyncEnumerable in .NET big list – “Almost true”: non-trivial claims that have exactly one counterexample – Mathematics Stack Exchange dotnet scaffold – Next Generation Content Creation for .NET – .NET Blog Glide.js | A dependency-free JavaScript ES6…
-
RSCG – Comparison
RSCG – Comparison name Comparison nuget https://www.nuget.org/packages/ReflectionIT.ComparisonOperatorsGenerator/ link https://github.com/sonnemaf/ReflectionIT.ComparisonOperatorsGenerator author Fons Sonnemans If you want to generate comparison operators for your classes, startin with IComparable This is how you can use Comparison . The code that you start with is The code that you will use is The code that is…
-
RSCG – NativeObjects
RSCG – NativeObjects name NativeObjects nuget https://www.nuget.org/packages/NativeObjects/ link https://github.com/kevingosse/NativeObjects author Kevin Gosse Object to IntPtr and back This is how you can use NativeObjects . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/NativeObjects
-
RSCG – immediate.apis
RSCG – immediate.apis name immediate.apis nuget https://www.nuget.org/packages/immediate.apis/ link https://github.com/immediateplatform/immediate.apis author Stuart Turner Defining APIs in classes instead of in minimal API or controllers This is how you can use immediate.apis . The code that you start with is The code that you will use is The code that is generated is…
-
AI and clean a .NET solution of warnings
This is about how I wanted to clean a C# solution of warnings. The solution had a lot of warnings, and I wanted to remove them. I started with a simple prompt to remove all warnings, but that didn’t work. The number of iterations were : 17 For the ones in a hurry ,this is…
-
AI and upgrading WordPress- part 4- four points to work with AI
The task was to upgrade a WordPress blog to the latest version, keeping ONLY comments and posts . Using AI You could do one solution architecture per day and going far , far away by letting AI to generate code. Also, if it is wrong, I do another one next day . Caveat Do…
-
Aspire and upgrading WordPress–programming
Now the problem was how to modify the insert generated by old WordPress backup to the new columns . But I wanted to do it in one shot . So a new application: instead of WSL, I will put into Docker( WordPress has already a docker image). Instead of PowerShell, I will have a .NET…
-
AI and upgrading WordPress–part 2 – wishfull thinking and wordpress in WSL
So I have a backup of blog WordPress ( posts and comments ) and all I want is to upgrade to latest WordPress, keeping the posts and comments ( and none of customizations, users and others) I figure out that I have WSL under Windows – and WordPress is PHP, so it should work .…
I am ok , you are ok