The Infinite Genies Paradox
There’s not many people out there who haven’t heard the story of Aladdin–it’s a story with quite a bit of history and has got recognition in many forms, including a cartoon rendition created by Disney. It’s a creative and interesting story, but it’s also quite flawed and most people don’t even notice that.
After finding the genie, Aladdin is told he can wish for anything except “more wishes”. This is obviously an attempt to prevent infinite wishes, but a loophole surfaces later in the story that went largely unnoticed. Jafar wishes to be a genie himself, and the original genie grants that wish, thus genies can create other genies.
Herein lies the paradox; a genie offers me 3 wishes–first I wish for something ridiculous like a trillion dollars, then I wish for someone else to become a genie, and spend my last wish to free the original genie. I now have a second genie with no wishes spent. I make another extravagant wish, make a new genie and then free the old one. Wash, rinse repeat–we have our Infinite Genies Paradox.
Were there only two wishes, the infinite loop could still be done if you chose not free the genies after, but that would have fit better with the moral dilemma at the core of the story. So why three wishes, and not two?
Anyone else have any weird observations like this on popular media? Feel free to post whatever comes to mind. It’s always interesting to see what you might not have seen without someone else pointing it out.
Back online! ….mostly…
UPDATE: Everything works now. ![]()
So I decided to switch from Slicehost to Rackspace Cloud, since my server was overloaded and having all sorts of network issues. Unfortunately things kind of exploded. I managed to get the site back online, but the URL rewriting isn’t working at the moment and I’m at work right now, so I’ll have to look at it later.
jquery.flash is on github! (and updated)
I’ve recently starting committing changes made to jquery-flash to github. You can view the project page for it here.
I’ve also made a few updates, the most notable being; I moved the checking code to seperate functions called isie(), hasflash() and flashversion(). All of which can be used anywhere, with or without using $().flash(). I also did some minor optimizations to make execution a little speedier.
Talker – Waves? Campfires? I just want to talk!
I, among many, jumped on the Google Wave Dev Preview bandwagon. The video demonstrations they had were so nice and polished looking, but after getting the chance to try it first hand it’s polished sheen quickly faded–it was buggy to the point of being unusable and collaboration was so awkward. As a Wave expanded it became more and more difficult to determine what was new and what you had read before. Conversations would branch all over the place and you would quickly lose track of what was actually being discussed. There was other alternatives for business communication, but they all had one thing in common; over complication. Integration is fine and all, but sometimes the users don’t need what it integrates with, so it shouldn’t be built around that.
In steps Talker, a deceptively flexible messaging system wrapped in a simple interface that anyone could understand. Who likes explaining to their coworkers how an app is supposed to work, show of hands. None? Yeah, I thought so.
I first stumbled across Talker through Marc-André Cournoyer’s LinkedIn profile and, to be honest, bookmarked it and forgot about it. It was in beta at the time and didn’t have much to see, so I overlooked it’s simple nature. Today though, I received word that Talker was ready for launch. I slipped into the demo room and made a few posts. Everything was quick and responsive and the functionality was so elegant; I posted a link to an image–it loaded the image itself in it’s place, I posted a youtube link–it embedded the video right there. The attention to detail down to things like the auto-completing / commands and @ usernames was a very nice touch.
What really blew me away though was the simplicity of the plugin interface. Many useful plugins like autocomplete are literally one-liners! You can’t get much simpler than that, unlike Wave’s monolithic Python plugins that need to load a million and one external libraries just to make a basic word filter. If you haven’t checked it out already I seriously recommend you give it a try, who knows, you might like it.
Hello world!
stephenbelanger.com is online (it’s about time. >.>)
I’ve migrated most of the more ‘tech’ posts from my other blog. I’ll be using this one for sharing technical insights and releasing awesome open source stuff. I’ve got a jQuery-based SWFobject replacement that will be released here soon and I’ll have many Kohana helpers and modules to share in the near future. Look forward to much free and open goodness in the near future.