Search Results: "sto"

2 May 2007

Wouter Verhelst: Dear lazyweb,

I'm currently setting up a drupal-based site. While it's working pretty well and has allowed me to get most things done that I needed doing, there's one remaining issue that would need resolving. I tried asking for suggestions on the drupal support mailniglist and on the #drupal-support channel on freenode, but I haven't received a solution thus far. Hopefully someone reading one of the planets I'm on knows the answer. The site would need to be multilingual. That is to say, not just the interface, but also all static content and some of the nonstatic content would need to be translated in two (at first) languages (perhaps more will follow in the future). Using the i18n drupal module, I have been able to create alternate-language versions of some nodes, and enable a language chooser, allowing a visitor to choose a different content language for the site and seeing the site translated. However, there is one issue that needs to be resolved: the menu. The i18n.module does not create an alternate version of a translated node; rather, it creates a new node. This node then is linked to the original node by way of some extra table that the i18n.module installs. As such, both versions of the same content will have a different node number. To give a concrete example, the Dutch version of the "about" page on the site I'm creating is node/2, whereas the English version is node/10. Since you might want to review the English version of a node even if you request the site in Dutch, you do not unexpectedly get the Dutch version anyway if you request node/10. Since the node number is part of the URL of the node, this makes it impossible to create a link to "the about node, in whatever language is appropriate". The i18n module also comes with a "i18nmenu" module, which allows one to translate a menu item's description using gettext. This works, but it has one fatal flaw: it does not allow to change the target of the link. As a result, and given the above, it's impossible to create a menu item for "the about node in the current language, whatever that means". In an effort trying to work around that issue, I've come up with a number of things. Unfortunately, none of them seem to work to satisfaction. At this point, I'm effectively out of ideas. If anyone has a solution (or can tell me why it isn't possible), I'll gladly hear it, either as a comment on my blog or by mail on w@uter.be.

MJ Ray: Crackers

I'm installing Paul Martin's iptables ssh-rate-limiter on the public machines that I run, to reduce the amount of logfile rubbish that ssh-scanning crackers produce. I've also added an iptables-restore line to the pre-up of the relevant sections of /etc/network/interfaces So far, there doesn't seem to be any disadvantage to doing this. Is there one? If not, why doesn't everyone do this?

Amaya Rodrigo: The no impact man^Wfamily

If everybody on the whole planet decided to commit suicide, which in a way, they have, would it be the right thing to do to not join in? What s so great about trying to be right if it keeps you separate? It seems like there is something precious that has to do with holding yourself above or not just joining in and being part of. I don t know. I m suddenly realizing that this whole project could be pretty damn hard.

The No impact man is a family s project to try not to cause any environmental impact on the planet for one year. It involves a very radical change in their lifestyle, as they live in Manhattan. The blog describes their struggles as they gradually move from one goal to another, from reducing their trash generation to absolutely none, declaring war to tree-killing junk mail and plastic bags, only eating local produce, thus giving up coffee and sugar (which the wife specially resents), no cars, buses or elevators, being hit by a car while riding his second-hand new bike (no new purchases are allowed)... to composting their own waste and giving up all throwaway products, including toilet paper. All this in Manhattan, with a toddler!

While I completely relate to their goal, and being myself quite picky about the way I consume, having changed my most used light bulbs to low energy ones (even though I hate the resulting light colour and quality), turning off all electronics that have a led while not in use, not owning a car, avoiding public transportation in favour of walking as often as possible, and being obsessive about recycling, I keep a 24x7 powered on desktop and laptop, my lights are turned on much often than the average house (my place is very dark), I drink tea that comes all the way from Africa (Rooibos), I want to fly all over to Hamburg every weekend (but I can't afford to), and I have not gotten around to insulating my electrical water heater.

Yet, I live alone, in a small place, and my use of resources is still quite rational, for a geek. (Take a look at the WWF Footprint Calculator: I am living as if we had 2.52 planets to support us. Although I am below some of the world average figures, we obviously only have the one!).

It is both inspiring and off-putting to see this family s effort, as it looks like an interesting experiment that I am surely going to follow, but one I would myself not be able to attempt. Many people believe their small little efforts will not change anything, but I disagree. Every little effort makes a difference when you look at the global picture, still this problem is not easy at all.

In case you need some motivation to rethink the way you live, watch Who Killed the Electric Car?, An Inconvenient Truth, The End of Suburbia or Darwin's Nightmare.

To quote the no impact man in Deeper sickness, better cure: A psychiatrist friend, Stephan Quentzel, went so far as to suggest in conversation that environmentalism could be like a new religion that binds us together with a sense of common purpose and greater meaning .

1 May 2007

Jose Carlos Garcia Sogo: Ubuntu preloaded in Dell Computers

As old news say, Dell will sell computers preloaded with Ubuntu. The move to sell computers preloaded with Linux was very wise, listening to their customers, and I think that at the end they will also see some kind of benefit from this. And now we see that the distribution chosen is Ubuntu. This is important for Canonical, and Debian should benefit from this as well. But anyway, Linux as a whole will improve, as Dell is going to chose devices that can have a driver in Linux, and write or push for it to be written. So, if that happens, device manufacturers will have an incentive when designing a new device: if they want it to be sold by Dell, it will have to work in Linux. Perhaps this is a bit of an utopia, but it is very important the feeling the market can have about this issue. From year to year I am learning that a very important factor in markets are feeling. Update: BTW; I own a Dell laptop, which I buyed two years ago. With this change, if someday I have the need to buy a new one, I will go agin for Dell.

Isaac Clerencia: Back from the States + so it turns out I m celiac

Hi there! I’m back :P I spent a really nice time in the United States with my friends. We stayed two weeks in Boston and New York, and basically did everything we had planned to do and more … We visited the MIT at Boston, went to several comedy shows, ice skated in Central Park, spent a whole day in the Barnes and Noble book megastore, went to an NBA basketball game, saw Monty Python’s Spamalot musical, discussed politics with fellow Americans, visited the Delaware Water Gap waterfalls, enjoyed an helicopter ride, even watched The Grindhouse in its first day in the cinemas, and well, did lots of other stuff. Now for the celiac thing … I was somewhat sick during the whole trip, I felt weary the whole day without any reason, so as soon as I got back to Spain I went to the doctor and after some tests that spanned over a week and a quick visit to the hospital they diagnosed me with celiac disease. That means that I can’t ever eat anything containing gluten, a protein present in wheat, barley and rye. It’s quite an inconvenient illness, but nothing more than that, as just following an strict gluten-free diet is enough to keep it at bay. The main drawback is that you have to be really careful when you go out for dinner. I have already been in sick leave for three weeks because I had lost weight and was a bit anemic, but I’m quite ok again, and I expect to be back at work really soon now :)

Joachim Breitner: A shelf for darcs

I recently did my first experiments with darcs: A friend of mine and I hacked on the same code, and by giving each other access to one s darcs repository, we could easily exchange our new code.One problem I had was that my friend recorded a patch that I did not want applied in my repository. Nothing else depended on it, so I could just say no everytime I use darcs pull , but it s still a hassle. Also, imagine that I m somewhere else and I suddently decide that I do want the patch?A similar problem would be if I created some patches that I temporarily don t want applied. I could branch, and then unpull them, but this is a bit too much work.In both cases a patch shelve would be handy. A seperate storage for patches in my repository that are available, but not applied. I d imagine that the darcs pull command would then allow me to pull and put on the shelf , and not offer me this patch again. There would also be put on shelf and get from shelf commands. So if anyone feels like hacking on darcs, this feature would be appreciated.Also filed as a withlist bug.

Russell Coker: more about Heartbeat

In a comment on my blog post “a Heartbeat developer comments on my blog post” Alan Robertson writes:


I got in a hurry on my math because of the emergency. So, there are even more assumptions (errors?) than I documented. In particular, the probability model I gave was for a particular node to fail. So the probability of either of two failing would be double that, and either of three failing would be triple that. Note that the probability of multiple simultaneous failures goes up as a power, but the probability of either of only goes up linearly. I really need to sit down and do the math carefully - but the idea of the simultaneous failures going up as a power is true. And the “any of” probability goes up linearly. That’s also true. This is why people can actually use larger HA clusters ;-). The 5 years figure is the industry standard quoted figure for an average Intel-based server to fail. The four hours to repair is a common high-quality of service response time from a hardware vendor. I admit that’s not the same as actual repair time, but if some “repairs” are just reboots, then it’s not a horrible number to start with - if your vendor has cached some spares nearby. I suppose I should sit down and do the math right, and make a spreadsheet of it. (I wonder if I remember that much math?) I assume disk failures are taken care of by hot swap disks, RAID, etc. and so in effect they “never fail” (at least not totally) so that these failures don’t have to be accounted for by the overall availability model. Here’s an intuitive way of thinking about it “from your gut”… If I took your whole data center and made a cluster out of it, what’s the chance that at least half of your servers would fail at once? Pretty darn small, is the short answer ;-). If it’s not pretty darn small, you need to buy better servers, and IBM has just the servers for you ;-). Or maybe they need to hire a better SysAdmin ;-) If you ask yourself “when is the last time at least half my machines in my data center couldn’t communicate with the other half”, then hopefully that’s also a “pretty darn small” chance too. If not, there are well-known methods for making networks highly reliable too. [I’m still ignoring “catastrophes” that you haven’t accounted for in your HA architecture]. I’m not saying this is free, and it can be pricey. One of my other favorite sayings is “Paranoia is an expensive hobby”. How much do you want to spend? You tell me how much you want to spend, and you can figure out how to spend it. I’ll make a separate comment on quorum models later. It’s getting late here.

My only comment in response to that is to say that I still believe the calculations of probability to be correct in my original post and I am interested to see someone prove otherwise. Another comment by Alan:


Data corruption, no doubt, is almost always much worse than loss of availability. And some kinds of data corruption are worse than others. For example, mounting a non-clustered shared disk filesystem twice simultaneously is usually much worse, than updating two replicas of the data simultaneously. In the first case, you have to restore to your previous backups and lose all data since then. In the second case, you only lose updates that were made to one of the sides, and you instantly have a working copy of the data which is nearly always much newer than your last backup (with the possibility of recovering them by significant effort). Typically you would only lose a few minutes of updates at worst - and depending on the kind of networking failure, you might not lose anything. Heartbeats certainly aren’t enough. You need to monitor the health of your servers and the health of your applications. Heartbeat monitors applications and can easily be informed of and act on the health of your servers (with release 2 style Linux-HA Heartbeat configurations).


Followed by:


Since data corruption is so serious, this is why cluster designers worry so much about split-brain, which is managed using the ideas of quorum and it’s sibling fencing. This is all about keeping bad things from happening. This post is really about quorum, since Russ had expressed interest in it. Quorum is the idea that you can uniquely choose a subcluster to represent the whole cluster in those cases where communication failure has caused the cluster to split into separate sub-clusters which cannot properly communicate with each other. In this way, only one of the subclusters continues on, and the others will sit on their hands and do nothing waiting for a person to fix things. Some of the kinds of quorum mentioned below are better than others. But, most importantly, they can be used in combination as described later. The most common kind of quorum is that Russ mentioned in his earlier post - the majority quorum. In this method, for a cluster of n nodes, you grant quorum to a sub-cluster which has more than INT(n/2) members. This means that if you have a 3-node cluster, you have to have two nodes to continue. If you have 4 nodes, you have to have 3 nodes to continue. For 5 nodes, you have to have 3 nodes, and so on. Other basic methods include disk reserve, so that you have reserve a disk to have quorum. In this case, if only one node survives and it can reserve the disk, it continues to run. However, the disk becomes a single point of failure. This may not be a problem if this single disk is required to run any of the cluster services, since they would fail without it anyway. [Heartbeat does not support this method]. An analagous method is to implement a software resource which grants quorum to one subcluster in a fashion analagous to the disk reserve method. This has the advantage of not requiring disk reserves, or a shared disk, but it has the same SPOF disadvantage as the disk reserve method. Heartbeat does support this method using the quorum daemon. It’s incredibly useful for those cases (like split-site clusters) where you cannot use fencing. Another method is to grant quorum to any subcluster which can ping a certain set of nodes, and not grant it to any which can’t access those nodes. This isn’t a wonderful method, and has obvious disadvantages with respect to uniqueness, and single points of failure. (Heartbeat doesn’t yet implement this one). Another method is to grant quorum to any node which is a member of a 2-node cluster. This is better than losing quorum and stopping when one node stops, but obviously completely ignores the uniqueness requirement of quorum. Another method is to ask a human being if you have quorum. This is hardly an ideal circumstance, but useful in some contexts as described below. (Heartbeat doesn’t yet implement this one). Perhaps you say, really the only one of these that’s really good is the first one - the majority vote method. And, I would generally agree with you. But, Heartbeat has the ability to use these in combination which makes some of those methods that seem flaky to be much more reasonable. Heartbeat has the ability to have multiple quorum modules declared, and they’re used in this way: Any module can return HAVEQUORUM, NOQUORUM, or TIE. If they return HAVEQUORUM or NOQUORUM, then no further quorum modules are consulted. However, if they return TIE, then the next quorum module is consulted for its opinion. If the last quorum module returns TIE, it is treated the same as NOQUORUM. This enables you to use one quorum module to break the tie declared by a previous quorum module. You could then use the quorumd to break the tie created by a voting module. Or you could use the quorumd instead of the “two-node” module. Or you could use the “pingable” module instead of the “two-node” module. Or you could at the end always tack on a “human” module, in case all else returns TIE. This is kind of cool, actually. My favorites for next implementation are the pingable and consult human modules. And, of course, if your cluster loses quorum due to real server failures failures, there are always ways to work around it, with a little human intervention. One method is to tell Heartbeat to ignore quorum. Another is to tell Heartbeat to remove certain nodes from the cluster, after you verify that they’re really dead. And, I’m sure that in a pinch, some new methods will be invented. And some of them might actually work ;-).


Regarding the quorumd, it seems that this is an extra server that will generally run on another machine separate from the rest of the cluster. So if we had a two-node cluster with a quorumd then it would effectively be a three-node cluster where one node is not configured to run any resources. It seems that the simpler approach in many cases would be to merely have a three-node cluster with resources not configured to run on one of the nodes. For example if I was running a mail server cluster for an ISP I might configure a three node cluster of the two mail server back-end machines and one other machine that is lightly loaded (EG a DNS server) and have it configured not to run MTA resoures on the DNS machine.

30 April 2007

Clint Adams: Transfer at Porter for the commuter rail to Mukkah Mukkah

[T red line map]
[Jews dancing]

Russell Coker: comment spam

The war on comment-spam has now begun. It appears that Blogger might have some anti-spam measures of which I was unaware. Otherwise it s a strange coincidence that I get a huge number of comment spams for extremely hard-core porn from the Ukraine so soon after starting a Wordpress blog.

About 24 hours before the spam attack there was a strange blog comment that linked to google (with no offensive or spammy content). It appears that leaving it online was my mistake, when I left that online for a day the spammer decided that I might also leave porn spam online. I arrived home this evening to find almost 100 spams in the form of comments and track-backs, and more arriving by the minute. So I used iptables to block a /20 related to the spam and things are quiet now.

The moral of the story is to delete anything unusual ASAP in case it encourages the idiots.

I ve also tightened the anti-spam measures on my blog too.

Russell Coker: comment spam

The war on comment-spam has now begun. It appears that Blogger might have some anti-spam measures of which I was unaware. Otherwise it’s a strange coincidence that I get a huge number of comment spams for extremely hard-core porn from the Ukraine so soon after starting a Wordpress blog. About 24 hours before the spam attack there was a strange blog comment that linked to google (with no offensive or spammy content). It appears that leaving it online was my mistake, when I left that online for a day the spammer decided that I might also leave porn spam online. I arrived home this evening to find almost 100 spams in the form of comments and track-backs, and more arriving by the minute. So I used iptables to block a /20 related to the spam and things are quiet now. The moral of the story is to delete anything unusual ASAP in case it encourages the idiots. I’ve also tightened the anti-spam measures on my blog too.

Adam Rosi-Kessel: Onion Video on Segway

I’ve been reading The Onion since the late 90’s when I lived in Chicago and could pick up the paper version at any street corner. Recently I’ve wondered how long they can continue given the relatively small set of story structures they tend to use. Now they’re providing video, though, and my faith is restored. They even provide convenient HTML code for embedding (although I expect this won’t translate well into my RSS feed):
In The Know: Life Before The Segway Dewar’s is staking out a significant presence in the web video universe. I first noticed them when they sponsored the permanent archives of the Zefrank Show — now they’re everywhere. There must be an interesting legal issue or two just about to surface with advertising in this sort of syndicated embedded video content. I’m not sure exactly what it is yet, but watch out, it’s coming.

28 April 2007

Adam Rosi-Kessel: Proof of Spring 2007

For anyone who doubts the arrival of Spring 2007: Flower Spring 2007 Update: all of the below was fixed by disabling Privoxy! Who would have guessed?
Meanwhile, I can’t for the life of me get the gallery2/wordpress integration plugin (wpg2) to work. I decided it was time to get organized and stop storing/uploading photos in a totally ad hoc fashion. When I try to validate the wpg2 installation, however, I get this error: Warning: Cannot modify header information - headers already sent by (output started at /home/adam/public_html/weblog/wp-admin/admin-header.php:16) in /home/adam/public_html/weblog/wp-includes/functions.php on line 1221 When I then click to confirm that I want to validate, I get an empty page back. No errors in apache logs. This problem appears to have come up several times, and the most I can gather is the Gallery people point the finger at the Gallery Plugin people; the Gallery Plugin people point their finger at the Gallery people; and sometimes everyone points their finger at the Wordpress people. E.g. Not the best way to spend a beautiful spring day.

Adam Rosi-Kessel: Four Cheers for Geoffrey s!

Just recently, Rachele complained about a drop in quality at our neighborhood restaurant, Salute. No sooner did she complain than the restaurant changed name, ownership, and chef. Witness the power of the blogosphere! Geoffrey’s (link, anyone?) just opened this week is the old Roslindale location of Salute, having taken a three year hiatus from its last location in the Back Bay, and the South End before that. Back when I worked in the South End in the late 1990’s, it was one of my favorite lunch/brunch places, so I was delighted to discover they’ve reopened in Roslindale. We were the new restaurant’s first brunch customers ever. They open at 8am, and with a natural alarm clock that wakes us up at 6am (our daughter), we were prompt for the opening. The brunch was great. We shared a “DonutMuffin” as an appetizer. There was enough pleasure in that pastry to equal at least half a dozen commercial-grade donuts. I had a tomato, basil, and fancy-cheese-of-some-sort quiche with a side of fresh cantaloupe. It was a very generous serving with a thick tasty crust (no toast necessary!). I was particularly impressed with the volume of fresh basil, and the juiciness of the cantaloupe. Rachele has vegetarian eggs benedict (also delicious) and Esther had a side of heart-shaped waffles, which was just right for her. The coffee was definitely on the high end for restaurant coffee (which, somehow, seems to go on a different scale from coffee-shop coffee.) Next time I’ll try a cappuccino. All this for only $35 (including tip). The meal was comparable to (but slightly cheaper and more filling than) our other favorite brunch place, Bon Savor in Jamaica Plain. The owner/chef explained that they had moved out of the South End when the rent tripled. He’s keeping prices in the 1997-range, since the rent he is paying in Roslindale is comparable to what he paid in the South End in that era. (Although actually I’m sure other costs have gone up significantly). The Chowhound and Universal Hub folks are also pleased. Roslindale is certainly in need of a good brunch place — although I am fond of the Blue Star Diner conceptually, in practice the service has been poor and the food irregular. We will certainly be making fewer trips to JP for brunch now. The dinner menu also looks excellent, with several good vegetarian options. The chef also assured me the couscous dish is vegan. We were the only people in the restaurant in the opening hour. I predict in a month the place will be packed. If so, it will be proof of this blog’s influence!

Russell Coker: new blog

I am starting to move my blog to my own Wordpress server. Here is the new URL for my main blog (feed), and here is the new URL for my Source-Dump blog (feed) which is now named just "dump".

Wordpress gives me the power to change all aspects of my blog's operation (including adding plug-ins). It also allows me to correctly display greater-than and less-than characters (the Perl script I use for converting them is at this post - it's short now but will probably grow).

Hopefully the new blog will also solve the date problems that some Planet readers have been complaining about.

I will briefly put the same content on both the old and new blogs, when I'm fully confident in the new blog I'll stop updating the old one and try to get all Planet installations changed. Anyone who wants to convert their Planet installation to my new blog now is welcome to do so.

27 April 2007

Martin F. Krafft: Moving in pieces, with and without morphine

As readers of my blog know, I moved to a new flat just after Easter. Unfortunately, on that Monday afternoon, just after we finished hauling most of the furniture (the heavy stuff at least) over to the new place, I slipped as I was leaping off the transporter vehicle, lost an argument against gravity and hit the asphalt more or less horizontally after a 1.5 metre fall. I landed on both wrists and my left knee, and while my consciousness never left, reality sort of blurred away, as I rolled over on the ground and waves of pain began rippling through my body. People started assembling around me and the adrenaline faded away, then I realised that this move of mine was not going to end as smoothly as it had begun. My body refused to bend my left wrist and knee and I knew I was injured, but it did not hurt so much for me to conclude anything serious. I remembered the ice packs in my freezer and had my cousin fetch them, then let two colleagues carry me to bed to regain my bearing, but the pain got worse and I started to accept that I would have to go to the hospital. Still optimistic ("it's just a contusion, it's just a sprain"), I crawled from my cousins car to the wheel chair, into the hospital and onto a bed to await the verdict. Still thinking about returning home tomorrow, I spent hours on the bed, being pushed between the x-ray, casting, and diagnostic rooms until finally I was told of my fate: multiple fractures of my left knee cap, broken ulna and radius on my left arm with splinters in the joints, and a fractured metacarpal bone on the right my pinky's tendon was supposed to snap, but it proved too strong and rather caused the part of the bone to which it was attached to rip off. They deciced to perform surgery on the two left limbs but to leave the metacarpal bone alone because of the complexity of the fracture and the proximity of all my hand's and fingers' nerves. Because everything was swollen like a balloon ready to burst, I had to wait three days for the surgery with casts and a splint on my leg. The surgery was scheduled for Thursday morning and even though I was actually looking forward to it all (especially the administration of the anesthetic), I was simply too tired in the early morning hours, and the Dormicum tablet they fed me did the rest: I was asleep when we entered the surgery room and woke up at noon with new casts and a morphine injection pumping a comparatively large dose of the drug into my veins every eight minutes apparently, my body was going through a lot of pain during the surgery, so the "pain management service" (in German, they're just called "Schmerzdienst" "pain service", actually) opted to pump it up. Here's what I looked liked shortly after the surgery: madduck post-surgery Meanwhile, Gian-marco, my future flat mate, had spent the day packing up everything that was left in my old flat, where I had left an utter mess. A colleague of mine was to sublet the place starting that Saturday, so there were roughly 48 hours left to empty and clean it, and to hand it over. There are more pleasant things in heaven and earth than to have someone else empty your flat for you. Morphine is a really crazy drug. Most people think of it as fuzzy and often joke about taking it if only they could get their hands on it. Having made the experience, I'd rather not take it again unless I have to. Watching television turned out to be impossible, even the weather report went too fast for me. Visitors appeared sort of blurry, I would often not follow the things they said, and it was definitely impossible to entertain thoughts for prolonged periods of time, or to engage in any sort of productive thinking. Organising a cleaning lady for my old flat and giving instructions to my cousin, who would hand over the flat took all my energy On Friday, I was to have an important business meeting with three people, so I organised a room in the hospital and asked the nurses to put me on optional morphine so I could be a bit more present during the meeting. As a consequence, I could press a button once every ten minutes for a dose of morphine, and with this new level of control, I began to reduce the drug amount in my blood gradually. The meeting did not take place in the end but I came to regret my choice to reduce the morphine at around midnight, when the pain in my knee became unbearable. I kept pressing the button for more morphine like a madman, but the device would only deliver a new shot every 10 minutes. The nurse was not authorised to change that and instead gave me other pain and sleep medication, but not even the combination of morphine, Tramal (an opiod), Novalgin, Mefenacid, and Paracetamol could dampen the level of pain, and so I spent almost three hours in real agony, biting the pillow with tears running down my cheeks, until finally the medication won, I became indifferent (thanks to Temesta) and drifted off into sleep. After breakfast the next morning, the morphine applicator suddenly had a fit, started beeping, and pumped more drug into my body than it should have. It took me about 20 minutes or maybe an hour (who knows ) to put my brain together, realise what had happened, and come up with a way to lift my finger to the button to call the nurse. Despite the horrible night, I told them to remove the morphine because I'd rather stand the pain than have my brain mushed like that, plus there are always plain morphine injections delivered by humans instead of machines. In fact, the next night I could feel the pain approaching and since it's easier to suppress pain than it is to remove it, I asked for a sleeping pill and a morphine injection. The injection did three things: first, it hurt so much that my knee immediately became pain-free while nerve central was occupied trying to figure out what the heck had just happened in my right thigh. Second, it did not take three minutes to kick in, and it kicked in so strongly that I just barely realised that my head was suboptimally positioned on the pillow and the lights still on, but failed to do anything about it. I did not wake once until breakfast. And third, I am glad to know that morphine does actually (still) work. Pain is complex, fascinating, useful, sometimes even pleasurable to some, but when you know the cause and you'd rather make it stop, it's comforting to know that there are ways the previous night had instilled some doubt in me. From then it was all downhill and I left the hospital after eleven days on Thursday, got by without pain medication the same day and off the sleeping pills the next night. Two days later I was already racing around town in my wheel chair: madduck racing in a wheel chair By now I can actually walk again, albeit slowly, and even though I still cannot lift heavy stuff or get my hands wet, my hands are a lot better; on 21 May, the casts shall be removed and I'll be able to bend my knee again, but it may take up to a year to return to sports, such as running, to which I had just become addicted. In fact, I can comfortably claim that I had just reached an acceptable level of fitness just before the injury. Tough luck. My mother has come to Zurich twice already to help unpack and with her invaluable help, as well as the help of Gian-marco and several others, we are actually almost done moving in. Ironically, it's actually quite annoying to sit and watch others do your work; I would have helped as well, had the roles been inverted, and yet I am still greatly indebted. Human relations tend to be funny like that. Let me end with two points: first, Zurich's university hospital probably ranks among the best hospitals in the world, and that makes Zurich even more attractive to me (even though I certainly don't plan my next hospital stay). I felt very comfortable throughout my stay, had the impression of being in very capable hands, and had most of my countless questions answered. In addition, the hospital is very nicely surrounded by a park and could not be more central, which makes it easier for visitors. And that brings me to my final thought: thanks to everyone who stopped by or called in to make my stay a lot more pleasant. I spent eleven days in the hospital and I got bored and annoyed for the first time on Wednesday, the day before my release. Most of the credit for those ten days of lack of boredom goes to everyone who supported me. It did help that I had Internet access via a convenient 2 /day GPRS flatrate (even though I could not really type), but it became crystal clear to me that visiting someone in the hospital, whether you're close to the patient or not, is one of the most beautiful gifts you can give. In the past I have neglected this opportunity occasionally; now I would want to make a special effort (even though I hope there won't be any need). And I would not be a geek if I did not end this post with a reference to Debian: I know of a case when one of our developers ended up in hospital and two others (or was it more?) drove hours to visit and check in on him/her. Now even more than before can I say that I am proud to be a member of a project in which such things happen. PS: this post took me about 4 hours to compose. Sucks to be typing one-handed.

Russell Coker: new blog

I am starting to move my blog to my own Wordpress server. Here is the new URL for my main blog (feed), and here is the new URL for my Source-Dump blog (feed) which is now named just “dump”. Wordpress gives me the power to change all aspects of my blog’s operation (including adding plug-ins). It also allows me to correctly display greater-than and less-than characters (the Perl script I use for converting them is at this post - it’s short now but will probably grow). Hopefully the new blog will also solve the date problems that some Planet readers have been complaining about. I will briefly put the same content on both the old and new blogs, when I’m fully confident in the new blog I’ll stop updating the old one and try to get all Planet installations changed. Anyone who wants to convert their Planet installation to my new blog now is welcome to do so.

Gustavo Franco: Debian.org website meets mentors layout

UPDATE: Thanks for your feedback, for those commenting about the 'grey-on-white' thing. I don't really know if that's bad or not for a11y. I've keratoconus (right eye) and it's ok for me. The point is that we can easily change the colors and implement the new CSS and "migrate" the index was trivial. Take a look at Christoph Haas GPLed CSS (mentors.debian.net) and give your shot on the colors, please.

I was thinking about the two threads going on debian-www mailing list, one about our website look&feel and other about the navigational structure. I've decided to take a break reading and arguing and do a mockup based on mentors.debian.net (and also now live.debian.net).

Pros:
Took me less than an hour to move the entire index content and then decided what to keep and what remove.
Looks cleaner, IMHO.

Cons:
Need to get rid of the swirl and debian.org text adding the official logo there on top

Notes:
Well, I don't think that debian-www will take my mockup seriously, but it's actually the easier to implement over our current infrastructure (again, jmo).

If somebody wants to mirror cvs.d.o:webwml (cvssuck didn't work for me), run tailor over that migrating for svn and experiment with new web site layouts over all the pages we've, let me know!

Enrico Zini: tg-file-download

File downloads with TurboGears In TurboGears, I had to implement a file download method, but the file required access controls so it was put in a directory not exported by Apache. In #turbogears I've been pointed at: http://cherrypy.org/wiki/FileDownload and this is everything put together:
from cherrypy.lib.cptools import serveFile
# In cherrypy 3 it should be:
#from cherrypy.lib.static import serve_file
@expose()
def get(self, *args, **kw):
    """Access the file pointed by the given path"""
    pathname = check_auth_and_compute_pathname()
    return serveFile(pathname)
Then I needed to export some CSV:
@expose()
def getcsv(self, *args, **kw):
    """Get the data in CSV format"""
    rows = compute_data_rows()
    headers = compute_headers(rows)
    filename = compute_file_name()
    cherrypy.response.headers['Content-Type'] = "application/x-download"
    cherrypy.response.headers['Content-Disposition'] = 'attachment; filename="'+filename+'"'
    csvdata = StringIO.StringIO()
    writer = csv.writer(csvdata)
    writer.writerow(headers)
    writer.writerows(rows)
    return csvdata.getvalue()
In my case it's not an issue as I can only compute the headers after I computed all the data, but I still have to find out how to serve the CSV file while I'm generating it, instead of storing it all into a big string and returning the big string.

John Goerzen: Online Internet Bank Review

Back in mid-2000, I set up my first Internet bank account. I have been using the same bank ever since. The whole notion of Internet banks has changed a lot since then, since virtually every bank offers varying degrees of online access these days. Lately I checked on banks to see if I was still using the best one. Here are my reviews of the two banks.

Internet Banks

Let's first talk about what makes a bank an "Internet bank" or "online bank". So many banks let you manage your account online now, that the distinction is blurry. But generally, I would say that unique features of Internet banks are:



There are a few to highlight.

Real-time transaction posting is a great thing to have. If you go to the website and transfer money from your savings to your checking account, you can go to the ATM *now* and withdraw it, and when you get back to your desk, the ATM transaction shows up. There are none of these confusing "business day" rules with cutoff times that traditional banks seem to love. And none of this annoying "process all withdrawals first" business that large traditional banks (hello, Bank of America) love to do in order to screw with customers.

High interest rates. Don't even bother with an online bank if the savings interest rate is less than 3% (or checking less than 1%, in my opinion). It is almost impossible to find a traditional bank with these rates.

Note: if you're reading this after April, 2007, these guidelines may no longer apply due to interest rate changes.

Electronic transfers from other banks. Another great feature. A number of banks let you set up, and then initiate, electronic transfers to and from your accounts at other banks. This is usually free if you are using the feature to transfer money into your account, and with a flat per-transaction fee (usually about the same as a foreign ATM fee) for transferring money out.

Ability to do all business without visiting a branch. Not only should this be possible, but routine business (such as making deposits) should be easy to do without visiting a branch. You should be able to order new checks online.

Now let's look at the individual banks.

First Internet Bank of Indiana

FirstIB (they provide nationwide service, despite the name) is the bank I signed up with in 2000. I had found a bank in Dallas that I really liked, but when I moved to Indianapolis, I tried two and liked neither. They all seemed to have really poor interest rates, offer few useful services, and fees for so many conditions that it was hard to avoid them. (More on that in the traditional banks section below)

I looked at the online banking scene at the time, and wound up opening a checking and savings account with FirstIB. FirstIB started as an online-only bank, but recently acquired a bricks-and-mortar bank as well.

I found FirstIB's customer service at the time to be top-notch; I would dial their toll-free number, select *one* option from a menu, and a rep would answer *immediately*. (Take that, Bank of America, with your 45-minute hold times...) Since FirstIB was based in Indianapolis, I actually visited their offices a couple of times. They had a locked lobby. You picked up a phone, pressed 0, and went into the same queue that callers to the 800 number did, then just asked them to come to the lobby and transact your business. (They would not give out cash there, but could take new account paperwork and deposits and the like)

Their interest rates have consistently outperformed traditional banks, and they offer all the online banking amenities listed above. They did not offer online statements at first, but these days online statements are the norm (there is a fee if you want paper statements). Check ordering is accomplished using a linking with the Deluxe check printers. The web interface uses Digital Insight, and the ACH transfer interface uses CashEdge.

FirstIB will actually reimburse you, at the end of the month, for ATM fees that other banks charge you, up to $6/mo. They also provide an unlimited supply of free postage-paid deposit envelopes, and have a PDF of deposit slips that you can print out should you run out.

FirstIB's customer service has slipped in recent times. I know of some people that have been impacted by some errors that FirstIB has made (simply not processing paperwork that they should have processed). Wait times have gone up for the phone line, and a lot of the great "small bank" feel (where they actually knew their customers, and you might actually know the reps) is gone.

Presidential Bank, FSB

Presidential Bank is the bank I'm looking at now. I was initially drawn to them by their extraordinarly high interest rates (5.25% for savings!), but some other things have convinced me to use them.

Initially, I was suspicious. Presidential is a bricks-and-mortar operation that has been around for awhile, and was one of the very first Internet banks. Their website says that they started offering Internet accounts in 1995, and very much looks like it hasn't been updated since. (Thankfully, the account management interface is more modern). I almost thought the site was a fraud up front, a "too good to be true" deal with the high interest rates and bad-looking website. But after doing some research, realized that it is quite real.

Before setting up accounts with them, I had a few questions (such as whether or not transactions post in real time). Presidential has a simple email address for people that want to send in questions (unlike FirstIB's obvious queue system). I sent an email, and got a response an hour or two later, from a real person with a first and last name, and a personal e-mail address I could use to follow up. Nice. I also had occasion to talk to people on the phone. They were polite, speedy, and helpful.

So I set up my accounts with them. I activated the online access, bill payment, and money transfer features. All worked as expected. I did have a couple more occasions to call them after the account was set up (a more crucial test than the pre-account calls), and they remained helpful. Strangely, this bank, which seems to be a much larger operation than FirstIB, had a more small bank feel. Several times, as I started talking to a rep, he or she would say something like "Oh, I remember processing the setup paperwork on this account last week" or "I think I talked to you about this before?"

Customer service is one of those things you rarely need after the first month or so of an account. But with your bank, it is vital that the reps know what they are doing and are willing to help you when you call -- which Presidential is doing better than FirstIB these days.

Presidential does not rebate ATM fees like FirstIB does. They do provide a few deposit envelopes with your initial account setup packet, but they are not postage paid or unlimited. However, because Presidential's interest rates are so much better than FirstIB's, it doesn't take much in your account to more than balance out that difference. Plus, with so many retail stores offering "cash back" when you use an ATM or debit card, it isn't too bad to get cash for free with Presidential. (And, most employers offer direct deposit, so we rarely use deposit-by-mail) One other trick is to find some local bank and open a no-minimum free checking account with them. You can deposit checks there and withdraw cash from their ATM, and use Presidential's free incoming ACH to electronically transfer the funds to Presidential when you get too much in the local account. (Chances are that these local accounts will not pay any interest)

Presidential offers a few features FirstIB does not. First, they scan all your deposits (not just your canceled checks) and offer to let you view them online. Secondly, they automatically send you an email when they've received a bank-by-mail deposit (you can opt out of that, of course). Third, they let you view *all* of your old statements online (FirstIB only lets you view the last 6 months worth, though both have the complete history available in the web interface).

Like FirstIB, Presidential uses DigitalInsight for the web interface and CashEdge for the ACH feature.

Internet Bank Comparison Both banks offer two primary checking and two primary savings accounts. This table compares all four accounts.

FeatureCheckingSavings
FirstIBPresidentialFirstIBPresidential
AccountInterestFreeInternet PlusInternetMoney MktRegPremierInternet
APY1.26%0%4.50%1.25%3.90%2.75%5.25%1.50-2.50%
Min Balance$500$0$1000$500$4000$1000$0$100
Min MethodAvg DailyDailyAvg DailyDaily
Min to Open$100$25$1500$500$100$100$5000$100
Online Bill Pay$0$4.95/mo$0$5.95/mo (up to 10 payments)Not available
ATM surchage rebate$6$0$0$0
Online Canceled Check ImagesFreeN/A
Online Deposit ImagesNoFreeNoFree
Email Deposit NotificationsNoFreeNoFree
Email Balance AlertsFree
ACH policyFree when initiated at other end; free for deposits when initiated at the bank's website; small fee for withdrawals when initiated at bank's website




Online options at traditional banks

As I mentioned, Presidential is a traditional bank that has offered Internet accounts for some time now. Some other traditional banks do that as well, but look carefully at them, especially if they're a big nationwide bank.

I looked at options from Bank of America, Citibank, HSBC USA, ETrade Bank, and some other large national banks. In general, these were just regular bank accounts with a web interface (HSBC and ETrade being somewhat of exceptions). Read the fine print and you'll find poor interest rates and traditional banking hassles (lack of immediacy in transactions, predatory posting practices, fees for just about everything).

Plus I can tell from personal experience that Bank of America customer service is downright awful. One example: they used to pressure me to open a credit card with them every time I visited a branch. I declined every time, and had to be forceful about it sometimes. Then one day, not long after a visit with a particularly annoying employee, I got a Bank of America credit card -- which I had specifically refused -- in the mail. Hmmmmmm.

They also, unlike any other bank I've ever used, charged a fee to receive wire transfers. Which they had not disclosed. Then, of course, they apply withdrawals before deposits, and caused an overdraft from the undisclosed fee, even though the wire transfer was a *deposit* that would have very easily covered it. That was the last straw for me. After nearly an hour on the phone with them, I got them to agree to reverse both the fee and the overdraft charge. THEN I said I wanted to close my account.

When traditional banks are better

There are a few situations where Internet banks don't work out so well:

Living paycheck to paycheck. If you are constantly running out of money, and it is vital that any deposits get posted *NOW*, you probably don't want an Internet bank (and wouldn't benefit from their higher interest anyway). When you mail in a check, it can take some time before you have access to the money; the postal service has to deliver it, and then most of your checks will be subject to the "non-local" availability policy and held for about a week (though interest will start to accrue immediately).

Not being able to meet minimum balances. Internet banks do tend to offer a variety of accounts, but if you aren't able to regularly maintain $500 to $1000 in your checking account or $2000 to $5000 in your savings, you will likely fall into a category with lower interest and fewer free benefits. These accounts may not have many benefits over traditional banks, and may in fact be worse in some ways. The interest rate gap won't make that much of a difference either. There are several online banks that offer savings accounts only, with high interest rates and low minimums, that you may want to investigate -- though you will have availability into your checking account measured in days, not seconds. Presidential's savings has no minimum, but requires $5000 to open. (They do have lower-interest savings accounts without that requirement) Watch out for FirstIB's accounts; you can open an account with less than the monthly minimum balance, and will run into fees unless you deposit enough to meet the minimums.

MJ Ray: Daddy or Chips? MJ Ray or Sony?

Next.

Previous.