Wednesday, 7 October 2015

Updating Firefox and Flash Plugin manually on Mandriva Linux

Firefox

I am running Mandriva Linux x64 2011.0 with an LXDE desktop.  I run Firefox from an icon on the desktop that points to /usr/lib64/firefox/firefox.  Even though technically Mandriva uses RPMs, I prefer to update manually. This is the procedure I use:



  1. Firstly go here for the latest releases:  http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/
  2. Go to the folder for the next stable release.  For example at the time of writing that is 41.0.1.
  3. Locate the linux-x86_64 folder
  4. Locate the en-GB folder
  5. Download firefox-41.0.1.tar.bz2 to a convenient folder (I use ~/Downloads)
  6. Extract the archive to /Downloads/firefox
  7. Open root terminal and run command “nautilus” to get a gui
  8. Go to /usr/lib64 and rename folder  /firefox to previous version (e.g. /firefox 39.0)
  9. Copy /Downloads/firefox to /usr/lib64
  10. Firefox icon on desktop will now start v 41.0.1


Flash Plugin



Note: Firefox uses the symlink “libflashplayer.so” within /usr/lib64/Mozilla/plugins.  This points to the folder /usr/lib64/flash-plugin. This is the one you want to update. Do not copy to the Mozilla folder!


  1. Go to http://flashbuilder.eu/flash-player-version.html to check your current version
  2. Go to https://get.adobe.com/flashplayer
  3. Go to “Your System: Linux 64-bit, English, Firefox”
  4. From “select version to download…” drop-down box select “.tar.gz for other Linux”
  5. Click “Download Now”
  6. Save “install_Flash_player_11_linux.x86_64.tar.gz” to convenient directory (e.g. ~/Downloads), overwriting any copies of the file from previous downloads
  7. Extract “libflashplayer.so” from this archive to ~/Downloads
  8. Close firefox
  9. Open root terminal and run command “nautilus” to get a gui
  10. Go to /usr/lib64/flash-plugin
  11. Copy libflashplayer.so to /usr/lib64/flash-plugin, overwriting previous version (or rename previous version if you want a backup)
  12. Open firefox and go to http://flashbuilder.eu/flash-player-version.html to check latest version now installed
 


 

Wednesday, 27 May 2015

Human Rights Act? European Court of Human Rights? What's that all about then?

What have the Human Rights Act, the European Court of Human Rights, and the European Convention on Human Rights got to do with each-other? Aren't they all about Brussels stopping us from deporting foreign paedos...or something?

OK, a bit of explanation is in order.

It’s 1948.  World War II is over, and everyone is horrified at the crimes against humanity committed by the Nazis.  So the United Nations General Assembly gets together and decides to adopt a Universal Declaration of Human Rights.  This is the first attempt at a global expression of rights to which all humans are entitled.  The idea is that everyone who signs up to it agrees to abide by it.  They put it to the vote. 48 members of the UN General Assembly are in favour, none are against, and 8 abstain.

The abstentions are for various reasons - South Africa realises that the UDHR is incompatible with its system of apartheid,  Saudi Arabia finds the articles on freedom of religion and marriage incompatible with Muslim Sharia law, and the other six (Communist) countries officially take the view that the UDHR is not strong enough in its condemnation of fascism (although the alternate view is that they oppose the right of citizens to leave their countries).

Is the Universal Declaration of Human Rights legally binding?   

No.  Signing up to it does not bind your country inextricably to obeying every article, and does not prevent you from passing new laws that may conflict with it.  However it does open you up to Strong International Condemnation and Diplomatic Pressure if you flout it.

Now we come to the European Convention on Human Rights.  Broadly similar to the UDHR, this entered into force in 1953, soon after the formation of the Council of Europe.  Unlike the UDHR however, the Convention came with some teeth – a judicial framework based around an actual Court – the European Court of Human Rights, based in Strasbourg.

It is important at this stage to point out that both the UDHR and ECHR are designed not to protect humans from other humans, but to protect humans from their own Government or State.  For example, the European Convention on Human Rights says that your Government or a representative of your Government (i.e. The Police) can't torture you.  It won’t stop you from being tortured by your local Serial Killer.  That's what your Country’s Laws are for.

So what is the European Court of Human Rights for?   

It is for the hearing of applications from citizens who feel that their State has breached one or more articles of the European Convention on Human Rights. 

Is the Court’s decision binding?  That depends.  If a European Country is a member of the Convention, then it has basically agreed to abide by the ruling of the Court.  But the Court’s ruling may be an Order, or it may be Advisory.  If the Court Orders a State to abide by its ruling, then that State must comply…unless that would be incompatible with its own Laws.  In such a case, the Country’s own Law takes precedence.

If the Court makes an Advisory decision, then the State is only required to take it into consideration.  The State can reject the decision of the Court.

Now we get to the Human Rights Act (1998).  This is a UK Act of Parliament, designed to incorporate into UK Law many of the rights contained in the European Convention of Human Rights.  Note that - it's a British Law, brought into existance by British MPs and a British Government.  In fact is is designed specifically to allow UK Courts to hear any applications against possible breaches agains the European Convention on Human Rights instead of the European Court in Strasbourg...providing those breaches are also covered by the Human Rights Act.
 
The European Court of Human Rights is for hearing breaches in the European Convention on Human Rights.  It has nothing to do with the Human Rights Act.  If the Human Rights Act did not exist, the European Convention on Human Rights still would, and all complaints against the UK Government that were covered by the Convention would have to be heard by the European Court.  Far from removing control to Strasbourg, the UK Human Rights Act actually returns control in most cases to the UK Judicial System.

The only way to remove the UK’s responsibilities towards the European Convention on Human Rights (and therefore “control” by Strasbourg) would be for the UK to leave the European Convention on Human Rights.  This would mean that the UK Government could treat any European citizen in any way it liked, providing it did not break its own Laws.  It would also mean that it could treat its own British citizens any way it liked, and as we have already seen from the Universal Declaration of Human Rights,  if the UK was are prepared to accept International Condemnation, it can already treat any non-EU citizen any way it likes.

Does this make it believable that the UK Government really wants to repeal the Human Rights Act, when it will actually mean that not only will Human Rights cases continue to be heard, but they will all be heard in Strasbourg?

Tuesday, 24 February 2015

Debt, Deficit, Surplus and Borrowing



Why do Governments borrow money?  And does an increase in borrowing mean something is wrong?
 
To answer these, we need to first explain the word "deficit".  At its simplest, a deficit is the difference between the money you need to do something, and the money you actually have.  Which neatly explains the word "surplus" as well.  If a Government has a Budget Deficit, then it has less money than it needs to run the Country.  If it has a Surplus, then it has more than enough money to run the Country.
Right, now we know what a Deficit is, we can explain a Debt.  Debt is simply the amount of money the Government currently owes.  If the Government had a current  Budget Deficit of £1bn, then it's possible that it could also have a debt of £1bn.  But this is incredibly unlikely, as the Government's Debt is always carried forward into the next Budget, while the Deficit or Surplus is only a measure of the amount of money in Deficit or Surplus in the current Budget.
Basically the Debt is the running total of all the money the Government has borrowed and paid back to date. Think of it as your bank account.  You have an overdraft of £450.  You get paid £1800 a month, and your outgoings are £1850.  So every month you have a Deficit of £50, but you keep adding that £50 to your Debt.  Say one month you get a bonus of £200. Your outgoings are still £1850, but you now have a Surplus of £150.
Because you are conscientious, you pay £150 off your overdraft, making it £300. So for that month you had a Budget Surplus. But you still have a Debt.  Multiply this by a billion and you have Government spending. Most Governments (and probably most householders) have finances just like this.  The Debt is always there, and never gets paid off.
So that's bad, right?
Well no.  Take your own example.  You probably have a Debt of several thousand pounds at the moment.  You've had it for maybe 10 years, and you'll probably have it for another 15.  It's your mortgage, and the important thing to realise about this debt is that it's worth more to you as a Debt, because you've invested it in a house that you can live in.  In fact you can hopefully sell it for a lot more than you paid for it in the future, so it really is an investment. This is why Governments are always in Debt.  Because borrowing money to make investments is always better than remaining free from Debt and making no investments at all.
Now we can answer the original two questions. Governments borrow money to cover a Deficit and to make investments.  Let's say a Government has a Budget Deficit of £10Bn this year (it has £10Bn less money than it needs to run the Country).  It needs to borrow that £10Bn to top up the Budget.  But it would also like to spend an extra £30Bn modernizing the NHS.  Does it turn round and say "We can't afford to borrow £40Bn.  The NHS can't be modernized this year"?  No, it doesn't.  Because investing that £30Bn will create thousands of new jobs and will bring in more money next year, resulting in a smaller Deficit, or even a Surplus. We do the same ourselves. Owing £200K on a mortgage doesn't stop us borrowing £11k to buy a new car.
So no, an increase in borrowing doesn't mean something is wrong. It can do, if borrowing eventually exceeds your ability to pay it back (I'm looking at you, Greece), but a person (or a Government) who is sensible with their finances should be able to rein things in before that point has been reached.
Going back to our analogy of your monthly wage packet, if you are constantly spending more than you are earning each month, then no matter how little that deficit is, you are increasing a debt. Luckily for most people they actually have some left over at the end of most months.  They may not actually notice this, because the bank account always seems to be zero when the next pay packet arrives, but that's because any left-over is usually soaked up in either luxury goods, or in something "you had been meaning to do when you had a bit of spare cash".  In effect, investing. So when faced with a Surplus or a Deficit, Governments always do the same thing - invest.  In fact in both cases they probably still borrow as well, increasing the Debt they owe.
Isn't this a bad thing? 
Again, not necessarily.  So long as the Debt doesn't increase too fast (in fact faster than inflation) then although it appears to be going up, in real terms it probably won't be. Once more, the analogy of you the homeowner comes to mind. This time we're not interested in your wage packet, but in your Mortgage.  It's currently £200k, and assuming you never move, it will actually always be £200K, or less.  So in 10 years you may still owe a large proportion of it.  But in 10 years you may also be taking home £3,600 a month, not £1,800.  Wages go up every year with inflation. But your mortgage doesn't. Twenty years ago I bought a house for £40k.  When I paid the mortgage off a few years ago, it was still £40k. But to me it looked more like £15K.  Because it was over ten years later, and my wife and I were both earning far more.
In order to understand this in terms of a Government we have to look at their equivalent of a yearly salary - GDP. Gross Domestic Product, or basically the total amount of money that the UK "earns" or creates in a year.  Obviously with inflation this increases year by year, so a handy way to look at the amount of Debt you have is as a percentage of your yearly earnings. Going back to our Homeowner analogy, let's assume you have an outstanding loan of £2000, and you earn £30,000 a year.  Well you don't have a problem. You owe 6.6% of your Salary, and this is perfectly manageable. You can't pay the whole thing off at once, but just over a hundred pounds a month for 2 years is perfectly within your means.
Now imagine you're on Income Support. That's currently £72.40 a week.  £3,764 a year.  Your Debt is still £2000.  But now it's 53% of your yearly income.  The amount hasn't changed, but the debt is no longer manageable. Governments work on the same principle. The actual amount they borrow doesn't matter half so much as whether it is manageable, and whether they can afford the payments, and so (as with our homeowner), Borrowing and Debt is often expressed as a percentage of GDP.
Interestingly, UK borrowing tends to be between 2 and 10% of GDP. This is regardless of whether we have a Labour or Conservative Government, and is more to do with whether we are entering, leaving, or in the middle of a Recession. To weather a Recession you need to stimulate the Economy. To do this you need to Invest, and in order to invest you always need to Borrow. Labour and Conservative Governments may well borrow for different ideological reasons, but they both still borrow.
Debt as a percentage of GDP tends to swing a lot more than Borrowing, with 25% being usual for Boom periods, and as high as £80 during a Recession.  This doesn't necessarily mean the Debt is wildly increasing and decreasing, but can mean that the GDP (or amount the UK earns) is. The Debt will stay relatively the same, because of course we are paying it off at the same time as we are borrowing it.
So what can we conclude from this?
Well, borrowing is not bad.  In fact it is necessary and perfectly normal. All Governments do it.
Excessive borrowing isn't even bad, providing you have a strong Economy and you are borrowing to invest.
Having a Debt is not a bad thing.  In fact you can't borrow without incurring a Debt, and you need to borrow.
Some things to watch out for:
When the Government or the Media tell you the Deficit has increased, they are often actually talking about the amount borrowed.  Remember that this figure will mostly consist of borrowing for investment, not just for covering the Deficit.  If we have a Deficit of £10bn, the Government may well borrow £80bn and invest £80bn of it.
When the Government or the Media tell you they are trying to reduce the Deficit, they almost always mean the Debt.  A Deficit lasts until the next Budget and then you either get another Deficit, or you get a Surplus.  A Deficit is not carried over.
When the Government or the Media tell you they are trying to reduce the Debt, they do mean the Debt.  However we may temporarily decrease the Debt, but we will never get rid of it, because you can't borrow without incurring a Debt, and you need to borrow.

Keep an eye out for those two words, as both the Government and the Media will use them interchangeably, the Media because they don't understand the difference, and the Government because they do understand the difference...but they know that you don't.

Friday, 13 February 2015

English Votes for English Laws

You may have heard about the recent cry of "English Votes for English Laws", but do you actually know why MPs are considering bringing this into Law?  Do you know which MPs want it brought in and which MPs don't?  And is it a good or a bad idea?

You might be surprised at the answers to some of these questions. 

The whole debate has its roots in the so-called "West Lothian Queston". This was a question asked in the House of Commons in 1977 specifically about a situation where Scottish MPs could vote on Laws affecting England, but English MPS couldn't vote on Laws affecting Scotland.  

Actually it's not quite as bad as it sounds.  Since Scotland has had it's own Scottish Parliament a lot of laws have been "devolved" there.  This doesn't mean Westminster has no say or control over what happens in Scotland anymore, but it means that some things the Scots are considered able to debate and resolve themselves.  Certain legislation can now be passed in Scotland without Westminster having to bother itself being involved.  The same thing already happens with our Local and County Councils, who can manage their own affairs without involvement from the UK Government (for example in matters of setting local Council Tax).

So certain decisions taken in Scotland, that only affect Scotland, don't need to be debated in Westminster.  However there are at present 59 Scottish MPs in Westminster (out of a total of 650) who still vote on matters that affect the UK as a whole, or England on it's own (because unlike Scotland, England doesn't have a separate Parliament).  In fact it isn't really a case of England not being allowed to vote on Scottish issues, but rather that they do not normally legislate on matters that have been devolved to Scotland without first asking permission. The UK Goverment still has full veto over the Scottish Parliament, if they should ever decide to exercise it.

What this basically means is the the UK Government doesn't normally interfere in Scottish legislation  - so long as that legislation doesn't involve Defence, Currency, Foreign Affairs or National Security.  So the Scots can't vote for the removal of Trident or a change to the Pound.

However this has caused problems in the past.  Most notably in January 2004 when the UK Parliament voted to increase Top-Up Fees for University students.  This legislation did not affect Scottish students attending Scottish Universities, as that matter had already been legislated in the Scottish Parliament (the fees were abolished).  However the Bill was passed by a majority of 5...which included 46 Scottish MPs.  Admittedly this was a Labour Government, and so the Scottish Labour MPs were voting in line with their Party, but the fact remains that the legislation did not apply in Scotland, so if Scottish MPs had not been allowed to vote, the Bill would not have passed. Similar examples (the vote on Foundation Hospitals in November 2003) have reinforced this problem in inequality and the need to address the "West Lothian Question."

So in 2015, we find the Conservatives currently making plans for the beginnings of a solution to this problem, and they want to implement it before (or in time for) the next General Election.  Although they are not proposing a straight ban on Scottish MPs voting on English issues, they are proposing that English MPs will have a veto to prevent Scottish MPs from overriding the wishes of English voters.

Scottish MPs will still be allowed to debate Bills in Parliament, and vote on them, but the process of putting a Bill together will be restricted solely to English MPs.  Just to make this clear, English also means not Scottish, not Welsh, and not Northern Irish.

Is this a good idea?  Well, possibly not if you vote Labour.

Let's look again at those 59 Scottish MPs who currently legislate on English issues.  1 of them is Independent, 1 of them is Conservative, 6 are SNP, 11 are Lib Dem...the rest are Labour.

Certain Tory backbenchers want to go the whole hog, with no voting from non-English MPs allowed on English-only issues, and in the event of a Conservative majority at the next Election, it's easy to see this eventually might happen.

If it does, then any Laws passed that affect only England may well be passed by a majority of Conservative MPs.  So far I've only mentioned Scottish MPs, but out of 40 Welsh members of the UK Parliament, only 8 are Conservative, while 26 are Labour (we can safely ignore Northern Ireland as they have no Lib Dem, Labour or Tory MPs).  Since this would mean that 66 Labour MPs would not be allowed to vote (10%) but only 9 Conservatives (1.3%), even in the event of a Labour Government we could still see Bills passing or failing solely down to a Conservative voting majority.

"England for the English" might just translate into "England for the Tories".