Older blog entries for pcolijn (starting at number 148)

13 Jul 2006 (updated 13 Jul 2006 at 06:05 UTC) »
Ranty Ranty

This entry will be a rant. You've been warned :)

I finally got my new bank card from WAMU (that's Washington Mutual for those lucky enough not to know). This has been a long saga.

Step 1: learn from drheld that WAMU was replacing their VISA debit cards with MasterCard debit cards (which in itself sucks, since MasterCard is accepted in fewer places than VISA).

Step 2: have WAMU cancel the VISA part of my old card before I had received or activated the new card. Incidentally, this happened while slatepelican and I were in Spain. Not the best time.

Step 3: have WAMU assure me, very convincingly, that my card would continue to work in ATMs until I got the new one and activated it. Indeed it did work in an ATM. One more time. And then it stopped working entirely.

Step 4: receive my new card, finally, because Tony was nice enough to bring my mail from California when he was visiting drheld and Don in Vancouver.

Step 5: activate the new card! Yay, money! Order stuff online from Amazon and PalmOne.

Step 6: orders from Amazon and PalmOne not working. Call WAMU. I thought I activated my card? No, we cancelled it. Ah, so when I said "activate" you thought I meant "cancel." I see. Well can I get a new one? Sure, it only takes two weeks.

Step 7: get new card finally today.

Step 8: activate new card. We'll see if they actually did it this time.

The thing that infuriates me the most about this is that to get a new card with WAMU they have to send it in the mail. Pretty much any Canadian bank that I know of will give you a new card on the spot if you go into a branch. WAMU claims they can't do that because all the cards have to come from some central MasterCard place. They should at least be able to give you a new ATM card on the spot. Not being able to get money, especially in a city like New York, really sucks hard.

GUADEC

Things I have learned so far:

  • Paris CDG is quite possibly the worst airport in the world. Too ghetto to have the little walkway from the plane to the terminal, incredibly slow busses to take you to the terminal, incredibly slow busses to take you between terminals, glacial immigration lines (though when you finally get to the front, they don't do anything; they just take your little card out of your passport and let you go) and a lossy baggage system. Fun! I keep trying to come up with some funny expansion for CDG, preferably starting with "crappiest," but I can't think of anything good. Suggestions welcome.
  • Stores and restaurants and pretty much any kind of business in Spain have the oddest hours. At any given time, maybe 1/3 of things are open. We've gone by a supermarket at many times of day and never seen it open. You can walk down the main street in the middle of a business day, when you would expect all the shops to be open, and only find a few willing to take your money. Odd.
  • Evolution uses 80MB of memory. Gahjeebus.
  • Happily, tinymail uses 4.5MB of memory on the same mail. I should really check that out. pvanhoof's talk was really good, and I need to check out this.
  • Gimmie is pretty cool, and almost makes me want to switch back to a GNOME desktop from ion. Almost :)
  • Some very cool stuff is going on in monodevelop. I usually can't stand IDEs because I'm a vi addict, but it turns out the editor in monodevelop is completely replaceable, so you could conceivably just drop in vim. And it's not just for C#. Worth looking into, anyway.
Some Things Never Change

Exhibit A: mrwise

Exhibit B: one chocolate-raspberry cheesecake

Can you imagine the effect of combining exhibits A and B? Well let me tell you, it's glorious. Gloriously flatulent, that is. It also seems to be inducing hysteria:

"I practiced my vagina off, and grew a cock. A healthy cock." — mrwise
"I think that needs to go on PlaNit" — me
"... it kinda hurt, though." — mrwise

Done!

Wrote my last exam Saturday night, and am now completely finished my degree. It was a long haul, and quite frankly I'm glad it's over. I do have a lot of good memories from this degree, but I'm also getting pretty sick of Waterloo and the whole assignment + exam scene.

In 2 days, I begin 2 months of pretty solid travelling that has me doing this:

YYZ -> YYC -> TYO -> TPE -> SEL -> HKG -> BKK -> CMB -> SIN -> KUL -> YYC -> YYZ -> JFK -> BCN -> JFK

At the end of it, I think I'll never want to see another plane again. But it should be lots of fun! I'm totally looking forward to it.

Reminder

UW are changing disk quotas today. If you're like me and you're graduating, get anything you want off there quick!

Google Calendar

This is the project I worked on at Google. I mainly told people I worked on Gmail because they're kinda related, but they are separate projects and I was on calendar.

I'm pretty excited about the product. Our hope was that it would really be the first calendar product ubiquitous enough to really get people using calendars in a big way, so wide-scale use was definitely one of our biggest goals. Some features that help with that:

  • Event extraction. Google Calendar will scan your Gmail inbox for messages that contain some structured event information, extract that information, and place a link on the side of the message allowing you to add the extracted event to your calendar. This works with both free-form text and Outlook-style meeting invitations with an actual iCal attachment.
  • Quick add. Near the top-left corner of Google Calendar is a "Quick add" link. You can use it to enter free-form text describing an event, and the corresponding event will be created for you.
  • iCalendar and XAPI (CalRSS) feeds. Every calendar you create on Google Calendar can have public and private iCalendar and CalRSS feeds to make integration with 3rd-party applications (like Evolution, Apple iCal and Mozilla Calendar) easy. Google Calendar can also subuscribe to iCalendar feeds and import iCalendar files.
  • Outside organisers. Using the iMIP standard, responding to meeting invitations send from Outlook, Hotmail, and Yahoo! Calendar works properly.

The features I worked on, for the morbidly curious:

  • Calendar sharing and ACLs
  • Multiple calendars and new calendar creation (this is definitely something you should use; you can create multiple calendars to have, say, a "work" calendar and a "personal" calendar)
  • Some of the calendar feed stuff
  • Some of the recurrence stuff
  • General backend stuff

Anyway, go login and enjoy! If you have a Gmail account you can just login and start playing right away!

Suckage

"Everything sucks." -- pphaneuf, circa 2003

This claim turns out to be mostly true. I've had some (minor) UI rants stored up for a while, and I really just need to get them off my chest.

Treo

I've been pretty happy with it, but it does have some UI nits that drive me crazy from time to time:

First off, the address book is pretty decent, in that it lets you store multiple numbers per person, their picture (which you can take with the builtin camera), address, birthday, etc. All the standard "address book" stuff you'd want. And it even has a type-ahead-find feature that lets you type "pu" and get all the punks in your address book (a rather large list on my phone).

Now comes the integration with the phone application. This is actually pretty poor. When you get a call from an unknown number, it asks if you want to add them to the address book. Fine. But you can't just add that number to an existing contact. It always creates a new contact for you if you choose to add them. Grr. So you create the contact, save it, try to remember the number, then go edit the actual person and add the number as their mobile or home number.

Then there's the phone log. It's not by reference. So you get a call from some punk one day, and add him to your address book. Then he calls you again. In call log you don't see the name twice, you see the number and then the name. Come on.. it wouldn't be that hard to do the call log by reference, and it would make it so much more useful.

Finally, memos. Memos is an incredibly simple application. You create memos (which are essentially text files) and then you save them, view them, edit them, delete them. Pretty basic. My only gripe is that the main UI lists all your memos by number, but you can't just push the corresponding number on the keypad to select a memo. A small gripe, but that feature would save a lot of time.

LiveJournal

I recently got a LiveJournal account (caffeinemonkey) so I could have a friends page and view protected entries. (Don't worry, this is still the official location for my blog.)

My god does LJ ever have some bad UI. My most major issue is that there's no login link (or indication that I'm not logged in) on the friends page. So when I go there I never know if I'm logged in, and I have to go to livejournal.com, see that I'm not, log in, and then reload my friends page. Seriously, people! Way to suck.

The "user info" and management pages are also hideously awful, but at least you don't use them that often. But seriously, stuff like "If you are this user, you can blah blah blah"? Hello! I'm logged in here! Of course I am this user!

The navigation bar at the top is also problematic. I mean it's ok, but it's not really all that discoverable. It took me a while to discover that I needed to use that thing and go to "Manage" and then "Friends" to add friends. I initially thought of the user info page as the "change your settings and manage stuff" page and was looking for links on there to edit friends and such.

Ok, phew. That felt good :) Be sure to join us next time on "bitching about random UI suckage."

31 Mar 2006 (updated 31 Mar 2006 at 06:09 UTC) »
Andy Tanenbaum Talk

This is a bit late, but I thought I'd mention a few things about it anyway. Andy Tanenbaum (of Minix fame) came to give a talk here the other day.

He motivated his discussion of Minix by saying that consumers want PCs that work like TVs; you buy one and plug it in and it works for 10 years. No patching, installing virus scanners, updating virus scanners, re-installing Windows, etc. The goal should be "it just works" for 10 years. Keep that in mind.

He then began to discuss Minix, and in so doing essentially described the OS everyone who takes trains implements. A couple things really stood out, though:

  1. no virtual memory
  2. no paging
  3. number of processes fixed at compile time
  4. complicated-sounding configuration files to specify which process can access which hardware

Numbers 1, 2 and 3 mean that Minix is completely unusable as a general-purpose consumer OS.

No virtual memory and no paging means you force users to have enough physical memory to fit all the applications they're going to want to use in RAM. Using a lot of memory and want to open another tab in Firefox? Close that terminal first!

A compile-time fixed-size process table means you say at compile time that users will never use more than n processes. Tanenbaum must really like Bill Gates and his "640k" philosophy. This one is funny, too, because his reasoning was mainly that he didn't want to do dynamic memory allocation in the kernel. Well in about 5 minutes I came up with a way to have the process tables managed in a user-space program with a fixed-size cache in the kernel (and I'm pretty stupid), so that's really a non-argument.

The last item, number 4, is more interesting. Specifying what hardware drivers can access is not a bad idea, but the implementation sounds really bad; he didn't get too detailed describing it, but essentially said that there are a bunch of config files that "the administrator" will have to set up. If you need "the administrator" to do anything, your OS will never be a general-purpose consumer OS.

Note that I am only holding Minix up to the "general-purpose consumer OS" ruler because Tanenbaum himself did, by motivating Minix in the way he did. For embedded or real-time applications, these design decisions make a lot more sense, of course.

He also spent a fair amount of time bashing Linux, which is to be expected I suppose. He definitely had some faulty reasoning, though: he claims that number of bugs is roughly proportional to lines of code. Ok, sure, could well be. He then claimed that because Linux keeps adding so many drivers, they're adding bugs faster than they can fix them (and even worse, these bugs can affect the entire system since drivers in Linux essentially get free reign). Well maybe, but you don't use every driver in existence on your system! You only use a few. When a new driver enters the kernel, it may well be buggy. But after some shake-down, it's fine, and then other new drivers that get added won't affect you, since you'll never even load them!

31 Mar 2006 (updated 31 Mar 2006 at 02:03 UTC) »
End of an Era

Today I had my last university lecture ever at the University of Waterloo. It's been a long haul, but I've had fun and met a lot of cool people along the way.

To celebrate, I've been coding pantsless in the graphics lab. While this has alarmed some people, I feel it's perfectly appropriate.

Much to my disappointment, however, the monkeys down in the real-time lab are all wearing pants. A disgrace I tell you, a disgrace!

24 Mar 2006 (updated 27 Mar 2006 at 04:56 UTC) »
Employed

This happened a while ago, actually, but I'll mention it here for the record. I officially accepted an offer to work at Google in New York when I graduate. Planning to live with dreamage and andukar, which should be pretty fun. And I'm totally looking forward to New York; I hear it's pretty damn awesome.

White Board Fetish

I appear to have developed a white board fetish. At Google I had a bunch in my office and I would fill them up with designs and steps for implementing them. And as I went along I would add little notes about how specific problems would be solved, how the changes would influence other areas of the code, etc.

Before the white boards, I didn't really make many notes at all when coding. Sometimes I'd write a little diagram in a notebook or sometimes I'd put some things in a text file, but it was pretty rare.

I think the biggest appeal of the whiteboards (besides the psychotropic smell of the markers, of course) to me is the "look and feel." Smoother than a blackboard, not as dirty, and easier to read. And they're way better than a (paper) notebook or text file, because they're staring you in the face all the time. No need to shuffle things around on your desk to find your notes, or open the text file, or figure out which window it's in.

In any case, this fetish has led me to conduct much of my recent work in compilers in the graphics lab, despite me not actually taking graphics this term. BTW, if anyone wants free Google pizza the graphics lab is a good place to be over the next week or so, as I have a bunch of Google pizza money to burn before the end of term...

139 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!