Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Aristotle (5147)

Aristotle
  pagaltzis@gmx.de
http://plasmasturm.org/

Blah blah blah blah blah [technorati.com]
+ -

  Comment: Re:Let me guess… (Score 1) on 2010.09.03 9:17

by Aristotle on 2010.09.03 9:17 (#72367)
Attached to: Where in the world is the package lexpad?

Ah d’uh, you gave the solution at the end. Pfff.

Read More 2 comments
Comments: 2
+ -

  Comment: Let me guess… (Score 1) on 2010.09.03 9:12

by Aristotle on 2010.09.03 9:12 (#72366)
Attached to: Where in the world is the package lexpad?

try to figure out why jnthn++ named the IRC logs “the hottest footwear” recently

IRC logs → I.R. Clogs → infra-red clogs?

Read More 2 comments
Comments: 2
+ -

  Comment: And for fun: (Score 1) on 2010.08.26 10:18

by Aristotle on 2010.08.26 10:18 (#72349)
Attached to: Cute caps

sub uc_prop { # inefficient
  my $t = reverse shift;
  my $h = uc chop $t;
  return $h . reverse $t;
}

(Of course you can do the same thing more efficiently – and boringly:)

sub uc_prop {
  my $t = shift;
  my $h = uc substr $t, 0, 1, '';
  return $h . $t;
}

(The following one might be more efficient. Or it may not be.)

sub uc_prop {
  my $s = shift;
  my $h = uc substr $s, 0, 1, '';
  substr $s, 0, 0, $h;
  return $s;
}

(The first one is cool though.)

Read More 8 comments
Comments: 8
+ -

  Comment: Re:You know what I'd do? (Score 1) on 2010.08.22 8:22

by Aristotle on 2010.08.22 8:22 (#72339)
Attached to: Will parrot be the last one standing?

Good question. I am only passingly familiar with that clause (I esp. don’t know how battle-tested it is); so I didn’t think of it, and can’t say right now. Passing the ball back to you – what do you think of it?

(Huh. If the GPL2 patent grant is strong enough for this, that would mean Android is actually more vulnerable than a JDK fork would be. Bizarre…)

Read More 6 comments
Comments: 6
+ -

  Comment: Re:You know what I'd do? (Score 1) on 2010.08.20 23:12

by Aristotle on 2010.08.20 23:12 (#72336)
Attached to: Will parrot be the last one standing?

Google did call theirs something different.

They’re being sued over patent violation.

Now Sun did extend a patent protection grant to conforming implementations of Java. And the JVM is conforming and free.

But the test suite that determines conformance is not free, or even available under any terms.

So good luck with that plan.

Read More 6 comments
Comments: 6
+ -

  Comment: Re:Not sure if a DB dump is enough (Score 1) on 2010.08.13 19:41

by Aristotle on 2010.08.13 19:41 (#72311)
Attached to: use Perl;

Setting up a site that 301s all permalinks on the use.perl domain to corresponding migrated pages some other site shouldn’t be too hard if the migration and redirector are both based off the same dump, and the dump has enough information to infer the use.perl URLs, though. I’ve done that sort of thing before.

Read More 15 comments
Comments: 15
+ -

  Comment: Re:You know you're not wanted in #perl. (Score 1) on 2010.08.11 20:14

by Aristotle on 2010.08.11 20:14 (#72298)
Attached to: Matt Trout, aka mst, is insane

Yeah, why would they?

Read More 17 comments
Comments: 17
+ -

  Comment: Re:semantics vs syntax (Score 1) on 2010.08.11 0:17

by Aristotle on 2010.08.11 0:17 (#72281)
Attached to: Protesting the Moose with sugary alternatives

The composition order of roles is not an implementation detail of Moose; it’s a design concern of the creator of the class into which the roles get composed. To ask for it to be abstracted away is like calling maths is badly designed because 3 + 5 * 2 yields different results based on the order in which you evaluate the terms.

Read More 17 comments
Comments: 17
+ -

  Comment: Re:Caching doesn't need email (Score 1) on 2010.08.11 0:01

Oh, and the people who built Testers 2.0 put in a lot of overtime to ship it in time before the Testers 1.0 kill date.

Read More 9 comments
Comments: 9
+ -

  Comment: Re:Caching doesn't need email (Score 1) on 2010.08.10 23:57

Yes, that is progress. The servers running the mail load for CPAN Testers 1.0 could not keep up, and the machines are graciously donated and the system administration is a volunteer effort. They could not afford to continue providing services to Testers 1.0; the mail pipe had to be turned off. This is why Testers 2.0 was designed – not because some people got an itch to engage in architecture astronautics or arbitrarily decided that email was passé. Whatever you think of the new system, the old one is going to stop working, no ifs or buts.

If you ask me, a system that will continue operating clearly beats one that is about to stop.

Read More 9 comments
Comments: 9
+ -

  Comment: Re:install_test (Score 1) on 2010.08.10 23:47

by Aristotle on 2010.08.10 23:47 (#72278)
Attached to: Test::Builder2::Design

Are you really hankering so badly for even more tests to run? ;-)

Read More 3 comments
Comments: 3
+ -

  Comment: Re:Hey, that's me. (Score 1) on 2010.07.31 16:52

by Aristotle on 2010.07.31 16:52 (#72225)
Attached to: For people running Perl conferences

Makes sense… catching mistakes at compile time is better. :-)

Read More 18 comments
Comments: 18
+ -

  Comment: Re:do FIRST not BEFORE (Score 1) on 2010.07.18 15:49

by Aristotle on 2010.07.18 15:49 (#72177)
Attached to: Phasers are a blast: FIRST and LAST

Oops. That won’t work for LAST, though it does for FIRST. Hmm.

Read More 13 comments
Comments: 13
+ -

  Comment: Re:do FIRST not BEFORE (Score 1) on 2010.07.18 15:47

by Aristotle on 2010.07.18 15:47 (#72176)
Attached to: Phasers are a blast: FIRST and LAST

for 1..3 {
    my $first; FIRST { $first = 1 }
    my  $last;  LAST {  $last = 1 }

    say "enter";
    if $first { say "first run" }
    if $last  { say "last run" }
    say "leave"
}

Read More 13 comments
Comments: 13
+ -

  Comment: Re:Wall obsession? (Score 1) on 2010.06.24 21:11

Not these days so much, and I’m hoping it’s all in the past at this point.

Read More 7 comments
Comments: 7