Mandatory profiles w/XP

Mandatory profiles are an ideal way of keeping a complete set of workstations in sync in regard of their visual appearance and settings.

One thing I was stuck at: Whenever I copied a profile and renamed the NTUSER.DAT to NTUSER.MAN the profile simply wouldn’t load the preferences from it, resulting in ugly window decorations, empty start menus etc. Why is that?

The reason lies in the permissions on HKCU. To circumvent this undesired effects you can use Computer -> Properties -> Advanced -> User Profiles -> Copy To… — and now comes the thing — before clicking OK also click the button on the bottom of the form to set permissions. I used DOMAIN\Everyone but as usual… results may vary.

This way it worked fine, though.
It’s a shame that this little click isn’t mentioned in 90% of the quick’n’dirty guides on the net, it really does make a difference.

My new favorite toy

…hardware-wise is probably the M-Audio KeyRig 49 MIDI Controller. What, you might ask, Tsukasa and music?

Yeah, that’s quite a shock. But I really enjoy venturing into new stuff and doing application development all the time is wearing me out a little. So I thought… what the hell, time for something totally new.

I guess I should read into stuff like what a melody is and how to work the keys on a keyboard effectively… at this point I’m barely able to play Meister Jakob — but a kickass Meister Jakob, I swear 😉 .

Of course I’m using the Keyrig from within FLStudio, thankfully the device comes with a USB port attached so I can easily plug it into my notebook and start hammering out terrible noises (I’m really good at that, too!).

So if you should ever be in need of a terrible annoyance to piss off your neighbours — just give me a shout 😉 .

Winforms in Mono

I hope I don’t have to emphatize how much of a Mono fanboy I am at this point 🙂 . Today I had one of these “Wow” moments Microsoft wanted me to give with Vista (they failed miserably, btw) when I did some poking at Winforms in Mono and were able to run my fairly sophisticated installation program example I wrote a while back unmodified on Linux (and it basically worked out of the box):

I was especially impressed by the fact that the program was aware the user level it was running in. I started it with sudo and got the result you can see above, program reports “elevated” status. Now this is very cool, more so because this was originally written for Windows Vista! One thing I’d love to implement, just for the sake of completing a nice installer demo, is awareness of what operating system the installer is being launched on/what features are available in the CLR it is running in. Also some smaller things like getting rid of improper path delimiters and casing where files should go depending on the system. Wycked.

Workaround for nVidia Linux driver TV-out scaling problem

If you’re using a GeForce 8×00 graphics card and the binary blob from nVidia you’ll may notice that the picture on your TV is slightly larger than the area the TV can display; a part of your desktop will be invisible.

That is pretty annoying, especially when watching movies with subtitles and half of the subtitle is unreadable just because of that.

Now, the following is a little something that works fine at least for Mplayer…

Mplayer provides the command line switches -screenh and -screenw which you can use to rescale the movie on the TV a little bit. For me, the following command line works out pretty fine:

mplayer -screenh 725 filename.mkv

Give it a try, play with the values and let’s hope nVidia will fix this nasty issue one day…

Adobe Air for Linux

A test version of Adobe’s Air for Linux is available for public consumption now. Tweet-r as well as the Pownce client work fine, there are some visual problems with alpha channels, though.

It is great to see that Adobe does release a Linux version, this should help adoption of this technology a bit. Even better, of course, would be a simultanous release on all platforms.

Fruitless?

Composing music can be a very fruitless and hard thing to do.

Especially so when all your music talent lies in being able to play the pianica a bit, but that’s about it then. Thankfully there are several programs out there that will cheerfully make up for one’s own misses and provide easy and intuitive tools.

In the past I’ve been using Myriad’s Melody Assistant. It’s a very capable program for writing and rendering music. You can import Midis, change their notation, the instruments and render your stuff out to an MP3 if you want to.

Recently I started tinkering with music creation again after a long recess, I’ve been using FLStudio and it’s absolutely great. It has all the features of Melody Assistant plus a some real stuff for quickly producing and editing songs. There’s a waveform editor that allows you to do slicing, looping and sampling from within the program, a bunch of drumkits, VSTi support and support for soundfonts. It’s a real treat to be able to do work so swiftly, especially when you’ve got a basic knowledge only. There are several versions of the program out there starting from about 50$ up to 300$. Still, that’s pretty cheap if you consider the costs of applications like Reason.

And things get better from here on: FLStudio works fine with Wine on Unix. It does have the expected amount of visual glitches and minimizing is a no-no but apart from that the application works flawlessly. That’s not only cool for FLStudio and Wine but also for Linux 🙂 .

Monodevelop no longer broken

Yeah, I don’t really know what’s different now. A fresh checkout from trunk, a quick compile and Monodevelop is back in action. It is actually the first version I’m using in a long time, I’ll try to get a little more into Mono and Gtk# now as Qyoto still seems to be a little in the future for everyday use across different platforms.

So, as a little test of some of the Mono namespaces I’ve built a quick and dirty (I really mean it!) program that writes a user-selectable number of feeds from Liferea’s liferea.db back into XML files (RSS2):

If there’s any interest I’ll polish the code to be less prone to errors and post the sources.

By the way: Weekend, yay.

Quick hint: Use SharpDevelop more often

There are quite a number of things that were stripped from Microsoft’s proud Visual Studio Express series. One of them being the resource editor in C++, another one being a buttload of templates for your project type. Like… let’s say… Windows service.

Now, while I dug myself through the documentation on how to write a service the more obvious and easier solution was ignored: Use SharpDevelop. It comes with a lot of handy templates… like Windows service. It can do a lot more though; the new beta version features support for XAML, respectively WPF, which is quite a nice addition.

So, best thing to do (if you don’t want to skim out the money for the full version of Visual Studio) is to use both IDEs side by side.

Keepin’ it TLD

Jahahaha, diese wunderschöne (?) Seite ist nun auch über eine TLD zu erreichen: tsukasa.eu grüßt!

Bisher ist das Ganze im Prinzip nur eine Weiterleitung, aber mal schauen, wenn ich Jidder mit Pizza und Cola bestechen kann, gibts evtl. die passenden Modifikationen an meinem geschnorrten Webspace, die hübschere Kaskadierungen ermöglichen 😉 .

By the way… lebt mein Administrator du jour eigentlich noch?