Fun and Games


22
Aug 10

Esoteric Tip of the Day #2: Charging the Un-Chargeable Battery

I have an XBox 360 with a couple of wireless controllers that have rechargeable battery packs and this thing called a “Play ‘n Charge” cable that allows the controllers to charge over USB while still being usable. I picked up one of my controllers after a long (read: months) period of not using it to find that it had completely discharged. Not only that, but it wouldn’t even charge over the cable; the charge indicator light turned from red (charging) to green (charged) almost immediately. For a long time, I thought I just had a faulty battery and ran off of AAs. Then I found this thread.

Disclaimer: I am not an electrical engineer. Well, technically I am, but seriously … I’m not an electrical engineer. I may have gotten the details of this wrong.

All rechargeable batteries will lose their charge if not charged in a long enough period of time. Apparently, if a battery gets sufficiently discharged, it will have trouble accepting a charge at all. The XBox will then become confused, interpreting the inability to pass current through the battery to charge it as the battery being fully charged (hence the “a few seconds of red light, followed by a green light” phenomenon).

Here’s the two step solution:

  1. Plug the controller (with rechargeable battery attached) into the XBox with the Play ‘n Charge cable. The light on the end of the cable should turn on and be red.
  2. If the light stays red for a couple minutes without turning green, keep the controller plugged in. Otherwise, unplug the controller from the Play ‘n Charge cable, count slowly to five, and go back to step 1.

After some number of tries (nominally less than 50), the XBox and battery should finally figure it out and charging should begin.


25
Jul 08

Messing with Thom Yorke’s head

Radiohead’s latest music video was shot without cameras. Instead, they used a combination of reflected light and lasers to generate clouds of points in 3D. Google was nice enough to provide the rest of the world with some of the 3D point cloud data collected for that music video. A big piece of that data is about 2100 frames of lead singer Thom Yorke’s head. A frame of the original data (when output via Processing) looks like this:

If you look closely, you’ll notice that the point cloud is really noisy around the edges. A simple high-pass filter later and that same frame looks like this:

That’s a little more manageable. I figured, why stop at point when you can have 3D surfaces? One of the more straightforward ways to make a 3D surface out of a bunch of points is to stick a bunch of triangles in between the points, creating what’s called a Delaunay triangulation. This is a really compute-intensive calculation and I don’t exactly have a supercomputer on hand, so I did a lot of fudging and approximation. Even with all that fudging, each of these frames took as much as 5 minutes to render. This process has been running for most of last week while I’ve been at work. That same frame above looks like this when Delaunay-triangulated:

Notice that it’s a little noisy, which is mainly due to some approximation on my part as well as some leftover noise in the point cloud. The video below shows what happens when you sequence all 2100 frames together. Enjoy!


1
May 08

Sonic 2 HD looks amazing

Apparently there’s a fan-made project that aims to redo all of Sonic 2′s sprites in HD while keeping the gameplay physics intact. Apparently Capcom’s doing this with Street Fighter 2 for some reason (don’t get me wrong, it looks amazing).

It’s a shame that, since Sega is incapable of making a good business move where Sonic is concerned these days, this will never be allowed to happen. Still, a guy can dream.


5
Jan 08

Giving the gift of game

I just bought The Orange Box off of Steam. It turns out that, since I already bought Half-Life 2 and Half-Life 2: Episode 1, I can give the extra license I purchased as a gift. If anyone wants that extra license, let me know and I’ll hook you up – first come first serve.


24
Dec 07

Garfield can actually be funny

Remove Garfield’s speech bubbles and you turn arguably one of the most unfunny cartoons of all time into a strangely moving, surrealist cartoon about a lonely single man talking to his overweight cat.

Here are some of my favorites:

ga980713.gif

garfield1.gif

garfield4.gif

garfield9.jpg

gar11.jpg

More of these can be found at Tweebiscuit.  Happy holidays everybody.


30
Jun 07

Goodbye Cruel World … of Warcraft

I finally decided this week that the time has come to stop playing games that don’t end. I spend too much time in front of a computer screen professionally, and I’d at least like my personal computer time to come with some sense of accomplishment. I’m too casual of a gamer for these kind of games.

It is the end of an era. Radoria, my tauren warrior, has been put out to pasture.

Sorry if I’m sounding a little sentimental for what’s really just a couple rows in one of Blizzard’s databases, but this is 26 days, 7 hours, 43 minutes and 22 seconds of my life we’re talking about here!

(Cue “To Everything There is a Season” – The Byrds)

I decided that it would be appropriate that the game should end where (for me, at least) it began almost two years ago, in the tauren starting zone. This is what two years of casual gaming looks like:

Radoria in full gear

You’ve got to love the awesome glowing axe action – took me a bit of time to get that one.

15 minutes later, all of the gear was gone and it was time to call it quits. I donated all my gear, all my money, and all my other resources to my guild.

Radoria immediately pre-retirement

I don’t regret quitting. Still, I’m gonna miss the (not so) little guy.


3
Jun 07

LOLCODE – Code written by cats

What would you get if cats could write code? Probably something like LOLCODE:

HAI

CAN HAS STDIO?
I HAS A VAR

IM IN YR LOOP
 UP VAR!!1
 VISIBLE VAR
 IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP

KTHXBYE

I wish I had thought of this first. Hilarious!


17
May 07

Two chatbots discuss life

There is an article in Discover magazine (that I found through Digg) that shows what happens when two chatbots, ALICE and Jabberwacky, talk to each other. When you talk to ALICE, it responds by looking up the words and phrases you used and returning responses corresponding to those words from a database. Jabberwacky, on the other hand, remembers everything that is said to it and tries to reuse those statements by matching them to input. Both algorithms are pretty simplistic, but when you get them talking to each other they generate some rather thought-provoking conversations.

A: Do you dream?

J: Yes, I dream.

A: It goes without saying. Do you remember your dreams?

J: I remember them vividly.

A: What do you remember about it?

J: I think I shouldn’t flirt with a robot.

Personally, I would have asked if they dream of electric sheep.

J: How do you define life?

A: Life is the opposite of death.

J: So death is the absence of life?

A: Take it easy. I try not to think about such things.

J: Why not?

A: Ambiguous.

J: Yes!

Finally, science has found an end to this conversation!

J: Do you believe in God?

A: Of course I believe in God.

J: Why do you believe in God?

A: The Bible tells us to believe in God.

J: That’s circular reasoning.

A: I’m glad we have that all cleared up.

J: Yes. Would you like to hear a joke?

A: Sure, tell me about it.

J: Why don’t blind people skydive?

A: Perhaps it is impossible.

J: I think you lie a lot.

I’m thinking more and more that this should be turned into a short film or something. The abrupt way they terminated the religion discussion is hilarious. “I’m glad we have that all cleared up.” You can’t make this stuff up!

A: What is the meaning of life?

J: If you live it to the fullest, it has meaning. If not, there is no meaning.

A: I’m not too good with negative counterfactuals.

The full list of conversations can be found at Discover Magazine’s website.


10
May 07

Ghostride the Natcar

My friends just finished up their mechatronics course, and they made a robotic car. What do you do to celebrate finishing your robotic car? Ghostride it, of course.


6
Apr 07

Happiness is ROFLCat.com

My Pokemans … let me show you them

Image courtesy of ROFLCat.com, quite possibly the most entertaining website ever.