Search Results: "Andrew Pollock"

25 June 2007

Andrew Pollock: [life] Phase I of E-3 visa application in Dublin complete

Okay, so that happened. Now all I have to stress about is getting my passport back in the mail successfully before I want to depart on Saturday. My appointment was at 9:30am, which Id foolishly made without considering that arriving on a Sunday, I'd still need to get to a post office on Monday morning to get a postal money order and a stamp. Given that you're not supposed to arrive any earlier than 15 minutes prior to your appointment, that didn't leave me a lot of time. Post offices here open at 9:00am, but I'd managed to locate one within a fairly short distance of the US Consulate. Last night, I went for a recce to figure out how to walk to Consulate from the hotel, and where the post office was in relation to the Consulate. I was relieved to discover that the post office was literally about a minute's walk around the corner. That made me feel much more comfortable about pulling everything off on time. So this morning, I arose early, and walked to the post office, arriving there at about 8:30am. There was already a considerable queue outside the Consulate, something I hadn't considered. Not long after I arrived at the post office, a postal employee was coming in and she told me that they weren't opening until 10:30am for some reason. Damn. My well-laid plans were shot to pieces. She told me the nearest post office that opened at 9am was on Baggot Street, and pointed at my Google Maps printout to something labeled as Baggot Lane. It didn't look that far away, and I still had about 25 minutes up my sleeve, so I scurried off. I walked the length of Baggot Lane, no post office. Then I realised there was an Upper and Lower Baggot Street one street over, tacked on the end of another street (they seem to like spontaneously changing street names on straight bits of road around here). So I scurried off over there, but couldn't see any sign of a post office. It was now a bit after 9am, so I didn't want to waste more time just finding the post office, and so I jumped into a taxi, and I'm glad I did, because it turns out the post office was in the back of a newly renovated convenience store, and there was no external signage whatsoever, so I wouldn't have stood a snowflake's chance in hell of finding it on my own. The taxi then dropped me back at the Consulate at bang on 9:15am by my watch, and I jumped on the end of the queue. The process was a bit unusual in that the Consulate is on the corner of the intersection of a couple of fairly busy roads, and there's a guardhouse on the perimeter of the boundary, where you have to line up and talk to someone through a speaker-box (contending with all of the traffic noise) and they verify you have an appointment, and have all the prerequisites, then you get in another line to go through the guardhouse and get your stuff x-ray-ed and yourself metal-detected. Then you get to walk across the yard, into the building itself and wait. I must suck when it's raining, because you queue outside on the street for a little while. The Consular processing went perfectly smoothly. They weren't interested in any of my supporting paperwork, or my updated resume that I'd prepared. I was only asked why I was applying in Dublin (rather than Australia) and that was it. They reckon I should have my stuff back in a couple of days. So the take-away from all of this is don't make the appointment so bloody early in the morning if you still have to run around and collect prerequisite items. Duh. Colour me dumb. Now off to work after a cup of tea to recover.

23 June 2007

Andrew Pollock: [debian] Huzzah for Debconf 7

So Debconf 7 has been good. Very good. I suck at writing up such events, but I found it a great opportunity to hack on my packages. I got my laptop setup so I could work moderately effectively offline (there's still more I can do), and I was able to work on the DHCP 3 packages fairly heavily. I'm particularly pleased that I fixed two long-standing bug-bears: the fact that the package only complied with a Standards-Version from about 5 years ago, and that the DHCP client udeb for the installer didn't work. I've fixed both of those issues, and done a pile of bug triage. Very happy. Due to various talks about git, I've also gotten over my fear of it, and had a play. It still fries my brane big time, but at least I've had a play. Onward to Dublin. Let's see if I can successfully reapply for my visa.

18 June 2007

Andrew Pollock: [life] So close and yet so far...

I went out drinking last night, and got fairly plastered in process. I staggered back to the hostel at about 10pm, and amazingly, had the presence of mind to plug my laptop in to charge - to mean feat, given I had to assemble the three bits of the iGo charger. I woke up this morning feeling pretty pleased with myself (albeit in a seedy kind of way), until I discovered that I'd either failed to plug the cable into the laptop, or it fell out overnight, so it was all for nothing in the end. Oh well. It gets light here extremely early, and I woke up at about 4:30am and couldn't get back to sleep, so after a few more hours of lying around being seedy, I headed out for a brief reconnoitre before heading in to the morning sessions. I love this city! It's just so old. Edinburgh Castle looks really cool. I'm looking forward to checking it out.

16 June 2007

Andrew Pollock: [debian] Huzzah!

09:26 < DC7schedule> New arrivals: Andrew Pollock
(the time is PDT) The backpacker's seems nice enough. There's an Australian themed pub a few doors down that sells Twisties and Burger Rings! Heaven! I'm in the hacklab at the moment, playing "put the face to the name". I can't believe I've been a DD for 4 years and this is my first Debconf.

Andrew Pollock: [life] En route to EDI

I'm currently sitting in the first class carriage of a GNER train from Kings Cross station to Edinburgh Waverley. I'm travelling first class not because I'm a yuppie, but because GNER's website sucked and I couldn't book a ticket with a non-UK address. I had to get a co-worker in the London office to book it for me, and by the time he remembered and got around to doing it, there were only first class tickets left. That said, it is very nice, and apparently 40 pounds is a bargain. Whatever. Everything's expensive over here. It's bad enough exchanging US dollars. I'd hate to try and do it with Australian dollars. The free wireless will help pass the 4 hours. The latency is pretty bad though. I went out for a wander around this morning and had so much fun seeing some of the sights. I didn't realise that today was the Queen's birthday, and there were a few road closures, and a police officer standing on guard every 100 metres in the Buckingham Palace and Westminster Abbey areas. I'm not sure if that's standard practice, or just because of the Queen's birthday stuff going on today. So in my couple of hours I saw Buckingham Palace, Big Ben, Westminster Abbey, Nelson's Column, Trafalgar Square and a glimpse of the London Eye. If I never make it back to London, I'll be happy enough with what I saw this morning. The view from the train is beautiful. Green English countryside with the occasional quaint little village. I'm going to stop writing and look out the window for a while...

Andrew Pollock: [life] In the Mother Country

So I'm off travelling again. I've done way too much lately, and I'm looking forward to getting home and staying there for a while. I flew from San Francisco to London yesterday for my first ever business class trip. United business class is whole different experience to United economy, that's for sure. Aside from getting ridiculous amounts of legroom, and much better cabin service, the thing I like best about the whole experience was the preferential treatment. I arrived at SFO, and there was an unholy amount of people at the economy check-in counters, so it was really nice to breeze around to the business check-in counters and wait in a much more manageable line. At Heathrow, I got to used the priority immigration line, and my bag came out pretty quickly, so I'd breezed through Heathrow and onto the tube faster than you could say "Pussycat, pussycat, where have you been?". Very happy with all of that. I caught a Piccadilly line tube from Heathrow to Acton Town, then changed to the District line to Victoria station. The tube (particularly the first one) was smaller than I expected. The ceiling was pretty low, the aisle narrow, and it just felt pretty squishy. The second one seemed a bit wider and taller. It didn't feel like it could really deal with peak-hour commuting, but I guess maybe the frequency makes up for the capacity... Buckingham Palace Road turns out to have pretty wacky numbering. Just because you're opposite number 80, doesn't mean the odd numbered 80's are anywhere near you. So it took me longer than it should have to find the hotel, and I wandered up and down Buckingham Palace Road for a while before I'd managed to calibrate myself to the numbering. More frequent numbers on the buildings would have helped immensely. So I've hardly seen anything, I'm really just passing through on the way to Edinburgh for Debconf, but I love what I've seen so far. The red double-decker buses. The taxis. The post boxes. The phone booth's. It all feels really really old, but still really really alive. We've got to come back and do the place properly. The office is really nice as well. Very modern looking. Very open-plan like the Sydney one. I wasn't able to sleep on the plane unfortunately (I couldn't convince my brain to switch off), so I was pretty zonked by the end of the day (got into the office shortly after 9am). I had a fairly productive day, and went to the hotel and crashed at about 6:30pm, woke up at about 2:30am and couldn't get back to sleep. Hopefully if I just soldier on through today, I'll get to sleep a bit later this evening and do something closer to a normal night's sleep. I'm catching the train to Edinburgh today (I blame Mark (who doesn't appear to believe in permalinks) for putting the idea in my head). Looking forward to another tube ride and seeing some of the countryside. I've been really apprehensive about this trip ever since I booked it. Mainly because I'm going over to Dublin after Debconf to try and apply for a new visa. For some reason, I'm just really worried that's all going to go pear-shaped. I'm feeling better now that I'm here, but I'll feel even better once the trip to the consulate is behind me. Even better still when I get my passport back successfully. Best still when I'm home again.

14 June 2007

Andrew Pollock: [life] Back to being a SINK (for ~17 weeks anyway)

Sarah's approaching the 23 week mark. So far the pregnancy has been going swimmingly. The obstetricians are still freaking out (although a bit less), but nothing's happened to warrant it. We went to see the cardiologist today, and Sarah's aortic root is no bigger than it was prior to conception. He did indicate that he didn't think having any further children was a good idea (despite there being no problems to date). He was saying that we should probably expect to not have a choice, and have to have a Caesarean section delivery. If we did have a "natural" birth, it wouldn't be all that natural - he'd be wanting for an assisted delivery (probably involving suction) after the first stage of labour. None of this is really the way I'd envisaged or wanted my child to come into the world, but you can't really argue with the doctors, and I'm not the one having the baby, so my personal preferences are really just that. Young PJ, (Pollock Junior) as we've been calling him, is proving to be very active. He's doing lots of kicking, and I can feel some of them as well now. Sarah's employment contract was up for renewal, and they wanted to renew it for another 6 months rather than try to convert her to full-time. Given that she'd have to take some time off mid-way through the new contract to have the baby, we thought that it made more sense for her to just cease working now and take it easy for the remainder of the pregnancy. So she's now a lady of leisure (and loving it) again as of Monday.

Andrew Pollock: [life] Marfan's Syndrome

Ever since Sarah started seeing Dr Liang at the Stanford Marfan Syndrome and Related Aortic Disorders Clinic for her aortic aneurysm, I've been meaning to write something about them and the condition to try and get them onto the first page of Google when doing a search for the disorder. So here it is. Whilst Sarah doesn't have Marfan's Syndrome, one of the symptoms is aortic aneurysm/dissection, which Sarah has a family history of. So that makes cardiologists that specialise in this field the best people to talk to.

29 May 2007

Andrew Pollock: [debian] From the horse's mouth...

Just in case Ben Fowler doesn't read Planet Debian, Eric Dorland has written a much more detailed and accurate account of the Iceweasel situation than I did.

28 May 2007

Andrew Pollock: [tech] LVM, you've done it again

The good thing about having kept a blog these last few years, is I have a searchable record of hardware changes. Recently, I noticed a few disk errors on caesar, and I was wondering how old that disk was. I disk some searching, and found via this post that the disk in it was a hand-me-down from when I decommissioned daedalus Mk I. One of the reasons I decommissioned it when I did, was the RAID-1 was exhibiting some strange errors during resynchronisation, and I didn't want to leave the country leaving behind an ageing problematic server with my stuff on it. I'd previously been unable to fault either 120 Gb disk under some light testing with badblocks, so I just reused them, and so around October 2005, I put the larger disk in caesar. So this disk has seen a fair bit of use, originally in daedalus, and then in caesar for another 20 months. It's allowed to fail, it's served me well. Anyway, so I bought a 750 Gb drive a couple of weeks ago, because one thing that I've wanted to do with caesar was do remote backups of daedalus, and there just wasn't enough space to do that, so I went for as big as I could find, and essentially repeated the same trick as last time, to upsize:
  1. Power down, attach new disk as a slave
  2. Boot into single user mode
  3. Unmount everything, remount root read-only
  4. sfdisk -d /dev/hda sfdisk /dev/hdb to copy the partition table (I use a root, swap, LVM, three partition layout)
  5. dd if=/dev/hda1 of=/dev/hdb1 bs=1M to copy the root filesystem to the new disk
  6. mkswap /dev/hdb2 to put the swap signature on what will become the new swap device
  7. cfdisk /dev/hdb and blow away the third partition and recreate it using all of the available space (there's probably a programmatic way of doing this, but hey, it's not exactly hard to do in cfdisk either)
  8. pvcreate /dev/hdb3 to put an LVM signature on the new LVM physical volume
  9. vgextend base /dev/hdb3 to tell LVM there's two disks in the volume group for the time being
  10. Remount the root filesystem read-write
  11. rm /boot/grub/device.map and run /usr/sbin/grub-install /dev/hdb to install GRUB in the MBR of what will become the new boot disk
  12. Power down, swap the disks around so that the new disk is now primary and the old disk is now the slave
  13. Boot into single user mode again, unmount everything except root
  14. pvmove /dev/hdb3 /dev/hda3 to relocate all of the allocated physical extents off the old disk onto the new one
  15. Twiddle thumbs for a couple of hours. Admire artwork on computer's motherboard (did you know Compaq EVO's have a picture of a car on their motherboards? A map of Texas?)
  16. vgreduce base /dev/hdb3 to take the old disk out of the volume group
  17. pvremove /dev/hdb3 to remove the LVM signature from the old disk
  18. Power down and remove the old disk
  19. Reboot into multi-user mode and profit from all the additional free physical extents
I absolutely love how I can do this with LVM, with a minimum of fuss. Last time I did this, I had a kernel panic during the pvmove, but that didn't even stop it, I just rebooted and reran the pvmove and it carried on from the last checkpoint. No such excitement this time. I'm sure Solaris' ZFS does all of this with substantially less manual steps, but hey, I like my Linux :-)

Andrew Pollock: [debian] Tone down the hate

Ben Fowler has a bit of rant about the Iceweasel situation in Debian. Take a chill pill, Ben. As I understand it, from when I recently had dinner with Eric Dorland, the problem is no longer the name Firefox(tm), but the fact that the logo is non-free. I think we're required to ship the logo with the product if we call it Firefox. I believe that Ubuntu is glossing over the non-freeness of the logo. Heck, they're free to not be bound by the Debian Free Software Guidelines, they're not Debian. I think the Mozilla Corporation granted permission to Debian to redistribute the logo, but that permission wouldn't flow on to derivatives, so didn't really cut the mustard. I'm sure Eric will correct me if I've said anything fundamentally incorrect. In summary, sure, the whole Iceweasel situation is suboptimal, but I don't believe it exists for the reasons you feel it does.

27 May 2007

Andrew Pollock: [tech] Finding out just how hot the linen cupboard is...

I decided to move the old 1-RU Pentium III server (the thing providing all the storage for my MythTV box via ATAoE) from under the bed in the spare room to the linen cupboard. It had a brief stop in the wardrobe in the spare room, but it didn't really help with the noise. Sarah was a concerned about the heat in the linen cupboard, as this is where the patch panel is, so caesar is already in here, along with an Ethernet switch, an ADSL modem, a wireless access point, and the Vonage ATA. There's a lot of DC plug packs generating heat, so it was a reasonable concern. I figured in this day and age, someone must make some sort of USB temperature sensor, and after some searching around, I discovered the DLP-TEMP-G, which seemed to be about the right price, doing what I wanted. I'm going to say the web page was a bit ambiguous, but it was probably just late at night, because I read the bottom as having the option to buy it from Mouser, or via PayPal directly with DLP Design. So I went down the latter path, because I generally prefer to deal directly with the manufacturer. Turns out what I was actually ordering was just a "Test Application", so that email I'd received the day after I placed my order for two units was all I was going to get. I figured this out after a week or so of wondering when it was going to arrive. They were really good about it, and refunded me my $40, even though I'd received said software, and I placed a new order with Mouser for what I really wanted. Now this time, I just didn't read things thoroughly enough, although I'll still say that things were a little ambiguously worded. The page I've linked to above does say "DLP-TEMP-G and 1 DS18B20 sensor $25.00", but when reading datasheet, it goes on about three sensors, and coming with one that isn't soldered on so that you can optionally run a cable between it and the board. I somehow interpreted this as meaning there were two sensors on the board, and one loose. Not the case. The board supports having up to three DS18B20 sensors attached to it, however you please. It comes with one unattached. In hindsight, why would you want two temperature sensors directly on the board? So the moral of this story is I just can't read. Anyway, I got home from Santa Monica last night, and the goods had finally turned up, so I had a play. The DS18B20 just looks like a transistor. I initially ignored it, and just shoved the USB board in caesar, and it happily recognised it
usb 1-1: new full speed USB device using uhci_hcd and address 8
usb 1-1: configuration #1 chosen from 1 choice
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
I then fooled around with minicom, and discovered that the little transistor thing I'd been ignoring was indeed the temperature sensor, as I got a reading of zero back (when using this program I found on the 'net). So I went to bed, and this morning did a bit of messing around with the sensor, and with a bit of creative bending, I've got it sitting in the S1 holes without requiring any soldering. It tells me the linen cupboard is about 44 degrees Celsius. Warm, but I don't think it's in any immediate danger of bursting into flames. Wouldn't surprise me if some of the gear in there isn't too keen about the temperature though. At least we won't have to worry about mold. Next step is to convince cacti to graph it, and nagios to monitor it, and we're in business. Here's a little Python program I knocked up to grab the temperature. pyserial is nice. Read on, Macduff!

11 May 2007

Andrew Pollock: [life] It's a girl^Wboy!

My parents got back from a whirlwind trip to Canada this afternoon, and we thought that since their visit here was scheduled before we knew Sarah was pregnant, we thought one small way they could participate was to come along to an ultrasound screening that determined the baby's gender. So we lashed out on one of those gimmicky 3D/4D ultrasounds, and didn't tell Mum and Dad what was going on until we got there, so as to make it a bit of a surprise for them. I think Dad thought we were going to see a baseball game, because when Mum asked what to wear, I told her it didn't matter, and that it was a spectator activity. I called it as a boy before the sonographer made a call. She initially thought it was a girl, but revised it to be a boy as the scan progressed. I'll update this post with some of the images later.

22 April 2007

Andrew Pollock: [life] Parental visitation

My Mum and Dad arrived today for a three week visit. We're hardly seeing them though. They fly out on Tuesday to the east coast, to see New York, Washington DC and I think the Niagara Falls for seven days. When they get back, we're all heading to Las Vegas to check out the Grand Canyon, then they're off to Vancouver and to see the Rocky's. After that, they're back for a few days, then they leave again. Their itinerary makes me feel tired.

21 April 2007

Andrew Pollock: [life/americania] On the right to bear arms

Steven's blog post reminded me that I had to make a note about the two email responses I received to my own. I received one email from Pro Guns Person A quite quickly after my blog post went up. He was quite civil, and had things to say such as:
The truth is, if a few good citizens were armed and nearby, they would have had a chance to stop the killer before he could do any more harm.
and went on to say how if a person really wanted to, they'd break laws to get guns, so gun control doesn't achieve anything, except leaving the good guys unable to defend themselves. Sure, they'd break laws to get guns. You can't stop them if they really want to, but you can make it harder. And you have to make it harder universally. It's no good if one state cracks right down, if people can just pop over to the next state and pick up a firearm instead. I agree with Steven. Leave the gun toting to the people trained in their use (i.e. law enforcement). Frankly, it disturbs me that "defending yourself" equates to being able to shoot the attacker. I think it's Texas where you can legally shoot trespassers. Scary stuff. Pro Guns Person A went on to say:
To close, again without intending offense, please do not call for gun control if you aren't even a citizen of this country. The real problem is the societal issues that drive people to do these things. The truth is, fifty years ago in this country, people could leave loaded guns in their unlocked cars, even in high school parking lots...and nothing like this ever happened. But now, even though we have far more restrictive gun laws, things like this do happen, because of the societal problems.
I have the right to express my opinion, irrespective of my citizenship, as do you, Mr Pro Guns Person A. You don't have to like my opinion, just as I don't have to like yours, but I respect your right to have your opinion. No offense taken, either. You were very polite in putting across your point, I appreciate it. (By the way, I agree. Society's gone to pot.) Pro Guns Person B's email was along a similar theme: the bad people will always get their mitts on a gun, and the good people won't be able to defend themselves.
Think about these figures (I'll write about the US, since that's the nation you wrote about now): In the state of Arizona the gun per person ratio is 2,5 (on average 2,5 guns owned by 1 person, and these are the legally purchased ones). In the state of New York there is an official prohibition on guns. So why is it that New York has the higher armed crime rate among those two? (and one of the highest across the country)
I don't think reverting the entire US to a "wild wild west" scenario is really going to help matters at all. Sarah was saying that she'd found some statistic somewhere, probably saying something like what this page is saying. Now this was done at a Federal level, so that's why it worked, whereas anything done piecemeal, is going to cause a situation like what Pro Gun Person B was describing in his email.

20 April 2007

Andrew Pollock: [humour] Fast Food: Ads vs Reality

This link just did the rounds at work. It's so true.

18 April 2007

Andrew Pollock: [opinion] What will it take for gun reform in the US?

This recent massacre at Virginia Tech reminds me of Australia's Port Arthur massacre. That event was pivotal in reforming Australia's gun laws. I wonder what it will take for similar action in the United States? One would argue it's a bigger deal, because Australia doesn't have a constitutional right to being armed, so presumably it's a bigger deal to override/amend in the US. Still, at some point, something's got to change... This madness can't keep happening.

7 April 2007

Andrew Pollock: [tech] Finally, arbitrary points on Google Maps

I'm so please to see that this feature has finally launched. For quite a while now, I've wanted to be able to just say, "here's home", "here's work", "here's where we do the grocery shopping", etc, on Google Maps, so I could show mainly the family back home where everything was relative to everywhere else. I'd started looking into the Google Map API, but lost interest because it wasn't easy to do quickly. Too much lat/long stuff for my liking. So the "My Maps" thing is great, just what I've always wanted.

5 April 2007

Andrew Pollock: [life] The Constant Gardener

Tonight Sarah and I watched The Constant Gardener on DVD while we babysat for Trish and James Every now and then I end up watching a movie that I wouldn't have otherwise watched if I were the one picking the movies, and I'm really glad I did. Tonight was one of those times. This was a really good movie, and it painted the plight of Africa and in particular, foreign aid in Africa, in a completely different light. The sad thing is, I'm sure there's more than a modicum of truth in the film. I highly recommend it.

Andrew Pollock: [opinion] The Australian Government's starting to smell a bit fishy

Okay, so firstly, I thought the whole David Hicks situation (mainly the fact that it was starting to become a bit of a political hot-potato near an election so they got his trial hurried up) was a bit fishy (particularly the bit about how he's gagged until after the next election), but this morning, I learned that there's legislation to close the electoral rolls at 8pm on the day the election is called. That stinks to high heaven! I mean how on earth could justify bringing out legislation like that? How does that improve anything? I'll be really disappointed if that just gets steamrolled through the Senate. All this reminds me that I need to re-enroll to vote.

Next.

Previous.