.NET string comparison is not lexicographical
This Friday I wrote a unit test and to my astonishment I have found that “a” < “A” < “ab”, with .NETÂ InvariantCulture and InvariantCultureIgnoreCase string comparers. That means that .NET […]
This Friday I wrote a unit test and to my astonishment I have found that “a” < “A” < “ab”, with .NETÂ InvariantCulture and InvariantCultureIgnoreCase string comparers. That means that .NET […]
HTML entities are taking over. Here’s what I saw today in our local Target:
I was testing various sorting algorithms, so I had a base class that SortTestBase that contained actual tests and accepted the algorithm in the constructor, and derived classes that supplied […]
I heard all the buzz about 3D Earth view in Google Maps, but it did not work in my Chrome browser at home. I initially thought Google is doing some […]
A few days ago I ran into a situation when I forgot to add –no-ff when merging a feature branch into master. The result was a mess. State before the […]
If you wish to access standard input and output in your WPF app, you will have to compile it as a Console app and fire up the WPF application object […]
I have just spent a few fun hours fighting Apache rewrite rules in an .htaccess file. It turns out that temporary redirects just work, but permanent redirects require RewriteBase! Frankly, […]
I needed to move my virtual machine from one MSDN subscription to another. There is a “Move” option in Azure portal, but it works only if you can access both […]
Hurrah, our project actually has a class named (Something)TemplateFactoryBuilder! What does it do? Well, it’s very easy. It takes a serialized string and creates a factory, which will produce a […]
DotNetCore provides two types of installs: framework-dependent install and self-contained install. I tried to compile a hello-world app on Windows and run it on Ubuntu that has neither dotnetcore SDK […]