Appending data to a sql text or ntext column
Published 20 June 8 1:52 PM | Ramon Smits
Today I came accross a problem where nvarchar data got larger than the maximum that can be stored in a record. I had to convert to a ntext column and append the data to it. I quickly found out that I needed to use the UPDATETEXT function in combination...
Filed under: ,
Simplify string resources management for localization
Published 5 June 8 11:29 AM | Ramon Smits
Every dotnet developer will eventually do something with localization. That is 'working with multiple languages for presentation'. This post is not about solving lay-out related stuff which is about creating a good UI design which allows for RTL...
Enso is now part of my must have list
Published 1 June 8 3:59 PM | Ramon Smits
First of all what is Enso ? Enso is an application launcher and utility tool that uses the selected text as input and replaces it with its output (if necessary). Its a bit of a descriptive one liner and I think its better to navigate to the humanized...
Filed under: ,
My list of firefox extensions
Published 30 May 8 9:31 AM | Ramon Smits
Firefox is my default browser and the add-ons make it even more powerful then it already is. I thought that it would be nice to share which extensions I'm using: NoScript - Easily enable java/javascript/flash per domain. Adblock Plus - Hide those...
PowerShell PowerTab
Published 29 May 8 3:40 PM | Ramon Smits
Lately I found myself using the Microsoft PowerShell more often. But I am frequently missing intellisense. Especially when I want to access framework classes which I do not use that often. Luckily there is a very good extension script maintained by the...
MonoDevelop 1.0 and Mono 1.9.1 on openSUSE 10.3
Published 25 May 8 10:20 PM | Ramon Smits
This weekend I moved from Ubuntu 7.10 to openSUSE 10.3 after using the distro in the vmware image that the mono-project hosts. I was impressed how quick it was installed and still impressed by the ease of use of its package management. I am now running...
Log4net Separate configuration file and custom data
Published 15 May 8 9:47 AM | Ramon Smits
Separate configuration file for log4net settings We always store the configuration stuff in the app.config or web.config files but at our current project we want to store settings that are different between environments outside of the default configuration...
Low privileges IIS Application Pools
Published 22 April 8 3:22 PM | Ramon Smits
When you want to create a new application pool you probably want to do this to create an application pool with least privileges for the application that you are going to run with it. This article describes how to create a user account for use in an IIS...
Hibernate or standby wakes up computer in seconds
Published 16 April 8 10:51 AM | Ramon Smits
I have this problem that when I wanted to enable one of the power-saving modes (hibernate or standby) that my computer wakes up in seconds. Sometimes almost immediately and sometimes after 10 seconds. My first thought was that it had to do with my mouse...
Reminder: For loop on the commandprompt
Published 10 April 8 10:52 AM | Ramon Smits
I always forget how to loop through a set of files on the command prompt. For this reason I'm blogging this as a reminder for future reference. FOR %A IN (*.txt) DO ECHO %a In a batch/command file the % character needs to be escaped with an additional...
Filed under:
Don't hate soap use it for its standards
Published 30 March 8 2:11 PM | Ramon Smits
I tried commenting on Udi Dahan 's blog on his article " I hate wsdl " but it if failed so I respond from my blog. Udi Dahan is ranting on soap after Ted Neward article. Ted says: WSDL creates tightly-coupled endpoints precisely where loose...
Watin 2.0 CTP adds Firefox support
Published 12 March 8 9:48 AM | Ramon Smits
The developers of Watin released a ctp drop today of there upcoming 2.0 version. The current version only supports firefox but that changed today. Watin is a test framework which you can use from within your unittests to test your application behaviour...
Filed under: , ,
Raytraced Juggler in real-time
Published 11 March 8 10:54 AM | Ramon Smits
I just read a nice article from Jeff called Real-Time Raytracing . Todays desktop computers can almost render the famous amiga raytraced juggler at 320x200 at real-time. This says something about todays desktop power and what we can expect the coming...
Filed under: , ,
Injected objects should not be disposed be the class that receives the instance
Published 28 February 8 10:5 AM | Ramon Smits
I just read Windsor: Component Burden described as a (bad) side effect but this is not how it should work. Disposable objects should be cleanup by its creator. This is the easiest way to define the disposing responsibility! In the mentioned article they...
Mssql: Cannot use bitwise operators on varbinary or numeric
Published 25 February 8 9:23 AM | Ramon Smits
I want to perform bitwise operations on a varbinary colum. As it contains binary data I though that it would work but it didn't This example works: declare @a int declare @b int set @a = 1 set @b = 2 select @a | @b But this wont: declare @a varbinary...
More Posts Next page »