Tag Archive for 'how-to'

13
Jun

What is RSS?

Leave it to Joseph to find (and link to) all the cool stuff… One of his recent “del.icio.us links” is a 3.5 minute video, RSS in Plain English. It’s a gentle introduction to RSS and feedreaders, specifically tailored to non-technical web users. The video assumes some basic familiarity with the web and web browsers–you know what “right-clicking” means, and you read more than one blog and/or news site with some regularity.

I didn’t see links to feedreader sites mentioned in the video, so here they are:

28
Mar

Mac OSX Finder: “The volume cannot be found”

I love Mac OS X, but every once in a while I manage to screw up one (or more) of the network folders I dropped into the sidebar. (On this particular occasion I changed my mind after I started opening a network folder and clicked “Cancel” on the keychain access prompt.) Now every time I click on the network folder in the sidebar of Finder I’m getting the following message: The volume for “network-folder-name” cannot be found.

volume-cannot-be-found.png

I’ve had this happen before, but I can never remember how to fix it. A quick search turned up this thread which suggests blasting the entire com.apple.sidebarlists.plist file, but that’s a bit harsh if you have a dozen folders in the sidebar and only one or two of them are broken! Instead I chose to edit the plist file and delete the broken folders.

Double-clicking on ~/Library/Preferences/com.apple.sidebarlists.plist should open the Property List Editor. (If it doesn’t, see “to Diana” comment on this post.) Click on the exposure triangles for Root, useritems, and CustomListItems. Find the broken folder–they’re in the same order that they appear in the Sidebar. You can click the exposure triangle for a numbered item and see if the Name property matches your broken folder. Once you’ve selected the correction Dictionary item, click the Delete button:

plist-editor-sidebar-fix.png

Now if you open a new Finder window you’ll notice… That you still have the same problem. Doh! You need to restart Finder. Click on the “Apple” menu (top left of the screen) and choose “Force Quit…” (or just hit Apple-Option-Escape on the keyboard). Select the Finder application and hit the Relaunch button.

This doesn’t really fix the problem–the broken folder is gone, not repaired. But it’s better (imo) than whacking the entire Sidebar preferences file.

20
Aug

Bonjour rocks!

A few months ago I bought an AirPort Express to play with, mostly because I wanted to play my iTunes through the stereo speakers instead of my laptop’s. This was so easy that it didn’t even warrant a blog entry. I just plugged the AX brick into an outlet and plugged a 3.5 mm stereo-to-RCA cable between the AX brick and one of my stereo inputs. Since I was only planning to use my wireless laptop to transmit to the AX, I didn’t even have to bother with connecting the AX to my (wired) network.

I made some changes on my AX earlier this week. I needed to print quite a few pages from my laptop, and wanted to see if I could take advantage of the USB port on the AirPort Express. I moved the printer into the living room and plugged its USB cable into the AX brick. This didn’t work instantly — I forgot to fire up the AirPort Admin Utility (probably in the Applications / Utilities folder on a Mac) to associate the new printer with the AX. I also took advantage of the fact that my wife was out of town for a few weeks and ran a network cable into the living room for the AX brick. (She still hasn’t noticed it, so I must have done a reasonably neat job of installing it.)

Still, nothing worth blogging so far–I mean, c’mon: A Mac laptop connecting to an Apple network appliance? Of course it’s going to work. Painlessly. We take it as a given, like the sun coming up in the morning. :) But today my wife noticed the printer in the living room, and she was a little curious. “Honey, what is the printer doing next to the stereo? Shouldn’t it be connected to the computer?” Uh oh! Holy marital strife! To the Internet, Batman! A quick Google search for "airport express" windows printing turned up this post which revealed The Trick: download Bonjour for Windows! Visit Apple’s Bonjour page and look for a link labeled “Get Bonjour for Windows” (currently at the bottom right of the page). Once I installed Bonjour on our Windows 2000 box (on the wired network, not WiFi), it took a few mouse clicks (and no decisions) to install the printer. Wow! Did I really install a printer on a Windows box without having to go to Device Driver Hell and back? Now that’s something worth blogging! ;)

In all fairness, this printer had already been installed on the Windows box, so the drivers were already there. But I’ve never seen network printing done so easily as this. I can definitely see more AirPort Express bricks in our network’s future…

08
Feb

Sizing up a touring bike

I’ve been reading The Complete Book of Long-Distance Cycling by Edmund R. Burke, Ph.D. and Ed Pavelka. If you’re interested in LD riding, (i.e. more than 60 miles/100 km or so), this book has lots of advice. Some of it is pretty obvious, such as “drink water while riding”, but it’s all good to know.

One place where the book is a little scattered is the chapter on fitting a bike to the rider (chapter 3). There are 16 suggestions for sizing a road and/or touring bike, but they jump around between riding positions and component sizing in a seemingly random order. In fact, the most basic measurement (bicycle frame size) is the very last item mentioned. What’s up with that?!? I sifted the size/fitting suggestions from all the technique/posture tips, then I put the component suggestions in an order that made some sense to me. (I omitted information on custom-built frames, e.g. top tube length, as this isn’t financially realistic for me.) I use (fit #n) below to refer to the original fitting number scheme in The Complete Book of Long-Distance Cycling. Be sure to check the book for more advice, nuances, and trade-offs in fitting your road bike! Keep in mind that these are for long-distance cycling with a road/touring bike. If you’re riding for speed or you’re on a “mountain” bike, these may not be appropriate.

The first body measurement you need to know is, how long are your legs? To find this, stand in front of a wall with your feet about 6″/15 cm apart. Use a large hardback book to simulate a saddle. Put it square against the wall and slide it up (gently!) until it’s pushing firmly against your crotch. Mark the wall at this height and measure to the floor. This is your “inseam length”.

  1. Multiply your inseam length by 0.67 to determine your frame size, from the center of the top tube to the center of the crank, along the seat tube. (Fit #16)
  2. Multiply your inseam length by 0.883 to get the saddle height, the distance along the seat tube from the center of the crank to the top of the saddle. (Fit #10)
  3. Use your inseam length to determine the proper crankarm length (fit #15):
    Inseam lengthCrankarm length
    <29″165 mm
    29-32″170 mm
    33-34″172.5 mm
    >34″175 mm

That’s it for the math! Now that the basic frame components are set, we can move on to slightly more subjective measurements.

Shoes, cleats, toe clips: See (fit #14). It’s almost a page long, and all of it’s very important to people (like me) with knee problems. (It can also affect saddle adjustment, below.)

Saddle adjustments: The saddle should be level (fit #11). Sit in the center of the saddle and backpeddle until the cranks are horizontal. Slide the saddle front/back so that a plumb line from the forward knee touches the end of the crank. (Fit #12)

Your handlebars (drop bars) should be as wide as your shoulders or even a little wider, (fit #5). Position the brake levers per (fit #6) and your personal preferences.

Stem adjustments: Try setting the stem height about 1″ lower than the saddle–if you cannot comfortably stay in “the drops” for several minutes, raise the stem until you are comfortable. As you gain flexibility and strength, lower the stem for a more aerodynamic position, (fit #7). A good guess for stem length (a fixed component, not an adjustment) can be derived by sitting in the saddle, grasping the brake hoods, and bending the elbows slightly (as if riding). Now look at the front hub–it should be slightly (or completely) obscured by the handlebars. If it’s not, try a longer or shorter stem (fit #8).

For completeness, (fit #1-4, 9, 13) have more to do with riding position and technique than fitting a bike, IMHO.

04
Feb

Problem with Mac OSX Dock not “unhiding”

I had a strange problem with my Mac (OSX 10.4.4) this morning–the Dock wouldn’t “unhide”. Normally I keep the Dock hidden to save screen real estate, and when I need to fire up one of my usual applications I just drag the mouse down to the bottom edge of the screen and voilĂ , the Dock pops up with all of my favorite apps. But this morning the Dock was being shy and wouldn’t reveal itself. I tried toggling all the preferences, but nothing helped. I finally found this suggestion on Apple’s Finder, Dock & Dashboard discussion site (registration required, or read my version of it here):

Delete (or move/rename) the com.apple.dock.plist in your ~Library/Preferences Folder, then log out and log back in. This worked for me, but I lost my Dock settings, in particular the applications that were in my dock! It seems obvious in hindsight, but I suggest that you make a list of your docked applications before you whack the preferences file, so you won’t have to repopulate your Dock from memory.

02
Feb

How to eat sushi

I came across an interesting page: How to eat sushi. I knew quite a bit of this etiquette and information already, but there were a few surprises for me.

Hat tip to John at Uneasy Rhetoric for pointing this out!

Update 2006-02-03 19:09 Yuji-san (Eugene Ciurana), author of the Sushi Eating HOWTO, dropped by and gave us the scoop on the origin of walmartdotcomaki. Thanks, Eugene!

02
Jan

“Democracy Now!” available via BitTorrent

While I was installing BitTorrent on my Mac, I read the Wikipedia entry for BT and learned that Democracy Now! is available via BT. In fact, they have a pretty nice “how-to” page for BT that covers the basics pretty well.

DN is providing relatively high-quality video of their hour-long daily news program, so these files are pretty big: approximately 400 MiB or about 2/3’s of a full CD-ROM. Between the much larger file size and the larger number of simultaneous downloaders, the performance of the Torrent was much better than my Omni download. I downloaded Friday’s DN! program that afternoon and had about 20 members in the swarm, whereas when I downloaded OmniOutliner I was directly connected to a seed since nobody else was downloading at that time.

I’ll have to try slurping up DN! on Monday morning when it’s fresh. Presumably there will be a larger swarm which should improve performance even further.

Update: 2006-01-02 05:59:29 I just downloaded this morning’s episode, 418 MiB in 110 minutes, or about 65 kiB/s. There were only a few more members of the swarm (22-24), but performance seemed quite a bit better.

26
Nov

MyNetflix20 (beta) how-to

A few days ago my family signed up for Netflix. I had some spare time to play over the Thanksgiving weekend, so I installed and set up MyNetflix2 on my blog. Here’s how I did it. These instructions cover installation of MyNetflix2.0 beta on my web server (running FreeBSD 4.8). YMMV

  1. Download and uncompress the plug-in: cd my_wordpress_dir/wp-content/plugins fetch http://amphichon.com/wp-content/media/mynetflix20b.tar.gz tar -xzf mynetflix20b.tar.gz
  2. The source file needs to be customized before it can be used. (I guess this isn’t technically a “plug-in” because of this.) First change needed is adding your personal Netflix RSS feed URL’s. To find these, login to your Netflix account and follow the link labeld “RSS” at the bottom of the Netflix page. Below the “Personalized Feeds” heading, you’ll find the RSS URL’s. Copy and paste them into MyNetflix source code.
  3. You may also need to modify other settings, particularly if you don’t have the “3-at-a-time” plan.
  4. Activate the plugin from the admin / Plugins page.
  5. Add some code to your WordPress theme (typically on a sidebar) to display however much of your queue, current DVD’s, and/or recent rentals that your wish. I’m using the code below to display the DVD’s we’re currently watching:
        <?php if (function_exists('mynetflix')) { ?>
            <h4><?php _e('Recent NetFlix Activity'); ?></h4>
            <?php mynetflix('out'); ?>
        <?php } ?>
    
  6. I’ll probably add some code to display recently returned DVD’s in the future. (We haven’t returned any discs yet, so this breaks the MyNetflix code right now.)

That’s all there is to it. I’m going to see if I can hack up an Options page for this code to make it a true plugin. This would handle the RSS ID string(s) and the $plan settings, and possibly the image layout options. If/when I finish that, I’ll send the changes to herichon for inclusion in the next release.

07
Oct

New website for my wife’s business

I’m in the process of re-working my wife’s quilting website. (It’s so pathetic right now that I’m ashamed to link to it.) I originally hand-rolled some PHP and CSS for her. It got the job done, sort of, but I’ve never been very happy with it. After using WordPress here, I got the idea that it would do a much better job than my own pitiful code. So here’s how I set up WP as a content management system (rather than a blog server) for my wife’s site. This is my third WP install, and I’ve learned a few things from the first two iterations. I even managed to document my second installation which has been helpful this time, so I’m documenting even more thoroughly this time around. Continue reading ‘New website for my wife’s business’

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:




November 2008
M T W T F S S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930

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 lhc 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 New Yorker nofollow nutella oatmeal obama obcz occidental occupation omni openssl oracle organic osx owp paint pair palast 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