Dragons in the Algorithm
Adventures in Programming
by Michael Chermside

Category: Uncategorized

Separation of Concerns

Once upon a time (in the dark ages of web application development) we built our applications as a single monolithic Perl CGI script, or perhaps a large JSP file containing the entire application. The code looked something like this:


<% Cost[] costs = CostHelper.calculateCosts(loanData, currentDecision); %>
Current Costs:

    Cost …

Read more

Posted Mon 27 October 2008 by mcherm in Uncategorized

Many ways to attack websites

Developers of web applications have quite a few different kinds of "attacks" to worry about. I will try to describe the major categories I know of, including one which is "new" as of the past month or so.

SQL Injection

The most venerable is the SQL-injection attack (and related attacks …

Read more

Posted Thu 09 October 2008 by mcherm in Uncategorized

The Wager

You are really lazy. It's nothing personal of course -- everyone tends to procrastinate to some extent, but right now it's YOUR turn. In just a moment, I am going to convince you that you want to do something. You'll agree that it's a good idea, you'll tell yourself that you …

Read more

Posted Mon 25 August 2008 by mcherm in Uncategorized (backup, bet, lazy, mozy, review, wager)

How to email blog posts from Outlook

Suppose (just for the sake of discussion) you wanted to share some blog postings with a group of people at work - and the company email system uses Outlook 2003. Sending HTML email with the blog posting seems like it would be a nice way to do it. But getting Outlook …

Read more

Posted Wed 02 April 2008 by mcherm in Uncategorized