TypeScript - Getting started in Visual Studio 2015
· ☕ 4 min read
I decided to write this article simply because there are so many outdated answers to this question linked from Google. Here are some of the things you should NOT do: Install Web Essentials Install Node Package Manager Manually adjust project files to enable Typescript transpiler Automatically adjust project files by installing a nuget package Install something that downloads 1000s of files into a folder inside your project and works with fingers crossed.

Atom Editor by GitHub - Worth It?
· ☕ 5 min read
In short, Atom editor by GitHub is well-built, focused on code (there isn’t really anything getting in your way), similar to Sublime. Now I haven’t used Sublime beyond basics and generally favour GUI, rather than command line. Everything can be found via CTRL+SHIFT+P. However, if something can be typed with 5 characters, and it could have also been called with 2 keystrokes, I’d choose the keystrokes approach. I’m not a Sublime user, you guessed it right, won’t be paying 70$ for a fancy text editor, if WebStorm is worth 59$.

C# - Normalize Whitespace Inside String
· ☕ 2 min read
Simple task - replace all sequential whitespace (tabs, spaces, newlines) with your character of choice, usually a space. Fact - StackOverflow is on top in google results, when searching for “C# normalize whitespace”. How to replace multiple white spaces with one white space c# Fastest way to remove extra white spaces Why this article? Highest voted answers are not the best performing, and some answers are just wrong.

C# - Capture Full Stack Trace Inside Catch
· ☕ 3 min read
When you catch an exception, you only have stack trace relative to the catch point. The problem is very clearly described in this article on CodeProject: .NET: Exception stack trace has no frames above the catch point. Why is this important? Suppose the error occurs when sending email and this is a non-critical part of your application. Let’s say you send confirmation emails to clients as part of the ordering process.

Fix Ugly Fonts in Google Chrome 37
· ☕ 1 min read
Problem - after updating to the latest Chrome version (37), fonts look ugly. v37 is supposed to introduce DirectWrite for font rendering, that makes fonts look better. I’m using a non-standard 125% Windows DPI, it could be why they are ugly for me. Solution, as quoted from here: type "chrome://flags/#disable-direct-write" in your Chrome window and click "Enable" on "Disable DirectWrite". DirectWrite should be off.

Good 24IN LCD Monitor For Home/Office Use
· ☕ 4 min read
Modern monitors today have IPS+VA in one, which means great vertical viewing angles and also 100% color gamut reproduction. So one does not need to choose either and just get both, for some 200-250 dollars. However, they only have 1000 static contrast (read below why this was important for me) and many of them suffer from backlight bleed issue (near bottom of the screen), or produce high-pitch noise. Another thing which I found interesting is that not all IPS monitors make up to 100% of the palette, make sure you read description about how much is exactly covered.

Fix HTC Desire 601 signal (Virgin/Bell Canada)
· ☕ 2 min read
Bought this phone on 2-year contract from a Virgin Mobile booth. On a side note, it’s not advertised as “601”, but I figured this one is closest to the specs of the phone being sold in Canada. Anyway, starting day one, this phone was showing wireless signal problems (mobile network). I live in the GTA, your experiences may vary. I used RF Signal Tracker to investigate. Note RF signal tracker is not very stable for monitoring purposes, so for best results leave your phone open/unlocked with screen on.

Runtime Code Coverage (WCF Service)
· ☕ 3 min read
In this article I will provide a workflow for monitoring code coverage in DLLs called from a WCF Service hosted with IIS. You can use this approach to get runtime code coverage metrics from any service, and also for calls made via reflection. Supported processor architectures are x86, x64 and x64 running as x86 mode. These two tools are installed with Visual Studio 2013 (later: VS) VSInstr VSPerfCmd Found under:

Your best developer's PC (ideas)
· ☕ 7 min read
This was originally planned as a series of articles about things to consider when buying/building your developer’s PC at home/work. I never got back to expanding it beyond the bullet list plan, but I think this list is useful enough to be posted on its own, so here it goes. Most of the points reflected here were written >0.5yr ago, and I kept 99% of the original text. PC (hardware) - custom built Motherboard, any known brand full ATX motherboard, at least 8GB of memory if no virtual machines, and at least 16GB if virtual machines are planned.