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...
Monday, October 19, 2015
Powerful testimony...
Like her, I am ashamed that my country condones and encourages the killing of babies...
Reason interviews Scott Adams...
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.Ha!
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.
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...
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:
The solution was crazy simple: I simply rewrote the formulation as:
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
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...
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!
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...
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...
Paradise ponders...
Paradise ponders... Our salmon yesterday afternoon was great. We had the Ora King salmon again, with Debbie's technique of baking in foil with a mayonnaise-peppadew concoction on top. Yummy stuff! She also made a sort of stir-fry of potatoes, onions, and fresh bell peppers from our neighbor's garden. Also extremely yummy! We were both so full we could hardly move afterwards, though...
The mutts (Miki and Race) and I went for our walk this morning, after missing the past two days for various and sundry reasons. We hit the trail shortly after the sun poked its way up over the Wasatch Mountains, in a partly cloudy sky. This made for some interesting lighting effects, in some cases nicely highlighting the fall color. I spent the entire time looking at the scenery, and didn't actually notice any wildlife (though I'm sure it was there!) until we were walking back over the irrigation canal bridge in our driveway. There, in a box elder tree on the north side of the bridge, was a big, noisy flock of chickadees. There must have been at least two dozen of them, all chattering away like mad, and flitting to and fro for no apparent reason. Miki (the bird dog) completely ignored them. Race (the sheep-herding dog) watched them intently, perhaps thinking that they looked like they needed herding :) Some photos of Paradise for you:
The mutts (Miki and Race) and I went for our walk this morning, after missing the past two days for various and sundry reasons. We hit the trail shortly after the sun poked its way up over the Wasatch Mountains, in a partly cloudy sky. This made for some interesting lighting effects, in some cases nicely highlighting the fall color. I spent the entire time looking at the scenery, and didn't actually notice any wildlife (though I'm sure it was there!) until we were walking back over the irrigation canal bridge in our driveway. There, in a box elder tree on the north side of the bridge, was a big, noisy flock of chickadees. There must have been at least two dozen of them, all chattering away like mad, and flitting to and fro for no apparent reason. Miki (the bird dog) completely ignored them. Race (the sheep-herding dog) watched them intently, perhaps thinking that they looked like they needed herding :) Some photos of Paradise for you:
Down the rabbit hole...
Down the rabbit hole... That's where I've been going, in my bits and pieces of spare time. The particular rabbit hole of the moment is matrix operations on gigantic (m x n on the order of 10M) but quite sparse (non-zero entries less than a couple percent). These matrices are used to solve large systems of linear equations, where most operations are done on rows. There are some special challenges here. For instance, the sparsity changes (both up and down) as the calculations proceed.
I'm far from the first person to ever solve such problems – people were working on this exact problem back in the '50s and '60s. There's an enormous body of both research and practical implementations – but remarkably little that's open source, and none that I've been able to find in Java that's well-suited to my problem (circuit simulation). I'm quite surprised by this. On digging into what it would to implement it myself, I've discovered that it's not really all that hard, and that most of the challenges are in optimizing for the large scale of the operations involved. Some of the optimization is actually compression. That all feels like familiar territory – I know very little about matrix arithmetic, but there are a lot of articles and papers on implementation freely available on the web, and it all looks like stuff I should be able to do a good job implementing.
So down the sparse matrix arithmetic implementation rabbit hole I go :)
I'm far from the first person to ever solve such problems – people were working on this exact problem back in the '50s and '60s. There's an enormous body of both research and practical implementations – but remarkably little that's open source, and none that I've been able to find in Java that's well-suited to my problem (circuit simulation). I'm quite surprised by this. On digging into what it would to implement it myself, I've discovered that it's not really all that hard, and that most of the challenges are in optimizing for the large scale of the operations involved. Some of the optimization is actually compression. That all feels like familiar territory – I know very little about matrix arithmetic, but there are a lot of articles and papers on implementation freely available on the web, and it all looks like stuff I should be able to do a good job implementing.
So down the sparse matrix arithmetic implementation rabbit hole I go :)
SPDX: an interesting (and easy!) solution...
SPDX: an interesting (and easy!) solution ... for one of the more annoying challenges facing software engineers these days: copyright and license notices in source code...
New Enceladus photos from Cassini...
New Enceladus photos from Cassini... There are lots of interesting raw images (like the one at right) to peruse, and a short article on the recent close flyby (closest one ever; they're accepting more risk as Cassini nears the end of its long and incredibly productive life)...
Friday, October 16, 2015
Paradise ponders...
Paradise ponders... I had quite the busy day yesterday, working with Tyler (the generator guy). Early in the morning I headed up to Thomas Petroleum (where I bought the propane tanks), with the mission of exchanging the regulator I'd bought the day before for a new one with lower output pressure. That turned into a very educational experience for me – these regulators are more complicated than they appear at first blush. Working with an engineer there, we figured out that for our situation we actually needed two regulators (see second photo below): a primary (the red one) and a secondary (the green one). The most unexpected discovery to me is that a single regulator stage can't reduce the pressure from the roughly 200 PSI of the tank to the roughly 1/2 PSI that the generator needs. That 400:1 reduction is beyond the capability of these diaphragm-based mechanical regulators. We need two regulator stages, each reducing the pressure by about 20:1, to get that kind of overall reduction. There are two-stage regulators in a single package, but they can't produce the volume of gas needed by the generator – so we had to get two individual regulators, each fairly large, to do the trick. I now know way more about gas regulator systems than I ever wanted to know as a result of this exercise :)
Because we needed two separate regulators, the plumbing as originally constructed wouldn't work. I gave Tyler a call to let him know the bad news, and we figured what would be needed to get the plumbing right, and gave the plumbers a call. Tyler came to the house a short while later, finished the last of the wiring (you can see this work in next-to-last photo – that's a lot of really big wire crammed in there!), and then it was time to give it a try. This time it fired right up. It works ever so much better when the engine is getting fuel! Then Tyler did a little bit of clean-up work, removed the forms from the slab he'd poured on Tuesday, and he was done. We're now fully backed up, both house and shed. Yay!
Overall I'd unhesitatingly recommend Tyler and the Golden Spike Electric crew to anyone who needs a generator. They were wonderful to work with, accommodating to our needs, and did a job far better than I know how to do. They're also just plain nice folks, the kind I'd like to have over for dinner sometime...
This morning Debbie and I left at the first blush of dawn to go wildlife viewing in Hardware Ranch and Ant Flats. We had a spectacularly successful outing! First up was a group of deer: a doe, a yearling, and a young buck. It's a little unusual to see a buck in a group like that, so we speculate that it was that doe's two-year old son. We watched them mosey down the mountain from our left, cross the road right in front of us, and head down to the river on the right. A little further down the road, we saw an osprey stoop toward the river, just opposite us, and pull back just before hitting the water. Then we watched him fly around, including directly overhead at perhaps 30' of altitude. Great osprey viewing! After he flew away, we headed out toward ant flats and stopped to look at the trout – and I spotted a dipper headed down the stream toward us. This little fellow perched on a large rock in the middle of the stream and spent the next ten minutes posing for us. That was by far the best view of an American Dipper we've ever had. We continued for a mile or so on Ant Flat Road, then headed back to Hardware Ranch to see if we could see some elk. None of them were in view, but on the way out we spotted a kingfisher perched high on a twig, not above the stream where we usually see them. We stopped, fully expecting him to take off (as they generally do), but this one changed perches a few times until settling on a thick fence post, then did a slow 360° turn as if posing for us! We were able to watch him continuously for over five minutes, while he was fully sunlit, and from every angle. Great! Finally, as we headed back down the canyon toward Hyrum, we spotted a pair of northern harriers, near the road, hunting over a large meadow while being harassed by a group of crows. We had exceptionally good viewing of their low-altitude, slow-speed hunting – fully showing off their agile flying.
We love living here :)
Near Hardware Ranch there's a water bubbler, no longer working, that memorializes one A. J. Peterson, who had something to do with the establishment of the big game unit at Hardware Ranch. I couldn't find out much about him online, and nothing definitive.
When we got done we decided to repair to Crumb Brothers for breakfast. That was, of course, wonderful (croque madam for me, chocolate biscotti for Debbie). Next up is a grocery run, and Debbie is going to make us some Ora King salmon for dinner. That's some mighty fine eating for us today!
Because we needed two separate regulators, the plumbing as originally constructed wouldn't work. I gave Tyler a call to let him know the bad news, and we figured what would be needed to get the plumbing right, and gave the plumbers a call. Tyler came to the house a short while later, finished the last of the wiring (you can see this work in next-to-last photo – that's a lot of really big wire crammed in there!), and then it was time to give it a try. This time it fired right up. It works ever so much better when the engine is getting fuel! Then Tyler did a little bit of clean-up work, removed the forms from the slab he'd poured on Tuesday, and he was done. We're now fully backed up, both house and shed. Yay!
Overall I'd unhesitatingly recommend Tyler and the Golden Spike Electric crew to anyone who needs a generator. They were wonderful to work with, accommodating to our needs, and did a job far better than I know how to do. They're also just plain nice folks, the kind I'd like to have over for dinner sometime...
This morning Debbie and I left at the first blush of dawn to go wildlife viewing in Hardware Ranch and Ant Flats. We had a spectacularly successful outing! First up was a group of deer: a doe, a yearling, and a young buck. It's a little unusual to see a buck in a group like that, so we speculate that it was that doe's two-year old son. We watched them mosey down the mountain from our left, cross the road right in front of us, and head down to the river on the right. A little further down the road, we saw an osprey stoop toward the river, just opposite us, and pull back just before hitting the water. Then we watched him fly around, including directly overhead at perhaps 30' of altitude. Great osprey viewing! After he flew away, we headed out toward ant flats and stopped to look at the trout – and I spotted a dipper headed down the stream toward us. This little fellow perched on a large rock in the middle of the stream and spent the next ten minutes posing for us. That was by far the best view of an American Dipper we've ever had. We continued for a mile or so on Ant Flat Road, then headed back to Hardware Ranch to see if we could see some elk. None of them were in view, but on the way out we spotted a kingfisher perched high on a twig, not above the stream where we usually see them. We stopped, fully expecting him to take off (as they generally do), but this one changed perches a few times until settling on a thick fence post, then did a slow 360° turn as if posing for us! We were able to watch him continuously for over five minutes, while he was fully sunlit, and from every angle. Great! Finally, as we headed back down the canyon toward Hyrum, we spotted a pair of northern harriers, near the road, hunting over a large meadow while being harassed by a group of crows. We had exceptionally good viewing of their low-altitude, slow-speed hunting – fully showing off their agile flying.
We love living here :)
Near Hardware Ranch there's a water bubbler, no longer working, that memorializes one A. J. Peterson, who had something to do with the establishment of the big game unit at Hardware Ranch. I couldn't find out much about him online, and nothing definitive.
When we got done we decided to repair to Crumb Brothers for breakfast. That was, of course, wonderful (croque madam for me, chocolate biscotti for Debbie). Next up is a grocery run, and Debbie is going to make us some Ora King salmon for dinner. That's some mighty fine eating for us today!
Thursday, October 15, 2015
A paean to capitalism...
A paean to capitalism... By Claire Berlinski, with a geekly bent, so you really should read it. The comments are good, too.
This is your state...
This is your state ... when progressives take over! California, New York, and Massachusetts aren't far behind...
Subscribe to:
Posts (Atom)









