Back to top

Technology

Broadly defined "technology" e.g. software, water pumps

Game Theory - Repeated Prisoner's Dilemma with Unknown Number of Rounds

I went to a "smart athletic people's conference" and we played some games. Of course, the "smart" side of it meant that some of the games should be "heady" games. So, I included a game theory game:

Game 1 - Pricing Game:

You sell beer. You have one competitor who also sells beer. Each day you and your competitor have two choices for your price that day: a high price or a low price. There are four possible outcomes:

  Competitor
  LowHigh
YouLow(1,1)(3,0)
&nbspHigh(0,3)(2,2)

The numbers represent the profit you make that day in the order of (Your Profit, Competitor Profit). So, if you both choose "low" then the result is "1,1" meaning you each get 1. If you choose low and the competitor chooses high then you will get 3 and he will get 0.

Note that the game is symmetrical: "you" and "competitor" can be flipped and the results are the same.

How we will play the game:

Everyone will get two small cards - one that says "high" and one that says "low". We will play until this program tells us to "quit":

import random
limit = 0
loop = 1
while loop == 1:
again = random.randint(0,100)
if again > limit:
print "play again"
limit +=1
loop = input("time for next round? 1 or 0: ")
else:
print "%d rounds, quit now!" % (limit)
loop = 0

I ran this program several times and got results between 3 and 27 rounds. It could theoretically go about 100 rounds, but that's pretty unlikely.

Your score: the sum of the results from each round. For example, if you and your competitor both chose low every time and the game lasted 3 rounds your scores would both be 3.

People Involved: 
timeline: 

BarCamp Denver

BarCamp Denver is coming up soon. It will be what we make of it - more of a Do-ocracy than anything else I know.

It should be a great time. I plan to present my favorite technology of the moment - <a href="http://drupal.org>Drupal and if I can get off my buttocks perhaps write and show off one of the modules I've been thinking about writing.

Category: 
People Involved: 
timeline: 
Location: 

FON in more languages and Spain reaches 10,000 foneros

FON Website in More Languages

As I happened on the site this morning I noticed that the FON website now has language buttons for "EN|ES|FR|DE|IT|NL|SE" and several characters that appear as ??? for me but seem like Japan, Hong Kong, Korea, and Taiwan. Some of these just seem to point at their blog and not specifically translations of the main site, but all the same it's exciting to see FON continue expanding linguistic reach along with physical reach.

Category: 
People Involved: 

Firefox Quick Search of Drupal.org

Stop Wasting Time when you Search

I frequently find myself doing two things:

  1. Using the google site: keyword to search Drupal.org
  2. Using the Drupal search to search Drupal.org

I'm also a believer that the fewer keystrokes the better, especially in light of RSI experienced by "professionals" doing computer work. So, why not eliminate a couple hundred keystrokes a day with a Firefox quick search?

Get the Bookmarks

Here are three links to bookmark:

People Involved: 

Photos of a Dead Company - and disk storage

So, I found this site today of the photos from the sale of equipment for Mp3.com. Wow. There's lots of crazy stuff in there.

The thing that got me the most excited was these two Clarion EMC2 disk arrays. How much space was on those? A couple terabytes? How many hundreds of thousands did they cost? To get that much disk today you'd have to...walk into an apple store and drop down a a couple thousand dollars. Crazy.

Category: 
People Involved: 
timeline: 

Pages

Subscribe to RSS - Technology