Kitchen modification, roughly number 357... Since we purchased our home almost four years ago, we've been incrementally changing things in the kitchen to suit us. The latest of these changes was to remove the modular cabinet-top Jenn-Air gadget that was installed in our island. It was much like the one in the photo at right. Both sides of that thing are removable (just by lifting them up), and a total of seven modules came with the house. In the 3+ years that we've been living here, we've turned it on exactly twice – both times just to see if it actually worked. With another four-burner range, two ovens, and a microwave, we just never even came close to needing it. And it took up almost a third of our island counter-top!
So not long ago we had the brilliant idea of replacing it with a nice big cutting board. With a piece of tempered glass to go over the cutting board when it wasn't in use, we'd be able to use the entire island as a counter-top – plus we'd free up quite a bit of space under the Jenn-Air that was consumed by the power source and a 6" diameter duct for the down-draft ventilation built into it. The challenge was where on earth would we find such an odd-shaped cutting board? I could make one, but I don't have a planer big enough to handle the 23" x 30.5" size we'd need. So I did some research on the web, and discovered this site – and good reviews of it in several locations. I queried them, and they had no problem at all making a nice maple cutting board to our specs. The actual maker was John Boos, a company I'd read about when researching some other kitchen things, but had never done business with. When I got the quote for the custom cutting board I was quite surprised at how reasonable it was: a solid maple board for less than it would cost me to buy the wood!
We received it a few days ago, and over the past couple days I removed the Jenn-Air and installed the cutting board (photo at right). The tempered glass cover should be ready on Tuesday. Removing the Jenn-Air was actually easier than I expected it to be, except for one little detail: making an odd-shaped “plug” for the hole in the bottom of the island's cabinet where the 6" duct entered from below. Whoever made that hole apparently never heard of a compass. :) It took me about eight tries to get a reasonably good fit, close enough that I could caulk the remaining crack. That was a bit of a pain! The board arrived packed in some of the best packaging I've ever seen – there wasn't a ding of any kind on it. There was, however, a defect from our point of view: the edges had very sharp corners. Probably the factory would have rounded them for me had I been smart enough to ask, but I wasn't. So I used my router table with a 3/16" radius quarter-round bit, and put a nice radius on all those sharp edges, and sanded it all down nice and smooth. That, however, caused a problem with the finish. I bought the same finish the factory had used (they kindly documented it!), and by the time I was done you'd never know it wasn't done in the factory. I mounted it in the Jenn-Air's hole by screwing eight rubber bumpers into the bottom of the board, two along each of the hole's edges. I spaced these so that the board is snugged in tightly – yet it can be popped right out if need be. We're very happy with the result!
Saturday, February 10, 2018
Wednesday, February 7, 2018
Amazing battery lifetime...
Amazing battery lifetime... I got my new iMac Pro in the last week of December, roughly six weeks ago. It came with a wireless keyboard and mouse that incorporate built-in rechargeable batteries, much like a smartphone has. My old mouse used ordinary AA batteries, which I typically had to change every 3 weeks or so. My old keyboard plugged into USB and had no batteries at all.
So one of my first questions about these new-fangled peripherals was: just how long would these batteries last on a charge?
Well, I now have the answer for one of them, the mouse. I recharged it last night for the first time since I received the system, when it reported being at 5% of charge. My keyboard is still at 70% of charge, after six weeks of frequent use.
For approximately the 37 billionth time, I am just in awe of the degree of advancement in a technology, within my own lifetime. Rechargeable batteries were basically non-existent when I was a kid. The standard was old-fashioned zinc-acid batteries, which are actually quite difficult to buy today – alkaline batteries have basically taken over the disposable battery scene, with capacities several times that of a zinc-acid battery.
The most significant advances aren't in the batteries, though – they're in the incredibly low power consumption of even fairly sophisticated circuits like a Bluetooth optical mouse. That's truly mind-boggling. The simple, inexpensive optical mouse on my desk has functionality that was either impossible (Bluetooth) or really difficult (the optical movement sensing). The latter alone would have taken a roomful of circuitry in the '50s, dominated by power-hungry vacuum tubes. A wild guess at the power consumption would be 5 to 10 thousand watts. My modern mouse can't consume more than a few thousandths of a watt at most. More likely it's an order of magnitude less than that.
And now we have an electric car headed to the asteroid belt! :)
So one of my first questions about these new-fangled peripherals was: just how long would these batteries last on a charge?
Well, I now have the answer for one of them, the mouse. I recharged it last night for the first time since I received the system, when it reported being at 5% of charge. My keyboard is still at 70% of charge, after six weeks of frequent use.
For approximately the 37 billionth time, I am just in awe of the degree of advancement in a technology, within my own lifetime. Rechargeable batteries were basically non-existent when I was a kid. The standard was old-fashioned zinc-acid batteries, which are actually quite difficult to buy today – alkaline batteries have basically taken over the disposable battery scene, with capacities several times that of a zinc-acid battery.
The most significant advances aren't in the batteries, though – they're in the incredibly low power consumption of even fairly sophisticated circuits like a Bluetooth optical mouse. That's truly mind-boggling. The simple, inexpensive optical mouse on my desk has functionality that was either impossible (Bluetooth) or really difficult (the optical movement sensing). The latter alone would have taken a roomful of circuitry in the '50s, dominated by power-hungry vacuum tubes. A wild guess at the power consumption would be 5 to 10 thousand watts. My modern mouse can't consume more than a few thousandths of a watt at most. More likely it's an order of magnitude less than that.
And now we have an electric car headed to the asteroid belt! :)
The weather was nice enough...
The weather was nice enough ... that Debbie and I got to take a little walk this morning, with Race and Miki. When we were getting ready to depart, the dogs had no idea we were about to go for a walk. But when I picked up the leashes, Race immediately knew – even though it's been several months since he last got to go on a walk with us. Happy dogs! The temperature was quite warm for a February morning: 46°F. The scenery was beautiful, too. The foreground is a bit drab without our usual greenery, but the snow-capped mountains made up for that.
Incidentally, both of these photos were taken with a hand-held iPhone X. The second photo is using the 2x optical telephoto. Both would look much worse without the image stabilization...
Incidentally, both of these photos were taken with a hand-held iPhone X. The second photo is using the 2x optical telephoto. Both would look much worse without the image stabilization...
Tuesday, February 6, 2018
You should be envious...
You should be envious ... as this is what I had for dessert today, at Jack's. It's an orange-rosemary panna cotta, and it was brains-fall-out delicious. I had the pina colada version of this last week and thought it was great – but this version is even better!
While we had lunch today (with our friend Michelle), we watched the webcast of the spectacular launch of the SpaceX Falcon Heavy. The image of the two side cores landing side-by-side looked like something straight out of a science fiction story. It occurred to me that the science fiction trope of a flying car has at last become reality, with Elon Musk's Tesla roadster now in Earth orbit (and soon to be solar orbit). That's not quite how I imagined flying cars would turn out, but ... it will do. It will do...
While we had lunch today (with our friend Michelle), we watched the webcast of the spectacular launch of the SpaceX Falcon Heavy. The image of the two side cores landing side-by-side looked like something straight out of a science fiction story. It occurred to me that the science fiction trope of a flying car has at last become reality, with Elon Musk's Tesla roadster now in Earth orbit (and soon to be solar orbit). That's not quite how I imagined flying cars would turn out, but ... it will do. It will do...
Blacksmith Fork Canyon...
Blacksmith Fork Canyon ... is just a few minutes from our house, and yet it's one of our favorite wildlife watching venues. We make the roughly 35 mile drive (it's a long canyon!) up and back two or three times every week. Yesterday we did so again, late in the afternoon, and were treated to three great viewings of bald eagles (twice the same adult, perched about 100 yards from the road), and a long viewing of a small herd of deer (8 does and yearlings) browsing about 30 yards from the car. One of the things we love about the Model X is that it's so quiet that animals aren't leery of it. We parked there, car on, for ten minutes or so. The deer looked up at us at first, then decided we weren't a threat and went on munching...
Now here's something I can root for!
Now here's something I can root for! If you know me, then you know I have a profound lack of interest in sports (and therefore an equally profound ignorance of them). But the excitement that sports fans unembarrassedly display is something I can identify with – it's just that my excitement springs from something other than sports. In this case, it's today's scheduled launch of SpaceX's “Falcon Heavy”, with Elon Musk's Tesla roadster as the payload.
If you don't know about the Falcon Heavy, here's some background. Don't miss the animation on that page! Today's launch will be the Falcon Heavy's maiden flight, and Musk has been careful to set expectations low, saying there was a 50% chance the thing is going to blow up. Whatever happens today, I'm sure SpaceX will eventually get Falcon Heavy working reliably. When they do, it will be the world's largest (by payload to orbit) operational rocket. The qualification is because the Saturn V rocket from the Apollo program was larger, but of course it is no longer operational.
More than simply being the biggest, it will (like it's smaller brother, the Falcon 9) be reusable. I'm old enough to remember when NASA told Congress that orbital booster reusability was impossible, and that the closest anyone could ever get to that was the Space Shuttle approach. For a tiny fraction of the Space Shuttle's development cost, private enterprise has done what NASA said was impossible – and as of today, with almost the same payload capacity that NASA was ever able to achieve. The launch costs for SpaceX are absolutely dwarfed by NASA's costs – a single Space Shuttle launch (including amortized development costs) cost more than SpaceX has spent for their entire development program and all launches combined. Yay, capitalism!
I will be watching in a couple hours...
If you don't know about the Falcon Heavy, here's some background. Don't miss the animation on that page! Today's launch will be the Falcon Heavy's maiden flight, and Musk has been careful to set expectations low, saying there was a 50% chance the thing is going to blow up. Whatever happens today, I'm sure SpaceX will eventually get Falcon Heavy working reliably. When they do, it will be the world's largest (by payload to orbit) operational rocket. The qualification is because the Saturn V rocket from the Apollo program was larger, but of course it is no longer operational.
More than simply being the biggest, it will (like it's smaller brother, the Falcon 9) be reusable. I'm old enough to remember when NASA told Congress that orbital booster reusability was impossible, and that the closest anyone could ever get to that was the Space Shuttle approach. For a tiny fraction of the Space Shuttle's development cost, private enterprise has done what NASA said was impossible – and as of today, with almost the same payload capacity that NASA was ever able to achieve. The launch costs for SpaceX are absolutely dwarfed by NASA's costs – a single Space Shuttle launch (including amortized development costs) cost more than SpaceX has spent for their entire development program and all launches combined. Yay, capitalism!
I will be watching in a couple hours...
Monday, February 5, 2018
Things that make me feel old, part 8,382,650...
Things that make me feel old, part 8,382,650... I read this morning that Paul Simon is retiring from touring – and that he's 76 years old. Holy senior citizen's discount!
Sunday, February 4, 2018
Saturday, February 3, 2018
Quilts and little old ladies...
Quilts and little old ladies... A couple years ago, at a craft fair in Logan, we ran into a little old lady named Marlene who made quilts. She's a petite gal, and if I were to guess her age I'd say 70 or 75. Her quilts are real works of art – beautiful fabrics, classic patterns, and hand stitching so precise you'd likely guess it was made on a machine. Her prices are quite reasonable, especially when compared with, say, an Amish quilt from Pennsylvania. And the quality of her work is even better than the Amish quilts we've seen.
About three months ago, we bought another quilt from Marlene, and this time we ran down to her place (in Roy, Utah, about an hour away) to pick it up. She runs her quilt business out of her own house. In conversation we discovered that she has 10 children – and 37 grandchildren! Her 7 daughters all occasionally help her with the quilts, but these days they're so busy with their own families that mostly she does the quilting on her own. She also told us that she was trying to use up her inventory of fabric, as she really didn't expect to be doing the quilting much longer – age is starting to limit her abilities.
Well, on our drive home that day, Debbie and I made up our minds to buy two more of her quilts for our bed. We love them, and she's willing to make them oversized for us (to cover our pillows completely, along with our thick mattress and box spring). We have no idea where we can get the equivalent, at any price – let alone at her prices.
So we ordered two more, for a total of four – we've got the seasons covered. :) Today we drove down to pick up those two; she'd called Debbie this morning to let her know they were done. This time we had a bit more conversation with her, and learned that she grew up on a wheat and potato farm near Burley, Idaho. That makes her the third person I've met who hailed from that little farm town – all LDS (Mormon), all good people, all hard workers. There's something in the water there, I think. Something good.
One of these days when I have my wits all together, I'll post some photos of these gorgeous quilts...
About three months ago, we bought another quilt from Marlene, and this time we ran down to her place (in Roy, Utah, about an hour away) to pick it up. She runs her quilt business out of her own house. In conversation we discovered that she has 10 children – and 37 grandchildren! Her 7 daughters all occasionally help her with the quilts, but these days they're so busy with their own families that mostly she does the quilting on her own. She also told us that she was trying to use up her inventory of fabric, as she really didn't expect to be doing the quilting much longer – age is starting to limit her abilities.
Well, on our drive home that day, Debbie and I made up our minds to buy two more of her quilts for our bed. We love them, and she's willing to make them oversized for us (to cover our pillows completely, along with our thick mattress and box spring). We have no idea where we can get the equivalent, at any price – let alone at her prices.
So we ordered two more, for a total of four – we've got the seasons covered. :) Today we drove down to pick up those two; she'd called Debbie this morning to let her know they were done. This time we had a bit more conversation with her, and learned that she grew up on a wheat and potato farm near Burley, Idaho. That makes her the third person I've met who hailed from that little farm town – all LDS (Mormon), all good people, all hard workers. There's something in the water there, I think. Something good.
One of these days when I have my wits all together, I'll post some photos of these gorgeous quilts...
Big-eye tuna poke...
Big-eye tuna poke... We went to our local grocery store (Macey's) yesterday, and to our delight they had just gotten in some more big-eye tuna. Their seafood manager told us it was “spectacular” – and he was right. We bought a pound-and-a-half of it, and Debbie made her (also spectacular!) poke with it. She served it over brown rice, as usual. This is quickly becoming one of our favorite meals! We were seriously stuffed when we got done. :)
Afterwards, as I mentioned in an earlier post, we watched Groundhog Day. This was our first time watching it from Blu-Ray, a substantial improvement from the DVD – a much crisper picture and crystal-clear audio. We enjoyed it just as much this time as on our previous viewings (probably six or seven over the years)...
Afterwards, as I mentioned in an earlier post, we watched Groundhog Day. This was our first time watching it from Blu-Ray, a substantial improvement from the DVD – a much crisper picture and crystal-clear audio. We enjoyed it just as much this time as on our previous viewings (probably six or seven over the years)...
Friday, February 2, 2018
My latest Sisyphus table track...
My latest Sisyphus table track ... this one mainly in order to demonstrate Bézier curves. I called it “Swoopy Radiance” :)
Happy groundhog day!
Happy groundhog day! Only out here, they'd call it “rock chuck” day, for that's the common name of this marmot if you live here. They have no idea what a groundhog is. :) We're going to watch the movie (which we both love) again tonight – a newish tradition for us.
We had such a lovely day yesterday. For me it started with a good night's sleep, something that is an increasingly unusual (and therefore more cherished) experience these days. Astonishingly that was repeated last night. Two in a row ... I can't even remember when that last happened. Of course these days remembering even my name is starting to be a challenge...
I spent yesterday morning finishing up a major enhancement to my JSisyphus software: I added the ability to draw Bézier curves. I'd used Bézier curves many times before, in drawing programs such as Photoshop or GIMP. They'd always seemed kind of magical to me, and I had no idea how they were implemented. So I read up a bit on it earlier this week, and quickly ran into yet another concept I'd never seen before: parametric equations. This is a standard pattern in my programming experience ... in order to do something new to me, I have to learn something new to me. That's what I call fun! And this time, the outcome was surprising to me, as it turns out that parametric equations are actually a rather simple idea, and that Bézier curves are actually really simple to implement. My code for the Bézier curves is about half Java's verbose boilerplate and about half “meat” – and yet the total is only a screenful of code. The hardest bit turned out to be ensuring that I generated enough points over the line, as the rate of change varies over the whole line. In any case, it was easy, and the code worked on the second try (the first try failed because I made a mistake in transcribing the basic equation).
Shortly after I posted the Bézier curve changes, I got an email from someone who had downloaded JSisyphus and was trying to make it work. This fellow was a C++ programmer using Visual Studio, so his issues were really all about getting a Java IDE installed and learning a bit of Java. In under an hour, he had it going – my first JSisyphus user, I think! Later in the day I discovered that someone else had cloned it, too. Cool beans!
Around noon yesterday Debbie and I took off for Salt Lake City with plans for a purely fun afternoon with two stops: the Red Iguana, then Caputo's market for some cheese and chocolate shopping. The Red Iguana had two specials: a baby back pork rib in mango mole sauce, and seafood fajitas. Both sounded wonderful; Debbie ordered the ribs (first photo below – Debbie started eating before I could snap the pic!) and I got the fajitas (second photo). Both were just ridiculously good in every detail, as is our common experience there. Debbie took one bite of her ribs and decided that she didn't want to share (as had been our plan). After a bite of my fajitas, I didn't care! :) As always, I'm amazed at the attention to the little details there. The chips and salsa were fantastic, and the iced tea perfect (as always). My fajita vegetables were cooked to the perfect point, sort of al dente, and they must have put the seafood in toward the end of the cooking, as it wasn't overcooked as seafood in fajitas so often is. The salsa fresca and guacamole were heavenly.. Debbie couldn't manage to eat all of hers, so I got to taste the ribs, and I polished off her black beans. Awesome, both of them, even after I was stuffed full of my meal. And of course we had dessert to finish up. I'm not sure how we did it, but we both managed to eat an entire flan (regular for me, chocolate for Debbie) smothered with caramel sauce, whipped cream, and a half-cup or so of sliced fresh ripe strawberries. Oh, my!
Then it was on to Caputo's, which is but a short drive away from Red Iguana. There we got ourselves several nice cheeses (they let us taste them all before we bought), some sandwich ham for me, some pasta, and two varieties of chocolates: chocolate-covered candied orange slices for me, and chocolate-covered figs for Debbie. Both are outstanding!
We had such a lovely day yesterday. For me it started with a good night's sleep, something that is an increasingly unusual (and therefore more cherished) experience these days. Astonishingly that was repeated last night. Two in a row ... I can't even remember when that last happened. Of course these days remembering even my name is starting to be a challenge...
I spent yesterday morning finishing up a major enhancement to my JSisyphus software: I added the ability to draw Bézier curves. I'd used Bézier curves many times before, in drawing programs such as Photoshop or GIMP. They'd always seemed kind of magical to me, and I had no idea how they were implemented. So I read up a bit on it earlier this week, and quickly ran into yet another concept I'd never seen before: parametric equations. This is a standard pattern in my programming experience ... in order to do something new to me, I have to learn something new to me. That's what I call fun! And this time, the outcome was surprising to me, as it turns out that parametric equations are actually a rather simple idea, and that Bézier curves are actually really simple to implement. My code for the Bézier curves is about half Java's verbose boilerplate and about half “meat” – and yet the total is only a screenful of code. The hardest bit turned out to be ensuring that I generated enough points over the line, as the rate of change varies over the whole line. In any case, it was easy, and the code worked on the second try (the first try failed because I made a mistake in transcribing the basic equation).
Shortly after I posted the Bézier curve changes, I got an email from someone who had downloaded JSisyphus and was trying to make it work. This fellow was a C++ programmer using Visual Studio, so his issues were really all about getting a Java IDE installed and learning a bit of Java. In under an hour, he had it going – my first JSisyphus user, I think! Later in the day I discovered that someone else had cloned it, too. Cool beans!
Around noon yesterday Debbie and I took off for Salt Lake City with plans for a purely fun afternoon with two stops: the Red Iguana, then Caputo's market for some cheese and chocolate shopping. The Red Iguana had two specials: a baby back pork rib in mango mole sauce, and seafood fajitas. Both sounded wonderful; Debbie ordered the ribs (first photo below – Debbie started eating before I could snap the pic!) and I got the fajitas (second photo). Both were just ridiculously good in every detail, as is our common experience there. Debbie took one bite of her ribs and decided that she didn't want to share (as had been our plan). After a bite of my fajitas, I didn't care! :) As always, I'm amazed at the attention to the little details there. The chips and salsa were fantastic, and the iced tea perfect (as always). My fajita vegetables were cooked to the perfect point, sort of al dente, and they must have put the seafood in toward the end of the cooking, as it wasn't overcooked as seafood in fajitas so often is. The salsa fresca and guacamole were heavenly.. Debbie couldn't manage to eat all of hers, so I got to taste the ribs, and I polished off her black beans. Awesome, both of them, even after I was stuffed full of my meal. And of course we had dessert to finish up. I'm not sure how we did it, but we both managed to eat an entire flan (regular for me, chocolate for Debbie) smothered with caramel sauce, whipped cream, and a half-cup or so of sliced fresh ripe strawberries. Oh, my!
Then it was on to Caputo's, which is but a short drive away from Red Iguana. There we got ourselves several nice cheeses (they let us taste them all before we bought), some sandwich ham for me, some pasta, and two varieties of chocolates: chocolate-covered candied orange slices for me, and chocolate-covered figs for Debbie. Both are outstanding!
Wednesday, January 31, 2018
Sisyphus table software...
Sisyphus table software... I've beaten this stuff into good enough shape that I've released it for public consumption. I'm calling it “JSisyphus”, following the common Java practice of stuffing a “J” in front of the descriptive name to imply that it's written in Java. It's in a public repository on GitHub, and licensed with the very permissive MIT license. If you're a Java-head, and you have a Sisyphus table, go take a look!
The photo at right is a track that I made. I call it “NestedBubbles”. It's an example of the sort of recursive pattern that I built JSisyphus to be able to do. Such patterns are typically very difficult with graphical tools, but easy in software – once you have some sort of framework in place that allows it. That what JSisyphus does, and that track is the proof of the pudding...
As I've been developing this, I've been in communication with some of the folks at Sisyphus Industries (the makers of the Sisyphus table). They've offered some help, but much more encouragement, as they're hoping to build a community of Sisyphus table users. To that end, they've started a subreddit and asked me to contribute on it (which I have). In the meantime before they get their online community software going, I'm also hosting a repository for Sisyphus table “tracks”, again on GitHub.
This morning I had something quite satisfying happen: an email out of the blue from a programmer who heard about JSisyphus. He downloaded it and was having trouble making it work. I answered a few of his questions, and a little while later I got an email from him letting me know that he had succeeded! So just a couple of days after I let the world know about JSisyphus, it's already being used by someone. Very cool!
The photo at right is a track that I made. I call it “NestedBubbles”. It's an example of the sort of recursive pattern that I built JSisyphus to be able to do. Such patterns are typically very difficult with graphical tools, but easy in software – once you have some sort of framework in place that allows it. That what JSisyphus does, and that track is the proof of the pudding...
As I've been developing this, I've been in communication with some of the folks at Sisyphus Industries (the makers of the Sisyphus table). They've offered some help, but much more encouragement, as they're hoping to build a community of Sisyphus table users. To that end, they've started a subreddit and asked me to contribute on it (which I have). In the meantime before they get their online community software going, I'm also hosting a repository for Sisyphus table “tracks”, again on GitHub.
This morning I had something quite satisfying happen: an email out of the blue from a programmer who heard about JSisyphus. He downloaded it and was having trouble making it work. I answered a few of his questions, and a little while later I got an email from him letting me know that he had succeeded! So just a couple of days after I let the world know about JSisyphus, it's already being used by someone. Very cool!
A very nice lunch with our friends...
A very nice lunch with our friends ... Michelle, Lizzy, and Lily (Lizzy's three month old baby). We had the pleasure of introducing them to one of our favorite spots: Jack's Wood-Fired Oven. They had been there once previously, but only for dessert. Yesterday we all had pizza and soup, and then dessert as well. The soup was one of my favorites there: cream of fire-roasted tomato. The personal-sized pizzas we chose were all excellent. When it came to dessert, they were out of our favorite (their lemon cake with raspberries) – so we tried three other desserts and shared them. One of them, a chocolate layer cake, was made by the same bakery that makes the lemon cake, and it was really good – smooth, moist, and drenched with intense chocolate flavor. The other two – an Italian pineapple cream confection, and vanilla creme brulee – were made in-house. Our delightful waitress strongly recommended the pineapple cream dish, so I ordered that (photo above). The creme brulee I didn't try, as Lizzy was shoveling it into her mouth as fast as she could; I thought sampling it might be dangerous. :) The pineapple dish was spectacular. Our waitress has excellent taste! Lizzy pronounced the creme brulee the equal of any she's had, and it looked nearly identical to our gold standard: the Gastognome's creme brulee.
Great company and great food is a very difficult combination to beat...
Great company and great food is a very difficult combination to beat...
Product recommendation...
Product recommendation... I put six of these little battery-powered lights up in my barn last year. It's usually before sunrise when I come out to my barn office in the mornings, and these little lights come on automatically to light my path through the storage area of my barn's second floor, between the stair landing and my office door. Despite being used almost every morning, they're still on their first set of batteries (three AAA cells each). This week I bought another set of six ($20 for the set), and I put one up on the outside of my barn door. That's what you see in the photo, lighting up my lock so I can see to put the key in. These lights make no claim about being suitable for outdoor use, so this is a bit of an experiment. At just over $3 a light, I'm not risking much. :)
It's remarkable to me just how well these cheap little things work. They only come on at night, when they're needed – and even then, they only come on when they sense motion. Generally they pick up my presence when I'm about 12 feet away, which is just about perfect for my needs. Once they come on, they stay on for 30 seconds or so after they last sense motion. That means if I hesitate in my walking or fumble for a key, the lights stay on.
Highly recommended!
It's remarkable to me just how well these cheap little things work. They only come on at night, when they're needed – and even then, they only come on when they sense motion. Generally they pick up my presence when I'm about 12 feet away, which is just about perfect for my needs. Once they come on, they stay on for 30 seconds or so after they last sense motion. That means if I hesitate in my walking or fumble for a key, the lights stay on.
Highly recommended!
No blue moon for us...
No blue moon for us... We've got thick cloud cover, solid, horizon-to-horizon. Not even a hole to peek through. It's very light, though, considering that cover – the moon above the clouds must be very bright indeed...
Sunday, January 28, 2018
A squished bug...
A squished bug... Of the software variety, that is. My Sisyphus table software had a bug in it that was driving me crazy. At apparently random times while the software was running, it would generate insane tracks for the table. I call them “insane” because they didn't resemble in any way what my software commands told it to do.
I spent hours tracking it down to the point where in one function I could add or subtract a line of code and the problem would disappear or reappear. The thing is, that line of code did essentially nothing – and even worse, adding it caused results before the added line of code to change. This makes no sense unless one of two things were true: (a) the compiler had a bug, or (b) I didn't really understand what I was looking at.
One of my golden rules of debugging is never assume you have a compiler bug, unless you have proved to yourself at least 15 different ways that it couldn't possibly be something else. I hadn't done that, so I kept plugging away.
The function I was having the oddball results in computes a transformed position – it applies an offset in Cartesian coordinates, and a rotation in polar coordinates. After some very careful observation, I noted that when it worked properly, the input angle was about 2E-15 ... very close to zero, but not quite. When it was working incorrectly, it was exactly zero. This function called another function that computes an angle from a delta x, delta y pair; that function looked like this:
Spot the problem? I didn't, at least not right away. It's in the last line of that function, with the call to Math.signum(). My intent there was to multiply pi by either 1 or -1 ... but Math.signum() can also return zero, if the input is exactly zero. Bingo! The fix was simple: I wrote my own “sign()” function that returns only+1 or -1 and changed the function as below:
Presto! Problem gone.
And it was not a compiler bug. :)
I spent hours tracking it down to the point where in one function I could add or subtract a line of code and the problem would disappear or reappear. The thing is, that line of code did essentially nothing – and even worse, adding it caused results before the added line of code to change. This makes no sense unless one of two things were true: (a) the compiler had a bug, or (b) I didn't really understand what I was looking at.
One of my golden rules of debugging is never assume you have a compiler bug, unless you have proved to yourself at least 15 different ways that it couldn't possibly be something else. I hadn't done that, so I kept plugging away.
The function I was having the oddball results in computes a transformed position – it applies an offset in Cartesian coordinates, and a rotation in polar coordinates. After some very careful observation, I noted that when it worked properly, the input angle was about 2E-15 ... very close to zero, but not quite. When it was working incorrectly, it was exactly zero. This function called another function that computes an angle from a delta x, delta y pair; that function looked like this:
Spot the problem? I didn't, at least not right away. It's in the last line of that function, with the call to Math.signum(). My intent there was to multiply pi by either 1 or -1 ... but Math.signum() can also return zero, if the input is exactly zero. Bingo! The fix was simple: I wrote my own “sign()” function that returns only
Presto! Problem gone.
And it was not a compiler bug. :)
Friday, January 26, 2018
Bananas, wireless charging, and plastic paper...
Bananas, wireless charging, and plastic paper... Feeding banana slices to our five dogs is one of my daily joys. We've been doing this long enough now that the dogs have integrated it into their notion of what a day is “supposed” to be. They even know the particulars: the “proper” time to receive their daily banana slices is while my tea is steeping. They watch for this, and when the see the right cues they start getting excited. One or two of them will usually go sit by the island where we stash the bananas, and stare fixedly at them, occasionally glancing at me to see if I'm paying attention. If I should do something wrong, like, say, sitting down to drink my tea without having dispensed the bananas, they'll be all over me with the sad looks, the touches for attention, etc. Very effective, they are! :) When I finally (from their perspective) walk over and pick up two bananas, then they really get excited! They'll surround me while I'm at the sink peeling the bananas, always in the same relative positions. Cabo will be behind me, grabbing at my belt; Mako and Miki to my left, Race and Ipo to my right. Then I take the peeled bananas over to the biggest section of clear floor in our kitchen, which (so far as the dogs are concerned) is The Place of Banana Dispersal. There I stand with my back to a cabinet, and the dogs array themselves before me in a semicircle – again, always with each dog in a particular place. Then I cut slices, a quarter inch or so thick, and toss them out in sequence to the arrayed canines. The way they react, you'd think I was tossing out chunks of steak!
We're still learning all the new features on our iPhone Xs. One of those is the wireless charging. I got two wireless chargers, and Debbie and I each have one on our nightstand. They work. I'm not sure how quickly they charge, but they do what we care about: put a phone with an empty battery on the charging stand at night, and in the morning when you wake up it's fully charged. I'm a little surprised just how convenient I find it. I used to fuss about every night searching for the end of the charging cable, often having to untangle it from other wires nearby. Probably one night out of five I'd forget it, and have a half-dead phone the next day. The little connector was fiddly; you had to align it just so before pushing it in, and it was easy to mistakenly slide the connector between the phone and the case. With the wireless charging, I just put the phone down on my nightstand and it gets charged. There's no careful alignment needed; setting it down pretty much anywhere on the charger works fine. It's a little thing, but quite nice...
I was a Kickstarter supporter of the Remarkable tablet. I got mine a couple of months ago, and I've been using it daily ever since. These folks got enough things right about this that for the very first time I have stopped using paper-and-pencil for anything. The “feel” of it is the most important part they got right. Unlike any other electronic device I've ever tried sketching on, this one really does feel much like paper, right down to the scratching of the “pencil” tip over the “paper”. It isn't perfect, but it's darned close, and close enough. A second thing they got right is simplicity. Using the table is not like using a drawing program, which is what every other device I've ever tried did. Instead, these folks made it work as much like paper as they could. You choose your drawing instrument (pencil, felt-tip, pen, etc.) and a few details (like the line width, angle of the pencil, etc.) and then you just use their stylus as though it was that instrument. That's it! You've got essentially an infinite number of pages to work with in the device's memory. The best part, for me at least, is I can send any sketch I want to keep to a file on my Mac. So, for instance, if I sketch out an electronic design I can zap it to my Mac and print it out. Very nice!
I'm a big sketcher, though I can't draw anything that anyone would ever recognize. :) In my recent work on the Sisyphus table software, I've made probably 100 or more sketches. Generally these have been geometry problems that I'm trying to figure out how to solve with trigonometry. It's much easier for me to understand the problem when I can visualize it, hence the sketches. I don't save any of these – I make the sketch, I write and debug the software, then I just delete the sketch. In the past when I worked on software like this, my desk would be surrounded by discarded, crumpled paper – something my workmates used to tease me about. Those days are now gone...
We're still learning all the new features on our iPhone Xs. One of those is the wireless charging. I got two wireless chargers, and Debbie and I each have one on our nightstand. They work. I'm not sure how quickly they charge, but they do what we care about: put a phone with an empty battery on the charging stand at night, and in the morning when you wake up it's fully charged. I'm a little surprised just how convenient I find it. I used to fuss about every night searching for the end of the charging cable, often having to untangle it from other wires nearby. Probably one night out of five I'd forget it, and have a half-dead phone the next day. The little connector was fiddly; you had to align it just so before pushing it in, and it was easy to mistakenly slide the connector between the phone and the case. With the wireless charging, I just put the phone down on my nightstand and it gets charged. There's no careful alignment needed; setting it down pretty much anywhere on the charger works fine. It's a little thing, but quite nice...
I was a Kickstarter supporter of the Remarkable tablet. I got mine a couple of months ago, and I've been using it daily ever since. These folks got enough things right about this that for the very first time I have stopped using paper-and-pencil for anything. The “feel” of it is the most important part they got right. Unlike any other electronic device I've ever tried sketching on, this one really does feel much like paper, right down to the scratching of the “pencil” tip over the “paper”. It isn't perfect, but it's darned close, and close enough. A second thing they got right is simplicity. Using the table is not like using a drawing program, which is what every other device I've ever tried did. Instead, these folks made it work as much like paper as they could. You choose your drawing instrument (pencil, felt-tip, pen, etc.) and a few details (like the line width, angle of the pencil, etc.) and then you just use their stylus as though it was that instrument. That's it! You've got essentially an infinite number of pages to work with in the device's memory. The best part, for me at least, is I can send any sketch I want to keep to a file on my Mac. So, for instance, if I sketch out an electronic design I can zap it to my Mac and print it out. Very nice!
I'm a big sketcher, though I can't draw anything that anyone would ever recognize. :) In my recent work on the Sisyphus table software, I've made probably 100 or more sketches. Generally these have been geometry problems that I'm trying to figure out how to solve with trigonometry. It's much easier for me to understand the problem when I can visualize it, hence the sketches. I don't save any of these – I make the sketch, I write and debug the software, then I just delete the sketch. In the past when I worked on software like this, my desk would be surrounded by discarded, crumpled paper – something my workmates used to tease me about. Those days are now gone...
Wednesday, January 24, 2018
Newbie mistake...
Newbie mistake... Yesterday afternoon, after transferring our old phone information to our new iPhone Xs, we did a few tests. One of them was to call each other, to make sure the phones were working. As we did this, we were both holding our phones, standing right next to each other. I called Debbie, and the ringer volume was really low – even though we had it cranked all the way up. She called me, and we got the same result. I spent a good fifteen minutes cruising through the settings, thinking there must be some new setting that for some reason defaulted to a low ringer volume. Couldn't find a darned thing.
So to Google I went, and I found plenty of people complaining of the same thing. However, the first ten or so posts I read covered only the same settings that I'd already checked. Dang it! Finally I read a post that mentioned an “attention-aware” setting associated with the new face ID on the iPhone X. It suggested turning that feature off would raise the volume. But that made me wonder what the heck that feature was ... and after a bit more searching and reading I finally understood it. The iPhone X is knows if you're paying attention to it – and in that circumstance, it lowers the volume of the ringer and alerts. Debbie and I were both staring at our phones when we ran the test, so the phones knew it and lowered the volume. I put my phone in my pocket and had Debbie call me, and sure enough, the ringer volume was nice and loud.
That's a ... really nice feature, actually. There's no reason for a loud ringer if I'm already staring at the phone. We left the setting alone.
BTW, the face ID is so far working quickly and flawlessly for me. Debbie can't use it to get into my phone, and vice versa. When I pick up my phone, the face ID is so fast that I really don't even notice it – my phone “just works”. I'm used to typing in a 6-digit PIN every time I pick up my phone; that's going to take a while to get out of that habit. :)
So to Google I went, and I found plenty of people complaining of the same thing. However, the first ten or so posts I read covered only the same settings that I'd already checked. Dang it! Finally I read a post that mentioned an “attention-aware” setting associated with the new face ID on the iPhone X. It suggested turning that feature off would raise the volume. But that made me wonder what the heck that feature was ... and after a bit more searching and reading I finally understood it. The iPhone X is knows if you're paying attention to it – and in that circumstance, it lowers the volume of the ringer and alerts. Debbie and I were both staring at our phones when we ran the test, so the phones knew it and lowered the volume. I put my phone in my pocket and had Debbie call me, and sure enough, the ringer volume was nice and loud.
That's a ... really nice feature, actually. There's no reason for a loud ringer if I'm already staring at the phone. We left the setting alone.
BTW, the face ID is so far working quickly and flawlessly for me. Debbie can't use it to get into my phone, and vice versa. When I pick up my phone, the face ID is so fast that I really don't even notice it – my phone “just works”. I'm used to typing in a 6-digit PIN every time I pick up my phone; that's going to take a while to get out of that habit. :)
Subscribe to:
Posts (Atom)














