Instagram filter used: Lo-fi
Photo taken at: Cape Spear
Instagram filter used: Lo-fi
Photo taken at: Most Easterly Point in North America
You might have seen the Bruce Power Cost and Clean Air Calculator. It’s supposed to show that nuclear is both cheap and clean, and using anything else would make your bills and your emissions go through the roof. Well, here are 40+ scenarios that all save money and emissions while using no nuclear and no coal:
Sure, some of these won’t be practical from a dispatch/capacity perspective, but hey, that’s Bruce’s issue to explain away.
I couldn’t have done it without this tiny routine to produce a list of random numbers that all add up to 1. No way was I clicking those sliders 10000+ times. Viewing the source was handy, though.
sub rndnormsum { # generate N uniformly distributed random numbers that sum to 1 # see http://stackoverflow.com/a/2640079/377125 my $n = shift; # number of entries to return my @arr = ( 0, 1 ); foreach ( 1 .. ( $n - 1 ) ) { push @arr, rand; } @arr = sort(@arr); my @result = (); foreach ( 1 .. $n ) { push @result, $arr[$_] - $arr[ $_ - 1 ]; } return @result; }
Instagram filter used: Lo-fi
Photo taken at: Kennedy Station – South Parking Lot
I spent — no, wasted — two hours traipsing around big-box stores looking for a replacement for this. I bought the light fitting at Lowe’s, but do they stock the tubes? Do they chook.
The Circline seems to be an especially weird idea. It comes in a whole bunch of odd sizes, but most stores only stock 8″ and 10″ replacements. If I’d known that, I wouldn’t have bought the light in the first place.
Instagram filter used: Lo-fi
This is about scientific notation, and how Gnome Calculator still doesn’t do it correctly.
So I was checking a simple calculation today, and couldn’t find a proper calculator, so I reached for gnome-calculator on the desktop. That was a mistake.
It seems to think that
8×10¹²÷6×10â¹
comes to
1.333333333×10²¹
which is not correct. It would, if I’d typed it as:
8×1×10¹²÷6×1×10â¹
You can only get the right answer (1333.333…) if you type
(8×10¹²)÷(6×10â¹)
so it’s clear that gnome-calculator isn’t apply the right exponentiation operator precedence when you hit ‘×10y’. It would have been so much better if gnome-calculator supported ‘E’ scientific notation (1.333E21 for 1.333×10²¹).
A bug is filed, but I don’t think I trust it any more. I’m looking at having a proper calculator again, or maybe invest in one of the delightful tiny HP clones from SwissMicros.com.
Almost forgot that I had a barely-used HP 49G in the cupboard. It was barely used because the thing eats AAA batteries. Who knew that Dollarama would have a pair of NiMH AAAs for only $2?
Update, 2021: Use galculator instead. It does the right thing, and supports RPN like a calculator should. You don’t need to remember any precedence rules when you have The Truth.