Author Archives: Joshua Lockwood

About Joshua Lockwood

I code stuff and people pay me for it.

Quick Background on my current CICS integration project

I’m currently working on a stop-gap legacy integration project that is geared toward data integration between a legacy CICS system and a new 3rd party product.  I have 2 major tasks in this project, the first being a web application … Continue reading 

Posted in Legacy Systems, NHibernate, Oracle, Programming, VB.Net | Leave a comment

VB.Net oddity of the day – Assignment/Comparison operator

On my current project I’m forced to code in VB.Net.  Normally I’m pretty open to other languages, but VB.Net is irritating (more so than VB6 in my opinion).  The language syntax is riddled with ambiguity (at least for a c-type guy … Continue reading 

Posted in Programming, VB.Net | 6 Comments

CLOBbered again!

Hey all, I’m currently working on an NHibernate on Oracle project and ran into the first problem with CLOBs that I’ve had in some time.  I was trying to use a property that mapped to a CLOB in a Example … Continue reading 

Posted in NHibernate, Oracle, Programming | 2 Comments

How to enlist ADO commands into an NHibernate transaction

Adoption of NHibernate in a legacy environment can be daunting for a number of reasons.  Aside from the overhead of becoming proficient with the framework itself, developers are also faced with thousands of lines of working (it’s assumed) code that … Continue reading 

Posted in Enlist, Legacy Systems, NHibernate, Transactions | 1 Comment

Reflectionesque behavior in JavaScript

  Here’s a little something in my continued investigation of JavaScript and its many wonders (man, that sounds strange!)… Okay, so for today’s topic I’ll look at some ‘reflectionesque’ behavior of JavaScript.  As many know, the class Object can be … Continue reading 

Posted in JavaScript, jscript, scripting | Leave a comment

How’d he get that image up there?

First off, I’m not much of a blogger so I’m not quite up to speed on the tips and trick of blogging.  I saw recently pretty pictures in one of Nellie’s blogs and was instanly green with envy.  I wanted … Continue reading 

Posted in Tools | 1 Comment

Term of the Day: Principle Of Least Surprise – Epilogue

Okay, this is funny.  Little did I know that while writing “Term of the Day: Principle Of Least Surprise” I was entering the midst of just such a problem. The entry was written over a 2-3 hour span during compile … Continue reading 

Posted in Agile, Best Practices, Principles, TDD, Unit Tests, Why We Rock | Leave a comment

Term of the Day: Principle Of Least Surprise

The principle of least surprise (AKA POLS) simply dictates that the interface to any given entity (method, for instance) should exhibit the bevahior that is least suprising to the user/programmer when there are conflicts or ambiguities between members of said … Continue reading 

Posted in Best Practices, Principles | Leave a comment

Another great JavaScript article

Sorry all, I’ll probably be over this JavaScript tear soon enough, but now that I’ve given the language another glance it has really caught my eye this time.  I can only explain my recent engagement with the language as a … Continue reading 

Posted in JavaScript, scripting | Leave a comment

C# -> JavaScript

Joe had asked me recently if I thought I might want to make a tool that compiles C# into JavaScript.  I might want to futs with something like that, but fortunately I don’t have to any time soon.  There’s already … Continue reading 

Posted in c#, compiler, JavaScript, scripting | 2 Comments