When Grass Was Greener

Rants on programming, photography, life, universe and everything

2008-04-30
by Marcin Gil
5 Comments

Git as a branch container and Visual Studio

One of the features, that differentiates Git from other DSCM like Bazaar and non-distributed SCM like Subversion, is that it holds all of your branches within .git repository that’s in your working copy directory.

Some of devs consider it a disadvantage: you get main development line and all of the branches in one working copy; others as an advantage – since you get all the repository in one directory. Continue Reading →

2008-03-03
by Marcin Gil
3 Comments

Git: private repositories on shared hosting

“You are a developer, software engineer, web designer, text writer… You want your files accessible from all the places (like a source for your project or a template for a website) – and you want to be sure that it is always the most up to date version…

Sure you can drag those files along on a USB stick and copy it forth and back. You have those files even if there’s no Internet access. Important? Sure but…”

Remember this? I have written very similar article on using Bazaar-NG for private repositories on shared hosting. It is time to make the same with git – which is becoming very popular due to its robustness and support from Linus and kernel devs themselves.

With MinGW Git port (no need for Cygwin!) coming to the light – git now looks as a great alternative to both Subversion and Bazaar.

Update:  With latest release a preliminary support for git-svn has been brought!

Let’s get things started.

Continue Reading →

2008-01-25
by Marcin Gil
0 comments

On SATA/PATA, libata and JMicron controllers

This might be useful for all of you oldtimers :)

I had an IDE HDD and IDE DVD drives connected on one stripe. The HDD was in the middle and the DVD was at the end of the cable due to “internal architecture” in my computer case. Again HDD was selected as a master and DVD as a slave using switches on the drives. Just like you’d do this in the old, <=UDMA33, times.

Everything went smoothly until I’ve upgraded my motherboard (+ CPU + RAM) to Asus P5B-V like six months ago. I’ve connected both drives to the single available IDE slot without changing their config.

Lately I’ve noticed “host 80-wire cable detection failed” messages in my logs (kernel 2.6.23) and wanted to switch completely to libata — as I have also bought a new SATA drive.

Continue Reading →