Tuesday, December 9, 2014

On conspiracy theories...

The (perhaps hasty) assumption that conspiracy theory deniers are not a spook-stooge becomes evidence in favour of such theories.

Un-initiated, and without conscious inducement they defend such organisations as may exist.

By induction this may apply to various degrees at various levels, each person doing what they think is right and natural, a little self serving here and there - but selected because their resultant actions are convenient.

If you want a deed doing, find someone who wants to do the deed and let them do what they want. No direct commuication or coercion required. Their visible well meaning is all the better a disguise.

The strength of any conspiracy theory is it's veracity which trumps all so-called weaknesses.

Veracity is naturally hard to measure, particularly against a weakness of the defensibility of a theory when mistaken for a weakness of the theory.

A weakness of the theory would relate to difficulty for the parties of the theory to act according to the theory.

A weakness of the defensibility of the theory would be an implausibility of the theory which depends largely on the experiences of the listener and less on the theory itself.

What works wins. Does there have to be a grand design, or will natural selection work? or is that the grand design? I note that some players win many games of chess despite the implausibility of long term prediction of the opponents moves.

Let the hungriest power mongers fight it out, and nudge to authority those who can be led by their desires. And then lead them. That's the world we live in, and it has typically been so.

I happen to believe that the one with the most power is good, known as God, who does not enforce but rather invites, who can deliver the captives of the mighty and the prey of the terrible. This does not absolve me of responsibility but rather realises it.

And this is why I like Christmas. The birth of the one who was not deceived, who followed the will of the Father and provides the means to escape for all who will.

Hows that for a Christmas sermon? I can't apologise - for the ideas are inseparable; we can't save ourselves.

I think that a typical defence against truth is to find a reason not to listen. We cannot bear the horror of the world we live in, and pretend it is just about starving orphans in war torn droughts, attacks on the liberty of good manners and lazy rich people who've taken all the money.

Wednesday, December 3, 2014

Don't be illl (sic)

The danger of lapsing into sickness.

We think one small affliction will do us no harm, and maybe even some good - but then we find it becomes habit forming and we can hardly manage to get well again.

Consider the virtue of procrastination. Why get sick today if you can be sick tomorrow - or even next week!

Even better, make it a new years resolution and put it off for years. If you can procrastinate sickness, then maybe try to put off that final exit from life!

You know it makes sense!

Friday, September 26, 2014

shell-shocked: Updaing bash on Linux Mint Olivia

shell-shocked: Updaing bash on Linux Mint Olivia

I've go some old laptops running Linux Mint, Olivia release, based on Ubuntu Raring Ringtail which is not a long term support, and so no ready fix is available.

The bug is shown with this test
rm -f echo ; env X='() { (a)=>\' bash -c "echo date"; cat echo
bash: X: line 1: syntax error near unexpected token `='
bash: X: line 1: `'
bash: error importing function definition for `X'
Fri Sep 26 09:37:44 BST 2014
which wrongly creates a file called echo holding the output of the date command.

Here is what is required to fix the bash shell-shocked bug.

1. Update the no-longer supported repositories to the new location:

(You should already have done this).

You first need to make sure you have src-deb repositories enabled:
cd /etc/apt/sources.list.d/ 
test -r official-source-repositories.list ||
cp official-package-repositories.list official-source-repositories.list &&
sed -i -e 's/raring/trusty/g;s/^deb /^deb-src/' official-source-repositories.list
And then update the server to old-releases:
sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' official-package-repositories.list
apt-get update

2. Install all updates for your system anyway

apt-get update
apt-get upgrade

3. Build bash from the trusty sources

apt-get build-essential bash
apt-get -b source bash

4. Install bash

dpkg -i bash*deb

5. Test the fix

# rm -f echo ; env X='() { (a)=>\' bash -c "echo date"; cat echo
bash: X: line 1: syntax error near unexpected token `='
bash: X: line 1: `'
bash: error importing function definition for `X'
cat: echo: No such file or directory

Monday, September 1, 2014

Corollary to Hanlons Razor

Hanlon's razor is an eponymous adage that allows the elimination of unlikely explanations for a phenomenon. It reads:
Never attribute to malice that which is adequately explained by stupidity.

The corollary is: The malicious will hire stupid fools to do their bidding.

Which then leads to: The first rule of choosing a a good stooge is to find one who for reasons of his own already wanted to do whatever it is you were to ask.

And therefore: Watch out for those who appoint stupid fools without a sound justification

More obfuscated C

Who can work out what this is for:

//* */ 1

and in what language(s) would it be useful?

Tuesday, August 26, 2014

Obfuscated C

sizeof a++ does not modify a

Unless of course sizeof has been #define'd.

And don't forget that there is a difference between:
#define sizeof ...
#define sizeof(x) ...

Oh, the possibilities...

Google TV & Movies DRM on Mint/Ubuntu

Google Play Movies & TV works best under Chrome on Linux, but unless HTML5 is working for you, Flash is needed for playback and DRM Flash playback requires the long since deprecated HAL.

Fortunately an updated HAL is maintained for this purposes. The hal ppa is at:

Most of these details are thanks to Justin Watt at askubuntu.com/questions/166760/how-do-i-play-movies-on-google-play who says:

sudo apt-get install hal
cd ~/.adobe/Flash_Player
rm -rf NativeCache AssetCache APSPrivateData2