Author Archive

More Life with Leah

Apr 10th, 2007No Comments

This is how we learned that Leah has a stash of magic markers in her room.  And we also learned that just because she’s quiet after we put her to bed doesn’t necessarily mean that she’s sleeping.

Oh, and we are thankful that Crayola markers are just as washable as they advertise.

No One Belongs Here More Than You

Apr 10th, 20071 Comment

Let me give you one of the strangest websites I’ve seen in a while: the promo website for the book No One Belongs Here More Than You

It’s strange in a good way.  Highly creative, it took everything everyone has said about creating a good website, folded it into a neat little ball, and dropped kicked it into oblivion.

As Jason Kottke puts it: “If you think the site sucks and quickly click away, chances are you’re not going to like the book either…it’s the perfect self-selection mechanism.”

Why is this Friday so Good?

Apr 6th, 2007No Comments

[Dave's comment on the Lord's Supper ](http://covenanters.wordpress.com/2007/04/01/potpourii/) echoed my own during the [Maundy Thursday](http://en.wikipedia.org/wiki/Maundy_Thursday) service at our church. And still does, as I contemplate it. Our pastor always does a fine job in all his services, but he does it up even better on reflexive days such as Maundy Thursday. Last night, he made us face the fact on why Jesus had to die. He died for me, for my sins, because there was no other way I could be forgiven.

Why is this Friday so Good? For the same reason it’s so Bad. Because it’s my sins that put Christ on the cross. From the one of the songs we sang during the service:

> Who was the guilty?
> Who brought this upon you?
> It is my treason, Lord,
> That has undone you.
> ‘Twas I, Lord Jesus, I it was denied you;
> I crucified you.
>
> Dear Jesus,
> Since I cannot pay you,
> I do adore you and will every pray you,
> Think on you pity and love unswerving,
> Not my deserving

Early U.S. Daylight Savings a bust in power savings

Apr 5th, 2007No Comments

From Reuters: Early U.S. Daylight Savings a bust in power savings

Gina and I have always said that the people who invented Daily Savings Time must not have ever been parents of small children, for the wreck it causes to them.  Leah has just gotten adjusted to it.

So if the Energy Department has always said that the savings would be modest, if at all, why did we do it?  Why did we waste money and resources making sure our systems were going to be up-to-date from the change?  Was all this really a good use of our nations research?

Finally . . . generators in Jython

Apr 4th, 20071 Comment

Okay, so I’m behind the Eight Ball. But I’m using Jython 2.2b1 and finally had a reason to use generators. Of course, we are back in 2.2-land, so our first line is this:

from __future__ import generators

Then here is my function. Generators are very nice for processes the result of a SQL query!


def getResults():
conn = getConnection()
cur = conn.cursor()
cur.execute("select * from table")
ret = cur.fetchone()
while ret!=None:
yield ret
ret = cur.fetchone()
cur.close()