GIT - Create/Delete a Remote Branch

It's really easy to create a remote branch on a distributed repository


   git push origin <newfeature>

Where origin is your remote name and newfeature is the name of the branch you want to push up.

Deleting is also quite simple:

   git push origin :<newfeature>

That will delete the newfeature branch on the origin remote, but you’ll still need to delete the branch locally with

   git branch -d newfeature.

The surprising truth about motivation

One of my favourite TED talks is Dan Pink "On the surprising science of motivation". I also read Dan Pink's book Drive - The surprising truth about motivation. Why I found the book and his talk interesting is because it helped me understand something I many times found contradictory - incentive and motivation. How incentive can be a demotivating, specially when you are talking incentives in form of reward or punishment. How we attract the wrong people that is lured by the money, but does not believe in your idea. Why people can put a lot of hours of their spare time working for free on e.g. Open Source projects, but is not motivated at work where they actually get paid for developing software. Money can be a demotivator if you do not pay enough, but is not a motivator for complex tasks. There are a lot of ways to motivate people like autonomy and mastery.

Dan Pink on the surprising science of motivation
http://www.ted.com/talks/lang/eng/dan_pink_on_motivation.html

RSA Animate
http://www.youtube.com/watch?v=u6XAPnuFjJc

maven-antrun-plugin and Windows

Had a "funny" problem today, created a multi-pom project in Netbeans (on Linux) and it worked fine until my colleague tried to build the project on his Windows machine (same Maven 2 version).

Maven produced the following code in the head pom file:
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-antrun-plugin</artifactId>
....
</plugin>
which worked fine in Linux, but not in Windows. It took some time before we understood that windows version of Maven seem to require the version tag :)
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
Annoying, but happy that it works again :)