Ramon Smits
Tell me your secrets and i'll tell you mine
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"...
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...
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...
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...
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 to. But yesterday I bought a new board. The Yamaha KX8 with has 88 weighted keys, just 4 controllers but they are...
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...
COM Exceptions and the ErrorCode property
Published Fri, Dec 5 2008 2:04 PM |
Ramon Smits
Today I fixed a nasty bug in one of our applications. The first version had something like the following code construction: Type t = Type.GetTypeFromProgID("My.ComComponent", serverName); var component = (ComThingie)Activator.CreateInstance...
Paging is not so easy as most developers think it is
Published Fri, Nov 21 2008 4:07 PM |
Ramon Smits
A lot of websites use somekind of paging mechanish to limit the results shown. Either to save bandwidth where results are served in pages or because search criteria should be made more specific by not having paging but just limit the maximum records returned...
More Posts
Next page »
Search
Go
This Blog
Home
Contact
About
Tags
.Net
Amiga
Browser
CSharp
CSS
Design
Development
Exceptions
MIDI
MSSQL
Networking
NTFS
Performance
Products
Security
services
Sourcecode
sql
Subversion
Tools
Transactions
Vista
VisualStudio
Windows
XP
Community
Home
Blogs
Media
Archives
May 2009 (2)
April 2009 (3)
March 2009 (3)
February 2009 (1)
December 2008 (5)
November 2008 (4)
October 2008 (4)
September 2008 (3)
August 2008 (3)
June 2008 (3)
May 2008 (4)
April 2008 (3)
March 2008 (3)
February 2008 (3)
June 2007 (2)
May 2007 (1)
April 2007 (1)
February 2007 (1)
January 2007 (1)
December 2006 (2)
November 2006 (2)
October 2006 (3)
September 2006 (4)
August 2006 (4)
July 2006 (2)
June 2006 (1)
May 2006 (1)
April 2006 (2)
March 2006 (7)
February 2006 (2)
January 2006 (2)
December 2005 (10)
November 2005 (4)
October 2005 (1)
September 2005 (3)
August 2005 (10)
July 2005 (4)
April 2005 (2)
February 2005 (3)
January 2005 (2)
Patterns & Practices / Guidelines
Pattern share
EntLib
Howto configure EntLib (part 2)
Howto configure EntLib
Patterns & Practices: Enterprise Library
EntLib Configuration : Customized Appsettings and Configuration Manager
Nant
Nant Intellisense in VS.NET 2003
Blogs that I monitor
Virtual PC Guy
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go