Graph of Twenty-Sided

By Shamus Posted Tuesday May 30, 2006

Filed under: Pictures 1 comments

Only because everyone else is doing it.

This is a visualization of this site. (The only difference is that when this graph was built, the post you are reading wasn’t there.) Each dot represents some aspect of the page. Let’s see if we can decode what we’re looking at. According to the page that generated this, the colors are:

Legend
blue: for links (the A tag)
red: for tables (TABLE, TR and TD tags)
green: for the DIV tag
violet: for images (the IMG tag)
yellow: for forms (FORM, INPUT, TEXTAREA, SELECT and OPTION tags)
orange: for linebreaks and blockquotes (BR, P, and BLOCKQUOTE tags)
black: the HTML tag, the root node
gray: all other tags

So let’s try to map out these dots and see what they mean.

It’s pretty easy to tell that the top area is the sidebar. The sidebar is just a bullet list of links. This means they should look like a bunch of grey dots terminating with blue dots, which is exatcly what we see at the top. Sadly, we can’t tell the categories section from the archives, since both have exactly nine nodes right now. We can see the six-link node for Anime Sites. We see the three-link node for Geek Sites. The Read Me and Meta sections are also ambiguous, since both should have four nodes. The Search section is easy to spot. The input box is a form, and so the yellow dots clearly represent the Search area. The lone purple dot in this region is the dice roller.

At the top of every post is a little table I use to keep things lined up. So this should look like a red dot (the table) which leads to another red dot (the row) which forks off to two other red dots (the two cells of our table, the one with the icon and the one with the post title). One fork should lead to a blue dot (a link to the post category) and should then terminate at a purple dot (the category image). The other red dot should lead to three links – The post title permalink, the category link, and my name, which links to the “about me” page.

So, these little branches that start with a red dot represent post headers. I have the blog set to show at most ten posts, so we should see ten of these. Sure enough:

The black dot is the root of everything else, so the grey cluster next to it must be the HTML headers, since they don’t lead anywhere. We can also spot the stuff at the top of the website. The rotating dice image, the title of the page, and the random quote all appear within a table. It’s easy to spot the red dots that lead to a terminating purple dot.

The only unresolved thing is that cluster of 16 links at the bottom. What the heck is that?

The rest of the dots are individual posts, which aren’t going to follow any pattern, so I’m not going to try and unravel them.

Still this is a pretty cool way to look at the data.

One last note is that lots of people are taking these pictures and uploading them to Flickr. Have a look a the gallery.

LATER: I get it. That cluster of 16 links is my post blathering about the Lexicon Plugin, which was knocked off the front page by this one.

 


 

Veggie Bebop

By Shamus Posted Monday May 29, 2006

Filed under: Nerd Culture 14 comments

It starts with Veggie Tales:

Veggie Tales is a Christian children’s show. It’s a cgi rendered show that was launched sometime in the mid to early 90’s. At the start, the visuals were very primitive, and making a show where the main characters are vegetables was a smart move at the time. Veggies are made of very simple shapes and were easy to render, even for the low-budget show. In stark contrast to just about every other Christian-produced show out there, Veggie Tales is clever, witty, full of sly pop-culture references, and avoids being overly preachy without compromising its Christian roots. It’s a lot of fun, and even as an adult I enjoy watching the show. Pretty cool.


Bob the tomato and Larry the cucumber.

Over the years the show has grown in popularity and budget, culminating in a marginally successful movie back in 2002. With the enhanced budget, they are now able to come up with visuals that are far more compelling than in the early days. It’s not quite Shrek quality, but it’s close.

The half-hour shows feature skits and funny songs. In the middle of most episodes they have a section called “Silly Songs With Larry”. Larry (who is a real goof) comes out and sings a silly song. Each time the song is in a different style. One of the most popular is “The Pirates Who Don’t Do Anything.”


We don’t do anything.


I never hoist the mainstay
and I never swabbed a poopdeck
and I never veer to starboard ‘cuz I never sail at all!
And I’ve never walked the gangplank
and I’ve never owned a parrot
and I’ve never been to Boston in the fall!

The joke here is that the only thing that makes them pirates is the stuff they say they don’t do.
(Which then Larry messes up, by singing about stuff he’s never done which has nothing to do with being a pirate.)

Then the group Reliant K covered the song as part of some humorous re-mix effort.

Then some lunatic took that Reliant K song and some Cowboy Bebop footage and made a one of the best music videos I’ve ever seen. (Ok, I haven’t seen that many. But still.)

And finally, Pixy Misa added the video to his clip library so you can download it.

UPDATE: Drat. Looks like Pixy’s server caught fire, was hit by a meteror, was struck by lighning, or (worst of all) is having software problems. You can get the vid from %Anime Music Videos (who also has the full lyics) or you can get it from me.

UPDATE Part II: Ok, so Pixy’s server is working, which means all of the links above are working. Knock yourself out.

 


 

Educational

By Shamus Posted Monday May 29, 2006

Filed under: Personal 11 comments

Stuff I learned this weekend:

  1. If a 190lb man steps unexpectedly over a 4ft ledge and lands on one leg at the bottom, the force of his knee being driven into his ribcage is enough to break some of his ribs.
  2. Breaking your ribs does NOT produce a light, tickling sensation.

I’m one of those people who likes to learn something new each day, so I would have to say that this weekend was a real success.

 


 

World of Narue: Disc 1

By Shamus Posted Sunday May 28, 2006

Filed under: Anime 2 comments

This is the first anime comedy I’ve seen in a long time that is genuinely funny. Episode 3 actually didn’t feel like the standard anime comedy – it felt more like an American sitcom, only the jokes were good.

Stop me if you’ve heard this one already…


Hello? Computer?

Now where have I seen THAT gag before?

The mahou shojou show they watch a little later is hilarious as well.

Also, for those of you who watch sub-only, take a minute to watch the scene in the movie theater in English. They didn’t translate the dialog for the movie playing in the background. Instead, they did something totally different and the result was pretty humorous. Full credit to the voice actor who pulled off that voice.

 


 

Lexicon WordPress Plugin v1.1

By Shamus Posted Saturday May 27, 2006

Filed under: Programming 8 comments

I’ve been thinking more about the wordpress plugin I released a few days ago and how to improve it. This project started with this post at haibane.info, where Fledgling %Otaku talked about making a blog useable for for people familiar with your subject matter and at the same time making it accessable to newbies.

I wanted a plugin that would provide dictionary links for all of the jargon on my site but wouldn’t require any extra effort on my part (because I’m big on energy conservation, particularly my own) and that wouldn’t clutter up my posts with HTML tags.

The first try was a little rough. Fledgling %Otaku has some good suggestions for using wiki-style tags which I really liked at first, but I moved away from this for a few reasons:

  1. Using wiki tags would mean going back and adding those tags to old posts, or accepting that the jargon on old posts would remain . Meh.
  2. There are already plugins that use wiki-style markup tags, and I may want to use them someday. Right now I could combine the two with no conflicts, but if I adopt wiki standards then those plugins with conflict with my own.
  3. If for whatever reason I drop usage of the plugin in the future, my posts would suddenly be filled with brackets and markup text. I’m very commitment-shy when it comes to software, even stuff I’ve written myself.

I realized I could parse things much better if I used some PHP 5-specific code. I honestly don’t know if this is a problem or not. This site has been running on PHP 4.4 and I had to request that Hosting Matters (my host) move my site to a machine with PHP 5. (Which they did quickly and seamlessly, BTW.) I have no idea how widespread PHP 5 is or how much this will limit the usefulness of the plugin to others. PHP 5 has been out for nearly two years, but there are still some holdouts, and I assume they have good reasons for this. Comments on this are welcome.

Using PHP 5 I was able to eliminate almost all of the shortcomings of the original version. It won’t insert unwanted spaces. It will pick up links even if they are bracketed by HTML tags. It WON’T mess with keywords that are inside of HTML tags. It won’t mess with the case usage of the original word.

The only bit of markup I did add was that you can now preceed a keyword with a percent to prevent it from becoming a link. This enables me to say, “Fledgling %Otaku is one of my favorite otaku”, and not have his name become a link to my dictionary.

For those interested, you can download the plugin here.

 


 

8th Grade Math

By Shamus Posted Friday May 26, 2006

Filed under: Personal 23 comments

Another stupid internet test…


You Passed 8th Grade Math


Congratulations, you got 8/10 correct!

An 80% is humiliating and shameful, particularly since I’m a programmer who focuses on 3d. The questions I missed were related to statistics, which I’ve never taken. I couldn’t tell you how “median” differs from “average”. (More to the point, I know how to obtain an average, but not how to obtain the median. Now that I’ve taken the test, I think I’m going to google around and spackle over these gaps in my learning.) I knew that info was just a hop away with Google when I took the “test”, but I wanted to see how I could do using what’s in my head. How did I end up 34 years old and ignorant of some low-level areas of mathematics?

It’s a bit strange, really. In high school I hated, hated the numbing repetition of math. I was of the opinion that any teacher who would assign 60 nearly identical problems as homework was a demented sadist, and any student who would sit down and do all 60 was a fool.

But this was the way of things. Learning long division? Monday you’ll do a few dozen single-digit problems. Tuesday you’ll do a few dozen more, but they add a digit of complexity. Wednesday will be more of the same, with a few three-digit problems to “challenge” you. Thursday you get another batch of problems that mix them all together. Friday is the test. Rinse. Repeat.

By the end of class on Monday you had all the tools you needed for dealing with Friday’s test, but you were doomed to waste the next three days doing the same problems over and over again. The homework was extreme overkill. If I can do seven of them, then surely I can do the next fifty-three with no difficulty.

So I never did homework. Never. I would score an A or B on the test (I was sloppy, and didn’t like to show all my work) but since homework was part of the grade, I usually pulled a C or D in math. I dreaded hearing the words, “Just do the homework and I promise you will pass this class.” I took this to mean, Just make sure you do the busywork and I’ll pass you even if you don’t really learn anything. The fact that lots of people got better final grades than me when their understanding of math was not as strong only confirmed in my mind that the whole thing was a joke.

This sounds like I’m warming up for a screed against the American education system, but really the fault was my own. The fact that know-nothings can pass with decent grades is regrettable, but more important is the fact that there was still a decent education available for those who were willing to work for it. I got out of high school exactly what I put into it. Sadly, I didn’t put much into it.

I made a point of taking the easiest classes available – particularly in math. Not content with taking the regular algebra, I took the courses that watered it down and presented it in two seperate classes: Elementary Algebra 1 and Elementary Algebra 2. With all the various offerings of algebra at varying speeds, I was able to “learn” algebra three times during high school, while getting credit for doing so each time. In the end I expended a lot of effort avoiding work.

A few times people suggested that I would do well to shoot for the harder courses. This sounded insane. To me the hardest part of the course was the overload of mind-numbing work. I expected harder courses to simply be more of the same, but with more digits and larger problem counts. I found out later that the “harder” courses would have been far more interesting, and they often assigned just a small handful of (large, challenging) problems a night.

It wasn’t until a few years after graduation that I really began to see what I’d missed. I got into 3d programming, and found I needed triginomitry. More to the point, I found I liked trig. I’d never set foot in a trig course. I’d never done any calculus. I’d never taken geometry. I’d wasted all that time on re-learning stuff I already knew because I was afraid of work. Now I needed it and had to learn it on my own.

I’ve done fairly well at grasping the concepts, although since I’m self-taught a lot of the language of mathematics eludes me. I don’t know how to properly use the greek symbols, even though I’m sure I’m writing computer code for formulas that would require greek to express properly on paper.

Let’s try this again…


You Passed 8th Grade Math


Congratulations, you got 10/10 correct!

Sadly, no questions on how to normalize a vector or build an orthographic projection matrix.

 


 

Ai Yori Aoshi: Second Thoughts

By Shamus Posted Friday May 26, 2006

Filed under: Anime 0 comments

Pete Zaitcev has a great post on Aoi Sakuraba with lots of screenshots. It reminds me of how charming that character is and how much I enjoyed watching her. He also talks about some of the major shortcomings of the series.

I’m sort of avoiding watching it again. I remember the series fondly, but it was one of the first anime I’d ever watched. The show is full of cliche’s and predictable situations, but since I was new to anime it all seemed fresh and new to me. I have a feeling that if I were to go back and re-watch the story it would look quite different.