Tuesday, September 26, 2006

ubuntu edgy + colinux 0.8.0

I finally managed to get colinux 0.8.0 to run with ubuntu edgy (using upstart).
After browsing the mailing lists I found out that hotplug is disabled in the stock 0.8.0 test release.
So I downloaded the 2.6.17 installer from Henry Nestler - and everything works.

Sunday, September 17, 2006

KDE4 on windows

There's quite a lot going on in the kde on windows world. kdelibs.com features a nice howto for kde 4 development on windows - unfortunately this is already outdated. A newer qt snapshot is required and paths for qdbus have to be hardcoded in the makefile (see this mailing list entry). As much as I'm looking forward to kde 4 on windows with all this work happening, everythings just happening too fast for me to stay tuned. So my xpertmud porting project has to wait...

Saturday, September 2, 2006

Windows PowerShell

I recently discovered the Windows PowerShell. This new shell has some really nice concepts. Unfortunately right now the documentation is rather spare and you have to search a lot before being able to:

sort the process list by reversed process names:
ps | sort-object @{ Expression = { $chars = $_.name.tochararray(); [system.array]::reverse($chars); new-object String(,$chars); } }

Unfortunately the reverse method is in-place, so it took me some time to get this rather easy example working, but it shows that the .Net library is readily accessible within msh.
Especially the piping of real .Net objects is a wonderful innovation in shell context. In the Unix world the most daunting part of shell scripting is often to find the correct language independent regular expression to extract data from the input process. msh introduces yet another programming language to the scripting universe, but at a first glance the designers did a very fine job - the orthogonal concepts are ready for the textbook.