Caching Ajax Requests in IE
Have you ever had a problem with ajax requests caching in Internet Explorer. I have, and recently I came across a nicer solution than I have traditionally used. In the past, I have used a unique parameter on the url to keep IE from caching previous requests to the same url, like so:
Django on Jython Intro
Here is a "new and shiney" presentation for running Django on Jython. It's based on my experiences with the DjangoJython tutorial.
As is discussed in the slide deck, and hence the subtitle of the presentation, much could be helped by more careful reading of documentation. Well, moments ago, I decided that I hadn't checked out django-jython 1.1. Well.... turns out many more problems could have been helped by using this later version. Sweet!
Read full article...Synergy on Ubuntu
Synergy is a fantastic project that allows you to share a single set of input devices (keyboard and mouse) over multiple machines. Clipboard sharing is also supported. It's remarkably easy to set up, and it works across multiple platforms.
Read full article...Change hostname on Ubuntu
When you setup your computer at the time of your initial Ubuntu installation, you assign your computer a hostname. In my case, I gave it a hostname and then later wanted to change it to something else. This is accomplished in two easy steps.
Read full article...Install Java 5 on Karmic Koala
In Ubuntu 9.10, they removed Java 5 from the update repositories for Karmic because Java 5 was end of lifed in Oct. 09. This has made it more cumbersome for the Java 5 user on Karmic. Luckily, cumbersome is still pretty easy.
Read full article...Access JS object fields
Sometimes it is useful to be able to iterate through the fields in a javascript object and use the values kept therein for something spectacular. I've found this to be the case for POJSOs (+S = 'Script') that I pass down to the client with new-found data from the backend.
Read full article...Unexpected call to method or property access
In a recent admin tool I was creating, I was using SOUIT of Javascript... apparently more than I knew how to write well. Eventually, it all worked wonderfully -- that is, until someone tried to use it in a lesser browser -- Internet Explorer. The error was thus:
Engineering for Engineering's Sake
Software engineers are sometimes very, very prone to making things more complex than they need to be. In the engineer's mind, "complex" can be replaced with the word "cool" (or some other amazing adjective). Such a mind has gotten lost, has lost sight of the fact that there exists a most-efficient path from the problem to the solution. Such a predicament is not uncommon -- probably because of something physically wrong in the engineer's mind; And because a certain amount of tinkering is usually required to begin work toward a solution. But, when one becomes enveloped in the problem and forgets about the priority of actually solving the problem, large, unrecognizable apparatus are concocted.
Read full article...Django Intro Presentation
At Sort 2009, a technical conference at the LDS Church, I gave a presentation on my favorite all-in-one web framework, Django. It's a great tool, and here's a look at the slides produced to accompany my presentation. Also, checkout bitbucket for the source code for the demo project.
Read full article...Parameterized States in Webflow
My first experience with Spring Webflow is on a project that uses Webflow 1.0.5. So far, I'm impressed. Apparently, Webflow 2 offers even more incredible awesomeness, but thusfar I would put my webflow experience over that of my previous couple years in Seam. (I was just waiting for a chance to abandon that library anyway.)

