Thursday, March 25, 2010

Waterfall Hunting



Last weekend twelve inches of snow fell in Fayetteville as spring formally arrived. Here in Hand Cove we had twenty-four hours of cold rain instead. By Monday morning the skies were bright blue, the day promised to be warm, and the run-off was continuously trickling down the hillsides to fill the cascading brooks. It was a perfect day for waterfall hunting.
Sue and I packed a lunch, put on hiking clothes, tossed my rescue gear into the car, and drove around the lake to the Leatherwood Wilderness Area in the Ozark National Forest.

Waterfall hunting is a rare adventure in the late winter and early spring. To get the best run-off and hence the best waterfalls, nature needs to be dormant with roots no longer sucking up moisture so eagerly. To get the best views, the old leaves should have fallen and the new leaves should not yet have fully emerged. It should be too cold for ticks and too early for poison ivy. It needs to have rained plentifully, but ideally the skies should be sunny. . . . Fortunately, all of those conditions were met on Monday morning.

I first discovered waterfall hunting a year or so before retiring by browsing through a book on the subject by Tim Ernst, the dean of Arkansas's hikers and nature photographers. Sue and I generally only visit the waterfalls in the Leatherwood Wilderness Area--and because it is a wilderness area, there are no formal trails. Some of the falls that are closest to the road have developed an informal path, but generally-speaking bushwacking is the name of the game. Since the great ice storm of 2009, that has become much more challenging.

Now there are huge tree trunks and large limbs everywhere, turning parts of the forest floor into a giant jungle gym. We visited only three waterfalls on Monday, and each of them was within a quarter mile (as the crow flies) of a gravel road. But two of the three were very challenging hikes. That quarter-mile hike always takes one down a steep hill to the top of the waterfall. Then it can be another quarter-mile--or farther--before one can make one's way to the base of the falls. Since a waterfall inevitably implies a rocky ledge, one usually has to consider some rock climbing . . . and there is always the remote risk of slipping, rolling, and tumbling off a cliff.

Waterfall hunting is an adventure that stokes a bit of adrenalin and rewards one with beautiful views . . . and aching muscles.


Tuesday, January 12, 2010

Icycle? Isicle? Ice-icle? Icicle?


Icycle? Isicle? Ice-icle? Icicle? . . . I can't even spell the blasted word, but I've certainly had enough of it in the past ten days. Low temperature records have been shattered all across the northern hemisphere. Gainesville, Florida, dropped to 17 degrees; Pensacola suffered through eight straight freezing nights; Tampa broke a city record with a low of 26; and Key West, the southern-most city in the US recorded a low of 42, only one degree higher than its all-time record. (Oddly, folks in Fairbanks, Alaska, were noting that it hadn't even hit 40-below this winter!) Meanwhile on Wall Street, futures contracts for orange juice soared by more than 15%.

The last time it was this cold was back in 1980's when a picture of Jan and me  ice-skating on the pond at ASU graced the front page of the Jonesboro Sun. The result this year has been a record crop of icicles. The lovely snapshot at the top is of icicles hanging from a bush near the water's edge. I suspect that fog rising from the warmer lake water condenses on these branches and the drips gradually form the icicles seen here. Perhaps the most interesting manifestation of lake-effect icicles is seen in the snapshot at right. I'm puzzled to explain the physics behind the creation of those double-bulbed icicles. What could cause the thinning at the center and the thickening at the bottom?

The most ominous of all the icicles I've seen, however, are those in the big batch at left. If they look like they are descending from the cabin, that's because they are! When I built the cabin, I was thinking primarily of its occupancy in spring, fall, and summer--though I always contemplated some winter residency. The post-and-beam construction technique I used creates a structure raised on posts a bit above ground level. The crawl space beneath could be enclosed for winter warmth, but that would create a haven for bugs and mice while making it harder to get under there for any subsequent repairs to the pipes and plumbing. Thus, our water pipes and drain pipes are exposed to the air. I've insulated the water pipes, but even insulation cannot protect them from freezing during long cold-spells. 

In the past I've solved that problem by switching off the hot-water heater at night and allowing all the taps to drip a little. Running water won't freeze--at least not readily. Those dripping taps, however, create even slower drips in the larger drain pipes, and this year unseen icicles formed in--and eventually blocked--some of the drain pipes. That happened first in the old bathroom. I realized what was going on when the sink began to fill with water. 

Subsequently, the drain to the new bathroom sink also froze, creating a mini-flood, which produced the nice assortment of icicles dangling from the bottom of the cabin. Fortunately, all of the frozen pipes have thawed and there was no lasting damage. I'm beginning to be a big believer in PCV plumbing pipes since they have so far survived several episodes of freezing without harm.

While I may not have enjoyed the lengthy freeze we have had in Arkansas, I think I may have finally learned how to spell the word icicle. It is not like bicycle without the b. In fact there is almost no point of connection between an icicle and a bicycle . .  . as I know to my sorrow. I have not ridden my bicycle in Arkansas since the first day of December.

Sunday, November 22, 2009

Old and New


New Me!


Sometime last spring, I began to notice an occasional hitch--or catch--followed by a sharp snapping sound coming from the drive train (chain, crank, or bottom bracket) of my light-weight road bike. When I put the bike on the repair stand, I could create the same effect. There was indeed something that almost locked up the drive train. If I pushed hard enough, I would hear a pop and then it would seem fixed; smooth pedalling would continue for some considerable period of time.

I couldn't determine the exact location of the sound, so I decided to just keep riding the bike. Eventually it would fix itself or something would break, and then I would deal with it. And so I churned on for several thousand miles of summer suffering, including the Big Dam Bridge 100-mile ride. I was still recording reasonably fast rides--though I had not managed anything memorable for months. Just old age, I thought to myself--nonetheless a little irked.

After we returned to the Ozarks from Bethany Beach, I found myself drained after some rather slow rides. Well, there had been the sodden weeks of rain in October, followed by lethargy during the drive out East and back. Perhaps I was just out of shape--so I rode a little more and a little harder until one day I could hardly even turn the cranks and there was a perceptible grinding noise like sandpaper rubbing across a windowpane. Finally, I knew the cause of my problems, and it wasn't just (or even primarily) that I am getting old and slow. My bike's axle-bearings were shot.

Several days ensued during which I labored to discover what kind of bottom bracket my road bike uses and what exotic tools I might need to replace it. Lurking beneath the surface was the dim worry that perhaps I couldn't replace the part at all. After all, the bike had been used for five seasons, seeing about 20,000 miles of hard use. Would I be able to get enough leverage to unscrew the part without breaking something (most likely my knuckles) or stripping the threads? Could I even remove the cranks to get at the bottom bracket?

Time and patience prevailed. From studying pictures on the web, I deduced which tools I'd need and determined exactly which bottom bracket to order as a replacement. Bike technology, like most other technology, has rapidly become complicated by diversity. This is especially true of light-weight racing bikes. The desire of weight-weenies to cut grams has led to continuous redesign of bike parts that once seemed simple and unchanging. In the old days, when I first began wrenching on my own bike, the cranks and axle were a single piece of bent, stout steel laced through the bottom bracket. The bearings were the size of large bb's and were packed into races machined into the rims of the bottom brackets. Cups slopped full of grease and threaded onto the axle held it all together. Every year or so I would have to add more grease, but the rest of the mechanism seemed immortal.

About ten years ago I had my first encounter with sealed bearings, which never need greasing--and cannot be greased. Nice! But the cranks and axle on a super-light racing bike are marvels of modern technology. The cranks are carbon fiber, making them stiff and very light. The axle has to be the stiffest part of the entire bike because of the torques to which it is subjected. That is why it was made of such heavy steel in the past. A light-weight racing machine, however, uses an axle that is much bigger in diameter (to provide stiffness) and hollow (to save weight). This very clever way of building an axle means, however, that there is less room for the wheel bearings. They are miniature bb's now; and they wear out faster than they once did, requiring that the entire part must be replaced. Thus, the classic bicycle bottom bracket was heavy and hearty, while the high-tech replacement is much more frisky and finicky. It's fast and light, but not particularly fragile. On the whole a considerable improvement. Time passes; things improve.

As it happens, I have just had another--and entirely opposite--experience contrasting old and new technology. When I was a boy and young man, eyeglasses were really made of glass. Glass is the perfect material for optics. It is hard and scratch-resistant with excellent refractive properties. That is why telescopes generally still use glass optics.

There are only three problems with glass lenses: (1) glass is quite brittle, making it easily shattered in some circumstances; (2) glass is relatively heavy; and (3) glass is quite hard, making it difficult to grind and polish. The design problem presented by these three qualities is not difficult to solve. Because glass is brittle, eyeglass lenses ought not to be too thin. But making eyeglass lenses thicker makes them heavier, so to keep the total weight down, the lenses should be kept small. Smaller lenses are somewhat easier and less expensive to grind. For centuries, then, corrective lenses have tended to be tiny--like the 19th-century pince-nez or John Lennon's granny-glasses.

Sometime after 1970, however, plastic lenses came into vogue. Plastic is much easier to grind and is about half the weight of glass. For ordinary prescriptions (not bifocals), the lenses could be ground on the premises of the optometrist, and the lighter weight gave frame designers many more options--leading sometimes to very large lenses in unusual shapes--think Elton John. Plastic is also more shatter-resistant and more UV-resistant than glass. For these reasons nearly all modern eyeglass lenses are now plastic. Unfortunately, plastic has two rather serious flaws. First its refractive properties are inferior to those of glass, so you just can't see as well with plastic lenses--especially if you have a strong correction. Second, plastic is easily scratched, and even the scratch coatings on plastic are inadequate. To the optometrists, these aren't really problems; they'd like you to get a new set of lenses every year anyway. To the purchaser, however, it is simply irritating to pay hundreds of dollars for a pair of glasses that start to deteriorate almost immediately.

This year, when I went in for new glasses, I decided to insist on glass. It was a bit of a battle, as I was forced to listen to multiple lectures from everyone in the office on the superiority of plastic. They like to blather on about the horrendous weight of glass, but their favorite tactic is to raise worries about getting shards of shattered glass in one's eyeballs--forgetting entirely that plastic shatters too and that eye injuries caused by broken spectacles are very rare. I listened politely, but I got my way. Eventually, I was allowed to pick out a small pair of frames to cradle my glass lenses. Then my frame and prescription was shipped off to an out-of-town facility that could actually grind glass.

I couldn't be happier with the result. As the photos below indicate, the new frames and lenses weigh exactly the same amount as my prior set of plastic lenses in larger frames. The optics are superb. Best of all, these lenses should last years without deteriorating in any way.

So, modern high-technology in bicycles and in bifocals is lighter, but far less durable than the older way of doing things. There may be a general principle at work here. The heavy typewriter I used while writing my dissertation is still perfectly functional, but I have half-a-dozen worthless old computers gathering dust in the closet. In some cases (eyeglasses) the old ways are better, while in others the light-weight, high-tech stuff is superb. Nothing could get me to haul out my fifteen-pound 1960-vintage portable typewriter to compose a blog when I have the option of writing on a three-pound netbook. Indeed, that old Remington weighs nearly as much as my shiny, new Motobecane SL racing bike!

One final observation: businesses love profit, and hardly anyone will promote the free solution to a problem. I've lived with severe myopia all my life, but only when I was researching this blog entry did I finally discover that in a pinch one can fashion a pair of corrective spectacles for daylight use by poking two pinholes, pupil-width apart, in a strip of flimsy cardboard! But who could sell such an item at a profit so why publicize the possibility--even though it's exactly the sort of tip that could save some camper's life after a tumble down a wilderness hillside.
Old Me

Saturday, October 31, 2009

Installing Tiny Core Linux on My Eee 900

 
A strong argument can be made that Tiny Core  Linux is the fastest-booting and most efficient operating system currently available--especially for netbook computers that are used for web browsing and cloud computing. Tiny Core is a modular operating system, allowing each user to select the programs and features most suitable for his system. I wanted to make my system as compact as possible so that it would boot quickly while still having a full-featured browser and other fairly standard capabilities. The total operating system described in these paragraphs uses only 44.1 megabytes of file space. While this installation is optimized for my Eee 900, the basic concept should be applicable with minor variations on a wide variety of other netbooks and laptops.
   
Assumptions:
You have access to a working version of linux.
You have about 100 MB of free space on sda1 (or your computer's boot partition).
   
Steps:
1. Create two directories on sda1 for your Tiny Core installation. Name one of them "tiny" and name the other "tce." Within the "tce" directory create another directory named "optional". 

2. Download the Tiny Core iso from http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/
   
3. Use an archive manager (FileManager in Xandros) to extract "bzImage" and and "tinycore.gz" from the Tiny Core iso. Put both of them in your "tiny" directory on sda1.
   
4. Use a file editor with root privileges to find and open your GRUB "menu.lst". You should be able to locate it in /boot/grub on sda1. Check that the GRUB menu is set to display during boot-up by commenting-out the "hiddenmenu" entry. (I.e., put a # at the beginning of that line.) Next give yourself some time to select your choice of operating system during the boot process; initially, I recommend that you set "timeout=5", but you can later reduce that to 1 or even 0 to speed boot time. Then, scroll to the end of the file and type in the following text:

  title Tiny Core Linux
  root (0x80,0)
  kernel /tiny/bzImage quiet tce=sda1 home=sdb1 opt=sdb1 nodhcp
  initrd /tiny/tinycore.gz


(NOTE: "root (0x80,0)" is the sda1 partition on my Eee 900 and it is used in each of the other three grub entries for the standard Xandros installation. If the boot partition is described in some other way on your machine, then use that designation. For example, on some hard drives it is "root (hd0,0)". Use whatever is the standard for your other grub items.)

At this point, save the changes you have made to menu.lst and reboot your computer. If all has gone well, you should be able to reboot into Tiny Core Linux. To add software and continue building your operating system, you will need to have a wired (ethernet) connection to the internet. Usually, this is as simple as plugging the appropriate wire either into the ethernet ports on your Eee and your router, or into the usb ports on both machines.

Now you are ready to build a fully functional system. I am going to recommend the smallest setup that provides wifi access, a browser, a couple of text editors, a couple of file managers, a music player, a video player, and a flashplayer. Tiny Core Linux uses two different types of packaged programs: tce and tcz. While both types still work, tcz's are preferred for version 2.4 of Tiny Core. 

So, begin by using Apps (the gears button at the bottom-center of your display) to mount 915resolution.tcz (for better screen display on some Eee pc's with Intel chipsets), opera.tcz (a browser), mc.tcz (a file manager and file editor), wireeless-tools.tczl (wireless), wireless-2.6.29.1-tinycore.tczm (wireless), wpa-supplicant.tcz (wireless), OSS.tczm (sound), cpufreq.tczl (cpu speed control), beaver.tczl (a graphical editor), conky.tcz (systems reporting), and xmms-musepack-1.2.1.tcz (for music). This will download the relevant files to the tce directory on your sda1 partition.

Now, click on Aterm (the screen button at the bottom-center of your display) and type in "sudo mc" without the parentheses. This will open Midnight Commander your file-manager/file-editor. Find your way to the /opt directory and highlight the bootlocal.sh file. This is a file that automatically executes commands every time you reboot your computer. We will use it to connect to wifi and to set the cpu speed. Push the F4 key to open the file for editing. Enter the following lines:

  sudo iwconfig wlan0 essid any
  sudo udhpc -i wlan0
  sudo modprobe p4-clockmod
  sudo cpufreq-set -g ondemand
  sudo mount -t auto /dev/sdb1 /mnt/sdb1


Push F2 to save the changes you have made to bootlocal.sh. The first two commands assume that you are going to be using a public wifi signal (i.e., no password needed). If you will normally be using a password-protected network, you can modify the lines appropriately. For example, to connect automatically to a wep-wifi, you will need the following:

  sudo iwconfig ath0 essid your-essid-name
  sudo iwconfig ath0 mode managed key your-password
  sudo udhdpc -i ath0


Similarly, cpufreq-set can be changed to "conservative" for the improved battery life or to "performance" for the best performance. This can also be changed anytime you wish while using your computer by opening a terminal and typing in "sudo cpufreq-set -g ondemand" . . . or "sudo cpufreq-set -g performance." (NOTE: When you are in the terminal window, you can push the up-arrow to cycle through the commands you have recently used, sparing you the need to retype many commands.) Having made these changes to bootlocal.sh, shut down your computer. Note that the first time you shut down Tiny Core, you will be prompted to select a location for a backup file. You can select any location--sdb1, for example. 

Reboot your computer. If all has gone well, it will automatically connect to wifi. (If it doesn't immediately connect, open a terminal and type in "sudo iwlist scanning." It should show either ath0 or wlan0 with an ESSID name and other info. Based on what you find, edit your bootlocal.sh and try again.) Try out your Opera browser, your graphical editor (Beaver), and your mp3 player (Xmms). Now we are going to reboot the computer one more time before installing your flashplayer, your pdf reader, and another file manager. While we are at it, we will also set up conky to monitor your computer's performance.

By now you should be getting used to how quickly Tiny Core Linux boots up. (On my Eee 900 it takes less than 30 seconds to boot and acquire a wifi signal.) Once again, use Apps to mount the following files: getFlash10.tgz, emelfm.tgz (a graphical file manager), Mplayer-nodeps.tcz (a video player), and xpdf-3.02p12.tcz. These are some hefty applications and they may take a bit of time to download and mount. Once they have done so, you should open a new desktop (hit Ctrl-F2) and put your mouse somewhere on the screen. Then click the right mouse button, scroll down to Applications, and run getFlash10. After it does its thing, switch back to your first desktop (Ctrl-F1) and shut down your computer. Boot again, go to youtube.com, and test your ability to play flash video.
The three somewhat bulky programs you installed in the previous paragraph may have somewhat slowed your computer's boot time and/or eaten up too much ram. You can cure this by moving these programs and their dependencies into the /tce/optional directory. After you have done that, they will no longer load into ram when you reboot your computer, but you can invoke them at will by using Apps>File and mounting them from their directory.

Now there is a little more tweaking to be done. First, let's set up Opera so that it invokes xmms to play streaming audio. Start Opera and go to Tools>Preferences>Advanced>Downloads. Click Add and insert in the Mime box "audio/x-scpls" -- and insert in the Open box "xmms %s" (without the quotes). Use Opera to go to www.publicradiofan.com and see if you can play streaming audio through xmms. While we are configuring Opera, let's reduce its demands on flash drives. Go to Tools>Preferences>Advanced>History and change Memory Cache to 40 megabytes, switch Disk Cache to off, and tick the box for Empty on Exit.

Next we need a good default configuration for conky. Create a new file with Beaver and paste in the following text:

  # maintain spacing between certain elements
  use_spacer yes
  # set to yes if you want tormo to be forked in the background
  background no
  # X font when Xft is disabled, you can pick one with program xfontsel
  #font 5x7
  #font 6x10
  #font 7x13
  #font 8x13
  font 9x15
  #font *mintsmild.se*
  #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  # Xft font when Xft is enabled
  xftfont Verdana:size=12:bold
  # Text alpha when using Xft
  xftalpha 0.8
  # Xft font when Xft is enabled
  use_xft no
  # Draw shades?
  draw_shades yes
  # Draw outlines?
  draw_outline no # amplifies text
  # Draw borders around text
  draw_borders no
  # Text alignment, other possible values are commented
  alignment top_left
  #alignment top_right
  #alignment bottom_left
  #alignment bottom_right
  TEXT
  ${color #FF0000}$nodename - $sysname $kernel
  ${color #0000FF}Uptime: $uptime
  RAM: $memperc% ${membar 8}
  Swap:$swapperc% ${swapbar 8}
  CPU: $cpu% ${cpubar 8}
  CPU Temp: ${acpitemp}C
  CPU Speed: ${freq}MHz
  ${color #FFFF00}/ ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
  ${fs_bar 8 /}
  /home ${fs_used /home}/${fs_size /home}${alignr}${fs_used_perc /home}%
  ${fs_bar 8 /home}
  ${color2}Battery ${color1}${battery}
  ${battery_bar}


Save this file as ".conkyrc" (without the quotes, but using the period at the front of the filename). Open a terminal window and type in "conky" (without the quotes). Close the terminal window. Now you can monitor cpu temperature and speed, as well as other features of the operating system. Many different configurations of conky are possible if you do a bit of reading on the internet.

Finally, I recommend two optional modifications. First, each time you shut down your computer, Tiny Core makes a backup file. But we have installed it in a way that creates persistent directories so that it is unnecessary and undesirable to load the backup file each time you reboot your computer. I recommend that you copy your current "mybackup.tz" to a removable usb stick and change the installation so that backups are not automatically made and loaded with each boot. To do so, open a terminal window, type in "sudo mc", scroll down to ".profile" and highlight it. Push F4 to edit the file. Scroll down to the line that starts "export BACKUP" and edit it to "exportBACKUP=0." Push F2 to save your changes. Bingo. Tiny Core will no longer automatically backup and reload your system, but can still be made to do so if you desire it. Second, you'll probably want to use Opera every time you boot your computer. To make it start automatically, you need to edit your ".xsession" file (using "sudo mc" as above). Simply add "exec opera" at the end of the file, save it, and reboot.

This is the way I have set up my Eee 900 for optimal use for most daily tasks. Enjoy modifying your own installation. If you make a mistake, it is easy to reinstall everything in this small, efficient Linux version.

Thursday, October 1, 2009

For the past several years, I have made an annual resolution to swim across our part of the lake at least once before autumn. This year autumn seems to be setting in early and the lake is already a little chilly. Yesterday I decided it was now or never for the 9/10ths of a mile ordeal.

Sue served as photographer and oarsman, working perhaps harder than I did since she had to row back across the lake with me in boat. Her pictures say it all. Click on them to see larger versions.

Setting off


Nearing shore


Finally done