Jesse Norman MP was on last week’s Politics Weekly podcast at the Guardian talking about his new book on The Big Society (Indy review). He said that the Conservatives weren’t trying simply to shrink the state in order to replace it with the market, but instead wanted to harness and ‘unimaginable reserves of social energy’ to do good. This energy apparently exists in institutions outside of the state and the market Continue reading The ‘Big Society’ Needs Sociology
I occasionally want a local web server on my netbook for fiddling around, but don’t want it running on start up. So, using the following steps I removed it from the start up list and created a launcher button to start and stop apache and mysql.
1. Remove from startup list:
$sudo update-rc.d apache remove
$gksu gedit /etc/init/mysql.conf
In your text editor look for the lines with start up information and comment them out by adding a hash at the beginning of each line.
2. Write simple start script
$gksu gedit /usr/local/bin/lampstart
In your text editor paste the following code:
sudo /usr/sbin/apache2ctl start
sudo service mysql start
Save and exit
3. Write simple stop script
$gksu gedit /usr/local/bin/lampstop
In your text editor paste the following code:
sudo /usr/sbin/apache2ctl stop
sudo service mysql stop
Save and exit
4. Make scripts executable and update db
$sudo chmod +x /usr/local/bin/lampstart
$sudo chmod +x /usr/local/bin/lasr/mpstop
5. Make launcher icons
Go to System->Preferences->Main Menu
In the left pane select the application group for the icons
Click ‘New Item’
Enter the following details:
Type: Application in Terminal
Name: Start LAMP
Comment: Starts Apache and mysql
Optionally click the icon in the top left and look for a nice pic, I found suitable ones in /usr/share/icons/hicolor/48×48/apps
While ECHR’s judgment as described below seemed pretty final, the Labour government still attempted a final appeal – asking for the case to be heard in the ‘Grand Chamber’ (i.e. throwing another few ECHR judges in to the pot). They didn’t have any new arguments or grounds for appeal though and so today I heard Continue reading Update on ECHR ruling on Terrorism Act stop and search powers
So, you’re starting to be convinced of the benefits of linux? Keen to experience the increased speed and power and to try out some of the thousands of pieces of free software available? Like the thought of being secure from viruses and spyware? But still a little attached to your Windows operating system? Here’s a few tips for making the best of both worlds.
I came across various instructions for connecting an Ubuntu powered laptop to the internet through your mobile phone’s data connection. My first thought was ‘brilliant’, followed rapidly by ‘ooh this’ll be fiddly’. It requires a bit of manual coding, but using Rahid Hasan’s excellent how-to it just worked first time (that link looks broken now, its also copied here). I can now enable my bluetooth on my eeePC, turn off the wifi, and a get a reasonable connection speed via my Nokia E71 on three. Grand – no more hotspot charges.
UPDATE: This is a little more complicated in Ubuntu 9.10. For some reason pairing the phones doesn’t result in a bond on the refcomm channel. I get the error “In file /etc/ppp/peers/BluetoothDialup: unrecognized option ‘/dev/rfcomm0′”. The following seems to solve it.
To get it working, follow the instructions linked above with the following modifications:
- All of the required packages were already installed on Ubuntu 9.04 and 9.10 Netbook Remix, so no need to do any of the sudo apt-get ing
- The command to restart bluez-utils is now
- Phone specific information: the apn for three is three.co.uk and the data profile number is 1
- Check what devices you have with
ls /devIs there one listed as rfcomm? If not, then the following command is required:
sudo rfcomm bind 0 xx:xx:xx:xx:xx:xx zReplace the x’s with your phone’s mac number and the z with your dialup channel number (both found when you follow the linked how to). This command only seems to be required once per session, then you can, in theory, pon and poff as much as you like. Perhaps the solution is to run the command at startup.
- I get permission errors unless I run the launch command (pon or poff) with sudo
- On launching the connection I get a permission error (only members of group “dip” can use this command) – but no group dip seems to exist. So, use sudo to launch instead.
- Start the connection with
sudo pon BluetoothDialupAnd stop it with
sudo poff BluetoothDialupNB these commands can be written into custom application launchers through Preferences->Main Menu; but use gksu instead of sudo.
The latest edition of Ubuntu (9.04) is generally excellent. There are continuing problems with graphics cards, however, that probably flow more from the proprietary (closed source) drivers provided than anything that Ubuntu folks can control. For me, its the NVidia driver that’s the baddy, failing to recognise any accurate information from my Acer widescreen monitor. This required manually writing a new xorg.conf file pretty much from scratch – here’s the solution for pairing NVidia 8500 GT with an Acer P193w Continue reading Getting the NVidia linux driver working with odd monitors
NB This adventure has been postponed due to my lack of knowledge/skills to make it work 🙁
Moving from a flat to a house so no longer will the same room function as lounge, dining room, study and guest room. Simply having a very long cable on a widescreen monitor meant that one PC used to serve both work and entertainment functions, but alas no more. So, how to have a satisfactory work-from-home PC and a media PC without spending too much moolah? One (theoretical) answer is to scrounge a basic ‘obsolete’ PC and use it as a thin client – meaning it is just a gateway to using the resources on my current, decent quality PC. The software to make this possible is really oriented to businesses, schools or colleges running clusters of computers cheaply but the principles are (probably) applicable at home. And I hope you don’t need to be a veteran sysadmin to make it work. This post, is going to be a running commentry on what I’ve learned as I go through the stages. Continue reading Adventures in Thin
There’s now a very public fuss about the BBC’s unfathomable decision not to air an appeal requested by the Disaster’s Emergency Committee because of reasons of impartiality. So, I wrote the following:
RE: BBC decision not to air DEC Gaza appeal
I was surprised and frustrated to learn that the BBC have refused the request by the Disasters Emergency Committee to air an appeal for funds to help those in desperate need in Gaza.
The BBC response was that your concerns were about the delivery of aid to a volatile situation and about impartiality. The first issue appears to be one on which the DEC is better qualified to make a decision than the BBC. If the aid agencies involved believe it is possible to deliver aid then they should be supported – especially because it is often in volatile and dangerous situations that aid is most urgently required. The second issue is clearly within the BBC’s remit. However, the DEC insists it is an apolitical organisation working on humanitarian grounds. The simple fact is that thousands of people are newly impoverished and homeless, with urgent need for access to clean water, food and medical supplies. Regardless of the political situation I strongly believe that the BBC should take the small step of airing an appeal – along with all other broadcasters – to help relieve the suffering of these people. This action would fit very well with the BBC’s privileged position as a license-funded, public service organisation.
Thank you for your attention in reading this letter. I would be very grateful if you would reply with answers to the following questions:
1. Why does the BBC feel it is in a better position than DEC to decide on the dangers of delivery of aid?
2. How exactly would airing this appeal damage the BBC’s credentials for impartiality?
3. Will the BBC reconsider this decision?
Dr Kevin Gillan
BBC, ‘BBC defends Gaza appeal decision’ at: http://news.bbc.co.uk/2/hi/uk_news/7846150.stm
 Guardian, ‘BBC refuses airtime to Gaza aid appeal’ at: http://www.guardian.co.uk/media/2009/jan/23/bbc-refuses-gaza-appeal
So a new year’s gift to myself for 2009: an Asus eee PC 901. After a quick play with the Xandros-based operating system that came pre-installed I decided to give the eee-specific Ubuntu distro a whirl. Despite the claim on their wiki that it would work ‘out of the box’ for the 901, there were a few issues with my installation (Ubuntu Hardy Heron v 8.04.1 on Asus model no. EEEPC-BK006) that I’ve resolved with the help of posts on the wiki and the eeepc users’s forum. So, largely because I might need to do it again, here’s my step-by-step guide on how to get the thing running as I like it:
UPDATE: ubuntu-eee, used in the description below, has rebranded itself as easy peasy. It seems to contain more license restricted software than the standard ubuntu installation and looks pretty swish. But ubuntu are clearly pushing their own netbook-remix so I’ve installed v9.04 (Jaunty Jackalope) from Ubuntu’s main site. Where necessary I’ve updated the advice below for that, and added tips on Firefox and Mobile Broadband. Incidentally, Ubuntu Netbook Remix on the eee-pc absolutely rocks.
Another UPDATE: As the Ubuntu versions have rolled on and got a bit bigger and slower I’ve now moved to lubuntu 11.04 for the occasional-use eeePC. It feels nice and quick for the kinds of simple jobs I’m doing with it.
N.B. I’ve mostly included eee-pc specific things here – there are other necessary steps with Ubuntu (like making flash work properly, and getting drivers to play .mp3 files). These all relate to using software with restricted licenses, but that software is available and works very well and Ubuntu now generally offers wizards to do these things which should pop up when you need them.
- Install the OS
- Recognise removable drives (N.B. Not necessary since Ubuntu 9.10)
- Wifi (N.B. Not necessary since Ubuntu 9.04)
- Make bluetooth work and enable other devices to push files via bluetooth
- Password lock after standby (N.B. Not necessary since Ubuntu 9.04)
- Make ‘home’ key show desktop
- Install eee-control
- Install Launchy (N.B. Gnome Do is probably preferable since 9.04)
- New fonts
- Firefox 3.5 (N.B. Not necessary since Ubuntu 9.10)
- Mobile Broadband
It might not be the biggest surprise to learn that the presence of oil in a country has an effect on that country’s political character, but its rare to see the ‘resource curse’ described as clearly as in the graph below.
Source: Bennie, Lynn, Patrick Bernhagen, and Neil J. Mitchell. 2007. “The Logic of Transnational Action: the Good Corporation and the Global Compact.” Political Studies 55(4):733-753.
N.B. The political terror scale, originally developed by Freedom House, is based on data from Amnesty International and the US Department of State’s country reports. 1 stands for respect for human rights, 5 indicates widespread government killing, torture, political imprisonment and disappearances.
How could I better manage my finances? Couldn’t my bank help me? A first step must be to better understand how I’m actually spending my income, and it strikes me that my online banking should really have a variety of ways of interacting with my financial data by now.
It was a pleasure today to see Prof Joseph Stiglitz deliver the University of Manchester’s Foundation Day Lecture, titled ‘The Financial Crisis – Lessons for Economic Theory and Policy’. So, what does the Nobel prize winning economist think of the current financial climate?
Time to bodge together my own theme?
It’ll probably be yellow.
Some useful links:
These are progressively more advanced topics. Some early lessons…