Jun 092015
 

And Just How Dumb Are Welsh Politicians?

According to the news this morning, the Welsh assembly is to prohibit vaping in enclosed public spaces in the same way that smoking is banned; a bit of cut&paste on the old law. You might expect a moron in a hurry to look at vaping, and say "It looks like smoking so it must be bad." but you should be able to expect that politicians would make a decision based on the available evidence.

However it appears that Welsh politicians have more in common with a moron in a hurry than an idealised poltician.

Before I carry on, let me explain that despite being a vaper (and ex-smoker), if I were to live in Wales, this ban would make practically no difference to me. I don't vape at work (in the office!), in pubs, shops, on trains, or anywhere you can expect the Welsh ban to take effect. I do sometimes wish there was a vaping lounge I could go to on occasions.

The main reason this is such a stupid ban is that it treats vaping as if it were as harmful to the health as smoking. There is not a single serious person who would claim that vaping is as dangerous as smoking. And treating it the same as smoking tells smokers (remember the moron in a hurry) that there's no point in switching to vaping instead because vaping is just as harmful.

There is an argument that whilst the risks are unknown for sure (there is no evidence that secondary vaping is harmful; and plenty of studies that show that secondary vaping is harmless [1], [2], [3]), that it would be nice to stop vaping in public enclosed spaces; just not on the same level as smoking. For example :-

  • Allow pubs to decide whether they allow vaping or not. And to encourage a bit of trendy localism: Why not allow the pub regulars to vote on whether vaping should be allowed or not?
  • Ban vaping in restarants (some of the strange flavours could easily put people off their food) but allow vaping in a lobby area or other ventilated but isolated space.
  • Allow other work-places to set up isolated "vaping lounges".

The intention is to minimise a probably non-existent risk to non-vapers whilst letting vapers get away with just a bit more than smokers. 

Amusingly enough, by consigning vapers to the same sin bin as the smokers, these dumb politicians open themselves up to a class action suit in the future – why should I have to endure the risk of secondary smoking?

There are two daft arguments that I heard used this morning which indicate that some of the Welsh politicians realise just how dumb they're being :-

  1. Allowing vaping in enclosed public spaces normalises smoking. It doesn't normalise smoking unless you're a moron in a hurry – it's quite easy to tell the difference between vapour and smoke. The smell of vapour is far nicer! It "normalises" vaping as a better choice than smoking.
  2. It acts as a gateway to smoking. No; it's a gateway out of smoking. 

Even if you were to disagree with my assessments of these two arguments, the fact they are being made at all indicates just how poor the argument for banning vaping in public really is. 

May 242015
 

Apparently there is some senile old fart who has decided to try and turn the clocks back to the 18th century and wants to bring back hunting with packs of ferrocious animals desperate to rip apart cute fluffy animals (with the assistence of a few hounds). It would seem that wannabee toffs have been nagging their Tory glove-puppets and David Cameron has caved in to their whispers.

For those who were too young back in the day, or for those who have forgotten, we used to let inbred morons ride around the countryside on horses (often crashing through land they didn't have a right of way over) with a gang of yapping hounds chasing around something they could kill – foxes, deer, peasants (well perhaps the later wasn't too common). During the Great Debate on hunting (which wasn't that great really as their excuses for hunting were really quite pathetic), the hunting lobby tried to convince everyone that they were only hunting for the good of agriculture. 

Which had us all rolling aboutt the floor laughing of course.

Perhaps the most ridiculous comment about the prospect of removing the ban on hunting comes from the Countryside Alliance who clain that removing the ban will eliminate the risk of their supporters from being prosecuted for "accidental" fox killings whilst they are playing at hunting. A bit like claiming that murder should be made legal because if I fire off a shotgun repeatedly in a crowded supermarket, I might "accidentally" kill someone.

It's strange how easy it was to ban certain cruel "sports" (such as cock-fighting and bear baiting) which were more popular with the working class whereas the "sport" of the wannabee toffs is trying to make a comeback. Anyone would suspect that class differences are still important today.

But yes let's bring back hunting with a couple of small changes :-

  1. Hunts have to turn in their hounds in favour of Chihuahuas.
  2. They have to release and hunt Grizzlies.

That should either make hunting less popular, or at least reduce the number of hunters to an appropriate level (zero).

Just to pierce a few pre-conceptions about those opposed to hunting :-

  1. I don't like animals much.
  2. Whilst I live in a city, I grew up in a semi-rural area
May 222015
 

So on my upgrade from Wheezy to Jessie, I found myself (amongst other issues) looking at a graphical interface where the mouse worked fine, but no mouse pointer was visible. After trying a few other things, it turned out that :-

gsettings set org.gnome.settings-daemon.plugins.cursor active false

Did the trick.

Of course that tip came from somewhere else, but as it worked for me, it’s worth making a note of.

May 102015
 

Whilst messing around with malware, memory dumps, and memory forensics, it is kind of handy to be able to use VirtualBox. Particularly when that is your virtual machine "weapon of choice".

According to the documentation, Volatility can read core dumps from VirtualBox. Once you realise that you need to specify a “profile” to read the result, this is quite simple :-

✓ mike@pica» VBoxManage list vms | grep Windows
"Windows" {9cefc95e-eaf2-4052-b466-cb665c73a36a}
✓ mike@pica» VBoxManage debugvm "Windows" dumpguestcore --filename ~/windows.elf
✓ mike@pica» ls -l ~/windows.elf
-rw------- 1 mike mike 2.1G May 10 14:11 /home/mike/windows.elf

If you specify the right profile option, then Volatility can make use of this :-

✓ mike@pica» volatility -f ~/windows.elf --profile=Win7SP1x86 cmdline          
Volatility Foundation Volatility Framework 2.4
************************************************************************
System pid:      4
************************************************************************
smss.exe pid:    260
Command line : \SystemRoot\System32\smss.exe
{Long list of processes removed}

All fairly obvious really, but if you do not specify the profile, volatility will present you an error that indicates it does not understand the format of the memory dump which is a bit confusing :-

✓ mike@pica» volatility -f ~/windows.elf cmdline                     
Volatility Foundation Volatility Framework 2.4
No suitable address space mapping found
Tried to open image as:
{Long list of memory image formats}

At least to someone as thick as me! Yes it took me ages to get this figured out.