Monday, January 28, 2008

Nokia Purchases Trolltech

First it was Sun purchasing MySQL...

As seen on Slashdot, Nokia is acquiring Trolltech.  Given the outrageous royalties for mobile devices, the deal makes sense for Nokia if they intend to use Qtopia.

I have been evaluating going with Qt for cross-platform development.  But the commercial license is prohibitively expensive, and you have to speak to a sales representative just to get a price, which is very annoying to me.

It makes you wonder what will happen with the successful open source projects.

Labels:

Wednesday, January 16, 2008

git: Tralining whitespace error during commit

I'm using git more and more. However, when checking in code, I sometimes get an error about trailing whitespace and the commit fails.

To fix this:

in .git/hooks/pre-commit, delete the following lines:

if (/\s$/) {
bad_line("trailing whitespace", $_);
}




Mangled by ScribeFire and fixed by hand.

Labels: ,

Tuesday, December 18, 2007

Gentoo/Git

I'm investigating moving my source repository to git. In doing so, I quickly ran into a stumbling block. After emerging git, I started receiving a cryptic error message involving "Core.pm." Same happened when I installed git on an older red hat install.

To fix: re-emerge subversion, after setting your USE flag to include Perl. The Core.pm files are apart of the subversion package. Next everything should be ok.

For other platforms, you will have to recompile/reinstall subversion configured with Perl support.

Next, to import a subversion repository remotely:

$ mkdir myproj
$ cd myproj
$ git svn init http://mysvn/repos/directory
$ git svn fetch

But be advised crunching down and absorbing a subversion repository remotely takes a very long time.

Mangled by ScribeFire.

Labels: ,

Thursday, October 25, 2007

GNU Internationalization Presentation

Earlier this year I did a brief presentation to a group of C++ developers about internationalization, localization, and the GNU gettext utilities.

Tonight, I uploaded the slide deck to slideshare.  Enjoy.

Labels: , ,