published by Ben Barbour on Sun, 10/16/2011 - 16:00
This morning we awoke early to head to Cardiff, the capitol of Wales. Today is Jason's meeting with the professor at Cardiff University about the PhD program.
published by Ben Barbour on Thu, 10/13/2011 - 22:40
For our last day in Paris we decided to visit Notre Dame and the Champs Elysees / Arc de Triomphe.
Notre Dame
This cathedral, begun in the mid 1100's, took nearly 150 years to build. In the interest of time and getting back to the airport in time, we decided not to go inside. This will have to be saved for another trip!
Champs Elysees
This road is one of the most prestigious in Paris, much like Rodeo Dr. in Los Angeles it is home to some of the most exclusive (and expensive) shops I've ever seen.
published by Ben Barbour on Wed, 10/12/2011 - 19:05
(Note: Pictures are to come, the Internet service at our hotel in Bristol, UK is extremely poor and would take me roughly 40 minutes per image to prepare and upload. I'm hoping London will be better.)
Today we both apparently decided to ignore our alarms and take advantage of the excellent light-blocking capability of our rooms window blinds and the quiet hotel.
published by Ben Barbour on Tue, 10/11/2011 - 20:18
Our final day in Rome we decided to revisit the Colosseo and stop in a pastry shop before heading to the airport. Initially we wanted to try to visit the Pantheon during the day but visiting Rome, the heart of the Catholic world, on a Sunday morning, is not the best time to be a traditional American non-Catholic tourist.
published by Ben Barbour on Mon, 10/10/2011 - 00:17
We began our first official day as tourists in Rome, Italy by waking up at 7am and walking to the nearby train station, Roma Aurelia. The train was 20 minutes late but a digital sign on the platform was easy to read and informed us of the delay, most importantly, it was accurate.
published by Ben Barbour on Fri, 10/07/2011 - 17:11
Months of planning and here we are!
Charlotte
- We said goodbye to good 'ole America with just an hour delay on our departure to allow for the crew's regulated rest time. Seems our pilot was delayed a bit and since I'm all for conscious pilots, I figured I'd let this one slide. Plus, we landed right on time in London-Gatwick so all was well. Not that it would matter, since our layover was 6 hours.
London-Gatwick Airport
published by Ben Barbour on Wed, 10/05/2011 - 00:28
Changing colors
NOTE: To make colors work in SSH, make sure your terminal program is set to use xterm. In PUTTY this is done in Configuration -> Window -> Colours -> "Allow terminal to specify ANSI colours" & "Allow terminal to use xterm 256-colour mode"
When your SSH terminal defaults to a black background, some colors, such as dark blue, may be difficult to see. Changing directory colors is relatively simple.
You may find basic information with the command:
published by Ben Barbour on Tue, 08/16/2011 - 21:28
import csv
from collections import defaultdict
import os
import string
import uuid
YEAR_SPAN = 19
GENDER = 'male'
RACE = ''
eyesCSV = 'pinellas_eyes.csv'
faceCSV = 'pinellas.csv'
prefix = 'pinellas_'
print "Using Eyes CSV: %s\nDatabase: %s"%(eyesCSV, faceCSV)
eyesDataSet = defaultdict(list)
face = []
dataset = defaultdict(list)
alleyes = csv.reader(open(eyesCSV, 'rb'), delimiter=',')
for eye in alleyes:
published by Ben Barbour on Tue, 08/16/2011 - 21:24
import csv
import MySQLdb
from PIL import Image
import os
START_IDX = 19734
datasets = []
expressions = []
modes = []
def getDatasetID(val):
for row in datasets:
if row[1] == val:
return row[0]
return -1
def getExpressionID(val):
for row in expressions:
if row[1] == val:
return row[0]
return -1
face = csv.DictReader(open('face.csv', 'rb'), delimiter=',')
published by Ben Barbour on Sat, 03/12/2011 - 17:42
I am creating my own programming language. I have defined my syntax to use python style indentions and no statement terminating character (\n indicates the end of a statement). Most modern languages, such as C/Java use { and } to denote the start and end of a statement block and a ; to denote the end of a statement. This is very easy to implement in Lex/Yacc as each character can easily be returned as a token.
Indention is a more complex but not impossible. No where could I find illustrations on how to accomplish this, so here goes!
Pages