Archive for February, 2008

Trying to come out of hibernation

Monday, February 25th, 2008

I’ve not really felt much like writing … mostly because being sick has taken the joy out of it for me.

This last week or so has not seen a marked improvement in my condition. Things were getting better after my visit to the Dr. on February 14th, but things stalled out rather around the following Tuesday ( when my steroid shot wore out ). Worried, I chose to book an appointment for this past Thursday figuring that I should see some improvement within a week. Basically the improvement process plateaued.

On Thursday morning I received a call and found out that my Dr. himself was sick and I would be seeing the nurse practitioner. I was lucky in that my practitioner was very good; or, at the very least, she prescribed me some really good drugs. After taking a breathing test to make sure that I didn’t have something in my lungs, I was was given a steroid inhaler and (another!) steroid injection in my keester. The office was short two doctors owing to illness and it was a right frenetic zoo.

I asked the nurse if it was just me, or did this year seem especially bad. She confirmed and said it was the worst winter illness season she’d seen in 25 years in Austin.

All around, it might have been a good bit of time to avoid the ATX.

On the good news front, SXSW is just around the corner and I’ll be doing the interactive festival. Hopefully I’ll find some of readers there too?

The only down side of the steroid is that 4 days after I get the injection i feel really disconsolate: hard to focus and a bit depressive. It’s weird.

For the mean time, the inhaler is very good. It really opens me up and I’ve not had any more croup cough since last Thursday. The only unpleasant side effect is uh, a more “productive” cough. And that’s gross…but necessary to getting better. It’s just ruined me for social company.

Anyway, that’s where things stand.

Smacked-down

Sunday, February 17th, 2008

In what my doctor called “Unbelievably bad luck” I am sick (again) with a respiratory infection (again) which has given me a horrid, hoarse, “croup-like” cough (again) and has required (another) dose of anti-biotics as well as resumption of some really violent expectorants.

The symptoms came on suddenly during the second half of my training on Wednesday and as I walked out I thought to myself, this is going to seriously mess up Valentine’s day. Which, accordingly, it proceeded to do.

My Valentine’s day I spent headed down to the Dr.’s office, getting the news, after which I met up with Lauren on her lunch break. That morning FTD dropped off my flower arrangement at Lauren’s office. She was very pleased.

After our lunch I headed up to Whole Foods and picked up a “Dinner for Two” basket ( much thanks to you Whole Foods ) as I simply was not in a condition to be able to cook too much.

I returned home, took a brief nap, and then cooked up our Chicken Wellington, Greek salad, and chocolate-covered strawberries. It wasn’t too much work, but it showed to my most wonderful girl how much I wanted her to have a special day.

After dinner we exchanged presents. I bought Lauren a Spanish hand-fan so that she can practice the secret language of fans next time we are at The Fed. Who knows, maybe she’ll start a trend ( and Lord knows it gets hot enough in there ).

Saturday morning we were supposed to fly to my grandmother’s birthday but I was just too sick. So I cancelled the arrangements and spent the day coughing ( in fact, my back is sore and aching from the coughing alone! ).

In any case, today I feel like I’ve reached the bottom and turned about. Hopefully I can take it easy a few more days and get back to normal soon.

OK I said that you conjugate the verb fully, but that’s not entirely true. As I’ve not yet learned the subjunctive system, I’m limited to the indicative present and perfect systems. I’ve also included the participles as well as the infinitives.

Might I add that linguistic and string processing with Ruby is a pleasure. Many Years (tm) ago I tried this is French with Java and it was an unholy pain.

Can anyone guess where I’m going with these last few posts?

  • Simplified macron-based entry ( \={a}, \={e}, etc.)
  • Process simplified text to UTF-8 ( the language of rails )
  • Code to process these strings into full conjugations
  • Rails as a display engine

What do you think I’m making?

BTW: This code is very much rough draft, it’s enough to handle the ideas, but needs more modularization and more refactoring, so this is not “steven at his best” level code

(more…)

Kids from Pennsylvania with talent

Tuesday, February 12th, 2008

http://donoramusic.com/

Check out their track “Ssh”, it was used by PostSecret for their Valentine’s video presentation.

Écoute, s’il to plaît, à toi-même

Tuesday, February 12th, 2008

Because they use internal cues — such as no longer feeling hungry — to stop eating, reports a new Cornell study. Americans, on the other hand, tend to use external cues — such as whether their plate is clean, they have run out of their beverage or the TV show they’re watching is over.

http://www.physorg.com/news121699614.html

Rachel McAdams starred in the “The Notebook”. This movie is the staple of “Girls’ Nights In” everywhere.

Later this year she will star as Clare Abshire in The Time Traveler’s Wife, based off of Audrey Nifenegger’s superlatively good novel.

Ttw Toronto

Will she, in but a few years, seize the “weepy” crowns that have, for so long, remained firmly in the treasure-houses of Ali McGraw and Barbara Streisand?

When I write my Latin homework in LaTeX, the source winds up looking like this:

\item[13.] Am\={\i}c\={o}s tr\={\i}st\={e}s exc\={e}pit, ad m\={e}nsam inv\={\i}t\={a}vit, et e\={\i}s perfugium ac s\={o}l\={a}cium h\={\i}c dedit.

{ Aside: You might be thinking that entering “\ = { \ i }” just to get a single character would be a drag, but thanks to Textmate I have created snippets such that Control + letter does all that typing for me }

Now if I want to post this to the web, I need to convert those characters from say “\={\i}” to “\ī”. I would like it to go through the sentence and change each of those LaTeX-macron characters to HTML entities.

Similarly, I occasionally have need to convert LaTeX-macron sequences to UTF-8 codes.

And yet other times I want it to convert those codes to macron-ized characters.

So I wrote a script that takes input of the LaTeX form and will let you specify if you want the output in HTML entity (default), macron characters, or utf8 characters.

The best part is that I’ve written this function into Textmate as an extension so for me conversion is:

Default String

ss_tmlatinconv_1

Highlight the LaTeX string

tm_latinconv_2

Choose my command with this script in it

ss_tmlatinconv_3

Text is replaced, magically!

ss_tmlatinconv_4

And it looks like this in a browser…

\item[13.] Amīcōs trīstēs excēpit, ad mēnsam invītāvit, et eīs perfugium ac sōlācium hī

Roll of the Tripodometer

Sunday, February 10th, 2008

According to WordPress this will be by 1,003rd post which means that like most numerically-significant tripodometer rolls you notice it just a few clicks past the “momentous” moment.

I remember when I rolled my old Blazer’s trip past 100K. I was on the lower deck of I-35 headed southbound across the river. I looked to my right and saw the Memorial Stadium, the lit up tower, and the lights of downtown in that 0th mile. It was memorable.

But on this site, the 1000th post seems to have been: “One man’s DITMTLOD is anothers, “eh”?”. Well I can’t say that was particularly enlightening reading, but probably par for the course of those that come here. Based on this being the 1000th, that would mean that I’ve averaged about 200 posts a year over these last five years that I’ve been writing this site.

That first post was written on the third floor of a salmon colored apartment on Mariposa Street an San Francisco.

This post is being written from a comfortable armchair in Austin.

Then…I didn’t know (technology): Cocoa, Latex, Ruby, Rails, Textmate, anything about Unicode, how to write custom MC files for sendmail, Latin, OpenLdap server builds.

Now…I know all these things

Then…I didn’t know (activities): how to surf, yoga

Now…I know these things.

Then…I thought the president was a dangerous moron.

Now…Some things don’t change.

Then…MoveableType

Now…WordPress

Then…Never been to Australia or Spain

Now…Been to both ( the former, twice! )

Then…Didn’t know if anyone would care to come along on this ride called my life

Now…Making “our life” with a special, special girl.

Then..closest Mexican food: Burrito in The Mission, San Francisco

Now…Chuy’s

Then…My Friend Mike

Now…My Friend The Social B

Then…Trader Joe’s

Now…Whole Foods ( c’mon TJ’s come to ATX, I know it’s WF’s backyard, but bite the bullet! )

Then…sliding into some sort of depression

Now…more connected to optimism and happiness than ever

Then…League-Less

Now…League nearby!

Then…Netflix queue full

Now…Netflix queue at 489!

Then…wrote entries in the on-line editor

Now…write entries in Textmate with Markdown

There are many other thens and nows: cars, clothes, books, sites I read, changes at work in both patron and peer…far too many to think of them all.

So, these are a few ideas on what’s gone before and what’s yet to come. I suppose I’ll keep writing this stuff because, honestly, I can’t stop and I’ve come to use the blog as a storehouse for things I intend to remember. If so, then the site will always have one reader, just like it did the moment after the first time I changed a post status from Draft to Published.

Persepolis

Sunday, February 10th, 2008

In the world of comics there are the comics which are considered, well, kids-stuff by the non-initiated. In this silo fall the comics that they make blockbusters of: Spiderman, Superman, et. al.

Superman 349 Cover Small

Then there are the world of Literary Comics, the comics that those who shrug their shoulders at the œuvre of the first style know that they will be thrown out of hipster High for dissing ( nota bene: there’s some overlap in these two camps cf. The Dark Knight Returns, Death of Superman arc, etc.). Chief among these would be anything by Alan Moore but assuredly most embodied in his magnum opus: “The Watchmen”

Watchmen

The third silo would be “Serious Comics for Grownups”. This genre was assuredly ushered in by Art Spiegelman’s “Maus”, a grim recounting of the holocaust with Jews portrayed by mice, and Nazis portrayed by cats.

Maus 3

Among this latter category emerged, in my awareness, Marjane Satrapi’s “Persepolis”, in the early 2000’s. I remember thinking that the drawings were so simple and so plain, but the story of a young girl during pre-Revolutionary Iran was an immediate hook.

240px Persepolis Books 1and 2 Covers

My only relationship to Iran had been a hazy recollection of badness during the Reagan years and then that they were a koo-koo theocracy.

Over the years, and especially during my years in California where I met Persians, I came to realize that it’s a country of incredible erudition, of incredibly beauty, and incredible complexity. Persia was the land of Darius, of Xerxes, of Alexander, of the gateway to India, to the place where, on the silk Road, Hindu met Christian met Buddhist met the Cult of Mithras. It’s truly the touchpoint of the philosophic east and the philosophic west.

Xer 5

I would so very much like to go and see that part of the world. If there’s a crossroads where Janus himself) dwells, it is assuredly in the countries of The Great Game.

Janus 1

“Persepolis” has just been made into a beautifully animated move which is, in measures, partly the recounting of teen angst + hijab, the sorrow of being an intellectual family and having loved ones jailed or worse, of being an Iranian who saw her neighbor’s home take a missile, and an education of how the CIA helped install a corrupt regime ( and educated the torturer class ) and how the West happily armed both sides in the Iran - Iraq war, making the atmosphere ripe for no(know?)-nothing theocrats to seize power.

Best intentions, eh?

In any case, this story is the tragedy of a broken land and of a girl’s heart breaking in the process. It’s the story of finding that pure pride of being from the land that kisses the Caspian in spite of the shambles, and bravely entering a world that will look down upon you for what they think you are. It is the story of being strong, of loving freedom, and of the sweetness that no one can deprive you of: the smell of jasmine and rich cigarettes.

The animated feature is highly impressionistic, fades in and out portrays clinical depression, homelessness, fury, death, and torture in a way that such they’re not required to be shown in order to be shocking.

A great bit of voice casting is real-life mother and daughter Catherine Denuve and Chiara Mastroiani voicing the protagonist’s mother and little “Marji” herself.

Persepolis

The soundtrack is also wonderful, Olivier Bernet’s strings manage to convey whimsy, depression, dreams, and tears in a way that perfectly complements the visuals. In fact, it distinctly made “Eye of the Tiger” seem to be an 80’s re-interpretation of the message of “We The Living” - and that’s saying something

It’s a lovely film, just as powerful and tragic as “Life is Beautiful” but rendered from a Middle Eastern perspective.

If it’s playing in your town, do not miss the chance to enjoy this special film. Persepolis 1

Previously I had shown how I had used Ruby to re-create passive system conjugations. I decided I’d try to add on some functionality and I’ve come up with a Ruby script that handles full verbal system conjugation for 1st and 2nd conjugations (-āre / -ēre) in Latin.

I’ll ultimately build this into a Rails application, but I’m getting the design and debug out of the way with a ruby script.

Check out the code on my tracking page. I need to add support for 3, 3-io, and 4th, but I’m amazed by how light this code has come up to be ( ~ 300 lines with generous whitespace! ).

I’m pretty pleased with my recursive macron validation scheme. Showing off recursive code ( for non Lisp people ) is sorta like being a white guy demonstrating your breakdancing skills. You’re embarrassed to try, you’re embarrased with the result, but even if you do it a little bit, you feel way proud of yourself ( probably too much ).

My printfs aren’t aligning as you see in the output. If there are any printf gurus that can help me let me know.