operand overwrites the second. Maybe put the * inside the parens and then
parse the list of operands in a second step?
--
Andy Armstrong, Hexten
.
--
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 keyboards
.
--
Andy Armstrong, Hexten
it? :)
--
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.
not available
in the UK store.
--
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
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
the day - 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's
not.
--
Andy
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
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 more of
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 you might
-relationships-sect-project-dependencies.html
--
Andy Armstrong, Hexten
- 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
writing most of our new services in Java with a toolchain
that makes a lot of dependency management problems go away :)
--
Andy Armstrong, Hexten
senses). Linux laptop, webcam, ffmpeg, script in $language, server.
In fact that sounds like a good weekend project...
--
Andy Armstrong, Hexten
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
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
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
:)
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
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 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 usually resort to installing ImageMagick
-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
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
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
- that narrows it down a tad more.
--
Andy Armstrong, Hexten
as possible so the bulk of the test coverage is
in the layers below it.
--
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
).
Thanks! Why's it a bad choice if I'm working from home?
--
Andy Armstrong, Hexten
.
Useful info can be gleaned by asking around on #aaisp on irc,z.je
Aha. Thanks again.
--
Andy Armstrong, Hexten
to 2.5Mb rather than up to 1.3Mb)
Referrer: yes please :)
--
Andy Armstrong, Hexten
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
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
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
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
you're doing it wrong :)
--
Andy Armstrong, Hexten
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
should be the same.
--
Andy Armstrong
be enticed to have drinks tomorrow night. Is there a
plan? Should there be one?
--
Andy Armstrong, Hexten
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
with anyone?
Thanks.
(see some of you this w/e)
--
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
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
) stopped all the fun?
--
Andy Armstrong, Hexten
or requirements.
Indeed. Maybe I should pimp myself out as a Perl recruitment
consultant :)
--
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
. I'm going to have to move to bloody London aren't I? :)
--
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
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
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
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
tomorrow.
--
Andy
to uninstall ubuntu-desktop. Just
install kubuntu-desktop / whatever alongside and you'll get additional
login session options.
--
Andy Armstrong, Hexten
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
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
- 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
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?
--
Andy
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
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
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
hours. The two sites aren't quite in sync.
--
Andy Armstrong, Hexten
downloading it all.
--
Andy Armstrong, Hexten
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
of optmisation:
Rule 1: don't optimise.
Rule 2: (experts only) don't optimise - yet.
--
Andy Armstrong, Hexten
datasets,
and, realistically perf testing.)
Yeah, excuse the sloppy generalisation :)
--
Andy Armstrong, Hexten
will be faster in the non-empty case.
--
Andy Armstrong, Hexten
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;
use
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 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 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
)
because, for some reason, I found it amusing.
--
Andy Armstrong, Hexten
of numeric 1.
But not really...
--
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
)
--
Andy Armstrong, Hexten
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
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 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
.
Would you compile C with warnings turned off?
--
Andy Armstrong, Hexten
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
On 18 Dec 2008, at 12:39, Andy Wardley wrote:
Behold!
http://london.pm.org/
Lovely!
--
Andy Armstrong, Hexten
preventing me from even playing
my Duran Duran CD on my computer).
s/prevented/saved/
All Hail DRM! :)
--
Andy Armstrong, Hexten
good. I like.
--
Andy Armstrong, Hexten
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 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 drive
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
a and 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
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
be early adopters of Perl 6 where they can make the
language look exactly how they want it to :)
--
Andy Armstrong, Hexten
with a huge gulf in our
mental models of the world.
But ~~ isn't the same as in - it's a smart match not an inclusion test.
--
Andy Armstrong, Hexten
On 7 Oct 2008, at 16:04, Paul Makepeace wrote:
... is starting to frustrate me. It's the one feature I am finding I'm
really missing from That Other Language.
if ($bar in @foo) {
# ...
}
Smart match innit?
use 5.010;
if ( $bar ~~ @foo ) {
# ...
}
--
Andy Armstrong, Hexten
.
--
Andy Armstrong, Hexten
of tiny screws and an
intricate jigsaw puzzle of shielding.
--
Andy Armstrong, Hexten
://perltraining.com.au/tips/2008-04-18.html
--
Andy Armstrong, Hexten
- or at least are accustomed to - how
it looks.
--
Andy Armstrong, Hexten
a
fixed bit field to represent filenos there's an upper limit on the
filenos you can select on. What does this print?
#include sys/select.h
#include stdio.h
int main( void ) {
printf( %d\n, FD_SETSIZE );
return 0;
}
--
Andy Armstrong, Hexten
Nigel Hamilton wrote:
One advantage of the pipe is I can GZIP it as it goes ... server survival
is the first thing though time for a beer too! :-)
You're going to gzip the traffic through the pipes? Is that a
performance thing?
--
Andy Armstrong, Tagish
1 - 100 of 101 matches
Mail list logo