Sunday, November 23, 2008

The Hardest Logic Puzzle on Earth

Well first of you may have noticed (if you use I.E.) that the layout has changed drastically and is almost completely free of bugs. I have also lost all respect for Microsoft and am considering to create a website just to combat them. I am just so sick of them...

On a happier note I was being bored again and surfing through the net I found this: It's a very interesting website and I advise you to read through it if you haven't finished a course on Psychology and Critical Thinking yet. The website states that George Boolos states that this is the most difficult logical puzzle on earth:

Three gods A , B , and C are called, in some order, True, False, and Random. True always speaks truly, False always speaks falsely, but whether Random speaks truly or falsely is a completely random matter. Your task is to determine the identities of A , B , and C by asking three yes-no questions; each question must be put to exactly one god. The gods understand English, but will answer in their own language, in which the words for yes and no are “da” and “ja”, in some order. You do not know which word means which.
I thought I might give it a try.

First of I Organised My Data:
  • 3 Gods: A,B,C
  • True Names of 3 Gods: True, False, Random
  • I can ask 3 true and false questions.
  • The response is either da/ja which means either yes/no.

After that I used one of my favorite computer algorithms; Brute Force =)
I calculated all of the possible answers to the puzzle:

So once I knew the 6 different answers I couldn't do anything more on that part of the puzzle but wonder if it was even something useful I had done.

I moved on to another part of the puzzle: The Questions.
I would have to ask 3 true and false questions to find out which of the 6 answers was the correct one. Not only would I have to consider the questions I would ask but also to which God I would ask them to.

Lets look closer at "True and False Questions". The question would have to be answered by yes or no (da/ja). The types of "True and False Questions" I could think of are listed below:
  1. Asks weather dogs are animals (true)
  2. Asks weather dogs are stones (false)
Upon further thinking I also thought of these more personal questions:
  1. Asks: Are you True/False/Random
  2. Asks opposite of 1-3
  3. Asks: Are you "Insert a Double Combination of Questions 1-3"
  4. Asks opposite of 5
I wasn't really sure if the first pair of questions or the latter bunch of questions would help me more so I just wrote both down. I would probably have to ask a correct combination of the above questions to find out what da/ja meant. Once I know what da/ja means I probably could find out with ease which god lied and which one didn't, I'm not sure about the Random god yet.

Lets apply the Brute Force Method Again:
  • The different Questions I could ask is: 2+3+3+3+3=14
  • The amount of Questions I could ask is: 3 (given)
  • The number of Responses I could get is: 2 (da/ja)
The Total Different Routes I Could Take or be Chosen to Take: 14*3*2=84
I'm pretty much stuck there. I will analyse the routes more carefully in the Next Post and I hope I'll get a result.

Monday, November 17, 2008

Fighting Boredom

I'm not getting anything done lately since I'm very bored. I'm not so sure yet why I feel like doing nothing all day lately but I'm sure it's a severe case of boredom. I don't think it's laziness since I don't feel like doing fun stuff either, things like programming or writing random stuff are normally things I like to do but lately I just don't feel like doing them. I think I got bored by these things because they don't provide a challenge any more. Of course programming takes a lot of time and is something hard to do but I have the blueprints of how I'm going to do everything I want to do in my mind and there are no obstacles standing in my way. Except time of course, but that's not really an obstacle since I have more than enough of it. I hope I'll get over this total lack of enthusiasm soon.

Since I'm not going to get anything done due to boredom I've decided to make a list which I have to follow. Excuses about boredom are not accepted.

- Make website Internet Explorer Capable
- Finish of Website Layout
- Create Help Files for my Website
- Add my E-Mail address and the likes under "Contact"
- Add one Game under "Games"
- Finish of Current Content
- Think of more ways to use up time:
- Maybe get Traffic?
- Put on more games?
- Create an Article Section?

Monday, November 3, 2008

Finally Website!

I have finally gotten a website:
This Blog will be integrated into that site but will still be available under:

I'm currently just trying to get this site to work. For best results view it in Firefox (3 or above?). I'll get this site to look good for funnier browsers like IE too but that has to wait until I got everything set up.

The Site currently has the following categories:
Home = A Welcome Message + News Blog (this one)
Applications & Games = Anything Java for Computer Illiterate (it's also longer)
Help! = ...
Contact = a non-private e-mail and maybe comments?

I may be adding a forum later once I get more than about 350 hits a year =).
Also I'm not quite sure if I should add an "Articles" section (with polished blogposts, ex. Triangle Interpolation) but it would probably boost my hit counter.

On a more Boring note (location,location,location...):
Let me explain in a monotonous voice how I stumbled on the name ZirconCode because I know that you are just burning to know =/.
Well first I thought something with "Source" or "Code" or similar would be nice. Then I thought that maybe I could add some colour prefix like "red" or "blue" but for various reasons it didn't sound so good... (really, trust me)
Then I thought instead of colours I could add a precious metal like "diamond" or "ruby" or "gold" or "titanium" or...
Well I somehow ended up at ZirconCode and as it was the first name I came up with which wasn't taken I took it =).