La Boca and professionalism

Posted at 2009-08-23 14.43


View Larger Map

I visited the restaurant La Boca in central Belfast yesterday and was extremely impressed. The airy, brightly-coloured casual restaurant had a small menu but excellent food and at a splendid price. Maybe I've been in Dublin too long but I was astounded by the price: £10 for a starter and main course. However, what most struck me was their attention to the other aspects of a dining experience: the drinks.

Their beer selection reflected their menu: small and carefully chosen. Each beer on offer was distinctive: one local beer from Argentina, one from Belfast, a porter, a wheat beer, and a high quality German lager.

However, it was in their coffee that they really shone. Discerning coffee-lovers see the end of a meal with some trepidation: should they spoil a good dinner by bad coffee, or would they be better instead to go without coffee? In this case, I had some justification to trust them: the menu said that the filter blend was 50:50 Kenyan and Guatamalan (and was delicious), and the espresso was a blend of five South American beans: again, splendid. This place serves coffee better than 95% of the coffee shops I've tried.

If ever you're in Belfast, please do pay them a visit: the pavement outside the shop is currently under construction so they need all the continued business they can get.

— ads
Filed under: Misc and Reviews and Coffee
Filter brewing: improved with duct tape

Posted at 2009-08-04 23.56

Dave Walsh, in his article about the Abid Clever, highlighted a problem I had with the theory of filter coffee: the variables you want to be directly proportional to one another (contact time and grind size) turn out to be inversely proportional.

I wanted to try a filter brew of Has Bean’s El Salvador Pacamara but was reluctant to mess with the grind to get it nicely to a 4-minute extraction. Enter duct tape: I stuck it over the holes till the three minute mark then prised it back for the final 30 seconds' drain.

Honestly, I think I got the grind too coarse: I had been aiming for something akin to James Hoffman’s cafetière grind but wound up with something coarser still. Consequently, it was a bit on the weak side but the technique seems to show great promise.

— ads
Filed under: Coffee
The story of ping(1)

Posted at 2009-02-18 03.47

How we laughed when we discovered that Linux’s ping makes a reverse DNS lookup for every incoming ICMP echo reply! For added mirth and/or merriment, it also happens on flood-ping.

— ads
Filed under: Computing
A "Wonko the Sane" moment…

Posted at 2008-10-22 15.40

http://en.wikipedia.org/wiki/A57_road

Either this is a deeply insightful pastiche on the worst of Wikipedia articles (complete with "This article does not cite any references or sources.") or it really is a new depth in Wikipedia. Whatever it is, it’s terribly amusing.

— ads
Filed under: Misc and Reviews
Evaporative cooling and the job market

Posted at 2008-06-17 18.35

In evaporation, the more energetic (i.e. warmer) a water molecule on the surface of an object is, the higher its chance of it turning to vapour.

The higher the wind speed across this surface, the faster these warm molecules will be blown away.

This is the concept of evaporative cooling.

The same applies when a company starts to fail, though there is an additional feedback cycle which compounds the problem. First, the most energetic molecules staff depart. These are the ones who can see a future for themselves outside of their current employment — and there is a high correlation between these people and those who are most valuable for an organisation. So the company becomes slightly worse due to the better people leaving. But it’s an exponential effect: it will rapidly get worse unless steps are taken to improve things. Eventually, the company stagnates as all of the interesting and innovative people have found alternative employment and only the boring ones are left.

So, the moral of the story: the more a company blows, the faster its employees leave.

— ads
Filed under: Misc
ls –color considered harmful

Posted at 2008-01-26 18.57

This is a rant I have made many times in person: far too many to count. Since I can't possibly warn everybody who might be affected by this, face to face, I'm hoping you will all spread the word.

The problem

To begin with, I should say that ls --color is useful. It can show you which items in your directory listing are directories, symlinks, broken symlinks, device nodes, named pipes, whatever. I am glad that it exists.

However, let’s consider the basic action of ls. It is, of course, to display which files and directories exist in a directory. This is really quick and easy in Unix. Simply use the libc function opendir() then just readdir() till it returns NULL and errno is 0. In terms of syscalls, this is an open(), one or two read()s and a close().

When you turn on the color option, every directory item incurs the weight of an extra stat() call to see what it is.

Worse still, if it’s a symlink, ls will obligingly bound across to the thing linked to, to check it exists. If this causes your automounter to wake up and mount something remote, that’s quite an overhead. If your mount hangs because the remote filesystem is unavailable, you can say goodbye to that process; it'll be stuck blocking on a syscall that will never return.

A partial solution

To fix the symlink problem, here’s what you do. ls was written to avoid chasing symlinks if configured not to. Check your environment variables for the LS_COLORS variable with:

$ env | grep ^LS_COLORS

If it exists, you have a config file for colour ls: you should edit /etc/DIR_COLORS* or copy it to $HOME/.dircolors and edit it there. Otherwise, type:

$ dircolors --print-database > $HOME/.dircolors

The edit you need to do is to remove or comment out the ORPHAN line from the file.

Unless you were able to edit the file in /etc, you now need to make sure that this new $HOME/.dircolors file is used. In your shell login script (.bash_login for bash and .login for (t)csh, put the line:

eval `dircolors $HOME/.dircolors`

(Note that these are backticks, not apostrophes.)

Next time you log in, you'll be able to use colourful ls without fear of a remote filesystem freezing your directory listings.

In conclusion

Use ls --color when you need it, but as with all powerful tools, use it with care.

Corrections: James pointed out that to dump the default config it is –print-database not –print-directory.

— ads
Filed under: Computing
Tobermory

Posted at 2007-10-28 02.09

I recently found a forgotten half-bottle of Tobermory 10 year old, in the back of a cupboard. Here are a few tasting notes about this long-forgotten friend.

This whisky is a light straw colour, quite thin in consistency. However, its insipid appearance belies a splendid if subtle flavour. With overtones of honeyed vanilla, it’s a sweet and faintly floral whisky. There is little aftertaste but I can forgive this in a delicate whisky of this nature.

— ads
Filed under: Whisky
Ryanair unstrangeness

Posted at 2007-10-28 01.38

I wrote a few months ago about how Ryanair had started charging for web check-in despite it being a cost saving for them — and how this was not the Ryanair that I understood. Well, I was proved right last week when they switched surcharges. Now you have to pay if you want to check in at the desk, and you get priority boarding and online check-in for free.

If only they would start putting some effort into maintaining the uptime of the web check-in site, I would be happy. That said, it beats Aer Lingus which refuses to let you print out a replacement boarding pass if (for example), Firefox crashes on getting the PDF the first time around.

— ads
Filed under: Misc
Mountain View Fuzz

Posted at 2007-09-06 03.56

Got back to the appartment last night to find police on High School Way, interviewing somebody innocuous-looking. When I went to the door to the appartment complex, it turned out that there were upwards of a dozen police, with six patrol cars, on Castro St. Most were standing around doing nothing but one of them appeared to have stopped a car and was interviewing the driver. I approached a chap at the edge of a crowd of onlookers and asked what was going on, and he declined to comment. At about that moment, the helicopter flew past for the second time.

Just as Pete and I were about to go, somebody cycled along the and stopped to cross Casto, halting in the middle of a gathering of police officers. One told him, "It’s illegal to cycle on the sidewalk, sir." His reply was a work of genius: "Oh, really?"

It was all very bizarre, though not at all menacing or confrontational. No guns were drawn and nobody was incapacitated by tazer or baton. Just another data point.

Then we went up to the appartment proper and watched Hot Fuzz. Excellent film, especially given that the room was still being illuminated by the occasional strobe of blue lights.

— ads
Filed under: Me
Cappuccino milk

Posted at 2007-07-30 13.55

Over the past few months I have been asymptotically approaching being able to make a good cappuccino or latte. (I'm way better than the glassy-eyed morons who are usually behind an espresso machine but nowhere near "good barista".) However, over the last few weeks I have noticed that sometimes I was not able to steam the milk properly. I get very little foam then when I bang out the biggest of the bubbles, it’s virtually flat.

I had thought that I was just having a bad run, but then a colleague mentioned it too. It turns out that only some of the bottles have this characteristic, and we haven't determined, from analysis of the codes on the bottle tops, what determines this. Each was full-fat milk from the same dairy.

If anyone who reads this knows the answer, please mention it in a comment.

— ads
Filed under: Me and Coffee
ok