A (novel?) twist on looking up Mozilla (or other) bugs

Tags: — Jeff @ 14:13

If you follow Mozilla stuff much, you probably do a lot of reading of bugs; if someone passes you a an unseen bug number, you’ll probably want to view that bug. (Of course, the Awesomebar’s suggestions make revisiting an old bug significantly easier than with Firefox 2 or with other browsers, so this trick’s much less applicable to already-seen bugs.) Here follows a few ways to do this, including one that I suspect very few people, if any, have ever used.

Method #1: You already know it

The simplest way is to type:


…followed by the bug number. It’s a bit slow. Copy-pasting helps, but you have to re-seed the clipboard every time and possibly delete a bug number, if you’re pasting from a previous bug viewing.

Method #2: Use a bookmark keyword

Setting up a bookmark keyword can reduce the bug URL prefix to a few characters. First, load the following URL and bookmark it:


Then open up Bookmarks < Organize Bookmarks…, find the new bookmark, and edit its properties. After selecting the More expansion triangle at the bottom of the window, type something like “b” in the Keyword textbox. From now on, typing b <bugnumber> in the location bar will open up that bug by loading the bookmark with %s replaced with whatever you typed as <bugnumber>. Repeat visits won’t require this as the bug will already be recognized by the Awesomebar (so hitting down a few times followed by Enter will bring up the bug again), but it’s still handy for first-time visits.

Method #3: keyword.URL

Is this as far as we can go? Can we reduce the typing any further in the new-visit case? I doubt many people have considered this, but the answer’s actually yes.

I assume most avid bug-followers already knew about bookmark keywords; after all, they date back at least to the Mozilla Suite. Keywords are a somewhat less-known functionality triggered by typing search text in the location bar and hitting Enter. Assuming you’re using something like the default setting, typing search terms in the location bar triggers a Google search using a URL specified as a hidden preference, and the search terms are tacked to the end of that URL.

What if we changed this URL to something other than Google? Particularly, what if we change it to recognize bug numbers and “fall through” on everything else? Here’s a URL which will do just that:

data:text/html,<title></title><script>onload=function(kwd){kwd=document.getElementById("text").textContent;location.replace((/^\d{1,6}$/.test(kwd)?"https://bugzilla.mozilla.org/show_bug.cgi?id=":"http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=")+kwd);};</script><span id="text" style="display:none">

You’d use this, of course, by typing about:config in the location bar, clicking through the nanny screen, typing keyword in the filter box, double-clicking the keyword.URL preference, and pasting the above URL in the dialog box.

I’ve been experimenting with this for a couple days, and it’s clear it isn’t quite optimal. There’s a noticeable pause between this URL loading and the redirect to the bug happening that the keyword.URL syntax makes unavoidable, it hardwires the fallback keyword URL, it offers only one Bugzilla (if you happen to follow multiple Bugzillas regularly), and it’s less elegant than the bookmark keyword solution. However, it does avoid a few characters, which might balance out the delayed load time; I don’t have the long-term experience (or ability to override significant bookmark keyword muscle memory, yet) to say for sure.

This last idea isn’t perfect, but perhaps people other might find it useful.


Glencliff, NH to Norwich, VT: Beware of Tourists!

Tags: , , , — Jeff @ 15:38

A few things I forgot from the last post (delay from event to post strikes, as does a failure to keep notes of remarkable things):

  • I had the most awesome conversation ever with a northbounder yesterday while descending Moosilauke:

    […as I see him approaching from down the trail…]
    Me: Northbounder?
    Him: Yep.
    Me: Good stuff.
    […as we’re passing…]
    Him: Southbounder?
    Me: Yep.
    Him: Good stuff.

    What’s not to love? You can’t possibly get any more concise without losing something doing so.

  • A half gallon of Hershey’s ice cream (from Hershey Creamery Company, which astoundingly isn’t affiliated with the chocolate company, although I’d be surprised if most people eating the ice cream knew it) contains 16 servings, each with 140 calories, for 2240 calories total. I think it would be awesome if they collaborated with Mars and made a Milky Way ice cream, just for the sheer cognitive dissonance of it.

Now on to the usual updates…

July 19

(14.7; 413.2 total, 1760.8 to go; -0.3 from pace, -201.8 overall)

I wake up fairly late and pack up my things. On my way out the hostel owner mentions two things. First, make sure to check out the “penta-style” (the Companion’s description, contrasted with the more normal “mouldering”- or “composting”-style privies) privy at Hexacuba Shelter (my intended target for the day). The second is that there’s a hiker festival in Bennington, VT on August 1 with free food, and when I say free I mean “free as in beer”, and if you think that phrase might have more than one meaning, it indeed does, and both apparently apply! Bennington’s at 577.9 miles from Katahdin, so that’s perhaps 180 or so miles from where I am now. If I attend it’ll mean punting on recouping pace until August; for now I choose to punt a different decision — whether to attend — and see how the hiking goes between now and then. I’m supposedly on the hiker highway now and should be able to hike further and faster, but the delta is still a big unknown.

After packing and heading out, I drop by the post office that’s just across the street and send off more gear I don’t want to carry any more: a hat I’ve only worn because I remember I’m carrying and haven’t worn it recently, pants (rain suit and/or fleece, can’t remember which), and one or two other things. I stop by the nearby pay phone and call home for a bit, then it’s back on the trail at 12:28 for a day of hiking.

The view from my lunchtime outlook onto a lake below
The view from my lunchtime outlook onto a lake below

First stop is an early one for lunch by a small overlook that’s nothing compared to anything in the Whites or before, really. That doesn’t stop the trail maintainers, the Dartmouth Outing Club, from putting up the most incredibly awesome sign saying, “Beware of tourists” by it anyway! (I have a picture of it I’ll post eventually.) Here’s said picture:

A sign saying "SCENIC VIEW, BEWARE OF TOURISTS"; someone has scrawled "Stupid college kids" on it as well
Epic win in signage

I love these guys; the AMC (Appalachian Money Club, natch) felt moneygrubbing and impersonal, and MATC felt somewhat perfunctory in its duties (if reasonably well-performed, modulo the ability to construct switchbacks or bridges over large streams or boardwalks through swamps), but these guys feel like they enjoy what they’re doing. I’m not entirely surprised; one sign atop Moosilauke gave a mileage figure to the post office in Glencliff, a move clearly catering to the needs of thru-hikers, and trail junctions often point out A.T. north and south (a problem in the maze of twisty trails that was the Whites).

While I’m at the overlook I meet another southbounder named Sweet Sweet, hiking from somewhere north of Glencliff that day. I head on while he stays longer at the overlook.

I’m running pretty low on water when I get to the first shelter south of Glencliff, Ore Hill Shelter (the area’s actually a bit contaminated from the operations there in the past, with signs saying where not to stray to avoid problems), and I stop to fill at the puddle there. It really basically is a puddle, although it seems to be fed somehow. A frog jumps out of the pool when I fill up, and due to dehydration I wait the necessary twenty minutes at the shelter to have a liter to chug and promptly refill before heading out again.

Going south, it’s awesome how easy the hiking is. Terrain’s mostly flat, no huge winds or tricky rocks to navigate — worst is a stretch of trail that I have to run through to avoid mosquitoes, really. I reach Mount Cube just as it’s getting dark and take a few shots of the sunset; if they’re anything like the pictures I’ve tried to take since, they’re not that great. This camera is about as bare-bones a digital camera as you can get: no zoom, no ability to deal with light and dark in the same picture (kiss super skyline shots goodbye), really inadequate all around.

A pale pink and purple sunset from atop Mount Cube
A pale pink and purple sunset from atop Mount Cube which, incidentally, turned out significantly better than I expected from the on-camera preview
Clouds among the valleys as seen from Mount Cube
Clouds among the valleys as seen from Mount Cube

The camera’s original intended purpose was for purely indoor, close-range photography without a need for true detail (photographing completed Scrabble games at tournaments to avoid needing to exactly record moves, to be precise), so I shouldn’t be surprised it underperforms here.

360 degrees atop Mount Cube

Just after the summit, on super-slick rocks where my poles are useless if they’re slanted any amount at all, Sweet Sweet catches up to me, and we walk the remaining couple miles to Hexacuba Shelter mostly in the dark with only my meager flashlight for assistance. I’d considered making dinner when I got in, but there are other people in the shelter and I’m tired anyway, so I go to sleep.

July 20

(12.0; 425.2 total, 1748.8 to go; -3.0 from pace, -204.8 overall)

I wake up fairly late by hiker standards and am able to take a first look at the shelter where I slept the past night. Every other shelter I’ve seen so far has been a variation on the three-sided theme with perhaps a second floor or a skylight for variety and some manner of support for cooking and eating. This shelter is just bizarre. Its base is a regular hexagon; four adjacent sides are walled, with the remaining two open for entry and exit. The roof is a hexagonal pyramid, with a central beam going to the top. The shelter floor is a few feet above the ground, so you can sit and let your feet dangle as you cook or do whatever. Of the shelters I’ve seen so far (future-me speaking, over 80% down the trail), it’s by far the most unusual. The privy (“penta-style”, if you recall) is standard fare but has a pentagonal base. As a reminder, this is all right next to Mount Cube. Have I said how much I enjoy the DOC’s trail maintenance yet?

Today’s start is rather slow, and by the time I’ve eaten breakfast it’s raining; I take a look for the register and find a section of the seventh Harry Potter book in the shelter, and of course I’m sucked into it as I don’t really want to hike in the rain. The section is from Malfoy Manor to the first page inside Hogsmeade, some fun reading. About 10:30 or so I finish and reluctantly head out into the water.

I’d originally hoped to get to Moose Mountain Shelter today, around 18 miles south, but the late start and the rain slowly nix that idea. I stop for lunch at the Firewarden’s Cabin about five south, eating on a porch out of the rain. I also fill up water bottles; there’s a trail to a source, but it’s so rainy and wet that I only get perhaps halfway there when I have to walk over several large puddles. Rather than do that, I just scoop the water out of the puddles with my bottles — with my water purification system (iodine crystals which diffuse into a glass bottle of water, then add the resulting solution to impure water and wait twenty minutes), I don’t need to worry about filtering or wasting my time in the rain. I’d highly recommend Polar-PUR iodine for anyone considering water purification systems; one bottle’s something under $20 and will last for years (I doubt I’ve used half the crystals in mine over four months of hiking). There is the matter of the taste, but if you can get over that the stuff’s awesome.

It continues raining as I head further south, but I now have a goal in mind. It turns out there’s a guy slightly off the trail south of here who gives ice cream bars to hikers when he’s home! You can also fill up water bottles from a hose, so much nicer than drinking water with iodine in it. It’s stopped raining by the time I reach the hundred-foot side trail to his house; I don’t see anyone home, but as I fill up my water bottles the man walks up from a short hike up the mountain to the south. He gets me an ice cream bar and asks a series of questions: trail name, home town, age, what sort of hike (thru, section, day, etc.) I’m doing. He says he’s been recording this information for several years now; for several years now, the median age of hikers who stop by is 26. He also mentions that it rained around three inches today — yikes! It’s getting to be late afternoon now, so I continue south just another mile to Trapper John Shelter.

I end up spending the night at Trapper John Shelter with four companions. Milkshake and Monty are a Dartmouth graduate and her dog, out for a backpacking trip during the summer when classes aren’t in session (she’s a teacher). The other two are Pickle and Ragdy Andy, two northbound brothers who, as I discover further south on the trail, hail from Israel. The shelter’s nice and comfy for the night, and I head to sleep planning to reach Hanover and Dartmouth or thereabouts tomorrow.

July 21

(15.2; 440.4 total, 1733.6 to go; +0.2 from pace, -204.6 overall)

Typically I compile these entries by looking over the list of trail features in the Companion to jog my memory, then add anything I remember from those features. As I look back at the schedule today, I really don’t remember much of anything. I stopped at the first shelter south, Moose Mountain Shelter, and spent some time reading some printouts of A.T. history, while eating lunch.

Welcome signs for Moose Mountain Shelter, clearly crafted by hand with a router, with a few rough illustrations of the lay of the site
Welcome signs for Moose Mountain Shelter, clearly crafted by hand with a router, with a few rough illustrations of the lay of the site

I also believe I noticed an entry in the register from Frog, a northbounder I met in the spring (at the same time I met Chef) during my little loop over spring break; it seems I’ve missed seeing him, alas.

A sign recognizing Moose Mountain's south peak, with the elevation 2222 feet in four different colors
The four-colored sign recognizing Moose Mountain is yet another example of DOC awesomeness

It’s getting close to six or so by the time I reach Velvet Rocks Shelter, just 0.8 miles north of Hanover. Most people don’t stop here; Hanover’s close, and I hear several fraternities offer space for thru-hikers to stay. It’s late enough, however, that I don’t feel like taking my chances on finding a cheap spot in town, and in any case, this shelter’s awesome! It has a clear plastic roof, and the register is full of entries from people talking about sitting in sleeping bags overnight watching bats fly overhead. I get water after a considerable walk to the source north of the shelter (off the A.T.), eat and head to sleep.

July 22

(7.3; 447.7 total, 1726.3 to go; -7.7 from pace, -212.3 overall)

I take it nice and easy this morning, as I intend to take a slow day through Hanover. After breakfast and signing the register (populated primarily with Dartmouth student entries — I make a pitch to them to not start work immediately after graduating to take advantage of college loan deferments and the largest block of free time and physical fitness they might ever have again), I head into town.

First stop is the local grocery store for resupply. It has everything I could want, but it’s not especially cheap. I pick up a few yogurts, which ostensibly fight the bad side effects of continuing use of iodine for water purification, 2.5 pounds of cherries, a bunch of Granny Smiths, and a loaf of raisin bread as things to eat before I leave town. Unfortunately, I didn’t look too closely at the price of the cherries — they constituted $15 of the full $60 bill. :-\

Next stop is the library, where I work some on updates here and start to record mileages each day in drafts so I can see how far off pace I am. Conveniently the computers aren’t in demand, or else I’d have had much less time to use one than I did. I linger inside for awhile before returning to the heat outside to finish off the cherries and bread.

The pack cover I’ve been using so far, which I’ve had since my first backpack as I recall, is pretty horrid. I’m not really sure it even works at all, and its form was designed for an external-frame pack (a very rare sight on the trail these days; strange how much that’s changed in the last ten years or so). The first outfitter in town has none, so they direct me to another. This one has pack covers, but strangely enough the smallest one they have is too big for my pack, which is itself far bigger than it need be for hiking the A.T. (once I removed the superfluous gear, that is). I depart pack-cover-less and head for an unplanned stop at Ramunto’s, a pizza place down the street. Word on the street is that they give a free slice of za to thru-hikers! I arrive, partake (along with a draft Guinness, partly because it Is Good and partly because it’ll help offset the cost of their generosity), and sign their register.

The last stop in town is for a much-needed haircut, the first since Christmastime. Ideally I’d have gotten the haircut in Boston, but I couldn’t find time while there. I suspect that that saves me at least a pound of weight to haul over trails when my hair is wet. Finally, I head out of town, briefly stopping at the DOC offices to see who’s there (nobody) on the way out.

Now follows one of the less enjoyable parts of the trail: a road walk. I stroll a couple miles or so down sidewalks and across the bridge over the river defining the New Hampshire-Vermont border into Norwich.

The granite stone in the middle of the bridge across the river delineating the Vermont-New Hampshire state line, with VT | NH engraved in it
State three!
The state line marker with my hiking poles leaning against it
The state line marker with my hiking poles leaning against it

From there it’s a run down a side street, past a house with a table out front with a handwritten sign reading “trail magic” (and a dog who seemed curiously incapable of dragging himself to me to be petted, until I realized the high-pitched whine I was hearing from his collar was a radio restraint device; once I moved toward him so he could retreat a bit he was markedly more mobile), and up a hill to a return to wooded trails.

The trail’s slow going at first; packs weighted with resupply are too heavy. To tell the truth, tho, I bring some of this upon myself by carrying a couple pounds of Granny Smiths. (Carrying apples with me out of resupply, sometimes for multiple days, is a foible I have not managed to curb. I’ve been told by some I’m the least weight-conscious southbounder they’ve met; if that’s not actually the truth, it’s certainly not far off.) Eating a couple for energy and “weight loss” (off my back, even if not from what I’m hauling) helps, and I walk into Happy Hill Shelter at dusk, cook dinner, and sleep.

The future-me speaking now is a mere 270 or so miles from the end of the trail, as of yesterday at -1.7 from pace at 1903.3 down the trail in Hot Springs, NC. The last week or so I’ve passed through North Carolinessee, as the trail practically follows the TN-NC border for awhile. I have roughly 40 miles to the Smokies, 70 miles through them, 80 miles through North Carolina not along the border, and then another 80 miles through Georgia to Springer Mountain. I’m still not sure what day I’ll be done — I’d kind of like to be home by next Saturday, but that’s probably overly ambitious. In any case I can smell the end, and I’m starting to drag a bit as I fight the urge to stop just a little bit earlier each day, wake up a little bit later (daylight’s disappearing, alas) and not leave a warm sleeping bag for the creeping cold, stay an extra night in towns, and on very very rare occasions flat-out skip trail by hitching from the trail ahead to a town where I might have planned to stay (exacerbated by late-day hiking caused by the late wakeup, of course; night hiking is curiously both tedious and fun at once). I have not yet succumbed to these temptations — I’ve been working at not zeroing since my last one in Damascus, just north into Virginia — and I’m into the last push to finish. I’m definitely looking forward to being done hiking soon. I’ve got a fever, and the only prescription is more cowbellSpringer!



planet.mozilla.org and Web Tech blog readers may completely ignore this post

Tags: — Jeff @ 11:44

If you don’t read planet.mozilla.org or the Mozilla Web Tech blog, you’ve just missed out on a nice little article I wrote about some web developer features I implemented in Firefox before starting my A.T. thru-hike. If you’re into web development it might be interesting; I can assure you, however, that if you aren’t, it’ll be complete gobbledygook. In any case I’m sure at least some people in the latter category might be interested to see the sort of things I do beyond absurdly long backpacking trips, even if they won’t be able to understand them. :-)


The Four State Challenge

I am currently in Harpers Ferry, WV with 5.8 miles remaining in this thoroughly idiotic accomplishment. I do not have the energy to find a good resource that describes what this is, beyond what you can probably guess it is. (I might continue an extra three miles to the first shelter in VA, which would also net fifty miles for the day, but that decision will definitely wait until after the state line.) If someone can find such a resource, I’ll update this post with it when I can. Four State Challenge will work about as well as anything for describing what the challenge is. After grabbing some food (wrapped deli sandwich or similar) to eat for dinner when I stop for the night, I’m heading back out to finish the day; hopefully I’ll be able to eat the food and get a bear bag or something going before collapsing into sleep from sheer exhaustion.

Tomorrow’s hike will be a shorter-than-average day.


  • There’s apparently some funky trail-winding near the border such that it’s only 1.9 miles to one crossing of the Virginia border, so in reality that was all the distance I actually needed to cover. The Thru-Hiker’s Companion book doesn’t really make this clear, and 5.8 is to the last of the “Virginia sections”.
  • I ended up completing the full 5.8 plus the remaining 3 to that first shelter, for 51 total for the day.
  • Even if you’re a thru-hiker, you can never let your ego grow too huge, or else it’ll be deflated when you read the register at that first shelter and discover another crazy southbounder started from even further into Pennsylvania and thus hiked a 60-mile day. I never had any illusions of extreme hiking prowess, but if I had, the southbounder Rock Layer would have trashed them completely.
« NewerOlder »