Category: Programming

Pages: 1 2 >>

06/15/09

Permalink 12:14:11 pm, by Ritchie Annand Email , 151 words   English (CA)
Categories: Programming

Passing By Reference To SQL Server Stored Procedures

This is pretty simple to accomplish, though how exactly to do it can be hard to find. Quite simply, you add OUTPUT to your parameter lists, on both your procedure definition and your actual call, like so: Defining: CREATE PROCEDURE dbo.TestValue… more »

08/20/08

Permalink 01:38:29 pm, by Ritchie Annand Email , 341 words   English (CA)
Categories: Programming

IIS6 to IIS7 Handler Migration

We had one big hiccup moving from IIS 6.0 to the 7.0 version. In the Web.Config, IIS 7.0 no longer likes to have an httpHandlers section. We had: <system.web>   <httpHandlers>    <remove verb="*" path="*.asmx"/… more »

07/23/08

Permalink 12:14:05 am, by Ritchie Annand Email , 225 words   English (CA)
Categories: Reviews, Games, Programming, Science

FoldIt!

For a fan of biology, as well as of puzzle games in general, this is one of the most amazing things I have seen in a long time. Now, we already have things like Folding@Home, which is a distributed project that attempts to find low-energy conformation… more »

07/14/08

Permalink 12:06:32 am, by Ritchie Annand Email , 608 words   English (CA)
Categories: Thoughts, Programming

Upgrading But Keeping Customizations

Imagine this scenario: you have downloaded a particular project that has source code, and it's almost exactly what you want, but it's missing a few things, and it's not under version control (for example, the projects on SourceForge) So, you go off and… more »

06/07/08

Permalink 01:06:14 am, by Ritchie Annand Email , 267 words   English (CA)
Categories: Thoughts, Common Sense, Programming

Hit By Zoo Data Migration Errors

I took a half-day holiday to go to the Calgary Zoo with my wife, my baby and some friends. At the gate, when I presented our three membership cards, I and I alone was hit with my card 'coming up with an error'. Apparently, when the zoo switched its sy… more »

04/30/08

Permalink 03:08:17 pm, by Ritchie Annand Email , 268 words   English (CA)
Categories: Thoughts, Programming

ORA-06575: Package or function X is in an invalid state

If you go throw a function into Oracle, and it's wrong, e.g. CREATE OR REPLACE FUNCTION Banana IS -- Oops, no return! BEGIN RETURN SUBSTUR('Banana',2,5); -- Oops, misspelled! END; You will get no warnings about this in most tools until it come… more »

04/18/08

Permalink 04:04:52 pm, by Ritchie Annand Email , 266 words   English (CA)
Categories: Thoughts, Programming

String To Time In C#

If you are trying to get a time into a DateTime from a string, it's relatively easy: DateTime dt = DateTime.Parse(inputText,CultureInfo.CurrentCulture, DateTimeStyles.NoCurrentDateDefault); The NoCurrentDateDefault is pretty important. Otherwise… more »

12/19/07

Permalink 05:23:51 am, by Ritchie Annand Email , 938 words   English (CA)
Categories: Distractions, Internet, Programming

Javascript Swirlies

I wish I had an original cite for this bit of Javascript that my wife found posted in a Fark forum, but it's fantastic fun, so I'm posting about it regardless. To operate it, you copy the entire paragraph below, navigate to a web page (Fark works pret… more »

09/15/07

Permalink 12:01:28 am, by Ritchie Annand Email , 164 words   English (CA)
Categories: Programming

SQL Server 2000 Gotcha With Uniqueidentifiers

If you're considering using uniqueidentifiers on your tables, particularly as primary keys, then you might want to upgrade your SQL Server or just check your SQL carefully if you're still running SQL Server 2000. In particular, doing a COUNT(field) on… more »

07/01/07

Permalink 05:13:59 am, by Ritchie Annand Email , 779 words   English (CA)
Categories: Thoughts, Programming

Delphi Pseudo-Generics and Namespaces

I have been using Rossen Assenov's pseudo-generics in Delphi for quite a while now to great effect. (See here for downloads) In an effort to more properly ".NET-ify" things, I have been converting Delphi unit names into namespace-scoped unit names. Fo… more »

05/25/07

Permalink 02:21:16 pm, by Ritchie Annand Email , 494 words   English (CA)
Categories: Thoughts, Programming

Remember the XSL Default Rule

XSL or Extensible Stylesheet Language can be a bit mind-bending. I have essentially come up to speed on it in a week to use it in the generation of migration scripts. It is essentially a big list of rules, calls and writing commands for matching XML. It… more »

12/18/06

Permalink 07:29:53 pm, by Ritchie Annand Email , 616 words   English (CA)
Categories: Announcements [A], Thoughts, Programming

My Software's 10th Birthday

My software turned ten today. I had mentioned that my software would turn ten this year to a coworker of mine, and he watched the date listed in the header of my oldest source code file like a hawk, or an egret, and sent out our traditional birthday c… more »

12/02/06

Permalink 04:36:34 am, by Ritchie Annand Email , 361 words   English (CA)
Categories: Thoughts, Internet, Programming

Forum Software

It's been a while since I've run a forum. I used to run a gardening forum, a couple of hosts ago. I ran the forum under the fairly popular phpBB forum software. It was pretty easy to install, but some of the features made it hard to maintain. A dearth… more »

11/15/06

Permalink 12:38:38 am, by Ritchie Annand Email , 2337 words   English (CA)
Categories: Thoughts, Programming

Delphi .NET Fun

I'm making a card game - a physical one, not a computer one, so I decided to give myself both a learning experience and a tool to help print out the cards by pulling down Turbo Delphi for .NET at home and try to program the entire thing with the .NET-onl… more »

11/09/06

Permalink 07:30:18 pm, by Ritchie Annand Email , 1325 words   English (CA)
Categories: Thoughts, Programming

The Essence of Algorithms

I was helping a co-worker puzzle out an algorithm or two today, and he got me to go back through the steps I took to come up with an appropriate algorithm. It's a skill I have that comes from the combination of experience and a little bit of ability, an… more »

1 2 >>

September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Ritchie Annand's blog of everything except sports (...and who knows? I may break that rule some day)

Search

Blogroll

XML Feeds

powered by b2evolution