Asymptomatic

There must be intelligent life down here

Implementing the Front Controller Pattern in Lighttpd

One of the more common design patterns in installable web applications today is the Front Controller pattern. Unlike other web applications that have separate files to respond to specific requests, the front controller pattern funnels all requests through a single file, and that file processes the requested URL to respond as appropriate.

In typical scenarios, you’ll accomplish this with Apache using a set of mod_rewrite directives. These directives first check to see if the requested file or directory exists. If it does not exist, then the request is passed on to the front controller. This allows requests for existing files - like images, stylesheets, and client-side scripts - to be requested directly rather than passing through the URL rewriting mechanism.

What Was?

I’m sure I’m not the only person who has had this question, especially in this age of Tivos and DVRs: Where can I get a schedule of things that have happened?

It’s interesting. I’ve completely given up on the printed TVGuide. Why pay money for a weekly throwaway schedule of TV shows that doesn’t even cover well all 100+ channels of programming that I receive? I wouldn’t, especially because I can get that information directly via my TV tuner or, if I’m desperate, through the internet. But the printed TV Guide has one advantage over these digital mediums - it keeps near-term historical information.

How to Succeed at Elementary School: Cheat

I’ve been offering some of my most valuable educational advice to Abby over the past year, and I think the number one thing that I tell her is also the number one thing that will help her be most successful. Cheat.

I think that many people miss this lesson in school, mostly because they don’t teach it. It’s one of my personal aims to make sure that Abby gets these important lessons early. For example, it’s always important to question everything; teachers are often right but can be wrong just like anyone. And one of the more important of the important lessons is that you should cheat.

What is Pastoid?

“Ah, Owen, you don’t work hard enough,” I keep hearing you all say. “You’re such the slacker! Why don’t you do something useful instead of writing all of that blog software?”

Well, between work and Habari, I do like to hang out with the family, and when I’m not doing that (usually after everyone had gone to bed, and long after I should have gone to bed myself) I’m frequently working on stupid little side projects that aren’t of any consequence to anyone. My most recent such “mini” pet project is Pastoid.

Osmotic Design

The more I think on it, the more my thoughts head to the inevitable conclusion that real design skills are something granted to you by either a higher power, genetic makeup, or sheer luck. More to the point, neither god nor my genes have granted me any worthwhile natural knack for design, and that the only way to obtain such is by having some epiphany involving hitting my head, doing psychadelics, or divine intervention.

I keep hoping that I’ll lay down one night, head full of inspiration that I can do naught with visually, and wake up with a profound understanding of layout, color, and aesthetics that I had lacked the night before. As if the information could sink into my brain by osmosis by laying on the Everest-like mound of design books I’ve purchased and not yet intuited.