Breaking dependencies in C#

What are some common refactoring techniques that make the code more testable? Refactoring is the act of changing the code without changing the code's functionality. Before we get started, let's go through the definition of the objects used in a automated testing: Mocks are simplified objects of their production counterparts which look and behave like … Continue reading Breaking dependencies in C#


Watching live coding streams on Twitch

Last Sunday was the first time that I watched a live coding stream on Twitch. Until recently I didn't even know that this was a thing. I've heard about it on the Hanselminutes podcast recently when Scott Hanselman invited Suz "noopkat" Hinton to talk about her stream:ย  Live Coding on Twitch for a year with … Continue reading Watching live coding streams on Twitch

Learn something new every month

The technology is advancing at such a warp speed that sometimes it is hard for a developer to keep up with everything that is going on... especially when having a full time job, having to do the usual chores at home, finding some time to exercise regularly and having some time off to do other … Continue reading Learn something new every month

Connect wireless Powerbeats to Windows 10 PC

On your Powerbeats: Hold down the power button for 5 seconds to go into paring mode and you will recognize this when the light on the headphones will start blinking. On your Windows 10 PC: If you have an audio plugged in, then plug it out. This is very important otherwise the PC will not … Continue reading Connect wireless Powerbeats to Windows 10 PC

Weight control: gaining muscle, losing fat

I am currently reading The New Encyclopedia of Modern Bodybuilding by Arnold Schwarzenegger and I will summarize what I have learned in a series of posts about health, nutrition and diet. I highly recommend reading the book. This is part 3 and alsoย the last part where I learn about weight control for gaining muscle and … Continue reading Weight control: gaining muscle, losing fat