Amplitube 2 VST not loaded
Published Fri, Nov 6 2009 10:42 PM | Ramon Smits
Yet again a VST did not load in my Ableton Live DAW. This time it is the Amplitube 2 VST by IK Multimedia. It did work if I launched Ableton with administrator priviledge but we al know that we shouldn't do that if it is not necessary and running...
NHibernate bag did not delete records when IList.Clear() was called
Published Wed, Sep 16 2009 11:30 AM | Ramon Smits
I was having a problem where NHibernate did not automatically delete childs if a collection was emptied by calling IList.Clear() like in the following code example: var s = GetSession(); var parent = s.Get<Parent>(1); parent.Childs.Clear(); What...
Filed under: ,
Windows 7 midi
Published Fri, May 29 2009 1:46 AM | Ramon Smits
My midi hardware it working nice in my DAW home studio but today I noticed that I do not have the ability to change the default midi out device in Windows 7. After googling around it seems that this was also the case in Windows Vista. But luckily there...
OpenSUSE 11.1 VirtualBox additions
Published Tue, May 5 2009 10:55 AM | Ramon Smits
I tried to install the virtualbox machine additions in my OpenSUSE guest but had some problems. Mouse integration worked but display resizing did not. It turned out that I just didn’t read the output from the additions package well. Remove all "Modes"...
Filed under: ,
Cool finalizer assert trick
Published Sun, Apr 12 2009 3:24 PM | Ramon Smits
I just saw a cool trick done in a finalizer of a class. When a class implements IDisposable then its creator needs to call Dispose when it is finishen. Lots of developers forget this and that usually results in system resources that are locked until the...
Filed under: ,
DAW: Multiple ASIO devices
Published Sat, Apr 11 2009 1:42 PM | Ramon Smits
I have bought the Samson C03U USB microphone and after plugging it into an available USB port it worked immediately. I then wanted to use it from any of my sequencers (Cubase AI and FLStudio) but only to find out that neither can use multiple ASIO devices...
No CNAME on a domain record only on subdomains
Published Tue, Apr 7 2009 5:46 PM | Ramon Smits
We were having some mail problems. This is not always the case but we now found the culprit. The problem was that our domain record *had* a CNAME record referring to the A record of the webserver. Some mail servers will use the CNAME record instead of...
My computer hardware history
Published Tue, Mar 24 2009 2:14 PM | Ramon Smits
I was just chatting with a collegue about my hardware history and thought it was time for an update. My hardware list is as follows: MSX2 HB-F9P Amiga 500 1MB + Action Replay III Amiga CDTV 1MB + DIP switch KS1.3 486DX33 8MB + SB16 + GUS 486DX266 32MB...
How-to enable large file uploads in IIS7
Published Fri, Mar 13 2009 10:57 AM | Ramon Smits
We have migrated from IIS6 to II7 and today we had some problems with large file uploads which we didn’t have with ASP.NET on IIS6. The web application was already configured to allow large file uploads: <system.web>     <httpRuntime...
Filed under: ,
Howto create a certificate request with subjectAltNames with OpenSSL on Windows
Published Sun, Mar 8 2009 8:11 PM | Ramon Smits
Sometimes you host multiple websites on one machine on one ip address. Because the way SSL works you can have only one certificate on one ip address + port combination and then you have a problem. One solution is to host all websites on one host(name...
Correct generic exception handling (catch(Exception){ ... })
Published Sat, Feb 21 2009 1:46 PM | Ramon Smits
A very nice comment tail is growing at the post " Why catch(Exception)/empty is bad " on the CLR team blog . I tend to agree but there are perfectly valid reason's to do a generic catch but with a correct handler, an empty handler is *always...
Why is the ErrorCode property of type int?
Published Sat, Dec 20 2008 1:30 PM | Ramon Smits
Once in a while you need to handle an framework exception that has an ErrorCode property. The HttpException and COMException classes for example have such a property. The problem here is that the Message property contains the ErrorCode in hex but the...
Filed under: ,
OT: Yamaha KX8 - My new DAW addition
Published Sat, Dec 13 2008 2:42 PM | Ramon Smits
In my free time I often play some notes on my E-MU X-Board 61 . It has 16 controllers, direct patch select and 4 zones that can be layered. But yesterday I bought a new board. The Yamaha KX8 with has 88 weighted keys, just 4 controllers but they are digital...
Filed under: , , ,
Long delay at service startup caused by WebRequest.DefaultWebProxy
Published Thu, Dec 11 2008 3:52 PM | Ramon Smits
Today I was resolving an issue where some of our services had a very long startup time which only occurs during booting and not at a service start/restart from the service snap-in. In other words, when I restart the service when the system is finished...
Abusing IsInRole(..) is not done
Published Sat, Dec 6 2008 1:43 AM | Ramon Smits
Rockford Lhotka has writen about permission-based authorization versus role-based authorization . He describes how he is abusing the principal IsInRole(..) method. This is definitely wrong and should never be implemented that way! Besides that it could...
More Posts Next page »