Planet ubuntu-uk

This page contains feeds from ubuntu-uk member's blogs

For more info please see the planet wiki page The Feed url for this planet is http://planet.ubuntu-uk.org/atom.xml .

The views expressed here do not represent the views of ubuntu, canonical or ubuntu-uk

May 12, 2008

no picture
Ciemon Dunville
(CieD)

The sound of Glastonbury

Glastonbury is a fantastic little town, with lots of communities thriving around the spiritual hub that the place has become. If you miss being there, the gardens, the shops, the people, the tor you can keep in touch by listening to Glastonbury Radio.

This has nothing to do with the summer concerts that we see all over the media. It’s about the community and what’s going on, no matter what your spiritual path or interest, it’s covered by this net only radio.

Galstonbury Radio
Philip Newborough's face
Philip Newborough
(corenominal)

Darkness Returns GTK+ Theme

It occurred to me this morning that I have been using the same GTK+ theme for a couple months. I consider this fact to be a result; I have comfortably settled into using a theme and I had not fully realised it, that has to be a good sign! While I enjoy playing around with the look 'n' feel of my desktop, I can not help but think it is a waste of time and I should be doing something more constructive; therefore, this morning's realisation comes as something of a relief.

Darkness Returns GTK+ theme.

The theme I have settled into using is called Darkness Returns. I named it so because CrunchBang Linux was originally distributed with a dark theme, then it changed to a light theme, before moving back to a dark theme for the last release; hence, Darkness Returns — pure genius :)

Darkness Returns is based on the Clearlooks GTK+ engine. It is not actually as dark as some dark themes, instead it is more of a halfway house between the lightness and the darkness; maybe I should have named it "Sitting On The Fence"? Anyhow, a couple of people have asked me for the theme and so I have made it available on my wiki. More screenshots of the theme can also be seen on my wiki: CrunchBang Linux 8.04.01 Screenshots. Feel free to use and abuse :)

Tags: artwork, crunchbanglinux, openbox, themes, ubuntu

Jono Bacon's face
Jono Bacon
(jono)

Destroy Everything

You know what, every so often you see something and it directly equates to your dream for a particular part of your life. In terms of my musical ambitions, the video to Destroy Everything by Hatebreed perfectly sums up perfectly what I would love to do with my music, and not only that, but I utterly love this crunchy, fat, grindy, anthemic song:

Can’t see it? Click here.

Wicked.

Andy Loughran's face
Andy Loughran
(andylockran)

Rest in Peace Guido

What a surreal experience.

This morning, I logged into Google Webmaster tools to check what people have been searching for when accessing my blog. One item stood out more than others.

Guido Sohne facebook

Guido Sohne has only been mentioned in my blog once, on an article he wrote entitled “Things have gone too far.” I guess in some ways this article is part of what inspires me to work with ‘free software.’

Guido’s philosophy re: free software

After clicking on the link on google to see whereabouts I came in the rankings, I was shocked to see that Guido has unfortunately passed away, 6 days ago aged only 34.

Rest in Peace Guido.

Obituary of a friend.

May 10, 2008

no picture
Chris Rowson
(leftcase)

Valve’s Source Engine Coming to Linux?

Some exciting news coming from the Phoronix website suggests that Valve may be porting the Source engine to Linux.

The Source engine powers many of Valve’s top titles including Counter-Strike: Source, Half-Life 2, Day of Defeat: Source, Portal, and Team Fortress 2.

Linux support for Source is likely to increase the take up of Linux based operating systems amongst Joe Public. Lack of support for modern games is often cited as a reason for not moving from Windows.

Lets hope that the rumours are true, and that Valve are the first of many games developers to go down this route.

May 09, 2008

Paul Mellors's face
Paul Mellors
(MooDoo)

Ubuntu Heron Server 8.04 LTS

After posting earlier about having problems with Ubuntu Server and mysql I was given a little lesson in command line mysql by Philip Newborough [thanks]

I think i’ll pass it on. My problem was creating mysql users/databases via phpmyadin which left me unable to import my .sql files. Here’s what i had to do.

1, mysql –user=”root” –password=”your_root_password” - This connects to the mysql server as root

2, CREATE USER ‘new_username’@'localhost’ IDENTIFIED BY ‘password_for_new_username’;

3, GRANT ALL ON *.* TO ‘new_username’@'localhost’;

4, create database databasename;

I could then import my .sql files using -

mysql -u<username> -p database < databasefile.sql

If you’re reading this post then you’re reading it on my shiny new install of Ubuntu Heron Server 8.04 LTS.

©2008 paulmellors.net | Paul Mellors. All Rights Reserved.

.
no picture
Matthew Garrett
(mjg59)
 
My previous entry was somewhat misleading in one respect - the discussion of the power consumption of a downclocked processor. The problem is that nowadays, halving your CPU frequency doesn't halve the power consumption (see the figures in Arjan's slides from OSCON last year, for instance). I'm assuming that this is due to the cache size on modern hardware being sufficiently large that it dominates the power consumption of the processor. Dropping the frequency doesn't reduce the amount of power required to keep the contents of the cache alive, so the saving is less than you'd expect. Deeper C states disable the cache and save much more power.

So, if halving your speed means everything takes twice as long but doesn't even halve your power consumption, what's the point in having P states at all? There's a certain amount of latency and power involved in moving between C states, and if the choice is between rapidly cycling between full speed and C4 or just sticking at low speed and maybe dropping into C1 or C2, then executing code at the lower performance state may be beneficial. The ondemand governor takes this into account by looking at the amount of load on the processor over time, so if this doesn't hit a threshold value it'll assume that you're better off staying at the lower performance level.
Paul Mellors's face
Paul Mellors
(MooDoo)

Servers

I was using CentOS as a web server and while it worked fine i wanted to use a debian based server. I downloaded the Heron LTS iso and installed it, rather than install a LAMP system from the install i did a basic install so i could install the AMP parts manually. All went well until i wanted to restore my mysql databases. I use phpmyadmin to create databases because i’m lazy and it’s easy to click the priveleges link, add the usename/password job done but when i used the mysql command to import the .sql files, this is where it went tits up. For some reason it kept giving me

ERROR 1045 (28000) : Access denied for user: ‘myusername@localhost’ (Using password: YES)

I knew the username and password was correct but apprently it’s something to do with the user information being wrong in the user table….don’t ask me what, i gave up after a while and installed debian etch which i knew would work straight away…….

I’ll figure it out but until i do, debian [which i think is actually quicker on my machine than CentOS] will stay on it.

©2008 paulmellors.net | Paul Mellors. All Rights Reserved.

.
no picture
Simon Elliott
(Sionide)

A History of Mobile Phones

My first phone... A Sagem MV3020 Mike was wondering what the average age of other peoples mobile phones as been. And from memory I will try to put the mobile phones I've owned into chronological order.. The first phone I ever sort of owned was my Mum's old Sagem. It was the most ...
no picture
Matthew East
(mdke)

Ubuntu hits mainstream Italian television

Seriously long time no blog… life has been incredibly busy recently.

Ubuntu appeared on Italian terrestrial television yesterday, by way of a short piece on the program “Neapolis”, broadcast by RAI 3. RAI 3 is a state run television channel in Italy, and is popular for having plenty of interesting programs on culture and current events.

Congratulations to the members of the Italian local community team who made this possible: Fabio Marzocca (who appears in the clip), Milo Casagrande and Flavia Weisghizzi.

Watch the clip here (Italian language).

May 08, 2008

no picture
Matthew Garrett
(mjg59)
 
Modern CPUs are great. They have all sorts of advanced power saving features, which is one of those nice cases where everyone can save money, gain performance and claim environmental credentials at the same time. Everyone's a winner.

Well. Everyone's a winner as long as your software doesn't suck.

I've talked about the benefits of the tickless kernels and reducing wakeups and spending longer in deep C states before, so if you don't know about them then go and read that first. This time I'm going to focus on a different level of hardware, and a different level of suck.

For a long time, laptops supported changing the speed of processors when switching between AC and battery. CPU power consumption is proportional to frequency, so dropping the frequency meant a longer battery life. Of course, it also meant that it took longer to get anything done - the reason this was still a win was because CPUs in those days consumed just as much power when idle as when running. Transmeta introduced a technology called Longrun with their Crusoe processors, bringing the ability to drop both the frequency and the voltage of the CPU simultaneously. With power consumption being proportional to the square of the voltage, even a small drop resulted in worthwhile power savings. As the only really worthwhile thing Transmeta brought to the x86 world[1], this was unsurprisingly ripped off by everyone else. Intel introduced their Enhanced Speedstep, AMD gave people PowerNow and VIA have Longhaul.

Obviously, reducing the frequency of the CPU increased battery life. Everyone's happy?

No[2].

The problem is that nowadays, processors don't consume as much energy when they're idle as when they're running. The aforementioned C states mean that an idle processor consumes a tiny percentage of a loaded one - an ultra-low voltage Intel part will draw on the order of a watt. Executing code, even at the lowest voltage and frequency, will draw far more power. Obviously, we want to keep the processor idle for as long as possible. The easiest way to do this would be to never run anything, but that's not a real option. The alternative is to run when we have to, but make sure that we get it over with as quickly as possible so we can return to the idle state. Counterintuitively, that means switching to the highest voltage and frequency, executing the code and then dropping back into the idle state. By going faster, we save power[3].

In summary, the only sensible way to use a CPU is to run it as fast as possible in order to let it idle as much as possible, and drop the frequency and voltage when it's not doing anything. The. Only. Sensible. Way.

Some people write software that lets you choose different power profiles depending on whether you're on AC or battery. Typically, one of the choices lets you reduce the speed of your processor when you're on battery. This is bad. It is wrong. The people who implement these programs are dangerous. Do not listen to them. Do not endorse their product and/or newsletter. Do not allow your eldest child to engage in conjugal acts with them. Doing this will reduce your battery life. It will heat up your home. It will kill baby seals. The sea will rise and your car will float away. If you are already running it, make sure that it always sets your cpufreq governor to ondemand and does not limit the frequencies in use. Failure to do so will result in me setting you on fire[4].

The only legitimate reasons for limiting the speed of your CPU are to avoid overheating (which should be fixed in the kernel, really - having userspace in charge of ensuring the continued functioning of the machine is madness) or to make the machine quieter. And if you want your machine to be quieter, there should be a tickbox marked "Reduce performance in order to reduce noise" or something, which would take into account all the sources of heat in your machine rather than just your CPU. Encouraging the managing of acoustic levels by asking users to restrict the functionality of their CPU is just another way of saying "Look! We suck!". Letting the user choose a specific CPU governor or a specific frequency is not a useful thing to do. Don't do it unless you want to see dead kittens. Delivered by UPS.

[1] And, presumably, whatever else Intel and everyone else ended up licensing off them which resulted in their reinvention as an IP company rather than a CPU one, but that's just not interesting to me.

[2] Even ignoring the people that are unhappy for entirely unrelated reasons, such as injured toenails or the brutal murder of their family

[3] There's a corner case here, which is a system that is always entirely CPU bound. Say we halve the CPU's speed. Along with the voltage drop, that gets us down to about 20% of the original power consumption. Of course, it now takes twice as long to do anything and your screen, RAM, hard drive, chipset and so on are still drawing power, so will end up costing you twice as much power as they would have done if you'd run at full speed. If you do the maths, it works out that you save power if your processor's full-speed power consumption is more than 1.7 times that of the rest of the platform. In the real world, things are made more complicated by the rest of your platform consuming more power if you're working over a longer period of time - your hard drive is going to end up spending more time spun up, your memory bus is going to be active for longer and so on. You're basically not going to hit this case.

[4] While the burning of your body will result in carbon emissions, the reduction in power usage should offset this in the long run
Philip Newborough's face
Philip Newborough
(corenominal)

A Chat With The Ubuntu UK Podcasters

Last Saturday I received a telephone call from the Ubuntu UK podcast team. We had a chat, it was fun. Parts of our conversation can be heard in their latest podcast, S01E05 - Everybody Come Aboard. I have just listened to the podcast myself and apart from the feature with me, it's another great show :)

I would like to say thank you to the guys for allowing me on the podcast. I can now place a tick next to the item, "Appear on a podcast" on my list of things to do before I die :) Oh, and thanks also for using a picture of Daisy, an unexpected, but pleasant bonus — Daisy will no doubt grin from ear to ear when I show it to her :)

URL: http://podcast.ubuntu-uk.org/2008/05/07/s01e05-everybody-come-aboard/

Tags: podcast, ubuntu

May 07, 2008

Alan Pope's face
Alan Pope
(popey)

Ubuntu UK Podcast Episode 5 is Out

Once again proving his editing prowess, Tony has managed to squeeze around 4 hours of wibble into a 40 minute podcast. Nice one.

In this episode:-

Comments and suggestions are welcomed to: podcast@ubuntu-uk.org
Up to 30 seconds of voicemail can be left at +44 (0) 845 508 1986
Follow our twitter feed http://twitter.com/uupc

Laura Cowen

no picture
Ubuntu UK Podcast

S01E05 - Everybody Come Aboard

Ciemon Dunville, Alan Pope, Dave Walker and Tony Whitmore with Laura Cowen present the fifth episode of the Ubuntu UK Podcast.

In this episode:-

Comments and suggestions are welcomed to: podcast@ubuntu-uk.org
Up to 30 seconds of voicemail can be left at +44 (0) 845 508 1986
Follow our twitter feed http://twitter.com/uupc

Laura Cowen
Ciemon Dunville, Alan Pope, Dave Walker and Tony Whitmore with Laura Cowen present the fifth episode of the Ubuntu UK Podcast. In this episode:- Discussion: An interview with Pete Savage. progbox.vid A chat with Phil Newborough. Random Ubuntu Advocacy Crunchbang Linux We rate our Hardy upgrade experiences. Following up with our CLI vs GUI discussion with Laura Cowen. In the news: gNewSense release version 2. Adobe opening up the FLV specs. The UK's Unix User Group has convinced the High Court to carry out a judicial review of the British Standard Institute's decision to vote in favour of Microsoft's controversial Office Open XML (OOXML) specification. 30th birthday of spam Sun in process of certifying Ubuntu. Competition results! The winner of the trivia competition is announced. We'll send them a coupon for the Canonical Store to spend on whatever they want! We'll have another competition in Episode 6. Comments and suggestions are welcomed to: podcast@ubuntu-uk.org Up to 30 seconds of voicemail can be left at +44 (0) 845 508 1986 Follow our twitter feed http://twitter.com/uupc
Matt Lee's face
Matt Lee
(mattl)

Usability idea: Internet Radio

Yesterday Mark introduced me to a new streaming radio station, Beatles Radio. It's a stream of Beatles, Beatles-covers and Beatles-related acts.

To listen, I went to the link Mark sent me via IM, and scanned the page looking for a play button. There wasn't one, but there are links that say 'Windows Player', 'iTunes Player' and 'Winamp Player' as well as 'Custom Player' - I had to make a decision which one would be best, and I chose Winamp. I don't have Winamp, and as it turns out, both iTunes and Winamp both take me to the same location.

Would it be neat if there was a defined standard for internet radio stations to put a tag in their markup with the URL of their stream? Maybe there could be an option for Ogg Vorbis streams too?

Today, when I wanted to listen again, I opened Rhythmbox, and clicked 'Radio' on the sidebar. I noticed there was a button at the top 'New Internet Radio Station' (this would probably be better as an 'Add Internet Radio Station') - I clicked this and typed 'beatlesradio.com', but it didn't work.

So, I propose the following.

<link rel="stream proprietary" href="http://www.beatlesradio.com:8088/listen.pls" title="Beatles Radio" />

<link rel="stream" href="http://www.beatlesradio.com/this/url/does/not/exist.pls" title="Beatles Radio (Ogg Vorbis)" />

The 'proprietary' property would be for stream in formats other than Ogg Vorbis/Ogg Theora, which hopefully will still make it to HTML 5. User agents could see this tag and do something awesome with it. Plugins for Firefox could offer one click streaming of Internet Radio, and things would be good.