Skip to content
Archive of entries posted on October 2005

Analyzing Netflix

Netflixfan’s post I learned about the Netflix History Analyizer. Its a fun little toy that anaylizes your netflix rental history and generates the following stats:

  • You’ve rented 105 DVDs over 17 months from May 24, 2004 to September 27, 2005.
  • Your plan costs $17.99/month so you’ve paid $305.83 total.
  • Your average price per rental was approximately $2.91 each.
  • Average rental costs elsewhere are $3.75 each (not including late fees).
  • You’ve saved approximately $87.92 over your membership lifetime or $5.17 per month.
  • You kept each rental for around 12 days on average.
  • The longest you kept a single DVD was 62 days: Elizabeth (1998).
  • You rented about 6 DVDs each month.
  • You’re not taking full advantage of your current plan. You could be renting 19 DVDs each month.

The nice thing is that as my gut told me, we were still coming out ahead in the deal. We’ve slowed down our renting the past months or so since there is new content on tv, not to mention some baseball games that consumed our Chicago-based lives. But we are coming out ahead, and that’s the big thing.

The Dark Tower returns!

This time in comic form!

STEPHEN KING BREAKS NEW GROUND AT MARVEL WITH ORIGINAL COMIC SERIES BASED ON HIS EPIC THE DARK TOWER

It looks like they’ll be following the young Roland when he started out his journey. Hopefully we’ll see Cuthbert and Alain.

Also, this marks the first time Stephen King has done original content for comics, so that’ll be good. I guess I’ll have to tell Keith to hold them for me.

American Pie in Spanish

Last night Vik and I were getting a burrito when a Spanish version of American Pie came on the place’s jukebox. In the event this should happen to you in the future, here’s some phrases you’ll want to know translated to Spanish (thanks to Google translate):

  • but my girlfriend was dry == pero mi novia era seca
  • beer == cerveza
  • drinking beer with my fucked up friends == cerveza el beber con mis para arriba cogidos amigos
  • Jack, Jim, and Jose Cuervos == Jack, Jim, y Jose Cuervos
  • at O’Malley’s == en O’Malley’s
  • LOST IN SPACE == PERDIDO EN ESPACIO
  • Jack burnt off his fucking dick == Jack se quemó de su dick de mierda
  • What a bitch! == ¡Una qué perra!
  • What a dick! == ¡Un qué dick!

SSH files that can bite you in the ass

Today, I learned about the existence of ~/.ssh/rc and some of its side effects.

Today, Dave couldn’t figure out why he was unable to launch an X application from a machine with both use. We both started looking into it, and it looked like xauth wasn’t being called to update the .Xauthority file. We spent a good half hour or more looking around trying to figure out if it was a bug in OpenSSH on his mac, or one on the Linux server, if xauth was wonky, or what other small differences there were between his server side environment and mine.

During the search I found this post on a Debian mailing list. It was a red herring as it had us investigating a few dead ends. However, it did point out to my mind the existence of the ~/.ssh/rc file. Up until this point, I didn’t know of this files existence. Anyway, while looking in ~dave/.ssh/ I saw he had such a file.

To quote from the man page:

$HOME/.ssh/rc
Commands in this file are executed by ssh when the user logs in
just before the user’s shell (or command) is started. See the
sshd(8) manual page for more information.

There was an emacs backup file (rc~) there, which I looked into. At one time Dave used it to set a umask for all his connections that came in via ssh. For whatever reason, he must have decided that was not doing what he wanted, so he removed the umask line, but didn’t remove the file. Because the file existed, ssh was trying to execute the commands in it, and since there was nothing in it, ssh did nothing and dumped him to a shell.

From the behavior of ssh, it appears there is a “default” rc that happens if you don’t have one or one doesn’t exist in /etc/ssh. One of the tasks of this default includes calling xauth if you’re doing X11 forwarding. By having an empty file there, Dave was bypassing all of it. I haven’t taken the time to see what other side effects came about from that, but there must not have been much, as Dave hadn’t noticed it since last April (at least according to the mod time on the rc file.)

Dave just IMed me and told me to look at the sshd man page and see the following:

When a user successfully logs in, sshd does the following:
[snip]
8. If $HOME/.ssh/rc exists, runs it; else if /etc/ssh/sshrc
exists, runs it; otherwise runs xauth. The “rc” files are
given the X11 authentication protocol and cookie in standard
input.

One other thing we learned in this is that xauth is dumb dumb stupid. xauth won’t create a .Xauthority file if there is nothing to put into it, such as when you call “xauth list” when a file doesn’t exist. However, if you do an “xauth list” and you don’t have a .Xauthority file, xauth spits out a diagnostic message saying its creating it. In reality, it doesn’t really create the file. Bad coding on someone’s part. This wasted us time, as we though it was xauth that was broken, not Dave’s ssh environment. One could argue that xauth IS broken by demonstrating this behavior, but that’s a different rant.

Vincent Falk: Chicago icon

After months of seeing Vincent on our local NBC affieliate affiliate I finally got curious enough to do a web search to see what his deal was. Not knowing his last name made it difficult but my first search on Google gave me excellent results using the search phrase “vincent chicago suit”.

Last month, NBC5 posted an article about Vincent on their web site. So, the mystery is solved now. I’ll definitely be keeping my eye open for the documentary being shot about him.

I liked the picture of him doing his job as a programmer. It reminded me of my friend Larry who is also legally blind and looks exactly the same when laying down the code. Except for maybe the flashy suits. I think I’ll recommend that to Larry. He can become Boston’s Vincent.

Now if we could only solve the mystery of The Walking Dude.

I need a better small camera

[img]

I’m not sure why I took this picture. Something about the Bible word-finds hanging on a garbage can like that said I should take it. I didn’t stage this photo in any way, I found this layout at lower Michigan and Hubbard when I got off the bus this morning.

The camera in the hiptop is not the best, but I at least have a camera on me. Its pretty terrible in low light situations. I fixed up the photo as much as possible in gimp, but its still not hot. I need to get a better small camera I can carry with me at all times.

COME, SON OF NICOLAS CAGE, KNEEL BEFORE ZOD!

Its been in the news that Nicolas Cage has named his new baby boy Kal-El. Us comic geeks know that Kal-El happens to be Superman’s birth name. Not sure if this is better or worse than Harley Quinn Smith, Kevin Smith’s little girl. I’m thinking Kevin wins here.

In any case, this makes me feel less bad about how Sarah and I named our daughter.

Vacation2005/2005_07_24_18_59_58

You can’t take the sky from me.

We saw Serenity over the weekend. Being huge fans of the show, we’re probably biased, but we loved it.

There were some really surprising parts. I don’t want to say anymore due to dropping spoilers. However, Sarah is still pissed at Joss over one part of the movie. She love it, but she’s still pissed.

If you haven’t seen it, go see it now! Linky says in his post on the movie that he enjoyed it without seeing the series first. So go see it! (However, watching the series first helps and makes a few things resonate more, IMHO.)