Evening in Paradise... Our new routine in the evening is to let Mo'i out into “his” backyard for him to amble at his own pace, while Miki, Race, and I take off for a somewhat brisker – and much longer – walk to the east. We walked just over a mile each way tonight. Walking away from home, uphill, the dogs wanted to go fast as hell. Coming home, downhill, they were content with a much more leisurely pace. That's of course exactly backwards from what I'd like to do. Not that they would care. Just look at these completely unrepentant faces!
Wednesday, July 8, 2015
On the other hand...
On the other hand ... we're now at 0.95" for this storm, with still more to come. The forecast was for 0.4", so the weatherman was only off by 100% or so...
Any twinge of hopefulness I was feeling today...
Any twinge of hopefulness I was feeling today ... was completely destroyed by reading this story.
Some commenters said that the judge (a judge!) didn't get the big picture. I don't think the judge (a judge!) gets any part of the picture, big or little.
The average IQ is 100 (because definition). I'm fairly certain that at least one of our dogs (Miki) has above human-average IQ. That's not a good message about humanity, even though Miki is a pretty darned smart little dog.
His latest demonstration of high IQ? A few days ago I walked upstairs in our house, while the dogs were all kept in the kitchen by a doggie gate. Or so I thought – but as I sat down in my office chair, I discovered Miki, tail wagging furiously with happiness. He curled up by my feet and stayed there for an hour or so. Then I went back downstairs with him, and discovered that the gate was closed. The gate is too tall for him to jump over. How the heck did he get out of the kitchen?
A couple of days (and escapes) later, I caught him in the act. The clever little guy figured out that he could jump onto a kitchen chair, walk across the kitchen table, jump over to a little table we have near the gate, and then leap over the gate. That first chair is a good 10' from the gate. Somehow he figured all this out. I've employed people who wouldn't have been able to do that :)
Some commenters said that the judge (a judge!) didn't get the big picture. I don't think the judge (a judge!) gets any part of the picture, big or little.
The average IQ is 100 (because definition). I'm fairly certain that at least one of our dogs (Miki) has above human-average IQ. That's not a good message about humanity, even though Miki is a pretty darned smart little dog.
His latest demonstration of high IQ? A few days ago I walked upstairs in our house, while the dogs were all kept in the kitchen by a doggie gate. Or so I thought – but as I sat down in my office chair, I discovered Miki, tail wagging furiously with happiness. He curled up by my feet and stayed there for an hour or so. Then I went back downstairs with him, and discovered that the gate was closed. The gate is too tall for him to jump over. How the heck did he get out of the kitchen?
A couple of days (and escapes) later, I caught him in the act. The clever little guy figured out that he could jump onto a kitchen chair, walk across the kitchen table, jump over to a little table we have near the gate, and then leap over the gate. That first chair is a good 10' from the gate. Somehow he figured all this out. I've employed people who wouldn't have been able to do that :)
Many scientists are waking up to the fraud that is Big Climate Change...
Many scientists are waking up to the fraud that is Big Climate Change... Here's one more...
Is there any hope?
Kozinski on the criminal justice system in the U.S.
Kozinski on the criminal justice system in the U.S. Awesome!
Dione, moon of Saturn...
Dione, moon of Saturn... Via APOD, of course. Taken by the Cassini robotic space probe. The big dimly lit orb is Saturn itself, and in the upper right you can make out Enceladus. The “diagonal line” are Saturn's rings, seen edge-on.
Morning in Paradise...
Morning in Paradise... We woke a little late for us – around 5:30 am. I got up and let Mo'i out into our back yard, which he has taken a real liking to. He now treats it as “his”, as opposed to being some strange new place. He wanders about, sniffing all the things he can neither see nor hear. He's have some trouble with the two steps down from the back door, though. I think I'll have to build him a ramp soon.
Miki, Race, and I took our usual walk up the dirt road to our east. We went a bit further than we ever could with Mo'i, about a quarter mile past the abandoned quarry. That last stretch is almost level, just a track between two fields (barley to the west, alfalfa to the east). This morning the sky was particularly interesting looking. Over us were a few scattered clouds, but in all directions around us were storm cells, like those in the photos at right. The first one is looking north, the second west. That storm cell in the second photo was headed right for us, and about a half hour after I snapped that photo, it started raining on us – just as our neighbor (Tim D.) and I were laying a string of his hand line, to irrigate his alfalfa. Thunder and lightning played all around us, but especially up in the mountains – both east and west of us. It was by far the most dramatic irrigation pipe carrying I've ever done :)
So far we've received 0.7" from this storm – more than forecast, and very welcome. The radar shows a nice storm cell headed straight for us, too, so we're likely to see more!
I had an appointment this morning Hyrum Tire for routine service on my Tundra pickup. Despite their business name, that place is far more than a tire store – they do all sorts of maintenance on cars, trucks, and small engines (mowers, weed whackers, etc.). I walked in, they grabbed my keys and went right to work. Just forty minutes later, they told me I was all finished. They did all the usual things, plus checked my timing chain (because I've got 120,000 miles on the original, and Toyota recommends changing at 100,000). Like Dave in Jamul (our favorite mechanic there), these guys said “Don’t change it; yours is doing fine.” They even filled my windshield washer. Total charge: $45.32. I love living here! In California my coffee might have cost that much...
It's raining as I write, and it's in the 50s outside. My shed will be nice and cool – so I think I'll go do the heavy moving work I've been putting off for a few weeks now :) Just before I started writing this post, I took a nice photo of Jahar, our Savannah cat that is Debbie's constant companion. With the cool temperatures of the past few days, he's spending his time all cuddled up with her. If you know Debbie, then you know she's not objecting to this :)
Miki, Race, and I took our usual walk up the dirt road to our east. We went a bit further than we ever could with Mo'i, about a quarter mile past the abandoned quarry. That last stretch is almost level, just a track between two fields (barley to the west, alfalfa to the east). This morning the sky was particularly interesting looking. Over us were a few scattered clouds, but in all directions around us were storm cells, like those in the photos at right. The first one is looking north, the second west. That storm cell in the second photo was headed right for us, and about a half hour after I snapped that photo, it started raining on us – just as our neighbor (Tim D.) and I were laying a string of his hand line, to irrigate his alfalfa. Thunder and lightning played all around us, but especially up in the mountains – both east and west of us. It was by far the most dramatic irrigation pipe carrying I've ever done :)
So far we've received 0.7" from this storm – more than forecast, and very welcome. The radar shows a nice storm cell headed straight for us, too, so we're likely to see more!
I had an appointment this morning Hyrum Tire for routine service on my Tundra pickup. Despite their business name, that place is far more than a tire store – they do all sorts of maintenance on cars, trucks, and small engines (mowers, weed whackers, etc.). I walked in, they grabbed my keys and went right to work. Just forty minutes later, they told me I was all finished. They did all the usual things, plus checked my timing chain (because I've got 120,000 miles on the original, and Toyota recommends changing at 100,000). Like Dave in Jamul (our favorite mechanic there), these guys said “Don’t change it; yours is doing fine.” They even filled my windshield washer. Total charge: $45.32. I love living here! In California my coffee might have cost that much...
It's raining as I write, and it's in the 50s outside. My shed will be nice and cool – so I think I'll go do the heavy moving work I've been putting off for a few weeks now :) Just before I started writing this post, I took a nice photo of Jahar, our Savannah cat that is Debbie's constant companion. With the cool temperatures of the past few days, he's spending his time all cuddled up with her. If you know Debbie, then you know she's not objecting to this :)
Tuesday, July 7, 2015
New backups in Paradise...
New backups in Paradise... Well, that was totally painless! The hardest part of bringing up our new backup RAID was ... unpacking it. The damned hard disks were swathed in plastic that my (sharp!) pocket knife had a heck of a time cutting. Other than that, all I did was plug in cables and disks, and OS X led me through the rest of the setup. I'm making a backup right now. What a piece of cake!
Progress in Paradise...
Progress in Paradise... It was so beautiful here this morning that I just couldn't stand to work inside, despite the fact that all my higher priority projects are there. Instead, I decided to fix our lawnmower (a riding “zero-turn” type). The last time I mowed, I noted a rather awful problem: the left side of the mowed swath was cut about an inch and a half lower than the right side. This gave our lawn a distinctly odd look :)
Without even looking, I figured that the mechanism that raises and lowers the deck must have gotten out of whack. So I used a floor jack to raise each end of the mower and put it up on jack stands to make it easy to see and reach the deck-adjusting mechanism. I also figured it would a good moment to pull off the blades and sharpen them.
Well, a careful inspection of the deck-adjusting mechanism showed no problems at all! Everything was intact, all the fasteners were present, nothing was bent. Even the lubrication was up to snuff. Puzzling over this unexpected finding, I leaned against the mower – and noticed that the left front tire was soft. Soft, as in completely flat. The right front tire was perfectly inflated. Dang! Well, at least I knew what the problem was now. So I pulled the tire off (easy, since the mower was up on jack stands) and ran it up to Hyrum Tire to be repaired. Then I came back home, pulled off and sharpened the blades, reinstalled them, and added grease at every zerc fitting. This was much easier with the mower on jack stands – that's how I'll be handling that chore from now on!
That left me with a couple hours to kill while waiting for the tire to get fixed. It was still cool and beautiful outside, so I decided to do some pruning. Several of our blue spruces had taken a hit when I sprayed the lawn with 2,4-D. From the symptoms, it looks like new growth at a particular stage was killed or damaged. This made some of the lower branches look very odd, with light brown tips where it should be blue or green. Also there were two beautiful blue spruces along the canal that had an upstart hawthorn growing up through their branches.
So I trimmed up 4 blue spruces, getting rid of those brown ends, and in two cases trimming them away from the driveway a foot or so. Then I really made that hawthorn's day a miserable one. It had 17 trunks (I counted them!) ranging from 1" to 4" in diameter. The hawthorn wood is ridiculously easy to saw, so I had them all cut in a matter of a couple minutes. Getting them out of the blue spruces without damaging the spruces turned out to be the challenging bit – the hawthorn branches were practically tied in knots around the blue spruce branches. It took a bunch of precision cutting, but I finally did get it all out. I only lost one small blue spruce branch in the process. I thought removing that hawthorn would leave a big hole between the two blue spruces, but in fact it did not – there were still blue spruce branches growing inside the hawthorn (which is why it was so hard to disentangle them). Instead it just looks like a less-dense patch in the blue spruces. If you weren't looking for it, you probably wouldn't even notice. Great!
After finishing up the pruning and carrying all the brush to the brush pile, I helped Debbie wash her hair and take a bath (of sorts). This is quite an operation when you can't put any weight on one leg, can't stand up unassisted, and must spend most of the time sitting on a roll-around chair. We're getting good at this, with all the practice. It makes Debbie feel much better, but still, I'm sure she's really looking forward to being able to take a shower again.
Then I ran up to Hyrum Tire, picked up my fixed tire (it had an inch-and-a-half long thorn in it – almost certainly from a hawthorn!), and put my mower back together. A little test run in an obscure corner of the yard proved that the problem was fixed. Yay!
For the hour or so preceding this happy resurrection of my mower, there were thunderstorms rumbling in the distance. A couple times we got sprinkled on a little bit. Just as I was putting the mower away, it started to rain a little more seriously – and we were getting almost continuous thunder overhead, sounding very close. I couldn't see any lightning, so it must have been cloud-to-cloud lightning above the dense layer of clouds that was dumping water on me.
Now I'm about to put together a new backup disk. The 3TB backup disk we've had for three years died a couple days ago, so I ordered the parts for a replacement. This time, to choose the disks I used the drive reliability data gathered by BackBlaze to select HGST 4TB drives (HGST Megascale 4000.B). The enclosure I selected is a RocketStor 5212, with a Thunderbolt interface, good reviews, and compatibility with OS/X software RAID. This will become the Time Machine backup disk for our OS/X server and Debbie's iMac. Hopefully this will be as easy as my past experiences with similar devices!
Without even looking, I figured that the mechanism that raises and lowers the deck must have gotten out of whack. So I used a floor jack to raise each end of the mower and put it up on jack stands to make it easy to see and reach the deck-adjusting mechanism. I also figured it would a good moment to pull off the blades and sharpen them.
Well, a careful inspection of the deck-adjusting mechanism showed no problems at all! Everything was intact, all the fasteners were present, nothing was bent. Even the lubrication was up to snuff. Puzzling over this unexpected finding, I leaned against the mower – and noticed that the left front tire was soft. Soft, as in completely flat. The right front tire was perfectly inflated. Dang! Well, at least I knew what the problem was now. So I pulled the tire off (easy, since the mower was up on jack stands) and ran it up to Hyrum Tire to be repaired. Then I came back home, pulled off and sharpened the blades, reinstalled them, and added grease at every zerc fitting. This was much easier with the mower on jack stands – that's how I'll be handling that chore from now on!
That left me with a couple hours to kill while waiting for the tire to get fixed. It was still cool and beautiful outside, so I decided to do some pruning. Several of our blue spruces had taken a hit when I sprayed the lawn with 2,4-D. From the symptoms, it looks like new growth at a particular stage was killed or damaged. This made some of the lower branches look very odd, with light brown tips where it should be blue or green. Also there were two beautiful blue spruces along the canal that had an upstart hawthorn growing up through their branches.
So I trimmed up 4 blue spruces, getting rid of those brown ends, and in two cases trimming them away from the driveway a foot or so. Then I really made that hawthorn's day a miserable one. It had 17 trunks (I counted them!) ranging from 1" to 4" in diameter. The hawthorn wood is ridiculously easy to saw, so I had them all cut in a matter of a couple minutes. Getting them out of the blue spruces without damaging the spruces turned out to be the challenging bit – the hawthorn branches were practically tied in knots around the blue spruce branches. It took a bunch of precision cutting, but I finally did get it all out. I only lost one small blue spruce branch in the process. I thought removing that hawthorn would leave a big hole between the two blue spruces, but in fact it did not – there were still blue spruce branches growing inside the hawthorn (which is why it was so hard to disentangle them). Instead it just looks like a less-dense patch in the blue spruces. If you weren't looking for it, you probably wouldn't even notice. Great!
After finishing up the pruning and carrying all the brush to the brush pile, I helped Debbie wash her hair and take a bath (of sorts). This is quite an operation when you can't put any weight on one leg, can't stand up unassisted, and must spend most of the time sitting on a roll-around chair. We're getting good at this, with all the practice. It makes Debbie feel much better, but still, I'm sure she's really looking forward to being able to take a shower again.
Then I ran up to Hyrum Tire, picked up my fixed tire (it had an inch-and-a-half long thorn in it – almost certainly from a hawthorn!), and put my mower back together. A little test run in an obscure corner of the yard proved that the problem was fixed. Yay!
For the hour or so preceding this happy resurrection of my mower, there were thunderstorms rumbling in the distance. A couple times we got sprinkled on a little bit. Just as I was putting the mower away, it started to rain a little more seriously – and we were getting almost continuous thunder overhead, sounding very close. I couldn't see any lightning, so it must have been cloud-to-cloud lightning above the dense layer of clouds that was dumping water on me.
Now I'm about to put together a new backup disk. The 3TB backup disk we've had for three years died a couple days ago, so I ordered the parts for a replacement. This time, to choose the disks I used the drive reliability data gathered by BackBlaze to select HGST 4TB drives (HGST Megascale 4000.B). The enclosure I selected is a RocketStor 5212, with a Thunderbolt interface, good reviews, and compatibility with OS/X software RAID. This will become the Time Machine backup disk for our OS/X server and Debbie's iMac. Hopefully this will be as easy as my past experiences with similar devices!
Are medical screening tests valuable?
Are medical screening tests valuable? The answer isn't always as clear as you might think. Study the chart for breast cancer screening (mammograms) below to see one example of this (more details here). Some kinds of screening (example: colonoscopy) themselves pose a risk, and though that risk is generally quite small so are the positive detections. Mammograms involve exposure to high-energy radiation, which is a known risk for causing cancer. All kinds of screening have a false-positive problem – and these false positives put the patient through a lot of stress and additional testing, which also has risks.
This stuff is hard. Some kinds of medical screening absolutely make sense. Some of them absolutely do not make sense. Most of them are a lot less clear...
This stuff is hard. Some kinds of medical screening absolutely make sense. Some of them absolutely do not make sense. Most of them are a lot less clear...
I can scarcely believe...
I can scarcely believe ... that I can do this in my browser! A realtime, interactive, 3D display of all tracked objects in orbit around Earth. Holy JavaScript, Batman!
Monday, July 6, 2015
Evening walk in Paradise...
Evening walk in Paradise... Just Miki, Race, and I tonight. I let Mo'i wander about in our back yard at his own pace, stopping when he needs to. The three of us marched at a quick pace a little over a mile (with 300' elevation gain) to an abandoned quarry, and back. Normally on these walks, paced by Mo'i, my muscles don't even notice it. Tonight I can feel a little burn in my quads and calves. It's a good thing! Or at least that's what I'm told...
The photos below are from that walk. The first one is looking to the southeast from right near that quarry. In the foreground is the corner garden I took photos of earlier. In the background is the home of the gardener, about 3/4 mile away. That family owns a couple thousand acres of prime hay fields in this area, and they plunked their home right down in the middle of it. I haven't met them yet, but I can tell they're probably my kind of people :) The second photo is a panorama looking due west. I was trying to capture the 22 visible strings of irrigation lines all running right now. Most of the alfalfa fields have now had their first cutting, so sunshine and water are the farmer's primary objectives. They want a nice growth burst for the second cutting – and this year, they're getting it in spades. The last photo is take slightly north of west, showing part of what's in that panorama – but bigger. You can't see all 22 strings in that photo, but you can pick out 17 if you try really hard. There's a lot of water being squirted around right now! Click to embiggen.
One of my readers had the gall to email, complaining that he couldn't understand the diagram I published earlier. He wanted a photo. Ok, here's your photo (at right). I took this photo before I had the brilliant idea of taping the wires together in the correct orientation; at this point I was orienting them by hand, very tediously.
I finished wiring up the air compressor today, both the 240 volt circuit and the 120 volt circuit. I also capped off the output so we can test the pressure tank when the technicians go through the startup testing (hopefully later this week).
I have an appointment for this Thursday to have my tooth root-rootered, or possibly yanked if it's damaged beyond repair. If they do yank it, it will be the first tooth (not counting my deliberately removed wisdom teeth) that I've ever actually lost. I'm hoping that's not required...
Another set of neighbors (Gary and Elaine S.) came by today to see Debbie. This community is kind of amazing this way. We just barely know Gary and Elaine. They live on the other side of the highway from us and probably because of that we don't have much contact with them. Our previous contacts with them have mostly been waving and saying “hi”. Today they came over and stayed with Debbie for an hour, and Elaine promised to come by a few times a week – and to bring us a dinner tomorrow night. They came by because they'd heard from another neighbor (Tim D.) that Debbie was ailing, and that was all the nudging it took for them to take the initiative to see if we needed any help. They behaved exactly the way you'd expect a good friend to behave. What a place we landed it!
The photos below are from that walk. The first one is looking to the southeast from right near that quarry. In the foreground is the corner garden I took photos of earlier. In the background is the home of the gardener, about 3/4 mile away. That family owns a couple thousand acres of prime hay fields in this area, and they plunked their home right down in the middle of it. I haven't met them yet, but I can tell they're probably my kind of people :) The second photo is a panorama looking due west. I was trying to capture the 22 visible strings of irrigation lines all running right now. Most of the alfalfa fields have now had their first cutting, so sunshine and water are the farmer's primary objectives. They want a nice growth burst for the second cutting – and this year, they're getting it in spades. The last photo is take slightly north of west, showing part of what's in that panorama – but bigger. You can't see all 22 strings in that photo, but you can pick out 17 if you try really hard. There's a lot of water being squirted around right now! Click to embiggen.
One of my readers had the gall to email, complaining that he couldn't understand the diagram I published earlier. He wanted a photo. Ok, here's your photo (at right). I took this photo before I had the brilliant idea of taping the wires together in the correct orientation; at this point I was orienting them by hand, very tediously.
I finished wiring up the air compressor today, both the 240 volt circuit and the 120 volt circuit. I also capped off the output so we can test the pressure tank when the technicians go through the startup testing (hopefully later this week).
I have an appointment for this Thursday to have my tooth root-rootered, or possibly yanked if it's damaged beyond repair. If they do yank it, it will be the first tooth (not counting my deliberately removed wisdom teeth) that I've ever actually lost. I'm hoping that's not required...
Another set of neighbors (Gary and Elaine S.) came by today to see Debbie. This community is kind of amazing this way. We just barely know Gary and Elaine. They live on the other side of the highway from us and probably because of that we don't have much contact with them. Our previous contacts with them have mostly been waving and saying “hi”. Today they came over and stayed with Debbie for an hour, and Elaine promised to come by a few times a week – and to bring us a dinner tomorrow night. They came by because they'd heard from another neighbor (Tim D.) that Debbie was ailing, and that was all the nudging it took for them to take the initiative to see if we needed any help. They behaved exactly the way you'd expect a good friend to behave. What a place we landed it!
Asphodelus aestivus...
Asphodelus aestivus... Common name: summer asphodel. The bee ain't bad, either! Via BPOD, of course...
Morning in Paradise, in the shadow of the mountain edition...
Morning in Paradise, in the shadow of the mountain edition... Took the two younger dogs (Miki and Race) out for our morning perambulation. Mo'i isn't feeling too well after pooping all over the kitchen; he's resting up for his next adventure.
I took the first photo below as we were walking to the east, away from home. The sun is just below that minor peak in shadow. The sky is lit up brightly because technically it's after dawn. The official dawn starts when the sun peeks above the theoretical horizon – where the horizon would be if there were no mountains. This almost never occurs in the real world on land, but on the sea it happens all the time.
The second photo was taken about 10 minutes later, as we were headed downhill and west, toward home. The sun is at our back, but we're deep in the shadow of that silhouetted peak. To the right of the dirt road you can (barely) make out the alfalfa field that was mowed 11 days ago. It's now around 15" high, so that alfalfa is growing at just over 1" per day. In the distance you can see the Wellsville Mountains all lit up, and below them the nearby foothills – they're about a mile and a half from where I was standing. They're all lit up as well, and you can see very nicely how all the fields with their different kinds of grass, forage, or grain have changed in appearance from the similar photo I took about a month ago. Many of the fields have been mowed now, and a few have even been plowed and replanted.
The rainstorm yesterday delivered 0.55" of rain, according to my rain gauge. That's a bit more that forecast, and very welcome. We have three more days with roughly a 50% chance of rain in the forecast, so we might get even more. That sound you hear is all the local farmers cheering. Except, of course, for those who just mowed their fields. They've now got soppy windrows that will have to dry for several days before they can bale...
I took the first photo below as we were walking to the east, away from home. The sun is just below that minor peak in shadow. The sky is lit up brightly because technically it's after dawn. The official dawn starts when the sun peeks above the theoretical horizon – where the horizon would be if there were no mountains. This almost never occurs in the real world on land, but on the sea it happens all the time.
The second photo was taken about 10 minutes later, as we were headed downhill and west, toward home. The sun is at our back, but we're deep in the shadow of that silhouetted peak. To the right of the dirt road you can (barely) make out the alfalfa field that was mowed 11 days ago. It's now around 15" high, so that alfalfa is growing at just over 1" per day. In the distance you can see the Wellsville Mountains all lit up, and below them the nearby foothills – they're about a mile and a half from where I was standing. They're all lit up as well, and you can see very nicely how all the fields with their different kinds of grass, forage, or grain have changed in appearance from the similar photo I took about a month ago. Many of the fields have been mowed now, and a few have even been plowed and replanted.
The rainstorm yesterday delivered 0.55" of rain, according to my rain gauge. That's a bit more that forecast, and very welcome. We have three more days with roughly a 50% chance of rain in the forecast, so we might get even more. That sound you hear is all the local farmers cheering. Except, of course, for those who just mowed their fields. They've now got soppy windrows that will have to dry for several days before they can bale...
Floating point follies...
Floating point follies... I ran across this blog post in my morning reading, and as I was reading it I thought “Jeez — this is like a litany of all the floating point problems I’ve seen programmers stumble into!” Two memorable occasions:
- While working at a firm that provided hedge fund IT infrastructure as a service, I worked with a team implementing an algorithmic trading server. This was implementing a relatively simple algorithm called “pairs trading”. Part of the calculation involved raising a pair of fixed numbers to a series of powers, looking for a particular relationship between the results. The powers were 1.00 to 1.99, in increments of 0.01. The programmer's initial approach was to calculate the two fixed numbers raised to the 0.01 power, then accumulate as he iterated through the increments. The programmer did this in the belief that he'd speed up the calculation by avoiding the power computation (which wasn't actually true on the server the code executed on, though it was true on his laptop). However, much to his surprise and consternation there was a considerable error in his computation by the time he got to the end. He sought my help on this, and we changed a few lines of code to eliminate the accumulated additions by doing the power raising for each iteration, and the error disappeared (of course). I was tempted to tell the programmer that the problem was caused by his choice of Visual Basic as the programming language, but that didn't seem fair :)
- While working at a different electronic trading firm, we had a problem wherein the cost we computed for a trade didn't match what NASDAQ computed and charged us. Usually the difference was a few cents and we just ignored it, but one day a trader bought a huge number of shares of a very low cost stock, and the difference was over $100 – enough for my boss to tell me “Go figure that out, damn it!” When I dug into our calculations, I could find no errors, so I called my peer at NASDAQ, a pleasant fellow named Gary. He told me he'd run into this a few times before, but had never figured it out. He sent me the block of code that did the calculations on his end. Our code was Java; theirs was C++, but in both cases the code used the underlying x86 machine's floating point processor. After staring at the two pieces of code side-by-side for a while, I realized that we were doing a particular multiplication with the operands in a different order. We were multiplying shares x price, and they were multiplying price x shares. When I swapped the order of our multiplication, the difference suddenly disappeared. I called Gary back and told him what the problem was, and he told me I was crazy – multiplication was associative and that was that! An hour or so later he called me back and said he'd duplicated my results. That was one very disillusioned programmer! After that, he and I had several phone calls (at his request) so I could educate him a bit about floating point numbers. Despite having a very responsible position on staff in a large exchange, he knew next to nothing about them – most especially about the sorts of things outlined in the blog post linked above.
Bullwinkle...
Bullwinkle... Our neighbors have named the moose who visited us a couple days ago. Here's a photo Alan L. took with an actual camera, showing Bullwinkle in our alfalfa/grass field:
Sunday, July 5, 2015
Evening in Paradise...
Evening in Paradise... Took the dogs for their evening walk, but we didn't go very far as Mo'i wasn't feeling like it. At one point he backed out of his choke collar, turned around, and started trotting for home. We had to jog to catch up with him! I guess he really just wanted his nice, soft doggie bed :)
There's an impressive line of storms to our west, heading for us, as I write. The photo at right was taken to the northwest, where it's very dark right now. You can't see it, but our house is behind the trees at the left edge of the photo. I think we're about to get rained on, and the radar (at left, click to embiggen) shows that. Paradise is where that little circle with a plus sign is, and just to the left (west) of it you can see the yellows, oranges, and reds of an intense rain cell...
There's an impressive line of storms to our west, heading for us, as I write. The photo at right was taken to the northwest, where it's very dark right now. You can't see it, but our house is behind the trees at the left edge of the photo. I think we're about to get rained on, and the radar (at left, click to embiggen) shows that. Paradise is where that little circle with a plus sign is, and just to the left (west) of it you can see the yellows, oranges, and reds of an intense rain cell...
Subscribe to:
Posts (Atom)







