Thursday, June 14, 2018

Bad Sleeper Diaries - Day 1

It is quite possible that I have been exhausted for the past twenty years, and have just learned to accept it as a state of being.  After several attempts at figuring out why I seldom (if ever) felt great, could never concentrate and was always sleepy, I might finally have stumbled upon the cause and - hopefully - the treatment.  It has taken a while to get here.  In my quest to figure out why, an initial diagnosis of ADHD from a psychiatrist and associated Ritalin treatment in my early thirties just gave me hyper focus and made me chatter away like a coked up marketing executive (pleasant but not helpful).

Subsequently, seeing an ENT and having a tonsillectomy and septoplasty to clear my airways made a small improvement (this was when I first began to suspect sleep issues - mid-thirties).  More importantly the doctor's stern warning to lose weight stuck with me, and by following a strict low carb/no alcohol diet with daily walking I was able to lose almost 30 kg's (66 lbs) over a 3- or 4-month period.  For a while, I was feeling good, losing weight, getting things done and living a healthy lifestyle.  For the first time in a long time I was happy with the way I looked in photos.

Sadly, life got in the way - the stresses of a poorly planned home renovation and new relationship led to me abandoning the diet and daily exercise, and over time I ballooned to my heaviest weight ever (currently 133 kg / 293 lbs).  The few years in-between then and now have certainly been eventual, with as many ups as downs - I sold the renovated house, bought a new one, my beautiful son arrived, I lost my mother to suicide, had to undergo a massive amount of stress to settle her estate, bought a new car, was able to settle all my debts (after many years of struggle) and after a rather stormy period separated from my son's mother (although we still live together and now get along quite well).

So I recently found myself, finally in a time of relative stability, and starting to get really frustrated.  Angry at myself for being overweight but also feeling despair that all my attempts at getting in shape failed.  Admittedly, some attempts were more determined than others, but it always seemed to fall apart after a few days.  I've been at this long enough to know to forgive myself and try to keep at it, but I would subconsciously drift back into normal patterns - I'd be genuinely surprised that weeks had passed since my last walk, as an example.

My thoughts feel like there are drunk spider monkeys controlling my brain, always running at high speed tangents, I find myself always going into a room and forgetting why I'm there, or unable to mentally sequence the simplest of tasks.  So in desperation I recently reached out to my ENT doc via email, explained that I'm now overweight and having great difficulty getting it under control (vicious circle of weight gain and low energy) and wanted to try out a CPAP machine to see if my broken sleep was the cause of my woes.  I've been told I snore badly for years, and when I sleep with somebody they tell me that my gasping during the night is quite disturbing.

I was excited to try this solution, but also knew that there would some hoops to jump through first.  The first of these was a "sleep lab", whereby I nervously spent a night in a nearby hospital with very many probes and sensors connected to me whilst they monitored my sleep.  I was worried about falling asleep under those conditions, but in my permanently exhausted state I was out like a light.  For the benefit of anybody else reading this with a similar condition, I'll add the detailed results of the sleep lab later - I recall my AHI was over 95 (apnea index - breathing obstructions per hour).  In addition, over 700 arousal events were recorded during my session.  All these number I need to learn to understand in detail as I go down this road.

A few days later, I was provided with a loan CPAP (Airsense 10 auto) from the sleep lab's office.  They showed me how to use it and allowed me two nights to test the machine.  The first morning after using the machine was an absolute revelation - I woke up feeling refreshed and with a sense of mental clarity I don't recall having ever experienced.  I simply felt calm and able to string thoughts together without difficulty.  I could get things done with such ease - as if the spider monkeys had sobered up and actually had a conductor orchestrating their actions.  During the night itself, I could only recollect waking up once (normally 2 or 3 times) - I was aware of the full face mask I was using but it wasn't too uncomfortable.

The second night did unfortunately not go so well and I didn't feel much different to normal waking up.  On this night I started out with the smaller nasal mask, but changed back to the full facial mask during the night.  Both masks seemed to leak quite badly during the night as well.  I did have realistic expectations, so whilst it would have been good to have a second night as good as the first, I'm fairly sure it will take a month or so to adjust fully.

Fast forward to the day before yesterday, and I reached out to the ENT doc's offices to quote me on my own CPAP machine.  I had been considering a used unit, but considering the price and importance of the machine would rather pay the premium for something dependable.  I was still a bit shocked when I got the quote of almost R15,000 (~USD1250) for the machine (same as the one I trialled) and full-face mask.  However, after a few minutes consideration I'd issued the payment.  I was very excited to go and collect it at the doctor's offices, where I underwent about an hour's worth of usage instructions and mask fitting.

I'm pleased to report that this morning I feel ... quite good.  Certainly not quite the wonderful sense I had after that first night, but I suspect this maybe due to having had a bottle of wine last night - this left me with a hint of a headache this morning.  I do feel better able to concentrate - I wouldn't normally be able to write anything like this without great difficulty.  I do still have a slight sense that the spider monkeys have been drinking, but it is reduced.  I woke up once or twice during the night to adjust my mask, but didn't have any major difficulties.  I'm looking forward to see how the day goes, and can't wait to complete my adjustment to this treatment.

Tuesday, April 10, 2018

Microsoft Visio 2007/2013 Startup Delay

If your Visio takes an annoyingly long time to start up every time, popping up with Windows "Please wait while Windows configures..." dialog, follow these simple steps:

  • Start -> Run (or Windows key + R): type regedit, click OK
  • Delete following registry key: HKEY_CURRENT_USER\Software\Classes\.vsd

Visio should start without delay post change.  Thanks to user Michal0007 over at Technet.

Thursday, December 14, 2017

Allow http through firewall on CentOS 7

$ firewall-cmd --permanent --zone=public --add-service=http
$ firewall-cmd --reload

Missing ifconfig on recent Fedora-based distributions (RHEL, CentOS, Scientific Linux)

In the absence of ifconfig, use the following to reveal your IP address:
$ ip addr

Thursday, December 07, 2017

RHEL yum update

If you know your way around CentOS or Fedora and find yourself in front of a new RHEL system, you might find you're unable to run yum update or yum install due to subscription errors.

You need a redhat.com account for this to work, simply issue:
$ sudo subscription-manager register
Follow the prompts and then:
$ sudo subscription-manager attach

You'll then be able to yum update to your heart's content.

Thursday, November 02, 2017

youtube-dl - 'list' is not recognized as an internal or external command, operable program or batch file.

Struggled for a while with youtube-dl trying to retrieve a playlist and converting to mp3 with this pilfered syntax:

youtube-dl -i --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" youtubeurlhere

Kept getting pesky error in the subject - just put the URL in double quotes ("youtubeurlhere").


-i parameter allows retrieval of media to continue in the event of error ("not allowed in your country", etc).

Copying ffmpeg bin's and youtube-dl.exe to %Windows%\System32 as well as the working folder seemed to help.

Source