The Recent Fusion “Breakthrough”

Published at 19:48 on 14 December 2022

There’s a lot of very bad takes like this out there about the recent so-called “breakthrough” in controlled nuclear fusion.

First, I put “breakthrough” in quotes to emphasize that what’s just been achieved is a lot less impressive than what many have been led to believe by the news stories. “Milestone” would be a much better description for what has been achieved. It’s important, but far from a big breakthrough.

For openers, any claims of “net energy gain” rest on an extremely deceptive definition of what “net energy gain” is. All that has been achieved is a net gain over the output power of the lasers used to initiate the reaction. Those lasers are themselves monstrously inefficient devices; the vast majority of the energy fed into them is wasted as heat.

The upshot of this is that, overall, the fusion reactor that just achieved this supposed “breakthrough” of “net energy gain” actually consumes roughly 100 times as much energy as it produces. (And that’s without even taking all the other energy costs involved in manufacturing and operating the fusion reactor into the picture.)

Next, we come to whoppers like the following claim (source: first link in this entry): “[W]hat if we didn’t have to economize? What could humanity do for ourselves and our planet? … Bring the whole world up to a Western standard of living — and beyond — without worrying about the environmental cost?”

I mean, really now: it’s hardly as if consumption of energy at First World levels is the only unsustainable thing about modern industrial civilization. There’s all the other non-energy natural resources, many of them nonrenewable ones, that are being eaten through at an ever-increasing pace. That’s before one gets to inconvenient matters such as how shifting to fusion to power cars and trucks means shifting to electric vehicles, which are significantly more resource-intensive to manufacture than fossil-fuel powered ones (compare the resource footprint of a lithium battery bank to that of an empty steel fuel tank and it’s not exactly a pretty picture).

Suppose all goes better than planned and we get to actual net energy gain from fusion. That’s going to take a while. Then it will take a while longer for such reactors to make the journey from laboratory curiosity to a practical industrial technology. All the while that goes on, fusion will not be available as an energy source.

Mark my words, if fusion ever does become practical, it will definitely be a huge help. But that’s all it will be: a help. It won’t be a magic bullet. It won’t be a get out of jail free card from having to confront our unsustainable ways and downshift.

iPhone First Impressions

Published at 07:44 on 13 September 2022

It’s Small

Not quite as small as a candy bar phone, but pretty small nonetheless. About as small as I’d want to use for looking at web sites and reviewing emails. Small enough to make previewing PDF’s quite painful. (Thankfully the latter is not as important as small size to me.) That is, of course, one of the reasons I got it.

Sadly, “masses” are 5/6 “asses,” so overall small phones do not sell well, and as such the “mini” phones are being phased out by Apple. Now, even the regular-sized iPhones are smaller than most Android devices, but I’m glad I got the opportunity to minimize size, and glad that I waited for the iPhone 14 so that I could get a 13 mini at a discounted price.

It’s Surprisingly Hard to Integrate with iCloud

It literally took hours to complete this task, which was not easy or simple. Part of this, I think, is that my iCloud account is something of a mess, as a result of being one of the earliest such accounts (I got its predecessor about 20 years ago, when I purchased my first Mac.) As such, it has been grandfathered from a mac.com account to a Mobile Me account to an iCloud account, and apparently there has been some accumulated cruft along the way.

I now have two Apple accounts, one named with my full original email address, and one named with just the username part of that address. The accounts are subtly connected in various ways I still do not fully comprehend. Everything I do is as a result something of a pain, made all the worse by how some of the prompts and diagnostics on iCloud.com are not very clear. For example, when it wanted a non-iCloud email address out of me for account recovery purposes, it simply asked me for an “email address,” no further explanation. So of course I entered my iCloud address, which had a “problem” and was rejected. Neither prompt nor error message mentioned the requirement that the address be external.

While this is not an iPhone problem per se, it is still an Apple problem, and integration with Macs and iCloud is supposed to be a selling point of iOS devices and Apple products in general.

It’s Both Oddly Familiar and Gratuitously Different

A lot of its user interface is so dead-on identical (or nearly so) to what Android does that it’s positively uncanny. At the same time, one is continually running into things that are strangely different, to the extent that I’ve had to do a number of web searches on how to do things.

I Can Kill the Touch Screen!

This feature is “Guided Access” and is buried under the “Accessibility” settings. It is a big deal for me, and is one of the reasons I got an iPhone. I could not put my Android phone in a shirt pocket with the headset connected and walk around the house doing chores while talking, because the touch screen would get randomly triggered, activating features like randomly putting the caller on hold, muting me, or hanging up. Actually, the touch screen itself seems a tad less sensitive, which might reduce the need to do this, but I still would not want a smartphone without this feature.

Apple’s Shipping Is Weird

For some reason they shipped the phone and the accessories (sold separately) that I ordered in two separate packages. The packages moved across Canada in tandem, leaving from the same address and arriving in Vancouver in the same day. So I was expecting the FedEx guy to have two packages when he knocked on my door. He only had one. He mentioned a rendezvous in an hour to collect more packages, and sure enough, I got to say “Hi!” to him again soon enough.

On the plus side, the order got to me yesterday (the 12th). Its estimated arrival date was the 16th. This is the first time since the pandemic that I have had an order arrive earlier than first estimated.

Getting an iPhone?

Published at 17:59 on 4 August 2022

I have long considered Apple’s phones to be ripoffs due to their high prices and lack of features (no 3.5 mm headphone jack, no FM radio, iOS can’t do something as simple as automatically sort apps by name, etc.).

But reviews like this are making me reconsider. Note that of the top-rated smartphones, the iPhone 13 mini is the smallest. (It’s still larger than desirable, of course.)

I have a non-top-rated smartphone. It’s OK, but there has been since Day One a most annoying misfeature with the audio. About 20% of the time, it is annoyingly loud, and cannot meaningfully be turned down (even turning the volume all the way down results in only a modest reduction). About 40% of the time the exact converse is true: volume too soft, cannot meaningfully be turned up. Only about 40% of the time is the volume reasonable. It’s truly annoying and I don’t want to experience such behaviour again.

A friend of mine has a nice, small, decently-sized smartphone. Since decently-sized smartphones are niche items in this world, it is not a top-rated device either. Its nemesis is positively awful battery life.

All the above strongly indicates sticking with top-rated devices.

Then I look at the prices. Yes, the Apple devices sell at a premium. But not much of one over the top-rated Android devices. Plus, Apple commits to supporting its current devices with software upgrades and patches for a minimum of six years. For Android that period of time is more like two years (my Android phone is already no longer being supported).

The rub is, I would still be giving up those features I mentioned above, and paying a premium to do so. So I’m still thinking it over. But not for too terribly much longer; the battery on my existing phone is slowly dying and I worry that if I procrastinate much longer, I will be left temporarily without a phone.

The Joys (Not!) of SonarQube

Published at 22:05 on 9 February 2022

Or maybe I should say, “The Joys (Not!) of SonarQube As Implemented by My Employer.”

SonarQube is a code-analysis system. It analyzes computer code and enforces coding standards. If it doesn’t pass the sanity checks, builds don’t properly complete.

I have nothing in general against coding standards, and I fully admit that the code I write is not 100% perfect. I also have nothing in general against tools to help uncover questionable coding practices.

The problem is the automatic mandatory implementation, with it being like pulling wisdom teeth from an elephant to get any exemptions from.

Consider my recent use of a random number generator. It was in a bit of performance-sensitive code, and the random numbers were not being used for any cryptological or other security-sensitive purpose. The default (crap quality radomizer) Java ThreadLocalRandom class was good enough, plus it had lots of convenience methods for doing things like generating a floating point number within an arbitrary range. So of course I used it.

Nuh-uh, no can do! SonarQube says that’s a security violation. I start inquiring about what can be done to get an exemption, and learn that it’s such a pain I’m better off recoding. So I do that, blowing a half day in the process (I have to implement a bunch of convenience routines missing from the SecureRandom class).

It’s made worse by SonarQube itself being of generally shoddy quality. Its metric for there being enough test coverage so unreliable that a commit can pass muster on a branch, yet get failed when merged to master, even when the result of the latter merge is exactly the same as what was on the branch. That’s right: you have no idea if a merge to master will succeed or fail. Every merge might well prompt last-minute frenetic test-writing.

So I decide to write a boatload more tests, just to err on the side of high test coverage and avoid triggering the wrath of SonarQube. Everything works just fine on the branch, so I merge.

The build then promptly fails, because get this, the new code has insufficient test coverage.

That’s right, SonarQube is refusing to accept my test classes… because they themselves don’t have tests! Can you say “Catch-22” boys and girls?

Again, this wouldn’t be so bad (it would be more humorous than anything), if SonarQube were implemented in an advisory capacity instead of a mandatory one.

Actually, it’s still humorous. If they want to piss away their money on stupid policies that waste productivity, fine. I just make note of all the unnecessary busywork their policies cause and report as necessary when queried about why something takes so long. Their loss.

The Awfulness That Is Airbnb

Published at 16:01 on 27 October 2021

Executive summary: Avoid Airbnb like the plague. Pretty much everything about them sucks.

So, about a week and a half ago, I thought I wanted to reserve a room for a few nights in Vancouver, BC to do some apartment hunting. I decided to check out what was available on Airbnb.

The first thing that happened was the site was almost totally unusable. It is one of those piece of junk web sites that is crammed full of as much badly-written client-side Javascript as possible. I’m sure the site works fine on the high-end gigabit connection at the office where the testing is done. Problem is, not everyone has a high-speed, high-end connection, and the site is so heavy with hidden (and sometimes excruciatingly slow) requests to their servers, without any user feedback that this is happening, that the site is virtually useless on a slow connection.

So I wait half an hour and the site becomes barely usable. I manage to find what looks like a very attractive deal; apparently someone cancelled at the last minute and something desirable is available at a competitive price. I try to reserve it, and at one stage it drops back into two-factor authentication and asks for a cell number to text. I enter my number and receive no text. I try a few more times, then a message comes up that Airbnb is now blocking texts to that number for 24 hours.

So I wait 30 hours, and by some miracle the good deal is still there. I try again, only to discover my number is still blocked. So I borrow a friend’s phone and attempt to use it for two-factor authentication. The first text takes forever to get delivered, so long that I have given up and tried again. That second try causes Airbnb to proudly proclaim it is now blocking texts to my friend’s number as well.

At that point, I write off Airbnb entirely, and give up in disgust.

But Airbnb was not done imposing its suckiness on me. At one stage in that process, it did ask for a credit card number. It turns out that Airbnb, despite pestering me with two-factor authentication and refusing to complete my transaction, did nonetheless try to bill my credit card at that point… from the United Kingdom. Why a San Francisco-based company would instigate a charge from the UK for a sublet in Vancouver, BC is beyond me, but that is exactly what Airbnb did. Seeing a charge from the UK come within mere hours of a charge from Canada, my credit union then decided to cancel that credit card.

When I called my credit union to ask why charges were suddenly failing, they did some investigating, and their reaction was “Oh, Airbnb. They tried to charge you from the UK. We run into this sort of thing often with them. We advise our clients always call us before using Airbnb to stop their credit cards from being cancelled.”

So now I must wait for a new credit card to arrive before I make my next trip north. Fuck you very much, Airbnb.

Upgrading My Wire Strippers

Published at 13:33 on 11 May 2021

Adam Savage (of Mythbusters fame) came out with a video last year singing the praises of automatic wire strippers.

A little quick research uncovered that such strippers work poorly, if at all, on PTFE (Teflon) and THHN insulation. That pretty much killed the deal for me, as I semi-regularly deal with both such wire types. But it got me thinking: stripping wire is something of a headache, because I always chintzed out on wire strippers. I bought some cheapo strippers many decades ago and have used either them or a knife. Stripping wires has always been something of a fiddly process for me.

Conclusion: I could benefit from owning some better tools, and should spend some of my birthday gift money on them. I opted for the Klein No. 11055 and 11057 strippers (yes, both of them, since I routinely have need to strip wire in a wider gauge range than any one set of strippers can accommodate). And let me say, it has been very nice to finally have a proper set of quality tools to do a task I frequently need to do.

Initially, I had toyed with the idea of getting some European-style wire strippers like these, simply because I thought they might be better than the styles used in the USA, and the “not invented here” principle was stopping their adoption. If that were the case, it should be easy to find glowing reviews from the few Americans who had discovered this style of tool. Quite the contrary, however: no such reviews existed, while there were reviews from Europeans raving about the Klein strippers above.

The morals of the story:

  1. If a recurring task has been a continual annoyance (even a minor one) and there exist tool(s) to make it easier, it is probably best to just can the stinginess and buy the tool(s) already. I should have upgraded decades ago; it would have saved a fair amount of frustration.
  2. Do your research. If I had ordered automatic or European-style wire strippers, I would have ended up disappointed.

Crimping versus Soldering

Published at 15:26 on 31 March 2021

The world is full of analyses like this one that confidently perform crimping to be better than soldering. The real world is not nearly so simple.

Yes, a properly executed crimp connection with a quality crimp connector is by all measures superior. The devil is in those weasel words.

Given that it is possible for a crimped connection to be superior to a soldered one, and given that crimping is faster than soldering, why would anyone solder? Soldering when connections can be crimped seems obsolete.

That is how many retail hardware stores promote crimping, often in a big blister pack with cheap crimp connectors and a cheap crimping tool like this one. Well, good luck with that. It takes a skilled craftsman to execute a quality crimp with a cheapo tool and cheapo connectors. It is, in fact, easier to learn to solder.

An anecdote to close: When I worked in IT support, the department purchased a cheap crimping tool, that could crimp both 6 and 8-position modular connectors, and some bulk cable. No longer would custom lengths of cable need to be special ordered.

Those crimps were responsible for trouble ticket after trouble ticket. When I broke the crimpers in the attempt to exert enough force for a quality crimp, I put my foot down and insisted they spend over $100 on a name-brand, quality crimping tool and set of crimping dies. It was money well spent, because the number of trouble tickets dropped to zero on connectors crimped with it.

It’s not that bad with standard wire crimp connectors; $25 or so can get you a good, compound-action, ratchet-based crimping tool. Even then, it’s good to budget in some practicing, and learning how to recognize a bad crimp. But again, that’s not how crimping is sold. Most of those crimp kits don’t even cost $25 total, and no mention is made of skill development.

Personally, I solder. Already have a soldering iron and know how to use it as a result of messing with electronics for many years, and I don’t splice wires often enough to justify the expense of a crimping tools, the clutter managment headaches of maintaining a stock of crimp connectors, and so on.

New Honeywell Round Thermostats Suck: Do Not Buy

Published at 13:48 on 21 October 2020

I ordered one to use as a mechanical, low-voltage thermostat for my electric heating after I converted it to low-voltage control. It came up on my Amazon product search, and had what seemed to be a decent rating of 4.2 out of five stars. That, plus the appearance of familiarity with the product (I have lived in homes with older versions of them before) prompted me to choose it.

Big mistake! Turns out it’s not a mechanical thermostat at all; it’s an “intelligent” (I use the term very loosely here) electronic one, complete with a printed-circuit board hidden inside. It’s just disguised to look like a traditional mechanical thermostat.

If Honeywell had properly engineered such a design, there would be no problem. But they did not. Look at the actual written reviews for it on Amazon’s product page and you will see something unsettling: a large number of one-star reviews, with those bad reviews rated as being the most helpful.

For further amusement, go to the HVAC-TALK site, feed “Honeywell CT87” into the search box, and you will be rewarded with some archived discussions of this model by HVAC professionals. The general consensus is that they are junk and should not be installed.

The main problem is apparently how the firmware emulates a traditional mechanical thermostat’s anticipator (a tiny electric heater inside a thermostat that “anticipates” the tendency for heating systems to overshoot past the set temperature). It assumes a fixed and unrealistically rapid rate of temperature increase when the heat comes on. It works OK if it’s barely cold enough to need to run the heat, but as the outside temperature drops, it gets less and less accurate; you have to set the thermostat ever higher to get the same inside temperature. This has apparently even caused frozen and burst pipes for some homeowners!

To make a shitty product even worse:

  • They have an internal, undocumented lithium battery that will die within a decade, degrading performance further.
  • They have an undocumented power-stealing design that is incompatible with some systems.
  • The case design, in contrast to the traditional Round case, has poor air circulation which makes for poor sensitivity.
  • The temperature-sensing thermistor is mounted directly on the circuit board, making its sensitivity to air temperature worse yet.
  • Their circuitry is unreliable and prone to failing entirely within a year or two.

Honeywell Round thermostats didn’t used to suck; in fact, they used to be the most popular thermostat out there, and would last decades. That was when they were mechanical. But that design used mercury switches and ended up getting banned*. Instead of choosing to go with a mechanical magnetic snap design, Honeywell chose the electronic route, and badly botched it.

* For good reason. Mercury is toxic, so old mercury thermostats should be recycled. Instead, they generally end up in the trash, causing toxic waste problems.

What’s infuriating is that this has been a problem for most of a decade, and Honeywell is still selling these defective-by-design pieces of junk, apparently because I am not the only one suckered by their retro appearance into believing they are simple, mechanical, and reliable.

Caveat emptor!

Using Your Cell Phone in Canada for Less

Published at 19:08 on 25 January 2020

If you live in the USA, it’s easily possible to use your cell phone in Canada, but the most straightforward way of doing so (roaming) is unfortunately very expensive. Virtually all U.S. cell carriers consider any sort of international roaming to be a high-end feature. Either you will pay an exorbitant fee per day or per call to use it, or you will pay an exorbitant fee (i.e. at least $50 per month) for a high-end plan that offers roaming without such extra fees.

If, like me, you’re a cheapskate who has traditionally received cell service via a discount plan like TracFone (which doesn’t offer international roaming at all), the prices are likely to make you say “Ouch!” They sure made me say “Ouch!”

For years, I stuck with TracFone despite living in a state that borders Canada, and just put up with being out of cell coverage range whenever I was in Canada. Recently, however, I moved further north, to a county that borders Canada directly. The closest big city to me is now Vancouver, so if I want to do big city things, odds are I will be traveling to Canada to do them. Furthermore, my parents are getting evermore elderly and frail, so it is getting evermore unacceptable to be without cell service.

My solution? Forget about roaming, and just buy a discount cell plan from a Canadian carrier. I did some research, and subscribing to the least expensive plan by Public Mobile increases my monthly costs by less than half the amount that any option for purchasing the right to roam in Canada would. Public Mobile is basically Telus’ discount brand, which is important because cell coverage in rural areas of Canada is often quite spotty, and Telus has the best coverage in rural B.C.

The silly bit is that I’m now paying more for the right to use my cell phone in Canada than I do for the right to use it in the USA, but that’s more a function of what a screaming deal TracFone is than what a raw deal Public Mobile is. Canada’s cell charges tend to be high simply as a result of Canada being large and sparsely-populated, which results in fewer users having to bear the costs of maintaining a large network.

There are some catches, however:

  1. Calls to my U.S. number won’t follow me into Canada; my Canadian service plan comes with its own separate Canadian phone number. For me, that’s a minor drawback: I can simply tell anyone who has business being able to contact me to use my other number when I’m in Canada. For someone whose career depended on always being available at a given number, it’s not so minor a drawback.
  2. I had to install a SIM card from my Canadian carrier into my phone. In my case, that was a minor issue, as my phone has two SIM slots in it. If I had a phone with only a single SIM slot, this probably would have prompted me to buy a new phone (which would easily pay for itself within a year from the savings it would enable). I definitely would not want to fiddle with swapping SIM cards each time I visited Canada.
  3. If you have a phone you purchased from a cell carrier, you are most likely shit outta luck: most phones sold by carriers have been deliberately crippled so as to not work on any other carrier’s network (I purchased my phone from an electronics retailer, and purchased a SIM card from TracFone separately).
  4. If you are a Verizon customer, you are probably shit outta luck. Verizon uses a nonstandard technology that other carriers do not use, so many Verizon phones could not be made to work on any other cell network even if they were somehow unlocked.

One final thing: if you go to the web sites for most Canadian carriers and attempt to order a SIM card from them, you will discover that they absolutely refuse to ship such things outside Canada. My solution was to wait until my next trip to Vancouver and visit a London Drugs outlet (they sell Public Wireless SIM cards). Once you have the SIM card, Public Wireless will happily let you register it to a USA mailing address, and associate it with a USA credit card.

I think there’s a few entrepreneurs importing Canadian SIM cards and offering to ship them to US addresses, for a fee, but the key here is for a fee. Being a cheapskate, it was easy enough just to wait until my next trip to Canada and buy one in person. I then went to a nearby coffeehouse with free WiFi and used my phone to register itself for service. It was activated and on Telus’ network within an hour.

The Shoes Start Dropping

Published at 22:09 on 16 December 2019

Today, Boeing announced that they will “temporarily” stop production of the 737 Max.

Note that I put “temporarily” in quotes. I predicted last April that the only lasting fix for the 737 Max will involve the scrap aluminum recycling industry, and I am sticking by that prediction. It may take an ill-considered recertification of that aircraft, followed by the loss of more lives, to seal its fate, however.