Moved my blog
This is my last post on wordpress.com.
I moved here: http://draptik.github.io/
IT book recommendations
I now have a list of IT book recommendations at GitHub.
Why I switched from Ubuntu to Arch Linux
Ubuntu is a great GNU/Linux distribution. I have been using it since 2004, and except for one LTS (long term support) upgrade a couple years back everything was fine. That LTS upgrade a couple years back screwed up the X system, leaving me with the bash shell. Don’t get me wrong: I enjoy dabling with my Linux system, but an LTS upgrade should be safe.
Well, this was years ago.
After upgrading from Ubuntu 11.10 to 12.04 the same thing happened again: No X system.
I have a cheap Nvidia card with dual head setup (dual head means you can plug in 2 monitors). Worked fine with Ubuntu since 2009. So I upgraded to Ubuntu 12.04. And I’m back to: No X system.
I was not amused.
It was not a hardware problem: The old OS (Ubuntu 11.10) worked fine. It was not the fault of Nvidia. I am talking about a video card for 20-50 bucks! Not one of those high-end video cards.
Instead of switching to another deb or rpm based system I decided to switch to one of those “rolling” distributions like Gentoo or Arch. I picked the later and have so far not regrated the decision.
Arch Linux is my home production system of choice.
PS1 prompt
Here’s my current PS1 prompt for bash with optional git support: https://gist.github.com/3324534
GNU/Emacs: Desktop Save with “Lazy Loading”
When using desktop-save-mode (
http://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html)
using desktop-restore-eager is a must:
(custom-set-variables
‘(desktop-save-mode t)
‘(desktop-restore-eager 5)
)
desktop-save-mode will load your last session. Setting desktop-restore-eager to 5 will only try to load and render the last 5 buffers while loading your saved buffers.
Converting a Mercurial repository to Git
Note to self:
Converting Hg repos to git using hg-fast-export.
Installation:
$ sudo aptitude install hg-fast-export
Usage:
$ cd new_git_dir
$ git init
$ hg-fast-export -r <hg-repo>
Works with:
git version 1.7.5.4
hg version 2.1
Converting a Subversion repository to Git
Just discovered this:
John Albin wrote an excellent article on how to convert a subversion repository to git:
NHibernate 3.2 Upgrades
Trying Google Plus for blogging…
https://plus.google.com/u/0/110847643332707464429/posts/7ymoJ6ZEfj3
uNhAddIns patch for NHibernate 3.1
since most NuGet packages related to NHibernate come with NHibernate version 3.1.0.4000 (at the time of writing), I tried rebuilding uNhAddIns (commit #773) with the newer version of NHibernate.
My changes:
- upgraded NHibernate to version 3.1.0.4000 (Iesi.Collections, NHibernate, NHibernate.ByteCode.Castle)
- implemented new Interface method ‘IsProxy’ for IProxyFactoryFactory (CSLProxyFactoryFactory, ProxyFactoryFactory)
BTW: .NET is becoming more and more like Java… Who doesn’t love names like ‘IProxyFactoryFactory’? 😉
I did not update any tests.
Feel free to use this code (no licence).
My patch can be found at:
Recent Comments