Your source of geek knowledge

Y

Latest stories

The Tools we use in our Projects

T

I get often asked which tools we use in our projects. Therefore, I’m listing all of them here in this post. I’m using the project bbv.Common as an example because you can download the source code and look for yourself how some tools are used. The main differences in the tool chain between our different projects is due to the source code repository that is used: Subversion, TFS or Git. bbv.Common uses Git and therefore the tools in this list will be the Git tools but you can easily find...

Workaround for WP7 GetMethod reflection

W

WP7 currently has a bug which does not allow to call GetMethod and GetMethods if the type has a overridden generic method or the requested method is a overridden generic method. In this post I will show how to workaround this Bug.

Using VS2010 integrated fxcop in continuous integration

U

In our projects we heavily rely on the Microsoft FxCop engine. FxCop prevents us from making stupid programming mistakes like forgetting to dispose a disposable object etc. For a long time we used the FxCop engine 10.0 which has a command line integration for continuous integration environments. Lately we discovered that the VS2010 integrated FxCop has a much stronger analysis engine and more rule sets which could improve our code base even further. But how do you get the VS2010 integrated...

Why test naming conventions are important!

W

I’m working in an agile software development team which develops a fairly complex automation system for manufacturing facilities. We are using Test Driven Development as our main tool to improve the overall quality of the code. We all knew that we are going to have a large number of unit tests during the life cycle of the software. Before we started writing unit tests we decided that we need a test naming convention.

Continuous Integration with Sql Compact 4.0

C

In our project we are using Sql Compact 4.0 for testing the nhibernate mappings and our queries. In production environment we use Sql Server 2008 Express R2, therefore we thought that Sql Compact 4.0 is as close as it can get for a file database. Recently we moved our continuous integration system from cruisecontrol.net to jetbrain’s teamcity 6. The teamcity agent is installed on a Windows 2003 R2 x64 server. But our unit tests accessing sql compact 4.0 didn’t work on teamcity! Let’s look...

Building Ninject / Ninject Extensions Without Git

B

We received the following question about building Ninject: I’ve downloaded the source files for both context extensions and namedscopes (Ninject) and have followed the instructions in "how to build.txt" exactly, but I cannot get either NAnt script to build. I keep getting an error from git saying "get-git-revision: [exec] fatal: Not a git repository (or any of the parent directories): .git BUILD FAILED – 0 non-fatal error(s), 1 warning(s)" what gives? what do I...

Project Lombok

P

Wouldn’t it be nice if you were able to write

@Getter @Setter private int age = 10;

which would generate those boilerplate setters and getters into the compiled code without messing up your source code?
With Lombok you get this and some other cool features most Java developers have on their wish list – and without setup hassle!

Variable prefixes

V

The idea of variable prefixes
The idea of prefixes on variable is “very” old. They are used to tell the developer what kind of variable he is using. The first prefix for example is m_ and the conclusion is this variable is a member. When I learned programming we had to give the developer more information in case of a member. Like the type of it like an integer became m_i.

Recent Posts