Git Svn

While the dialogue can go on as to what to use for version control system, central or distributed, the truth is the whole developer community is inclined towards Git.

If you are a Git user, chances are you come across teams, who still uses Svn. Never to worry though, since Git has native support for Svn. So basically, while all of the team will be using Svn, you can still use Git and work on the same repository as the team, with the added power of Git.

My often used commands to work with Svn through Git are below,

git svn init https://svn.repo.org/dev/trunk/
git svn rebase (or git svn fetch)
git svn dcommit

Basically, once you have your repository locally, everything else is plain Git.

git branch myLocalDev
git checkout myLocalDev
git add .
git commit -m 'my comment'
git checkout master
git merge myLocalDev
git svn dcommit

Below is a description taken from here, which makes it clear as to what to do when Svn is updated and you need to update the local repository before pushing your update to the central repository.

Solve git-svn rebase problems

Put aside your changes using the command :

 git-stash 

Update your working copy using :

git svn rebase 

Take back your changes typing :

git-stash apply 

Clear “the stash” typing :

git-stash clear 

Hope that helps someone out there.

Posted from WordPress for Android through my “HTC Wildfire”.

Some places to get yourself back

While its very easy to forget oneself in this world and life, where media and opinion of others are not only heard but also forced upon you, there are places where you can get back your true self or awake to the real self, forgetting the race you are doing to waste your precious gift; the life.

Below are a list of some such places,

http://www.pickthebrain.com
http://lateralaction.com
http://www.ratracetrap.com
http://thinksimplenow.com
http://www.elephantjournal.com

Have a happy life :)

iOS5 with ARC ( Automatic Reference Counting )

With iOS5 comes the most important feature for me as a developer, Automatic Reference Counting.
This is may not feel a large announcement from an user’s perspective but as a developer, this is the feature. Well, what does that mean and how it affects me as an iOS application developer? This means no retain and release, yeeeaaaahhooooo. If you are developing for iOS devices till now, the pain of maintaining the reference count of an object is always there till it goes to the appstore. With the ARC, one can now forget those. In other words we can say finally garbage collection is here with iOS5, though its not that from a technical perspective, but from a developers perspective its kind of that.
Here is the official description about all the features of iOS5.
Whatever the announcement is for others, but for a developer it is the most significant release of the iOS till now.

Mobile device emulator as Chrome Browser extension

If you are a mobile application developer, then it would have been always a quest to find the devices to test the applications. Apart from that, one need particular environments to develop the application too. Some device applications can be developed and tested in particular Operating system. Then there are HTML5 and JS frameworks and tool kits to develop mobile applications. These frameworks and toolkits allow one to develop applications as web applications. While this option, opens up the opportunity to develop mobile applications in any environment, there is still a lot of work to do, when it comes to test these applications in various mobile devices.
Ripple is an extension to Chrome browser. I think this can not be more easier than this. Once installed, the interface is quite straight forward. Well the process goes like this. If you are in a webpage (any webpage), just right click and say

Emulator > Enable

That will render the webpage in a mobile device, there are choices to configure the devices also. That means, any web application can be tested with a number of device emulators, right in the browser itself. There are options for Device, Platform, Accelerometer along with a lot more.
I think this can not get easier than this.

Sparrow V1.2 is released

This is one of the most stable releases of Sparrow framework, as it is said from its creators. This is very exciting news as there are some very subtle but significant changes happened. One of the features, which I like most is, the position of the pivot point of a texture. Previously one need to put it inside a container, now its just a property setting.
The complete list of updates could be found in its officials blog here.

Posted from WordPress for Android through my “HTC Wildfire”.