My Monty Hall PHP Script
Well, actually, it’s not mine. It was a script in Linux Format Magazine a few issues ago. As hobbyists have done since the beginning, I copied the code down to see it actually work.
First the background on Monty Hall. Here it is from Wikipedia.com:
The Monty Hall problem is a puzzle in game theory involving probability that is loosely based on the American game show Let’s Make a Deal. The name comes from the show’s host, Monty Hall. In this puzzle a player is shown three closed doors; behind one is a car, and behind each of the other two is a goat. The player is allowed to open one door, and will win whatever is behind the door. However, after the player selects a door but before opening it, the game host (who knows what’s behind the doors) must open another door, revealing a goat. The host then must offer the player an option to switch to the other closed door. Does switching improve the player’s chance of winning the car? The answer is yes — switching results in the chances of winning the car improving from 1/3 to 2/3.
"Press" Publication for on of my photos
I am extremely happy to announce that I have been approached by the author of The Cognoscenti for use of one of my pictures of Congress on his political blog as part of the header. I have just replied to give him permission to use the picture so I don’t know how long it will be until it is up. With the role that blogs have been playing recently in press and with their popularity soaring, this could be a boon for my photography.
Civ First Look
Welcome to my first look/impressions of Civ4. As you can see, I began the game with a settle and a warrior. The first things you will notice are that they have changed the icons so that a unit is represented by three units instead of one. Although, considering how many units are used in a war, defend a city, etc, it’s obvious that a unit still represents many more units than three. However, it’s pretty neat to watch battles now. Also, there are cows and horses on the map! You can make pastures for these and they will provide you with health/food/etc. If you irrigate or anything else, you lose the animals.
"Scooter" Libby goes down!
“Scooter” Libby, VP Cheney’s advisor, looks like a really shady guy. So it was no surprise to me when I heard on NPR news that he has been indicted and he has resigned. He wasn’t indicted with outing the CIA agent, but with perjury and obstruction of justice. Paltry crimes you say? These were the crimes that ended getting Bill Clinton impeached! Carl Rove didn’t get indicted, but isn’t scot free either! They’re still investigating him even though the Grand Jury has been retired. I’m currently listening to the Special Prosecutor on WYPR’s (our local NPR affiliate) streaming audio and I’ll update you if I learn anything else.
News Tidbits
First a quick aside: That Civ4 post got pushed back a little as I couldn’t resist playing and then I had to get to bed since I have an early day today. Expect it later today if nothing irregular happens. To Tara’s comment yesterday - your comments made me check my tech tree poster - Mine is in English. It seems like you got a European version even though their debut is in November.
Civ4 Disc Error? plus one little thing...
Wondering if anyone else has experienced the following with civ4 special edition. According to the manual and discs, it says that disc 2 should be the disc to play from. However, on my computer it only loads off of disc 1.
Second, I read the terms of usage (the license) when I was a little bored today on time off from work. Did you know that to use a drive emulator like Alcohol 120% or others is against the license? I didn’t know that!
Computer's back! Yay!
Thanks to those with the kind words for me over my graphics card problem. I got a BFG brand nVidia 256 MB card at Best Buy for $159. It was equivalent to the one I just lost so civ4 should play at least as well as before. AND it has a lifetime warranty! As soon as I get a chance, I’ll post that walkthrough.
Where's the civ4 overview?
Civ4 was amazing to play yesterday and I took a bunch of screenshots. However, right before I was about to save and quit the game for the day, my video card died and shut down my entire computer. This was the same thing that happened when my cpu/motherboard died freshman year of college so I was very worried at first. However, I unplugged and replugged the computer and it came on, but there was no picture. I swapped in the video card from my wife’s dell and it worked. So it seems the problem was the video card. I’m really ticked because I just bought that PNY nVidia card around one year ago. I checked my power supply and it’s 330 W and the video card asks for 220 W if I have a lot plugged in. So I am pretty sure it was a faulty card. Things usually don’t fail so quickly for me, so I don’t have the warranty. (I know, that’s MY fault) I’ll be buying a new BFG nVidia card - it’s all I can afford for now and is equivalent to the one that just died in terms of power - and as soon as I get my computer back up, I’ll post the screenshots and descriptions.
First impressions
Here’s what I picked: -continents –temperate climate -medium sea level -huge world
I picked the japanese because I’ve played them since Civ2. Tokugawa is the emperor. He is aggressive and orgnized. We start with fishing and the wheel! Excellent since you can’t build roads without wheel.
I picked settler difficulty since they’ve changed a lot since Civ3; I was amazed reading the manual how much had changed.
I picked normal game speed.
before I play...
Here are some things I noticed while reading the civ4 manual at work:
1. there are now worker boats to improve the ocean squares! 2. settlers move 2 squares now 3. you can now move on the same square as an enemy and not attack them!!! 4. mounted unites can’t fortify 5. you can fortify til healed 6. other civs can’t go in your territory until they have open borders treaty with you 7. you can have mult religions present in a civ 8. cottages give you commerce on a square now - not roads 9. frams are like irrigation 10. also camps, pastures, plantations, watermills, quarries, etc 11. You can have a jewish temple, christian temple, etc