You ain't gonna need it… You ain't gonna need it…
Two parables about the YAGNI principle: both true stories. Long time ago in a company far far away there was a piece of software. Every time we designed a new […]
Two parables about the YAGNI principle: both true stories. Long time ago in a company far far away there was a piece of software. Every time we designed a new […]
I have been working with Git for about a year now, and I think I am ready for some summary. Before Git, I used SVN, and before it Perforce, TFS, […]
In a nuthsell, SimpleXMl has two things broken: 1. Elements that represent “emtpy” tags evaluate to false. This is weird design. 2. Other elements sometimes evaluate to false due to […]
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 run into the same story time and time again. Someone stumbles upon a bug that they cannot explain. All plausible reasons are eliminated, but it still does not work. […]
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 […]
“I can’t imagine naming a column “WasDeleted” under any circumstances. If it’s set to false, it’s redundant; if it’s set to true, it’s a lie. :)” http://ayende.com/blog/4157/avoid-soft-deletes, comment by Phil
I just accidently gave .EXE extension to a file that was actually a .ZIP archive and tried to run it on Windows 7. What error do I get? Lo and […]
I was sending some debug output from my CLR stored procedure via SqlPipe.Send() method, and suddenly I received this exception: System.ArgumentException: Message length 4474 exceeds maximum length supported of 4000. […]