Be the best bully you can be!

Looks like Rock Star is looking to rock the proverbial video game industry boat again. It’s not the next GTA, but rather a game titled “Bully” where the object is to be the biggest badass in your boarding school. As can be expected, some people are a upset about this.

Liz Carnell of campaign group Bullying Online says: “This game should be banned. I’m extremely worried that kids will play it and then act out what they’ve seen in the classroom.

Jesus! Would somebody please stand up and ask, “Where are the parents?” Who are the idiots that let their young kids purchase these types of games? Call me old fashioned, but I think parents should be involved in setting and enforcing boundaries for their kids, not the government.

Here’s a crazy idea: How about you actually pay attention to what your kids are doing? How about you play the games your kids do and make sure they are appropriate?

Drinking makes you smart!

From the, “Phew!” Department, comes this story about a study that says having a drink or two a day makes you a better thinker.

An Australian National University study of 7000 people has found those who drink in moderation have better verbal skills, memory and speed of thinking than those at the extremes of the drinking spectrum.

The researchers say it’s a mystery as to why the correlation exists. I guess that’s why college makes kids a lot smarter. It isn’t the hours you spend studying and in class, it’s the time you spend out at the bars with your friends. Of course, this would imply that the guys in my fraternity should be smart as a whip, however the study states that heavy drinking leads to the opposite.

Allegations of US Secret Detention Centers

A recent story has popped up on CNN covering Amnesty International’s claim that two Yemeni men were held in secret US detention centers.

Two Yemeni men say they were held in solitary confinement in secret, underground U.S. detention facilities in an unknown country and interrogated by masked men for more than 18 months without being charged or allowed any contact with the outside world, Amnesty International said Wednesday.

Many of the war apologists say that such tactics are justified because the “War on Terror” is a special circumstance and that they, they being the terrorists, don’t fight fair. Since when do two wrongs make a right?

This is the biggest problem I have with the “War on Terror” and those who support it. They feel that the PATRIOT Act, illegal invasion of Iraq, secret detentions, indefinite detentions without access to any legal proceedings, etc. are tools for winning this war of ideologies. But, when you lower yourself to your cheating opponents level are you any better than they are? The President preaches about “advancing freedom” and, at the same time, keeps prisoners detained indefinitely without access to legal counsel in secret. We hear it all the time about how Saddam had secret prisons where people were tortured and how Saddam used vast intelligence networks to turn people against each other and keep them in line. How is the PATRIOT Act, which allows the FBI to monitor your reading habits, different?

“Land of the Free” my ass. Look in the mirror and say it with me, “I’m a hypocrite.”

PHP + AJAX + Dictd Interface

Lots of my geek friends have already had a preview of this feature, but we’ve launched it on the live site and now I can tell everyone about eNotes.com‘s new Dictionary/Thesaurus Lookup feature. Below are instructions for looking up a definition or finding synonym’s for any word on any of eNotes.com’s pages.

  1. Go to eNotes.com
  2. Select a word (any word, or even parts of word) with your mouse
  3. Hit SHIFT+D for a definition or SHIFT+T for a list of synonyms from the thesaurus

Being an educational site this is going to be an amazing feature for our users. Considering we have over 50 full books and plays online and over 70,000 pages of premium educational content it’s going to be great for users to be able to look up definitions and synonyms for any word on our web pages with little effort.

I’m sure everyone is wondering how we went about putting together this great feature. Surprisingly, it wasn’t really that hard. When the owners first came to me with this idea I instantly thought of AJAX. I contacted Ian Eure who is my go to Javascript guru. We talked through the options and decided that we needed some Javascript that used XMLHttpRequest to interface with a PHP script that, in turn, would perform the lookups over the TCP/IP enabled dictd. Below is a list of ingredients we used.

  • 1 Javascript guru
  • PEAR’s Net_Dict to interface with our dictd server
  • dictd installed with the WorldNet dictionary and Moby thesaurus
  • Some PHP code to parse the dictd response and convert it into XHTML
  • Some Javascript/XMLHttpRequest magic to capture the selected text and query the PHP dictd interface

We’ve spent a few weeks perfecting the interface and making it pretty, but Ian had the bulk of the prototype code done in a few hours. I’d like to thank Ian for his superb and highly professional coding skills and eNotes.com for letting us do cool stuff like this. In addition to being a great company to work for, eNotes has also agreed to release some of the library code that parses dictd responses into HTML back to the community. I would assume in the coming months HTML_Dict and Net_Dict_Parser will be released either via PEAR or, possibly, an eNotes PEAR channel.

IE 7 Beta Overview

Well, Microsoft finally released it’s beta of the highly anticipated Internet Explorer v7. And the tech community rejoiced let out a collective groan. As exhibit A I’d like to introduce this this screenshot of the new browser UI. As exhibit B I’d like to introduce this screenshot of the RSS feature. Now, there are a few good things in this release.

  1. Tabs. Finally.
  2. RSS. Finally.
  3. Search. Finally.
  4. Phishing detection, which I think Microsoft should surely be commended for. Though I think the word “phishing” should be replaced with something less tech-centric that my mom would understand.
  5. They’ve added the ability to manage browser add-ons, which evidently wasn’t supported in previous versions.

My problem with this list is I find myself saying “So what?”. Firefox, Opera and Safari have had all of these features, except for phishing detection, for years (NOTE: Firefox has an anti-phishing plugin, but does not ship an anti-phishing feature by default). I find myself wondering if this is too little too late. Either way, Microsoft should ahem be commended for making these changes. They’re late to the party, but at least they came. As can be expected from someone who pretty much hates Microsoft products I do have a few complaints.

  1. Why the hell did the move the menu bar below the tabs? They’ve actually gone against their own UI recommendations. They should clearly put this back at the top of the window.
  2. No stop or refresh buttons? I don’t need a 500 pixel-wide location bar, but I do need a stop and a refresh button.
  3. What the hell is up with the phantom tab to the right of the tab? It opens new tabs, I get that, but it should be turned into a “New Tab” button next to the “X” for closing tabs.
  4. I can’t aggregate feeds? I assume this will be fixed before it launches.
  5. IE 7 still isn’t acid compliant and still doesn’t fix many of the CSS rendering bugs in IE 6. As someone who makes a living banging his head against various IE bugs I seriously hope they fix this before it’s finally released.

As a web developer I’m pretty pissed that the rendering bugs haven’t been fixed and the browser still isn’t compliant with even CSS1. Meanwhile, CSS3 is being proposed and CSS2 is getting wider support in Safari and Mozilla/Firefox. I would have liked nothing more than IE7 to come out and be fully CSS3 compliant. You would be reading a very different post if it had.

Overall, I give this beta a C. Why? Because Microsoft has done the bare minimum. They haven’t done anything ground breaking here and they didn’t even bother to fix the existing rendering problems. Unlike others, however, I’ll wait to pass my final judgement until the final release has hit the streets, which I think will be around when Windows Vista is released.

iTunes Favorites from a list of Bands

Maybe I’m late to the party, but I’ve finally figured out a way to build Smart Playlists in iTunes that include only my favorites from a pool of bands. Since iTunes restricts to you all or any of the search terms you can’t say something like “All of the songs that are rated three stars or more and where performed by any of the following bands: The Thrills, The Killers or Franz Ferdinand.” Well, I’ve figured out how to make this work.

  1. Create a new Smarty Playlist and have it match any of the Artist names you want (ie. The Thrills, The Killers and Modest Mouse). Name your new playlist and save it (ie. “Thrilling Killer Mice”).
  2. Create another new Smarty Playlist and choose all of the criteria should be met. Set Playlist is insert name of first playlist and then click the plus to add another criteria. Set this second criteria to a range of stars that suits your fancy. Save this new playlist.

It was killing me for quite some time that I couldn’t group bands by their specific sounds and also have the playlist reflect my ratings. This way the first playlist stores all of the songs by all of the like sounding bands and the second playlist reflects songs from that pool of artists that I like.

Of course, the first playlist is for reference only. When you add another album by a band in one of your various pools the first playlist will update and, when you rate songs on the new album, your second playlist will update. It’s kind of like inheritance in iTunes playlists.

10 year old Microsoft "wizard"

I’m sure everyone has pretty much heard about the 10 year old Pakistani girl who passed the Microsoft Certified Application Developer. I’m sure this was no small feat for a 10 year old girl living in a third world country and I’m not going to comment on this. The funny part of the article is that, upon meeting Bill Gates, she read him a poem “celebrating his life.” The guys on Slashdot couldn’t resist speculating what the poem’s contents where. Here are some of their guesses.

There once was a man from Nantucket
Who told all the world to suck it
Selling insecure code
He sure was a chode
And his ethics could not fill a bucket

There once was a programmer named Gates
Who never could get any dates
So he bought MS-DOS
Became his own boss
And now he just masturbates

I stole stuff from Jobs.
And now I own Microsoft.
Holy crap I’m rich.

That’s some funny stuff for sure. By the way, the last one is haiku, so it’s not necessarily supposed to rhyme.

While many might scoff at someone passing a Microsoft developer exam, I have to point out that this girl was 9 when she passed the exam. The most complex thing I had figured out at 9 years of age was my Nintendo. Meanwhile, this girl is programming in C#, which is a strict typed language. Meaning it requires her to know the difference between an int, float, etc. Impressive.

I hate you Pennsylvania

I bet you voted for him because he’s good looking or seemed like a “nice young man”. I was reading an extremely ironic story about the homophobic senator when I happened upon this little gem.

In an interview with the Associated Press, the Senator suggested that the government has the right to prohibit gay and lesbian individuals from expressing love for each other physically. “The idea is that the state doesn’t have rights to limit individuals’ wants and passions. I disagree with that,” said the Senator, “I think we absolutely have rights because there are consequences to letting people live out whatever wants or passions they desire. And we’re seeing it in our society.”

At face value this seems to make sense. For instance, maybe my desire is to kill 1,000 people and then burn their corpses while dancing around the fire. That’s a desire that should be limited no doubt, however, where do we stop? At what point do we say, “This desire of yours should not be allowed.”?

It’s at this point I turn to what I feel is the essence of Libertarianism. If an act occurs between two consenting adults and that consent can be proven then I don’t have a problem with it as long as it doesn’t affect anyone else.

Here’s a good example. It’s illegal in many states to have “unnatural sex”. Who defines this term? Who does it apply to? Everyone? As a crazy lady with a blonde buzz cut once said, “Stop the insanity!”

Holy crap

I was reading about the new Ford GT, which I was lucky enough to drool over in person, when I read this little tidbit. If this doesn’t get your testosterone factories burning I don’t know what will.

You can reach 60 mph — without leaving first gear — in an amazing 3.4 seconds. Second gear is good for 95 mph, third for 135-plus. That still leaves three more gears.

Holy. Shit.