Archive for October, 2007

Downing Street censors public on YouTube

The spin tank at Number 10 are only to happy to use new media to spread ‘The Word of Gord’, but on condition that we keep quiet and watch it. Incredibly the same Prime Minister who promotes “new open politics” and citzens juries is unwilling to allow those same citizens the right to comment on the propaganda released from No. 10.

This is evidenced by the YouTube account downingst refusing to allow comments to such instant classics as ’sweaty’ Tony Bliar’s fawning tribute to the increasingly unstable President Sarkozy and the hard hitting docusoap “Number 10 welcomes Sybil the cat”.

If you don’t want us to comment then don’t release your tripe on YouTube. Simple huh?

HP F380 Printer & Ubuntu Feisty Fawn

Dead easy and a measure of how mature the Ubuntu distribution has become.  Plug and play for both printing and scanning, just select the F300 driver when prompted and install XSane for scanning, is Linux just becoming a little too easy??

Best HTMl IDE? Firefox of course!

Firefox and Firebug Thanks to Joe Hewitt for a great FireFox extension. Firebug, in the words of it’s creator, “integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.”

Cool huh?

National Campaign against ‘Anti-Terror’ Powers

Please circulate widely!

Digg, email, add a link in MySpace or Facebook or whatever

Please, please help get the message out.

National Campaign against ‘Anti-Terror’ Powers:
Month of Action in Oct-Nov 2007

Why this national campaign?

The government is planning yet more ‘anti-terrorism’ measures, which will go to Parliament in a new bill in October. This ‘anti-terror’ bill reinforces a trend beginning with the Terrorism Act 2000, whose broad definition of terrorism criminalised normal political activities, potentially on the basis of suspected ‘association’. This law was followed by three more in 2001, 2005, 2006; these multiplied extra police powers (e.g. glorification of terrorism), punishment without trial and treatment of ‘suspects’ as guilty, thus bypassing due process.

Abuse of trustTogether these laws have normalised detention without trial under various guises, such as control orders and immigration rules, whereby the accused never see the evidence against them.

This national campaign is bringing together many organisations and individuals involved in defending civil society against the politics of fear and insecurity unleashed by ‘anti-terror’ laws. The campaign includes civil liberties activists, migrant groups, religious groups, lawyers, journalists, academics, trade unions and environmental campaigners amongst others. We invite you to join the campaign.

The campaign will oppose all current anti-terror laws as well as their extension. This broad approach will help to involve everyone affected by those powers, could deter their use, and will provide extra reasons to oppose their extension.

Who is supporting this campaign?

The campaign is supported by a coalition of 20 organisations:

Peace & Progress; Scotland Against Criminalising Communities (SACC); Campaign Against Criminalising Communities (CAMPACC); Stop the War Coalition (STWC); Cageprisoners; Index on Censorship; Campaign Against Racism and Fascism (CARF); Institute for Policy Research and Development (IPRD); Kurdish Federation UK; London Guantanamo Campaign (LGC); The Muslim Parliament; Tamil Centre for Human Rights; Tamil Campaign for Truth and Justice; Islamic Human Rights Commission (IHRC); Peace and Justice in East London; Centre for the Study of Terrorism (CFSOT); Panjaab National History Society; South Asia Solidarity Group(SASG); Justice not Vengeance(JNV) ; Haldane Society of Socialist Lawyers; Baluch Human Rights Group.

Continue reading ‘National Campaign against ‘Anti-Terror’ Powers’

Installing Ruby on Rails on Fedora Core 4 with Plesk 8

Getting Ruby on Rails running on FC 4 with Plesk proved moderately painful so here’s a quick recap of the steps I had to take. This guide assumes you’re some running some combination of FC4/Plesk 8/Apache 2.0 and you have already created a virtual host for the site you want rails enabled.

1. Install GCC
yum install gcc
2. Install Ruby
yum install ruby ruby-libs ruby-mode ruby-rdoc ruby-irb ruby-ri ruby-docs reby-devel
3. Install Gems
mkdir tmp
cd tmp
wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz
tar -xvzf rubygems-0.9.4.tgz
ruby setup.rb

4. If your going to be using MySQL then:
yum install mysql-devel
gem install mysql --with-mysql-config

5. Install Rails
gem install rails --include-dependencies
You should now have a working install of Ruby on Rails. You can test this by creating a test application…
cd ~
rails testapp
cd testapp
ruby script/server

This should start up the WEBrick server on the default port 3000. You can verify this by going to http://localhost:3000 in a browser where you should see the default Rails page.

Changing the default Ruby Port
If, as happened to me, you find that something else is already using the port 3000 you can start the server passing an alternative port:
ruby script/server -p 3003
This should be enough to get a Rails app up and running.

Using Ruby on Rails with Apache 2.0 and mod_proxy
At this pointed I started looking at integration with Apache. Having read various heartbreaking tales telling of doomed attempts to get FastCGI and it’s ilk up and running I decided to work with mod_proxy, which was installed by default on my combination of FC4/Plesk 8/Apache 2.0.

As it’s Plesk you need to create (or change if it’s already there) the vhost.conf file for the domain that you want to be Rails enabled.
cd /var/www/vhosts/<yourdomain>/conf
vi vhost.conf

Press ‘i’ to enter insert mode and add these lines:
<proxy>
Order deny,allow
Allow from all
</proxy>
ProxyPass / http://www.yourdomain.com:3000/
ProxyPassReverse / http://www.yourdomain.com:3000
ProxyPreserveHost on

Remember to change the domain name and port to your settings.Press ‘Esc’ then enter wq! <Return> to exit and save the file.Now apply your vhost changes and restart Apache.
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=yourdomain.com
/sbin/service httpd restart

Browse to www.your domain.com in a browser and hopefully you should see the Rails page.Not the most straightforward of installs but Ruby and Tracks GTD make it worth the effort :)

Microsoft Money for Linux

M$ Money seems to be dying a slow death - having tried out the latest demo I was stunned by the number of adverts incorporated into the software… what next? Ad breaks in Word? That aside it was also generally, well, crap.

I was going to run it under seamlessrdp on an Ubuntu machine but then looked at the Linux alternatives. GNUCash didn’t really do it for me and then I came across Moneydance. Very nice so far, reasonably priced at $29.99 and has a Python scripting engine for extension building. If you’re looking for Money alternatives that runs on Windows, Mac or Linux you could do worse.

Continue reading ‘Microsoft Money for Linux’




Add to Technorati Favorites
Zen Handbook

Latest Posts

RSS