Sunday, 28 December 2014

Fixing sound problems in Windows 7

One of the most common problems I've had to deal with, on Windows PCs, are issues with device drivers.

I'm going to concentrate on sound issues here, because it is a problem I have come across a number of times, and removing sound drivers is relatively safe.  If you happen to lose any work by removing sound drivers, I take no responsibility for that, nor can I see any reason why it might happen.  Make sure that your computer is connected to the internet throughout this procedure.

We'll go through the process first, and then I'll explain why drivers might fail.

1.  First of all, we have to open the management console by clicking the "Computer" button from our Start menu with the right mouse/trackpad button and selecting "Manage" from the menu that appears.




2.  When the management console appears, we want to select "Device Manager" from the pane on the left.  In the central pane, you will see the hardware that Windows recognises in your PC.  Your sound controller will be under "Sound, video and game controllers".


3.  Click on your sound controller with the right mouse/trackpad button.  From the menu which appears, select "Properties".


4.  Along the top of the properties window, you will see tabs.  Select the one which says "Driver" and then press the button which says "Uninstall".


5.  You will receive a warning that you are about to remove the device from your system.  In this case, we also want to remove the driver software.  In some cases, just removing the device and restarting the computer will work but, in this case, we're going to remove the driver software as well.


6.  When you click the OK button, the process of removing the driver will start.  Windows will then ask if you want to restart the computer.  When restarted, Windows will search for device drivers for your sound controller.  The process may take a long time.


7.  Windows is likely to have installed a standard driver for your sound controller at this point.  You have sound, but the driver may not be making full use of your sound controller's capabilities.  So how do we get the latest driver for our sound controller?  Well, the easiest way is probably by using Driver Booster (available free from http://www.iobit.com/driver-booster.php).  If we start this program, it will check that all the drivers on our system are up to date, so it will potentially improve much more than our sound performance.


When you select "Update All", the program will download updated drivers from the internet, create a restore point and install the drivers.  All of this might take some time.  If you are happy with the way your computer is performing, you may say this is an unnecessary waste of time.  If, however, you want to get the most from your hardware, having the latest drivers installed is highly recommended.

Why is all of this necessary?

I may need to get technical here.  Most PCs, and the hardware in them, ship with vendor-specific device drivers.  These drivers will be updated as long as the manufacturer can make a business case for the updates.  In short, you're covered until the manufacturer wants to sell new hardware.

Now, a number of vendors will ship hardware which is based on roughly the same internal components, and the manufacturer of those components will provide reference drivers for those components.  Those reference drivers are usually updated for longer than vendor-specific drivers.  Windows, with vendor-specific drivers installed, will only look for updates to the vendor-specific drivers.

Why do drivers need to be updated?  Well, to be honest, problems may be found with older versions of these drivers, or manufacturers may find new ways of getting more performance from their hardware.  Sometimes, the problems only become apparent when updates to Windows replace system files which are being used by device drivers.  The upshot is that keeping device drivers up to date may improve the performance and stability of Windows.

Thursday, 25 December 2014

Thought for Christmas Day: finding a way through the darkness

It's Christmas, and the day started with me waking from a nightmare.  I'm not going to share the nightmare in such a public sphere, but the meaning of it is important.  We are all subject to negative influences, demons, an inner darkness, or whatever you want to call it.  It can come from within, or it can be external.

The new year will soon be here so, here in the UK at least, we're thinking about new year's resolutions: promises we make in the belief that keeping those promises will lead to a better year.  For me, it's the banishing of the aforementioned inner/outer darkness which is important.  First of all, we must locate the sources of the negative things in our life, whether we have created them ourselves, or had them created for us.  We may notice a pattern of self-sabotage, where our own beliefs and values are holding us back, or we may see that our situation, or the company we keep, is less than ideal.  Letting go of these things may not be easy, but it is essential for our happiness.

Often, it is only when we suffer that we see how things should be different.  Over the last week, I've suffered with back pain, and it has forced me to evaluate my lifestyle.  Knowing what changes should be made is just a start, however: making the changes is potentially more difficult, at least in our minds.

In his book, Instant Calm, Paul Wilson states that we are easily able to walk a plank that is placed on the ground, and will do so repeatedly with equal success.  If we suspend the plank between two tall buildings, however, he suggests that the task suddenly becomes impossible, and the source of this is our imagination.  So it is with making the necessary changes to our lives.  We may make negative predictions about things which could go wrong, and maybe talk ourselves out of making any changes.  Well, maybe the tendency to make negative predictions is the first thing we should tackle.

One of my favourite phrases, as I'm sure I must have said before, is "I'll deal with it."  It's a powerful tool.  The reason it is so powerful is that it calls on past evidence of our ability to deal with things.  It is likely that we have suffered many calamities in our lives, and all the evidence points to us having dealt with the aftermath of what appeared to be a great catastrophe at the time.

Ultimately, we can choose to have this dark cloud hanging over us, or we can take action to remove the cloud.  Staying where we are may be the easy option, but is it the right one?  If you could see what is wrong, it would be foolhardy not to put things right, wouldn't it?

If you're reading this, I hope you're having a good Christmas, if you celebrate the occasion.  If you have plans for the new year which scare you, I salute your plans, because they are likely to bring great changes to your life.

Monday, 8 December 2014

Thought for the day: modern music is terrible

I always thought that, as I aged, I'd hear current music and react by complaining how extreme it is or that it lacks any kind of melody.  The reality is that modern music, with few exceptions, bores me.  The contestants on X Factor, technically competent, though not exciting or especially talented performers, are guilty of this.  Actually, some of them enter with a spark of individuality, which is then extinguished by the production team.  I see the music industry collapsing into a mass of mediocrity and banality.

I grew up in a time when, every so often, the major record labels would get a wake up call, because some musical genre emerged right under their noses and shook everything up.  Now, the majors have bought most of the small independent labels, so what we have is music that is safe, commercial, sanitised.

I don't expect everyone to share my musical taste, but it amazes me that I can download sample tracks from 3hive or Fingertips for free, and they blow away what I hear on the radio.  Thankfully, I also know artists like Jennie Vee, Catherine AD and Paul Draper who are still producing music that is anything but boring.

Paul Draper illustrates the point perfectly.  In the late 1990's and into the new millennium, he fronted a band called Mansun.  As is always the case with great bands, it didn't last.  I can still listen to them today, though, and I love their music just as much now as I did when it was first released, if not more.  It doesn't bore me.  Rather tellingly, the Mansun album which most successfully splits opinion amongst fans, Little Kix, is largely the result of unwanted interference from the record label.

The industry needs to be shaken up again; it needs another seismic shift; it needs to stop playing it safe.

Sunday, 23 November 2014

Mindfulness: practising kung fu to practise kung fu

I levelled up today, as they say in the modern vernacular: I got to the next grade in wing chun.  Of course, I'm pleased about it, and pleased that other students also got to level up, but for me it was harder than I would have wanted.

A few seconds into demonstrating chum kiu, I was struggling for air.  To explain, for the last few days, I have been affected by a cold or flu virus (I never can tell the difference).  Now I'm not looking for sympathy, nor am I one of those men for whom the world stops moving when I'm ill.  As usual, I'm using today's experience to prove a point, to paint the bigger picture.

Recently, I've been studying mindfulness, and talking to others about mindfulness.  I feel a little uneasy about the term, because it has become something of a marketing gimmick, and what we are talking about could just as easily be described as focus.  Still, mindfulness is how it is currently being described, and I see no good reason to deviate from the trend.

I initially struggled with Thich Nhat Hanh's advice to wash the dishes, just to wash the dishes.  Surely, I thought, we wash the dishes to have clean dishes, but that is not what I read in his book.  Clean dishes are what we have when we have washed the dishes, but not when we are washing them.  His point, as I realised after further reading, was that washing the dishes to have clean dishes is concentrating on some point in the future and missing the experience of the present.

If I had concentrated on making the grade today, I would have put an enormous amount of pressure on myself, and the fact that I did not feel one hundred percent healthy would have shaken my confidence.  On my drive there, however, the venue for the grading may have been my destination, but I was driving somewhere to drive somewhere.  Importantly, when I got there, I was not practising wing chun to pass a grade: I was practising wing chun to practise wing chun.

I often think back to when I started practising kung fu, or even further back to when I wanted to practise kung fu, but had yet to have a lesson.  Why did I want to learn wing chun?  Why do I still want to learn wing chun?  I could tell you that I want to be able to protect myself from harm, if the need ever arises.  I could tell you that I want the sense of accomplishment which comes from progress in a martial art.  I could tell you many things for which I am aiming when I practise wing chun, but those are things towards which I will probably always be striving.

What about now?  How does wing chun affect my life right now?  The answer, again, is that I am practising wing chun to practise wing chun.  If I am not enjoying the present moment, the process of learning, concentrating instead on what may come, I am not making the most of the present moment.  This applies not just to the practice of martial arts, but to everything that we do in the present.  Let concerns about the past or the future invade the present moment, and you are not present in the moment.

Today, I was fully present in the moment.  I wasn't trying to pass a test.  I was simply doing what I was doing, to the best of my ability on the day.  As it happens, that is also the way to pass the test.  Literally translated, kung fu means an achievement gained through hard work.  I passed a test of my kung fu by doing kung fu.

Sunday, 19 October 2014

Science vs Spirituality

In modern times, we are accustomed to seeing science and spirituality as fundamentally opposed.  Our thoughts in this direction are possibly guided by the discoveries of Charles Darwin, and the efforts of cosmologists to unravel the mysteries of the universe.  Driven purely by reason and logic, we have largely come to view spiritual matters as misleading superstitions which are counter to rational thought.  Certainly, empty seats in churches show the direction in which we are heading.  Our society has become more secular, more atheistic.

If it is true that science has all the answers, could it be that we are asking the wrong questions?  For what it's worth, I'm in support of a separation of church and state, and my reason is purely that those who govern must be objective, whereas faith and spirituality are essentially subjective.  I would argue, however, that this very objectivity is why scientific research can not provide the answers to all of our questions.

If you were to ask a scientist who you are, they might respond that you are an organic life form, a creature of a species whose superior intellect and adaptability has shaped the world in which we live and, in terms of evolutionary theory, has enabled us to survive far longer than we would otherwise.  They may provide answers beyond the obvious physical description, from the fields of psychology and other social sciences.  Maybe your political allegiance or educational background would contribute towards their answer.  You grew up in a certain environment, a particular culture.  They will tell you facts about yourself.  All of this has value, but is an incomplete picture of you as a human being.

Abraham Maslow, whose work I admire a great deal, developed a hierarchy of needs, which is probably as close as scientific research has come to developing a theory of what makes us happy.  In recent years, a focus on positive psychology, where people are studied for their capacity for happiness, rather than underlying mental health issues.  Of course, the self help industry is still growing, so it would seem we are as far from answers to some questions as we ever were, and possibly more so.

I see my country, and indeed the wider world, falling prey to the cynicism of Neoliberalism.  As we become less focused on the spiritual, our defence against this cynicism weakens.  In the models of capitalism and communism, there is little room for spiritual thought, as they are purely economic models.  Neoliberalism is based on the expectation that people only ever act in their own interests, and science seems to reinforce this view.  What of the human spirit?  Well, here in the UK, there is a small but growing interest in Buddhism, as one example.  Our traditional churches are slowly becoming empty, often closing or being sold for conversion into places of residence, and yet it seems we are still searching for those answers which can not be provided by science.

Maybe I am subject to bias, but it seems that the assumptions of Neoliberalism have become something of a self-fulfilling prophecy.  Could we say that people are now more self-centred?  Are people increasingly egocentric?  Like I said, I may be subject to bias, and it could be that I now see people with little care for the implications of their actions for others due to some expectation to see such an outcome.  It is interesting, however, that we have seen a rise in Buddhism, a system of belief founded on the principle that our own self-interest is the root of our suffering.

As I said earlier, spirituality is a deeply subjective and personal matter.  Unfortunately, this sometimes manifests as fundamentalism, and you need only read the news to see the more frightening conclusions of such beliefs.  I'm not sure how the search for our identity, sense of worth, or place can lead to the atrocities committed presently, or in the past, but I'm sure that science is equally unable to determine why this happens.  It is certainly strange that, in a world that is increasingly moving away from spiritual matters, such destructive interpretations of the ancient texts have become so prevalent or, maybe, when we consider that the more moderate interpretations of these spiritual beliefs and traditions are largely derided by the modern world, we should not be surprised by the rise in religious fundamentalism.

My aim is not to answer questions for you, but hopefully to ensure that you are asking those questions in the first place.  It could be that wealth, technological advances, your work, greater health and other benefits of the modern world have made you happy.  If we can use the growth of the self help industry, or the interest in alternative spiritual traditions as scientific evidence, it would seem that we remain unsatisfied by the answers held by science.  I don't believe that either science or spirituality holds all the answers.  I would contend, despite the title I gave to this piece, that both are necessary, and it should not be a choice between one or the other.  When we shut ourselves off in such a way, our ability to learn from others is effectively closed down.

You may have heard of Carl Gustav Jung.  His analytical psychology was based on a combination of science and spiritual enquiry.  Maybe he had a point.

Keep questioning.

Wednesday, 15 October 2014

DivX Plus HD for Handbrake

All trademarks acknowledged in this post.

Some time ago, I bought a TV that will play video files from a USB drive, as long as they comply with the DivX+ HD standard.  My preferred tool for transcoding videos is Handbrake, and this has built in profiles for many devices, but I searched in vain for a profile for DivX+ HD.

Finding specifications for the standard, I entered them into Handbrake, saved the profile and started transcoding.  It works.  If you enter the below text into your favourite text editor, save it as DivX_HD.plist and import it as a profile into Handbrake, you should have similar success.

Note: only use Handbrake to make back up copies of media that you already own, if your local laws permit this.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
    <dict>
        <key>AudioAllowAACPass</key>
        <true />
        <key>AudioAllowAC3Pass</key>
        <true />
        <key>AudioAllowDTSHDPass</key>
        <true />
        <key>AudioAllowDTSPass</key>
        <true />
        <key>AudioAllowMP3Pass</key>
        <true />
        <key>AudioEncoderFallback</key>
        <string>AC3 (ffmpeg)</string>
        <key>AudioList</key>
        <array>
            <dict>
                <key>AudioBitrate</key>
                <string>192</string>
                <key>AudioEncoder</key>
                <string>MP3 (lame)</string>
                <key>AudioEncoderActual</key>
                <string>lame</string>
                <key>AudioMixdown</key>
                <string>Stereo</string>
                <key>AudioSamplerate</key>
                <string>Auto</string>
                <key>AudioTrack</key>
                <integer>0</integer>
                <key>AudioTrackDRCSlider</key>
                <real>0</real>
                <key>AudioTrackDescription</key>
                <string>Unknown</string>
                <key>AudioTrackGain</key>
                <real>0</real>
                <key>AudioTrackName</key>
                <string></string>
                <key>AudioTrackQuality</key>
                <real>2</real>
                <key>AudioTrackQualityEnable</key>
                <false />
            </dict>
        </array>
        <key>ChapterMarkers</key>
        <false />
        <key>Default</key>
        <false />
        <key>FileFormat</key>
        <string>MKV file</string>
        <key>Folder</key>
        <false />
        <key>Mp4HttpOptimize</key>
        <false />
        <key>Mp4LargeFile</key>
        <false />
        <key>Mp4iPodCompatible</key>
        <false />
        <key>PictureAutoCrop</key>
        <true />
        <key>PictureBottomCrop</key>
        <integer>88</integer>
        <key>PictureDeblock</key>
        <integer>4</integer>
        <key>PictureDecomb</key>
        <integer>0</integer>
        <key>PictureDecombCustom</key>
        <string></string>
        <key>PictureDecombDeinterlace</key>
        <true />
        <key>PictureDeinterlace</key>
        <integer>0</integer>
        <key>PictureDeinterlaceCustom</key>
        <string></string>
        <key>PictureDenoise</key>
        <integer>0</integer>
        <key>PictureDenoiseCustom</key>
        <string></string>
        <key>PictureDetelecine</key>
        <integer>2</integer>
        <key>PictureDetelecineCustom</key>
        <string></string>
        <key>PictureKeepRatio</key>
        <true />
        <key>PictureLeftCrop</key>
        <integer>0</integer>
        <key>PictureLooseCrop</key>
        <true />
        <key>PictureModulus</key>
        <string>16</string>
        <key>PicturePAR</key>
        <string>2</string>
        <key>PicturePARHeight</key>
        <integer>15</integer>
        <key>PicturePARWidth</key>
        <integer>16</integer>
        <key>PictureRightCrop</key>
        <integer>0</integer>
        <key>PictureTopCrop</key>
        <integer>88</integer>
        <key>PresetBuildNumber</key>
        <integer>2014032499</integer>
        <key>PresetDescription</key>
        <string>The best compromise of high quality video and compatibility with the Divx Plus HD standard.</string>
        <key>PresetName</key>
        <string>Divx HD</string>
        <key>SubtitleList</key>
        <array>
        </array>
        <key>Type</key>
        <integer>1</integer>
        <key>UsesPictureFilters</key>
        <integer>1</integer>
        <key>UsesPictureSettings</key>
        <integer>2</integer>
        <key>VideoAvgBitrate</key>
        <integer>1500</integer>
        <key>VideoEncoder</key>
        <string>H.264 (x264)</string>
        <key>VideoFramerate</key>
        <string>Same as source</string>
        <key>VideoFramerateMode</key>
        <string>cfr</string>
        <key>VideoGrayScale</key>
        <false />
        <key>VideoQualitySlider</key>
        <real>20</real>
        <key>VideoQualityType</key>
        <integer>2</integer>
        <key>VideoTargetSize</key>
        <string>700</string>
        <key>VideoTurboTwoPass</key>
        <false />
        <key>VideoTwoPass</key>
        <false />
        <key>lavcOption</key>
        <string></string>
        <key>x264Option</key>
        <string>level=40:mixed-refs=0:weightb=0:trellis=2:vbv-maxrate=20000:vbv-bufsize=25000:ref=2:weightp=0:me=umh:b-adapt=2</string>
        <key>x264UseAdvancedOptions</key>
        <true />
    </dict>
</array>
</plist>

Monday, 18 August 2014

Four Years of Wing Chun

Today marks four years that I have been learning wing chun.  I still consider it to be the most effective street defence method available locally, but any of these arts are only as good as the student.  When I was learning jujitsu, I overcame the limitations imposed by my illness by studying ancient forms of the art and related arts, when everyone else was goofing over Brazilian jiu jitsu and the UFC.

Did it work?  Well, one of my reasons for leaving the class was that no one wanted to train with me any more; I'll leave their reasons for avoiding me to your imagination.  Incidentally, when some Lithuanian sombo practitioners joined up, no one wanted to train with them either.

I don't know how to achieve the same thing in wing chun.  Sometimes I think that a long fist style would add something to the close quarters nature of wing chun; at other times, I think that practising arnis is the perfect way to overcome my inherent deficiencies in strength, speed, coordination and mobility.

Edit: There are good reasons for wing chun and Filipino martial arts often being taught as a combination.

Recently, I suffered badly in a sparring encounter.  Initially, I felt terrible about it.  The instructor pointed out that I had taken too many hits, because my footwork was practically non-existent.  After the class, he said that this form of panic was common amongst those who were not used to wearing head guards, and suggested that I do my solo practice at home wearing my head guard.

To be honest, I found myself outclassed.  My opponent was someone with whom I train regularly, and his interest in other forms of Chinese martial arts has made him a well-rounded fighter.  His time spent learning wing chun alone is about double my own.  He trains outside of the class regularly, with one of the other well-rounded fighters in the class, who came to wing chun initially because his Muay Thai instructor recommended the art as a way to learn good defensive techniques.

I can accept all of the above excuses internally, because they make sense.  What is harder to accept is that illness may mean I never reach the same proficiency in wing chun as my classmates.  I have had more of a challenge dealing with my fellow wing chun students than I have with the students of any other art I have practised.  The difference I have noticed is that most of them are not just good martial artists, but also competent fighters.  If you ask me whether wing chun attracts good fighters or creates them, I really don't know.  Maybe someone else could answer that.

Is my wing chun useless, given my physical limitations?  Far from it!  My time at a local eskrima club strengthened my faith in what I have learned, and surprised me.  It is said that we are our own worst judge, and that was certainly true in my case.  When they handed a padded stick to me, and told me to spar, I thought that their student, with years of experience in stick fighting, would make short work of me as an opponent.  After a few minutes, they stopped the exchange.

I was told that I should stop thrusting the stick into the body of my opponent.  Such a tactic, I was told, would cause serious injury, might constitute a foul in competition, and was generally a nasty thing to do.  It was also noted that the short, hacking movements I favoured were indicative of a bladed style, rather than a stick-based art.  I was puzzled by this, until I realised I had been applying the principles of wing chun to stick fighting, under pressure, without even thinking about it.

When the eskrima instructor went on holiday, he left his assistant in charge of the class.  An uneven number of students had attended, so he decided that he would be my training partner and ended the class with a free sparring session, to "test" my wing chun.  His history as a competitive taekwondo practitioner and student of Brazilian jiu jitsu meant that I had to maintain focus, because he was more than comfortable at sparring range.  His intention to use me for target practice came unstuck, however, when he realised that every attempt to come forward and push an attack led to the attack being neutralised and a simultaneous shot being landed by his opponent.  The exchange ended with him receiving a kick to the midsection, which winded him enough to put him on his knees.

Towards the end of my eskrima training, I put on some 16 ounce gloves, as did one of the other eskrima students.  This was an attempt to teach the techniques of Filipino boxing, with which my training partner was already very familiar.  It started well, and continued in such a way, until the instructor decided to ramp up the pressure by telling us to speed up.  I honestly tried to stick rigidly to Filipino boxing.  An upper cut came towards my midsection, or ribs.  A jum sau and punch with the same arm proved effective against this attack.  Again, he tried his attack.  Again, a jum sau and punch checked the attack.  Various combinations were met mostly with variations of pak sau and jum sau with a counter punch, much to my surprise.  The "seed" hands of taan sau, bong sau and fook sau were nowhere to be seen.

Edit: As noted in the comments below, not seeing the seed hands was a momentary blindness to them, rather than their absence.  They are called the seed hands because all other hand techniques in wing chun find their origins in those three shapes.  These, in turn, are simply different ways of guarding ourselves by having a hand in front of us, but that's a whole other story.

In desperation, he ducked and rose again to aim a hook at the side of my head.  The gap in his defence created by this made it easy for me to close the distance to one more comfortable for a wing chun fighter.  Unfortunately, my trained reactions, in wing chun and other non-competition arts, led me to simultaneously aim a well-timed elbow at the biceps of the attacking arm.  The fight was stopped, leaving me stunned by the speed of my entry to the range where I could execute an elbow strike.  By this time, I had become somewhat disillusioned by the style of eskrima they taught, though I still have great respect for Filipino martial arts in general.  When I found out that the club did not have insurance, my time there came to an end.

Everyone will have their own interpretation of what they learn: a pre-existing frame of reference through which each new piece of knowledge is filtered.  For me, reading Tao of Jeet Kune Do many times over, and doing the same with books on the ancient principles of tai chi, permanently affected how I see combat.  I subconsciously relate everything I have learned before or since in the martial arts to the underlying principles I learned through those books.  I dare say my fellow wing chun students do a similar thing with their previous experience, whether they realise it or not.  Maybe that is why everyone's way is so different.

Fighters with more experience, and perhaps similar experience, will probably get the better of me.  I'm ill.  I have to come to terms with that.  So, what about the times I have been a worthy opponent, as in the eskrima class for example?  The Japanese Zen masters call it "mushin" - the mind of having no mind.  I would personally say it as the mind of unconscious action.  Bruce Lee, in the aforementioned Tao of Jeet Kune Do, said that we should simply let our arms and legs work themselves, in accordance with the discipline in which they have been trained.  Could it be that, in a wing chun class, I am trying to stick too rigidly to wing chun?  Maybe the fighters of YouTube, trying to give a good impression of their art, are doing the same.

Yip Man is reported to have said that we should be masters of our kung fu, not slaves to it.  I've heard wing chun instructors - most of them very highly respected - say that the principles of the art are far more important than any set movement.  As usual, I think writing this stuff down has allowed me to see a way forward.