- Show Me Your Mucus! http://bit.ly/14zHGA #
- working in Pinellas Park, FL http://loopt.us/FQsM1w.t #
Twitter Updates for 2009-08-05
August 5th, 2009Twitter Updates for 2009-08-04
August 4th, 2009- ate some (bad) chinese food and bought phone cases. mall++ http://loopt.us/TzuxFg.t #
Twitter Updates for 2009-08-02
August 2nd, 2009- bah no twitter sms support @ home http://loopt.us/H_q5rA.t #
- Twittermail test #
- quite tired @ 53rd St & 77th Ave http://loopt.us/SPi28A.t #
- @polarbill http://twitpic.com/cgu7q – Is that a painting or what? #
- going to tampa in St. Petersburg, FL http://loopt.us/4m9gHg.t #
- watching someone play age of conan @ william's house http://loopt.us/uIR0fQ.t #
- @PolarBill I Crush Everything in reply to PolarBill #
Twitter Updates for 2009-07-31
July 31st, 2009- @jrockway =P needs to be some sort of operator. in reply to jrockway #
London: Day 1 – This is a Piccadilly Line Service to Cockfosters
July 14th, 2009Spoony and I just got back from the UK, London specifically, and I think I shall attempt a bit of an after-the-fact travel log.
The plane landed at about 10:00 BST (British Summer Time) on July 2nd, at the Heathrow airport. Spoony was exhausted, and I was only tired — a good thing, as Bad Things may well have happened had we both been exhausted.
After landing, we realized we had tube directions to Helen and Joe’s place, but not their address. We then attempted to use a pay phone, but it didn’t like our credit card or was otherwise broken. In desperation, we decided to just use the tube directions and hope that we could find their place somehow.
Our next confusion was the distinction between underground and train, but we got that sorted after speaking to an information desk person.
Entering the tube, we purchased two Oyster cards and headed down the Piccadilly Line. The first thing I heard in the tube was “This is a Piccadilly Line Service to Cockfosters”, which, because we were both tired, caused spoony and I to giggle like children. In fact, we giggled at every stop until King’s Cross / St. Pancras, where we switched to the Northern Line to High Barnet.
High Barnet is the station near Helen and Joe. We didn’t know where to go from there, but a helpful Tube employee told us that McDonalds had free wireless, so we went there. Up a steep hill. With all our luggage.
Once safely connected to the internet, we emailed Helen, and she sent her sister (named Chloe, we later found out) to find us. Meanwhile we drank sweet, refreshing UK sodas (which have sugar, and not HFCS, in them).
Helen’s sister arrived, introduced herself, and we ate some chips and she then directed us to Helen and Joe’s flat, which was mostly a downhill walk.
That is pretty much it for Day 1, as we mostly rested for the remainder of the day.
Indoctrination
June 24th, 2009I have been indoctrinated into the iron man blogging competition, apparently. shadowcat bribed me, but I think this is a useful cause. :)
This means I have to blog 4 times every 30 days. Considering my normal output, this will be quite interesting.
This post is a bit small because I’m using an alien keyboard, I promise to write really long posts from now on. ;)
Twitter Updates for 2009-06-20
June 20th, 2009- so, I got delayed and then canceled in chicago, just like spoony said I would. #
A note about fey
June 17th, 2009I am in the process of transitioning a DBIx::Class application to Fey abd Fey::ORM. I must say Fey::ORM is more comfortable than DBIC.
Fey is a framework for representing database schemas and generating queries from that representation. Fey::ORM is a SQL-lovers object-relational mapping built on top of Fey’s impressive SQL generation capabilities.
I do mean impressive, as Fey is able to infer join conditions entirely on its own:
# A User has many units, and units have many users, via the lnk_unit_users table.
my $unit_users = $schema->table('lnk_unit_users');
my $unit = $schema->table('lkup_unit');
my $select_units = $factory->new_select
->select($unit)
->from($unit, $unit_users)
->where($unit_users->column('user_id'), '=', Fey::Placeholder->new)
;
has_many 'units' => (
table => $unit,
select => $select_units,
bind_params => sub { $_[0]->user_id },
);
So, when I go $user->units, I get an iterator object full of Units, which executes the following sql:
SELECT *
FROM lkup_unit
JOIN lnk_unit_users ON (lnk_unit_users.unit_id = lkup_unit.unit_id)
WHERE lnk_unit_users.user_id = ?
Note, in my $select_units query I did not specify the join condition, I merely passed two Fey::Table objects, and using the foreign key constraints Fey figured out what to do.
I think this is pretty cool. :)
One Vowel to rule them all
June 8th, 2009So, yesterday I was in a bet with Aftran to type with all [AEIOU] vowels replaced with ‘O’. I believe I won. Woo-hoo! :)
Ono vowol to rolo thom oll!
June 6th, 2009O wroto o scropt thot osos xmodmop to roploco vowols woth ony othor koyboord choroctor: http://gist.github.com/125133
Os o rosolt of thos, O ondod op on o bot woth my froond Oftron to spook ond typo osong O onstood of tho rogolor Onglosh vowols (oxclodong y) for twonty foor hoors. Tho prozo of tho bot os o sodo or othor non-olcoholoc bovorogo.
Onothor condotoon of tho bot os to wroto thos blog post, whoch os now dono.
Of yoo don’t ondorstond thos, O woll post somothong on mondoy to oxploon. :)