Isqua Istari

The Wise Wizards

Python

Posted in Other by Ziggy Tuesday February 27, 2007 at 16:48

Okay Okay Okay
I’m learning Python scripting language. It’s been great so far, very fun to be learning code again. Anyhow, today I got to the “Input and Output” section, where you learn how to deal with files and such. Well, I’m playing around with a file, and I decide I want to write a period between each character in the file, so here’s what I do:

for i in tmp:
tmp.seek(1,1)
tmp.write(‘.’)

You guessed it! The hard drive starts to spin…
and spin…
and spin…
and spin…
and spin…
and spin…

So I busted out the task manager and killed the process. When it was all over, I was left with a 91.348 megabyte text file filled with periods… so cool.

The best part is… The text of this post is copied directly from a Python generated file.

On the brighter side of things

Posted in Other by Ziggy Saturday February 24, 2007 at 00:55

When I read over my recent musing posts I noticed that they are all rather darker than I’d like. Submitted for your approval therefore, a poem of praise.

I live in a little upper room
prepared for those who live aright.
A place I can go to, warm and safe
if I kept the windows closed at night.

But the windows are open, and the world gets in
so I sit downstairs and read and sing
and praise my God who killed my sin
and promised to show me everything

Filled with joy sing praise to thee
my heart sings of Creator’s Love.
The Sonshine washes over me.
and angels echo from above.

Get up to work, sit down to rest
drink morning milk, and evening wine
eat solid food, by heaven blessd’
serve neighbors near, read words divine.

Keep watch and pray, and do not shirk.
Sleep deep, for God approves your work.

Even More Anti-Spam, Or “Boston Sucks”

Posted in Other by Toad Monday February 5, 2007 at 17:43

Since the hashcash addon didn’t seem to be very effective, I sat down and beat Captcha! into submission. It should now ask posters to enter a code from an image before commenting.

In other news, the City of Boston has succeeded in getting two million dollars from Turner Broadcasting Systems, after mistaking stripped down Lite-Brite toys emblazoned with a character from “Aqua-Teen Hunger Force,” a late-night adult show, for bombs, and placing the whole city on an elevated alert. Maybe I’m just a terrible person who loves terrorists, but I’m pretty sure that, even if the show isn’t that great, and the marketing stunt was underhanded, no one owes Boston anything for going on terror alert because a cartoon flipped them the bird.

Powered by Wordpress, theme by neuro