In my opinion Subversion is a great tool and by now essential in a development process. In the company where I am working at, Subversion is used only by a small number of developers who are committing their work regularly. Everybody knows who is working on which part of the project. But having an increasing number of contributors (OpenSource projects for example) traditional repository usage can be a pain in the ass. This is where patches come in to hand.
What is a patch? A patch is a text file that contains the alteration that were made to a specific file. It includes the lines that have been removed, added or modified. In short, if you have a script and edited it, you could create a patch file containing the changes you’ve made.
What’s the point of this? For example, if you want to contribute code changes to a project where you don’t have write access to it you would post your patch file to a ticket system or such. Someone will then review your changes before actually committing them.
(more…)
Well, while working with Windows Vista on my company laptop I always get the UAC dialog. When first “touching” Vista I never thought that I’ll ever getting used to it. But in fact if you’re working up to 10 hours a day with it you’re definitely get somehow used to it.
But just using it is not the same than developing applications that make use of it! Anyway I was not suprised that I quickly found lots of articles that let you disable the UAC feature in Vista.
This may be suitable for users but NOT for developers. We’re still have to mess around with UAC and the whole technology behind that.
A real good source of information is The Moth. Daniel Moth is a former MVP that now works at Microsoft. He collected a lot of useful information in his blog that can help you understand UAC.
When developing an application that uses a certain kind of functionality that requires administrative privileges you’ll have to decide if you want to elevate the whole application or if you want to refactor that functionality by cutting it off from the main application and to externalize it in a seperate process. In this case you’ll need some extra coding in your software.
(more…)
Some time ago I wondered if it is possible to build a Windows service from scratch using Visual Studio 2008. I started with a Console Application and added basic service functionality by hand. I found a lot of search results when trying to find something useful on the net but I came up with my own implementation.
The following article will cover what you need to do to convert a Console Application into a Windows Service and install it. I used Visual Studio 2008, but it should also work with older Editions like VS 2003 & VS 2005.
(more…)
Recently I stumbled across this little Javascript that prettily colors your embedded code after loading the page. While searching for it I also came up with a Wordpress Plugin by Dean Lee.
Like Dean already mentioned in his Blog: “It’s hard to say which is better, choose one based on your own needs.”