The Procrustean bed of Resharper formatting
I was playing with some Javascript in Visual Studio, and I found that it gets annoyingly reformatted every time I end a statement or a block. Visual Studio formatting options […]
I was playing with some Javascript in Visual Studio, and I found that it gets annoyingly reformatted every time I end a statement or a block. Visual Studio formatting options […]
I was installing some web stuff using npm, and noticed that it takes a lot of time on my home computer compared to my work computer. It turned out that […]
I thought that JavaScript arrow functions are just a shorthand notation for regular functions. I was wrong, and I found it the hard way. Arrow function treat ‘this’ keyword differently. […]
Here’s the scenario: the folder named “secure” contains sensitive data and should be protected by user name and password. To redirect all HTTP requests to HTTPS and enforce basic authentication […]
Just found this in production code: var fa = new FileAsset { Hash = tempFile.Hash, Length = tempFile.Length, CreatedOn = DateTime.UtcNow, Data = tempFile.Data, CompressedLength = tempFile.Length, Name = tempFile.FileName, […]
Looking at the famous answer explaining why parsing HTML with RegEx is a bad idea made me wondering: what tool the poster used to type so many diacritics? Quick googling […]
I moved an SSD drive with Windows 10 from one machine to another machine with completely different hardware, and to my surprise it booted successfully! Older versions of Windows would […]
If anyone tells you unit tests are a waste of time, send them to this post. I am in the middle of some major refactoring of our bills generator. Billing, […]
We have run into the strangest thing on our production machines, which are Windows Server 2012. The symptom is that you try to connect to the remote desktop, and immediately […]
Over the Thanksgiving week-end I have moved the blog to an Ubuntu virtual machine and have also changed the WordPress theme. The URL is still the same: http://www.ikriv.com/, but the […]