Sander’s Weblog

January 26, 2010

Ubuntu Packages for Perl Modules

Filed under: Apache — Sander @ 12:48 pm

The Apache HTTP Server perl-framework testsuite needs a number of Perl modules in order to run. You can install those through CPAN, but on some distributions these modules have been made available through the distro packaging scheme.

This is a quick-and-dirty list of Perl-related packages that need to be installed on a vanilla Ubuntu system in order to run the perl-framework:

Ubuntu Package Perl Module Remarks
libcrypt-ssleay-perl Crypt::SSLeay
libdevel-corestack-perl Devel::CoreStack
libdevel-symdump-perl Devel::Symdump
libdigest-md5-perl Digest::MD5 Part of the default load
liburi-perl URI Part of the default load
  Net::Cmd Part of perl-modules package
  MIME::Base64 Part of perl package
libhtml-tagset-perl HTML::Tagset Default load
libhtml-parser-perl HTML::Parser Default load
libhtml-parser-perl HTML::HeadParser Default load
libwww-perl LWP Default load
libipc-run3-perl IPC::Run3  
libhttp-dav-perl HTTP::DAV Sucks in the following
libxml-dom-perl
libxml-perl
libxml-regexp-perl
perl-doc Perl documentation Some files are used as content by some tests
Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

December 31, 2009

OK Apple, Where Is It?

Filed under: Apple, Tech — Sander @ 10:48 am

Apple says: “Apple will support Microsoft Windows 7 (Home Premium, Professional, and Ultimate) with Boot Camp in Mac OS X Snow Leopard before the end of the year. This support will require a software update to Boot Camp.”

My VMWare VM is running Windows 7 on the Boot Camp partition, but I’m waiting for this new version of Boot Camp so I can boot Windows 7 directly on the metal. It’s the end of the year. Where’s my update?

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

November 7, 2009

How to Build Apache for Development

Filed under: Apache — Sander @ 10:10 am

This is how I currently build Apache httpd for development and testing.

Pre-requisites:

Once these are in place, check out the Apache source code from http://svn.apache.org/repos/asf/httpd/httpd/trunk, cd into the checkout and run ./buildconf --with-apr=/path/to/apr/source-code. Then run configure:


./configure \
--prefix=/somewhere/convenient \
--enable-mods-shared=all \
--enable-maintainer-mode \
--with-apr=/where/you/put/it \
--enable-proxy=shared \
--enable-ssl=shared \
--enable-case-filter=shared \
--enable-case-filter-in=shared \
--enable-bucketeer=shared \
--enable-echo=shared \
--enable-mpms-shared=all

make and make install. This module complement is what will be exercised by the test harness. The build system will leave the last ./configure invocation in config.nice, and also install the latter under the build subdirectory when you make install. Isn’t that nice?

To run the test harness, check out http://svn.apache.org/repos/asf/httpd/test/framework/trunk. Underneath the checkout, find in Apache-Test/lib/Bundle/ApacheTest.pm a list of the Perl modules you need. A number of these will already be on your system. Get what you don’t have from CPAN or your package manager. Also, install HTTP::DAV and its dependencies which is not on the list but needed to exercise mod_dav. Then run:

perl Makefile.PL
t/TEST -httpd /somewhere/convenient/bin/httpd -apxs /somewhere/convenient/bin/apxs

Note your skips and failures. Add Apache modules and Perl modules if you find the list above out of date. Then make your changes to Apache, rebuild and run t/TEST again. If your new build is in a different installation root, run make realclean in the framework and set it up again. When your changes to Apache (no longer) cause any tests to fail, propose the change to dev@httpd.apache.org. If you add new functionality, add new tests. That’s all. Easy.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

November 4, 2009

ApacheCon US 2009 PGP Keysigning

Filed under: Apache, ApacheCon — Sander @ 1:38 pm

We’ll be doing a PGP Keysigning Session at ApacheCon. If you would like to participate, check out http://wiki.apache.org/apachecon/PgpKeySigning and make sure to mail me your public key before the end of today, Wednesday.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

November 3, 2009

My ApacheCon US 2009 Wishlist

Filed under: Apache, ApacheCon — Sander @ 1:07 pm
  • Get Apache HTTP Server building again on Gump (which involves losing the dependency on the Apache Portable Runtime Utility library, which was folded into APR proper)
  • Get @pgollucci what he needs on clarus.apache.org, and work on the future of that box
  • Talk about Apache 2.4, and what is still needed to get that out the door. Then, maybe start talking about figuring out what 3.0 is going to be like
  • Prepare for the Keysigning — which may mean creating a new PGP key
  • Prepare for my presentation on Thursday
  • Do some httpd hacking. Perhaps pull in the ECC patch that has been sitting in Bugzilla
    • Share this post:
      • Digg
      • del.icio.us
      • Facebook
      • Google Bookmarks
      • LinkedIn
      • StumbleUpon

September 20, 2009

Cousin’s Graduation Project Makes NL National Paper

Filed under: Stuff — Sander @ 8:25 pm

My cousin Bart is quoted extensively on his graduation project resource by the literary supplement to the Dutch national newspaper NRC.

For readers who don’t read Dutch, Bart’s thesis is that literary magazines in The Netherlands have lost their significance as a breeding ground for new talent and as a forum for debate about literature. He substantiates this claim by tallying for two time periods (late seventies vs. mid-naughties) which proportion of debuting authors were first published in literary magazines: the decline is considerable.

For those that do read Dutch, a summary is available at the poetry blog De Contrabas. This site also make the entire thesis document available. You might also Google for ripples in the literary pond.

Great job doctorandus Bart!

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

September 10, 2009

A Beni Happy Birthday

Filed under: Stuff — Sander @ 11:38 pm

VolcanoAnimationSm.gifWhat do you give the spouse who has everything for their birthday? I certainly did not make it easy for La, since I’m a little too young to want a Harley.

So on my birthday, she took me out for “lunch and a surprise”. We drove to the City and ended up in the Japantown mall, so I figured that we might be going to Benihana for said lunch. But, when we got there I was told that Laura had arranged for me to Be The Chef, and cook a Teppanyaki dinner for a party of friends and family two days later! What an amazing idea!

That day itself was the training. They sat us down at a table in the back, and taught me how to prepare Splash & Meadow (steak & shrimp), chicken fried rice and hibachi vegetables. Everyone was getting the same choice, to keep it easy. A real chef was going to take care of the second table of friends and family, so they got their choice of entree and the real show.

Two real Benihana chefs helped with the training. First, they demonstrated the techniques, pointing out the order in which things happened, how long each step (like cooking the steak) was supposed to take, and the specific cuts, chops and slashes. This became Laura’s lunch. Then it was my turn: I got to try the opening utensil juggle, flip the shrimp tail at my coat pocket (and was given to understand that pontifically putting the last one in your pocket with your fork is a face-saving conclusion in case you miss every one), make the fried rice heart and slice and dice the New York Strip.

They had given me a spatula and fork with which to practice the juggling act, so I spent the next afternoon in the back yard with electrical tape on the pointy ends of the utensils, trying out the various flips, tosses and twirls. And areating the lawn in the process. But, in the end I managed to keep from putting anyone’s eye out during the performance.

The evening itself was a great success. The head chef of the restaurant, Anton, talked me through the performance and backed me up on the time critical bits. The training involved cooking one serving, but this table had eight hungry people (and one very small one (hi Emma!)) around it! We would typically split up the large tasks: for instance he finished half the shrimp combos and while I got to start all the steaks, I only got around to finishing three. Yes, a professional chef is much faster at this than a dilettante like myself.

47b9d731b3127cce9854897bbd0b00000045108AcNWbZq2ZNl.jpegThe shrimp appetizer went very well. Since there are only three shrimp per serving, I got to start, flip and cut all of them. And then, the shrimp tail toss trick. I not only got one in my hat (though I maintain a that hat that big is hard to miss), but also one in my pocket! Yes, I totally meant to do that!

Chef Anton demonstrated the scared appetizer shrimp, did a fried rice Mickey Mouse (which I had never seen done before), and I got to do the fried rice heart for Laura. Finally, we did the onion ring volcano. This trick went absolutely flawlessly and you can see the result at the top of this post.

Afterwards, I got to taste some of the food and it was actually pretty good! It was a lot of fun to do, and rewarded by a Japanese Steak Dinner in the end. I am very happy Anton helped me and kept me from ruining the food… the special scraper tool came out only twice to restore the state of the grill. In the end, I was very tired but very happy with this amazing birthday party. I would like to thank everyone for coming; the San Francisco Benihana for allowing me to do this; Anton, Junior and George for looking after me; Carol for making it happen and above all, my dearest spouse Laura for arranging it.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

September 8, 2009

Snow Leopard

Filed under: Apple — Sander @ 9:28 am

Just installed… so far, so good. I took a full Time Machine backup before I started, and ran a disk check (which showed Green) from the install CD.

After the restart, the system asked me for the System Events application, but that was easily found.

I had to reinstall the Cisco VPN Client, because the Snow Leopard install clobbers /System/Library/StartupItems and erases the client’s StartupItem. Aside from StartupItems being highly obsolete, Cisco has no business putting stuff under /System anyway. Otherwise, I am now up and running using the same version (4.9.01 (0100)) I had running under Leopard.

Entourage (EWS) works; Microsoft Document Connection works: that’s about all I’ve used to far. Next time I do an expense report we’ll see if the Brother combo fax can still scan for me. Fingers crossed on that one.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

August 18, 2009

Web Hacking Incident Database Report

Filed under: ApacheCon, Security — Sander @ 9:12 pm

The The Web Hacking Incidents Database 2009: Bi-Annual Report is out. If I recall correctly, the first report Breach did, in 2007, did not mention any bi-annualness. Also, the eventual landing page has as HTML title “<title>The Web Hacking Incidents Database 2008: Annual Report</title>”. Is it possible that they simply didn’t get their act together last year and retroactively declared the report bi-annual?

I went in through the link above, gave up my e-mail, phone number and name of my first born, and downloaded the report. This will probably land me another copy of every marketing e-mail Breach sends out (guess how I learned of this report?), and a phone call from some poor guy in a cube who has to make 75 phone calls a day for a living. Oops, guess I put down a fax number. Sorry dude, hope your headset isn’t too loud.

Anyway, after you go though the lead generation form you land here and can follow a direct link to the PDF. This is fairly standard practice, but from a security company I would expect that they would make some more effort to not inadvertedly expose the goods.

ApacheCon US 2009I will give this report a read, and probably discuss it in my upcoming talk at ApacheCon US 2009. Oh, they just extended the early bird registration deadline… without changing their own website to tell you about it. Register now and experience the mayhem.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon

July 9, 2009

This is Why we Don’t Check Luggage Anymore

Filed under: Travel — Sander @ 2:43 pm

I guess if the luggage in question is large items like guitar cases there’s little you can do but check them. Situations like this, though, cause me to wonder what the economic rationale is behind the treatment Dave got. On the one hand, we all want cheap flights. On the other hand, airlines want to make money and they do that by treating their customers as crappy as they can short of making them run away and use another airline. I can see how a policy of active discouragement and frustration of customer claims could be part of maximizing shareholder value. The real question is, is this kind of treatment the most efficient way to discourage frustrated customers from seeking customer service? Or is there still genuine incompetence and miscommunication involved? My guess is that they could be more evil if they were efficient at it. Makes me think of the David Spade Capitol One commercial.

Not that I have ever tried the Capitol One runaround.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
Older Posts »

Powered by WordPress