Recent posts

Project Euler: Problem 19

Let’s do another Euler problem, shall we?  read full post

C# features: async and await

My recent upgrade to Visual Studio 2012 means I now also have the new features in .NET version 4.5 to play with. The one I was most exited about was the async/await pair of keywords introduced to C#. These two keywords aim to offer a relatively simple way of doing asynchronous programming, without all the headaches this sort of thing normally creates. Today I’ll go over the syntax and semantics of these two new keywords.  read full post

Visual Studio 2012: a first impression

Visual Studio 2012 was released a while ago, but because the success of my master’s project was dependent on my VS 2010 environment, I refrained from upgrading until now. Last week I completely removed Visual Studio 2010, including the laundry list of optional components that get installed, and then switched to Visual Studio 2012 Ultimate (which I had already acquired trough my university some time ago). I haven’t been able to play around with it in-depth yet, but here are some first impressions…  read full post

Master of Science

On February 27, I successfully defended my master’s thesis, which earned me the degree of Master of Science in the field of Computer Science and Engineering, and which also effectively marked the end of two decades worth of formal education.  read full post

Project Euler: Problem 18

Here’s another Euler problem for you!  read full post

Project Euler: Problem 17

Last year I’ve managed to complete 16 Euler problems. And even though I’ve been quite busy over the last 6 months, I’m still a bit disappointed in myself. Anyhow, let’s see how far we can get this year. Here’s the next problem:  read full post

The mysterious PowerShell file expander

Let’s say you have a file around 1 GB in size containing just a little more than 10 million and 300 thousand lines of plain text data. Your goal is to extract the first 10 million lines and write those to another file. You figure an easy way this can be done is using PowerShell, so you enter the following command:  read full post