Improve Visual Studio Performance By Disabling Automatic File Restore

15/9/2018

This excellent tip comes from my coworker Konstantin. If you have a Visual Studio solution that has a lot of projects and is slow you can speed up Visual Studio by disabling automatic file restore. To disable automatic file restore open Tools > Options in Visual Studio, select Projects and Solutions > General and deselect Reopen documents on solution load.

read more

Notes on the Code Complete book

31/7/2018

I started reading the Code Complete book on vacation in Italy in book2014 not realizing it would take me more than 3 years to finish it. At the end of 2017 I finally read the last page. Do I recommend it? Yes absolutely. Although it can be dry, even boring, sometimes it has a lot of value for every kind of programmer. And all facts are supported by research and other books which are cited all through the book. This post is a reference for myself of the notes I took while reading the book.

read more

Drawing in Android, be aware of pixel density

21/1/2018

In 2017 I started working on an Android app, at some point a custom graph was needed that could be changed by the user. Drawing the different parts on the screens gives the most flexibility. The Canvas is used for drawing, the custom component where the drawing will happen is a class which inherits from View.

read more

I went to Joy of Coding 2017

3/9/2017

After Techorama the next conference I attended was Joy of Coding, something completely different and a more alternative conference.

read more

This was Techorama 2017

16/6/2017

The last Microsoft focused conference I attended was the Techdays in 2008, almost 10 years ago. I heard good things about its successor, Techorama, so I decided to attend this year's edition. These are my notes and experiences of the sessions I attended.

read more

Scanning for Bluetooth devices with React Native

31/5/2017

I've been building iOS applications for 2 years now. Although I'm not a big fan of the development environment, Xcode has its quirks, I do love the iOS platform. The biggest drawback is that you can only target iOS devices. I heard a lot of things, some good, some bad about Xamarin and React Native and was intrigued by both hybrid app development platforms. I'm a little familiar with Xamarin but have no experience with React or React Native. Motivated with the learning goals I've set out for myself I decided to give React Native a test drive in one of the Aaltra company hackathons. It's a half day every week that we use to test out new technologies and learn new things.

read more

Continuous integration with Jenkins using a Fake build script

7/5/2017

Last time we made a Fake build script for an ASP.Net MVC project. I wanted to bring this to the next level and set up continuous integration for the project. I've used TeamCity in the past and it was ok, it did its thing but there was a lot of configuration involved to get a project up and running and the performance was sometimes slower than I expected. So looking for alternatives the first thing I tried was Bitbucket Pipelines but it can apparently only be used for .Net Core projects. I don't think it can run Windows tasks at the moment.

read more

My learning goals for 2017

30/4/2017

Each year I try to set some goals for myself to keep improving my skills. At the end of the year it's fun to reflect on the goals I've reached and at the same time confronting because of the goals I didn't complete. This year, although it's already April, I want to do it a little different. To be able to better evaluate what I want to learn this year I decided to write it all down so I could evaluate my progress better. And by making it public there'll be a bit more pressure to actually completing the goals I set.

read more

Creating a build script for an ASP.Net MVC web application with Fake

17/4/2017

Creating a build script, always a hassle to do and one of the things that gets the lowest priority in the backlog. Certainly on small projects. On one of my previous work places MSBuild was used to automate the builds. I had such a bad experience with it that I just plain ignored it for several years. It was hard to use and maintain. I heard of Fake, a build automation system written in F# which gets its inspiration from rake and make, and gave it a try!

read more

Make an AJAX call when the user leaves a web page (using onbeforeunload)

29/3/2017

Sometimes you need to send some data to the server before the user leaves your web application. A good example of this is saving data. Instead of giving the user a save button to save the changes he made, the application saves all data if the user navigates away from the page or closes the browser.

read more