Archive for May, 2007

Axiom and MediaWiki

Sunday, May 27th, 2007

environment MediaWiki, Axiom

problem Integration like R Extension missing

solution Download this and put it into your extensions/ directory.

Edit LocalSettings.php and append require_once('extensions/Axiomext.php'); at the end.

links Apperently they support a different Wiki

offical extension site

credits Thanks to Bill Page and Martin Rubey.

Sony VGN-S2HP + Vista = NO MemoryStick!

Saturday, May 26th, 2007

environment Sony VGN-S2HP, Windows Vista, Sony Memory Stick Reader

problem No drive


  1. Get Windows XP Preinstalled drivers from Sony
  2. Extract MemoryStick\
  3. Go to device manager and select Update driver and navigate to the extracted files from

Sony VGN-S2HP + Vista = NO Audio!

Saturday, May 26th, 2007

environment Sony VGN-S2HP, Windows Vista, SoundMAX Integrated Digital Audio

problem No audio


  1. Get Windows XP Preinstalled drivers from Sony
  2. Extract Audio\\
  3. Right click Setup.exe/Properties/Compatibility/Run this program in compatiblity mode for: Windows XP (Service Pack 2)
  4. Install using Setup.exe
  5. When prompted for Driver, provide location:\\SMAXWDM\\W2K_XP

All in all: *sigh*

Team Foundation Server Directory Download

Friday, May 25th, 2007

environment Team Foundation Server

problem Download a directory from TFS with a specified label without creating a workspace and minimal install dependencies

solution Source or Binary

The binary has same library dependencies and I'm not sure if I'm allowed to redistribute those .dlls:


x64 Support

  1. Make sure you have added the TeamFoundation .dlls from C:\\Program Files\\... and NOT from the GAC (details)
  2. Build with "CPU Any" and copy .dlls to target machine
  3. Build with "x86" and copy executable to target machine

Emacs, Emacs Speaks Statistics (ESS) and Vista

Monday, May 21st, 2007

environment Vista, Emacs, ESS, R

problem Getting Some Emacs with ESS (Emacs Speaks Statistics) running on vista

solution Install GNU Emacs and follow ESS installation guide.

Create c:\\_emacs.el (start Notepad elevated = Run as Administrator) and insert

(load-file "C:/Tools/emacs-21.3/site-packages/ess-5.3.4/lisp/ess-site.el")
(setq-default inferior-R-program-name "C:/Tools/R/R-2.4.1/bin/Rterm.exe")

Adjust the paths to your need (and I don't have a glue if it works with c:\\Program Files)

Many thanks to Georg Gutjahr for his help.

Automatic AssemblyInfo generation during Team Build

Wednesday, May 16th, 2007

environment Team Foundation Server, msbuild, each projects is located below the solution file

problem Provide team build number and flavor (debug, release) for compiled assemblies from multiple projects in a solution

solution Edit your .csproj files (make sure you do a "Checkout for edit") and add

  <Import Project="..\\AssemblyInfo.proj" />

The AssemblyInfo.proj should be placed next to the .sln file:

<Project xmlns="">
  <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>
  <Target Name="BeforeBuild">
    <Attrib Files="Properties\AssemblyInfo.cs" Normal="true"/>

    <!-- Build := Days since StartDate; Revision := 65534 / (24*60*60) * seconds since midnight :) -->
    <Version BuildType="Automatic" RevisionType="Automatic" StartDate="2007/01/01" Major="1" Minor="0">
      <Output TaskParameter="Major" PropertyName="Major" />
      <Output TaskParameter="Minor" PropertyName="Minor" />
      <Output TaskParameter="Build" PropertyName="Build" />
      <Output TaskParameter="Revision" PropertyName="Revision" />

    <AssemblyInfo CodeLanguage="CS"
        AssemblyCompany="Company Name"
        AssemblyProduct="$(AssemblyName) $(Configuration) $(BuildNumber)"
        AssemblyCopyright="Copyright Company Name 2007"
      	AssemblyFileVersion="$(Major).$(Minor).$(Build).$(Revision)" />

    <Attrib Files="Properties\AssemblyInfo.cs" ReadOnly="true"/>

You need to install msbuildtasks on your local machine AND the build server. Apart from the Team Build revision, you'll get another auto-generated assembly revision.

debugging Unload, Reload the project after every change to AssemblyInfo.proj

links MSBuild infos

SAS 9.1 and Vista

Thursday, May 10th, 2007

environment Vista, SAS 9.1 (Learning Edition)

problem Turning off UAC and marking the setup.exe with "Windows XP SP2 Compatiblity Mode" gets you through setup, but SAS won't work. You can't even create a dataset.

screen + irssi = freeze/hanging

Monday, May 7th, 2007

environment Gentoo, screen, irssi and putty

problem Sometimes my irssi freezes :(

solution Kill all human (hmmm... sshd sessions).

OpenVPN Server on Gentoo, Vista Client and ISA 2006

Sunday, May 6th, 2007

environment OpenVPN Server on Gentoo, Windows Vista Client, ISA 2006

problem Establish VPN tunnel from Vista to Gentoo


Server Install

  • emerge openvpn and read the output about /etc/init.d
  • Make sure you got CONFIG_TUN (details)
  • Create keys and /etc/openvpn/hostname.conf files. A sample can be found here.

Vista Client Install

  • Install at least OpenPVN 2.1_rc2 download because of this
  • copy client.crt, client.key, ca.crt and optionally ta.key from your server /usr/share/openvpn/easy-rsa/keys/
  • create hostname.ovpn in C:\\Program Files\\OpenVPN\\config and make sure to run the editor as administrator due to UAC. A sample can be found here.

actual problem I'd like to publish OpenVPN with a "Web Publishing Rule" on ISA 2006 and have ISA 2006 forward to the right machine
based on the domain. It sniffed the traffic and OpenVPN doesn't send a SSL "Client Hello" message at the beginning, but some other message tagged as "SSL Continuation" in Wireshark.

After thinking a little more, the scenario I'd like to implement wont be possible anyway, because ISA 2006 gets the domain from the HTTP traffic (details) and not from the SSL/TLS layer. Maybe a something similar to Apache/OpenVPN port sharing would be possible with a custom filter in ISA...

Terminal Service Gateway on Longhorn published with ISA 2006: not working

Sunday, May 6th, 2007

environment ISA 2006, Terminal Service Gateway on Longhorn Beta 3

problem Tunneling RDP through HTTP/HTTPS. e.g. forwarding applications through http.

story First of all I couldn't get my wildcard certs working, I replaced it with FQDN certs and got a little further.

The above described scenario is NOT supported. See here why and how in more detail.