Staying Overnight at Cameron's

So my wife and I had a belated Valentine's Day weekend and decided to spend it overnight at Cameron's in Half Moon Bay.

Positives:

  • Right...over...a...bar (an English-style pub, in fact, with great food).
  • Saturday night karaoke.
  • Not too expensive ($109 for the night).
  • A free beer with night's stay.

Negatives:

  • The room was quirky. Very quirky. Almost too quirky for us (and our tolerance of quirk is legendary).

In summary, we were glad to have the one-night adventure and it was fun but not worth doing again. It was the sort of experience everyone should have exactly once. Enumerated list of quirks after the break.

Updated: Passport Cards for Identification Purposes

Update: Safeway's not changing their minds and the Department of Alcoholic Beverage Control's directives are out-of-date. See below!

I've recently run into some ambiguity with regard to whether passport cards can be used for the same identification purposes that a conventional passport card can.

While I've verified that the passport card is valid for Form I-9 (the form you have to fill out when you start working at a new place. See the top of list A on the last page), I asked the California Secretary of State for clarification. See the email I received in response below:

Virtual Machines vs Hardboxes

I've been working with virtual appliance payloads a fair amount lately and have taken to disambiguating between virtual and non-virtual machines this way:

VM = VM, since everyone uses that

Non-VM = "hardbox," since it implies both a piece of hardware and a complete system.

Just wanted to make a note here so I can be the one that coined the word for this context. (C)2009-10 by B.J. Black :-)

Awesome...

From Goats:

"I wish World War Four would hurry up and get here so we can all be conquered by the flavor of fresh Pocky."

Make your weapon of love shoot twice more at one night!

Sometimes spam message titles just make me smile... :-)

Alarm + Exec in Perl

So if you call exec() from a sub called by SIGALRM, you need to unmask SIGALRM before calling the exec() or risk losing further alarms:

use POSIX qw(SIGALRM SIG_UNBLOCK sigprocmask);
...
sub handler {
    my $sigset = POSIX::SigSet->new( &POSIX::SIGALRM );
    sigprocmask(SIG_UNBLOCK, $sigset, undef);
    ...
    exec([stuff]);
}
$SIG{ALRM} = \&handler;

Without the sigprocmask, your alarm will fire exactly once, be masked from running again, and your subsequent processes won't have an alarm to use anymore.

Debian's Default Exim Configuration

Just so the almighty Google picks this up...

If you:

  • Use Debian with Exim and exim4-config on e.g. a web server, and
  • Attempt to send email from the box to:
  • A mail address that your smarthost knows about

...you will need to create an account on your box for that email address or get "unroutable address" errors.

Abomination Stew

Actually, this starts out more like a soup and becomes rather porridge-like the next day (thanks to the barley and potato). But it's got both bacon and scallops (which are unclean according to Kosher law), so it's an Abomination (tm).

You can probably do this without the pressure cooker, but it will take a lot longer... Full recipe after the break.

Black's Law of Clustering

So I've decided that my ego's just big enough to coin a Computing Law of my own. So I hereby present "Black's Law of Clustering:"

Clustering is always an order of magnitude more complex than you think it is.

How to Transfer to a Four-Year University (UC/CSU)

(BJ is a former ASU, Mesa CC and Mission College student that finally graduated from SJSU in 2008. These notes are based on his experience collecting ~180 units to finally eke out a normally-130-unit BS degree.)

Having been graduated for almost a year now, and having recently discussed challenges with transferring from a 2-year college with a friend, I realize that I should probably write an overview of the gotchas associated with the process. My opus begins after the break (click "read more" to continue)...

Syndicate content