Archives for May 2010

May 2010 (5)
« Apr Jun »

Like this Archive Calendar widget? Download it here.

Viewing divs with “overflow:auto;” on the iPhone

In playing around with my blog’s new iPhone support I came across a doozy of a problem. I display all of the code quoted in one of my blog posts in a special div that has the overflow style attribute set to auto . On desktop browsers, these div s are rendered in a block with horizontal and vertical scrollbars. If the lines are too wide for the width of the div they’re displayed in, the horizontal scrollbar is activated; similarly if there are too many lines to fit vertically (I set max-height to...


Adding support for iPhone with GraffitiCMS

This blog uses GraffitiCMS as the blogging engine. This software has now been open-sourced by the original developers, Telligent, and is available on CodePlex . Although it’s pretty full-featured and does most of what I want and need from a blogging engine (and has lots of features I don’t use) there is no built-in support as yet for providing a special view for mobile devices. Consequently, when you view the site on an iPhone, say (since this is what I use as a mobile phone), it displays the wide...


PostFix to Infix: converting RPN to algebraic expressions

Yesterday afternoon I finished my latest PCPlus article on generating all possible arithmetic expressions with four operators. The article explored several algorithms, such as evaluating all full binary trees with a certain number of internal nodes (mine was four), evaluating an expression tree, and the like, and for the sidebar I slipped in a quick bit about RPN ( Reverse Polish Notation ) and how succinct it is for describing arithmetic expressions (there’s no operator precedence or parentheses...


Crazy For You: cartoons for the actors

I’m in a show at the moment at the Fine Arts Center here in Colorado Springs (as it happens, tonight is opening night). We’re doing Crazy For You , a modern musical that marries up lots of great Gershwin tunes with a light 30s style plot. And tap dancing. Lots of tap dancing. Man, am I glad I’m not in those numbers: I get exhausted just watching. Anyway, I play a British character (type-casting?) called Eugene Fodor who’s on a trip through the American West with his sister...


PCPlus 281: Indexing the Internet

I write a monthly column for PCPlus , a computer news-views-n-reviews magazine in the UK (actually there are 13 issues a year — there’s an Xmas issue as well — so it’s a bit more than monthly). The column is called Theory Workshop and appears in the Make It section of the magazine. When I signed up, my editor and the magazine were gracious enough to allow me to reprint the articles here after say a year or so. What I’ll do is publish the article from a year ago or so...