Previously (I sound like an episode of desperate housewives!) we saw how we can easily commit an existing Git repository into Subversion. That was great and we can commit changes to our git repository and execute git svn dcommit all day long to send the changes up to Subversion. Now things get a little hairy when you throw a second developer into the mix who is committing to the same Subversion repository.
» Read more: Avoid merge hell when committing from Git to a Subversion repository
Avoid merge hell when committing from Git to a Subversion repository
October 6th, 2010 by Sudhakar Ramasamy No comments »How to commit an existing git project into Subversion
September 26th, 2010 by Sudhakar Ramasamy 2 comments »In my last post I mentioned how Git’s stash feature finally convinced me that it made sense in my subversion world. Well, once I was well underway on my new project, I’d reached the point where I was ready to commit version 0.1 to subversion. Googling for how to commit a Git project into Subversion will lead you to a few resources. The one that was spot on with a minor wrinkle was this post. I’ve taken what Brandon posted there and condensed it here with the update for the –root option for the rebase command.
» Read more: How to commit an existing git project into Subversion
One good reason why Git makes sense
September 16th, 2010 by Sudhakar Ramasamy 2 comments »When I first heard about distributed version control systems and Git about a year and a half ago, I was very much a Subversion user both at work and at home. I knew how to setup Subversion, it’s ACLs and make it available over http via Apache. You could say I was committed (pun intended). And then all this noise about DVCS and in particular Git and I was wondering why in the world would anyone give away control over their code repository. If I wanted to work disconnected from the network (say on the airplane like everyone seemed to want) I would just work and worry about checking things back in when I connected to the network next.
In spite of being a non-believer I stayed with Git and what seemed like the hype around it. I read up on it and I even got myself an account on github and setup a few projects there. Git seemed interesting but it wasn’t really solving any problems for me that Subversion wasn’t already. And then I had my first ah ha! moment yesterday.
Would you start mocking me?
August 5th, 2010 by David Kessler 3 comments »One of the primary principles of unit testing is to test a small piece of functionality in isolation. In order to achieve this, mock objects are often necessary. Historically using mocks could be quite painful. After using several mock frameworks, my favorite by far is Mockito.
Tutorial
In this tutorial we will walk through examples of the most common features of Mockito. My sample project can be downloaded here.
Interfaces and Implementation
Some mocking frameworks only supported mocking interfaces. As a result our projects became bloated with useless interfaces that were only used for testing. Mockito creates mock objects with interfaces or classes.
» Read more: Would you start mocking me?
Agile Teams: Unequal and Opposite Reactions
July 26th, 2010 by David Kessler 1 comment »Newton’s Third law of motion, “To every action there is always an equal and opposite reaction…” is a powerful standard in analyzing team dynamics. I have been leading agile teams for over five years. When I am asked to lead a new team I begin by looking for reactions that are disproportionate. While this may seem like a strange place to focus this is a simple way to identify significant areas of improvement.
Time and time again, I have uncovered issues that have been ignored and/or hidden by exploring “over reactions”. They are indicators that there is more to the story. For example, one of teams that I was leading was very frustrated with how much time we were spending estimating stories. Their frustration eventually culminated in some of the team members refusing to participate in team estimation meetings. As you can imagine this created significant tension between the developers and the business team.
» Read more: Agile Teams: Unequal and Opposite Reactions
First Glance at PowerShell
July 21st, 2010 by Max Kuipers 5 comments »A couple days ago I had the surprisingly excellent opportunity to learn and use Windows PowerShell… What? Don’t look at me like that. I disapprove of Microsoft just as much as the next Linux fanboy, but seriously, this was cool. Just give me a chance to explain. I swear, I was forced into the situation – one of the projects I was working on required a simple script be written to rename files on a Windows server, but for various reasons, I couldn’t use Cygwin. After a brief panic attack caused by the realization that I would have to be separated from my beloved Bash, I looked into which scripting language would be best. After an exhaustive, comprehensive, and fully extensive 30-second Google search I found myself with a choice between Powershell and classic Batch… Naturally, I chose Powershell.
How RAID 5 Works at a Bitwise Level
May 28th, 2010 by Max Kuipers 4 comments »RAID 5 is a pretty magical thing overall, though a large portion of its magic lies in how it works on a bitwise level. But before I get into the bitwise sorcery, I’d like to briefly explain what RAID5 is. RAID stands for Redundant Array of Inexpensive (or Independent) Disks. There are a number of different types of RAID such as RAID0, RAID1, RAID5 and RAID6 which each store data in different ways and have different space efficiencies and fault tolerances.
» Read more: How RAID 5 Works at a Bitwise Level
Incrementing Oracle Sequences Without Permissions
April 23rd, 2010 by Tim Bierbaum 1 comment »If you are ever working with a database where data is consistently being imported, dropped, and/or restored; sooner or later you will find yourself in the situation where the primary key of a table is no longer synchronized with the sequence used to generate it.
» Read more: Incrementing Oracle Sequences Without Permissions
Google Analytics Data Export API – Part 1
March 30th, 2010 by Octavian Covalschi No comments »When Google exposed its Data Export API, it endeared itself closer to developers and to customers of Google Analytics. Data Export API allows us to develop client applications to retrieve data from existing analytics profiles of authorized users.
How does it work?
The Data Export API provides read-only access to all available analytics data. Any data that is displayed in the analytics web interface can be accessed through this API. Nice isn’t it? You can get all your analytics data, for all your monitored websites and use it as you please.