Favorite Things 2.0

By Shamus Posted Sunday Apr 30, 2006

Filed under: Programming 9 comments

Below is a funny song about coding which is sung to the tune of “Favorite Things”. It’s been around for ages, although I always thought the original version was a bit too short and unfocused. So, I’ve re-written it, because I’m a dork, and I’m posting it because I have nothing worthwhile to say today.


Pointers to pointers to printf()-like functions,
Unary minus and nested conjunctions,
Integers, booleans, characters, strings,
These are a few of my favorite things!

Encapsuled functions with routines embeded.
Parallel process to run multi-threaded.
Routines that lighten the processor load.
This is just some of my favorite code!


/* When the bug bites! When the core dumps!
when the code is bad.
I simply remember my favorite things,
and then I don't feel so mad. */

API reference and good indentation.
Pointers to strings that have null-termination.
Callbacks to functions of referencing strings.
These are a few of my favorite things.

malloc() and calloc() and database files.
Error-free coding that always compiles.
Arrays of structures and quick file sort.
These are my favorite things to import!


/* When the link fails! When the code bombs!
When it won't execute.
I simply compile my favorite things
and then I can go Re-boot! */

 


 

This just happened

By Shamus Posted Saturday Apr 29, 2006

Filed under: Personal 5 comments

My wife is painting a sign in the garage, and she has her paints sitting on the trunk of the car in a way that makes me nervous. I look at the surface and sure enough, there is a blob of white near the paint can. I poke it, and it’s still soft. I can wipe it off with my fingers, so it hasn’t dried yet.

“Is this paint?”, I ask accusingly.

“No”, she says, “That’s bird crap.”

She was right.

 


 

De-fence

By Shamus Posted Saturday Apr 29, 2006

Filed under: Pictures 3 comments


The pink line highlights the scar in the yard where the fence was.

You may remember my backyard project from a few weeks ago. I’d gotten to the point where the fence was down, and I’d dragged most of it into a big heap beside the house. Problem was, I had no idea what to do with it from there. We’re talking about almost two dozen iron poles, each of which has a heavy blob of concrete on the end. Also, there was a great deal of rolled-up chain link. This stuff was not going to fit into any trash can, even a little at a time. The individual pieces were too huge and too heavy. So I can’t throw it out. Can’t burn it. Can’t launch it into space. I don’t have a lightsaber and I don’t have a Trek phaser with the handy “vaporize” setting. Dumpster rentals are possible, but the cheap ones specifically forbid chain-link fence. The larger ones allow anything, but cost a few hundred(!!) dollars.


I really, really hated that fence..

So I had this huge pile of scrap metal and concrete. Now it was all in one pile, and no longer part of my yard, which was good. But it was also… all in one big ugly pile. What to do?

My neighbor dropped by. Said he’d been meaning to put up a fence for the dog. He asked if I’d be willing to let him have the fence. He offered to haul it all away, and dig up the last few posts for me.

I remember a western from when I was a kid where the villians took the main character and his buddy out into the desert. The buddy was hung with a rope around his neck, and stood on the shoulders of the protagonist. Both had their hands bound. Then the bad guys rode away. The protagonist couldn’t walk away or his friend would hang. However, he was doomed to get tired at some point. He couldn’t stand there forever. It was quite a predicament. I’m sure it ended badly.

Imagine if a random stranger had come along and asked these two guys if they’d be willing to sell him the rope. That’s pretty much how I felt when he offered to haul the fence away.

I mean, really? Sure. Heck, I’ll let you have the rust and concrete as well, no extra charge!

 


 

Thunderbird

By Shamus Posted Friday Apr 28, 2006

Filed under: Rants 14 comments

The most common popup I see on my computer is this one:

I use Mozilla Thunderbird for email, and whenever I have a lot of mail, I get this stupid, pointless, useless, unhelpful, needless, infuriating popup every five seconds or so while the mail comes in. It stops doing everything, including talking to the mail server, while it waits for me to hit ok. This means if I walk away the connection to the mail server will be lost.

So, I have to babysit the program while it checks my email by clicking on this popup over and over until I get all my mail.

I’ve been using Mozilla for about three years, and it has always had this “feature”. I have the latest version, and still nobody has gotten around to fixing this. I have no idea what the popup means. I have three email accounts, but each one has its own inbox and there is no reason they should interfere with each other.

It’s almost annoying enough to make me think of using Outlook again. Good greif.

 


 

Silent Hill 2: Plot Analysis

By Shamus Posted Thursday Apr 27, 2006

Filed under: Retrospectives 110 comments

No, this isn’t about the recently-released movie. This is about the much older videogame, Silent Hill 2. I’ve been meaning to write about it for some time. For those of you who are curious about the movie but have never played the games, this might be helpful. Note that there are 4 Silent Hill games now, and the second installment is a bit different from the others. This is a strange game with a facinating plot. The nature of the story is pretty unconventional by genre standards.

Usually the main character in a third-person game is one of two stereotypes:

  1. The classic brooding ex-navy SEAL who doesn’t play by the rules but who always gets the job done ’cause he’s the best even though he has a tortured past and a woman he can’t forget.
  2. An everyman.

But in SH 2, the main character is somewhat of a mystery, and the player has to get to know him as the game goes on. That works, because the main character is a bit confused and is really learning about himself at the same time. He seems like a regular guy at first glance, but as the game goes on our perception of him changes.

I’ll go over the plot for those that have never played. If you remember the game, just click here to skip to my discussion on the characters.

Plot Review

Silent Hill is the name of the town in the series. The town is a bit secluded and small. It has the same layout and same key locations in every iteration, but everyone sees the town just a little different. In each of the games the main characters find themselves (willing or not) exploring the town and find it abandoned and filled with horrors. The particular dangers are different for each visitor, and they are always strange. This isn’t just a “zombie town”.


At the start of the game, James pulls over at a (utterly filthy!) rest stop and takes a long look at himself in the mirror. This is a very appropriate way for him to begin his journey into Silent Hill.

You play as James Sunderland, a man who is grieving the loss of his wife who died three years ago of an unspecified illness. He has a letter which seems to have been sent by his dead wife, saying that she is waiting for him at Silent Hill, where they once spent a vacation together.

At the start of the game James has driven to Silent Hill and found the road into town has been blocked. He stops along the road at a rest stop and decides to enter town on foot. He reads the letter from his wife again.

He doesn’t really ponder why the road has been so thoroughly barricaded. He doesn’t question why he’s come here looking for someone who he knows is dead. Even at this early stage of the game we can tell he’s a little off somehow.

He heads into town through the woods. The closer he gets, the more fog there is. There are strange sounds as he decends the path leading into town.

 

It should go without saying, but from here on are massive spoilers.

Continue reading ⟩⟩ “Silent Hill 2: Plot Analysis”

 


 

Final Fantasy: Advent Children Pictures

By Shamus Posted Thursday Apr 27, 2006

Filed under: Pictures 47 comments

Below are some framegrabs from Advent Children. Just because.

Cloud
Ol’ spikey-headed Cloud is still the star of the show. He’s still the world’s foremost badass, and still filled with guilt and self-doubt. YOU CAN CUT BUILDINGS IN HALF, MAN! Get a grip!

Barret
Barret is funny, as usual, although I feel like we didn’t see enough of him. His gun got a major upgrade, although his interpersonal skills didn’t.

Tifa
Tifa is still around and still kicks butt.

Seriously Cloud: I know Aeris was pretty and you liked her, but she’s dead now and SWEET MERCY WHAT ARE YOU WAITNG FOR?


More pics below the fold…
Continue reading ⟩⟩ “Final Fantasy: Advent Children Pictures”

 


 

Silent Hill: Link Roundup

By Shamus Posted Wednesday Apr 26, 2006

Filed under: Nerd Culture 4 comments

I’m just about done blogging about this movie, but there are a few things that I want to note.

Kotaku notes that contrary to most impressions, most of the imagery in Silent Hill is not CGI. I was surprised to learn this as well. It turns out the FOG is done with CGI, though? This is odd, since fog was one of the very first special effects ever developed, and we’re actually pretty good at that one.

The difference between the impressions of gamers and non-gamers is quite dramatic. Kotaku comments on this as well.

A few random reviews from around Technorati:

Bastard’s notebook liked it. Joystiq was not impressed. The verbosely-titled As far as I have gone was very disappointed. acid for blood really liked it. cinematical was very positive.

Rotten Tomatos shows that only 24% of the critics liked the movie. However, among the cream-of-the-crop (the favorite reviewers) the movie gets the big 0%. A shame, but more or less what we expected among people who hadn’t played the game.

See also:

My previous post on odd entries in the casting list.

My post on game elements that were depicted in the movie.

My first impressions on the movie.

UPDATE: I want to add the everyone mentions how useless the Sean Bean (the father) storyline is, and how it’s a distraction from the main plot. It doesn’t add up to much in the end, and doesn’t impact the outcome of the main characters.

I think the whole reason for these scenes is so we can see the bright and sunny world. The fog of Silent Hill is always more unsettling after coming back from the real world. Still, wasting a half hour on this part of the movie just so we can have a nice visual contrast seems like an awful abuse of the viewer’s time.

STILL MORE UPDATE: Steven in the comments below points out the Ars Technica review and a couple of Real Life Comics on the movie: one and two.