Re: London Perl Conference 2013 photos

2013-12-03 Thread Aaron Trevena
I've also got some pics up at
https://plus.google.com/photos/102381504977265553584/albums/5952417348817549217
(including some from the trip to and from LPW) - not as good as
Chris's - again, mail me off list if you want your face (even more)
pixelated/blurred for privacy :)

A


I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Aaron Trevena
So.. some of you might know I quite like bikes.. I now have a proper
bikeshed (or at least I will once I've built and attached the doors
tonight) - and I was hoping you nice people could give me some helpful
suggestions.

Thanks in advance,

A.

-- 
Aaron J Trevena, BSc Hons
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Consulting


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Will Crawford
There's a helpful site at http://red.bikeshed.org/ ... no, wait, ...
http://blue.bikeshed.org/ which might help.

On 3 December 2013 14:14, Aaron Trevena aaron.trev...@gmail.com wrote:
 So.. some of you might know I quite like bikes.. I now have a proper
 bikeshed (or at least I will once I've built and attached the doors
 tonight) - and I was hoping you nice people could give me some helpful
 suggestions.

 Thanks in advance,

 A.

 --
 Aaron J Trevena, BSc Hons
 http://www.aarontrevena.co.uk
 LAMP System Integration, Development and Consulting


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Peter Sergeant
On Tue, Dec 3, 2013 at 2:14 PM, Aaron Trevena aaron.trev...@gmail.comwrote:

 So.. some of you might know I quite like bikes.. I now have a proper
 bikeshed (or at least I will once I've built and attached the doors
 tonight) - and I was hoping you nice people could give me some helpful
 suggestions.


Have you seen what colour yaks are under their fur?


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Abigail
On Tue, Dec 03, 2013 at 02:14:40PM +, Aaron Trevena wrote:
 So.. some of you might know I quite like bikes.. I now have a proper
 bikeshed (or at least I will once I've built and attached the doors
 tonight) - and I was hoping you nice people could give me some helpful
 suggestions.
 


Fishnets.


Abigail


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread David Cantrell
On Tue, Dec 03, 2013 at 02:14:40PM +, Aaron Trevena wrote:

 So.. some of you might know I quite like bikes.. I now have a proper
 bikeshed (or at least I will once I've built and attached the doors
 tonight) - and I was hoping you nice people could give me some helpful
 suggestions.

It Depends, of course.

I think you need to post photos of where it's going to be.

-- 
David Cantrell
Professor of Unvironmental Science
University of Human Progress


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Roger Bell_West
On Tue, Dec 03, 2013 at 02:14:40PM +, Aaron Trevena wrote:
So.. some of you might know I quite like bikes.. I now have a proper
bikeshed (or at least I will once I've built and attached the doors
tonight) - and I was hoping you nice people could give me some helpful
suggestions.

The last one I built was made from salvaged pallets and freecycle
stuff, cost about a quid for the fixings, and didn't need to be
painted at all:

http://firedrake.org/roger/cycling/hutch.jpg


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Bob Walker

On Tue, 3 Dec 2013, Aaron Trevena wrote:


So.. some of you might know I quite like bikes.. I now have a proper
bikeshed (or at least I will once I've built and attached the doors
tonight) - and I was hoping you nice people could give me some helpful
suggestions.

Thanks in advance,



my preference is stated in my sig.

--
bob walker
everything should be purple and bendy
http://randomness.org.uk




Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Kent Fredric
On 4 December 2013 03:30, Will Crawford billcrawford1...@gmail.com wrote:
 There's a helpful site at http://red.bikeshed.org/ ... no, wait, ...
 http://blue.bikeshed.org/ which might help.


I would just like to convey my disappointment that mauve.bikeshed.org
renders as blue.

-- 
Kent


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Paul Makepeace
On Tue, Dec 3, 2013 at 3:21 PM, Kent Fredric kentfred...@gmail.com wrote:

 I would just like to convey my disappointment that mauve.bikeshed.org
 renders as blue.

Wait 'til you see http://cream.bikeshed.org/

I think we should table a meeting to discuss a revised painting review
process going forward.

Paul


Re: Regex teaser

2013-12-03 Thread Yitzchak Scott-Thoennes
On Tue, Dec 3, 2013 at 3:54 PM, Paul Makepeace pa...@paulm.com wrote:
 What does this output?

 $ perl -le '($a = aabbb) =~ s/b*$/c/g; print $a'

 Cunning multilinguists may also answer the same question of these,
 (which nominally do the same thing)

 $ ruby -e 'p aabbb.gsub(/b*$/, c)'

 $ python -c import re; print re.sub(r'b*$', 'c', 'aabbb')

Nominally?  python 2.7.4 didn't for me.


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Yitzchak Scott-Thoennes
On Tue, Dec 3, 2013 at 3:48 PM, Paul Makepeace pa...@paulm.com wrote:
 On Tue, Dec 3, 2013 at 3:21 PM, Kent Fredric kentfred...@gmail.com wrote:

 I would just like to convey my disappointment that mauve.bikeshed.org
 renders as blue.

 Wait 'til you see http://cream.bikeshed.org/

 I think we should table a meeting to discuss a revised painting review
 process going forward.

Is it spell correcting the domain names?  It should use
http://xkcd.com/color/rgb.txt


Re: Regex teaser

2013-12-03 Thread James Laver
On 3 Dec 2013, at 23:54, Paul Makepeace pa...@paulm.com wrote:

 What does this output?
 
 $ perl -le '($a = aabbb) =~ s/b*$/c/g; print $a’

You can tell you’ve been writing perl too long when you know what that’s going 
to do and why :(

Here’s your example modified to exhibit my favourite regex madness. Can you 
explain this one?

perl -le '($a = aabbb) =~ s/.*?/./g; print $a’

James





Re: Regex teaser

2013-12-03 Thread Simon Cozens

On 04/12/2013 08:54, Paul Makepeace wrote:

$ perl -le '($a = aabbb) =~ s/b*$/c/g; print $a'


Why... oh. That's clever. Yes.

For those like me who are slow and can't immediately see why that does what it 
does, here are some hints:


What does perl -le '($a = aabbb) =~ s/b+$/c/g; print $a' do?

What would s/b*$/c/g do if there aren't any bs at the end of the matched 
string?

How many bs are matched to produce the first c? How many bs are matched 
produce the second c?




Re: Regex teaser

2013-12-03 Thread Mark Fowler
On Tue, Dec 3, 2013 at 6:54 PM, Paul Makepeace pa...@paulm.com wrote:

 $ perl -le '($a = aabbb) =~ s/b*$/c/g; print $a'

This is where tools like Regexp::Debugger shine.  Running

 perl -le 'use Regexp::Debugger; ($a = aabbb) =~ s/b*$/c/g; print $a'

Shows exactly why it gives the output it does (if you hit n for next a lot)

Mark.


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Kent Fredric
On 4 December 2013 12:48, Paul Makepeace pa...@paulm.com wrote:

 Wait 'til you see http://cream.bikeshed.org/

 I think we should table a meeting to discuss a revised painting review
 process going forward.


What the hell.

http://blanc.bikeshed.org/

Why is it mauve?

-- 
Kent


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Kent Fredric
On 4 December 2013 13:40, Yitzchak Scott-Thoennes sthoe...@gmail.com wrote:
 Is it spell correcting the domain names?  It should use


Ah, I think I cracked it.

Its literally translating the domain name directly into the bgcolour=

field of a page.

And the colours we're providing simply aren't in our browsers dictionary.

So ... its interpreting it as hex.

And non hex characters as 0's


blanc - b0a0c0 - http://www.color-hex.com/color/b0a0c0

mauve - 0a00ve0 - http://www.color-hex.com/color/0a00e0

cream - c0ea00 - http://www.color-hex.com/color/c0ea00

Wow. Web standards eh.

-- 
Kent


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread James Laver

On 4 Dec 2013, at 01:17, Kent Fredric kentfred...@gmail.com wrote:

 On 4 December 2013 13:40, Yitzchak Scott-Thoennes sthoe...@gmail.com wrote:
 Is it spell correcting the domain names?  It should use
 
 And the colours we're providing simply aren't in our browsers dictionary.
 
 So ... its interpreting it as hex.
 
 And non hex characters as 0’s

I always wondered why ‘monkey’ was a bright blue. http://monkey.bikeshed.org/

James