Archive for March, 2007

Gotta Love IE

Sunday, March 18th, 2007

I have been working on a site that uses a lot of YUI components — specifically Grids and Menubar. They were both CSS based, even though the Menubar required a touch of JavaScript, like so:

var oMenuBar = new YAHOO.widget.MenuBar(”menubar”, {visible: true, [...]

MacFuse

Saturday, March 17th, 2007

As I’ve said before, TextMate is becoming my killer app on OSX. One thing I have been missing is a way to edit files over SSH. Emacs has Tramp, which works very well. I googled around and noted that the TextMate list had mentioned MacFuse as a way to accomplish this.

I [...]

I’m in The Stuck

Friday, March 16th, 2007

(I’m sorry, but almost anything from “Richard Florida”:http://creativeclass.org/ fascinates me. Even when I disagree with him.)

Here is “an interesting post”:http://creativeclass.typepad.com/thecreativityexchange/2007/03/the_stuck.html about people who leave the area they grew up in and the ones who stay.

Technically, I did leave the area I grew up in — I was mobile enough to move three hours away (however, [...]

Array Functions for JavaScript

Friday, March 16th, 2007

I was going to go through the exercise of doing this myself, but it seems that someone already beat me to it. That’s okay — I’ll stand on the shoulders of giants.

These methods first check to make sure that they do not already exist on the Array object. If they do, they don’t [...]

Another Sure Sign of Spring

Wednesday, March 14th, 2007

I missed out on the beautiful day yesterday so today I wanted to make the most of it.  It was a bit windy, but not bad overall.  I went out and walked around the Gene Leahy Mall for a bit after I ate my lunch.

About a half hour after I got back I had a [...]

Beer and Outreach

Wednesday, March 14th, 2007

There is an interesting article running in the St. Louis Dispatch about an outreach program they call  Beer and the Bible:

It was a conversation perfectly suited to the setting. Beer-stained wooden tables and the smell of hops complemented a free-flowing, spirited debate among hip young people in scruffy beards and T-shirts.

In 2007, this is church.

The [...]

JSON — not just for AJAX

Monday, March 12th, 2007

I recently blogged on the evils of mixing Java and JavaScript in JSP pages but didn’t give any good ways around it.  I mean, you have a list or array in Java and you want JavaScript in the JSP page to access this data — how do you do that?

Let me introduce you to to [...]

The First Grilling of the Season

Sunday, March 11th, 2007

I don’t usually cook hamburgers at the beginning of the grilling season — I try to do something more dramatic than that. But we forgot to get something up the night before so I got some ground beef from the freezer just before we left for church. And it was sixty degrees today. [...]

Mixing inline JSP code with JavaScript

Tuesday, March 6th, 2007

Before I get started, let us all repeat three times: “Inline JSP is evil.” Now that we are all on the same page . . .

I’ve inherited a project that has a ton of JSP’s with inline code. This code specifies a lot of logic and decisions that, frankly, should be back at [...]

JavaScript: my 2007 Language of the Year

Sunday, March 4th, 2007

I’m sure many of you have heard of the “Language of the Year”:http://www.pragmaticprogrammer.com/loty/ idea. I’ve done it in the past, with minor success. I usually get caught in other things by May or June and soon forget about it.

I didn’t plan on JavaScript being my LotY — it just sort of happened. [...]