Double Post

For all your silly time-killing forum games.

Moderators: jestingrabbit, Moderators General, Prelates

User avatar
addams
Posts: 10331
Joined: Sun Sep 12, 2010 4:44 am UTC
Location: Oregon Coast: 97444

Re: Double Post

Postby addams » Wed Feb 25, 2015 7:05 am UTC

oh.
That is as it should be.
Life is, just, an exchange of electrons; It is up to us to give it meaning.

We are all in The Gutter.
Some of us see The Gutter.
Some of us see The Stars.
by mr. Oscar Wilde.

Those that want to Know; Know.
Those that do not Know; Don't tell them.
They do terrible things to people that Tell Them.

User avatar
adnapemit
Posts: 200
Joined: Thu Jul 04, 2013 6:05 am UTC
Location: The wrong timezone.

Re: Double Post

Postby adnapemit » Wed Feb 25, 2015 7:41 am UTC

...
Empress adnapemit "Nancy" "Time Panda"
[adnapemit|timepanda]
Does anyone actually read signatures?

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 8:27 am UTC

OH HAI

User avatar
adnapemit
Posts: 200
Joined: Thu Jul 04, 2013 6:05 am UTC
Location: The wrong timezone.

Re: Double Post

Postby adnapemit » Wed Feb 25, 2015 8:36 am UTC

Are you sure you don't have insomnia?
I don't.
I will be asleep soon.
Empress adnapemit "Nancy" "Time Panda"
[adnapemit|timepanda]
Does anyone actually read signatures?

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 8:37 am UTC

K THX BAI

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 8:38 am UTC

It IS late for me, but I am a night owl, and on PST (at the moment).

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 8:40 am UTC

nite-nite!

User avatar
Whizbang
The Best Reporter
Posts: 2238
Joined: Fri Apr 06, 2012 7:50 pm UTC
Location: New Hampshire, USA

Re: Double Post

Postby Whizbang » Wed Feb 25, 2015 1:53 pm UTC

Here is the Python script for getting the score, if anyone wants to run it. I can't seem to get it to run on my work computer anymore, it is unable to load the URL, for some reason.

Code: Select all

# Calculates player scores for the Double Post thread at the Forum Games section fo the skcd fora.
# Usage: python doublepostpoints.py [flags]
# Use flag -l to include a log of all post authors, timestamps, and how many points each post scored.
# Use flag -t to only count posts up to the supplied number

import urllib.request, sys, re, datetime, getopt

postPattern = re.compile('<p class="author"><a[^>]*><img[^>]*></a>by <strong><a[^>]*>([^>]*)</a></strong> &raquo; ([^>]*)</p>')
datetimePattern = re.compile('... (...) ([0-9]{2}), ([0-9]{4}) ([0-9]{1,2}):([0-9]{2}) ([ap]m) UTC')
pageNumberPattern = re.compile('Page <strong>([0-9]+)</strong> of <strong>([0-9]+)</strong>')
months = {'Jan':1, 'Feb':2, 'Mar':3, 'Apr':4, 'May':5, 'Jun':6, 'Jul':7, 'Aug':8, 'Sep':9, 'Oct':10, 'Nov':11, 'Dec':12}

doneLastPage = False
pagesDone = 0
postsDone = 0
lastPoster = None
lastTime = None
playerPoints = {}

log, upto = False, None
flags, _ = getopt.getopt(sys.argv[1:], 'lt:')
for flag, value in flags:
   if flag == '-t':
      upto = int(value)
   elif flag == '-l':
      log = True

log and print('==== Log ====')
try:
   while not doneLastPage:
      response=None
      attempts=0
      while response==None and attempts < 3:
         try:
            response = urllib.request.urlopen('http://forums.xkcd.com/viewtopic.php?f=14&t=108854&start=' + str(40*pagesDone), timeout=15)
         except urllib.error.URLError:
            pass
         attempts += 1
      if not response:
         sys.exit("Unable to load page " + str(pagesDone+1) + " after 3 attempts")
      pageHTML = str(response.read())
      log and print('Page ' + str(pagesDone+1) + ':')
      for (poster, time) in re.findall(postPattern, pageHTML):
         log and print('\t' + poster + ': ' + time)
         timeParts = re.search(datetimePattern, time).groups()
         time = datetime.datetime(int(timeParts[2]), months[timeParts[0]], int(timeParts[1]), int(timeParts[3]) % 12 + (timeParts[5] == 'pm' and 12 or 0), int(timeParts[4]))
         if poster == lastPoster:
            points = int(((time - lastTime).total_seconds()/60)**2)
            playerPoints[poster] = (poster in playerPoints and playerPoints[poster] or 0) + points
            log and print('\t\tScored: ' + str(points))
         postsDone += 1
         if upto and postsDone == upto:
            raise Exception
         lastPoster, lastTime = poster, time
      (currentPage, lastPage) = re.search(pageNumberPattern, pageHTML).group(1, 2)
      pagesDone += 1
      doneLastPage = currentPage == lastPage
except Exception:
   pass      

log and print('')
print('==== Points ====')
for name in sorted(playerPoints, key=playerPoints.get, reverse=True):
   print(name + ': ' + str(playerPoints[name]))

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 2:39 pm UTC

Yeah, like I said, no idea how to do it.

I wasn't posting since I was trying to be nice to our newcomer!
The biggest number (63 quintillion googols in debt)

User avatar
addams
Posts: 10331
Joined: Sun Sep 12, 2010 4:44 am UTC
Location: Oregon Coast: 97444

Re: Double Post

Postby addams » Wed Feb 25, 2015 3:09 pm UTC

PST?
oh, Seven;
What did you do?

You like all that Excitement.
You still suffer with fatigue.
Life is, just, an exchange of electrons; It is up to us to give it meaning.

We are all in The Gutter.
Some of us see The Gutter.
Some of us see The Stars.
by mr. Oscar Wilde.

Those that want to Know; Know.
Those that do not Know; Don't tell them.
They do terrible things to people that Tell Them.

User avatar
addams
Posts: 10331
Joined: Sun Sep 12, 2010 4:44 am UTC
Location: Oregon Coast: 97444

Re: Double Post

Postby addams » Wed Feb 25, 2015 3:10 pm UTC

What did you Drive, this time?
The Party Bus for Cooper?

What??
Do All of your Dreams come True??
Life is, just, an exchange of electrons; It is up to us to give it meaning.

We are all in The Gutter.
Some of us see The Gutter.
Some of us see The Stars.
by mr. Oscar Wilde.

Those that want to Know; Know.
Those that do not Know; Don't tell them.
They do terrible things to people that Tell Them.

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 5:35 pm UTC

:roll:
The biggest number (63 quintillion googols in debt)

User avatar
Whizbang
The Best Reporter
Posts: 2238
Joined: Fri Apr 06, 2012 7:50 pm UTC
Location: New Hampshire, USA

Re: Double Post

Postby Whizbang » Wed Feb 25, 2015 5:43 pm UTC

addams wrote:Wjyizbang! He's Danish?!

That explains the resistance to cold.
Are those people like EverGreens?

Does Bang! have anti-freeze running through his veins?


addams wrote:We are going to need a sample.
And, a mechanic that knows what Anti-Freeeze looks like.


We northerners are hot stuff

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 5:45 pm UTC

That's cool. Or hot. You know what I mean.
The biggest number (63 quintillion googols in debt)

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 6:32 pm UTC

addams wrote:What did you Drive, this time?
The Party Bus for Cooper?

What??
Do All of your Dreams come True??
Oh, gods yes, that would be a dream come true!! But no. (I am home at the moment.) Last week I delivered three different motor homes. In the Midwest. During the big freeze. Froze my ass off. :shock:

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 6:46 pm UTC

Getting restless. Would rather be driving...

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 7:22 pm UTC

They say it gets in your blood. Well, it does.

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 7:32 pm UTC

Truck driver, eh? I've driven long distances a bunch of times, but I can't say I enjoyed it. At least, not the driving part specifically.

I hope your ass gets better soon.
The biggest number (63 quintillion googols in debt)

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 8:09 pm UTC

SDK wrote:I hope your ass gets better soon.
Heh. Thanks. :lol:

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 8:34 pm UTC

I feel like we've already gone over this, but one of the rules of this game is you can only post at night. Okay? Okay.
The biggest number (63 quintillion googols in debt)

User avatar
adnapemit
Posts: 200
Joined: Thu Jul 04, 2013 6:05 am UTC
Location: The wrong timezone.

Re: Double Post

Postby adnapemit » Wed Feb 25, 2015 8:42 pm UTC

That's not a rule.
Empress adnapemit "Nancy" "Time Panda"
[adnapemit|timepanda]
Does anyone actually read signatures?

User avatar
Whizbang
The Best Reporter
Posts: 2238
Joined: Fri Apr 06, 2012 7:50 pm UTC
Location: New Hampshire, USA

Re: Double Post

Postby Whizbang » Wed Feb 25, 2015 8:43 pm UTC

Rules? Where we're going we don't need rules.

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 8:44 pm UTC

Well, it doesn't apply to everyone, so it makes sense that you haven't heard of it before.
The biggest number (63 quintillion googols in debt)

User avatar
adnapemit
Posts: 200
Joined: Thu Jul 04, 2013 6:05 am UTC
Location: The wrong timezone.

Re: Double Post

Postby adnapemit » Wed Feb 25, 2015 8:46 pm UTC

I specifically have heard it before..in the context of it being "not a rule".
Empress adnapemit "Nancy" "Time Panda"
[adnapemit|timepanda]
Does anyone actually read signatures?

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 8:48 pm UTC

I... don't know what to say to that. Like, the sun is here right now, which means it's night for you, which means that you're right now following the very rule you claim doesn't exist.

Check and mate.
The biggest number (63 quintillion googols in debt)

User avatar
adnapemit
Posts: 200
Joined: Thu Jul 04, 2013 6:05 am UTC
Location: The wrong timezone.

Re: Double Post

Postby adnapemit » Wed Feb 25, 2015 8:53 pm UTC

It's day time now. I can see the sun and everything!
Empress adnapemit "Nancy" "Time Panda"
[adnapemit|timepanda]
Does anyone actually read signatures?

User avatar
Whizbang
The Best Reporter
Posts: 2238
Joined: Fri Apr 06, 2012 7:50 pm UTC
Location: New Hampshire, USA

Re: Double Post

Postby Whizbang » Wed Feb 25, 2015 8:56 pm UTC


User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 8:57 pm UTC

But... but... the Sun is here right now. How can it be in two places at once?

Are you saying that addams has been lying to me?
The biggest number (63 quintillion googols in debt)

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 8:58 pm UTC

That is a very cool webpage.
The biggest number (63 quintillion googols in debt)

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 9:06 pm UTC

SDK wrote:Truck driver, eh?
Yes, and I'm moving up in the world of Transportation. (It is on my bucket list to one day drive a Train.)

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 9:07 pm UTC

Whizbang wrote:http://www.timeanddate.com/worldclock/sunearth.html
Ooooooooh, SHINY!!

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 9:09 pm UTC

Seven wrote:
SDK wrote:Truck driver, eh?
Yes, and I'm moving up in the world of Transportation. (It is on my bucket list to one day drive a Train.)

Conductor Seven. Sounds nice.
The biggest number (63 quintillion googols in debt)

Who
Posts: 108
Joined: Wed Oct 02, 2013 2:53 am UTC

Re: Double Post

Postby Who » Wed Feb 25, 2015 9:22 pm UTC

Back again, but still not playing.

I would simply like to say that this was the most political game I have ever played. I went on to apply the lessons I learned here to Diplomacy.

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 9:29 pm UTC

:lol:

Does that make Vytron Russia?
The biggest number (63 quintillion googols in debt)

User avatar
Whizbang
The Best Reporter
Posts: 2238
Joined: Fri Apr 06, 2012 7:50 pm UTC
Location: New Hampshire, USA

Re: Double Post

Postby Whizbang » Wed Feb 25, 2015 9:56 pm UTC

I just read the first 20 pages for nostalgia.

Good times.

User avatar
Earthling on Mars
Morning
Posts: 669
Joined: Sat Apr 06, 2013 6:35 pm UTC
Location: Somewhere in the Solar System

Re: Double Post

Postby Earthling on Mars » Wed Feb 25, 2015 9:59 pm UTC

Afternoon.

User avatar
Seven
Tertiary Adjunct of Unimatrix Zero-One
Posts: 1964
Joined: Wed Oct 31, 2007 3:05 am UTC
Location: Classified

Re: Double Post

Postby Seven » Wed Feb 25, 2015 10:15 pm UTC

Engineer Seven.

User avatar
Earthling on Mars
Morning
Posts: 669
Joined: Sat Apr 06, 2013 6:35 pm UTC
Location: Somewhere in the Solar System

Re: Double Post

Postby Earthling on Mars » Wed Feb 25, 2015 10:16 pm UTC

Here's the scoreboard.

Code: Select all

==== Points ====
adnapemit: 7756150
Earthling on Mars: 4252503
addams: 3564653
SDK: 3072628
Vytron: 1787344
Whizbang: 1139925
Who: 881859
faubiguy: 544021
SlyReaper: 81995
AarexTiaokhiao: 23158
jewish_scientist: 19320
RollingHead: 4704
patzer: 2419
Seven: 1701
Knee Jerk: 9
WarDaft: 4
KingTip: 4

User avatar
Whizbang
The Best Reporter
Posts: 2238
Joined: Fri Apr 06, 2012 7:50 pm UTC
Location: New Hampshire, USA

Re: Double Post

Postby Whizbang » Wed Feb 25, 2015 10:18 pm UTC

Dear Engineer Seven,

I saw what you did to Engineer Nine.

Sincerely,
Engineer Six

User avatar
SDK
Posts: 703
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: Double Post

Postby SDK » Wed Feb 25, 2015 10:22 pm UTC

Wow, I've made some progress!
The biggest number (63 quintillion googols in debt)


Return to “Forum Games”

Who is online

Users browsing this forum: Majestic-12 [Bot], Vytron and 41 guests