<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<!-- name="generator" content="blosxom/2.0" -->
<channel  rdf:about="http://perlgeek.de/blog-en/">
    <title>Perlgeek.de   </title>
    <link>http://perlgeek.de/blog-en/</link>
    <description>Perl and Programming Blog.</description>
</channel>

  <item rdf:about="http://perlgeek.de/blog-en/perl-6/perl-6-in-2011.html">
 <title>Perl 6 in 2011 - A Retrospection</title>
  <link>http://perlgeek.de/blog-en/perl-6/perl-6-in-2011.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Sat, Dec 31 10:00:00 2011</pubDate>
    <description>&lt;!-- 1325322000 --&gt;
&lt;p&gt;The change of year is a good occasion to look back. Here I want to
reflect on the development of Perl 6, its compilers and ecosystem.&lt;/p&gt;

&lt;p&gt;At the start of the year, masak's &lt;a
href=&quot;http://strangelyconsistent.org/p6cc2010/&quot;&gt;Perl 6 Coding Contest&lt;/a&gt;
continued from 2010, concluding in the &lt;a
href=&quot;http://strangelyconsistent.org/blog/announcing-the-winner-of-p6cc2010&quot;&gt;announcement
of the winner&lt;/a&gt;. I must admit that I still haven't read all the books I
won :-)&lt;/p&gt;

&lt;h2&gt;Specification&lt;/h2&gt;

&lt;p&gt;2011 was a rather quiet year in terms of spec changes; they were a
mixture of responses to compiler writer and user feedback, and
some simplifications and cleanups.&lt;/p&gt;

&lt;p&gt;Positional parameters used to be allowed to be called by name; this
feature is now gone. That both makes the signature binder simpler, and
removes accidental dependencies on names that weren't meant to be public.
Read the &lt;a href=&quot;https://gist.github.com/984783&quot;&gt;full justification&lt;/a&gt;
for more background.&lt;/p&gt;

&lt;p&gt;A small change that illustrates the cleanup of old, p5-inherited features
was the change that &lt;a
href=&quot;https://github.com/perl6/specs/commit/e84b11137cc55ecd9f17f58976c08d361054ea05&quot;&gt;made
&amp;amp;eval stop catching exceptions&lt;/a&gt;. There is really no good reason for it
to catch them, except Perl 5 legacy.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;say&lt;/code&gt; now uses a different stringification than
&lt;code&gt;print&lt;/code&gt;. The reasoning is that &lt;code&gt;print&lt;/code&gt; is aimed at
computer-readable output, whereas &lt;code&gt;say&lt;/code&gt; is often used for
debugging. As an example, undefined values stringify to the empty string
(and produce a warning), whereas &lt;code&gt;say&lt;/code&gt; calls the &lt;code&gt;.gist&lt;/code&gt;
method on the object to be said, which produces the type name on undefined
values.&lt;/p&gt;

&lt;p&gt;An area that has been greatly solidified due to implementation progress is
&lt;em&gt;Plain Old Documentation&lt;/em&gt; or &lt;em&gt;Pod&lt;/em&gt;. Tadeusz Sośnierz' Google
Summer of Code project ironed out many wrinkles and inconsistencies, and
changed my perception of this part of the spec from &quot;speculative&quot; to &quot;under
development&quot;.&lt;/p&gt;

&lt;h2&gt;Rakudo&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;http://rakudo.org/&quot;&gt;Rakudo&lt;/a&gt; underwent a huge refactoring this year; it is now &lt;a
href=&quot;http://pmthium.com/2011/02/08/new-nqp-repository-new-nom-rakudo-branch/&quot;&gt;bootstrapped
by a new compiler called &quot;nqp&quot;, and uses a new object model&lt;/a&gt; (nom).&lt;/p&gt;

&lt;p&gt;It allows us to gain speed and memory advantages from gradual typing; for
example the &lt;a
href=&quot;https://github.com/colomon/mandelbrot/blob/master/bin/mandelbrot-color.pl&quot;&gt;mandelbrot
fractral generator&lt;/a&gt; used to take 18 minutes to run on a machine of mine,
and now takes less than 40 seconds. Speedups in other areas are not as big,
but there is still much room for improvement in the optimizer.&lt;/p&gt;

&lt;p&gt;With the nom branch came support for different object representations. It
makes it possible to store object attributes in simple C-like structs, which
in turn makes it much easier and more convenient to &lt;a
href=&quot;https://github.com/jnthn/zavolaj/&quot;&gt;interoperate with C
libraries&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Tadeusz' work on Pod gave Rakudo support for converting Pod to plain text
and HTML, and attach documentation objects to routines and other objects.&lt;/p&gt;

&lt;p&gt;Rakudo now also has lazy lists, much better role handling, &lt;a
href=&quot;http://news.perlfoundation.org/2011/02/hague-grant-application-struct.html&quot;&gt;typed
exceptions for a few errors&lt;/a&gt;, the &lt;code&gt;-n&lt;/code&gt; and &lt;code&gt;-p&lt;/code&gt; command
line options, support for big integers, NFA-based support for proto regexes
and improvements to many built-in functions, methods and operators.&lt;/p&gt;


&lt;h2&gt;Niecza&lt;/h2&gt;

&lt;p&gt;It is hard to accurately summarize the development of &lt;a
href=&quot;https://github.com/sorear/niecza/&quot;&gt;Niecza&lt;/a&gt; in a few
sentences; instead of listing the many, many new features I should give
an impression on how it feels and felt for the user.&lt;/p&gt;

&lt;p&gt;At the start of 2011, programming in niecza was a real adventure. Running 
some random piece of Perl 6 code that worked with Rakudo rarely worked, most
of the time it hit a missing built-in, feature or bug.&lt;/p&gt;

&lt;p&gt;Now it often just works, and usually much faster than in Rakudo. There are
still some missing features, but Stefan O'Rear and his fellow contributors
work tirelessly on catching up to Rakudo, and it some areas Niecza is clearly
ahead (for example Unicode support in regexes, and longest-token
matching).&lt;/p&gt;

&lt;p&gt;Since Niecza is implemented on top of the Common Language Runtime (CLR)
(which means .NET or mono), it makes it easy to use existing CLR-based
libraries. Examples include &lt;a
href=&quot;http://perl6advent.wordpress.com/2011/12/17/day-17-gtk-mandelbrot/&quot;&gt;an
interactive fractal generator&lt;/a&gt; and a small &lt;a
href=&quot;http://perl6advent.wordpress.com/2011/12/05/tetris-on-niecza/&quot;&gt;Tetris
game in Perl 6.&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Perlito&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;http://www.perlito.org/&quot;&gt;Perlito&lt;/a&gt; aims to be a minimal compiler
with multiple backends, which can be used for embedding and experimenting with
Perl 6. It had several releases in 2011, and has interesting features like a
Javascript backend.&lt;/p&gt;

&lt;h2&gt;Ecosystem&lt;/h2&gt;

&lt;p&gt;The presence of two usable compilers (and in the case of Rakudo, two viable
but very different branches) has led to many questions about the different
compilers. The new &lt;a href=&quot;http://perl6.org/compilers/features&quot;&gt;Perl 6
Compiler Feature matrix&lt;/a&gt; tries to answer the questions about the state of
the implemented features in the compilers.&lt;/p&gt;

&lt;p&gt;With &lt;a href=&quot;https://github.com/tadzik/panda/&quot;&gt;Panda&lt;/a&gt; we now have a
module installer that actually works with Rakudo. It still has some lengths to
go in terms of stability and feature completeness, but it is fun to work
with.&lt;/p&gt;

&lt;p&gt;The new &lt;a href=&quot;http://modules.perl6.org/&quot;&gt;Perl 6 Modules&lt;/a&gt; page gives
an overview of existing Perl 6 modules; we hope to evolve it into a real CPAN
equivalent.&lt;/p&gt;

&lt;h2&gt;Community&lt;/h2&gt;

&lt;p&gt;This year we had another &lt;a
href=&quot;http://perl6advent.wordpress.com/2011/12/01/perl-6-advent-calendar-2011/&quot;&gt;Perl
6 Advent Calendar&lt;/a&gt;, with much positive feedback both from the Perl 6
community and the wider programming community.&lt;/p&gt;

&lt;p&gt;We were also happy to welcome several new prolific contributors to the Perl
6 compilers and modules. The atmosphere in the community still feels relaxed,
friendly and productive -- I quite enjoy it.&lt;/p&gt;

&lt;p&gt;The year ends like it started: with a &lt;a
href=&quot;http://strangelyconsistent.org/blog/the-2011-perl-6-coding-contest&quot;&gt;Perl
6 Coding Contest&lt;/a&gt;. This is a good opportunity to dive into Perl 6, provide
feedback to compiler writers, and most of all have fun.&lt;/p&gt;

 
</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/grant-report-errors-4.html">
 <title>Fourth Grant Report: Structured Error Messages</title>
  <link>http://perlgeek.de/blog-en/perl-6/grant-report-errors-4.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Mon, Dec 19 10:28:48 2011</pubDate>
    <description>&lt;!-- 1324286928 --&gt;
&lt;p&gt;Progress on my &lt;a
href=&quot;http://news.perlfoundation.org/2011/02/hague-grant-application-struct.html&quot;&gt;grant
for error message&lt;/a&gt; is slow but steady. Since my last report, I've done the
following things:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;Merged the &lt;code&gt;nom-exceptions&lt;/code&gt; Rakudo  branch, so now you
    can reliably throw Perl 6 objects as exceptions.&lt;/li&gt;
    &lt;li&gt;Implemented several error classes and roles in Rakudo&lt;/li&gt;
    &lt;li&gt;Started to throw typed errors both from runtime libraries and from
        inside the compiler&lt;/li&gt;
    &lt;li&gt;Hacked the default exception printer Rakudo to be much more flexible,
        for example you can now write exception classes that supress
        backtraces from the standard handler.&lt;/li&gt;
    &lt;li&gt;Wrote tests for typed run time and compile time errors, and at the
        same time developed a test function that makes it easy to write such
        tests.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's time for a quick review of how far I am along the various deliverables
in the original grant proposal.&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;D1: Specification. I think the hard work here is done already,
        what remains to do is finding good default and how to manipulate them
        (for example, how to generally switch on/off printing of
        backtraces?).&lt;/li&gt;
    &lt;li&gt;D2: Error catalogue, tests: I've not worked on this one too much.
        The error classes and roles so far mostly served to exercise the
        implementation; going through the existing errors from the various
        compilers and formalizing them will be quite a bit of work, but only
        moderately complicated.&lt;/li&gt;
    &lt;li&gt;D3: Implementation, documentation. Like D1, the hard part is mostly 
        done. We can now
       throw errors from within the compiler actions and from the setting,
       next up will be the grammar. Then all places where errors are thrown
       need to be changed to use the new error classes. Again that'll be much
       work, but easy to do. Documentation is still missing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All in all I feel I'm well on the way, and most complex decisions have been
made. &lt;/p&gt;


&lt;p&gt;For a more user oriented view of the new exception system I'd like to
point you to my &lt;a
    href=&quot;http://perl6advent.wordpress.com/2011/12/15/day-15-something-exceptional/&quot;&gt;Perl
    6 advent calendar post on exceptions&lt;/a&gt;.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/three-functions-of-smartmatch.html">
 <title>The Three-Fold Function of the Smart Match Operator</title>
  <link>http://perlgeek.de/blog-en/perl-6/three-functions-of-smartmatch.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Wed, Oct 12 11:37:08 2011</pubDate>
    <description>&lt;!-- 1318412228 --&gt;
&lt;p&gt;In Perl 5, if you want to match a regex against a particular
string, you write &lt;code&gt;$string =~ $regex&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;In the design process of Perl 6, people have realized that you cannot
only match against regexes, but lots of other things can act as
patterns too: types (checking type conformance), numbers, strings,
junctions (composites of values), subroutine signatures and so on. So
&lt;em&gt;smart matching&lt;/em&gt; was born, and it's now written as
&lt;code&gt;$topic ~~ $pattern&lt;/code&gt;. Being a general comparison mechanism
is the first function of the smart match operator.&lt;/p&gt;

&lt;p&gt;But behold, there were problems. One of them was the perceived need
for special syntactic forms on the right hand side of the smart match
operator to cover some cases. Those were limited and hard to
implement. There was also the fact that now we had two different ways
to invoke regexes: smart matching, and direct invocation as
&lt;code&gt;m/.../&lt;/code&gt;, which matches against the topic variable
&lt;code&gt;$_&lt;/code&gt;. That wasn't really a problem as such, but it was an
indicator of design smell.&lt;/p&gt;

&lt;p&gt;And that's where the second function of the smart match operator
originated: topicalization. Previously, &lt;code&gt;$a ~~ $b&lt;/code&gt; mostly
turned into a method call, &lt;code&gt;$b.ACCEPTS($a)&lt;/code&gt;. The new idea
was to &lt;a
href=&quot;https://github.com/perl6/specs/commit/f2dff276c272399a92a841818842ad663d70f23b&quot;&gt;set
the topic variable to $a in a small scope&lt;/a&gt;, which allowed many
special cases to go away. It also nicely unified with
&lt;code&gt;given $topic { when $matcher  { ... } }&lt;/code&gt;, which was
already specified as being a topicalizer.&lt;/p&gt;

&lt;p&gt;In the new model, &lt;code&gt;MATCH ~~ PAT&lt;/code&gt; becomes something like
&lt;code&gt;do { $_ = MATCH; PAT.ACCEPTS($_) }&lt;/code&gt; -- which means that if
&lt;code&gt;MATCH&lt;/code&gt; accesses &lt;code&gt;$_&lt;/code&gt;, it automatically does what the
user wants.&lt;/p&gt;

&lt;p&gt;Awesomeness reigned, and it worked out great.&lt;/p&gt;

&lt;p&gt;Until the compiler writers actually started to implement a few more
cases of regex matching. The first thing we noticed was that
&lt;code&gt;if $str ~~ $regex { ... }&lt;/code&gt; behaved quite unexpectedly.
What happend was that &lt;code&gt;$_&lt;/code&gt; got set to &lt;code&gt;$str&lt;/code&gt;,
the match was conducted and returned a Match object. And then called
&lt;code&gt;$match.ACCEPTS($str)&lt;/code&gt;, which failed. A quick hack around
that was to modify &lt;code&gt;Match.ACCEPTS&lt;/code&gt; to always return the
invocant (ie the Match on which it was called), but of course that was
only a stop gap solution.&lt;/p&gt;

&lt;p&gt;The reason it doesn't work for other, more involved cases of regex
invocations is that they don't fit into the &quot;does $a match $b?&quot;
schema. Two examples:&lt;/p&gt;

&lt;pre&gt;
# :g for &amp;quot;global&amp;quot;, all matches
my @matches = $str ~~ m:g/pattern/; 

if $str ~~ s/pattern/substitution/ { ... }
&lt;/pre&gt;

&lt;p&gt;People expect those to work. But global matching of a regex isn't a
simple conformance check, and that is reflected in the return value: a
list. So should we special-cases smart-matching against a list, just
because we can't get global matching to work in smart-matching
otherwise? (People have also proposed to return a kind of aggregate
Match object instead of a list; that comes with the problem that Match
objects aren't lazy, but lists are. You could &quot;solve&quot; that with a
LazyMatch type; watch the pattern of workarounds unfold...)&lt;/p&gt;

&lt;p&gt;A substitution is also not a simple matching operation. In Perl 5,
a s/// returns the number of successful substitutions. In Perl 6, that
wouldn't work with the current setup of the smart match operator,
where it would then smart-match the string against the returned number
of matches.&lt;/p&gt;

&lt;p&gt;So to summarize, the smart match operator has three functions:
comparing values to patterns, topicalization, and conducting regex
matches.&lt;/p&gt;

&lt;p&gt;These three functions are distinct enough to start to interact in
weird ways, which limits the flexibility in choice of return values
from regex matches and substitutions.&lt;/p&gt;

&lt;p&gt;I don't know what the best way forward is. Maybe it is to
reintroduce a dedicated operator for regex matching, which seems to be
the main feature with which topicalization interacts badly. Maybe
there are other good ideas out there. If so, I'd love to hear about
them.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/grant-report-errors-3.html">
 <title>Third Grant Report: Structured Error Messages</title>
  <link>http://perlgeek.de/blog-en/perl-6/grant-report-errors-3.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Mon, Aug 29 10:56:41 2011</pubDate>
    <description>&lt;!-- 1314608201 --&gt;
&lt;p&gt;Progress on my &lt;a
href=&quot;http://news.perlfoundation.org/2011/02/hague-grant-application-struct.html&quot;&gt;grant
for error message&lt;/a&gt; is slower than expected, as expected :-). Yes, you've
read that sentence before.&lt;/p&gt;

&lt;p&gt;In the past months, general hacking on the nom branch of Rakudo was just
too much fun -- and partially a prerequisite for the exceptions work.&lt;/p&gt;

&lt;p&gt;I did manage to redo the backtraces that are generated from error
messages.&lt;/p&gt;

&lt;p&gt;Backtraces are now generated mostly in Perl 6 code, making them much more
hackable. There's a &lt;code&gt;Backtrace&lt;/code&gt; class, which is a list of
&lt;code&gt;Backtrace::Frame&lt;/code&gt; objects, each knowing the code object associated
with it, as well as line number and file. (This is both specced and works in
Rakudo)&lt;/p&gt;

&lt;p&gt;Routines can have the &lt;code&gt;is hidden_from_backtrace&lt;/code&gt; trait, which
makes them not show up in the default backtrace stringification (one can still
request a &lt;code&gt;.full&lt;/code&gt; string representation). This is useful for
routines which are internally used to generate exceptions, like
&lt;code&gt;die()&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Rakudo also has a &lt;code&gt;--ll-exceptions&lt;/code&gt; command line option which
provides PIR-level backtraces, in the rare case the Perl 6 level backtraces
hide too much information.&lt;/p&gt;

&lt;p&gt;I've also started the &lt;code&gt;nom-exceptions&lt;/code&gt; branch in Rakudo, which
aims at lifting current limitations in Rakudo's exception handling. Currently
&lt;code&gt;die()&lt;/code&gt; and friends generate a parrot exception, and then there's a
routine that fills the error variable &lt;code&gt;$!&lt;/code&gt;. This routine generates
a new &lt;code&gt;Exception&lt;/code&gt; object, and sticks the parrot exception into
it.&lt;/p&gt;

&lt;p&gt;This practice means that if you create a subclass of
&lt;code&gt;Exception&lt;/code&gt;, instantiate it and throw it, you still only get an
&lt;code&gt;Exception&lt;/code&gt; in the error handler, not an object of the subclass.
Since the actual exception type is very important for the ongoing work, that
has to change. The branch mentioned earlier allows one to generate a Perl 6
exception, and pass that on as the payload of the parrot exception, which is
then unwrapped when filling &lt;code&gt;$!&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;As a proof of concept this works, but it suffers from not being robust
enough -- as it is, we could accidentally unwrap the payload of a
&lt;code&gt;CONTROL&lt;/code&gt; exception, placing meaningless junk into &lt;code&gt;$!&lt;/code&gt;.
So this needs a bit more work, which I plan to do this week (or next, if it
proves to be more difficult than anticipated).&lt;/p&gt;

&lt;p&gt;As always, your feedback is very welcome.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/why-rakudo-needs-nqp.html">
 <title>Why Rakudo needs NQP</title>
  <link>http://perlgeek.de/blog-en/perl-6/why-rakudo-needs-nqp.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Wed, Aug 24 13:43:55 2011</pubDate>
    <description>&lt;!-- 1314186235 --&gt;

&lt;p&gt;&lt;a href=&quot;http://rakudo.org/&quot;&gt;Rakudo&lt;/a&gt;, a popular &lt;a
href=&quot;http://perl6.org/&quot;&gt;Perl 6&lt;/a&gt; compiler, is built on top of a smaller
compiler called &quot;NQP&quot;, short for &lt;em&gt;Not Quite Perl&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Reading through a &lt;a
    href=&quot;http://www.modernperlbooks.com/mt/2011/08/no-policy-can-save-wrong-code.html&quot;&gt;recent
    ramble by chromatic&lt;/a&gt;, I felt like he said &quot;Rakudo needs NQP to be able
to ditch Parrot, once NQP runs on a different platform&quot; (NQP is the &quot;another
layer&quot;, which sits between Rakudo and Parrot, mentioned in the next-to-final
paragraph).&lt;/p&gt;

&lt;p&gt;I'm sure chromatic knows that VM independence is the least important reason
for having NQP at all, but the casual reader might not, so let me explain the
real importance of NQP for Rakudo here.&lt;/p&gt;

&lt;p&gt;The short version is just a single word: &lt;a
    href=&quot;http://en.wikipedia.org/wiki/Bootstrapping_%28compilers%29&quot;&gt;bootstrapping&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The longer version is that large parts of Rakudo are written in Perl 6
itself (or a subset thereof), and something is needed to break the
circularity.&lt;/p&gt;

&lt;p&gt;In particular the base of the compiler is written in a subset of Perl 6,
and NQP compiles those parts to bytecode, which can then compile the rest of
the compiler.&lt;/p&gt;

&lt;p&gt;This is not just because we have a fancy for Perl 6, and thus want to write
as much of the code in Perl 6, but there are solid technical reasons for
writing the compiler in Perl 6.&lt;/p&gt;

&lt;p&gt;In Perl 6, the boundary between run time and compile time is blurred, as
well as the boundary between the compiler, the run time library and user-space
code. For example you alter the grammar with which your source code is parsed, by
injecting your own grammar rules.&lt;/p&gt;

&lt;p&gt;&quot;Your own grammar rules&quot; above refers to user-space code, while the grammar
that is being altered is part of the compiler. If we had written the compiler
in something else than Perl 6 (for example Java), it would be horribly
difficult to inject user-space Perl 6 code into compiled code from a different
language.&lt;/p&gt;

&lt;p&gt;And the code not only needs to be injected, but the data passed back
and forth between the compiler and the user space need to be Perl 6 objects, so all
important data structures in the compiler need to be Perl 6 based anyway.&lt;/p&gt;

&lt;p&gt;And it's not just for grammar modifications: At its heart, Perl 6 is an
object oriented language. When the compiler sees a class definition, it
translates them to a series of method calls on the &lt;a
href=&quot;http://en.wikipedia.org/wiki/Metaobject&quot;&gt;metaobject&lt;/a&gt;, which again
needs to be a Perl 6 object, otherwise it wouldn't be easily usable and
extensible from the user space.&lt;/p&gt;

&lt;p&gt;Now you might think that grammar modifications and changes to the
Metaobject are pretty obscure features, and you could get along just fine
with an incomplete Perl 6 compiler that neglected those two areas. But even
then you'd have lots of interactions between run time and compile time. For
example consider a numeric literal like &lt;code&gt;42&lt;/code&gt;. Obviously that needs
to be constructed of type &lt;code&gt;Int&lt;/code&gt;. What's less obvious is that it
needs to be constructed to be of type Int at compile time already, because
Perl 6 code can run interleaved with the compilation. So the compiler needs to
be able to handle Perl 6 objects in all their generality, which is a huge pain
if the compiler is not written in Perl 6.&lt;/p&gt;

&lt;p&gt;Rakudo has cheated on that front in the past, and consequently has
had lots of bugs and limitations due to non-Perl 6 objects leaking out at
unexpected ends. If you ever got a &quot;Null PMC Access&quot; from Rakudo, you know what I
mean.&lt;/p&gt;

&lt;p&gt;The lesson we learned was that &lt;strong&gt;you need a Perl 6 compiler to
implement a Perl 6 compiler&lt;/strong&gt;, even if that first Perl 6 compiler can
handle only a rather limited subset of Perl 6.&lt;/p&gt;


&lt;p&gt;And there are also quite some benefits to this approach. For example &lt;a
    href=&quot;http://pmthium.com/2011/07/14/new-regex-engine-for-nqp-and-nom-now-passing-7k-spectests/&quot;&gt;NQP's new
    regex engine&lt;/a&gt; is implemented as a role in NQP. It is mixed into an NQP
class which allows us to build Rakudo, but it is also mixed in a Perl 6 class,
which allows the generation of &lt;a
href=&quot;http://perlcabal.org/syn/S05.html#Match_objects&quot;&gt;Perl 6-level Match
objects&lt;/a&gt; without any need to create NQP-level match objects first, and then
wrap them in Perl 6 Match objects.&lt;/p&gt;

&lt;p&gt;That's what NQP does for us. It allows us to actually write a Perl 6
compiler.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/feature-comparison-matrix.html">
 <title>Perl 6 Compiler Feature Matrix</title>
  <link>http://perlgeek.de/blog-en/perl-6/feature-comparison-matrix.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Tue, Jul 26 12:07:37 2011</pubDate>
    <description>&lt;!-- 1311674857 --&gt;

&lt;p&gt;We now have a &lt;a href=&quot;http://perl6.org/compilers/features&quot;&gt;nice table that
tells you which Perl 6 compiler implements what.&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Such a thing was long overdue. When the topic came up in the past, people
have suggested mostly automated solutions that compared test coverage of
compiles to generate such a table. Nothing came out of it, it would have been
a rather large endeavor. Now Eevee blogged about &lt;a
href=&quot;http://me.veekun.com/blog/2011/07/22/perls-of-wisdom/#fixing-perl-6&quot;&gt;the
lack of some easy overview that tells you what is implemented in Rakudo.&lt;/a&gt;,
and I thought it was time to tackle the problem.&lt;/p&gt;

&lt;p&gt;Instead of some advanced automated system, we now have a &lt;a
href=&quot;https://github.com/perl6/features/blob/master/features.txt&quot;&gt;simple text
file&lt;/a&gt;, and a &lt;a
href=&quot;https://github.com/perl6/features/blob/master/process.pl&quot;&gt;short perl
script&lt;/a&gt; that converts it to a HTML page.&lt;/p&gt;

&lt;p&gt;I'd like to thanks Will Coleda, Patrick Michaud and Stefan O'Rear for their
contributions, and encourage everybody to keep the data up to date.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/how-fast-is-nom.html">
 <title>How fast is Rakudo's &quot;nom&quot; branch?</title>
  <link>http://perlgeek.de/blog-en/perl-6/how-fast-is-nom.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Sat, Jul  2 08:43:01 2011</pubDate>
    <description>&lt;!-- 1309588981 --&gt;
&lt;p&gt;Nearly one year ago, the &lt;a href=&quot;http://rakudo.org/&quot;&gt;Rakudo Perl 6&lt;/a&gt;
developers proudly released the first &lt;a
href=&quot;http://rakudo.org/2010/07/29/rakudo-star-2010-07/&quot;&gt;Rakudo Star&lt;/a&gt;, a
distribution aimed at showing the world what Perl 6 can look like, and in turn
get feedback from more early adaptors.&lt;/p&gt;

&lt;p&gt;And feedback we got. While the overall response was very positive, people
had one main concern: it was too slow. That didn't come as a surprise,
considering that we had focused on features first. Now it was time to change
that, and work on massive performance improvements.&lt;/p&gt;

&lt;p&gt;That is easier said than done. One of the reasons is that Rakudo is tightly
coupled to &lt;a href=&quot;http://parrot.org/&quot;&gt;the parrot virtual machine&lt;/a&gt;, but
there is a lot of mismatch between the two. For example parrot provides multi
dispatch built-in, but not quite with the semantics that Perl 6 needs. Same
for parameter binding, objects and a number of other areas.&lt;/p&gt;

&lt;p&gt;In the following year, parrot got a new, faster garbage collector, and
Jonathan Worthington came up with a cache for type checks at routine call
time.&lt;/p&gt;

&lt;p&gt;This sped up this simple &lt;a href=&quot;https://github.com/colomon/mandelbrot/blob/master/bin/mandelbrot-color.pl&quot;&gt;mandelbrot fractal
generator&lt;/a&gt; at size 201x201 from 18 minutes to 16 minutes 14 seconds.
Actually the speedup was better than that, but we paid a performance penalty
for new features, bug fixes and parrot performance regressions.&lt;/p&gt;

&lt;p&gt;But it was clear that more substantial improvements where needed.
One of the most promising candidates for
speedups is a
&lt;a href=&quot;http://6guts.wordpress.com/&quot;&gt;complete redesign of the object
model&lt;/a&gt;, resulting in the &lt;a
href=&quot;http://pmthium.com/2011/02/08/new-nqp-repository-new-nom-rakudo-branch/&quot;&gt;&quot;nom&quot;
(new object model) branch&lt;/a&gt; of Rakudo. Additionally to providing much more
well suited OO primitives than parrot can offer right now, it also allows to
share more information between compile time and run time, making a lot of
optimizations possible.&lt;/p&gt;

&lt;p&gt;Yesterday I &lt;a
href=&quot;https://github.com/rakudo/rakudo/commit/437675e330460d0cf801d48a635c413d532e062f&quot;&gt;sped
up some operations on Complex numbers&lt;/a&gt;, and implemented a built-in that was
missing to run the mandelbrot script. And today I timed it: 3 Minutes. From
originally 18 Minutes.&lt;/p&gt;

&lt;p&gt;Now that's a speedup by more than a factor of 5. I'm not sure if it will
extend to other operators, but it sure is encouraging.&lt;/p&gt;

&lt;p&gt;And that's without the optimizations that will now be possible, for example
inlining operators. So after a literally slow start, Rakudo Perl 6 has a
bright and fast future ahead. And it's already here, just not evenly
distributed.&lt;/p&gt;

 
</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/misc/introducing-quelology.html">
 <title>Introducing my new project: Quelology organizes books</title>
  <link>http://perlgeek.de/blog-en/misc/introducing-quelology.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Sun, Jun 26 12:39:43 2011</pubDate>
    <description>&lt;!-- 1309084783 --&gt;
&lt;p&gt;For about half a year I've been working on a website called &lt;a
href=&quot;http://quelology.org/&quot;&gt;quelology&lt;/a&gt;, which collects book series and
translations.&lt;/p&gt;

&lt;p&gt;It is intended to answer questions of the form:
&lt;a href=&quot;http://quelology.org/t/9684&quot;&gt;I've now read &quot;Harry Potter and the Order of the Phoenix&quot;,
which is the next book in that series?&lt;/a&gt; or
&lt;a href=&quot;http://quelology.org/t/9681&quot;&gt;What's the name of the French translation of that book?&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The website and data mining behind it are written in Perl, and it is based on book meta data by &lt;a href=&quot;http://www.isfdb.org/cgi-bin/index.cgi&quot;&gt;isfdb&lt;/a&gt;, amazon and &lt;a href=&quot;http://www.worldcat.org/&quot;&gt;worldcat&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I'm working on importing data from more sources, next up will be the
&lt;a href=&quot;http://libris.kb.se/&quot;&gt;Swedish National Library&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;After completing the data mining stage, I'll add an interfaces that allows
the visitor to edit the book, series and translations data, so that users can extend the data body.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/misc/why-is-my-tmp-directory-only-1mb.html">
 <title>Why is my /tmp/ directory suddenly only 1MB big?</title>
  <link>http://perlgeek.de/blog-en/misc/why-is-my-tmp-directory-only-1mb.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Tue, Jun 14 18:48:00 2011</pubDate>
    <description>&lt;!-- 1308070080 --&gt;

&lt;p&gt;Today I got a really weird error on my Debian &quot;Squeeze&quot; Linux box --
a processes tried to write a temp file, and it complained that there was
&lt;code&gt;No space left on device&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The weird thing is, just yesterday my root parition was full, and I had
made about 7GB free space in it.&lt;/p&gt;

&lt;p&gt;I checked, there was still plenty of room today. But behold:&lt;/p&gt;

&lt;pre&gt;
$ df -h /tmp/
Filesystem            Size  Used Avail Use% Mounted on
overflow              1.0M  632K  392K  62% /tmp
&lt;/pre&gt;

&lt;p&gt;So, suddenly my /tmp/ directory was a ram disc with just 1MB of space. And
it didn't show up in &lt;code&gt;/etc/fstab&lt;/code&gt;, so I had no idea what cause
it.&lt;/p&gt;

&lt;p&gt;After googling a bit around, I found the likely reason: &lt;a
href=&quot;http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/2007-June/001973.html&quot;&gt;as
a protection against low disc space, some daemon automatically &quot;shadows&quot; the
current /tmp/ dir with a ram disc if the the root partition runs out of disc
space&lt;/a&gt;. Sadly there's no automatic reversion of that process once enough
disc space is free again.&lt;/p&gt;

&lt;p&gt;To remove the mount, you can say (as root)&lt;/p&gt;

&lt;pre&gt;
umount -l /tmp/
&lt;/pre&gt;

&lt;p&gt;And to permanently disable this feature, use&lt;/p&gt;

&lt;pre&gt;
echo 'MINTMPKB=0' &amp;gt; /etc/default/mountoverflowtmp
&lt;/pre&gt;

 
</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/grant-report-errors-2.html">
 <title>Second Grant Report: Structured Error Messages</title>
  <link>http://perlgeek.de/blog-en/perl-6/grant-report-errors-2.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Sun, May 22 08:28:21 2011</pubDate>
    <description>&lt;!-- 1306045701 --&gt;
&lt;p&gt;Progress on my &lt;a
href=&quot;http://news.perlfoundation.org/2011/02/hague-grant-application-struct.html&quot;&gt;grant
for error message&lt;/a&gt; is slower than expected, as expected :-). Life and work,
though rewarding, take their toll. Also many of my original ideas turned out
to be not very good, and got shot down by @Larry (with good reason).&lt;/p&gt;

&lt;p&gt;However I did get around to lay out some specification for exceptions in &lt;a
href=&quot;https://github.com/perl6/specs/blob/master/S32-setting-library/Exception.pod&quot;&gt;S32::Exception&lt;/a&gt;
(&lt;a href=&quot;http://perlcabal.org/syn/S32/Exception.html&quot;&gt;rendered&lt;/a&gt;) - some
basic roles, and the relationships between exception, &lt;code&gt;Failure&lt;/code&gt;
(lazy/unthrown exceptions) and backtraces.&lt;/p&gt;

&lt;p&gt;More importantly I think I'm at a point where I could start to actually
implement some of that stuff, and use that experience to update the
specification.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/grant-report-errors-1.html">
 <title>First Grant Report: Structured Error Messages</title>
  <link>http://perlgeek.de/blog-en/perl-6/grant-report-errors-1.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Sun, Apr 10 13:31:31 2011</pubDate>
    <description>&lt;!-- 1302435091 --&gt;
&lt;p&gt;My &lt;a href=&quot;http://news.perlfoundation.org/2011/02/hague-grant-application-struct.html&quot;&gt;Hague
    Grant proposal&lt;/a&gt; for designing, implementing and testing structured
error messages for Perl 6 &lt;a
href=&quot;http://news.perlfoundation.org/2011/04/structured-error-message-grant.html&quot;&gt;has
been acceepted&lt;/a&gt;, and I've started my work on it in &lt;a
href=&quot;http://www.catb.org/jargon/html/C/copious-free-time.html&quot;&gt;my copious
free time&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Before the grant started I've &lt;a
    href=&quot;https://github.com/perl6/std/commit/430e3d68b0321e96b5ae1586329b0caa74dc8ca8&quot;&gt;unified&lt;/a&gt;
&lt;a href=&quot;https://github.com/rakudo/rakudo/commit/76425aba89d4fbd742abbf0d1278380ec21f9ce5&quot;&gt;the
error messages&lt;/a&gt; of &lt;a
href=&quot;https://github.com/sorear/niecza/commit/d6ca04a1aaee2f180454f77f14af4b647c65b1ff&quot;&gt;several&lt;/a&gt;
&lt;a
    href=&quot;https://github.com/masak/yapsi/commit/423894a104f4b10a2122ba7dc2e3160b0481654c&quot;&gt;compilers&lt;/a&gt;
to use &quot;Cannot&quot; instead of a wild mixture of &quot;Cannot&quot;, &quot;Can not&quot; and
&quot;Can't&quot;.&lt;/p&gt;

&lt;p&gt;In the past week I created a &lt;a
href=&quot;https://github.com/perl6/errors/&quot;&gt;repository for the initial work on the
error message spec&lt;/a&gt;, and added a list of existing error messages across
different compilers, and some notes regarding the upcoming spec.&lt;/p&gt;

&lt;p&gt;So far I've outlined some thoughts about separation of concerns,
classification of the error messages, testing error messages for certain
properties, and calling syntax for &lt;code&gt;die()&lt;/code&gt; and
&lt;code&gt;fail()&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Any constructive feedback on it is very welcome.&lt;/p&gt;

&lt;p&gt;Thanks go to Ian Hague and The Perl Foundation for supporting my work
financially.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/notes-2011-02.html">
 <title>Perl 6 notes from February 2011</title>
  <link>http://perlgeek.de/blog-en/perl-6/notes-2011-02.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Mon, Feb 14 17:59:15 2011</pubDate>
    <description>&lt;!-- 1297702755 --&gt;
&lt;p&gt;Lately real life has prevented me from blogging, so here are just a few
random notes from the Perl 6 developers:&lt;/p&gt;


&lt;p&gt;The &lt;a href=&quot;http://rt.perl.org/rt3/&quot;&gt;Perl bug tracker&lt;/a&gt; now has tags
&lt;code&gt;testneeded&lt;/code&gt; and &lt;code&gt;testcommitted&lt;/code&gt;, which can mark tests
that need or have tests in the spectest suite. Since the URLs for querying
these tags are unwieldy and non-obvious, I've created some aliases:
&lt;a href=&quot;http://rakudo.de/testneeded&quot;&gt;http://rakudo.de/testneeded&lt;/a&gt;
and
&lt;a href=&quot;http://rakudo.de/testcommitted&quot;&gt;http://rakudo.de/testcommitted&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;Development of &lt;a
href=&quot;http://pmthium.com/2011/02/08/new-nqp-repository-new-nom-rakudo-branch/&quot;&gt;the
new nqp and rakudo-on-the-new-object-model&lt;/a&gt; is progressing nicely. I had
some fun porting some PIR code to NQP, and writing some new code. Most
interesting to read is the &lt;a
href=&quot;https://github.com/rakudo/rakudo/tree/nom/src/Perl6/Metamodel&quot;&gt;source of the
new meta model&lt;/a&gt;, much of which is written in a subset of Perl 6 (so quite
readable, if you happen to know Perl 6. For example you can see how &lt;a
    href=&quot;https://github.com/rakudo/rakudo/blob/nom/src/Perl6/Metamodel/MultipleInheritance.pm&quot;&gt;the
    method resolution order for multiple inheritance is calculated.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is a parrot branch that adds a generation garbage collector to
parrot. Its release is planned for shortly after the 3.1.0 release due
tomorrow. Initial benchmarks show that Rakudo is between 25% and 30% faster on
that parrot, as measured by a spectest run. I very much look forward to having
that in the parrot main line.&lt;/p&gt;

&lt;p&gt;Writing code for &lt;a href=&quot;https://github.com/sorear/niecza&quot;&gt;niecza&lt;/a&gt;
is quite a nice experience. It still has a big startup cost, but then runs
much faster than rakudo (at least it feels that way). There are still lots of
features missing (for example non-integer number literals), but feature
requests are usually implement quite quickly.&lt;/p&gt;

 
</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/an-offer-to-the-perl-community.html">
 <title>An offer for software developers: free IRC logging</title>
  <link>http://perlgeek.de/blog-en/perl-6/an-offer-to-the-perl-community.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Mon, Feb  7 18:20:43 2011</pubDate>
    <description>&lt;!-- 1297099243 --&gt;

&lt;p&gt;The &lt;a href=&quot;http://perl6.org/&quot;&gt;Perl 6 developers&lt;/a&gt; communicate a lot
through &lt;abbr title=&quot;Internet Relay Chat&quot;&gt;IRC&lt;/abbr&gt;. Some of the conversation
is still valuable later on, so we have &lt;a
    href=&quot;http://irclog.perlgeek.de/perl6/today&quot;&gt;public IRC logs&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;http://moritz.faui2k3.org/en/ilbot&quot;&gt;software powering these
logs&lt;/a&gt; was written especially for #perl6, but works fine for other channels
too. Among the other users are &lt;a href=&quot;http://www.testml.org/&quot;&gt;TestML&lt;/a&gt;,
&lt;a
href=&quot;http://sourceforge.net/apps/mediawiki/cdk/index.php?title=Main_Page&quot;&gt;CDK
(Chemistry Development Kit)&lt;/a&gt;, &lt;a href=&quot;http://darcs.net/&quot;&gt;darcs&lt;/a&gt;,
&lt;a href=&quot;http://mojolicio.us/&quot;&gt;mojo&lt;/a&gt;, &lt;a
href=&quot;http://padre.perlide.org/&quot;&gt;Padre, the Perl IDE&lt;/a&gt;, &lt;a
href=&quot;http://www.parrot.org/&quot;&gt;Parrot&lt;/a&gt; and &lt;a
href=&quot;http://rosettacode.org/wiki/Welcome_to_Rosetta_Code&quot;&gt;Rosetta
Code&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you are also developing software, and would like public logs for your
channel (either on freenode or irc.perl.org; other servers might be added on
demand), feel free to contact me (&lt;code&gt;moritz&lt;/code&gt; on freenode, or per
email: moritz at faui2k3.org)&lt;/p&gt;

&lt;p&gt;Features include: linking to individual lines, permanent URLs and volatile
URLs for the current day, automatic linking of URLs and readable color
schemes.&lt;/p&gt;

&lt;p&gt;A current limitation is that you can't have two channels with the same name
from different networks, in case of conflict &quot;first come, first served&quot;
holds.&lt;/p&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/perl-6/thoughts-on-p6cc.html">
 <title>Thoughts on masak's Perl 6 Coding Contest</title>
  <link>http://perlgeek.de/blog-en/perl-6/thoughts-on-p6cc.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Sun, Jan 23 19:38:48 2011</pubDate>
    <description>&lt;!-- 1295807928 --&gt;

&lt;p&gt;&lt;a
href=&quot;http://strangelyconsistent.org/blog/masaks-perl-6-coding-contest&quot;&gt;Masak's
Perl 6 Coding Contest&lt;/a&gt; (short p6cc) is now in its final stage - the public
commentary of solutions. So far masak has commented on &lt;a
    href=&quot;http://strangelyconsistent.org/blog/p1-best-way-to-multiply-a-chain-of-matrices&quot;&gt;p1&lt;/a&gt;, &lt;a
    href=&quot;http://strangelyconsistent.org/blog/p2-is-the-point-in-the-polygon&quot;&gt;p2,&lt;/a&gt;
and &lt;a
    href=&quot;http://strangelyconsistent.org/blog/p3-is-the-integer-in-the-rangeset&quot;&gt;p3&lt;/a&gt;.
I enjoyed the reviews and explanations so far, and look forward to more
(except to the p4 review, because I botched the solution to this one).&lt;/p&gt;

&lt;p&gt;The reviews made a good read, and here are only a few very minor points
that I find worth mentioning. No criticism intended (neither to the author nor
the reviewer).&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;&lt;a
        href=&quot;http://strangelyconsistent.org/p6cc2010/p1-matthias/&quot;&gt;Matthias'
        p1 solution&lt;/a&gt; uses side effects in subroutine named
        &lt;code&gt;to-string&lt;/code&gt;. I would avoid that in &quot;production&quot; code (for
        whatever I might mean with that word...), since it's not what I would
        expect from the name. Instead of a counter, the array indexes could be
        used to identify which matrix to stringify.
    &lt;/li&gt;
    &lt;li&gt;Masak's review of &lt;a
        href=&quot;http://strangelyconsistent.org/p6cc2010/p1-fox/&quot;&gt;fox' p1
        solution&lt;/a&gt; contains the question &lt;em&gt;I wonder why the @items array
        deserved a plural but the @matrix only a singular...&lt;/em&gt;. I'd say
        that's because &lt;code&gt;@matrix&lt;/code&gt; holds one matrix, but
        &lt;code&gt;@items&lt;/code&gt; holds many items. Speaking of which, I don't like
        the name &lt;code&gt;@matrix&lt;/code&gt; - it describe a structure rather than
        the contents. The structure becomes pretty obvious through the access,
        but what is in the matrix?
     &lt;/li&gt;
     &lt;li&gt;
        After viewing &lt;a
        href=&quot;http://strangelyconsistent.org/p6cc2010/p1-moritz/&quot;&gt;my own p1
        submission&lt;/a&gt; without syntax hilighting, I wonder why I chose so many
        double blank lines. My vim color scheme uses a dark blue for comments,
        which means that comment blocks need more visual distance from code,
        in my personal opinion. But when sharing code, I shouldn't make layout
        decisions based on non-shared syntax hilighting.
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a href=&quot;http://strangelyconsistent.org/p6cc2010/p2-colomon/&quot;&gt;colomon's
        p2 submission&lt;/a&gt; uses complex numbers for coordinates. I considered
        that myself, and there's nothing wrong with it. Just strange that he
        then reinvented subtraction of two complex numbers in sub
        &lt;code&gt;lines-intersect&lt;/code&gt;. Maybe he didn't want to come up with
        names for the intermediate results, &lt;code&gt;$slope&lt;/code&gt; and
        &lt;code&gt;$axes-intercept&lt;/code&gt; might have been viable ones.
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a
            href=&quot;http://strangelyconsistent.org/p6cc2010/p2-matthias/&quot;&gt;Matthias&lt;/a&gt;
        could have simplified &lt;code&gt;comb: /&amp;lt;&amp;amp;number&amp;gt;/&lt;/code&gt; to just
        &lt;code&gt;comb: &amp;amp;number&lt;/code&gt; -- a regex is just a callable, and when
        it's explicit in the current scope, you can just use a hard reference
        to it.
    &lt;/li&gt;
    &lt;li&gt;
        &lt;a
        href=&quot;http://strangelyconsistent.org/p6cc2010/p3-colomon/&quot;&gt;colomon's
        p3 solution&lt;/a&gt; could, as far as I can tell, replace all regexes with
        tokens - less backtracking, fewer surprises.
    &lt;/li&gt;
    &lt;li&gt;Reviewing &lt;a
        href=&quot;http://strangelyconsistent.org/p6cc2010/p3-moritz/&quot;&gt;my own p3
        solution&lt;/a&gt;, masak asked &lt;em&gt;I wonder what stopped moritz from,
        rather than doing $_ &amp;&amp; .including on line 39, doing .?including
        instead. Either he considered that too cute, or he didn't consider
        it.&lt;/em&gt; I did consider it, but I decided against it, because the two
        things are subtly different.  Mine only calls the method if the topic is
        true, whereas &lt;code&gt;.?including&lt;/code&gt; always tries the call - even on a
        type object, where accessing an attribute leads to a fatal error. I
        think in my code that case doesn't show up, but it did appear during
        debugging in earlier versions.
    &lt;/li&gt;

&lt;/ul&gt;


</description>
  </item>
  <item rdf:about="http://perlgeek.de/blog-en/does-your-bug-tracker-do-this.html">
 <title>Does Your Bug Tracker Do This For You?</title>
  <link>http://perlgeek.de/blog-en/does-your-bug-tracker-do-this.html</link>
 <author>Moritz Lenz</author>
   <pubDate>Sun, Jan  9 11:22:17 2011</pubDate>
    <description>&lt;!-- 1294568537 --&gt;

&lt;p&gt;While working on a &lt;a href=&quot;http://rakudo.org/&quot;&gt;fast moving Open Source
project&lt;/a&gt;, we sometimes get some platform specific bug reports. And even if
nobody explicitly works on the problem, sometimes they go away due to general
improvements of robustness.&lt;/p&gt;

&lt;p&gt;So sometimes an intrepid volunteer goes through the list of old bugs, and
asks the reporter if these platform specific bugs still persist. Quite often,
we don't get a reply. Then the reports aren't very useful to us, and should be
closed. Which requires a second pass through the bug queue. With more than
600 open bugs this quite a bit of work.&lt;/p&gt;

&lt;p&gt;So I'd like to have an option to automatically close a bug within a given
time span (say, four weeks or two months) if no feedback occurs.
&lt;a href=&quot;http://bestpractical.com/rt/&quot;&gt;Our bug tracker&lt;/a&gt; (or at least our
installation) doesn't have such a button.&lt;/p&gt;

&lt;p&gt;Does your favorite bug tracker have it? Would you also sometimes like such
a button?&lt;/a&gt;


 
</description>
  </item>
 
</rdf:RDF>
