22
Feb

Disabling Caps Lock

   Posted by: Richard   in Tech stuff

One of life’s little irritations is the Caps Lock key.

It is a hangover from the old days of the typewriter, where you would press the shift key right down and then press the lock to hold it down.  Of course, in the world of computers, it’s a simple toggle switch that is very easily tapped, and THE NEXT THING YOU KNOW, YOU HAVE WRITTEN EVERYTHING IN UPPERCASE, which is a right pain.

I have a habit of accidentally striking the Caps Lock, and I find it really irritating.  What’s worse, there is little requirement for the key these days, especially with the style of writing I use.  Wouldn’t it be wonderful if I could disable it?

I had a search around, and my prayers have been answered.

I found a very small, very elegant little program that sits quietly monitoring the Caps key and which toggles it back to normal instantly if it is tapped.  In effect, The Caps Lock key on my keyboard now does nothing. 

Suppose though I want to use all uppercase?  Then all I have to do is tap Alt + Caps Lock and my keyboard is back to normal.  It is simple, quick and efficient.  It also counts the number of times the Caps key is struck, and so far it has saved me eleven times.

If you suffer the same slings and arrows of the redundant key then you might like to try installing the program.

It is available here.  It is a mere 17Kb zip file, including licence and Readme.

It claims to work on all Windows systems up to XP, but you can take it from me that it works in Vista too.  I can’t speak for Windows 7, but maybe someone would like to try it and let me know?

Of course, it’s many thanks to the developers.  They are going to save me a lot of hair tearing.

16
Feb

Download failed. Could not create Temporary file

   Posted by: Richard   in Tech stuff

Last week I posted that I was having problems upgrading or updating WordPress core and plugins.  Every attempt resulted in the message – “Download failed. Could not create Temporary file”.  The only solution at the time was to change permissions on wp-content to 0777 and then to revert to 0755 after.

I have finally found a definitive answer that does not require changing permissions or ownerships.  or does it compromise the security of the server.

The solution is quite simple.  All that is required is to add the following two lines to the wp-config.php file.

define('WP_TEMP_DIR', ini_get('upload_tmp_dir'));
putenv('TMPDIR=' . ini_get('upload_tmp_dir'));

As I said, I run several sites, so it was a matter of updating each config file.  I then attempted a core upgrade and a plugin upgrade on each.  Success!  No more meddling with directory permissions.

So, if anyone out there is having the same problem – there is the answer.

9
Feb

Upgrade permissions

   Posted by: Richard   in Blogging, Tech stuff

I have a wee problem that I find quite irritating.

I look after a number of blogs, all running Wordpress, and running on a mix of servers.  On a fairly regular basis, plugins, or even the core code needs to be updated and that is fine.

My problem arises with the plugins.  In order to do an automatic upgrade, I have to go into each server in turn and change permissions on the “wp-content” directory, from 755 to 777.  After the upgrade, I have to remember to revert to 755 again.  Failure to do this results in a message telling me that the update could not download to the temporary directory.

Is there a way around all this faffing with permissions?  Is there a plugin or something that will automate the process?

It’s not exactly a critical problem, but a resolution would make life a little easier!

18
Jan

To sleep

   Posted by: Richard   in CFS

One of the many symptoms of CFS is the ability to have a nights sleep and to wake completely unrefreshed!

For two nights on the trot, I went to sleep at my normal time, which is usually around one or two in the morning (I’m a night owl).  Each morning I woke at around seven with the knowledge that I wouldn’t get back to sleep.  I also felt like I hadn’t slept at all.

Yesterday was the day after the second night, and was therefore a “lost day”.  I have them quite often.

A lost day is a day where I am fit for nothing.  I was desperately sleepy all day, yet couldn’t have a nap because of Restless Legs – Yes, I’m a wreck!!  Every time I relaxed to the point where I felt I could doze, the legs started kicking and became extremely painful.  The only cure for that was to walk around for a bit, which isn’t a good way to sleep.

I had a great night last night.  I went to sleep at two, and didn’t wake until midday – ten hours!  Yet even now I feel a bit sleepy. 

Of course, apart from the physical tiredness, there is the accompanying mental fatigue.  This is the bit I find very hard to live with, as I enjoy my writing and meditating.  I tend to be a thinker and dreamer, and when the though process shuts down I am at a bit of a loss.

I meant to write a piece for this yesterday, but the thoughts I did have made no coherent sense.  It was like trying to write in porridge.

Even today, it ain’t so easy!!!

16
Jan

Chronic Fatigue Syndrome

   Posted by: Richard   in CFS

Chronic Fatigue Syndrome (or CFS) is a nasty ailment.

It suffers (sic) from many drawbacks- 

  • It has no outward symptoms.
  • It is difficult to diagnose.
  • People are reluctant to admit to ‘feeling tired’ all the time.
  • It seems to have many and varied associated complaints.

The main symptom of CFS is a feeling of unnatural fatigue.  By unnatural, I mean a tiredness that is completely out of proportion to the exertion.  The simple act of doing some mundane every-day chore can leave the victim feeling washed out for hours, even days after. 

Because of its lack of outward symptoms, the sufferer is frequently accused of ‘laying it on’, ‘malingering’ or just plain good old fashioned ‘being neurotic’.  Why would an outwardly healthy person insist on a day in the armchair or a day in bed just because they went to the shops, if they weren’t being a hopeless hypochondriac?  In fact one of the biggest hurdles faced by a sufferer is in convincing friends, family and colleagues that the condition exists.

There is a lot of confusion between CFS and Myalgic Encephalomyelitis, or ME.  The two terms are frequently confused and interchanged.  Symptoms are essentially the same, though there are differences (ME is considered to be pathological, whereas CFS is considered to be neurological).

I have had the condition now for a few years.  Whether I have CFS or ME is open to debate, but for the sake of argument, I’ll leave it at CFS for the moment.  One way or another, it is a pain.  Literally.

It is estimated that around 4% of the population have CFS, though I would imagine this figure would be a lot higher as many are reluctant to report their fatigue, and many more are just dismissed as the aforementioned neurotic.

I thought it might be of some value to cover the topic of CFS on this site.  I haven’t seen many sites examining the topic.  Because of its stigma, many people are reluctant to talk about it, so I thought a piece of open writing might be of some help?

Page 2 of 171234510...Last »