Lauren Wood

May 262023
 

Cov­id, I mean. As in the pan­dem­ic that is still there, that people are try­ing to ignore and pre­tend it’s not that bad. Except that for those of us deal­ing with long cov­id, or post-cov­id, or cov­id-induced chron­ic fatigue, or post-vir­al chron­ic fatigue, call it what you will, it’s very much still there. It’s there every morn­ing when we wake up and feel halfway back to nor­mal, and then try to sit up or stand up or have a shower, and real­ise yet again we have to sit down for a few minutes to let the heart rate settle down. And I’m one of the lucky ones that can stand and walk and sit for hours; so many are still bed-rid­den. Some are func­tion­ing des­pite all of this (Cath­er­ine Hey­mans, for example), some are not. 

I’m doing bet­ter than I was, the brain fog has lif­ted some­what, but I’m lim­ited in how many hours I can work each day, how much I can do phys­ic­ally, how much energy I have emo­tion­ally. And I’m one of the lucky ones, with a work­place that’s under­stand­ing and a fam­ily that’s sup­port­ive. Even with that, it’s hard and frustrating.

There are some 220 post-cov­id symp­toms, which come in vari­ous group­ings and nuances. Com­mon symp­toms are brain fog, fatigue that comes seem­ingly from nowhere, a heart rate that bounces around, and the feel­ing that you can­’t get enough breath. The BC long cov­id clin­ic (which requires a refer­ral from your fam­ily doc­tor, should you be lucky enough to have one) con­cen­trates on edu­ca­tion, which is use­ful, but leaves you try­ing to fig­ure out what your own indi­vidu­al type of post-cov­id is. If you’re lucky enough to have a sup­port­ive fam­ily doc­tor (which I do), they will try to work with you to fig­ure this all out. If you’re unlucky enough to have one who does­n’t believe in dys­auto­nomia or pos­tur­al ortho­stat­ic tachy­car­dia (POTS) as symp­toms of long cov­id, you go to the long cov­id clin­ic and find sup­port­ive voices from all the oth­ers whose doc­tors don’t believe their symp­toms are real.

But they are real. One way to dia­gnose POTS at home is the NASA lean test. Basic­ally, the the­ory behind the test is that when you go from lying to stand­ing, your blood pres­sure nor­mally drops slightly as grav­ity acts on the blood, and your heart rate goes up a little to com­pensate. If you’re healthy, everything nor­mal­izes rap­idly so you can stand and walk without issues. The NASA lean test tests how quickly that hap­pens, and what your body goes through when you change elev­a­tion from lying to stand­ing. If you have POTS, when you go from lying to stand­ing your heart rate goes up a lot, and either your blood pres­sure drops a lot, or your blood pres­sure goes up a lot. Both vari­ations are known, both indic­ate POTS. A word of warn­ing if you want to try this test and you sus­pect you may have some blood pres­sure or heart rate issues: Make sure you don’t have any­thing major planned that day. Doing the test gave me a head­ache and wiped me out for the rest of the day. And of course, just know­ing that you have some POTS-style issue does not mean there’s a treat­ment for it, oth­er than the ubi­quit­ous advice about pacing. 

Pacing is everything in the world of long cov­id, along with not catch­ing cov­id again. More on what that means next time, writ­ing this has depleted my energy levels for the day.

Oct 102019
 

(Or, as it’s com­monly known, yak shaving.)

In this case, to be able to use a Dock­er image, the easy way to install soft­ware (I’m told). But, of course, tech­no­logy has a habit of throw­ing curve balls. Or, as here, demand­ing items that you may not have.

Step One: Check­ing the require­ments for Dock­er reveals that, if you’re using Win­dows, you need a Win­dows 10 Pro install­a­tion, not Win­dows 10 Home. There is, how­ever, a Dock­er Tool­box option for Win­dows 10 Home. The require­ment for Dock­er Tool­box includes vir­tu­al­iz­a­tion being enabled. (There’s a link to a tool to check this.) My Win­dows PC, a couple of years old, has that vir­tu­al­iz­a­tion, but it’s disabled.

The word­ing on the Dock­er Tool­box page makes it sound like using the full Dock­er Desktop would be prefer­able, so I decided to check out that option. Microsoft does make it easy to spend the money to upgrade to Win­dows 10 Pro (there’s a link in the Set­tings app under About with the word “Upgrade”), but the require­ments for Dock­er Desktop include sup­port for some­thing called “Second Level Address Trans­la­tion (SLAT)”, which seems to be called some­thing dif­fer­ent any­where you might want to check it. In the Win­dows sys­tem inform­a­tion (sys­teminfo) it’s called Hyper‑V, for example, and check­ing it reveals that in my sys­tem it’s sup­por­ted, but not enabled.

Step two: Enable vir­tu­al­iz­a­tion; this requires a reboot and change to the sys­tem BIOS set­tings. This page on how to access the BIOS on Win­dows 10 was use­ful. Once enabled, everything seems good to go, and from there I decided to try out the tool­box first, and think about the lar­ger upgrade later. I’m not crazy about poten­tially break­ing work­ing sys­tems if I can avoid it, and past Win­dows upgrades have made me cautious.

Step three: Install Dock­er Tool­box, which went smoothly enough. But the pro­gram I was try­ing to run had issues with port map­ping. A pos­sible cause is some­thing in the Dock­er sys­tem not talk­ing to the Win­dows sys­tem in the expec­ted way, so it looks like I will need the full Dock­er Desktop after all. Which means upgrad­ing Windows.

Step four: Delete Dock­er Tool­box from the sys­tem to make sure there are no weird interactions.

Step five: Sign up for a Microsoft account, so that I can buy Win­dows 10 Pro.

Step six: Install Win­dows 10 Pro as an upgrade to Win­dows 10 Home. This went much faster than I expec­ted and appar­ently did­n’t break any­thing either.

Step sev­en: Install Dock­er Desktop and repeat all the soft­ware-depend­ent install­a­tion steps.

Suc­cess! The port map­ping works, and the required soft­ware installed.

Tech­no­logy is great, except when it isn’t. But Win­dows 10 is much bet­ter than pre­vi­ous ver­sions of Windows.

Feb 042018
 

Pos­ted in case it helps someone else.

One of my web­site cli­ents asked for help with one of their Mac OS X laptops, which had sud­denly stopped con­nect­ing to their wifi net­work. The wifi con­nec­tion seemed to be demand­ing a WPA enter­prise user­name and pass­word, des­pite being set up as WPA2 per­son­al, which only needs a password.

In the end, the cause was a com­bin­a­tion of a new modem/router from the cable com­pany, and an old ver­sion of Mac OS X (10.7.5). I had to go to the app store to down­load El Cap­it­an, since you can­’t update from 10.7.5 to High Sierra dir­ectly, but after installing it the laptop could con­nect to the WPA2 per­son­al wifi net­work on the new modem/router. It’s now been updated to High Sierra, and the com­pany reminded to install the updates they get a little more regularly…

Jul 232017
 

For a while there XML.com did­n’t handle tags on sub­mit­ted news items very well. If a tag was included that was in a dif­fer­ent case to an exist­ing tag, the pre­view and pub­lish would res­ult in a 500 serv­er error. For­tu­nately this was some­thing that was­n’t vis­ible to the out­side world, but annoy­ing nonetheless.

Wag­tail allows case-insens­it­ive tags, and I had already turned that on (it would be con­fus­ing to have searches for the tags “XSLT” and “xslt” return dif­fer­ent res­ults, for example). Art­icles and news items sub­mit­ted using the stand­ard inter­face behaved prop­erly, it was just the news items sub­mit­ted by people without logins on the sys­tem that didn’t.

It turns out that the prob­lem lay in the way I called the get_or_create() meth­od, which is used to look up the tags in the data­base and then cre­ate them if they don’t exist. In my code, that looked like this: 

tag, create = Tag.objects.get_or_create(name=tag_name)

By default, this is a case-sens­it­ive meth­od (as it should be, for the gen­er­al case). To make the look­up case-insens­it­ive, you use name__iexact instead of name. The next prob­lem I found was that no tags were being cre­ated if the tag did­n’t already exist in the data­base. To cre­ate the tag, if you’re using name__iexact instead of name for the tag look­up, you also need to give the get_or_create() meth­od a defaults para­met­er to use when cre­at­ing the tag. Now that line looks like this:

tag, create = Tag.objects.get_or_create(defaults={'name': tag_name},
                                        name__iexact=tag_name)

and it all works the way it’s meant to.

Jul 032017
 

My now 11-year-old daugh­ter loves books and read­ing so I asked her to write a book review for a couple of her favour­ites. This one is for The Wild Robot, by Peter Brown. She gave this book ★★★★★ out of 5.

The Wild Robot” is a book about a single robot sur­viv­ing in the wild with lots of anim­als. She adop­ted her own baby anim­al, learned to speak the anim­als’ lan­guages, and so much more! I like this book because the author describes everything in a new way. It’s one of those happy but sad books, and I had tears in my eyes at the end. Highly recommended!

Jul 032017
 

In Canada, where I live, the vot­ing sys­tem for the par­lia­ments is the easy to under­stand, but blunt, first past the post (FPTP) sys­tem (also called plur­al­ity vot­ing). The per­son who wins the most votes (a plur­al­ity) wins the seat, wheth­er they get over 50% or under 30%. I believe that it’s time we had a sys­tem that gives more people a more nuanced say in the gov­ern­ment they get; tac­tic­al vot­ing of vari­ous forms in a FPTP sys­tem only goes so far. For my own bene­fit I’ve writ­ten up the vot­ing sys­tems of 3 oth­er coun­tries in which I’ve lived. I don’t have a firm opin­ion on which one I prefer (yet).

Germany

At the Fed­er­al level in Ger­many, the vot­ing sys­tem is a ver­sion of a mixed-mem­ber pro­por­tion­al sys­tem: voters get two votes. One is for a dir­ect can­did­ate (approx­im­ately half the seats), and works by the plur­al­ity (FPTP) sys­tem. The oth­er is where the voter votes for a party. Each party has a list, and the appro­pri­ate num­ber from each party list is deemed elec­ted, depend­ing on the num­ber of votes the party got. There is a threshold for the list votes; parties have to get over 5% of the vote to get any seats via the second (list) vote, unless more than three dir­ect can­did­ates from that party are elected.

This sys­tem was set up to bal­ance many aims. Among them are the prin­ciple of equal votes (each vote must have equal weight), dis­cour­age small parties while allow­ing them, and encour­age bal­ance between vari­ous polit­ic­al views. It tends to lead to coali­tion gov­ern­ments, and is good for find­ing consensus.

Australia

Aus­tralia uses pref­er­en­tial, or ranked, vot­ing sys­tems. The voter ranks the can­did­ates in order of pref­er­ence. If one can­did­ate gets 50% + 1 (or more) first pref­er­ence votes, they are elec­ted. If not, the can­did­ate who received the few­est first pref­er­ence votes is elim­in­ated from the list, and their second pref­er­ences are dis­trib­uted. This pro­cess con­tin­ues until one can­did­ate does have 50% + 1 or more votes. There’s a vari­ation for the Sen­ate that I’m not going into.

Ranked vot­ing gives people a chance to vote for a can­did­ate they know won’t win, and give the second pref­er­ence to a main­stream can­did­ate, which makes it bet­ter than FPTP tac­tic­al vot­ing. One down­side is that you have to rank all can­did­ates in order, and it is quite pos­sible to miss a num­ber, or make some oth­er mis­take. There are some people who num­ber from 1 down the page, so the bal­lot has to be designed to take that ‘don­key vote’ into account.

New Zealand

New Zea­l­and uses a dif­fer­ent ver­sion of mixed-mem­ber pro­por­tion­al rep­res­ent­a­tion to Ger­many. (No, I’m not going into detail on the pre­cise dif­fer­ences.) Each voter has two votes: one for a dir­ect can­did­ate, and one for a party. The party vote determ­ines the over­all num­ber of seats each party is entitled to. There is a threshold, as for Ger­many, of 5% for the party vote, or one dir­ect can­did­ate elected.

There are also a cer­tain num­ber of seats reserved for the Māori elect­or­ate; those use the same vot­ing system.

Per­son­ally, I think any of these sys­tems would be bet­ter than the cur­rent FPTP sys­tem we have.

/* ]]> */