Re: [ubuntu-uk] Team Leadership Election Process

2011-03-19 Thread Alan Bell

On 18/03/11 23:45, Phill Whiteside wrote:

Hiyas,

If you guys and gals capture Alan Bell as your team leader, you have 
made a fantastic catch. Across all the teams I see him assist on he is 
the epitome of what ubuntu means. He is caring, thoughtful, 
considerate and knowledgeable. I know that across the teams we are 
both involved in that they are glad of his input into them and he is 
greatly appreciated by them. The title means nothing, Alan is not here 
for 'little badges', he is here to help the community. Do not lose 
this chance. I know for a fact it will not stop his work on the other 
teams, just a bit more work for him :)


Regards,

Phill.
that is kinda not the point! This is just an exercise in getting the 
documentation straight, which I fully support. You are right in that the 
title means little to me, call me Janitor if you like.
The thing is that we have been using the terms Point of Contact and 
Team Leader interchangeably, you can see that in the initial 
announcement from Dave Walker and the extension of the nomination period 
announced by Alan Pope. I in fact thought that Point of Contact was 
the new name and Team Leader was a deprecated title for the same 
thing, however this is not quite the case, and we don't get to define 
these roles as a team, the two roles are defined for us by the LoCo 
council here:

https://wiki.ubuntu.com/LoCoTeamLeader
https://wiki.ubuntu.com/LoCoTeamContact

We *must* have a Team Contact, we *may* have a Team Leader, if both then 
these *may* be the same person.


So this isn't something that involves a risk of getting rid of me! Just 
a bit of bureaucratic tidying up to avoid confusion going forward and 
next time around.


Alan.

--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] bulk graphics processing problem

2011-03-19 Thread John Levin

hi all,

I need several series of numbered icons, from about 1 to 111 in 
different colours. There must be a way of automating this through the 
command line using imagemagick, but I haven't found a way of doing so, 
and my google - fu is giving very poor returns today. Any one got any ideas?


TIA

John

--
John Levin
http://www.anterotesis.com
johnle...@joindiaspora.com
http://twitter.com/anterotesis


--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] bulk graphics processing problem

2011-03-19 Thread Avi
On Sat, 19 Mar 2011 15:01:05 +
John Levin technola...@gmail.com wrote:

 hi all,
 
 I need several series of numbered icons, from about 1 to 111 in 
 different colours. There must be a way of automating this through the 
 command line using imagemagick, but I haven't found a way of doing
 so, and my google - fu is giving very poor returns today. Any one got
 any ideas?

With no testing whatsoever, and only a passing (but google-enhanced)
familiarity with imagemagick, this is how I'd do it in Perl.

Basically, define an array of acceptable colours, then iterate through
the numbers 1 through 111. For each, pick two different colours at
random to use as foreground and background colours and create an icon.

I don't even know if the imagemagick command really does what I want it
to - I got it from [0] - and this could be done in any language, I just
can't remember how to do arrays in bash.


#! /usr/bin/perl

my @colours=(red,green,blue,orange);

for (my $i = 1; $i = 111; $i++) {

# Pick a random colour for fg and bg out of the array:
my $fgcolour = $colours(int rand($#colours +1));
my $bgcolour = $colours(int rand($#colours +1));

# Check they're not equal
while ($bgcolour == $fgoclour){
$bgcolour = $colours(int rand($#colours +1));
}

# Concoct a command
my $cmd=convert -size 16x16 xc:$colour ;
$cmd .= -pointsize 8 -fill green ;
$cmd .= -stroke black ;
$cmd .=  -draw 'text 10,55 \$i\' ;
$cmd .= icon_$i.jpg ;

# Run it
`$cmd`;
}


[0] http://www.imagemagick.org/Usage/draw/#specifics
-- 
Avi

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/