# Wednesday, November 19, 2003

The code was all working just fine in test (heh, heh), but in production, suddenly we were getting

exception: System.IO.FileNotFoundException:
File or assembly name ox0vcwlz.dll, or one of its dependencies, was not found.  File name: "ox0vcwlz.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) 

Very sad.  Even more interesting was that on each run, the assembly name was different.  OK, probably the XmlSerializer then.  But why did it work in test, and not under other conditions. 

It all became clear when we logged the full exception...  Fusion says:

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINNT\TEMP\ox0vcwlz.dll
LOG: Appbase = D:\Program Files\XXX
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINNT/TEMP/ox0vcwlz.dll.

Ah ha!  Turns out the user context we were running under didn't have permissions to the c:\winnt\temp directory.  Ouch.  An easy fix, but not one that was intuitively obvious, at least to me.  I knew that the XmlSerializer created dynamic assemblies, but I didn't know they had to be persisted to disk. 

Something to think about.

Work | XML
Wednesday, November 19, 2003 1:50:00 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [3]  | 
# Friday, November 14, 2003

A few brief tidbits I couldn’t resist mentioning:



Friday, November 14, 2003 9:06:53 AM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, November 13, 2003

OK, I thought ’97 Bonnie & Clyde was an incredibly disturbing song when Eminem sang it on the Slim Shady LP.  However, I didn’t appreciate how disturbing it really was until I heard Tori Amos’ version from Strange Little Girls.  Although her rendition is done beautifully, YUCK!!  I think I’m going to have to floss my brain and hope I never hear it again. 

Update: I realize I probably should have explained for those not familiar with the works of Eminem and/or Tori Amos but I just can't bring myself to do it.  Too disturbing.  Sorry.

Thursday, November 13, 2003 10:34:02 AM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, November 12, 2003


Where to start?  I was disappointed in the new Matrix movie, which while not surprising, is still disappointing. :-) 

At least it wasn’t bogged down in the overly complex, pretentious philosophizing of the second film.  Instead, it was bogged down by a completely predictable plot, and constant sentimentality.  It’s almost as if the characters, aware that this is their last film, are sad about it (to the point of being maudlin) throughout the whole film.  Or maybe the actors themselves were sad because now they’ll have to get real jobs.  Anyway, I think I almost liked the pretentious philosophy better than the maudlin sentimentality.  I don’t want to spoil the ending for anyone who hasn’t seen it yet, but they way the last scene was filmed reminds me a lot of the last scene in the old BBC production of A Hitchhiker’s Guide to the Galaxy.  Not what I would have anticipated for the third film of a trilogy known for wild action and innovative science fiction.  But I guess those days are gone.  While the first film was startling, the third film was pretty much just a war movie, and for a war movie to be any good, it’s got to be something different.  It wasn’t.  At least IMHO.

It sounds like Rory had more fun clubbing baby seals

Home | Movies
Wednesday, November 12, 2003 1:35:16 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 
# Saturday, November 08, 2003

I’d have to agree with Clemens that one of the coolest parts of .Net is custom attributes.  I’m constantly amazed at how much you can achieve through the judicious use of attributes.  Best of all, since they are much like attributes (should be) in XML, you can carry them over from one to the other.  For example, you can add some extra attributes to an XML Schema document in the namespace of your choice, then (if you want to write your own xsd.exe) you can carry those attributes forward into your .Net classes.  Based on those custom attributes, you can apply aspects to your objects at runtime, and basically make the world a better place.  

When all that work is finished, you can influence the behavior of your data objects at runtime just be tweaking the schema that defines them.  At the same time, since you’re starting with schema, you get lots of fun things for free, like XmlSerializer and other bits of .Netty goodness.  

I’m a bit to excited to go into all the details right now, but suffice it to say the prospects for code generation, attributes and aspects are pretty amazing.  Once we get the work out of the way, the rest is just business logic.  More business, less work. 

Say it as a mantra: “more business, less work  more business, less work…..”.  

Work | XML
Saturday, November 08, 2003 8:37:38 AM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 

This week, Corillian (my employer) sponsored a programming contest for employees.  What I thought was one of the coolest parts was that non-technical people were encouraged to join teams (of 2-4) to solve the programming problem by contributing their problem solving skills.  

Since the contest is over (although the results haven’t been announced yet) I can let the cat out of the bag.  It was a word search.  Given a dictionary of words, and a rectangular array of characters, find all the words from the dictionary that exist in the puzzle, in any direction.  

It was a total blast.  I was on a team with some folks I know from STEP, Dr. Tom (a real live doctor of computer science), and Darin (a hardcore ATL head) and Don (a QA engineer).  Much fun was had by all.  I haven’t had such pure geek fun in a long time.  I woke up the next morning still thinking about potential optimizations to our solution (which ended up being in C#).  I got to work to find email from Dr. Tom with some more suggestions. 

I thought it was a really great idea to get people thinking about hardcore programming problems, involve non-technical people, and just have a lot of fun coding.  I’ll be really interested to see all the solutions after the judging is complete.  

Kudos to Scott and Chris for coming up with the problem and the reference implementation.  

Saturday, November 08, 2003 8:22:55 AM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 

Unfortunately, I’ve yet to have the opportunity to meet Rory in person, although he was one of the brave souls who actually staid to listen to me speak at the Applied XML Dev Con this year.  I’m hoping to catch up with him if I ever make it to one of the Portland Nerd dinners.  That desire was fueled by the fact that, like Don, I think his take on the PDC is one of the funniest things I have every read.  I mean ever.  In my life.  Really. 

Running a close second is his jubilation at being mentioned on Don Box’s blog.  Luckily I was already sitting down when I read it. :-)

Saturday, November 08, 2003 8:02:25 AM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, October 30, 2003

As of tomorrow, I’ll be starting a new adventure as an employee of Corillian Corporation.  I’m looking forward to new challenges, and learning all about the world of online financial services.  There are some very smart people working there, including Scott Hanselman, and many other people I worked with back in the day at STEP Technology.  

So even if I didn’t get to go to the PDC (I’m still moping), at least I’ll get to do some really cool coding. :-)


Work | Home
Thursday, October 30, 2003 9:09:42 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, October 29, 2003

Hooray for declarative programming!  Let’s do more business and less work.  Whether it’s the BizTalk server orchestration designer (the new Jupiter one TOTALLY rocks!) or XSLT, or possibly best of all, Avalon, it just makes sense. 

As Scott mentions, I’ve done some declarative UI with SVG, and I’m a big fan of XForms, if and when we ever see a mainstream implementation.  But I’d have to agree that Avalon is sheer genius.  There’s no reason why to write the code for most of the UI we do now, and since it sounds like the same XAML will work for both the web and for Longhorn client apps, better still. 

It doesn’t hurt that, as Rory mentions, Avalon is just beautiful. 

Wednesday, October 29, 2003 12:58:15 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 

I love the new features in dasBlog 1.4.  The extra statistics are very handy, and it couldn’t be much easier to use.  Best of all, between the source and all the samples, it was a snap for me to migrate my existing content.  If I were in LA :’( I’d thank Clemens with beer!

Wednesday, October 29, 2003 12:48:58 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  |