Chip's Quips
A tiny spark of wit for a highly flammable world

links for 2006-10-10

October 9th, 2006 7:18:13 pm pst by Sterling Camden

Posted in Share the Love | 2 Comments » RSS 2.0

A touch of Krome

October 9th, 2006 1:09:14 pm pst by Sterling Camden

I like to link to users of my published code, as a sort of “thank you for your support”. Even though they don’t pay for any of it.

But sometimes it pays off in other ways. For instance, when I linked to Sergio Longoni (aka “Kromeboy”) who uses my OPML blogroll widget, he responded with some good suggestions for improving the widget, including the necessary source code.

So today I updated the widget to version 1.1 and included Sergio’s enhancements. He also had some other suggestions that I’ll consider for a future version.

It’s called “collaboration”.

Posted in Coding...OK? | 9 Comments » RSS 2.0

links for 2006-10-07

October 6th, 2006 7:19:49 pm pst by Sterling Camden
Tags:

Posted in Share the Love | No Comments » RSS 2.0

Avian Anxiety

October 6th, 2006 3:42:11 pm pst by Sterling Camden

Nick Bradbury’s post about a “crazy poopin’ bird” reminded me of an incident a couple of years ago.

We used to live in a house that was literally on the water, with big picture windows looking out over part of Puget Sound. One morning in spring, my wife was frantically trying to get our children into the car, late as usual. She enlisted my help, and we all went running out the front door, which we left standing open. After everyone was buckled in, I walked back to the house and just as I got to the door, two birds (varied thrushes, I later learned) zoomed past me and in through the doorway.

We had a huge mirror over the fireplace that reflected the window view, and apparently the female (who was being pursued) thought this presented a promising exit. *BAM* head-on into the mirror at full speed — and she bounced onto the floor, dead.

I picked her up and tried to coax her awake, to no avail. I gently laid her in our garden in hopes that she would revive. But she never did.

I went back into the house, and the male was hopping around frantically looking for his mate. After running around the main living area to open every window and door to let him out, I looked around for him and couldn’t find him. Good, he must have flown out. I shut the windows and doors, then went back downstairs to my office.

A little while later, I came back upstairs to get something. There he sat on the floor. Open all the windows and doors again, and try to chase him out. All those open windows, but he just flies around inside. Finally, I chase him downstairs and into our daughter’s room. Quickly I closed the door, then opened the windows of that room so the only place he could go was outside. After I had opened all three windows, he was nowhere to be seen. Knowing first-hand his ability to conceal himself, I ransacked the room. I tore off the bedclothes, emptied the toy baskets, not a teddy bear unturned — and no sight of Mr. Thrush. Okay, this time he must have flown out while I was opening windows, says I. So I close the windows and go back to work.

A little while later, my wife returns. I tell her what happened. She immediately walks into our daughter’s room, and there sits the bird! With two of us, we’re able to keep an eye on him and open the windows, and we finally manage to drive him out.

For months thereafter, though, he would come to our front door and peck on the brass kickplate. Peck, peck, peck. Looking for his long lost love. They mate for life, you know. And while he was busy pecking: poop, poop, poop. We had to clean it up daily.

Winter came, and he finally left.

Next spring, he was back. Every day. Peck, peck, peck. Poop, poop, poop.

We sold the house — the next winter.

Posted in Get Outta Here | 10 Comments » RSS 2.0

Algooglrithms

October 5th, 2006 1:15:52 pm pst by Sterling Camden

googlecodesearchPlaying around with the new Google Code Search today. Nice to know that my ratrace app comes up on top in a search for “lang:ruby rats”: http://www.google.com/codesearch?hl=en&lr=&q=lang%3Aruby+rats&btnG=Search

Interesting how it searches within ZIP files on the web. A search for my tag cloud widget for WordPress presented more difficulty, because I put most of the description into a readme.txt file instead of in source code comments. So “lang:php” excluded it.

Let’s try something apotheon was searching for today: http://www.google.com/codesearch?hl=en&lr=&q=lang%3Aperl+s-expression+parser&btnG=Search

A Perl S-expression parser. 50 results. Ought to be something in there to do the trick.

The Synergy/DE language seems a bit under-indexed: http://www.google.com/codesearch?hl=en&lr=&q=lang%3Asynergyde&btnG=Search

Even though I’ve posted 42 examples in Synergy/DE on chipstips.com.

DIBOL fares no better: http://www.google.com/codesearch?hl=en&lr=&q=lang%3Adibol&btnG=Search

I like the way you can use regular expressions in your search: http://www.google.com/codesearch?hl=en&lr=&q=lang%3A.*lisp+def%5Bun%2Cmacro%5D&btnG=Search

In this case we’re searching for languages that end in “lisp” and code that contains “defun” or “defmacro”. Hmm, only 500 results. They need to index more Lisp code too, apparently. A search for just “lang:.*lisp” gives only 600 results.

Let’s try some different languages for comparison:

 

Language Search Approximate # Results
^c$ 2,870,000
^c\+\+$ 751,000
java 766,000
php 302,000
python 188,000
perl 186,000
fortran 73,900
c# 50,400
.*assembl.* 41,400
lex 18,100
yacc 10,800
.*lisp 600
.*basic 600
basic 500
sql 500
lisp 400
scheme 400
asp 400
ruby 200
smalltalk 200
javascript 200
erlang 100
ada 100
eiffel 100
vbscript 0
synergy.*,dibol,dbl 0
progress.* 0
delphi,pascal 0
algol 0
cobol 0
ocaml,arc,dylan,haskell,logo 0
xml,xslt,.*html 0

Did I forget anybody?

I would say this tool holds promise. I’ll definitely keep it in my programming weapons arsenal.

Posted in Coding...OK? | 7 Comments » RSS 2.0

links for 2006-10-05

October 4th, 2006 7:18:51 pm pst by Sterling Camden

Posted in Share the Love | No Comments » RSS 2.0

links for 2006-10-03

October 2nd, 2006 7:18:34 pm pst by Sterling Camden

Posted in Share the Love | 4 Comments » RSS 2.0

That perfect light

October 2nd, 2006 6:18:32 pm pst by Sterling Camden

This morning I finally took Halley for our morning run again, now that my wife is able to get around the house with her walker. After a hiatus of over a week, the difference in sunlight at 5 AM here north of the 47th parallel is astonishing. Our route has no street lights, and contains many stretches where no house lights are visible. Halley and I can barely see each other in the darkness.

stars

But looking up — oh! Millions of stars. Stars that most people in the United States haven’t been able to see for decades. In the city, you can look up from a dark area and see Orion, or maybe Ursa Major or a planet or two. But out here where the light pollution glows only faintly over the horizon towards Seattle, the stars cover the sky like dust.

You can easily imagine how, with a couple of thousand years’ less pollution and science, simple shepherds might think each star was a divine being — a bright soldier in the vast Heavenly Host. And if one star, unseen before, shone with singular brightness (like the supernova of 4BC) — might that not be the Messenger of the Lord (the word for “angel” in both Hebrew and Greek means “messenger”) bringing good tidings of great cheer: that the Messiah who would deliver them from the Romans and that foul Idumean Herod was finally born?

Of course, the account in the Book of Luke was written down more than half a century (at least) after the birth of Jesus, and it contains some striking historical mistakes. Many scholars think that this story, along with Matthew’s account of the wise men and other passages, were embellishments added to the story of the life of Jesus as it was passed down over the years. But I’m not certain that they don’t echo actual events, even if the interpretation and some of the details of those stories may have been molded to the teller’s purpose. The ancients were always watching the heavens for signs, and Judea at the turn of the era was more than ready for a Savior.

Aside: I’ve linked to passages from the New International Version of the Bible, which has sometimes been criticized for its evangelical ties. IMHO, it’s the most accurate translation that isn’t slavishly literal. In other words, it faithfully renders the original into modern English. But I might be biased: two of my college professors worked on the translation.

It’s difficult to form a solid opinion of Jesus the man by reading the New Testament, though many attempt it. You’re only given his picture as seen by mostly (if not all) second-generation followers. By then, the theology that had accumulated around that singular life heavily colored the stories. And yet, these are the only records we have, apart from some fleeting accounts that are no nearer to the source.

No other figure has become so transfixed upon the cross of western civilization as Jesus. At the junction between the ancient, Medieval, and modern world-views, and the cross-over between Eastern and Western thought. He moved the mission of Messiah from political independence to the “kingdom of heaven“, which is “within you” — creating in one instant the great monastic preoccupation of the Dark Ages. He had only contempt and disinterest for the established religious and political systems, and IMHO anyone who promotes a political or religious agenda “in the name of Jesus Christ” dishonors that name no less than those who used Nietzsche to justify Nazism — maybe more.

And sometimes Jesus had insights that wander outside the usual systematic theology, like the parable in Matthew 20:

When an evil spirit comes out of a man, it goes through arid places seeking rest and does not find it. Then it says, ‘I will return to the house I left.’ When it arrives, it finds the house unoccupied, swept clean and put in order. Then it goes and takes with it seven other spirits more wicked than itself, and they go in and live there. And the final condition of that man is worse than the first.

Not a happy prognosis for the newly exorcised, but nevertheless a principle that seems to apply over and over again, from addictions to politics to relationships to dieting to software design: getting rid of the bad only helps temporarily, and in the long run makes things worse, unless you can replace it with something better.

OTOH, perhaps this parable in particular indicates that Jesus had more of a connection to the politics of his time than Christianity cares to admit. The New Testament takes great pains to downplay the Zealot angle — maybe too much. One way to interpret the parable above: “you got rid of the Greeks and the Romans took their place. What do you think will happen if you drive out the Romans?” What draws me to this interpretation is the statement that follows the parable: “That is how it will be with this wicked generation.” But perhaps this is just another example of the general applicability of the parable’s principle.

As I was writing this, I noticed that Shel Israel reposted some thoughts today on his religious heritage. I hope you’ll be patient with these rambling musings of mine a bit longer.

Monthy Python’s Life of Brian (as quoted by Kent Newsome ) comically demonstrates how, once he’s promoted to divinity, literally anything becomes possible to believe about a Messiah. But not only from ignorance.

The blood on the Shroud of Turin (if it was on the shroud) has been tested as type AB. For many, this is proof that the Shroud is a fake, because type AB blood has not been found in graves older than about 1000 AD. It’s thought to be a mutation that occurred relatively recently in Eastern Europe with the admixture of European type A’s and invading Tartaric type B’s. Though not everyone agrees. It’s an interesting coincidence (?) that the blood on the Sudarium of Oviedo is also AB — less than 2% of the human population has that blood type.

But doesn’t it just figure that Jesus would be type AB? The least resistant immune response. The highest dietary tolerance of any blood type. Often characterized as the most spiritual. And, of course, the most inclusive. Could Jesus’ radically new teachings be merely the sublimated expression of (for his day) a unique biological makeup?

Another view: if you start from the notion that everything proceeds from God’s will, then Christ’s AB blood type becomes just another expression of his all-inclusive human nature. That is, the divine intent precedes the physical embodiment. I’m not saying that this is the right interpretation, or that there even is a right interpretation. It has more to do with the significance that you place on two somewhat competing ideas:

  1. Phenomena are the result of cause and effect relationships that can be, for the most part, repeated and analyzed
  2. Phenomena carry a spiritual significance that overshadows the mechanics of their operation

I think it’s possible to hold both of these ideas, provided you acknowledge the limitations of each. As I’ve discussed before, I believe that cause and effect form a human concept that helps us describe and predict our world, but the concept falls apart at the edges of our experience. Like our perception of light and sound, we only get part of the spectrum. Limiting what we are willing to experience to that which can be explained in our intellect cuts out a large part of life, unless we have the hubris to believe that the piece of meat in our head perfectly mirrors reality.

“Spiritual” may simply refer to a kind of understanding that transcends language and cause/effect. As such, trying to pin it down with words is like so many pins in a butterfly’s wings. You might be able to study it, but by then it is no longer the same thing. Even the characterization of “spiritual” in this paragraph is, by definition, inadequate. And of course even a purely spiritual experience must be limited to our human ability to appropriate it. So, we have to be wary of sophisticated systems of belief or disbelief. The shelf life of religious concepts is exceptionally short. Yet most believers consume this produce well after its expiration date. Too much trouble for the vendors to acquire fresh.

Halley and I cross the boundary of our property. Glowing between the trees, the lights of home. For a moment, this could be any moment in the last 100,000 years.

Posted in Get Real | 13 Comments » RSS 2.0

Host Overflow Application eXception.

October 2nd, 2006 10:25:23 am pst by Sterling Camden

This blog h4x0red using Host Overflow Application eXception.

Posted in Out of Nowhere | 6 Comments » RSS 2.0