Search Results: "ean"

9 January 2006

Steve Kemp: Testing

Perl Testing
Writing test cases for Perl code with Test::More is fun! It is slightly less fun when you have to come up with creative solutions to the problem of your code requiring root privileges - which means that your script + tests will fail when run by a mere mortal user. I was thinking I could run my test cases at the time that the Debian package is built, (and do so), but I realise now that the buildd system doesn’t run with root privileges either - it uses sudo to install packages for example. Ho hum.

Radu Spineanu: No more fun

It's official. My semi two week vacation with Internet access ended yesterday.
For once i really had fun going home, spent an err...interesting New Year's Eve, and it only got better after that.

As all fun most come to an end, i started working today, working on my huge TODO list. First order of bussiness is Debian work. I uploaded a new xen-tools yesterday night, and I'm preparing an upload to backports.org. Also, there are the libmysqlclient fixes that i have to take care of (bleah).

After that comes paid work, having to implement phamm, and fix a weird problem with a client. Then i have to think about school, the second asm test is thursday and again i have no idea what i should know. Hope two days will be enough to catch up...

After that, my exams are start next week, so... no more fun :(

Anthony Towns: Let's Talk About 'Nix

Have you ever found yourself reading slashdot (what? you don’t read slashdot? well, play along) and coming across a banner ad (what? you block ads? well, play along) for the nth time and finally just, you know, snapping? Sadly, today it happened to me. To the tune of a ditty by Salt n’ Pepa at that.
Let’s Talk About ‘Nix (Yo, I don’t think they’re going to aggregate this on the planet;
And why not? Everybody hates ‘doze.
I mean everybody should be codin’ perl!
C’mon, how many guys you know codin’ perl?)
Read the rest ...

Colin Watson: Killer apps: bzr shelve

Working on free software has made me fairly revision control system-agnostic; I can't afford to get too wedded to any one system because as soon as I do somebody will invent something new and I'll have to convert again, so I just work with whatever other people on the same project are using. Even CVS doesn't make a lot of difference to the way I work as long as I'm working online and have cvsps handy. And of course I usually don't bother with revision control if I'm just tweaking somebody else's Debian source package a bit (in which case I just use debdiff for paranoia). Using bzr at work, though, I think I just found my killer app in Michael Ellerman's shelve plugin. My working style generally involves alternating between doing lots and lots of stuff in the one working copy and (after testing) going through and committing it in logical chunks. This is fine if everything's in separate files (most revision control systems let you commit just some files), but if several of the chunks are in the one file then I'm reduced to saving diffs and manually editing out the bits I don't want to commit yet, which is obviously pretty tedious and error-prone. bzr shelve presents each diff hunk in your working copy to you in turn and asks you whether you want to keep it. If you say no, that hunk gets unapplied and goes into a "shelf", where bzr unshelve can later reapply it. In the meantime commits act as though the shelved hunks didn't exist. This doesn't help if you want to defer only one of two immediately adjacent changes that end up in the same hunk, of course, but it vastly reduces the scale of the problem. I suppose it would be easy enough to write a shelve-a-like for any other system; it's just that I haven't seen it for any other system yet. If working with systems that lack it really starts to annoy me, I may have to rip out the guts of shelve and figure out how to make it generic.

Wouter Verhelst: Prospective talks for the Debian Devroom @ FOSDEM2006

By request: Here's a list of people who've confirmed they're going to give a talk in the Debian Devroom at the next FOSDEM. This list isn't final yet (there are some more people who've asked for a time slot but did not confirm yet; and I didn't assign slots yet, either) but it might be interesting for those who are coming to have a preview of the subjects that will be available. Well then.
Lars Wirzenius: Nobody expects the Finnish Inquisition: Confessions of a package torturer
Piuparts tests that .deb packages can be installed, upgraded, and removed without problems. Lars uses it to torture all the packages he can get his hands on. This talk will explain how to use it on your packages before uploading them, and thus improving their quality and not having them suffer in Lars's hands.
Martin Zobel-Helas: Debian-Volatile - behind the scenes
This talk will give an overview of how packages are handled for Debian-volatile; what changes are allowed, how security is handled.
Martin F. Krafft: Improving workflow in Debian through process integration
This talk will be about the same subject as Martin's doctorate thesis. The abstract for that is:
This research paper/project details the technical challenges the Debian project faces as it continues its tremendous growth in size and popularity. It describes a research endeavour designed to increase the use of version control within the project for improved coordination of globally distributed teams of volunteers working on the software packages that make up the system. The research primarily focuses on the integration and consolidation of the involved processes. With tools already available for some parts of these processes as well as the coordination of teams, the goal is not to reinvent the wheel, but rather to reuse and improve these tools, to better integrate them, and to make them more accessible by providing abstraction wrappers with interfaces intuitive to Debian developers. It is further the intent for these tools to be optional and fully compatible to existing practices, thus not forcing developers to adapt. The research starts with process analysis and studies of the work habits on the side of the developers, and targets the final output of tools, which implement improved workflow in Debian package management through meaningful integration of existing (and proven) methods
Enrico Zini: Debtags, and what you can do with it today
This talk will introduce the Debtags project, what it has accomplished so far and the wonderful advanced tools that are now available, using debtags, to make sense of the huge package archive.
Bill Allombert: Inside the Debian menu system
The debian menu system transparently keeps the menus in sync with the list of installed applications; so transparently, in fact, that a lot of developers do not know how the system really works. This talk will detail the various components of the system, what the technical challenges are and how they are solved.
Frans J. Pop: Debian Installer internals
An introduction to the inner workings of Debian Installer. Starting with what happens when the installer boots, the talk will go on to discuss how the dynamic menu structure allows the installer to be adapted for different architectures and installation methods. Other subjects will include the special nature of udebs, the contents of a D-I initrd, how cdebconf knits everything together and allows the use of different frontends, preseeding and the use of hooks. If time allows, a short introduction into the build system and CD building may be provided. Some knowledge of Debian package management (like priorities and dependencies) is assumed in this talk.
Aurelien Jarno: The Debian GNU/kFreeBSD port
Debian GNU/kFreeBSD is a port of Debian using the FreeBSD kernel and a GNU libc library. It is currently the most advanced non-Linux port in terms of packages ported.
This talk gives an overview of GNU/kFreeBSD, and a quick comparison between the FreeBSD and the Linux kernel, to give users the necessary information to let them find how the FreeBSD kernel could fill their needs. It then describes the status of the port and the choices made concerning the architecture of the port (libc, threading library, etc.). It will continue by giving the various ways to try out this port and to give help, giving pointers to useful documentation and some useful hints.
Best portability practices are also covered, for both the Debian packaging and the upstream code. It will be based on real examples of non-portable code, and will show the best way to change it into portable code.
Summing the times that people gave me, I'll have anywhere between 5h25 and 6h00 of talks already, and two more people who've shown real interest in doing something in the Debian devroom (but who haven't sent me the information I ask for to be able to confirm their talk; please do so!). I'll probably get 9 hours in all (10 if I squeeze a little bit; but then I might have some issues with the key signing party, which I'm also co-organizing), so there is still some time left for interested parties. However, if you're interested in giving a talk, you shouldn't wait too long anymore!

Benjamin Mako Hill: Principles, Software and Freedom

Apologies to anyone that finds this preachy or holier-than-thou. I don't consider myself immune to this criticism: my mobile phone still runs non-free software. I realize that what I describe here is a process for everyone. I'm just trying to make sure nobody gets too comfortable with the status quo. It's been interesting to see non-hackers finding inspiration in the free/open source software movement. In particular, I've been watching this phenomena for a couple years in the the non-profit and NGO sector. Folks in these groups are often very philosophically aligned with the freedom movement behind free software and there are a number of organizations that are involved in promoting free software and the ideas behind it to NGOs and beyond. What's amazing to me is that in many situations, major advocates of free and open source software in these areas -- people who are advocating the software because of the freedom and not only for the pragmatic benefits -- don't actually use free software on their desktops or in other places they could. Sure, everyone uses Firefox. Sure, everyone uses Apache and GNU/Linux for their web servers. Sure, everyone uses Drupal, Mambo, Plone, or another free CMS. But one can't help but notice that Firefox, Apache, and free CMSs are higher quality, more featureful, and easier to use than the proprietary alternatives. People arguing for free software from a principled position need to remember that principled positions are sometimes inconvenient. Free software is no exception. It's frequently different, sometimes incompatible and a bit more work. In some situations (dare I say it?), it's not as good as the proprietary alternatives. We all need to remember that living a principled life is not always the easiest path. If you take a principled position against GMO foods or in favor of organic produce, you'll probably spend more and shop farther from your house. Your favorite fruit may not be in season year-round. If you only buy fair-trade clothing, your garment choices will be cut down in ways that will sometimes be inconvenient. It's nice when taking a principled position also means you get to do what is most convenient. But there's little principle in taking a principled position only when it's convenient. Yes. There are problems -- often major -- with free software: usability, documentation and otherwise. There are also ways to address these problems. Few of them require that you be or become hacker but almost all of them involve using the software first. I don't have to think hard to recall all of the times I've received contributions (e.g., documentation, suggestions, translations, patches, etc.) from people who don't use my software. If you don't think that spreading free software is an ethical act, you can happily ignore me. If you agree that it's the right thing, think hard about your principles and challenge yourself to take the next step -- whatever that is.

8 January 2006

Jonathan McDowell: On previous posts.

I suppose I should really update the status of various things I've mentioned in the past. xsm: I gave up and just added the appropriate magic to my xinitrc to start my common apps. I tried fluxbox again for a while, but although it could cope with one of each app it didn't seem to do too well with half a dozen xterms. Maybe with a little effort it could, but xinitrc does the trick well enough. RSS reader: I've settled on Liferea for the moment, with my evil lj-openid-fetch script fetching LJ posts for me. Netgear DG834G: I wrote up a page of info about this, just to have something static. Unfortunately it seems that the Marvell 88E6060 switch chip used only supports port based vlans, which I think means you can split the switch up so that you can have completely separate ports, but doesn't allow the creation of a wan port on the device. This is a shame, as it means I can't use it to handle my setup unaided (I need wan, lan, wireless + adsl ports). X11 programming: I ended up using SDL, which gave me a framebuffer to play with. I suspect I could easily convert the code to run on /dev/fb0 directly, which is nice, though I should look at how to do the same with X again at some point.

Michael Janssen: It doesn't mean they aren't out to get me.

Your Social Dysfunction:
Paranoid


You show pervasive and unwarranted suspiciousness, and mistrust of others. You are overly sensitive and prone to jealousy.

Take this quiz at QuizGalaxy.com

Please note that we aren't, nor do we claim to be, psychologists. This quiz is for fun and entertainment only. Try not to freak out about your results.
I honestly don't see how some of the questions are relevant. Meh.

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.

Andrew Pollock: [life] Sleep

Thanks to Grant, I discovered a couple of interesting blog posts about how to become an early riser, and about polyphasic sleep. I'm certainly interested in becoming an early riser. I'm not naturally a morning person, but for a few years I managed to force myself into it, but then I lapsed back into being a night-owl sleep-in type person. At the moment, when the weather permits, I'm trying to cycle to work with enough time to eat breakfast there and be operational at my desk by about 8:30am. It's just as fine to start at 10am, but I'd rather not get into that habit, and just treat it as a bit of a splurge from time to time. This of course means I can't stuff around in the morning, and ideally I need to leave the house by about 7:45am, with appropriate flow-on affects on when I wake up and get out of bed. It certainly takes a lot of self-discipline to get out of bed when the alarm goes off. At the moment, I tend to opt for two alarms. One to wake me up and get snoozed a lot, and one to actually get out of bed. If I was more disciplined about getting out of bed, I could just have the one alarm go off, and get extra sleep. The extra waking hours gained by polyphasic sleep are tempting also, but I think it's altogether too disruptive to try at the moment. An interesting concept nonetheless. So once we're a little bit more settled, I'll hopefully become more of a morning person again. I think the key is consistency. Sleeping in on weekends just buggers everything up, which is a shame. I quite like my weekend sleep-ins. Downside is you spend half your weekend asleep, when you could be out exploring a fabulous new foreign country, for example...

Andrew Pollock: [life/americania] On bootstrapping oneself in the US

So I've been in the US for just over six weeks now, and I thought I'd reflect on the trials and tribulations of bootstrapping oneself in a foreign country. The Social Security Number is the primary key from hell I already had a fair idea of the importance of obtaining a Social Security Number (SSN). So much so, that after dumping our luggage at our temporary accommodation, the Social Security Administration office was the first place Michael and I went to, so we could lodge applications. We subsequently learned from another Australian who was about two weeks ahead of us, that you're apparently supposed to wait ten working days before lodging the application, to allow your immigration records to percolate through the bureaucracy that is the US Government. Our applications were duly accepted without any mention of waiting a bit, but we were sent away with a letter and a tracking number, saying that the SSA had to verify our existence with Immigration (this is despite the fact that we're standing in front of them with a passport with an I-94 stapled in it) and that it would take up to four weeks. So it's been six weeks, and still no sign of an SSN. Enquiries with the office are met with the same response - waiting on information back from Immigration. Apparently it can take up to three months. It's a real shame you can't start the application process when your visa is granted or something, as in order to apply, you need to quote your "alien registration number" (I still chuckle at how the US Government refers to me as an "alien" in all their paperwork), which is the number on your I-94, which you only get when you enter the country. So, whilst the SSN application remains pending, I cannot be paid, I cannot have my health insurance paperwork lodged by my employer, and whilst I'll be covered for health insurance retrospectively, I'm not technically covered right now, if I were to require medical treatment. Going back to how the SSN is the primary key of All Things... Next step is to open a bank account. We chose Citibank, because I've been told it's slightly easier to import money back into Australia with them. Fortunately we were able to open an account sans SSN, but it's called an "NRA account" (NRA standing for Non-resident Alien). We were told that we were only eligible for an ATM card until I had an SSN, yet they mailed me out a debit card about a week after we opened the account, and happily ordered one for Sarah, and a cheque book when we asked after opening the account. About the only thing it seems we can't do at the moment is transfer money back to Australia. No big deal, it's all coming the other way until I can get paid... Driver's licence requires an SSN ideally, so that's out of the question for the time being... Electricity, telephone and cable were all able to be provisioned with an SSN, although I think for credit-rating purposes, again, it is the primary key. We had to pay a deposit for the electricity, which is fair enough. The lady I spoke to on the phone when I got it connected said that they just treated us aliens like teenagers straight out of home with no credit history. I don't have a problem with that. It's just a shame that you can't import your credit history. Getting a cell phone account appears to be nigh on impossible with an SSN though. It was a battle just to get a prepaid SIM card for Sarah's phone, and this makes a great story of how much hoop-jumping is required. We walked up to a Cingular stand in a shopping mall to see what we could and couldn't do. I explained our situation (lack of SSN, lack of credit history, etc etc) to the sales droid, and he assured us it wasn't a problem to get a prepaid SIM card. He proceeded to take about 30 minutes to organise the SIM card. I watched as he entered a dummy SSN into the computer, and used his own driver's licence number. He was clearly battling the computer system to be able to do it. When we got home, and Sarah called up to try and put some credit on the phone with our Australian Visa card, she was told they only accepted credit cards with a US billing address. (So much for Visa being accepted worldwide). So we headed off again to Safeway to purchase a prepaid Mastercard. Funnily enough, when Sarah called up to activate that, she was initially asked for an SSN, so we almost had a dependency loop that we couldn't break, just to get a US cell phone. Fortunately they could cope with no SSN, so she successfully ended up with a prepaid Mastercard, with a US billing address, so she could put credit on her prepaid SIM. From what I can work out, a lot of the places that do request the SSN seem to using the last four digits as an authenticator, much like everyone just uses name and date of birth back in Australia, so I'm guessing for these organisations, I could probably just quote any old number that fit the pattern and they'd be happy. Just so long as they don't go trying to run a credit check against it... Foreign credit cards As I said earlier, a credit card with a non-US billing address is fine for most face-to-face purchases, but an amazing array of mostly telephone transactions will not accept them. Most notable was trying to add credit to a calling card for making international telephone calls. Couldn't be done. So it meant I had to forego any discounts or bonuses for topping up, and buy a whole new calling card. Car insurance and registration I'm not sure how this is going to go yet. Our Prius is supposed to be available around the 18th of January. I'm hoping I'll have my SSN by then, otherwise we'll have to import a heap of money to pay for it. I'm sure you can get insurance and own a car without an SSN, because you hear of people who do driving holidays across the US, buying a car on one coast, driving it cross-country, and then selling it. It might be more expensive, and I again, you can't import your driving/insurance history, so you have to start off at the bottom of the ladder again... In summary, I think you need to have relatively deep pockets to bootstrap yourself over here. You need to be able to function without getting paid for up to two or three months, and you need to understand that credit-wise and insurance-wise, you're going to be back at square-one again, irrespective of how good you might have been in your home country. The sooner you come to terms with these, and appreciate that you are moving to a foreign country, the sooner you can get on with enjoying the experience.

Andrew Pollock: [life/mtb] Second stack

I had another cleat-related incident on the way home tonight. I thought I'd unclicked my left foot when I came to cross the road, but apparently hadn't, and I'd already rocked towards the left and was well and truly leaning that way before it became evident that my leg was still anchored to the pedal. I fell pretty heavily on my left wrist, and it made a nasty crunching sound. Doesn't appear to be broken though, just sprained I guess. On inspection of my left shoe when I made it home, it would seem that one of the bolts that holds the cleat to the shoe has come loose and disappeared. So when I turned my foot sideways, the cleat rotated on the other bolt, and didn't release properly, whereas I thought it had released by virtue of the fact that my foot moved sideways. Just as well it's forecast to rain tomorrow. Don't feel much like riding at the moment.

Andrew Pollock: [tech] Google Reader saves my sanity

I've been relying on just Planet for reading blogs. I mainly read just Planet Debian and Linux Linux Australia, with a shortlist of other friends' blogs that used to be read via my own Planet instance, which is currently in a shipping container somewhere. This of course sucks in two ways: if you don't keep up, articles fall off the bottom and are gone forever, and you have to mentally keep track of what you've already read. So the next choice is a feed-reader like Liferea, but this then sucks in different ways: it's tied to the computer you run it on, and posts that have been previously read often seem to come back as new. I get this every time I refresh Planet Linux Australia. Drives me mad. So what I really want is a way of being able to centrally store what I've read, regardless of where I am, and what computer I'm using. Enter Google Reader. It has a nice clean interface, it's Ajaxed up the wazoo, and Just Workstm. My only (minor) beefs are that it doesn't seem to allow you to mark posts as read or unread, and that it always wants to have the current article second from the top in the list. Other than that, the UI is very clean and simple (and even uses vi keys). Added bonus is that if any other user is already subscribed to the feed, you get all the historical articles for free, which in the case of the Planets, goes back a lot further than the feed currently provides. Ideally I'd like something like this, that I can run on my own server, because I like keeping everything in the family. In the meantime, this is a suitable alternative. Getting all the back-articles is a bonus well worth it. Full disclosure: I work for Google, but that's what's making me look for a more efficient method to read blogs.

Andrew Pollock: [life/americania] Four weeks

I've still been extremely busy. Unlike my last fairly incoherent brain dump, this time I've been keeping notes on the things I wanted to write about, so hopefully I won't forget things. Here we go...
Squirrels
Squirrels are absolutely everywhere. They're very fast and very cute. They're kind of like possums, except diurnal. They run up trees with ease, and leap from tree to tree. It's quite cool to watch them. The damn things don't stand still long enough to be photographed (properly), and they don't let you get too close without scampering up a tree or running off. I'm told they're the number one carrier of rabies, so I shouldn't be trying to get too close anyway.
Sales tax
Definitely one of the more annoying aspects of consumer life is the fact that prices quoted are not inclusive of sales tax. This means you always need to part with more cash than you expect. Furthermore, there are some places (some fast-food outlets) that do quote the prices inclusive of tax, so it's really hard to know what you're in for.
Speed limits
I find speed limit signs to be either infrequent or harder to notice, or a combination of both. They're just a black text on white background sign. I'm used to them having the red circle. That said, no one seems to drive at the speed limit anyway.
Ethnicity
Canberra's a very white town compared to say Sydney, but I reckon at least the San Jose area of California blows the socks off what I've seen of Sydney for multiculturalism. You really notice it over here. I've been at the mall in Milpitas, and you can play "spot the white European" (a variation of "spot the Caucasian").
Different responses to thankyou
I think the fairly standard response to saying thanks that I'm used to is "You're welcome". Over here, you get "mm hmm" a lot, which is just strange.
Fractions vs decimal
They love their fractions. Petrol gets quoted at 2219/10, which took me a while to realise was 221.9 cents per gallon
Alcoholic beverage labelling
Australia has the concept of a "standard drink". I remember as a kid the advertising campaign "rethink your third drink" (or for women, "rethink your second drink"). The idea being that men could drink two standard drinks in the first hour, and then one standard drink every hour after that, and be at 0.05% blood alcohol, which is the legal limit for Australia. And every bottled alcoholic drink is labelled with how many standard drinks it is. An average beer is about 1.2 standard drinks for example. No such labelling over here. You get the percentage of alcohol per volume, and that is it, which makes self-regulating very difficult. The limit is apparently 0.08%, but I don't think I want to be driving around on the wrong side of the road at that level (or any level really).
Christmas vs "Holidays"
Everyone and every piece of advertising goes on about the "Holidays". Retail people are always wishing us "Happy Holidays" instead of "Merry Christmas". I think this is because there's a large chunk of people who don't necessarily celebrate Christmas.
Tipping
I haven't really come across tipping in everyday life as much as I'd expected, but when I think about it a bit, I'm at work most of the time, so that's probably why. The general rule seems to be to tip "double the tax", so for a bill at a restaurant, or where you get personal service, such as a haircut, you tip. But you don't tip at McDonald's, nor Subway (where I would have expected you would).
That's about all my current observations on living over here. Tomorrow we get our townhouse in Central Park. Our air-freight was finally delivered today. (What was supposed to take about 8 days took 4 weeks). Not sure when we can expect our sea freight at this stage. We bought a couple of mountain bikes last weekend, and if the weather is okay tomorrow, we'll pick them up and ride them home. We've found a really nice off road (as in not shared with cars) bike path, which runs close to home all the way to work. I'm really keen to roller blade to work if it's feasible, and also to cycle in. I'm a bit disappointed to discover after we've been accepted for the place that we're right on top of a toxic waste dump (or something like that). If I grow a second head, you'll know why. The other piece of exciting news is that the bank sent me a debit card, when they'd previously told me they wouldn't until I had a Social Security number (still no sign if that yet). This thing (the debit card) is freaking weird. It's Mastercard branded, and in some places you use it like you'd use a debit card for EFTPOS back home. You swipe, enter your PIN and that's it. In other cases, you swipe and sign a bit of paper like a credit card transaction. In either case, money is sucked out of our checking account. The scary thing is that no one seems to check signatures in this country, and a lot of places will accept credit card payments electronically (like petrol stations where you just swipe the card at the bowser and enter the ZIP code of your billing address and that's it). Oh, and I can use this thing like a credit card for Internet purchases. What bothers me is that the level of authentication is so low, but it's sucking actual money out of our checking account, so with all the credit card fraud around, it's relatively trivial to draw actual money out of a bank account, as opposed to using someone's credit. That said, I just got the card today, and since then, it's made shopping so much easier. It's amazing how many places won't accept a foreign credit card, and I was a big user of EFTPOS back home, and this ability to use a debit card like a credit card means I can essentially continue in that habit. I wasn't looking forward to carrying lots of cash or having to use cheques.

Andrew Pollock: [life] My E-3 visa experiences

I've already fielded enquiries from two people who have found my blog via Google, and given the 10,500 visas a year being issued, there's only going to be more, so in the interests of not spending too much time answering questions individually, I'm going to write a detailed account of things. Disclaimer: This article is not a replacement for doing your own homework. I expressly disclaim any responsibility for you getting your visa application denied, being cavity searched when you attempt to enter the US, or being sent to Guantanamo Bay. In particular, this information is subject to change, and as I'm not applying for a new visa every day, I'm not going to know about the changes. If you find something here that is blatantly wrong, or out of date, please let me know, but at the moment, I'm writing about my experiences. I'm undecided about maintaining a website devoted to capturing the state of the art in E-3 visa applications. If in doubt, spend the money (and I do mean spend, it's not a cheap phone call) and call the information line - 1902 941 641 - to speak to a human being, and ask all the questions. Resources What's the process? Your potential employer (sponsor) needs to file a Labor Condition Application (see the form here). At present, this form hasn't been brought up to date with respect to E-3 visas, it's the same form used for H1-B visas. Your employer needs to have written at the top of each page "E-3 - Australia - to be processed". This bit of handwriting is apparently key. You need to have the signed LCA in your hot little hand before you roll up at the US Consulate to apply for your visa. As for how long these take to be processed by the Department of Labor, the FAQ says a week for postal applications. From my experience, and the experience of a couple of other people I've spoken to, it takes anything up to about four weeks. Generally speaking, you do not have to concern yourself with the LCA process, unless for some reason, you're sweating on the LCA so you can apply for your visa. My personal opinion is that the whole process is so long, bureaucratic and unpredictable, that you really don't want to be making any firm plans based on any assumptions on when you think anything is going to happen. Start your planning from when you have been issued your visa, not when you expect you will be issued your visa. Once the LCA has been issued, your sponsor will send it to you along with a wad of paperwork, most of which you just take with you to the consulate. You can make an appointment online. Paperwork-wise, you need to take a completed DS-156 and a DS-157 if you are male between 16 and 45. These forms are available here. You can make an appointment online, the links to make an appointment at each of the US Consulates are also here. I found that the lead time to an appointment was around a month, so if you know the LCA application has been made, you can probably make the booking at the Consulate, so as to try and parallelise things a little bit. What do you need to take to the interview? You need to take your completed DS-156 and DS-157 forms. You need one for each person. So if you are the principal (i.e. the person being hired), you need a DS-156 for yourself, and your spouse, and whichever of you is male needs a DS-157. Bring the sponsor's offer letter too. You need a receipt for a non-refundable visa application fee. You need one receipt per person applying for a visa. You get these receipts by paying $130 per person at any Australia Post outlet. As the visa is non-immigrant, you need to be able show some sort of ongoing connection with Australia. If you own property here, and are planning to continue owning it while in the US, bring a rates notice. I don't know what else is useful to demonstrate an ongoing connection. Also bring a bank statement, as you need to demonstrate an ability to support yourself while in the US. Bring birth certificates and marriage certificates. Also bring a copy of your University transcript, and any assessments that your employer may have had done that state that you hold the equivalent of a US degree. I'm not sure how hard and fast the whole degree thing is. I have an incomplete degree and about 10 years of work experience. This was sufficient. I don't know how you'd go with absolutely no degree and lots of work experience. Finally, you need to bring two US-sized passport photos. These are 5cm x 5cm, which are not what your average passport photo is like if you go somewhere and ask for a passport photo. Processing takes about 3 days, although you get an indication on the day as to whether you are successful or not. If you don't want to come back to collect your passport with the visa in it, you need to leave sufficient stamped, self-addressed envelopes so that the Consulate can mail the passports back to you. It's a bit hazy as to what constitutes 3 days, but assume 3 full working days, plus whatever time it takes for the postage, so up to 5 working days. Good luck with your visa application. Let me know how it goes, and if this has been of assistance.

Philipp Kern: Plone 2.1

I had my first contact with Plone on Friday and I immediately started to use it, i.e. Plone 2.1, for one of the homepages I administrate. It is the best free CMS I encountered by now. I figured that customisation is very easy, and their acknowledgment of accessibility and clean HTML is pretty nice. Zope is, despite of what I thought from my other contacts with it, quite nice in terms of usability. But I really have to thank Debian’s Zope team and Fabio Tranchitella for their easy-to-use packages. I’m now running Zope 2.8 running on Debian Sarge just fine, with very few efforts of backporting. However, Martin, you need to compare Ruby on Rails rather to Zope CMF than to Plone itself. Rails is only a framework, whereas Plone is a fully featured CMS on top of CMF. As far as I know, such a featureful and free CMS has yet to be built on top of Rails.

Martin F. Krafft: Plone 2.1.1 - WOW

My tendonitis forced me to take a leave of absence from Plone development right in the middle of the Plone 2.1 release cycle. As life moves on, however, I find myself in the position to teach Plone to employees development of the Humboldt University Berlin in two weeks, so I spent today checking out what I missed the last couple of months. Life did go on, and the Plone guys didn't sleep. Without going into details, I would like to give a big shout out to everyone who contributed to the 2.1 release (although my name was left out of the CREDITS.txt file -- I surely wasn't instrumental in the release, but I did make several commits). Plone 2.0 felt great, Plone 2.1 is even slicker. Even better UI, great development features, and it's all a lot cleaner and nicer to work with now. In fact, I grew mildly ecstatic upon first encounter. Great work, guys (and girls). I had previously considered Ruby on Rails, but I noticed too many parallels to Zope for it to be worth the effort. Plus, Rails has to come a long way to reach up to what Plone can already do (correct me if I am wrong)... and that's before Plone does the migration to Zope 3. I am proud to be able to teach Plone to others in two weeks. Update: Philipp, thanks for getting the comparison right. I completely agree with you.

Adam Rosi-Kessel: Popularity Out of Control

This blog has been semi-offline for at least a few hours. Sorry about that. Through an interesting (at least to me) series of events, I discovered that my custom “popularity” hack/plugin was out of control. It started earlier today when one of the the RAID discs on this server gave a SMART error. I’ve never been able to really judge whether SMART errors are “for real” or not—sometimes I’ve had a disc with a serious SMART error that, after another test, will run fine for another year or two without incident. In any case, I wasn’t so worried, since this system is running RAID-5, so a single disc failing, even catastrophically, doesn’t result in any data loss or downtime. I decided to take the disc out of the RAID and run some SMART tests on it. I marked it with mdadm as FAILed (mdadm —fail) and then removed it. Strangely, the disc first passed a short test with no problems, but then ceased to be recognized as having SMART capabilities at all. I’ve had that problem before and never figured it out—the SMART capabilities seem to come back eventually. Not knowing what best to do, I just put the drive back into the RAID to see what would happen. Since the disc had already been marked as FAILed, the reconstruction started from scratch. Although I’ve got a pretty good (2Ghz) CPU and plenty (2G) of RAM, kblockd and md0_raid5 are using up most CPU cycles and everything has slowed down significantly. Reconstruction seems to be proceeding fine, just slowly—it will take 24-36 hours at the current rate. Presumably it would be much faster in single user mode, but I can’t take this server offline. In the meantime, I noticed that my blog had stopped responding entirely, while other blosxom blogs served from this same server were fine (maybe a little more latency than usual). So I started parsing through the differences in my blosxom installation and everyone else’s to see what could possibly be slowing things down so much as to time out the blog. Eventually I identified the culprit: my custom-made “popularity” plugin, which reports the most popular entries on this blog and the number of hits they have received. I hacked it together several years ago. I think at the time I just wanted to see if it would work, with the plan to come back later and fix it. I guess I forgot the “fix it” part. My popularity plugin creates a log file that it reads in each time the blog is accessed, and then appends to that file. Over the years, that file has grown to 17 megabytes. Although this is a huge waste of system resources, I didn’t notice it when the system was running at full speed. With the reduced performance from the RAID reconstruction, however, this meant that my blog never finished loading at all. If you made it this far, you certainly deserve some sort of geek admin award. Congratulations. I deserve some sort of stupid admin award, myself. P.S. Apparently I must have forgotten to check my horoscope today. The laundry machine flooded the basement when I didn’t check the sink into which the laundry machines empties. I should probably avoid sharp objects for the rest of the day.

7 January 2006

Martin F. Krafft: Unstable Linux

One thing I will never understand about this Linux hype are the operating system's miserable failures in the wake of hardware problems. Coming home from dinner, I find this all over my consoles:
Message from syslogd@piper at Sat Jan  7 22:53:35 2006 ...
piper kernel: Oops: 0002 [18] 
Message from syslogd@piper at Sat Jan  7 22:53:35 2006 ...
piper kernel: CR2: 0000004000000004
Since then, I cannot start new processes anymore (though apache2 and old processes work just fine), which means I cannot SSH into the box (which is far away from where I am right now), and thus it's become useless. The problem could be anything: corrupt memory, a broken CPU, a harddrive with bad blocks in the swap area, etc... since Linux obviously seems to be able to wall in response to a problem, I would only wish it wouldn't pout as a consequence but handle the event more gracefully. If only I had the time and energy to finally wave goodbye and choose NetBSD... Update: I managed to get a dmesg output:
<1>Unable to handle kernel paging request at 0000004000000004 RIP: 
<ffffffff80152c54> find_get_pages+36 
PGD 72cee067 PUD 0 
Oops: 0002 [18] 
CPU 0 
Modules linked in: rfcomm l2cap ipv6 af_packet ipt_REJECT ipt_state
iptable_filter iptable_nat ip_conntrack ip_tables deflate zlib_deflate
twofish serpent aes blowfish des sha256 sha1 md5 crypto_null af_key usbhid
hci_usb bluetooth raid5 xor dm_mod sbp2 ide_generic ide_cd eth1394
snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq
snd_via82xx gameport snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm
snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd
i2c_viapro soundcore i2c_core ehci_hcd via82cxxx ohci1394 shpchp pci_hotplug
sk98lin uhci_hcd ide_core ieee1394 rtc parport_pc parport floppy psmouse
pcspkr serio_raw evdev xfs exportfs sr_mod cdrom sd_mod sata_via
sata_promise libata sg scsi_mod raid1 md unix fbcon tileblit font bitblit
vesafb cfbcopyarea cfbimgblt cfbfillrect softcursor
Pid: 136, comm: kswapd0 Not tainted 2.6.12-1-amd64-k8
RIP: 0010:[<ffffffff80152c54>] <ffffffff80152c54> find_get_pages+36 
RSP: 0018:ffff81007f90dcc8  EFLAGS: 00010002
RAX: 0000004000000000 RBX: ffff81007f90dd08 RCX: ffff81007f90dd10
RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffff81000289f678
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff81007113f670
R10: 0000000000000040 R11: 0000000000000000 R12: ffff8100705e54e0
R13: 000000000000007a R14: ffffffffffffffff R15: ffff8100705e55f8
FS:  00002aaaab730d70(0000) GS:ffffffff8040f940(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000004000000004 CR3: 0000000072925000 CR4: 00000000000006e0
Process kswapd0 (pid: 136, threadinfo ffff81007f90c000, task ffff81007f906760)
Stack: ffff81007f90dcf8 ffffffff8015bca7 ffff8100705e54f0 ffffffff8015c905 
       ffff810001172200 0000000000000000 0000000000000000 0000000000000000 
       ffff81000289f678 0000004000000000 
Call Trace:<ffffffff8015bca7> pagevec_lookup+23 
           <ffffffff8015c905> invalidate_mapping_pages+245 
           <ffffffff8018a403> shrink_icache_memory+259 
           <ffffffff8012d144> recalc_task_prio+324 
           <ffffffff8015ca01> shrink_slab+193 
           <ffffffff8015dcaf> balance_pgdat+623 
           <ffffffff8015df37> kswapd+295 
           <ffffffff80144e00> autoremove_wake_function+0 
           <ffffffff8010f0f7> child_rip+8  <ffffffff8015de10> kswapd+0 
           <ffffffff8010f0ef> child_rip+0  
Code: ff 40 04 ff c2 48 83 c1 08 39 d6 75 f0 fb 5b 89 f0 c3 66 66 
RIP <ffffffff80152c54> find_get_pages+36  RSP <ffff81007f90dcc8>
CR2: 0000004000000004
Now, how does a mere mortal diagnose this? This was the third in a series of oopses, the others occurred in a find process... the machine runs a software RAID5, so it really could be anything, right?

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.