Wednesday, October 21, 2015

This is pretty funny...

This is pretty funny...  It's also the reason why I use a password manager (1Password, in my case)...

Cyr wheel...

Cyr wheel...  That's apparently what this is called.  The performer is Jeremy Buck.  Reader Simi L. sent this along, with this note:
Pretty spectacular! Note in particular how he never runs over his fingers.

Japanese maple...

Japanese maple ... at the Portland (Oregon) Japanese Garden.  I've visited that garden and the very famous tree, though not (unfortunately!) while it was in fall color.  It truly is a gorgeous specimen...

That's one very impressive machine!

That's one very impressive machine!  See the ant-like men working around its bottom to get a good idea of the scale of the thing.  It's erecting segments of a new viaduct in China.  One thing I'm left wondering: how on earth did they get that machine to the job site?  Did they build it on site?

“The fundamental producer of income inequality is freedom.”

“The fundamental producer of income inequality is freedom.”  Now there's a ponder-worthy quote, and it's my quote of the day.  The writer was George Will, in a shouldn't-be-missed column at NRO.  In the occasional conversation I've had with friends about income inequality, I've always defended it as a good thing, and a reflection of capitalism at work – but Mr. Will has reduced that idea to its most pithy, powerful form in that one short sentence...

Paradise ponders...

Paradise ponders...  We took our walk yesterday at noon, under a partly cloudy sky.  The ground was still damp and slightly muddy from the rains, so we kept to the roads and avoided tromping over the sodden fields.  The dogs were disappointed by this, as that meant less voles to sniff out.  Still, the high humidity brought exciting aromas to their noses, and both of them were noses down the whole time we were walking.  We saw a few hawks circling high, but none perched around the fields.  They must have reduced the vole population to the point where they have to work harder to find one.  It was only 50°F during our walk; light jacket weather even though we were working hard.  Some photos:


Debbie had physical therapy in the morning, and I worked indoors where I could stay warm.  Elray had to stay home in the morning to wait for two truckloads of casing pipe to arrive (some of which is for us!); he didn't get here until too late in the afternoon to start drilling.  The next step for him is to expand the hole he's got now from 6" to 10" in diameter.  That's so he can put a temporary 10" casing down the first 40' or so of the well.  That will provide enough room for him to put the water connection in, 6' or so underground (to prevent it from freezing).  When he's all done with the well, he'll pull that 10" casing out.  A reader wrote yesterday to ask what the drill bit actually looks like.  That's what the photo at right is: the 6" rotary drill that he used to drill the hole we've got so far.  Those knobby “cones” rotate against the bottom as the drill shaft is turned.  Because the shaft itself is heavy, plus there's a big weight on top of it (several tons), those pointy knobs are grinding into the bottom of the well, breaking loose bits of soil and rock as they go.  Between the top two cones you can see a small hole; that's one of three air ports that blast out a huge amount of compressed air to blow the debris back up the hole.  There's also a bit of water injected in there, about 500 gallons per day, mainly to keep it from creating too much dust.  The water also acts as a lubricant, but that doesn't matter too much unless you're drilling through rock.  Elray tells me that those rotary drills were invented by Howard Hughes – not that Howard Hughes, but his father.  That's how he made his original fortune.

Debbie and I had lunch at Elements, a restaurant on the southern end of Logan that gets high rankings in the snooty restaurant magazines and web sites.  We'd only been to it once before; we liked it but were not all that impressed by it.  Yesterday we decided to give it another try, and we're very glad we did – both of us had really nice meals.  Debbie had an outstanding spinach salad and a barbecue chicken pizza (she's a big fan of these; me, not so much) that she pronounced wonderful.  I had a tomato bisque (good, not great; a little sweet for my taste), and a very different sort of fish and chips.  That's what they called it on the menu, but it really was Alaskan cod cooked tempura-style, and mashed sweet potato baked with a cinnamony, slightly sweet crust on top.  The cod was melt-in-your-mouth good, better than any I've had in many years.  The tempura was perfectly done; a very light coating of batter and very little oil.   And the sweet potato just might have been the best sweet potato dish I've ever had.  Debbie, somehow, had enough room for dessert: key lime pie.  I didn't even taste it, but she reports it was mouth-puckeringly tart, just the way she likes it, and reeking of lime.  I almost left out the part of the meal that surprised us the most: flavored lemonades.  When you order one, you get one free refill.  We both started with raspberry, and at the first sip our brains just about fell out on the table.  Wonderful stuff!  Tart as hell with the lemon, but with a lot of raspberry puree swizzled in.  Naturally we both took our refills.  Debbie tried the strawberry, and was equally delighted with it.  I tried the mango, and it was just as wonderful as the raspberry.  We'll be going back there...

The photo above has nothing to do with the restaurant :)  It's the view to the southwest of our driveway entrance, as the sun was about to disappear behind the Wellsville Mountains...

Tuesday, October 20, 2015

Paradise ponders...

Paradise ponders...  It rained intermittently yesterday, so the boys (Miki and Race) and I missed our walk.  This morning it's a little nasty out (humid and cold), so we're going to wait until later this morning, or maybe even early this afternoon.

Debbie and I took a ride in the Hardware Ranch area late yesterday afternoon.  We had some great viewing of several kingfishers under the shadow-less light of a cloudy day.  It's interesting what the lighting does to your view.  Through the binoculars the colors were dull and flat by comparison to bright sunlight, but we could see the details of the birds much better in the lower contrast.  We also caught a fleeting glimpse of a dipper, and Debbie spotted just one deer as it hightailed it over a hill.  Hunting season is open, and the deer are smart enough to stay out of sight when the hills are swarming with orange-jacketed hunters.

Elray (the well driller) showed up in the afternoon to start our well, and I went out to observe and chat a bit.  Elray is quite a character – a lifetime resident of the general area, as were his parents.  His dad was also a well driller.  Elray told me about a fun project he's got going – to restore his dad's first well drilling rig to working condition.  It's made mostly of wood, which has deteriorated over the years, so he's got a bunch wood working to do.  That's all new to him, as everything he does involves steel.  That old rig also works completely differently than today's rigs.  It didn't use a rotary drill bit; instead, it used a round “bit” that got pounded into the ground with a heavy weight that was repeatedly dropped on the top of the pipe.  This is essentially the same idea as a modern pile driver, but with the weight lifted via a cable instead of a diesel piston.

The first photo below shows the rig while drilling.  Note the American flag flying at the top.  What you're seeing there is the drill shaft turning (which turns the bit far underground against the hole's bottom), and compressed air (at up to 900 cfm!) blowing the debris right up the hole and out of the top, in the form of gray mud mixed with gravel that you can see at the bottom of the rig.  The mud is gray because he's drilling through a layer of clay that underlies the entire valley.  The second photo is the same, except with a closer view of the operator's panel and the top of the hole.  The third photo shows Elray using the hoist mechanism to add another 40' length of drill shaft.  He's doing this because the first 40' piece is now almost entirely underground, so he has to add another segment to go deeper.  The last photo shows a later stage of that same operation.


I was fascinated by Elray and his rig.  Watching him work through an entire cycle of drilling and adding a “stick” to the drill shaft, I could see just how cleverly this entire system worked together with a skilled operator.  The end result is that a single man, nearly 70 years old, can drill a well up to 1,200' feet deep.  The rig is full of things that surely were developed after years of in-the-field experience and innovation.  To pick on just one example: the system that allows “sticks” to be screwed and unscrewed from one another without requiring the precise alignment of (say) pipe threads.  That system is simple, relying mainly on tapered threads (sort of like an “easy-out”, if you're familiar with them), but incredibly robust and easy for the field workers to use.  Another: the center-of-gravity hoist mechanism (which you can see in the last two photos) makes it easy to maneuver the 400 lb. “stick” into the proper position.  There are probably two or three hundred such bits of cleverness in this rig's design.

When I mentioned to Elray how impressed I was with the rig's engineering, he launched into an apologia of sorts.  I had to stop him to ask why he was doing this – and it emerged that the rig I was so impressed with is, by today's standards, obsolete.  It's as if someone started praising the cleverness of vacuum tubes to someone like me.  The modern rigs, Elray tells me, make this one look sort of silly.  They're full of computers that monitor the entire operation and automate much of it.  But those modern rigs are extremely expensive (as in well over a million dollars), and with his small business he can't justify that sort of expense unless he raised his fees beyond what the local market would bear.  He actually had a relatively sophisticated analysis of the business case, though expressed in the language of a country boy.  So he's making do with his two old, obsolete rigs.  The cost of maintaining them in working order is a small fraction of the cost of a modern rig's financing, and that allows him to keep his fees low.  About the only regret he seems to have is missing the increased safety of the modern rigs.

Monday, October 19, 2015

Free topo maps...

Free topo maps ... of just about anywhere in the U.S.  This is another example of how modern technology has completely upended the old way of doing things.  When I was a kid, if you wanted a topo map you either visited a musty old map store and hoped they had the one you wanted (out of the many thousands that were available), or you wrote away to a mail order firm and waited weeks or even months for your map to arrive.  They weren't cheap, either.  When you finally got your mitts on that map, it was a large piece of quality paper that had to be folded or rolled for transport.  They were particularly awkward if you were hiking, and highly vulnerable to spoiling by getting wet or dirty.  Usually we put them in a watertight plastic bag with the map folded so we could see the area around us without removing the map. 

Fast forward to today.  I haven't used a paper topo map for quite a few years now.  My device of choice for map work is my iPad, but my iPhone works quite well, too.  When I'm home I use my computer with its magnificent 27" screen.  I can pan and zoom with the flick of a finger.  And the maps got cheaper and cheaper, then free on certain web sites, and now – free to everyone through the USGS Store where you can download a PDF of any topo map for free.

It's an amazing world we live in...

Powerful testimony...

Powerful testimony ... at the House Judiciary Committee hearings on Planned Parenthood (aka Baby Parts, Inc.).

Like her, I am ashamed that my country condones and encourages the killing of babies...

Reason interviews Scott Adams...

Reason interviews Scott Adams...  I'll bet it would be a lot of fun to sit down for an evening of conversation with Scott..

Sunday, October 18, 2015

The cranky old lady...

The cranky old lady...  Via my pistol-packing, Macified mom:
A very cranky old woman was arrested for shoplifting at a grocery store. She gave everyone a hard time, from the store manager to the security guard to the arresting officer who took her away. She complained and criticized everything and everyone throughout the process.

When she appeared before the judge, the judge asked her what she had stolen from the store. The lady defiantly replied, "Just a stupid can of peaches."The judge then asked why she had done it.

She replied, "I was hungry and forgot to bring any cash to the store.” The judge asked how many peaches were in the can.
She replied in a nasty tone, "Nine! But why do you care about that?”

The judge answered patiently, "Well, ma'am, because I'm going to give you nine days in jail -- one day for each peach.”

As the judge was about to drop his gavel, the lady's long-suffering husband raised his hand slowly and asked if he might speak. The judge said, "Yes sir, what do you have to add?”

The husband said meekly, "Your Honor, she also stole a can of peas.
Ha!

Twelve foot tall Cosmos!

Twelve foot tall Cosmos!  My mom sends this photo, saying:
Special soil prepared by Scott, grown in 12 inch pot on my deck this summer...is 12 + high and just started to bloom. That is some nutritious soil! Warren is 6 feet tall.
Scott is my brother, soon to be moving out here to Utah – and hopefully, to be providing said super-soil to us! Warren is my brother-in-law, who (when he's not gaping at giant Cosmos) is a great help to my mom by taking care of a zillion little (and some not so little) maintenance issues at her house.

Newspaper headlines...

Newspaper headlines...  Reader Simi L. sent along a great collection of classic newspaper headlines.  Many of them I'd seen before, but not these:


First findings released by New Horizons team...

First findings released by New Horizons team...  Good article here.  Lots of new raw photos, too, like the one of somewhere on Pluto at right.  Pluto's surface is weird!

Mammatus clouds...

Mammatus clouds...  The word “mammatus” is Latin for “having breasts”, which pretty much guarantees these are my favorite kind of cloud :)  I've only seen them myself one time, in the Philippines when I was there in the U.S. Navy, in the '70s.  Via APOD, of course...

Mythconceptions...

Mythconceptions...  An interesting compilation in the form of an infographic...

Warthogs in Estonia...

Warthogs in Estonia...  Gorgeous photos of American A-10 "Warthogs" parked under the aurora borealis at a military airfield (Ämari Air Base) not far from Tallinn, Estonia...

Paradise ponders...

Paradise ponders...  It's raining today; started late yesterday afternoon in a stop-and-go kind of way.  There hasn't been much accumulation out.  The temperature is in the mid-50s, and it's 100% humidity (naturally), so it feels fairly chilly out even when it's not actually raining.  It will be mostly an inside day today, I think.  The dogs and I will have to live without our beloved morning walk.

I've been working away on a couple of tough (and therefore interesting) programming challenges.  The first one is comparing the result of a double precision floating point with zero, where we want the result of the comparison to zero to be true even when the result of the subtraction is slightly different than zero.  That's a far harder problem than one might think, a special variant of the also tough general case of simply comparing two floats.  Click on the link to that article if you'd like to know more about the whys and wherefores.

I had an insight yesterday that led to a nice solution for me.  In my original formulation, I did something like this:
if( nearlyEqual( a - b, 0.0, epsilon ) {...}
Where a and b are doubles, and epsilon is how close a - b and 0.0 must be in order to be considered equal.  This is a conventional comparison: you subtract the two numbers and compare the result to zero.  In this case, however, the results can be wildly different than what you expected, as that linked article explains.

The solution was crazy simple: I simply rewrote the formulation as:
if( nearlyEqual( a, b, epsilon ) {...}
Voila!  No more problem.  It always gives me a kick when I beat my head against the wall working on a tough problem, and the solution turns out to be easy!

The reason this solution worked is that epsilon is relative to the exponents of the numbers being compared.  In the first formulation, if one or both a and b are computed and should be considered equal, there will likely be a very small difference between a - b – but exactly how small depends on the size of those numbers.  In general, the exponent of the difference will be roughly 16 (base 10) less than the exponent of the given numbers.  So if the two numbers were on the order of 10^100, the difference would be on the order of 10^84 – a tiny difference relative to the given numbers, but a long, long way from zero!  So of course they don't look like they're nearly equal.  In the second formulation, because a and b are the inputs to the nearlyEqual() function, the function knows what their exponents are, and can accurately judge what's close enough.  Oh, so easy!

The second issue I haven't solved yet.  I need a hash function over an array that is sensitive to each nonzero value and its index.  The function should generate different results if the values at a pair of indices are swapped, and should generate the same results no matter what order the values and indices happen to be presented in.  I'm still pondering that one...

Saturday, October 17, 2015

Paradise projects: the next one...

Paradise projects: the next one...  We've been waiting quite a long while for this project to get started – getting a well drilled on the parcel that has our shed on it.  This well is mostly a backup in case something happens to our spring.  The well water won't be nearly as good as the spring water, but it should be far more reliable.  My plan is to run the well feed into the shed, set up a water conditioning system (softening and iron removal) there, along with a cistern (probably 1,000 gallons), secondary pump, and pressure tank.  I'll use the water in the barn and its surrounding landscaping, but mainly it will be there as backup for the spring.  To make that work, I'll have a bit of plumbing done so that I can switch the use of the pipe between feeding the shed from the house and vice versa.  Then if anything ever does go wrong with the spring (or its associated cistern and pump), I can just flip a few valves and get water from the well.

Several of my neighbors recommended the well driller – one Elray Westlake of Preston, Idaho.  Most of these neighbors had had bad experiences with one or another of the other local drillers (Preston is just a few miles north of Logan; we're quite close to the Idaho border here, so Elray is really still local).  Of Elray, though, everybody had only good things to say.

I first contacted Elray in September of 2014, just over a year ago.  He had quite a big backlog of work as the local construction industry was shaking off the recession.  I told him my requirements weren't urgent, and he should just keep me in mind the next time he had his rig down near Paradise.  About six weeks ago, he contacted me and said he'd soon be ready to start.  We've talked a few times since then – he's quite a character, very entertaining to talk with – and yesterday he called to say he was ready to go.  Sometime today he drove his rig over, along with a couple of trailers full of casing pipe.  You can see all that in the photo above, where he's parked along the north side of our little pine forest.  The well is going in just behind the drilling rig.  On Monday the work begins!

What sort of camera do I use?

What sort of camera do I use?  A reader wrote and asked, so I'll answer for everyone: for over a year now, I've used nothing other than my iPhone 5.  Usually I don't even post-process them; they're straight out of the camera.  Occasionally I'll do a little color-correction, temperature-correction, or cropping (I did all three on a few photos this morning). 

Do I miss the 35mm SLR?  Most of the time, no.  And I certainly don't miss lugging all that stuff around!  The iPhone's convenience and the fact that I'm always carrying it on my person trumps the technical advantages of the SLR the vast majority of the time.  Occasionally I miss the telephoto lens (naturally, the biggest and heaviest of the lot), especially for wildlife.  Even more occasionally I miss the macro lens, for flower closeups.  Most of the time, though, the combination of the wide angle lens on the iPhone and its pixel density lets me do anything I want to. We'll be getting a new phone sometime soon, and the new iPhone 6 camera with built-in optical stabilization and even higher pixel density will only increase these factors.

I likely will get a system camera again someday, but I'm guessing that it won't be a 35mm system.  The old standby camera companies (Nikon, Canon, etc.) are struggling because so many of the people who would formerly have purchased their 35mm SLR products are moving to either the smaller dedicated cameras or, like me, are simply using their mobile phone's camera.  The camera companies still have the advantage on the glass (the lenses), but the phone companies (especially Apple) have the upper hand on the software, display, and integration side.  The sensors are pretty much a tossup.  I'm sure this will all settle out one of these days, and somehow some company is going to get the best of both worlds.  I wouldn't dare try to predict which company that would be; there are just way too many possibilities.  About the only thing I'd bet on would be that the sensors in the future will trend smaller than 35mm, and consequently the lenses will be much smaller (and therefore more convenient!).  When it looks like the dust has settled for a while, and that there's something resembling a standard for the glass emerging, that's when I'll likely jump into a system camera again...