March 31, 2007 at 3:23 am
· Filed under poetry, dev
There once was a geek from Setauket,
Who, given a problem, would stalk it,
She’d search for its patterns,
Till the puzzle lay shattered,
If that didn’t work, she would mawk it!
There was a fair maid from Setauket
When given a call stack would walk it
Push, pop and recurse,
For better or worse,
Till she found herself back in Setauket
A coder who came from Setauket
Cried, “Mem’ry leak? We must caulk it!
We need to deploy.
No time to act coy.
When faced with a stop light, jaywalk it!”
Permalink
March 23, 2007 at 1:29 pm
· Filed under dev, wpf
Recently, while working on my side project, I have been running into numerous XmlParseExceptions, usually on InitializeComponent(). They always supply the same unhelpful message
“Additional information: Cannot create instance of ‘Window1′ defined in assembly Blah, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Exception has been thrown by the target of an invocation. Error in markup file ‘Window1.xaml’ Line 1 Position 9.
I found an easy fix for this which really simplifies matters and ends the guesswork
Open the “Exceptions” window (Debug/Exceptions) in Visual Studio.
Click “add”
Add “System.Windows.Markup.XamlParseException”
Check the box to break on throw for this exception.
The original post and comments can be found here.
Permalink
March 9, 2007 at 3:42 am
· Filed under religion
I found a really funny and touching comic strip called xkcd by Randall Munroe.
Looking through the archives, I really liked USELESS and bought the t-shirt. There are many other cool ones.
But I was most strongly affected by LIGHT. It’s a very clear expression of a very inexpressible feeling that I have had for many years having to do with verticality.
Verticality is defined as “being or situated at right angles to the horizon; upright”. We humans walk upright. Maybe for good reasons.
During some quiet and serious times, my sense of this verticality can increase. Sometimes I respond to it by straightening my posture. Soon it disappears.
In writing this post I came upon references to verticality. In Feng Shui it is referred to as the “Column of Spirit”. I also found it in articles on the practice of Zen and various martial arts.
Permalink