Moved & a couple of Apache2 tools/tricks

If you can can see this post, then my server move is complete. I have moved this blog across to a dedicated server, provided by my employers, Positive Internet.

So far, I’ve not done too much playing with it, but in case you need to know, adding this in your apache2.conf file will allow it to read .htaccess files in any /home/<username>/public_html/ document roots – handy if you don’t want to use /var/www/ to store all your websites.

<Directory /home/*/public_html>
        AllowOverride All
</Directory>

There are a couple of useful apache2 tools which don’t get a lot of publicity.

a2enmod – enable a mod in apache. You’ll need to reload apache after running it. If you run it without specifying a mod, it will list all available ones.

a2dismod – disable a mod. Again, if you run it without specifying a mod it will list all enabled ones, before giving you a prompt asking which one to disable.

Along similar lines, if you’re using sites-available/sites-enabled to quickly enable/disable vhosts, you can use:

a2ensite – enable a website.

a2dissite – disable a website.

Of course, you can then use apache2ctl graceful to restart the webserver nicely – so the changes take effect, but you don’t close all the connections currently talking to apache.

Have fun!

Time, privacy and its lack thereof

Over the weekend I watched “V for Vendetta”. Its come up recently in a forum I frequent, specifically the quote at the beginning – about ideas being impossible to kill.

Its wrong.

Ideas can be killed. Eventually. It takes time, patience, and willingness on the part of those whose minds you are changing.

I wonder, do you ever worry about this country? (I’m talking to the Brits here. Sorry everyone else, this post is aimed at the UK, our laws and situation though you may find parallels about where you live.) We have a government that (almost) no-one likes. We have a leader, who at best could be termed ignorant. At worst a devious schemer.

Not worked out what I’m talking about yet? This is what I’m talking about. I’m talking about the erosion of our privacy. I’m talking about the surveillance state we are in. Do you even know what powers our oh so wonderful government has over us now? Read some of the above links. Heck even the Information Commissioner, the guy supposed to be looking after our privacy as relating to computers is saying its here!

I’ve been reading all these news items one by one, slowly, over a period of the three or so years that I’ve been watching and reading all articles that come up in BBC News’s tech section. As I’ve read them one by one, and not put them together, I haven’t worried too much. Till now. Apart, each are only merely slightly worrying. Together, we’ve got a problem. If you’ve not already, I recommend you now go and watch “V for Vendetta“, and then read “The Traveller“. Then continue reading below the line.

———————————————————————————-

You think the technologies to create this don’t exist? As someone who sits on the edge (or maybe inside) of geek-dom, I can say with knowledge and certainty, they do. We could be living in George Orwell’s 1984’s level of observation in a simple matter of 6 months. Heck, if you’re in London, you’re probably already carrying at least one unique ID tracker, most of which can be read remotely at 30 feet (or more). Your RFID Oyster card. Your mobile phone. Your RFID chipped passport. Your RFID credit/debit card.

Don’t believe me? Read up on RFID and RFID skimming.

Literally, all we have to do now is wait, as our last safeguards are removed or bypassed, and before too long all it will take to bring us to the societies depicted in “1984”, “V for Vendetta” and “The Traveller” is one crack pot power maniac in government. Need I mention, I don’t have a high opinion of Gordon Brown?

Its not as if it hasn’t happened before in history, one man taking over a democratic country and turning it into a dictatorship. But much worse, as in our country is all the tools needed to *keep* our country in a dictatorship and aid its passage to one.

Now, I can say all this, as we’re not there yet. However, I see the day fast approaching when I would be arrested for what I have written here, and asked to relinquish my encryption key’s pass phrase. (You’ll have to torture me before that happens.)

Someone once told me, that we’d never get to the point where the EU constitution comes into play. The treaty that was ratified by the UK merely a few weeks ago, was basically the EU constitution.

I have heard many times, “I’ve got nothing to hide”. No, not yet. Until you have to hide your sexuality. Your Race. Your religious beliefs. Your musical preferences. Your secrets.

I leave you with a link and this old, poem. How long before it becomes relevant once more?

=======================

When the Nazis came for the communists,
I remained silent;
I was not a communist.

When they locked up the social democrats,
I remained silent;
I was not a social democrat.

When they came for the trade unionists,
I did not speak out;
I was not a trade unionist.

When they came for the Jews,
I remained silent;
I wasn’t a Jew.

When they came for me,

there was no one left to speak out.

=======================

Click Here to talk to others worried about this

Want to know more? Click the image.

Want to fight? Click the image.

Will you remain silent?

Hancock, Books and photographs

Hancock

I went and saw this film with my brother and a couple of mates today. Was good, up to a point. Certainly, Will Smith is getting better – he appeared to play the part flawlessly, at a level I’ve not seen him act at before.

My one, slight moan, is that they included a brief, guarded and pointless sex scene. I guess, it *may* have been included to make a point, but it felt more like a box-tick exercise than anything else. Apart from that, an enjoyable way to while away a bit of time.

Books

Stack of booksBooks, I finished a Colin Forbes book this week. Awful. I had to put it down mid-way, and read a completely different book as a break before I picked up again. It felt so rough! And to think, I used to like his books. Fit his usual formula to a T, felt contrived, with a few instances of what PBEM RPG players call “SuperHero Syndrome“. In a Matthew Reily book, I can forgive SuperHero syndrome: he does it with such flair! However, it is not forgiveable in a Colin Forbes book. Which is a shame.

I started to read a Clive Cussler book “Dark Watch” a few weeks back. I got half way through, an OK book, till I got to a line of pure placement advertisement, which put me off completely and utterly. Here’s an extract. (For the copyright fiends out there, this is fair use!)

“Juan found a parking spot a few blocks from the court and spent the next two hours walking the neighborhood, sipping black coffee from a Starbucks. He felt he should have bought his coffee from a local vendor instead of an international franchise, but it had been months since he’d had a taste of his favourite brew. He made a mental note to contact the company’s Seattle headquarters and see if it was possible to buy their special equipment for the Oregon.” [Oregon is the wet-merc ship he captains.]

Oh dear. What an abysmal excuse for an advert. At the very least, it could have been subtle! Stopping at “it had been months..” would have been fine. I have stopped reading the book. I’ll finish it sometime, but not yet. When I’m not so irritated at that advert. At least on the web, it is generally fairly easy to spot, and ignore, them. A bit harder to when you’re engrossed in a story.

Photographs

I’ve been trying to use F-Spot on my laptop to manage photos. Unfortionately, it has a nasty habit of freezing my laptop totally, when I click “OK” on certain dialog boxes. Quite frustrating. So, another question for those reading, what image management software would you recommend ? It has to run nativly on Ubuntu Hardy, but apart from that, pick whatever you like (including web-software). I have a large collection of photos (my camera’s counter recently went over the 1,000 mark), which I want to tag and organise. An effective search function is a must, so that I can add relevant photos to my blogs from my collections.

Books going free!

Hello all. I seem to be gaining books at an alarming rate, what with my current commute. So, I am going to give you first refusal (before I put these up on Bookmooch) on two sets of Elizabeth Moon books. Both of which I would love to be able to keep, but which I don’t have the space to.

So without further ado, I am offering these books to the first person who emails/comments for them. Full postal addresses if you please, UK preferred, but I will send to the US if asked.

The Serrano Legacy – 3 compendiums (paperback)

Vatta’s War – 5 books (paperback)

I also have Kevin J Anderson’s the Saga of the Seven suns, collection or close only (All 7 books. Its big. I live near London. Email for more info)

James Patterson’s Four Blind Mice. As this came from the US, I’d be quite happy to ship it back there.

My Email address is: kirrus@kirrus.co.uk

In unrelated stuff, I let my 5-a-day launchpad group subscription expire this weekend. Boy, it doesn’t half nag you! I got an email every day for _7_ days, saying “you’ll get one more email, when its expired”. Annoying by half. Unfortionatly with my nasty commute, I’ve not got the energy required for triage 🙁

Irony

Now, this is what I call irony.

Currently, I’m going past this poster every time I go through a certain underground station.

(Cookie for the first person who guesses which station *).

As you can see, its an advert for the John Twelve Hawks book “The Dark River”, which apart from being a good read, contains a insightful set of images about our current existence in a surveillance state.


Almost directly opposite this poster, almost staring at it, is this delightful example of exactly that surveillance state:

In other news, I still think that Daviey (of  Ubuntu-UK Podcast, amongst other achievements, fame) sounds almost like one of the London Victoria Tube station announcers. Something in the inflection of the voice…

Work is going well. I’m quite tired and haven’t had much time spare to do much I like. I’m coming to realise that I can’t afford to run a car, and live close to work. Great. Sell the car, or put up with 2 to 2 and a half hour commute. Wonderful.

Lazyweb, whats your advice?

* Note, cookie is entirely virtual and is a figment of our collective imaginations.
As long as you don't actually want to look at it, feel it or eat it, its exists and can be won...

Reading

I’ve been reading a lot of novels (on my commute) recently, so I thought it was probably about time I reviewed a couple of them.

Elizabeth Moon

I’ve been reading a lot by Elizabeth Moon recently. She mostly writes Space-Opera/Sci-Fi, athough she has one fantasy trilogy and one Autism related book.

Vatta’s War is a series of 5 books, set in a well-described universe. Some themes and technologies are reminicient of her earlier works, mainly the Serrano Legacy, but it is different enough to be a good read.

Her autism book is called The Speed of Dark, and it has to be one of the best books I’ve ever read. Its very emotional, but based on the authors own knowlegde of Autism. (Her son is Autistic.) If you want to know more about what makes autism different (and why it is part of a sufferers’ [for lack of a better term] identity), read this. Well… just read it anyway. Excellent book.

James Patterson – Four Blind Mice

This is a murder mystery, with a number of twists. A continuation of his “Alex Cross” series… A good read. Not something to shout from the rooftops about, but a good read. Hard to guess the ending 🙂

John Twelve Hawks – The Dark River

The second book in his trilogy. Preceded by “The Traveller“. Awesome book. He has quite a lot of knowledge about surveillance technologies. He’s made a couple of mistakes (one, for example, relating to the technical bits of “ip addresses”, but the only reason I picked that up is because I’m a computer geek, who understands the some of the basics behind the internet.) But, nothing too serious. Most of this technology exists, or is in final stage of development. http://news.bbc.co.uk/1/hi/sci/tech/7433128.stm < scary.

For a book (and the series) its quite interesting, a mixture of sci-fi and reality. Makes you think deeply, so its true sci-fi.

Round-up

I’d recommend reading Elizabeth Moon‘s The Speed of DarkJohn Twelve HawksThe Traveller and The Dark River, to actually get something from the books. The others are just pure pleasure reading, but none the less enjoyable 🙂

I’ll stop rambling here, as my mind is swiming somewhat, and this screen seems to be filling my vison. Its been a long few weeks….

Hidden Ubuntu Gems: Window Selection, Always on Top & Password Gen

I thought it was probably a good time for another Ubuntu-related post, so here we go.

Window Selection

Window controls, selection raising etc

Something I found on one of my explorations, is this really handy feature (handy for me at least), which allows you to give a window “focus” (or selection) merely by putting your mouse over it. To activate it, click on “System”, go to “Preferences”, and then click on “Window”. Up pops a small selection window.

As you can see, I’ve ticked “Select windows when the mouse moves over them”. You can also have windows be raised to the top of the screen if you hold your mouse over them for a certain length of time. As my collegue at work found, setting the interval to “0” is not very useful…

There are a couple of other tweaks you can make here. I’ll let you explore them on your own 🙂

Always on Top

“Always on Top” allows you to basically tell the system that you want a window to be the upper-most on the screen, no matter what else you do. You can’t “Raise” anything above it. I tend to use this little gem with my next tip.

Set a window to be always on top by right clicking on the title bar (the big orange bar at the top of the window, which contains the minimize, maximize and close buttons). Click the “Always on Top” option. That  window will now stick on top of your screen. Undo it, by right clicking again on the title bar, and clicking “Always on Top” again.

Password Gen (pwgen)

pwgen is a small, neat, command-line program to quickly generate fairly easy-to-remember, fairly secure passwords. You can install it by clicking here, or going to whichever package manager you prefer (synaptic, Add-Remove Programs, apt-get or aptitude) and installing “pwgen”.a screenshot of pwgen with my preferred settings in use

Use it simply by typing “pwgen” in a terminal (“Applications” > “Accessories” > “Terminal”). I tend to run it with the command “pwgen 8 1”, which generates one 8 character password.

Now, if you’re adding a lot of users to a system or something (I am currently at work), using a combination of these tips will save you time… I’ll leave it up to you to work out how to combine them. (Hint: resizing a terminal window like I did above is a good starting point.)

Trains

I’ve been running around on the Train & Underground system recently for my daily commute into work. (Currently 2 1/2 hours each way… I need to move closer ;))

Firstly, I much prefer Welsh trains. They have a conductor, who’s nice. The best experience I’ve had of a train in Wales, was of the conductor holding the train a couple of seconds to allow the ticket machine to finish processing my debit card and spit out my tickets. The best experience I’ve had in England, was a train that was on time.

I’ve not had a bad experience in Wales, but in England, I was once accosted by 5 toughs, whilst on the train and told to hand them my ticket. At this point I was travelling on a “Permit to Travel”, as there’s no ticket machine or office at my starting station. From the outset, they made me feel like I was a criminal. They phased me enough that I managed to miss my stop. I was late to work that day. Thanks, Southern Trains.

Last week, I had the lovely experience on the Tube, of having a guy sitting next to me lean across/against the seat divider enough that I couldn’t avoid him touching me. I find human contact uncomfortable in the extreeme unless I’m expecting it and I know whom its from well.

The photo is one I dug out of my archive. I will upload the full-size version to my flikr account if requested.

Photos

Yay! I’ve finally finished tinkering with my photos. Unfortunately, because my camera decided to take a number of them in low resolution, I wasn’t able to make them all post worthy, so they’ve been consigned to a digital blackhole. (Some of these are on the borderline…)

I went wandering before I left Wales. This is one of the photos I took then. Click on it to see the flickr page (where you can view a bigger version by clicking “all sizes” and then “Origional”)
Stream

The Ubuntu Hardy Release party. Andrew Oakly had this brilliant idea to make name tags for us all. Shame they were a little small… And mine kept falling off. Oh well, still a good idea 🙂

Ubuntu Hardy Release party

The train, after coming home from the release party. Sorry about the rubbish quality, this was the best of the lot, and my camera for some reason decided to take a number of really low resolution shots. That’s the second time its done that, and I still don’t know why it does it…

night-train

Empty street. Again, my camera being stupid. You can, if you look carefully, see the jpeg compression it used to store the image. I’d love to be able to justify buying an SLR!

street

Constructive critique highly appreciated 🙂