Thank G-d for StackOverflow
I have just run into a problem: a test passes fine on the CI sever, but breaks on my machine. Reason: it gets a wrong config file. Root cause: when […]
I have just run into a problem: a test passes fine on the CI sever, but breaks on my machine. Reason: it gets a wrong config file. Root cause: when […]
The following code does not work as expected: $xml = simplexml_load_string(“<root><a/><b>text</b></root>”); $node = $xml->xpath(“/root/a”)[0]; if ($node) process($node); // process($node) may not be called for some valid nodes Unlike most other […]
I have discovered a bug in PHP 5.4.4: a simple XPATH does not work. $xml = simplexml_load_string(“<root><a/><b>text</b></root>”); $node = $xml->xpath(“/root/b”)[0]; // $node is null $node evaluates to FALSE This is […]
TL;DR: XML signatures are trouble, because they are ridiculously hard to implement right. XML signatures in PHP are double trouble, because of lack of decent libraries. .NET security libraries are […]
I did a clean install of Windows 10 on a brand new SSD. Good things: It was relatively straightforward and quick. It also rebooted seamlessly without requiring me to remove […]
I was sitting in a Dairy Queen this afternoon thinking about random stuff and suddenly this question hit me: who loads the library that implements LoadLibrary? Isn’t it some kind […]
CodeProject We have recently been fighting a weird problem in our .NET application that was caused by a duplicate WM_KEYDOWN message. It relatively is easy to figure out who receives […]
We just ran into a very funny story with UNICODE identifiers in C#. It turned out that an identifier like ХTranfer was spelled with Russian letter Х (U+0425) instead of […]
I was recently tasked with creating a Windows Store (Metro, WinRT) version of an existing app. This is my first WinRT project. Documenting my experience so far: 1. So called […]
Long, long time ago in the galaxy not so far away I installed mySql 5.05 on my server. After some time I decided to upgrade to the current version, MySql […]