LUG Planets

Alan Pope: UDS Karmic Videos and HTML5 Goodness

Planet HantsLUG - 1 hour 51 min ago

I noticed that the videos from the most recent Ubuntu Developer Summit are now online, and thought I’d have a play with the new embedded HTML5 video stuff in Firefox 3.5.

Rather than view all the videos by downloading them individually I thought I’d make a page where I can view them all sequentially.

Here is the html I threw together. Guess it will look rubbish in anything but Firefox 3.5. Of course that’s no guarantee it will look any good in Firefox 3.5. Just, y’know, you’ll see the videos

Dean Wilson: EuroPython 2009 - Wrap up Post

Planet GLLUG - Thu, 02/07/2009 - 21:13
Over the last week I've been up in Birmingham catching up with some old friends and attending some talks at the little get together of around 450 Pythonistas that was EuroPython 2009.

This was my second Python conference. The first was PyCon 2008, which was so well organised (by many of the same team as this years EuroPython) that I was inspired to come back. And I wasn't disappointed. There were a lot of very good talks, some that have planted seeds that I'll have to come back and try to find the time to look at and some that showed me things I plan on using in the very near future (such as py.test).

The atmosphere was topnotch. Everyone seemed friendly, the speakers were approachable and after spending the evening with so many people working on so many things it was a pleasure to get back to the room and make sure I actually did something technical before bed.

It's a wonderful feeling to come away from a conference feeling motivated to try new technologies and all I need to do now is actually schedule some time actually write some Python code...

The organisers did a great job and I'll be back next year.

Adam Trickett: Bog Roll: Mr Miot's Rhubarb Jam

Planet HantsLUG - Wed, 01/07/2009 - 21:46

Yesterday I made a batch of jam using Mr Miot's method. It's based on his standard method which is different from the method I've used myself previously.

  • 1 Kg Rhubarb (frozen then defrosted)
  • 0.8 Kg Sugar
  • ½ a lemon (frozen then defrosted)
  • 200 ml rhubarb juice (from the defrosted 1 Kg)
  • 250 g crystallised ginger (my addition, not in the French original)

First you freeze the lemon and the chopped and cleaned rhubarb. Freezing and defrosting the lemon should ease the extraction of pectin for setting the jam. Freezing and defrosting the rhubarb should extract water juices from it, keep just 200 ml.

Heat the sugar, juice from the lemon and the lemon along with the rhubarb juice up to boiling point (121°C). Once it's rolling along add the chopped rhubarb and return to the boiling point. Boil hard for a further 15 minutes (give or take) and then add the ginger. After removing any scum and a a few more minutes it should be ready to pot.

I jammed 2.2 Kg of rhubarb with 1.76 Kg sugar, two small lemons and 0.5 Kg of chopped crystalised ginger. Tasted okay on the night, but rhubarb and ginger takes a few days to reach full flavour.

Dean Wilson: dstat - a window to your system

Planet GLLUG - Wed, 01/07/2009 - 21:32
When it comes to Unix diagnostics I was raised the old fashion way, with iostat, vmstat and similar tools. However times change and tools evolve. dstat, while not as comprehensive as using all the tools one by one, provides a wide range of system performance details in an easy to use package.

While it's useful enough in its default state there is even more functionality lurking just below the surface. To see which other modules are available (but are not enabled by default) run dstat -M list. To add an extra module to the output use a command like this one: dstat -a -M topmem -M topcpu

As part of my growing use of the tool I've started to write my own little dstat plugins. I was pleasantly surprised at how easy they were to write and deploy even with my basic python skills. While the memcached plugin was a proof of concept I've not needed much I've found the process count plugin to be very handy.

dstat is becoming one of the overview tools I use when investigating performance issues and it's worthy of a place in your toolbox too.

James Ogley: Using the latest Gwibber on openSUSE

Planet HantsLUG - Wed, 01/07/2009 - 20:46
We're in the process of getting the relatively stable 1.0 branch of Gwibber into Contrib. So, I decided to test out the latest trunk to see how it's looking. originally my plan was not to publish the packages, assuming they could be ropey. What I've found is that they are more stable for me than the stable ones and have a lot of the functionality that one now expects of a Twitter client.

So, I'm publishing them. They're in the home:Riggwelter:GNOME_Contrib repository for 11.1 and Factory. Feel free to test them but the usual warnings about non-stable and non-official packages.

Karanbir Singh: Connection from UDP log messages

Planet GLLUG - Wed, 01/07/2009 - 10:20

Plenty of people seem to have an issue with snmpd logging connection information for each poll on CentOS 5, like this:

Jul 1 09:50:04 doghouse snmpd[4159]: Connection from UDP: [10.0.1.10]:59768 Jul 1 09:50:05 doghouse snmpd[4159]: Connection from UDP: [10.0.1.10]:56329 Jul 1 09:50:05 doghouse snmpd[4159]: Connection from UDP: [10.0.1.10]:42126 Jul 1 09:50:05 doghouse snmpd[4159]: Connection from UDP: [10.0.1.10]:47950 Jul 1 09:50:05 doghouse snmpd[4159]: Connection from UDP: [10.0.1.10]:36634 Jul 1 09:50:05 doghouse snmpd[4159]: Connection from UDP: [10.0.1.10]:52677 Jul 1 09:50:05 doghouse snmpd[4159]: Connection from UDP: [10.0.1.10]:44864 Jul 1 09:50:05 doghouse snmpd[4159]: Connection from UDP: [10.0.1.10]:54498

This isnt necessarily a bad thing, however if you want to turn that off, on a fully updated CentOS-5 machine you can change /etc/sysconfig/snmpd.options to something like this :

# snmpd command line options
OPTIONS="-LS4d -Lf /dev/null -p /var/run/snmpd.pid"

Thats about all there is to it. Also, the reason why one finds so many different ways or achieving the same thing on the internet, isn't because everyone is wrong. Its mostly since the -L options syntax and use has been changing over the last few years. And while I am sure there is a good reason for this change but the developers really should consider keeping some backward compatibility in place.

- KB

Original post.

MJ Ray: Digital Britain Report: first glance

Planet ALUG - Wed, 01/07/2009 - 07:12

The Digital Britain Report was published on 16 June 2009. I only got time to look at it quickly recently because this is one of the co-op AGM seasons.

At first glance, it misses the mark. It doesn’t do anything to unlock Digital Britain and make us a more sharing and social place. From failing to open the 3G mobile networks to the Phone Co-op and other operators completely (they describe it as already being “highly competitive” - haven’t they visited a South West “notspot”?), through the unnecessary increase in protection for Star Wars’s foreign owners, right down to the continued support for Adobe on the report download site instead of third-sector-produced pdfreaders.org, it looks like the report won’t stop us being “Digital Divide Britain”.

I also have my suspicions about the effect of the “DAB-only from the end of 2015″ decision on our community radio companies, but I’ve not been active in that sector for years and there’s a further consultation about that.

Ultimately, “the Government believes piracy of intellectual propert for profit is theft and will be pursued as such through the criminal law” is the killer phrase in this report. The concept of being allowed to file-share without payment doesn’t even appear in the same section. I’ve been warning about these “New Enclosure” attempts for years: I didn’t expect the Digital Britain report to be such a leap towards them.

I think many of these problems could have been avoided if digital production cooperatives had been included in the preparation of this report in any significant way. I feel it has been captured by the private sector and a few trading funds, to the detriment of the nation. Shouldn’t we expect better from a Labour and Co-operative government?

What did you think of the report? What else am I missing? Seen any good reviews of it for free software fans or cooperators?

davblog - Dave Cross: Hard Rock Calling

Planet GLLUG - Tue, 30/06/2009 - 13:18
On Saturday I was at the Hard Rock Calling festival in Hyde Park. It's a pretty good idea to have a three-day festival in London over the same period as the Glastonbury festival as it's easy for the acts to play both festivals over the weekend and those of us whose camping days are long behind us get to enjoy some of the Glastonbury bands and sleep in a comfortable bed.

My main reason for going was to see Neil Young, but there were a number of other acts (across three stages) to see first.

We arrived just as the first act started on the main stage. They were called The Original Sinners and my friend said he was interested to see them. It turns out that there must be more than one band of that name as these really weren't the band he was expected. They were pretty dreadful all in all. They were followed by Rudy Vaughn who had apparently won a competition in the US to come over and play at the festival. They were even worse. And instantly forgettable (I just had to look up their name). The only thing I can remember about them was that they finished with a cover of Michael Jackson's "Beat It".

By now I was desperate for some decent music. The next band on were The Pretenders and they didn't disappoint. To be honest I was surprised that they were still going. Haven't most of them died? But Chrissy Hynde still has it and their set was head and shoulders above what had gone before. They were followed by Seasick Steve. I've seen him on TV a few times and I've never really understood what the fuss is all about. But live, it's a completely different story. He was brilliant. It's just him and a drummer, but they had the huge festival audience hanging on every note.

The next act on was Ben Harper with his new band. I'd never heard of him and nothing I'd read about him filled me with any enthusiasm so I took the opportunity to explore the other stages. I didn't get very far as on the first stage I walked past I came across Alessi's Ark. I was completely entranced by their modern folky tunes and I sat and listened to all of their short set. After that I wandered back to the main stage where I was unfortunate enough to catch the end of Ben Harper's set. Which really wasn't very good.

The sun had be shining all afternoon, but as Harper left the stage it was becoming obvious that a storm was on the way. And sure enough, within fifteen minutes we were all rather wet. There was even some thunder and lightning.

The next band on were the Fleet Foxes. It was still raining when they came on, but it stopped soon afterwards. I love their music, but I'm afraid the rain rather dampened my enthusiasm. When they were playing and singing it was fabulous. But they take their music all very seriously and that means that inbetween songs there is interminable retuning of instruments which rather destroys the atmosphere. I'd love to see them again in a more appropriate venue. It sounds like I didn't enjoy them, but I should point out that even after two hours of Neil Young, it was still Fleet Foxes tunes that were stuck in my head on the way home.

Some time later Neil Young took the stage. I've been a Neil Young fan for years (we all had copies of "After The Goldrush" when I was a teenager) and I'm appalled that I've never seen him before. It's not like he rarely tours or anything.

Young opened with "Hey Hey, My My" (or perhaps it was "My My, Hey Hey" - I get those two confused) and the next couple of hours is a joyful blur of music and feedback. He played pretty much everything I wanted to hear (the full setlist is online). Oh, ok, there were a couple of things missing, but with a back catalogue the size of Young's you'd need to play all day to fit everything in. In amongst the grunge and feedback he found time for a more folky section where he played things like "Heart of Gold" and "The Needle and the Damage Done". If I have one tiny criticism, it's that if he learned to finish his songs a bit sooner he could fit in twice as many. For example, he finished with "Rockin' in the Free World" which had at least four false endings.

The encore was the Beatles' "A Day in the Life". I understand he's be playing that a lot on this tour. But when he got to "Woke up, fell out of bed..." Paul McCartney joined him on stage. I can't really see Paul McCartney and Neil Young as a double act so it all seemed a bit strange to me. I suppose I can say that I've now seen McCartney live. And I won't have to go to one of his (increasing rare and, I expect, overpriced) gigs.

This has to be one of the best gigs I've ever seen (and I said that after seeing Magazine earlier this year too - been a good year for gigs so far). I think this was the last night of the tour. But he'll be back. And if you get the chance to see him play, I strongly recommend that you take it.

James Ogley: Cowon iAudio S9 with Banshee on Linux (3)

Planet HantsLUG - Tue, 30/06/2009 - 10:39
Previously, I've blogged about my adventures with the gorgeous Cowon S9 and Banshee/Linux. In the intervening time, I've been working towards getting it working with libmtp.

While I've been doing that, Cowon have released an updated firmware that adds M3U playlist support. This is a real result for Linux users. The S9 doesn't actually seem to be able to read the M3U files correctly as yet but I've opened this as an issue with Cowon and hopefully they'll fix it in the next release. Remember, this latest firmware is only a beta and may eat your children or your data - install with care although I've had no problems other that then non-reading M3Us.

Just have to get the HAL information integrated upstream so that people don't have to download my .fdi file for it.

Track my thoughts on this via Twitter.

Steven Rose: A change of direction…

Planet ALUG - Tue, 30/06/2009 - 01:07

So to speak, regarding the overall look of stevey.eu, using the Hemingway theme as a basis, I am giving the site a face lift! Watch this space, it is very much a work in progress at present, due to lack of available development time.

Rob Kendrick: Cambyshire

Planet ALUG - Mon, 29/06/2009 - 23:59
I shall be in Cambyshire on or around the 16th. Still unknown how long I shall be staying. Anybody want a pint?

Huw Lynes: Europython - Day 2 - Tutorials

Planet GLLUG - Mon, 29/06/2009 - 21:34

Today’s notable achievements were that I managed to stay on power and network for most of the day. Mostly due to the fact that I lucked out to get a seat next to a power bar in the lecture theatre holding Luke Leighton’s Pyjamas tutorial. I was interested in Pyjamas for a web project I may have to get up and running quite quickly over the summer. Although there were some rocky patches due to SVN mismatches I mostly managed to get a handle on how Pyjamas works. As a note to future tutors: if you need your tutees to download the trunk from SVN it’s probably best to specify the revision that works. This avoids everyone turning up with a version of your code that won’t run the examples. Also, I still don’t understand decorators.

Today’s buffet lunch was nice. Props to the conference organisers.

The day was nicely rounded off by dinner at a fine indian restaurant and a pint of very nice beer in the Wellington. Looking forward to the start of the conference proper.

Adam Trickett: Bog Roll: To Bing For

Planet HantsLUG - Mon, 29/06/2009 - 19:49

Recently Microsoft replaced their also-ran web search engine MSN Live Search with an all new Google beating search engine called "Bing". Their old search engine wasn't actually that bad, it's just that no body used it, so along with a redesign they came up with a new name that they thought would be more catchy.

Just like Google they want Bing to enter normal language and for people to use it by default - gradually pushing Google into the same obscurity as Netscape, Stac, AOL, Yahoo!, Real and countless other companies that MS decided to destroy.

So here we go with some examples of how to use "Bing".

  • To Bing for - to look in vain
  • I Binged it - I looked and couldn't find it
  • I've been Binged - I've been swamped with irrelevant commercial data

and so on... The old MSN Live engine wasn't too bad, sometimes it was even better than Google but no one used it. Considering this is Microsoft's nth go at search it's sad that it's actual worse than it's predecessor...

MJ Ray: Possible new word: attendocracy?

Planet ALUG - Mon, 29/06/2009 - 13:49

I think I’ve just made up another new word (to go alongside my pet hate lawyerbomb):

attendocracy
a whole society run mainly by meeting attendees. Usually, the meetings are basically non-discriminatory (all members may attend) and attendance is itself enough to give one power, but those not at the meeting are positively ignored (no postal ballots or elections). Choice of location, price and time of meetings is key to power in an attendocratic society.

Did this word exist? Is there another existing word for this idea? Is it the same as meetingocracy? Is there a better word for it?

I’m broadly in favour of do-ocracy (even when it doesn’t work out as I want), so I think I’ve been handling attendocracies badly. Are they worth the time?

MJ Ray: Heatwave!

Planet ALUG - Mon, 29/06/2009 - 13:26

Well, what passes for a heat wave in England: “an average threshold temperature is 30 °C by day and 15 °C overnight” according to the Met Office: Heat-Health Watch.

So, I’ll be following HOWTO not melt - keeping cool at midsummer again. Anyone got any new tips or tricks for 2009?

Finally, one of TTLLP’s full-timers is away this week, so enquiries may get saved and answered in batches. If it’s urgent, please put “urgent” in the subject line of an email.

David Goodwin: Timberhonger 10k Race - June 2009

Planet WolvesLUG - Mon, 29/06/2009 - 06:38

I came 29th - with a time of 42 minutes 50 seconds - it was pretty hot, and I was therefore quite pleased with my time - which was better than last year.

thanks to the organisers; more info here

Adam Trickett: Bog Roll: Strawberry Jam

Planet HantsLUG - Sun, 28/06/2009 - 21:56

Yesterday we went to a local PYO farm to collect fruit for jamming. As much as we love redcurrant jelly we decided to skip it for this year and try something new - so I spent £15 on mostly strawberries.

Strawberries are terrible to jam, they are low in pectin, high in water and (in the shops in the UK) low in flavour. If it were not for the national obsession with them, no one in their right mind would bother with them...

I decided to use the recipe of Francis Miot, who is some top French jam maker:

  • 700 g strawberries (fraises)
  • 350 g redcurrants (groseilles) - you are supposed to remove the pips with a goose quill but we skipped this...
  • 200 g water (d'eau) - it seemed an awful lot but it did turn out okay
  • 1/2 lemon (citron décongelé) - ideally frozen and defrosted
  • 800 g sugar (sucre blanc) - does not need added pectin
  • 30 ml red wine (vin rouge) - we skipped this as we don't drink wine

The method is his standard method. First heat the sugar, water and lemon (squeezed juice and whole fruit) up to a full boil (121°C), then you add your topped and halved strawberries and (deseeded) redcurrants and bring back to a full boil. You then boil on full heat for 20 minutes before potting into hot cleaned jars as normal.

For best flavour do not add butter, remove the scum with a slotted jam spoon instead. Don't soak your fruit overnight in sugar as it draws out too much water - or so Mr Miot says.

We started with 2.1 Kg strawberries and 1.05 Kg redcurrants and yielded 13 (full) 370 g Bonne Maman jars. This morning we opened a jar to test - VERY GOOD!

Tony Whitmore: Teeching Me A Lesson

Planet HantsLUG - Sun, 28/06/2009 - 21:33

Yesterday I went to see the second of two performances of “Teechers” by John Godber at the Oasthouse Theatre in Rainham. The play was being performed to raise money for Jenny’s trip to Ecuador. She assures me that this isn’t just a holiday, but that she’s going to help teach young children. More importantly, it was an opportunity to see three very good friends of mine acting. It’s been a long time since I’ve seen Chris performing, I’ve never seen Jenny in as big a big part and I’ve never seen Heidi perform in a play at all! It was all very enjoyable and hopefully raised some cash to help swell the charitable coffers. Particularly impressive was that the cast of three brought to life about twenty different characters, which was an excuse for some particularly tongue-in-cheek performances which I’m sure would be recognisable by anyone who has worked in education. Not, I should add, just characterisations of students, either. It was certainly fun to see some classic silly voices be wheeled out for some of the smaller characters.

The Teechers cast

The programme for the play was also special, as I had taken the cast photos for it. It was, pretty much, my first commission, albeit not a paid one! The session, which was a couple of months ago now, was fast and fun, but I learnt the same lessons as Graham “codedragon” Binns did recently shooting outside in strong direct sunlight. Although I did have a reflector, there wasn’t time to use it as effectively as it could have been. This was because I was rushing. (To be fair, there wasn’t much time, we all had other appointments to make.) I shot lots and hoped they would be OK, rather than taking a bit longer to ensure the shots were set up properly. So I learnt some important lessons and am looking forward to the next time a similar opportunity arises.

I gave a CD with the JPEG versions of all the image to the cast with a list of of images I recommended, although I was doing so without knowing the context of the play. It was therefore quite interesting to see the ones that they selected for use; on the programme covers, a centre-page scrapbook montage and for each character (not cast) biography. (The image above is the one they picked for the poster.) It was surprisingly gratifiying to see photos I had taken all over the programme.

I also won a bottle of wine in the raffle. Having previously scoffed at the auction of cakes and comestibles at other AmDram productions, I am now convinced by this activity and will petition the National Theatre to follow suit. I want to see Trevor Nunn giving away Blue Nun forthwith!

Huw Lynes: Europython - Day 1 - Tutorials

Planet GLLUG - Sun, 28/06/2009 - 18:56

I have to admit to a certain amount of trepidation when I signed up for EuroPython 2009. As primarily a sysadmin rather than a developer I was worried that I might not have the requisite knowledge to get the benefit of a week-long developer conference. After today’s experience I’m beginning to relax about that.

Today and tomorrow are the tutorial sessions before the conference proper starts. Having never been to a Python conference before I wasn’t sure what form the tutorials would take. From the outcome of the day I would have to say “much less programming than you might expect”.

The day started off with Michael Spark’s giving an introduction to Kamaelia the simple concurrency system designed by BBC Research. We started off by building a brain-dead simple version of Kamaelia to outline the principles by which it operates. This took us on to writing a bulletin-board system by chaining together simple Kamaelia components. This was, needless to say, pretty intense for a Sunday morning.

Having expected to be doing a lot of coding I dutifully spent Friday evening makeing sure that I had the suggested software installed and working on my netbook. As it turned out I only wrote about 20 lines of code during the whole tutorial. I was ever so slighlty miffed by this. This is the first time this tutorial has been given and in my opinion would benefit from being all-day with time for coding exercises between explanations.

Despite these minor problems I felt that the tutorial left me with enough of a grasp of Kamaelia’s basics that I could go away and write something simple in it without too much trouble. One other good point of the this session was the handout printed from lulu.com which was really nice. So nice in fact that I think we should spring for these next time we run a training course at work.

After lunch I was in Jonathan Fine’s JavaScript for Python Programmers tutorial. Which was in a room that was too small for the audience and much, much too hot. It also appeared to have a grand total of two power outlets. Fine started off with a horrifying list of the ways basic constructs in JS behave in ways that Pythonistas will find completely illogical. After the break he delved into the nitty-gritty of OO and Inheritance. As the tutorial progressed and Fine got further from his slides the session transformed into something more like a seminar rather that a tutorial. Overall I found this session enjoyable and informative, although my brain was beginning to melt by the end of the day.

I suspect that Wifi and power are what most people will grumble about, but knowing how hard it is to sort these out for events at my home institution I won’t carp too much.

Now for some time with the Django tutorial in preparations for tomorrow’s Pyjamas session.

James Ogley: Sermon: Matthew 6.19-24 - Where are we banking?

Planet HantsLUG - Sun, 28/06/2009 - 17:46
Recorded today at St Paul's. 28 minutes long. Available as Ogg Vorbis or MP3:

PDF of the accompanying presentation.

Syndicate content