Archive for September, 2005

30
Sep

Web tools for keeping tabs on Congress

Want to know who your Representative is? Check out Project Vote Smart! Just enter your 9-digit ZIP code and you’ll get a whole list of both federal and state elected officials, each linked to an information page containing contact information (among lots of other things).

Looking for the most recent action on a bill in Crongress or the Senate? Go to THOMAS and enter the bill number, including the prefix letters. For example, to see House Resolution 3824, enter “hr3824″ in the Search Bill Text box. Be sure to check the button for searching by bill number instead of keyword. You can find the most recent status of the bill (e.g. sent to a committee, reported to the House, etc.) by following the “Bill Summary & Status file” link. For more information on THOMAS, see the THOMAS FAQ. Bloggers/netizens note:

How do I link a particular part of THOMAS to my own web site? You can create a permanent link to a bill … by using UNIX GET or POST protocols… It is necessary to use these protocols because the URL addresses you see when you execute a search are temporary addresses… – from the THOMAS FAQ

Be sure to check out the POST instructions in the link above. I used them to whip up the button below to show the bills that my so-called Representative, Dan Lungren, sponsored or cosponsored in this (the 109th) session of Congress:

28
Sep

Sacramento “Go” club

I was posting the next meeting of the Sacramento Go Club on the Sacramento Boardgames, Cardgames, & Miniatures Meetup Group, but this week for some reason Meetup’s software is giving me grief about the event’s URL. I’m guessing it’s barfing on the ‘~’ character in the URL, which is perfectly legal (and worked fine until a few days ago). I really want a URL for the event, so I’m posting it here. Thanks, Meetup. It’s not enough that you’re charging me to organize cool events, now I’ve got to do fake redirects to keep your damn site happy. :razz:

28
Sep

Private blogs versus “official” sites

Need a laugh? Check this out!

About a month ago, Sac State rolled out a new logo and “identity package” with much fanfare, complete with a page on the CSUS web site. My buddy Joseph posted this story about the new logo on his blog at the time the announcement was made. All fine and good.

Now fast-forward to today. Do a Google search on sacramento state logo. What’s the top result? Why, Joseph’s blog of course! It’s much more relevant than the official “identity package” web page. :lol:

I’ve intentionally left out any links to the official site. Just doing my (miniscule) part to keep it from becoming result #1! ;) You can always go to Google and scoll down a bit if you really want to see it.

28
Sep

A Pending Ping Crisis?

Kevin Burton frets about a potential “ping crisis”:

…in the long run it seems to be a big difficult (sic): 1. Everyone wants to spam you. 2. You’re not a consumer level service so you can’t run Ads to make money. 3. The more traffic you get the more your costs go up. 4. Scaling a system is difficult once you get to that volume. 5. All your pings need to be delivered fast (see #4).

Those are some interesting points to ponder. Point #1 is particularly troublesome, so let’s think about points 2-5 first. It seems to me that we’d do well to look at some other services for ideas and inspiration. The first one that comes to my mind is DNS. No ads on DNS, and not many fees are being charged for it. Perhaps we should come up with some sort of distributed model for handling blog pings? If we have a distributed service, no single server would have to bear the entire load, and we can probably avoid the traffic cost and scaling issues. But now about point #5 — Obviously pings need to be acknowledged very quickly, but do pings need to be delivered fast? Joseph’s ping service is based on a queueing model, which seems reasonable and more practical to me. What do I care if my posts are advertised “immediately” or I have to wait 5 minutes?

So now back to point #1, blocking spam. Do we need some sort of RBL? Open-source tools to identify spam? I really don’t know the answer to this. We need some input from people on the front lines about this topic.

28
Sep

Still rebuilding my laptop disk

In an earlier post/comment I started running DiskWarrior in an attempt to recover my laptop’s failed harddrive. Still running after 47 hours, but no sign of progress (or failure) yet…

27
Sep

Testing new ping service

Ping-o-Matic (the default pub-notification service in WordPress) is a great idea: You publish a new post, and WordPress notifies PoM, and PoM passes the update along to a whole bunch of update services. Very slick! But there are two problems with it:

  1. Single point of failure. If PoM is down (or busy or otherwise unavailable) when you click the Publish key, you’ll get to watch your browser spin in circles for a bit while it tries to contact PoM.
  2. Real-time pinging. If PoM is available when you Publish, it seems like it holds you connection while it notifies all the update services.

Joseph started discussing these problems with me the other day, and the delays I’ve sometimes noticed upon clicking the Publish button came to mind. Turns out that he had an idea for a streamlined notification service, which he’s now opened up for testing. I’ve installed the new service in place of PoM, and it seems to be a significant improvement. I’d like to collect some data comparing the new service to PoM, to get a more objective look at this.

Some things to note:

  • Joseph’s service could still be a single point of failure, assuming one were to replace PoM with this service in the Options/Writing/Update Services setting.
  • The basic idea of the new service is to respond to a blog’s update notification as fast as possible, then later to notify all the update services. The cost of this approach is a small delay (a few minutes) between publication and notification, but the quick response between clicking Publish and getting back to my blog admin page is worth it!
26
Sep

Boot options for PowerBook G4

The disk on my PowerBook G4 is going bad. This is a Bad Thing, but at least I learned how to do some cool things with my Mac at boot time. I’ve checked all these on my system running Mac OSX 10.3 (Panther). I found many other keys that might work, but I haven’t verified anything except what’s listed below:

Booting from CD — hold down the “C” key (until the Apple logo appears) while powering on the laptop. Insert a bootable CD as soon as the power is on.

Booting as a FireWire “target” — connect the PowerBook to another FW-equipped system. hold down the “T” key (until FW symbool appears) while powering on the laptop.

Choosing boot device — hold down the Option key (until the Apple logo appears) while powering on the laptop. You’ll see an icon for each bootable device (hard disk, bootable CD, network, etc). Select one of the icons, then click on the right-arrow icon.

Booting single-user — hold down the “Command-S” keys (until the Apple logo appears) while powering on the laptop.

Added 2005-12-19: Hold down the mouse button while powering on — eject CD-ROM.

26
Sep

Evacuation plan: aim for tree

My buddy Andy just launched a hilarious evacuation plan store on CafePress. I picked up a couple of coffee cups (large, of course). Hopefully they arrive this week — I can’t wait to get a look at the actual merchandise!

This whole “Aim For Tree” thing started about two years ago, when evacuation plans were being posted in our old building. We saw this nice little frame on the wall, which looked like it was designed to hold a piece of paper or something. The frame had “Evacuation Plan” printed on it, but there was nothing inside the frame. We were on the fifth (top) floor of our building, so Andy drew a 5-story building with a stick figure jumping out of the window and into a tree. We slid this into the Evacuaion Plan sign, figuring that it was better than nothing! ;) Now you can get your very own “Aim for tree” merchandise at cafepress.com/aim4tree/!

25
Sep

PowerBook boot problem revisited

I connected my laptop to another system with FireWire and booted my laptop into “Target mode” — hold down the T key while powering on the laptop. This effectively turns the laptop into a very expensive external FW enclosure. I ran DiskWarrior from the other system, and it recognized the “external” FW drive. I started a DW recovery on this drive at about 16:30 PDT. If it’s anything like the previous run, it should be done with “Step 5″ by about 07:15 tomorrow morning. (crosses fingers)

Update: Well, I let that run all night (about 16 hours), and DW looks like it hung soon after I got it started. Alsoft’s support phone still says something about hurricane Rita, even though it’s now Monday morning (when they indicate that they’ll be back) — terrible timing on my part, having a drive fail right as a hurricane strikes Alsoft. :( I’ve booted the laptop with the DiskWarrior CD, with an external FW drive. DW can “see” both the internal (failing) drive as well as the external FW drive. Let’s see how it goes…

24
Sep

PowerBook boot failure

Update 2005-11-10 20:55:29 UTC: Posts concerning my Powerbook boot failure are tagged with powerbook and boot_failure. Posts about my experiences with DiskWarrior are tagged diskwarrior.

Nooooo! My trusty PowerBook won’t boot this morning. The screen lights up, the Apple logo appears, and the spinner starts spinning — and it hasn’t stopped after more than an hour. A little googling turned up a post on how to boot a PowerBook in single-user mode, so I held down Command-S while powering on. That worked, cool! Then I tried /sbin/fsck -y. It turns out that my disk has journaling enabled (I didn’t know that), so I had to use the “force” option, /sbin/fsck -f, which gives Bad News:

localhost:/ root# sbin/fsck -f
** /dev/rdisk0s9
** Root file system
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
   Invalid key length
(4, 4341)
** Volume check failed.

So, time to try the Disk Utility from the install CD — hold down the Option key while powering up. This gives me three options: boot from local disk (which I already know doesn’t work); boot the install CD (which I’ll try in a minute); and Apple Hardware Test, which sounds like something I should try right now.

Apple Hardware Test (PowerBook version 2.0.6) loaded and I selected the Extended Test. After about 3.5 minutes, the utility reported that the Mass Storage system had passed hardware test, so it looks like my hard drive is okay, although the data on it appears to be corrupted. I let the rest of the hardware test run, just for kicks. My PowerBook has 1 GiB of memory, which took about 26 minutes to test. Total test time was 33.5 minutes, with everything passing. (phew!)

I rebooted holding down the Option key again, this time booting from the installer CD which took about a minute to load. When the “Install Mac OS X” window opens, select the Installer menu then Open Disk Utility... item. In the Disk Utility, I selected the disk device (vs “Macintosh HD”) and clicked Verify Disk on the First Aid tab. It reported:

Verifying volume “Macintosh HD”
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
{red}Invalid key length
The volume Macintosh HD needs to be repaired.

Volume check failed.

Error: The underlying task reported failure on exit (-9972){/red}

1 volume checked {green}0 HFS volumes verified{/green} {red}1 volume failed verification{/red}

(Looks very much like the fsck -f output.) So I tried “Repair Disk” and got the following:
Repairing disk for “Macintosh HD”
Mounting Disk(S,”Checking HFS Plus volume.”,0)
Checking Extents Overflow file.
Checking Catalog file.
{red}Invalid key length
Volume check failed.

Error: The underlying task reported failure on exit (-9972){/red}

Repair attempted on 1 volume {green}0 HFS volumes repaired{/green} {red}1 volume could not be repaired{/red}

This post suggests using Disk Warrior. I can’t use a download version, since I need a bootable CD to repair the non-bootable drive in my laptop, so I’m off to CompUSA to pick up a physical copy.

Back from CompUSA, with my wallet $100 lighter, ouch! This had better work… I booted the DW version 3.0.3 CD (hold down the C key while powering on and insert the CD). The single-sheet instructions indicate that it will take 5-15 minutes to boot. In my case, it took about 6 minutes. After a few prompts, the software got to work. It got through the first few steps quickly, but then started “Step 5″, something about locating directory information. A message appeared on the progress window, “(Speed inhibited by disk malfunction)”. I assume this means file structure corruption, as opposed to a hardware malfunction of the actual disk. Well, the speed was definitely inhibited! It took 14.75 hours to complete “Step 5″ on a 75 GiB disk which was approximately half full. The worst part about this was a complete lack of any sort of progress indicator. The only way I could tell that anything was happening was to put my ear right on the laptop case over the disk, so I could hear the disk chattering once in a while. (Fortunately it wasn’t the cyclic series of sounds that a failing disk makes; instead, it was the purposeful sound of a disk doing random seeks. If you’ve listened to disks, you know what I’m talking about.)

After the excruciatingly slow “Step 5″, the next step, “Constructing optimized replacement directory…”, went relatively quickly. I didn’t keep track of its elapsed time, since I was trying to get ready to go to work and I missed the transition from step 6 to 7. In fact, steps 6, 7, and 8 all completed too quickly for me to note their elapsed time, but they took about an hour total. I started to hope that maybe I might have my PowerBook operational very soon, but then “Step 9: Recording any file or folder differences…” started. This took about 3 hours, but at least this step had a progress bar!

DiskWarrior has finally finished, after about 19 hours. After reviewing the log file and the new directory structure, I accepted the changes (as if I really had a choice). It took about 40 minutes to update the disk, then reported: DiskWarrior encountered an unexpected error while attempting to show the disk “Macintosh HD” on the desktop. Rebuild this disk again. Preview the disk and backup all files from the preview disk (2168, 4203). ARRRGHHH!!! After doing some post-DW diagnostics, it appears that the disk was hanging by a thread, and the heavy disk activity caused by DW was too much for it. The system will no longer boot into single-user mode. :cry:

This post is getting too long already, so I’ll publish it in it’s current “unresolved” state. I haven’t given up yet, though…




September 2005
M T W T F S S
« Aug   Oct »
 1234
567891011
12131415161718
19202122232425
2627282930  

Tags

abramoff accessibility acetylene activism aerial photo afrofunk aim4tree air america airport express alite alito amtrak andante andy anti failure any browser apache apple applescript arden arcade arden park ariana arnold ashland astronomy attic attika audio avid reader backup baen bart bathroom bbq bee beef begonia bgg bike bike hikers bike journal bikejournal biketalk bill oreilly bittorrent blacklist blog bloggercode blogroll blueberry boardgamegeek boardgames bonjour book bookcrossing boot failure bootcamp borderline chaos bugmenot bush business card cabinetry caira caitlin california candamir caroline carpet cat cateye cdrom celebration cellular phone century cheese chicken chico chimney chinese chipotle chocolate christmas chumby city bikes civilization cjd claire club club fed co op coconut coffee comfort food community computer concord congress conquest conservation consumer reports copyright costco crazybikerchick crepe crock pot cruftbox css csus curl currency custard cvntrak dagoba daniel goetz darwinports datarescue date format death delicious monster democracy now Democrat demolition dessert dickens diff disaster discrimination discworld dishwasher diskwarrior dixie belle dock doors downing street memo drm dryer drywall dump ed burke eff eggs eject election electric car electric truck electrical electricity elvgren email energy efficiency eric meyer esr etext euthanasia facebook family faq faux news feed feedreader fence finder firefox first4internet first amendment fishmeal flash flickr flooring foreign exchange foundation fox and goose framing freebsd freedback fyq garage garden geek geotag geourl gnutar go gonuls google google earth google maps gpl gracenote graywater greek green group concat gtd gunthers gutters gwbush gymnastics hacking halloween handspring hardwood harry potter headmeta high speed photograph high tech inv hoax hobbies hobby hodgins holiday holly home power magazine horcrux houseblogs how to html humor hvac ilovejackdaniels impeach inspection insulation intel internet ipod ipodder iq iraq isight itunes ivins iwantsandy java city javascript joint chiefs joseph jott journalized blue judges cup kctc khs kimkerry kitchen kyocera la salles la times labor landscape laundry law leatherbys legal lego leopard liberal library linkedin ljurban lodi logic logo lungren maaloufs mac macbook mailinator malware map marin markdown mason media media clip media reform meetup metric mexican microsoft mike comfort military milonic mindstorms mlk model railroading modoc hall monterey morning sedition motorcycle movie moving munchkin murray mushroom music mynetflix mysql naked lounge nerd score netflix network new urbanism new year nofollow nutella oatmeal obama obcz occidental occupation omni openssl oracle organic osx owp paint pair palm panasonic parallels party patch peak adventures peak oil pear pedestrian village perl petaluma php ping pingback pingomatic pingomation pingqueue pirate pl sql planet bike plasma playroom entertainment plugin plugin:preview theme plugin:text control plugin:ultimate tag warrior plumbing podcast podsite politics portupgrade potato powerbook printer programming project gutenberg pryde punk puzzle qiana quilt quilt shop quiz quote r5 records racism radio railroad recent comments recipe redalt remodel resaurant resolution restaurant restore review richmond rio americano robotics roger niello ron montana roof rootkit rss sacbee sacog sacramento sacramento spotlight magazine salad san francisco sandwich santa cruz scam scandal school days scplugin security session report shakespeare shuffle sigma siriradha sitemap snl snopes social social network software soma somafab sonicchicken sonicchicken blog sony spam spam karma spellcheck spinach spirit spoiler etiquette spring hill cheese sql sqlserver stairs standards statcounter stephen king stop loss stucco stunt subversion sudoku superbowl superhero supreme court sushi svn sysadmin tacoma tags plugin takara technology telephone television template terms and conditions textcontrol thai kitchen thanksgiving theater theme theme:borderline chaos theme:elvgren theme:elvgren wordpress google code theme:fluid blue theme:fullwidth theme:head theme:journalized theme:journalized blue theme:psycho theme:redoable theme:sharepoint like theme:simple green theme:spirit theme:steam theme:wuhan theme:yadda theme switcher thomas tigris euphrates tile tinfoil hat toc tofu tower theater training transit transit oriented development tribute u haul uneasy rhetoric university village van zant veterans day video vie viking hobby vote smart w3c wall warboss washer washington post weather web web developer web server wikipedia windows wishlist woodworking wordpress workplace wpblacklist wpgatekeeper wsj yaaarr yard