the pattern - so the
third operand overwrites the second. Maybe put the * inside the parens and then
parse the list of operands in a second step?
--
Andy Armstrong, Hexten
ut of the keyboard does it? :)
--
Andy Armstrong, Hexten
kype chat's use of IRC commands.
--
Andy Armstrong, Hexten
On 24 Jan 2012, at 15:47, Andy Armstrong wrote:
> You have to order them with a US keyboard - or swap it - to get a # key and a
> decent Enter key instead of the nasty hockey stick thing. You can order US
> keyboards from the UK store.
Specifically you can order laptops with US
ore.
--
Andy Armstrong, Hexten
On 23 Jan 2012, at 20:13, Nicholas Clark wrote:
> But I think I'd feel the same about upgrading this laptop from Snow Leopard
> to Lion. In particular, the missing scrollbars.
Best bit :)
Makes me realised how much I always resented the space they took.
--
Andy Armstrong, Hexten
On 12 Sep 2011, at 10:04, Piers Cawley wrote:
> Hmm... that would be on my birthday? Within walking distance of where
> I work? I think it likely that I shall be there.
Me too. Well apart from the birthday bit.
ocked.com/blog/?p=431
Aha! Capitalism saves the day - thanks! :)
--
Andy Armstrong, Hexten
On 27 Aug 2011, at 17:01, Sue Spence wrote:
> While we're on this topic, I have a small US$ gift certificate for
> iTunes which I'll gladly give to anyone who can use it.
Is it $10 or more? If so I'll happily buy it from you :)
--
Andy Armstrong, Hexten
On 27 Aug 2011, at 16:39, Peter Edwards wrote:
>> I don't suppose there's a fee transfer payment available for this out of
> Charles Taylor's off-shore Liberian assets?
>
> :-p
Sure, why not? That makes the whole deal sound much more salubrious :)
--
Andy Armstrong, Hexten
ther than the UK?
I want to buy "Art & Copy"
(http://itunes.apple.com/us/movie/art-copy/id367932152) and it's not available
in the UK store.
--
Andy Armstrong, Hexten
g on it without a US
based payment source.
So the transaction would look like this:
a) I send you some money via PayPal
b) you buy me a US-based iTunes gift certificate
Anyone up for that? :)
Thanks.
--
Andy Armstrong, Hexten
On 9 Aug 2011, at 11:32, Anton Berezin wrote:
> Anyone has any idea who is behind the site?
>
> Perl might be alive, but ad...@perlisalive.com is surely pretty dead. :-/
whois says Simon Wilcox.
Nothing says that Perl's dead quite as eloquently as a site claiming that it
On 25 Jul 2011, at 14:34, Smylers wrote:
> Hello. How big is Gatwick Airport? More specifically, about how long do
> I need to allow for walking from its railway station to the check-in
> hall ('Terminal S', according to my ticket)?
It's pretty small. There's a shuttle between the terminals which
: which will cause your mail to be threaded
> with the old one. Which is exactly what you told your client and the
> list to do, but almost certainly not what you *wanted* to do.
http://www.jwz.org/doc/threading.html
--
Andy Armstrong, Hexten
On 30 Jun 2011, at 21:18, Dan Brook wrote:
> You can just dispatch on a string e.g
>
> if(exists $possible_classes{$t}) {
>my $class = ucfirst $t;
>$class->new(@args);
> }
>
> Filling in %possible_classes is left as an exercise to the reader.
If you're going to have a validation hash y
On 30 Jun 2011, at 20:54, Ian Knopke wrote:
> Hi everyone,
>
> I have a whole list of subobjects of the form:
>
> foreach my $t(@types){
>
>if ($t eq 'first'){
>Top::First->new(@args);
>} elsif ($t eq 'second') {
>Top::Second->new(@args);
>} elsif
> (add 20
uot;. Feh!
Amusingly quite a lot of Adobe software will refuse to install on a case
sensitive HFS filesystem. The list includes most / all of the creative suite,
Premiere, Flash Builder.
--
Andy Armstrong
book/reference/pom-relationships-sect-project-dependencies.html
--
Andy Armstrong, Hexten
?
Short answer: we're writing most of our new services in Java with a toolchain
that makes a lot of dependency management problems go away :)
--
Andy Armstrong, Hexten
g
those dependencies - i.e. the TCO of a Perl app - is the main reason we're not
favouring Perl for new applications at the Beeb.
--
Andy Armstrong, Hexten
the event more 'real' in some sense for people who
could have attended but didn't for whatever reason. I don't know.
However - big +1 to the idea of decent screencasts. As usual tuits will be the
problem.
--
Andy Armstrong, Hexten
I suppose if you have a live webcast you can then have a distributed Q&A
session after the talk.
To be clear I'm saying it'd be a fun thing to do - I'm not suggesting that it's
going to significantly improve the quality of anyone's life.
--
Andy Armstrong, Hexten
e the bits in
both senses). Linux laptop, webcam, ffmpeg, script in $language, server.
In fact that sounds like a good weekend project...
--
Andy Armstrong, Hexten
rk lets me do it on Photobox time, sure :)
Ah :)
> Is there anything decent on Confluence yet about it?
Nothing yet - Joel hasn't quite got it working - but he seems close.
--
Andy Armstrong, Hexten
t doing the same thing across at DMI Dave - why don't you swing by
White City 3354 sometime and chat with Joel Korn - our build engineer. If
you're coming give me a shout first.
--
Andy Armstrong, Hexten
perl", because (as I've just found
> from a few posts on the interweb) it simply doesn't compile with the system
> level Perl, and I don't have a non-system Perl installed.
I always install my own Perl on development boxes - then I can botch around
with it without breaking sysperl :)
--
Andy Armstrong, Hexten
l -MConfig -MData::Dumper -e '@c=(split "=", $Config{shrpenv}, 2);
print $c[-1]')
echo "Perl lib: $plib"
LDFLAGS="-L/alt/local/lib -L$plib" ./configure \
--prefix=/alt/local \
--with-perl
(I keep a non-system Perl installed below /alt/local)
--
Andy Armstrong, Hexten
On 28 Oct 2010, at 13:42, David Cantrell wrote:
> On Thu, Oct 28, 2010 at 01:10:50PM +0100, Andy Armstrong wrote:
>> On 28 Oct 2010, at 12:03, Christopher Jones wrote:
>>> Has anyone on London.pm had success installing PerlMagick on a Mac?
>> Yeah - it's painful. I
On 28 Oct 2010, at 12:03, Christopher Jones wrote:
> Has anyone on London.pm had success installing PerlMagick on a Mac?
Yeah - it's painful. I usually resort to installing ImageMagick from source.
--
Andy Armstrong, Hexten
On 25 Aug 2010, at 14:28, David Cantrell wrote:
> Bonus points if it works with SQLite. Brickbats if it requires mod_perl
> or similar or Java.
Ruby? :)
--
Andy Armstrong, Hexten
On 5 May 2010, at 21:48, Peter Edwards wrote:
> On election night? I will be at teh count as I'm a candidate. Maybe next
> month :->
Bon chance!
--
Andy Armstrong, Hexten
too much :)
Wasn't me - that narrows it down a tad more.
--
Andy Armstrong, Hexten
s skinny as possible so the bulk of the test coverage is
in the layers below it.
--
Andy Armstrong, Hexten
pt that after their
> recent spate of continual cockup, they've shown themselves to be not
> only incompetent but also cocks.
>
> Be gets my vote.
Thanks James.
--
Andy Armstrong, Hexten
'pro' if you want more
> upstream (up to 2.5Mb rather than up to 1.3Mb)
Referrer: yes please :)
--
Andy Armstrong, Hexten
units on a BE line even at
> minimum tarriff.
>
> Useful info can be gleaned by asking around on #aaisp on irc,z.je
Aha. Thanks again.
--
Andy Armstrong, Hexten
> via BE rather than BT if you want speed).
Thanks! Why's it a bad choice if I'm working from home?
--
Andy Armstrong, Hexten
I'm in a flat in Wandsworth. I'd like a fat and relatively unmetered broadband
package. Who are we liking at the moment?
--
Andy Armstrong, Hexten
On 27 Mar 2010, at 21:58, Mike Whitaker wrote:
> Ah, look at all the london Perlers x 2
[snip]
Applause! I like that.
For the record the Ray Charles version of Eleanor Rigby is the bestest and I'm
sure Piers is at least as good as Ray Charles, right?
--
Andy Armstrong, Hexten
On 26 Mar 2010, at 13:49, Chris Devers wrote:
> What, you guys didn't get Laserdisc over there?
Oh yes: http://en.wikipedia.org/wiki/BBC_Domesday_Project
--
Andy Armstrong, Hexten
of White
City. There should be people to meet you - I'm planning to be there. You're not
allowed to roam around on your own inside anyway :)
If anyone's lost my mobile is 07710 427937.
--
Andy Armstrong, Hexten
On 16 Mar 2010, at 18:42, Paul wrote:
> For Thursday's meet, how is parking there?
I don't know if it's optimal - but there's plenty of (non free) parking at
Westfield which is < 1km from White City.
--
Andy Armstrong, Hexten
re interested and I'll bring them along to the next
> meeting. I'm only interested in handing over shirts for cash in person - so
> please make sure that you (or your representative) can be at the meeting with
> the money.
Large Perl Foundation polo please. Since it's TPF let's make it 20 eh? :)
--
Andy Armstrong, Hexten
gt; MR_2898.pdf 01f73c142dae9f9f403bbab543b6aa6f 32
> PR_A02.pdf 5552e6587357f9967dc0bc83153cca63 32
> mr_485_htu_hrt.pdf 116caa6cc1705db23a36feb11c8c4113 32
> PR_A01.pdf 5552e6587357f9967dc0bc83153cca63 32
Oh and run them through md5 in the shell to see what you get - the results
shoul
dc0bc83153cca63 32
If those files are different you're doing it wrong :)
--
Andy Armstrong, Hexten
On 3 Dec 2009, at 14:59, Dave Cross wrote:
> Wikis are good :)
>
> http://conferences.yapceurope.org/lpw2009/wiki?node=Friday%20Night%20Meetup
Well I know that now! :)
--
Andy Armstrong, Hexten
gt;
>
> (also available on a wiki: http://conferences.yapceurope.org/lpw2009/wiki )
Oh the wiki. Yes, I guess I should have looked there... Sorry :)
Probably see folks there then.
--
Andy Armstrong, Hexten
to LPW. I could be enticed to have drinks tomorrow night. Is there a
plan? Should there be one?
--
Andy Armstrong, Hexten
On 2 Dec 2009, at 17:29, jesse wrote:
> I...totally remember that. Perhaps it was Namp! (Linked from
> perl.apache.org)
Ah - I reckon that's it. Thanks Jesse :)
--
Andy Armstrong, Hexten
anyone?
Thanks.
(see some of you this w/e)
--
Andy Armstrong, Hexten
On 22 Sep 2009, at 17:08, James Laver wrote:
Sent from my android phone, please forgive my brevity.
Why would anyone have to forgive brevity? :)
"I'm sorry this letter is so long. I didn't have time to write a short
one"
--
Andy Armstrong, Hexten
is fail dramatically. I strongly suspect that the BBC
didn't do any research into other companies which have tried
something like this. If they had, they might have approached this
differently.
Yes, now you mention it you did tell me this. Large organisation in
boneheaded move shocker...
--
Andy Armstrong, Hexten
ll be on hand to buy you a whiskey (port
finished Glenmorangie is my current favorite, thus, that's what I'll
inflict on you).
Well that alone seems like a pretty reasonable incentive :)
--
Andy Armstrong, Hexten
On 21 Sep 2009, at 16:14, David Cantrell wrote:
You could be the single solitary perl coder who volunteers to work at
BBC North ...
Tell me more...
--
Andy Armstrong, Hexten
James. I'm going to have to move to bloody London aren't I? :)
--
Andy Armstrong, Hexten
On 21 Sep 2009, at 15:11, Dominic Thoreau wrote:
Yesterday I saw on the bottom of a web page:
LOVEFiLM is powered by Perl and we are hiring.
http://www.lovefilm.com/corporate/jobs_info.html?editorial_id=4963
Cool, thanks :)
--
Andy Armstrong, Hexten
s or requirements.
Indeed. Maybe I should pimp myself out as a Perl recruitment
consultant :)
--
Andy Armstrong, Hexten
inces) stopped all the fun?
--
Andy Armstrong, Hexten
of the others to construe negatively. As Perl programmers we
ought to know from personal experience the negative impacts of
(being seen as) spreading FUD.
Well said. They should be gently self deprecating I think.
--
Andy Armstrong, Hexten
s a
Java programmer in a straight jacket bragging about how he's never
poked himself in the eye). Volunteer actors would be welcome, too.
Yeah! Could do some filming in Lisbon?
--
Andy Armstrong, Hexten
On 22 Jul 2009, at 21:36, David Cantrell wrote:
http://wms-map.sourceforge.net/
I had a look at that. Couldn't see any documentation.
I've hacked up a layer for Osmarender that displays OS landranger
tiles. Is that what you're after? If so I'll dig the source out
On 7 Jul 2009, at 18:41, James Laver wrote:
That's the bit i'm not sure about, whether it'll let you.
Last time I checked all the Ubuntu variants will just install on top
of a vanilla Ubuntu.
--
Andy Armstrong, Hexten
do what you mean.
I don't believe that you have to uninstall ubuntu-desktop. Just
install kubuntu-desktop / whatever alongside and you'll get additional
login session options.
--
Andy Armstrong, Hexten
On 17 May 2009, at 00:41, Adrian Lai wrote:
2009/5/17 Andy Armstrong :
So the question becomes what's the shortest one-liner that will
cause what
ps displays to be the same as what $0 contains?
My first attempt is
( $0 .= ' ' ) =~ s/ $//;
$0.='';
would a
f the 'perl ' from the process
name that ps sees - but only if you set $0 to something other than its
current value. Who knew.
So the question becomes what's the shortest one-liner that will cause
what ps displays to be the same as what $0 contains?
My first attempt is
( $0 .= ' ' ) =~ s/ $//;
--
Andy Armstrong, Hexten
While I'm here - if anyone (whether an attendee at last night's tech
meet or not) would like to work on this - please get in touch as
well. There are plenty of interesting things in this area.
/me waves :)
I missed the tech meet so could I start with a copy of the slides
please?
--
Andy Armstrong, Hexten
Those figures don't look too scary to me. Some of the RES allocations
will be COW shared if they were allocated pre-fork.
/me awaits illuminating corrections.
--
Andy Armstrong, Hexten
sing
(memory) altitude. Perl isn't especially keen on giving memory back to
the OS once it's used it; instead it keeps it hanging around and uses
it to satisfy future allocations.
--
Andy Armstrong, Hexten
On 9 Apr 2009, at 10:27, Edmund von der Burg wrote:
I have some Perl code which is being naughty with its memory.
If this were a speed issue I'd throw Devel::NYTProf at it.
What is the equivalent for memory usage?
Do you suspect that it's leaking or just using lots of memory
ng
to mitigate the damage. At this time the hacker has published
a fake dns zone on ns2.zoneedit.com and ns18.zoneedit.com
which contains, among other things, MX records for apache.org.
At this time we recommend avoiding sending any mail to apache.org
until further notice.
--
Andy Armstrong, Hexten
?
Just leave it a few hours. The two sites aren't quite in sync.
--
Andy Armstrong, Hexten
pipes, I
still have to then suck the data from them to my laptop over an
irritatingly thin pipe.
Perhaps someone else could do the sucking with their own pipe? :)
--
Andy Armstrong, Hexten
eone with a fat pipe downloading it all.
--
Andy Armstrong, Hexten
expected large datasets,
and, realistically perf testing.)
Yeah, excuse the sloppy generalisation :)
--
Andy Armstrong, Hexten
slow in practice.
The rules of optmisation:
Rule 1: don't optimise.
Rule 2: (experts only) don't optimise - yet.
--
Andy Armstrong, Hexten
On 2 Mar 2009, at 22:02, Nigel Peck wrote:
Andy Armstrong wrote:
$ perl bm-foolish-idea.pl
Rateempty_foreach empty_if_foreach
empty_foreach 5242880/s -- -74%
empty_if_foreach 20309304/s 287
On 2 Mar 2009, at 21:11, Andy Armstrong wrote:
Or is it a pointless question?
Yes :)
Benchmark it - but I bet there's not much difference - and the
second version will be faster in the non-empty case.
Oooh:
$ cat bm-foolish-idea.pl
#!/usr/bin/env perl
use strict;
use warnings
ll be faster in the non-empty case.
--
Andy Armstrong, Hexten
On 13 Feb 2009, at 13:49, Paul Makepeace wrote:
I like this a lot.
Since you're calling a sub, and the goal is to reduce typing, why
not just have,
if (IS_ARRAY($foo)) {
...
}
Yeah, could do - but it's more different from idiomatic Perl.
--
Andy Armstrong, Hexten
On 13 Feb 2009, at 13:05, Andy Wardley wrote:
For example:
use Badger::Constants 'ARRAY HASH';
if (ref $foo eq ARRAY) {
...
}
elsif (ref $foo eq HASH) {
...
}
I like this a lot.
--
Andy Armstrong, Hexten
On 12 Feb 2009, at 15:30, James Laver wrote:
It's "Genius" for '1' :-) Please to be clubbing the perpatrator to
death with a copy of their own wit and eurdition.
Although by rights it should be -1 on a twos complement machine.
! is boolean
--
Andy Armstrong, Hexten
manages to convey "boolean true" instead of "numeric 1".
But not really...
--
Andy Armstrong, Hexten
!TRUE)
because, for some reason, I found it amusing.
--
Andy Armstrong, Hexten
I rather like it. If you need
the speed of C, objects and the luxury of refcounted memory management
it's lot less offensive than C++. Maybe that's not saying much :)
--
Andy Armstrong, Hexten
not my nose, it’s a false one)
--
Andy Armstrong, Hexten
comparisons. So you can use == on
string objects just fine :-)
Is that true? I wasn't aware that ObjC did any operator overloading.
The use of == to compare objects (pointers) is valid in C - that's not
something that ObjC has added.
--
Andy Armstrong, Hexten
just fine:
I assumed Nick made a typo and meant "doesn't know its type *until*
run time". Perl does, of course, know the type of a variable at run
time.
--
Andy Armstrong, Hexten
warnings' - which is not at all obscure.
Would you compile C with warnings turned off?
--
Andy Armstrong, Hexten
On 28 Jan 2009, at 12:01, Paul Makepeace wrote:
Can you give an example where perl is doing something surprising to
you?
I assume the OP was surprised by:
$ perl -le 'print "a"=="b"'
1
--
Andy Armstrong, Hexten
If you're fortunate the
message
will identify which operator was so unfortunate.
Argument "a" isn't numeric in numeric eq (==) at -e line 1 (#1)
1
And this is in a language which is praised for its powerful
string handling !
Yes.
--
Andy Armstrong, Hexten
On 18 Dec 2008, at 12:39, Andy Wardley wrote:
Behold!
http://london.pm.org/
Lovely!
--
Andy Armstrong, Hexten
round DRM preventing me from even playing
my Duran Duran CD on my computer).
s/prevented/saved/
All Hail DRM! :)
--
Andy Armstrong, Hexten
it on.
Very good. I like.
--
Andy Armstrong, Hexten
ct init' => sub {
ok( my $object = my_test_mod->new(), 'init' );
};
As has already been said it's a good idea to name files according to the
main package that they provide. It's not mandatory but it's assumed by
lots of extant code.
--
Andy Armstrong, Hexten
On 10 Oct 2008, at 07:35, IvorW wrote:
Nah, he's just systematically stripping all that unfriendly
punctuation out of English.
No, he's stated he is capable of drawing the threads of your lies to a
conclusion, but nothing more.
My lies?
--
Andy Armstrong, Hexten
On 10 Oct 2008, at 10:24, Peter Haworth wrote:
On Tue, 7 Oct 2008 17:40:54 +0100, Andy Armstrong wrote:
I've twice swapped the drive on dead Mac laptops for a non-Apple
ones prior to sending them for repair. In both cases I kept the
original disk, chucked in whatever compatible laptop driv
On 10 Oct 2008, at 01:18, Dave Hodgkinson wrote:
On 9 Oct 2008, at 19:18, Iain Barnett wrote:
I can only conclude your fibbing
You're.
You lose. You get to keep PHP.
Nah, he's just systematically stripping all that unfriendly
punctuation out of English.
--
Andy Armstrong, Hexten
b are - so who knows what it does?
Which is not, of course, to say that you're wrong - but that
readability is - to some extent - in the eye of the beholder.
--
Andy Armstrong, Hexten
unite and fight
the true enemy - The Judean Popular Front.
For some reason the phrase "The narcissism of small differences" has
been on my mind a lot so far this week :)
--
Andy Armstrong, Hexten
1 - 100 of 111 matches
Mail list logo