One weakness with many blog engines,
Subtext included, is that it is
difficult to change the tags and categories for multiple entries at a
time. In general, most blog engines streamline the workflow for tagging
and categorizing a single blog post.
It is a sad fact of life that, in this day and age, arguments are not
won with sound logic and reasoning. Instead, applying the principle of
is much more effective at swaying public opinion.
This is a simple little demonstration of how to write unit tests to test
out a specific role based permission issue using
This is a quick follow-up to my last
That seemed like such a common test situation I figured I’d write a
quick generic method for encapsulating those two tests.
UPDATE: K. Scott Allen got to the root of the problem. It turns out it
was an issue of precedence. Compiler options are not additive.
Specifying options in @Page override those in web.config. Read his
to find out more.
Here’s a little plug for something we’ve been working hard at over at
Koders. Everyone knows that if you want to find open source code, you go
to http://www.koders.com/ (it recently got a
check it out). That’s my area of responsibility here. However, after
many many months of hard work, we released Koders Pro
1.0 this week. I helped a bit with this, but it’s mostly due to the hard
work of the rest of the team that this is out there, especially
Ben, the product manager for
I was thinking about alternative ways to block comment spam the other
day and it occurred to me that there’s potentially a simpler solution
than the Invisible
approach I wrote about.
Today my wife and I celebrate our fifth anniversary of being legally
married. If you’ve read my blog long enough, you might have seen this
which suggests we were married June 14, not September 12.
Last night I nearly lost a dear friend of mine. Now this is the sort of
story most men, myself included, would understandably want keep to
themselves. Although this deviates from my normal content, I feel a duty
to tell all in this age of transparency because while I was in the
middle of the ordeal, I turned to Google for help and didn’t find the
information I needed. I write this in the hopes it helps some
unfortunate guy in the future.
Not too long ago I wrote a blog post on some of the benefits of Duck Typing
for C# developers. In that post I wrote up a simplified code sample demonstrating how you can cast the
HttpContext to an interface you
IHttpContext, for lack of a better name.
In my last
I wrote about how most email validation routines are too strict when
compared against what is allowed by the RFC. Initially I dismissed this
phenomena as the result of ignorance of the RFC or inability to
understand it, as I had trouble understanding it myself.
Raise your hand if you know how to validate an email address. For those of you with your hand in the air, put it down quickly before someone sees you. It’s an odd sight to see someone sitting alone at the keyboard raising his or her hand. I was speaking metaphorically.
UPDATE: Using Coral CDN to serve up my images and stylesheets ended up
being a mistake and actually slowed down my site. I’d recommend using
Amazon S3 instead if you need high bandwidth fast serving of static
content. Coral CDN is probably better for cases when you want to serve
up a large file (mp3, mpeg, etc…) and save on your bandwidth usage. It
doesn’t seem ready to be a general purpose CDN for speeding up your
site. I’ll add the ability to this code to use S3. In the meanwhile,
this code is still useful by simply restricting the extensions in the
config file to perhaps this list “mpg,mp3,mpeg,wmv,avi,zip”. Hat tip to
Jon Galloway for pointing that out.