Birthday
Posted on December 9th, 2004 in by jud || Add A Comment
Today I am officially one year away from being halfway on my journey from 30 to 40 :)
Posted on December 9th, 2004 in by jud || Add A Comment
Today I am officially one year away from being halfway on my journey from 30 to 40 :)
Posted on December 8th, 2004 in by jud || Add A Comment
I’ve decided to use Movable Type to power my weblog. Although pyblosxom was nice, it wasn’t as fully-featured as other blogging software, adding those features took up too much time. I’d much rather just set it up and let it run. Also, I’m interested in TrackBacks and other blog featuers which I barely even understand, but which seem very useful. So hopefully MT will allow me to focus more on the content, and less on the software. This also means that the
atom and rss feeds should work now.
Posted on December 8th, 2004 in , by jud || Add A Comment
I just got an email from a friend who wanted some gift suggestions for a photographer friend. The friend is getting a new digital camera, and so here’s my list of recommended accessories (really doesn’t matter which brand of camera. The books are tailored more towards my [specific interests](/photo), but the other accessories should apply to almost anyone who is a serious digital camera enthusiast.)
### Gadgets
* Extra battery (extended life – check out the batterybarn.com).
IMO this is the single most important accessory, because when your battery runs out, you have an expensive brick slung around your neck for the rest of the day
* high-capacity memory cards (1GB is fine. Get more than one if you want more
capacity. 2 or 3). Otherwise, there’s too much risk of losing ALL your pictures
on a trip if the card goes bad/gets lost. It takes only seconds to change a
card.
* additional flash. I have the canon speedlight 550, which is a high-end
model (and only for canon!) but any external flash can make a huge difference
when taking indoor (or outdoor) pictures.
* Camera bag (lowprowe or tamarac) These can be somewhat difficult to
select, since there’s a huge variety and it depends greatly on what you will be
doing. I have the lowprowe photo trekker, which I got because I wanted space
for camera gear + space for lunch and other stuff. It works well when I need to
be hiking, but I wish I’d gotten the all-weather model. It does not work as well for in-city use or anywhere where the distance between stops is short and I need to repeatedly get access to various lenses and/or equipment.
* battery charger that will work in car/home. Sometimes these come with the
camera. I have the lenmar mach 1, which is a rapid charger and I just keep it
in the car.
* USB2/firewire card reader (+ usb/firewire card if your computer doesn’t
have it already)
* Photographer’s vest. I’ve used a number of these and am not super excited about any of them, but they are VERY helpful for outdoor photography.
* Tripod (these are somewhat difficult to buy, so let me know if you get
down this far and I’ll tell you more :) I now use the Slik 400X pro
### Photography Books
* National Geographic Photography Field Guides (various topics)
* John Shaw’s books (landscape and nature)
* Kodak Guide to Shooting Great Travel Pictures
* [Seeing Landscapes: The Creative Process Behind Great Photographs](http://www.amazon.com/exec/obidos/tg/detail/-/081745831X/qid=1103186130/sr=8-2/ref=sr_8_xs_ap_i2_xgl14/102-8358822-0451332?v=glance&s=books&n=507846)
* Learning to See Creatively by Bryan Peterson
### Photoshop Books
* The Photoshop bible – BIG but good
* Photoshop CS Artistry (advanced techniques, very dense and dry)
I really can’t recommend any short photoshop books. The Adobe classroom in a book series, and studio techniques series are both very good,
but they are pretty dry.
UPDATE 2004-12-23
After some consideration, an extra memory card is probably the most important
extra item, since cameras typically come with a tiny memory card (or none at all).
The amount of space on your cards directly limits how many pictures you can take without
access to a computer to offload your images. This is especially critical on longer trips where
you might not have access to power (or your laptop). Most modern cameras have file sizes
between 0.75 and 3 MB for highest quality jpeg, and larger if your camera has a RAW
mode.
If you’re using anything but the maximum settings, you should be taking pictures that
you really don’t care about or potentially want to blow up to large sizes.
So if you get a 32 MB card with your camera, that’s a max of about 50 pictures.
Not so great for your 3 day trip to that *amazing
place*. That’s why I recommend a 512MB – 1GB card.
I purchased a portable
hard drive (10GB model) from a company (minds@work) that is now out of business.
That is very useful in the field since I can copy the images from my CF card to the
mindstor. The mindstore is small enough to keep in my camera bag, unlike a laptop,
and very simple to use. For anyone who wants to go on long trips, and doesn’t want to
carry a laptop, I’d recommend something similar. (In my case, I use both the mindstor
AND a laptop so I have two copies of my images, just in case) Belkin and a number of
other companies make these portable storage devices, some of which are quite advanced
with color displays for previewing your images, etc… However, with the price of memory
cards dropping, it might make more sense (particularly if you already have a laptop) to
just get 3 or 4 GB of memory cards instead. Although you don’t get as much storage for
your money, it’s a lot easier to switch cards than to download your card into the device, plus
you have a backup if one of your cards dies.
Posted on October 28th, 2004 in by jud || Add A Comment
I’ve fixed up the RSS feed, so it should be working. Still no
atom feed yet. :(
Posted on October 28th, 2004 in by jud || 1 Comment
slamm showed me a cool trick with Firefox that I didn’t know. Firefox
allows you to save a bookmark as a shortcut that will accept variable
substitution. It’s more difficult to describe than to do, but here’s the
scoop. If you have a site that you need to enter in some text to get search results, then
there’s a good shot you can create a keyword shorcut.
For example, bugzilla has a user query form /buzilla/edituser.cgi. This
form accepts a single parameter, a userid, and displays information
about users who match. If you are a bugzilla administrator (as I am),
this is a page that gets used frequently. Rather than clicking on my
bookmark, clicking to the form and then hitting submit, I can simply
create a keyword shortcut so that when I type “bzu jdagnall”, I get information about user *jdagnall*.
But since most of you don’t use bugzilla, I’ll give you an example of how we would create a shortcut for the IMDB, the Internet Movie DataBase.
The IMDB has a search engine that can be used to get information about movies. Instead of having to click on my IMDB shortcut and then
go to the search box, type in my search terms and then hit the “search” button, I can simply create a keyword search called “imdb” and type
directly into my browser from ANY page.
In order to make a shortcut, we need to get a URL that is used to generate some results. Typically, we can do this by modifying an existing results
page. So when we’re done, we’ll be able to type “imbd donnie darko” into the browser’s URL bar, and immeditely get a search results from the IMDB about
the movie *Donnie Darko*.
Here’s what you do:
1. Go to the [IMDB](http://www.imdb.org)
2. Type “darko” into the search box, and hit “search”. This gives a search [results page](http://www.imdb.com/find?q=darko;tt=on;nm=on;mx=20) that
we will use to create our special keyword search. It’s typically *much* easier to start with a valid search results URL than to try to figure out the correct
syntax on our own.
3. Create a new bookmark from the page.
4. Right click on the bookmark you just created, and select “Properties”. (You could also use the “Bookmars” sidebar)
5. Edit the URL, replacing “darko” with the string “%s”. This can be a little tricky. Typically, the browser must
encode special characters like the space (which becomes a “+”, or “%20”), so be try to use only a single word as a search term when you’re building your keyword shortcut.
Sections of the URL are typically separated by the & symbol, you’ll want to leave that.
> http://www.imdb.com/find?q=donnie;tt=on;nm=on;mx=20
becomes
> http://www.imdb.com/find?q=%s;tt=on;nm=on;mx=20
Firefox will replace “%s” with anything you want, and then run the search and show you the results.
6. Once you have added “%s”, create a name for your keyword search (“imdb” in this case) and use the “keyword” field to record it.
7. Close the bookmark.
8. Now you’re ready for a new search.
9. Click on the Location Bar in firefox (or press CTRL-L) and type **imdb two towers**
This should bring up a search that includes the movie *The two towers*
Add in the “Location Bar” keyboard shortcut (Alt-D or CTRL-L) and you can really fly:
Just type:
> CTRL-L imdb suburbia [enter]
And you’ll find a strange but very cool movie from the early nineties. This is how the various Firefox search shortcuts work, like typing “goog
some special word” and getting a google search for “some special word”. I
just never realized this, or dug around enough to modify any of them on my
own. Very cool!
Posted on October 27th, 2004 in by jud || Add A Comment
Unfortunately, it looks like my RSS and Atom feeds are now broken.
I’ll work on getting them back up soon.
Posted on October 27th, 2004 in by jud || Add A Comment
I have posted
Sand & Tufa #1,
the third shot from my
Mono Lake Summer ’04 collection.
This was taken very close to
Big and Small, a mile or so beyond the Navy Beach Tufa area.
Posted on October 26th, 2004 in by jud || Add A Comment
I’ve posted a new photo,
TufaFortress, a new photo in my Mono Lake Summer ’04 collection.
I spent two evening at the South Tufa Preserve, and this was my favorite from the lot. I used a polarizer, creating a
little more drama in the clear sky.
The full title to this picture should be “Waiting at the gates of the tufa fortress”. Perhaps you can see why.
Posted on October 26th, 2004 in by jud || Add A Comment
That didn’t take long. 24 hours later and I’ve switched to using python and
pyblosxom.
I’d looked at pyblosxom originally, but decided to use the perl version
instead since it appeared to have more plugins. However, I’d much rather
be working on python code, and after a closer look, I saw that pyblosxom
appeared to have all the plugins I really need.
Unfortunately, the pyblosxom setup was much more complex. Fortunately, all
the data is compatible. Here’s what I did to switch from blosxom to pyblosxom:
$ tar xzvf fn.gz # replace fn.tgz with the appropriate filename
$ python2.3 setup.py build
$ cd pyblosxom-1-0-0 $ python2.3 setup.py install --home $HOME
Now I have a ~/lib, and pehaps a ~/bin and ~/share directory. The
share directory can be discarded, since I just install the files from
the extracted tarball directory.
So I set:
py["codebase"] = "/path/to/my/home/lib/python"
$ cp web/pyblosxom.cgi $DOCROOT/pyblosxom.cgi $ cp web/config.cgi $DOCROOT/public_html/config.py
That’s it. I moved pyblog.cgi to blog.cgi, and now pyblosxom is the default
engine. Next on my todo list is to install the reStructuredText plugin,
because I HATE hand-coding xhtml.
Posted on October 25th, 2004 in by jud || Add A Comment
As night closed in, the tufa
took on an alien character, and I was struck by the feeling that I was in a
cemetary…
This is the first image from my April trip to Mono Lake.
Posted on October 25th, 2004 in by jud || Add A Comment
I have just released a new version of the site, based on the PHP templating
engine Smarty.
Smarty is co-authored by my
friend, core PHP devloper, and coworker at Yahoo!,
Andrei Zmievski.
I’ve also changed the design and layout a bit, and moved this blog
into the main site instead of my demo site.
Posted on October 24th, 2004 in by jud || Add A Comment
When I switched to the new PHP version of my site, I began to see a strange
problem: Google was no longer indexing my site on a regular basis. My site
would go from being #1 in a search for “Jud Dagnall” to somewhere down in the
second page with only a reference to an old guestbook page. However, every few
months it would jump back up. Yahoo was giving the results correctly (at least
for MY version of correct, since all the other Jud Dagnall references were
indeed about me!). So I’ve been a bit puzzled. Finally, just this morning I
came across a page
that describes the problem and suggests a solution.
In a nutshell, he suggests that the problem is that apache wasn’t associating
php with text/html content type requests. Here’s his fix: Add the
following to the apache config file:
AddHandler php-script php AddType text/html php
However, this does not seem to work for me. When I put it into a .htaccess
file, only part of my page renders. Furthermore, I am not able to
reproduce the bad behavior:
$ curl -S -H "Accept: text/html" http://www.dagnall.net
This attempts to retrieve the header for a page, only accepting text/html
content types.
However, the page renders correctly, and I get text/html returnethe text of the php page is returnedd. I can request ANY content
type, and it still returns text/html.
I’ll need to investigate further.
Posted on October 24th, 2004 in by jud || Add A Comment
As the first step in yet another site upgrade, I’m trying out the blosxom software. I’m not too happy about
using perl again on my site (I’m trying to use PHP and python for everything
these days), but I’m very happy about a simple plug and play setup. However,
since I’m already using PHP to generate my page layout, the hassle of
combining perl and php components may be too much.
Posted on July 8th, 2004 in by jud || Add A Comment
An interesting entry from Shane Hathaway’s blog about testing your harddrivespeed under linux
Shane Hathaway of Zope fame writes in his blog about testing our harddrive speed, and how a gigabit ethernet connection might be faster than your HD. Test it under linux as root:
# hdparm -t /dev/hda
Posted on July 6th, 2004 in by jud || Add A Comment
As night closed in, the tufa took on an alien character, and I was struck by the feeling that I was in a cemetary…
This is the first image from my April trip to Mono Lake.