Temporary server update

by Administrator 29. März 2010 13:20
This photo shows my bathroom fileserver for media playback. I added some extra hardware for the last week of my holidays.

Tags:

Fun Stuff | Music

Song_14

by Administrator 28. März 2010 04:11

New song added.

Enjoy :P

Tags:

Music | My Stuff

Song_13

by Administrator 25. März 2010 03:31

New song added.

Enjoy :P

Tags:

Music | My Stuff

Equipment Powerup

by Administrator 24. März 2010 04:55

So I decided to extend my music equipment. The choice came to Omnisphere. I've got to admit, soundwise this is the real stuff. Thousands of really unique sounds and patches, everything with great quality and variety. The CPU load is amazinly low.

Though this VST is not cheap, it's worth every buck. I don't know if there is anything comparable out there, but honestly, I think it will take months to get an overview of all the features that this thing has.

Check out these videos to get an impression.

Tags:

Music

Bitjam Podcast

by Administrator 20. März 2010 04:58
If you're into demo stuff, check out this podcast. The mix shows of demo tunes, absolutely fabulous stuff.

Tags: ,

Music

Song_12

by Administrator 15. März 2010 08:07

New song added.

Enjoy :P

Tags:

Music | My Stuff

Silverlight unit tests in an automated build

by Administrator 11. März 2010 13:35

... seemed to work fine until the build box started dying. In the end we found out, that an increasing number of hanging IE processes consumed more and more memory. For now a scheduled task will shut those down. This little WSH script does the job:

':::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
'::: Shut down processes of a given user that run for a
'::: given time.
':::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


'::: Computer to shutdown processes on, "." = local host
strComputer = "."

'::: Name of process to shut down
processName = "iexplore.exe"

'::: User that owns the process to shut down
ownerName = "schommi"

'::: Time, that the process must run to be shut down
minutesExecuting = 1

'::: Query WMI for processes with the given name
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
    ("Select * from Win32_Process WHERE Name='" & processName & "'")
   
'::: Iterate over processes   
For Each objProcess in colProcessList

    '::: Retrieve process owner
    colProperties = objProcess.GetOwner(strNameOfUser,strUserDomain)
   
    '::: Convert date to VBScript date
    Set dtmInstallDate = CreateObject( "WbemScripting.SWbemDateTime")
    dtmInstallDate.Value = objProcess.CreationDate
   
    If strNameOfUser = ownerName And _
       DateDiff ("n", dtmInstallDate.GetVarDate, Now ()) >= minutesExecuting Then
      
       '::: Process belongs to given user and runs for the time period
       '::: => terminate
       ' DEBUG Wscript.Echo "Process " & objProcess.Name & vbCrLf & DateDiff ("n", dtmInstallDate.GetVarDate, Now ())
      
       '::: Terminate
       objProcess.Terminate
    End If
Next

Probably the most interesting part is, how to deal with the process start date, since WSH uses a datetime format that WSH cannot really deal with. I remember reading a book years ago that did the conversion manually.

Of course this did not work out of the box, since I had the splended idea of keeping the echo in and launching the script directly. This will not echo the output to the console but show message boxes that no one clicks away => script hangs :P

Edit:

After bitching around with the instabilities for a while we switched over to Statlight which seems to work fine. No hung processes in the last week. We had to tweak the XSL transformations to get it working with Cruise Control, but that was really a breeze compared to how much trouble we had before.

Tags: ,

My Stuff

The Bungee Prank

by Administrator 11. März 2010 13:18

... who needs enemies with friends like these?

http://www.youtube.com/watch?v=pf9WNMqENiA

Tags:

Fun Stuff

Fiddler & The new Domain

by Administrator 8. März 2010 13:22

After changing our domain at work, Fiddler was not able to intercept any more SSL traffic. When accessing the local development box via SSL an error occured stating, that the certificate could not be created.

When intercepting SSL traffic, fiddler creates a self-signed  root certificate and uses this one to issue certificates to the site you are navigating to. Since the root certificate is issued to the computer fiddler runs on, it makes a difference when that computer changes the domain. Fiddler uses the makecert.exe utility from the windows sdk to generate it's certificates. Launching this one with the same arguments (I used Process Monitor to find the exact invocation) showed the following error:

Can't create the key of the subject ('JoeSoft')

It seems we were not the first one experiencing the problem. Some articles suggested to delete specific files from the crypto storage, however all this did not help me. In the end I found this article that suggested that the root cause of the problem is a lack of permission and that manually importing the certificate would do the job, so I created the self signed certificate in another location and then manually imported. These are the exact steps:

  • Remove all Certificates signed by the fiddler root and the fiddler root itself from your current user's certificate store using the mmc certfificate snapin.
  • Open a command prompt and navigate to the fiddler directory (e.g. c:\program files\fiddler2), execute the following commandline:
    MakeCert.exe -ss my -n "CN=DO_NOT_TRUST_FiddlerRoot, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com" -eku 1.3.6.1.5.5.7.3.1 -r -cy authority -a sha1 -sr LocalMachine
  • This creates a root certificate for fiddler, however in a different location than fiddler would to it.
  • Open your mmc certificate snapin, connect to your Local Computer and navigate to Personal -> Certificates.
  • Export the DO_NOT_TRUST_FiddlerRoot certificate to disk (that is the certficate you created two steps before), use Pcks#7 as a format.
  • Open the mmc certificate snapin for the current user and import the exported certificate to Personal -> Certificates and Trusted Root Certification Authorities -> Certficates.
  • Restart fiddler

The interesting question here is, what changed the permissions since I originally installed fiddler and everything worked for over a year. Perhaps something changed during the migration process, perhaps even before. Who knows.

 

Tags: , ,

Filtering Telnet Appender for log4net

by Administrator 6. März 2010 10:21

I did a telnet appender for log4net that allows filtering the output interactively. Check out the page in case you're interested.

Cheers.

Tags: , ,

My Stuff | Projects

About the author

for comments and suggestions contact:

 

Month List