tag:blogger.com,1999:blog-35708857166970841442024-03-20T01:08:32.094-07:00My brain dumpThe place where I put things I'm sure I'll forget.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-3570885716697084144.post-47097571012900748572010-03-11T05:59:00.000-08:002010-03-11T06:01:07.337-08:00Here's the slides from the presentation I did for the <a href="http://www.frontrangephp.org/">FrontRange PHP Users Group</a><br /><br /><div style="width:425px" id="__ss_3397036"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/jonmeredith/front-range-php-nosql-databases" title="Front Range PHP NoSQL Databases">Front Range PHP NoSQL Databases</a></strong><object width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=frphpnosqloverview-100311075144-phpapp02&stripped_title=front-range-php-nosql-databases" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=frphpnosqloverview-100311075144-phpapp02&stripped_title=front-range-php-nosql-databases" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/jonmeredith">Jon Meredith</a>.</div></div>Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-91409932876804865242010-01-28T14:53:00.000-08:002010-01-28T14:54:43.839-08:00Setting up GPG under OS XHere's a good how to for setting up GPG under OS X - <a href="http://www.wasuvi.com/?page_id=2368">link</a>.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-29626383985832951492010-01-21T10:02:00.000-08:002010-01-21T12:56:35.785-08:00Documenting PHP ExtensionI've been trying to use phpdoc with a PHP Extension I'm writing for work and it isn't obvious. Thankfully I found this <a href="http://www.snailinaturtleneck.com/blog/?p=22">post</a> about Kristen Chodorow's phpdoc pain<br /><br />It turns out you have to get phpdoc from svn and use that.<br /><br />To checkout the doc tree (had to upgrade from the stock svn on OS X leopard first - thanks homebrew!)<br /><br /><pre><br />svn co http://svn.php.net/repository --depth empty phpdoc<br />svn co http://svn.php.net/repository/phpdoc/en/trunk --depth infinity phpdoc/en<br />svn co http://svn.php.net/repository/phpdoc/doc-base/trunk --depth infinity phpdoc/doc-base<br /></pre><br /><br />And install phd (I had to install sqlite3 first - yes I'm using ports for that)<br /><br /><pre><br />sudo port install php5-sqlite +debug<br />sudo pear install doc.php.net/phd-beta<br /></pre><br /><br />Create an XML template<br /><br /><pre><br />/path/to/svn/phpdoc/php -d debug_mode=1 -d extension_dir=modules/ -d extension=myext.so /Users/jmeredith/src/php/phpdoc/doc-base/scripts/docgen/docgen.php --output tmp --extension myext<br /></pre><br /><br />Now you have to merge that into the main php docs<br /><br /><pre><br />cp -rp tmp /Users/jmeredith/src/php/phpdoc/en/reference/myext<br /></pre><br /><br />Edit phpdoc/manual.xml.in and add a reference for your extension (I added mine under database vendors)<br /><br /><pre><br /> &reference.magneto.book;<br /></pre><br /><br />In phpdoc/en/reference add a file called entities.myext.xml - I'm still tinkering with what needs to go in there, base it on one of the other files in the same directory.<br /><br />Finally, run phd<br /><br /><pre><br />phd -d /Users/jmeredith/src/php/phpdoc/doc-base/.manual.book.myext.xml<br /></pre><br /><br />It creates files in a directory named output. Now all I need to do is work out what to put where to get decent output.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-81326615635949138362009-11-25T19:13:00.000-08:002009-11-25T19:41:07.260-08:00Using NIF for E V I LA couple of weeks ago at work we had a problem with memory growth in the erlang VM. We could see binaries that were being kept around using process_info(Pid, binary), but the only way we could work out what was in the binary was by attaching gdb and walking the structures. <br /><br />Using gdb to walk memory structures inside the VM is a pain. Along comes NIF with the R13B03 release which gives me a good excuse to have a go with that instead. After a quick look at the <a href="http://www.davispj.com/2009/11/23/erlang-nif-test.html">tutorial by Paul Joseph Davis</a> I present sNIFfer - a very naughty peek at the VM internals with no regard to locking or thread safety.<br /><br />Using the module you can go from an address listed by process_info back to (a copy of) the binary again.<br /><br /><pre><br />Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [kernel-poll:false]<br /><br />Eshell V5.7.4 (abort with ^G)<br />1> sniffer:start().<br />ok<br />2> B= <<"abc">>.<br /><<"abc">><br />3> process_info(self(), binary).<br />{binary,[{4303709336,3,3}]}<br />4> sniffer:get_binary(4303709336). <br /><<"abc">><br /></pre><br /><br />Here is the C code<br /><br /><pre><br />// sniffer.c<br />#include <stdio.h><br />#include <string.h><br />#include "erl_nif.h"<br /><br />#ifdef HAVE_CONFIG_H<br /># include "config.h"<br />#endif<br /><br />#include "sys.h"<br />#include "erl_vm.h"<br />#include "global.h"<br /><br />static int<br />load(ErlNifEnv* env, void** priv, ERL_NIF_TERM load_info)<br />{<br /> return 0;<br />}<br /><br />static int<br />reload(ErlNifEnv* env, void** priv, ERL_NIF_TERM load_info)<br />{<br /> return 0;<br />}<br /><br />static int<br />upgrade(ErlNifEnv* env, void** priv, void** old_priv,<br /> ERL_NIF_TERM load_info)<br />{<br /> return 0;<br />}<br /><br />static void<br />unload(ErlNifEnv* env, void* priv)<br />{<br /> return;<br />}<br /><br />static ERL_NIF_TERM<br />get_binary(ErlNifEnv* env, ERL_NIF_TERM a1)<br />{<br /> unsigned long mem_loc;<br /> if (!enif_get_ulong(env, a1, &mem_loc))<br /> {<br /> return enif_make_badarg(env);<br /> }<br /> else<br /> {<br /> Binary* bin_ptr = (Binary*) mem_loc;<br /> ErlNifBinary nif_bin;<br /><br /> enif_alloc_binary(env, bin_ptr->orig_size, &nif_bin);<br /> memcpy(nif_bin.data, bin_ptr->orig_bytes, bin_ptr->orig_size);<br /> return enif_make_binary(env, &nif_bin);<br /> }<br />}<br /><br />static ErlNifFunc sniffer_funcs[] =<br />{<br /> {"get_binary", 1, get_binary}<br />};<br /><br />ERL_NIF_INIT(sniffer, sniffer_funcs, load, reload, upgrade, unload)<br /></pre><br /><br />The erlang module<br /><br /><pre><br />%% sniffer.erl<br />-module(sniffer).<br />-export([start/0, get_binary/1]).<br /><br />start() -><br /> erlang:load_nif("sniffer", 0).<br /><br />get_binary(_Val) -><br /> nif_error(?LINE). <br /><br />nif_error(Line) -><br /> exit({nif_not_loaded,module,?MODULE,line,Line}).<br /><br /></pre><br /><br />And a makefile - you'll need to update ERL_TOP to point to your VM source tree.<br /><br /><pre><br /># Makefile<br />ERL_TOP=/Users/jmeredith/git/erlang0d<br />include $(ERL_TOP)/make/target.mk<br /><br />INCLUDES = \<br /> -I$(ERL_TOP)/erts/$(TARGET) \<br /> -I$(ERL_TOP)/erts/emulator/$(TARGET) \<br /> -I$(ERL_TOP)/erts/emulator/$(TARGET)/opt/smp \<br /> -I$(ERL_TOP)/erts/emulator/beam/ \<br /> -I$(ERL_TOP)/erts/emulator/sys/unix \<br /> -I$(ERL_TOP)/erts/include/$(TARGET) \<br /> -I$(ERL_TOP)/erts/include/internal \<br /> -no-cpp-precomp -DHAVE_CONFIG_H <br /><br /># OS X Snow Leopard flags.<br />GCCFLAGS = -m64 -O3 -fPIC -bundle -flat_namespace -undefined suppress -fno-common -Wall<br /><br /># Linux Flags<br />#GCCFLAGS = -O3 -fPIC -shared -fno-common -Wall<br /><br />CFLAGS = $(GCCFLAGS) $(INCLUDES)<br />LDFLAGS = $(GCCFLAGS) $(LIBS)<br /><br />OBJECTS = sniffer.o<br /><br />DRIVER = sniffer.so<br />BEAM = sniffer.beam<br /><br />all: $(DRIVER) $(BEAM)<br /><br />clean: <br /> rm -f *.o *.beam $(DRIVER)<br /><br />$(DRIVER): $(OBJECTS)<br /> gcc -o $@ $^ $(LDFLAGS)<br /><br />$(BEAM): sniffer.erl<br /> erlc $^<br /></pre>Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-41456219680066525712009-09-03T09:44:00.000-07:002009-09-03T10:04:04.429-07:00How to get protobuf-c compiled for linking to PHP extensions under OS XI'm writing a PHP extension at the moment that uses the C variant of Google protocol buffers - <a href="http://code.google.com/p/protobuf-c/">here</a>. Unfortunately the PHP build I'm using uses 32-bit code for the commandline php, but 64-bit when running under apache. Here is the magic recipe.<br /><br /><br />First, build the standard C++/Java protocol buffers code<br /><br /><pre><br />jons-macpro:protobuf-2.1.0 jmeredith$ cat BUILDIT <br />ARCH='-arch i386 -arch x86_64' <br />./configure --prefix=/Users/jmeredith/Applications/protobuf CFLAGS="$ARCH" CXXFLAGS="$ARCH" --disable-dependency-tracking && \<br />make && \<br />make install<br /></pre><br /><br />Then build protobuf-c which uses protobuf<br /><br /><pre><br />jons-macpro:protobuf-c-0.11 jmeredith$ cat BUILDIT <br />## Make sure protoc is in your path or this will die<br />ARCH="-arch i386 -arch x86_64"<br />./configure --prefix=/Users/jmeredith/Applications/protobuf-c \<br /> CXXFLAGS="-I/Users/jmeredith/Applications/protobuf/include $ARCH" \<br /> CFLAGS="$ARCH" \<br /> LDFLAGS="-L/Users/jmeredith/Applications/protobuf/lib" \<br /> --disable-dependency-tracking && \<br />make && \<br />make install<br /></pre><br /><br />Add this to the extension config.m4<br /><br /><pre><br /> dnl # protobuf-c<br /> if test "$PHP_PROTOBUFC" != "no"; then<br /> PHP_ADD_INCLUDE($PHP_PROTOBUFC/include)<br /> PHP_ADD_LIBRARY_WITH_PATH(protobuf-c, $PHP_PROTOBUFC/lib, MAGNETO_SHARED_LIBADD)<br /> fi<br /></pre><br /><br />And finally, to build your PHP extension<br /><br /><pre><br /> phpize<br /> CFLAGS='-arch i386 -arch x86_64' ./configure --enable-yourextension --with-protobufc=/path/to/pb-c && \<br /> make && \<br /> sudo make install<br /></pre>Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-89995804733470728592007-11-28T06:55:00.001-08:002007-11-28T06:55:38.487-08:00Star Wars Ascii ArtI'm writing it here lest I ever forget this gem. Telnet to towel.blinkenlights.nl for the show...Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-66842453518743304322007-09-24T12:27:00.000-07:002007-09-24T20:09:03.882-07:00Debugging .NET HTTPS appsWe're currently going through a security audit at work hardening a third party application. One of the improvements is to switch from HTTP to HTTPS which makes verifying the rest of the changes is tricky.<br /><br />The way I did it was to download/installed Fiddler (http://www.fiddlertool.com/) which is an inspecting proxy. I followed the instructions to enable https decryption, and told Windows to trust the fiddler root certificate (Moved from Personal->Certificates to Trusted Root Certificate Authorities->Certificates).<br /><br />Checked IE worked and it was fine, then I modified the application.exe.config file under the Docs and Settings\user\Local Settings\Application Data\Vendor\App and added<br /><br /><pre><br /><configuration><br /> <system.net><br /> <defaultProxy><br /> <proxy proxyaddress="http://localhost:8888" /><br /> </defaultProxy><br /> </system.net><br /></configuration><br /></pre><br /><br />I thought I was being very clever, but it turns out I couldn't get it to work. So I switched to using HTTPS instead.<br /><br />Fiddlertool is pretty cool though :)Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-4718027330891096112007-09-17T07:27:00.001-07:002007-09-17T07:28:04.670-07:00Dora the Explorer World Adventure workaroundMy daughter was heartbroken when we bought this cheap and it didn't work under IE7, so with a little investigation I came up with this workaround rather than 'downgrade to IE6' as Activision recommend.<br /><br />Download the 'standalone' IE6 from http://browsers.evolt.org/?ie/32bit/standalone <br /><br />Uncompress it into C:\Program Files\Activision Value\Dora World Adventure <br /><br />Then bring up a command prompt (Start -> All Programs -> Accessories under Windows XP) and type <br /><br /><pre><br /> cd "C:\Program Files\Activision Value\Dora World Adventure" <br /> copy IEXPLORE.EXE.local DoraAdventure.exe.local <br /> exit <br /></pre><br /><br />And voila, it should just work. I'd expect this would work for any of your games that rely on IE6 for their presentation engineJon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com4tag:blogger.com,1999:blog-3570885716697084144.post-20174074588410297092007-09-17T07:24:00.000-07:002007-09-17T07:25:15.390-07:00iptables rules to lock out multiple failed ssh attemptsTwo simple lines to run at boot:<br /><pre><br />iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set &<br /><br />iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --update --seconds 60 --hitcount 4 -j DROP &<br /></pre>Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-58572935843019661882007-08-13T20:31:00.000-07:002007-08-13T21:19:15.989-07:00Minimal Debian 4.0r0 install on VMWareDid the install and unchecked all uses except 'base system'. To install the VMware tools, had to add the following packages<br /><br /> psmisc - for killall<br /> linux-headers-`uname -r`<br /> gcc (with deps binutils, cpp, cpp-4.1, gcc-4.1 libssp0)<br /> make<br /><br />Accepting the defaults for vmware-config-tools seemed to do the trick. Except for the HGFS module - that didn't load on reboot.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-64017676650588693212007-04-20T11:39:00.000-07:002008-12-10T05:14:05.407-08:00Dualboot VMwareI got fed up with running out of disk space so I stuck an old EIDE disk (PATA?) in my Dell to stick my virtual machines on (using the advice from the previous post).<br /><br />Having two different drive types worked out well. I want to play with Xen when I get a chance, so I thought I'd try setting up CentOS 5 for dual-booting and for running inside a VM when I'm running Windows.<br /><br />After a quick read of the old docs for VMware 4.5 I found by Googling (http://www.vmware.com/support/ws45/doc/disks_dualboot_ws.html) I created a custom machine configuration that exposed the physical disk to the virtual machine.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEWcx_LXXVX418KlIiC5AZbZ49mKGUrvXinfTZh_YRYyLsLGZIh0IfPoes4-QQRyciF1FJpYMSpC7kqNtCalAaZhZ8I8myKHu38bCfYFTpk0xOArhIjbhMHQjI30rT1JsCLTVmkp38un31/s1600-h/centos5config.PNG"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEWcx_LXXVX418KlIiC5AZbZ49mKGUrvXinfTZh_YRYyLsLGZIh0IfPoes4-QQRyciF1FJpYMSpC7kqNtCalAaZhZ8I8myKHu38bCfYFTpk0xOArhIjbhMHQjI30rT1JsCLTVmkp38un31/s320/centos5config.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5055584033059529666" /></a><br /><br />Installed CentOS using VMware (because I couldn't get my machine to boot of the DVD-ROM for some reason) without a hitch, rebooted and hit F12 for the boot menu, selected the Master Primary IDE disk (rather than the SATA Master) and it booted right into CentOS.<br /><br />There are a couple of issues to resolve - the graphics and audio drivers change depending on which environment CentOS is booted in. I need to add something to the init process to switch around the configuration files depending on the boot configuration. I suppose there could be a mechanism built into the OS...Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-67861787645663907022007-04-12T07:48:00.000-07:002007-04-13T05:56:59.581-07:00VMWare Workstation TweaksI found a useful little article on VMWare disk performance<br /><br />http://www.virtualization.info/2005/11/how-to-improve-disk-io-performances.html<br /><br />It recommends disabling anti-virus auto-scanning of the VMDK and VMEM files - I also followed the .ISO recommendation as I attach a lot of them for installation/liveCD testing.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-82314054791121048522007-04-10T21:11:00.000-07:002007-04-10T21:15:13.544-07:00Wot no updatesSo much for blogging - haven't updated this in weeks. I'm working on a couple of projects - replacing my phone service with Asterisk running on my Linksys router and I'm toying with integrating Bacula with the Amazon S3 service so I can stop worrying about backups.<br /><br />I'm also trying out the CentOS 4.92 beta. Running the hgfs driver for shared folders with SELinux enabled caused the kernel to panic. Once I disable it, it worked fine. 'dmesg' had an error in it about hgfs not supporting labelling so I thought I'd get rid of it.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-76562262113925111462007-02-06T13:24:00.000-08:002007-02-06T13:26:37.992-08:00SQLServer 2005 trigger debuggingThey've removed the T-SQL debugger in SQLServer 2005. Luckily I have 1 day left of my Visual Studio 2005 trial.<br /><br />The way to debug a trigger is to create a stored procedure that exercises the trigger (mine just did an update on the table), set a breakpoint in the trigger where you want, and then step into the *stored procedure* by right clicking on it. Bobs your uncle, VS grinds away and you get to your breakpoint (eventually).Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-57271799412784026722007-02-01T13:31:00.000-08:002007-02-01T16:39:52.458-08:00Fedora setupOk, on to setting up FC6. I've installed the base FC6 and picked out the development and MySQL packages. On configuration, I disabled the firewall and SELinux during testing. We'll decide what do about those on deployment.<br /><br />Next I instaled the VMware tools (thanks for the mouse pointer help here http://www.thoughtpolice.co.uk/vmware/howto/fedora-core-6-vmware-tools-install.html and the vmxnet diver help here http://www.vmware.com/community/thread.jspa?messageID=556834).<br /><br />To make sure the two are synchronised I'm planning to setup NTP on the second node pointing to the first one (I found instructions here http://wiki.novell.com/index.php/SUSE_Linux_Enterprise_Server) - but I want to get MySQL configured and running on the master first before I clone the system.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-58085092670245584712007-02-01T11:43:00.000-08:002007-02-01T11:47:48.082-08:00Testing MySQL ClusteringAt work we're setting up a pool of LAMP servers and they will need some persistent storage. We're using MySQL in house for our other relational needs so I'm having a go at getting a 2-node high-availability/shared nothing/load balanced database cluster working.<br /><br />I can't access the actual hardware yet, so I'm playing in a couple of virtual machines. The first step is to get them installed and stick MySQL on there. The LAMP servers are all using FC6 (for better or worse - maybe CentOS would have been better) so I'll use that. First step, getting the first node working so I can clone it and try out replication.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-61926153406994688182007-01-28T19:32:00.000-08:002007-01-28T19:45:20.177-08:00Built myself a packet snifferI had an old Pentium IV 2.0Ghz sitting around with 256Mb of broken RAM and after pondering what to do with it, I decided to build a packet sniffer. I got the machine very cheap ($20) because it's previous owner couldn't understand why it kept crashing. Running memtest86 found problems with the 0x0105cxxx addresses so I decided to stick a copy of Fedora Core 6 on it and add the BadRAM patch (http://rick.vanrein.org/linux/badram/) - which was harder than expected. I tried installing with a 'mem' limit under the threshold (about 80Mb), but it wouldn't install, so I ended up pinching some working memory out of a different system to build it. Building the kernel RPM took a long time and I think the BadRAM patches conflict with some of the others in the Fedora SPEC file as I had to manually tweak one of the files between the prep and build stage to get it to work. I'll dig deeper next time Fedora release an SRPM for the kernel.<br /><br />Anyway, I eventually got the kernel build and installed with the BadRAM parameters set correctly (so now I have 256Mb-12kb memory available) and it runs like a charm. I put a couple of extra NICs in the machine, installed Wireshark/ntop and then stuck it between my Cablemodem and my WRT-54GS to see what was coming over the wire. I left Wireshark capturing packets overnight to find out and the answer is - a lot of ARP packets. I got 60Mb of them and very little else sent over my cable modem in 8 hours. The next step is to work out why....Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-7647368236293665702007-01-24T14:14:00.000-08:002007-01-24T14:15:53.807-08:00openSUSE 10.2 and VMWare WorkstationI'm interested in comparing openSUSE and SLES so I've installed openSUSE 10.2 under VMware 5.5.3. To get it to work I had to use the text mode installation (I think it was either F2 or F3 then choose text mode). After a few false starts in graphical mode, that fixed it.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0tag:blogger.com,1999:blog-3570885716697084144.post-45907489835060852722007-01-24T14:12:00.000-08:002007-01-24T14:14:01.763-08:00My brain dumpIt seems like I keep losing notes I make about everything, so I thought I'd try keeping it in a blog - like a lab notebook, but searchable.Jon Meredithhttp://www.blogger.com/profile/11672733233082520804noreply@blogger.com0