Search Results: "Andrew Pollock"

11 February 2006

Andrew Pollock: [life] Corteo

Tonight Sarah and I went to see Cirque du Soleil's performance of Corteo at San Jose. It was excellent. Really really good. Words cannot do justice to the description of it. We were both amazed and awestruck at the performers' gymnastic abilities. The music and the song were excellent as well. Money well spent on good seats.

Andrew Pollock: [life/americania] The Social Security Administration strikes again

I'd been planning on waiting to blog about the issuing of my Social Security number until I actually received the card, but as it seems that it has been lost in the mail, I could be waiting a while... So I was doing my regular weekly "what the fuck is going on with my Social Security number application?" phone call to the San Jose Social Security Administration office on January 12, when for a change, they couldn't actually find my application by the reference number that they'd given me. Lo and behold, my number had been allocated two days earlier. They told me that my card would be mailed out in 10 working days from the date of allocation, or that I could come into the office and get a bit of paper that told me what the number was. Let's just say that I'm glad I didn't wait for the card, or I'd still not be getting paid... So ten working days passed, and then some, and no card. This made me somewhat concerned, since everyone's been telling me how the SSN is the Primary Key of All Things, and that if it gets stolen, you're screwed as your identity can be stolen, with all the bad things that accompany that. So I rang the San Jose office back, to see if they had anything useful to say for themselves, and of course, they didn't. They couldn't tell me anything. They couldn't even tell me what address they had on record to ship the card to. They couldn't offer any postal tracking information, and they said that if it bounced for some reason, it would go back to Baltimore, where it would be destroyed. Oh goody. So after the trip to the DMV today, I thought I'd drop into the Mountain View Social Security office to request a new card. Well, let me just say that I can see why they zip-tie the chairs together... After waiting for over an hour and a half to get to speak to someone, they said that they would need to request secondary verification of something or other before they could issue me a card, and that it could take up to four weeks (the same secondary verification that took nearly 2 months in the first place). Or I could go to the San Jose office, where they already had the verification on file, and they could request a new card for me immediately. I was so flabbergasted that I just walked out of there. In hindsight, I should have told them to just go ahead and request the secondary verification, as so far I haven't actually needed to present the card to anyone wanting my SSN, and it's a lot more convenient (I think) to have to deal with the Mountain View Social Security office than the San Jose one. What absolutely blows me away is that there is no trust, no communication between offices. The fact that one Social Security office has already requested (and received) secondary verification of my existence from Immigration isn't sufficient for another office. They can't even ship a copy of that from one office to another? The mind boggles at the inefficiencies. I want that hour and a half of my life back.

Andrew Pollock: [life/americania] Licensed!

Last Monday, Sarah and I visited the fine institution that is the California Department of Motor Vehicles, so that we could get ourselves California drivers licences. We had to do both a written test and a behind the wheel test. The written test was your standard multiple-guess exam (36 questions, maximum of 6 incorrect answers to pass). Annoyingly, all the material on the exam was not in the California Driver Handbook, which the handbook tried to make out was the case. Fortunately it was largely a case of common sense. I got two wrong. The funniest thing was that Sarah and I both got the same exam paper, and Sarah did her test just after I finished mine, and we were allowed to keep the paper, so she could see which two I got wrong. One of the more unusual things I found about the process was that they allocated me a licence number before I'd even sat the test. Last Thursday Sarah had her behind the wheel test, and today I had mine. It was pretty easy. No reverse-parking, no emergency stopping. I just had to drive around for 15 minutes. I passed without any faults. Given it took me four attempts to get my original licence in Australia, I was pretty pleased with this. (I failed my Queensland licence a number of times due to nerves). The other thing that I was amazed to discover was that I don't get the licence for another four to six weeks! They mail it out. The DMV processes over here are just mind boggling. The fact that you can't get a licence on the spot, and that it takes something like three months to get licence plates for a new car just blows me away. It's nothing like the process in Australia.

Andrew Pollock: [tech] SSL protected mailing lists are usually a waste of time

Amaya points out to Jonathan why people like to use SSL for their mailing list archives. The silly thing is that quite often people still have the monthly password reminder emails switched on, which go out in the clear. The same hypothetical bad guy who might be sniffing your password when you might log into the web management system just has to sniff at the right time of the month when everyone's password is being emailed out...

8 February 2006

Andrew Pollock: [tech] Feed fixing finale

As I mentioned yesterday, I noted that Blosxom was misbehaving with RSS feeds where a flavour was used to customise the character set of the feed. Tonight I made time to look under the hood, and found:
      if ($content_type =~ m \Wxml$ )  
        # Escape <, >, and &, and to produce valid RSS
        my %escape = ('<'=>'&lt;', '>'=>'&gt;', '&'=>'&amp;', '"'=>'&quot;');  
        my $escape_re  = join ' ' => keys %escape;
        $title =~ s/($escape_re)/$escape $1 /g;
        $body =~ s/($escape_re)/$escape $1 /g;
       
Which I promptly changed to
      if ($content_type =~ m \Wxml(; charset=.*)?$ )  
        # Escape <, >, and &, and to produce valid RSS
        my %escape = ('<'=>'&lt;', '>'=>'&gt;', '&'=>'&amp;', '"'=>'&quot;');  
        my $escape_re  = join ' ' => keys %escape;
        $title =~ s/($escape_re)/$escape $1 /g;
        $body =~ s/($escape_re)/$escape $1 /g;
       
and now I can have my cake and eat it: UTF-8 encoded RSS feeds.

7 February 2006

Andrew Pollock: [life] Our rabbit made the front page

Our neighbour dropped a copy of the local rag around this morning, because of this story on the front page. Maybelline is now back at the animal shelter because she got big enough to be desexed, and is now awaiting adoption.

Andrew Pollock: [tech] Asterisk and Engin, preliminary working config

I've fiddled and tweaking, Googled, read the book, swore a lot, rang lots of people in Australia and made nuisance calls where they couldn't hear me, and finally got both inbound and outbound calls working. Two different sorts of IP phones are currently on their way. Couldn't have done it without X-Lite. The fact that they make a Windows, Linux and Mac soft-phone that is functionally the same (and gratis) is very cool. Props to them. So this setup is very cool. People in Brisbane, Australia can dial a local number that costs them whatever their telco is charging them for a local call (let's say it's between 10 and 20 cents) and it pops out over here in Mountain View, USA on my Asterisk box, and they get an auto-attendant asking them what extension they'd like. Dialling 1111 gets them the X-Lite on my laptop, and dialling 2222 gets them the X-Lite on Sarah's laptop. Conversely, I've setup a few dial plans that match the three main types of Australian numbers that sprang to mind, which routes them out via Engin, and depending on where in Australia we're calling, costs us between 10 cents (local and national calls) and 27c per minute to mobile phones. That is so sweet. That knocks the socks off 5 cents (US) per minute to call Australia via Vonage. Engin, you guys rock so hard it's not funny. I'm buying some shares. Once I've cleaned up my config a bit more and worked out exactly what I need and what is cruft, I'll do another post explaining it all. Now I just need to figure out how to do QoS...

Andrew Pollock: [tech] Finally, a fully fixed feed (almost)

So after much swearing at things, and some musings on #debian-devel, I've managed to mostly unfuck my blog's feed. [Valid RSS] The problem came down to my recent fiddling with Blosxom's RSS flavour, in an attempt to get the RSS feed to be encoded in UTF-8 instead of ISO-8859-1. I created a content_type.rss file in my flavours directory, and put in it text/xml; encoding=utf-8, which had the desired effect of influencing the encoding, but then caused Blosxom to stop escaping all the HTML tags as HTML entities, which rendered the feed totally bogus. If I ditch the ; encoding=utf-8 part, the escaping problem goes away, but then the encoding is no longer utf-8. Smells like a bug to me.

6 February 2006

Andrew Pollock: [tech] Holy broken blog feeds, Batman!

Gack, what a mess my blog feed has been in. It's still not 100% okay, but at least Firefox now parses it without complaint. Maybe someone with more XML-fu than me will read this and tell me how to fix the rest... I've always gone to a fair bit of trouble to ensure that my blog's HTML is syntactically correct, at least in terms of HTML, and everything is spelt correctly. To achieve this I use a fairly involved script to perform a bunch of sanity checks when I make a new post. Unfortunately, I've been neglecting the state of my blog's feed, and as I've recently discovered, it's been in quite a bad way for quite some time. Given that more people probably read by blog via the feed than the HTML, I've probably been focussing my attention disproportionately. It seems that whilst the native HTML I'm writing may be valid 4.01 Transitional, the XML that Blosxom generates from it isn't valid XML, mainly in terms of tag closure. So I guess this is going to mean that I need to go for a stricter and/or newer standard. I might need to move to XHTML or something. I've also found that a lot of the HTML generated by the various blog meme generators is utter crap.

29 January 2006

Andrew Pollock: [life] Got wheels

Finally, we have gotten our mits on a Prius. It was a bit of a battle, but due to Sarah's resourcefulness we were able to source the exact car (colour and options) that we wanted at another dealer in Tracy (about an hour's drive away), so yesterday we went and picked it up. It's very cool. Now, if I can just figure out how to reconfigure the climate control system to talk Celsius instead of Fahrenheit, we're laughing... I think I'll have fun hacking this car.

25 January 2006

Andrew Pollock: [tech] Asterisk and Engin, continued

So, given my earlier musings, I went ahead and signed up for the $10 a month Engin account (man it's hard to suppress adding an "e" on the end every time I type "Engin"). They finally approved the account today (took about a week or so I think), and I have a Brisbane telephone number. I've also bought the O'Reilly Asterisk book (yes, I've also downloaded the PDF for free, but I feel I should support the author, and I like reading books in dead-tree format). My next challenge is to obtain a couple of entry-level SIP handsets (recommendations welcome) and to actually get Asterisk up and running, talking to Engin. The pi ce de r sistance will be to get a TDM card with a couple of FXO modules to plug the standard POTS line and the output of the Vonage ATA (unfortunately Vonage doesn't appear to play well with Asterisk, so I'll have to do this crazy conversion) and have everything terminating in Asterisk. Of course this is up there with the MythTV box I never got around to building back home, but at least Asterisk is packaged for Debian, so all I have to do is get the handsets and configure Asterisk appropriately. Oh, and maybe actually stay at home for a couple of weekends.

24 January 2006

Andrew Pollock: [life] Making like a tourist

Had a busy couple of weekends with Rick visiting and us doing much sightseeing. I've been too busy to blog. The weekend before the one just gone was a long one on account of Martin Luther King Day on the Monday. We spent Saturday in San Francisco, Rick and I at Camp Sysadmin, as previously mentioned, and Sarah pottered around on her own (photos here). On Sunday, Rick and I went for a reasonable (28 kilometre) bike ride around the part of the bay accessible from the Stevens Creek Trail in the morning, and in the afternoon we all drove into the hills to check out the Lick Observatory. You can see the observatory as a little bump on the top of the mountains on a clear day, but it's deceptively further away than you think, because it's actually on top of the second line of mountains, not the first. We didn't expect to find ice and snow or for it to be zero degrees (Celsius) at the summit. We made it up just before 5pm, which was closing time, so we'll have to go again earlier in the day (and more appropriately attired) to check it out more thoroughly. Some photos here. On the Monday, we did a bit of a group outing with a few other people from work, including Tanya, who is visiting from the Dublin office and also in extreme tourist mode. We took a Caltrain in to Millbrae, and then switched to the BART for the remainder of the journey. Finally, we took a cable car from Powell station over to Fishermen's Wharf, where we wandered about for a bit, and then had a nice $11 cruise on the bay for an hour and a half, which went around Alcatraz and under the Gold Gate bridge. After that we caught another cable car back downtown, wandered around for a bit, and then met up with a few more people from work for a beer, and then had dinner at a nice Irish pub that we found. Photos from that outing here. On the Saturday of the weekend just gone, we drove to Monterey, mainly with the aim to hire Segways and fang around on them. Mission accomplished, and it was very affordable too. I think we'll definitely do that again. We also need to visit the aquarium. I really liked Monterey. It reminded me a lot of Berry, on the New South Wales south coast. Photos here. Finally, on Sunday (i.e. yesterday), we drove back to San Francisco, where Sarah, Rick and Tanya did the Alcatraz cruise/tour thing, and I spent most of the time riding the cable cars and street cars. The $10 day pass purchased on the cable cars is great value, as it seems to be valid on all of the San Francisco Municipal Railway (affectionately known as the "muni"). In the afternoon, we all went on a bus tour of San Francisco (the same one Michael and I did in July, but with a different driver, and slightly different route). Finally, we had a really nice dinner at an Afghani restaurant a few doors down from the backpacker's hostel that Tanya was staying in. Photos from the day here. Rick flew out tonight, and hopefully had a good time while he was here. We're certainly feeling a bit weary from all the sightseeing, but having visitors is always a good excuse to get out and do it. Next weekend, our friend Brett is visiting from Canada. No rest, I tell ya...

15 January 2006

Andrew Pollock: [life/americania] First outing on the train

We caught the Caltrain to San Francisco yesterday, and it was our first train ride so far. I have a bit of a childhood interest in trains, so it is always fun for me to compare and contrast the differences in rail systems that I see around the place.
Ticketing
There are these huge ticket machines, where you purchase a ticket before boarding the train. Fares a calculated on how many zones you travel in. So you have to consult a map of the line (it's just a single line) and work that out first. The machines take cash or a credit/debit card, with the usual disturbing lack of authentication for the latter. The tickets themselves are just a piece of card. There's no magnetic stripe or anything. The 10 ride tickets are also just a piece of card, from what I could tell. You "validate" them before riding by putting them in a gadget the essentially chops a portion of the side of the ticket off.
The trains themselves
I can't remember precisely, but I don't believe there were power-lines over the track. I'm pretty sure we had a diesel-hauled train. The engine on one that went in the opposite direction was certainly big and noisy. The cars are double-decker. Upstairs is pretty unusual. They are single-seats on either side of of an open void through to downstairs. There's a stainless steel shelf that runs the length of upstairs at about chest-height for putting luggage on, and below that you can see right through to downstairs. (I later discovered that this allowed a ticket inspector to walk down the aisle downstairs and view everyones tickets on both levels). The seats were all high-backed. The whole thing had a "long-distance" feel about it. There was a baggage car. You could take your bike on board (so, like the light rail, I think we'll do some cycling tours of places further away than what we'd directly cycle to).
Ticket inspection
Speaking of ticket inspectors, on the ride in, there were none (though there did seem to be hoards of roaming Caltrain employees wandering up and down the train), and on alighting at the station, no one checked our tickets on the way out, and there were no barriers or anything. You just wander in and out of the station as you pleased. Frankly, I was quite amazed. We did have a very diligent ticket inspector on trip back.
Speed
Definitely not the fasted thing in the world. We had all-stops trains both ways, and it took about an hour and a quarter. But it was fairly cheap, compared to driving and parking: $10.50 for a "day-pass" (what I'd called a "return").

Andrew Pollock: [tech] Camp SysAdmin

It's a very unfortunate name for something held in San Francisco... Yesterday, Rick (who's visiting for a week or so because he has an interview) and I went to Camp SysAdmin in San Francisco. I didn't really know what to expect, but it was free, and it had two names I recognised: Eric Allman of Sendmail fame, and Ethan Galstad, author of Nagios. That was good enough for me. It was a fairly unstructured event. We arrived a bit late because we just missed the train we planned on catching, and the next one was an hour later. We seemed to have only missed the welcome, and everyone was just starting to break out into smallish discussion groups. The groups were just round-table discussions about various topics, with the discussion leaders working through some stimulus material. I'm not quite sure what the objective of the day was. I think Splunk, who were the main organisers of it, were using it as a gentle sales pitch for their product, which was cool, because I'd not heard of it before. They make a logfile correlation tool, of which there is a free version. It was kind of good timing, as I'd just spent a couple of days munging log files at work, so I'll find time to look into their product further. I didn't directly gain a lot from the day (I attended the "Ops Collaboration: How data centre gurus work together when problems cross different domains" and "Troubleshooting messaging systems" discussions, however it was interesting to just listen to the discussions, and hear what people had to say. A lot of people were working at small start-ups (seems to be par for the course in the Bay Area) where they were the sole sysadmin for the entire place, which is a concept at the complete opposite end of the spectrum to what my job is like. It was a good informal networking session, it wasn't too crowded, the food was good, and most importantly, it was completely free. I even scored a t-shirt for completing an anonymous survey. The event was held in a wine-bar/art gallery place, which worked reasonably well. They had a wine and cheese social networking session at the end. The whole event was run very well.

9 January 2006

Andrew Pollock: [geek] Hell yeah

We are so doing this. Blows away these guys on cost.

Andrew Pollock: [life] We're currently a rabbit foster home

As previously mentioned, Sarah is doing some volunteer work at a local animal shelter. Somehow a baby rabbit arrived at the shelter. Rumour has it that it was the offspring of a stray, but that still doesn't explain how it ended up there. Anyway, apparently there was a sign up in the tea room or something, asking if anyone could take it for a few weeks until it got big enough to be re-homed. So we have a rabbit for a few weeks. I don't mind rabbits, but give me a cat any day. We babysat our Canberra neighbours' pet dwarf lop on a number of occasions. Three weeks will probably be long enough for the novelty value to wear off having this one, though. Rabbits just aren't interactive enough. They don't vocalise. Being prey, they're genetically flighty at the best of times. They also tend to chew cables, so you have to supervise them when they're out of their cage. Anyway, we've named her Maybelline, because she has panda eyes, as if she's had eyeliner on and it's run. She's very small and cute. She's rapidly becoming more used to us, and tolerating being patted and handled. Maybelline the rabbit Maybelline the rabbit

Andrew Pollock: [life] An outing on the light rail

Today, we took a day off unpacking and ventured to San Jose on the light rail, of which Whisman station is an easy walk from our place. It was quite a fun outing. An adult "single trip" ticket cost $1.75, and was a good 2 hours travel. So technically, if you could get to where you were going and back again in 2 hours, more power to you. The light rail itself is like a hybrid tram/train sort of thing. It's two cars long, and sometimes goes onto the road, and other times is separate to the road (but always on rails). It stops only when required to pick up passengers, or when a passenger on board indicates they'd like to get off, so presumably this makes the timetable as variable as a bus. On the way to San Jose it didn't stop at a lot of stations. It also has cool bike racks on board. You stow your bike vertically, hanging it from the front wheel. I foresee a few further-afield cycling excursions in the future. The trip to downtown San Jose took about 50 minutes each way, and took us through a real who's who of Silicon Valley. We saw so many names... In San Jose, we popped into The Tech, just to see if it was open next Monday (Martin Luther King holiday), as we will have a guest with us, and discovered that today had free entry as SBC was paying for everyone to come in, so we thought we might as well go in, being free and all. There seemed to be a few more exhibits on line compared to last time I went with Michael, and Sarah enjoyed herself. We also had the obligatory Segway ride, and then headed home.

8 January 2006

Andrew Pollock: [debian] Secure APT and the new archive key

I think it needs to be more widely publicised that you need to do something like:
apollock@icarus:~$ GET http://ftp-master.debian.org/ziyi_key_2006.asc   sudo apt-key add -
gpg: no ultimately trusted keys found
OK
to get APT to continue to be able to verify packages.

Andrew Pollock: [tech] Arooga! Potential feed disruption coming soon

I think tomorrow I'll reconfigure Blosxom's idea of what timezone my posts are in from Australia/Canberra to US/Pacific. Carnage and mayhem will undoubtedly follow on the odd few Planet's that I am aware of being aggregated by.

Andrew Pollock: [humour] Quotable quote

From a comment on a LWN article:
It's gratifying that Canonical has been able to find so many brilliant people, in part because it means Google hasn't snapped them all up yet, and in part because with Canonical pushing from the east and Google from the south, Microsoft might get pushed into the frigid north Pacific Ocean and drown.

Next.

Previous.