Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-07-28

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:01 devogon joined #perl6
00:16 devogon joined #perl6
00:19 Schwern joined #perl6
00:30 cerridwen joined #perl6
00:30 sysdef jo cerridwen *knuddel*
00:30 cerridwen w00t
00:30 cerridwen :)
00:30 sysdef ^^
00:39 Limbic_Region joined #perl6
01:22 Schwern joined #perl6
01:35 kanru2 joined #perl6
01:48 GeJ_ joined #perl6
02:07 kanru2 changed the nick to kanru
02:07 Aankhen`` joined #perl6
02:11 IceSham[a]n joined #perl6
02:45 lisppaste3 joined #perl6
02:55 Schwern joined #perl6
03:03 weinig joined #perl6
03:07 xinming joined #perl6
03:32 solar345 joined #perl6
03:50 pugs_svnbot r17150 | perlDreamer++ | add a test to exercise parsing pi as a built-in, not numerically
03:50 pugs_svnbot diff: http://dev.pugscode.org/changeset/17150
04:02 pugs_svnbot r17151 | perlDreamer++ | fix typos in the test descriptions
04:02 pugs_svnbot diff: http://dev.pugscode.org/changeset/17151
04:05 pugs_svnbot r17152 | perlDreamer++ | add a test for the currently unimplemented (in pugs) e constant, similar to pi
04:05 pugs_svnbot diff: http://dev.pugscode.org/changeset/17152
04:17 lambdabot joined #perl6
04:23 [particle1 joined #perl6
04:35 araujo joined #perl6
04:57 amnesiac joined #perl6
05:06 DarkWolf84 joined #perl6
05:08 hakobe changed the nick to hkb_aw
05:16 kanru joined #perl6
05:22 meppl good morning
05:33 devogon joined #perl6
05:48 thestarslookdown joined #perl6
06:05 jisom joined #perl6
06:11 Aankhen`` joined #perl6
06:21 kanru joined #perl6
06:30 weinig joined #perl6
06:57 moritz_ good morning iiiiindeed ;)
06:58 ruz joined #perl6
06:58 moritz_ s/i**{2..*}/i/
06:59 obra 'morning
07:02 pro21ms4 joined #perl6
07:24 franck___ joined #perl6
07:34 Aankh|Clone joined #perl6
07:43 drrho joined #perl6
08:02 elmex joined #perl6
08:08 moritz_ http://www.perlmonks.org/?node_id=629259
08:08 lambdabot Title: Split a string based on change of character
08:08 moritz_ why doesn't work  m/((?<=.))(?!\1)/ the way I expected it?
08:09 franck____ joined #perl6
08:11 Zoffix moritz_,  m/(?<=(.))(?!\1)/
08:12 moritz_ Zoffix: thanks, that's better ;)
08:12 Zoffix moritz_, lookbehind is zero-length, you need to capture what it matches instead
08:12 moritz_ right
08:12 moritz_ as soon as you gave me the right regex it became obvious ;)
08:13 moritz_ perl -MData::Dumper -wle '$Data::Dumper::Indent=0; $_="aaabbc"; print Dumper([split m/(?<=(.))(?!\1)/]);'
08:13 moritz_ $VAR1 = ['aaa','a','bb','b','c','c'];
08:14 moritz_ is that because split() returns the captured text as well?
08:15 Schwern joined #perl6
08:20 DarkWolf84 joined #perl6
08:23 larsen joined #perl6
08:25 franck___ joined #perl6
08:31 daxim_ joined #perl6
08:31 franck___ joined #perl6
08:34 cerridwen changed the nick to Cerridwyn
08:35 Zoffix moritz_, $_='aabbbcccccc'; push @a, $1 while s/((.)\2+)//;
08:36 Zoffix moritz_, * instead of +
08:36 larsen_ joined #perl6
08:39 moritz_ Zoffix: nah, I want a pure regex solution ;)
08:39 Zoffix moritz_, and I want a million bucks.
08:44 moritz_ afk ;)
09:12 Schwern joined #perl6
09:28 buetow joined #perl6
09:37 agentzh joined #perl6
09:37 phileas_fox joined #perl6
09:41 agentzh left #perl6
09:52 chris2 joined #perl6
09:59 Schwern joined #perl6
10:06 explorer joined #perl6
10:17 iblechbot joined #perl6
10:36 agentzh joined #perl6
10:43 Southen joined #perl6
10:46 * agentzh is back.
10:53 Southen joined #perl6
10:55 franck___ joined #perl6
11:36 jettero joined #perl6
11:49 drrho joined #perl6
12:08 agentzh svnbot?
12:08 pugs_svnbot r17153 | agentz++ | [PCR]
12:08 pugs_svnbot r17153 | agentz++ | * added t/emitter/00-basic.t to test the non-ratchet emitter.
12:08 pugs_svnbot r17153 | agentz++ | * fixed $::PCR_SEED which is no longer required to set at BEGIN time.
12:08 pugs_svnbot diff: http://dev.pugscode.org/changeset/17153
12:08 lambdabot Title: Changeset 17153 - Pugs - Trac
12:08 agentzh cool
12:39 DarkWolf84 joined #perl6
12:49 masak joined #perl6
12:51 masak lambdabot is back! :)
12:53 masak @seen lambdabot
12:53 lambdabot Yes, I'm here. I'm in #haskell, ##logic, #xmonad, #unicycling, #perl6, #parrot, #oasis, #jtiger, #haskell-soc, #haskell-overflow, #haskell-blah, #ghc, #darcs and #scannedinavian
12:53 agentzh yes :)
12:56 masak rhr: so there is a problem in pugs' MMD, eh?
12:56 masak I'm not sure I see myself as competent enough to improve the MMD implementation
12:57 masak nevertheless, I'll have a look
12:57 masak I's need to be absolutely clear about what should happen and what actually happens, though
12:58 masak so if anyone who understands the strangeness in t/DateTime/basic.t has time to explain it to me, I'd be grateful
12:58 masak I'll be here for a few hours at least
12:59 masak ...oh, I see polletix++ has already prepared what I think I want at http://sial.org/pbot/26477
12:59 lambdabot Title: Paste #26477 from "polettix" at 81.174.12.28
13:08 xdg joined #perl6
13:28 perlMa joined #perl6
14:02 masak this here appears to be part of the problem:
14:02 masak ?eval class T { has $.b; multi submethod BUILD () { $.b = "bare" } multi submethod BUILD (Str :$string is mandatory) { $.b = "string" } } T.new().b
14:03 evalbot_r pugs: user error (*** *** Can't modify constant item: VUndef␤        at <prelude> line 782, column 9-46␤           <prelude> line 782, column 9-46␤    at)␤
14:03 masak um, no not that
14:03 masak evalbot_r: are we running the same pugs version?
14:03 masak strange error, btw
14:04 devogon joined #perl6
14:04 rhr masak: go for it, the spec is at S12:841.  But I notice S12:1021 says "Perl 6.0.0 is not required to support multiple dispatch on named parameters", so maybe Date.pm needs to be rewritten with that in mind...
14:05 pugs_svnbot r17154 | agentz++ | [PCR]
14:05 pugs_svnbot r17154 | agentz++ | * added more tests to t/emitter/00-basic.t for the ratchet emitter.
14:05 pugs_svnbot r17154 | agentz++ |   Hey, writing tests this way is a lot of fun :)
14:05 pugs_svnbot diff: http://dev.pugscode.org/changeset/17154
14:05 lambdabot Title: Changeset 17154 - Pugs - Trac
14:06 masak rhr: yes. a rewrite of DateTime, having highest realistic outlook of success, will be my main effort
14:06 masak but I will also take a look at S12 and how Pugs implements MMD
14:13 agentzh @tell fglock i've found an excellent way to write declarative unit tests for emitters based on Test::Base: http://svn.pugscode.org/pugs/perl5/Pugs-Compiler-Rule/t/emitter/00-basic.t
14:13 lambdabot Consider it noted.
14:19 Blwood joined #perl6
14:19 pugs_svnbot r17155 | agentz++ | PCR - more Layout tests for the ratchet emitter
14:19 pugs_svnbot diff: http://dev.pugscode.org/changeset/17155
14:19 lambdabot Title: Changeset 17155 - Pugs - Trac
14:24 DarkWolf84 joined #perl6
14:28 Aankhen`` joined #perl6
14:31 pugs_svnbot r17156 | agentz++ | PCR - added <group> ... </group> to the ratchet emitter ouputs
14:31 pugs_svnbot diff: http://dev.pugscode.org/changeset/17156
14:31 lambdabot Title: Changeset 17156 - Pugs - Trac
14:34 diakopter perlDreamer++
14:34 diakopter agentz++
14:34 agentzh :)
14:38 hkb_aw changed the nick to hakobe
14:38 pugs_svnbot r17157 | agentz++ | [PCR]
14:38 pugs_svnbot r17157 | agentz++ | * updated Pugs::Grammar::Rule.pmc using the latest emitter
14:38 pugs_svnbot r17157 | agentz++ | * removed the BEGIN {...} from compile_p6grammar.pl since $::PCR_SEED
14:38 pugs_svnbot r17157 | agentz++ |   is now works at runtime instead of BEGIN time.
14:38 pugs_svnbot diff: http://dev.pugscode.org/changeset/17157
14:39 lambdabot Title: Changeset 17157 - Pugs - Trac
14:40 agentzh oops, s/is now works/now works/
14:44 cognominal_ left #perl6
14:44 agentzh now it should be quite easy to add debugging code to PCR's emitter templates so as to form a basic tracer...it's just a bit boring due to the way the emitter is organized :(
14:44 cognominal_ joined #perl6
14:46 agentzh i'd insert some special comments into the emitted code and then replace them with actual tracing code if $::PCR_TRACE is specified.
14:47 agentzh by doing this, the tracing feature will have little performance penalty in non-tracing mode.
14:48 agentzh that's what for tomorrow. bedtime &
14:48 agentzh left #perl6
15:02 riffraff joined #perl6
15:03 buetow joined #perl6
15:06 Aankh|Clone joined #perl6
15:18 dolmen joined #perl6
15:26 sunnavy joined #perl6
15:31 jhorwitz joined #perl6
15:36 masak ?eval class T; has $.b; multi submethod BUILD () { $.b = "bare" } multi submethod BUILD (Str :$string is mandatory) { $.b = "s" } T.new().b
15:36 evalbot_r pugs: user error (*** *** Can't modify constant item: VUndef␤        at <prelude> line 782, column 9-46␤           <prelude> line 782, column 9-46␤    at)␤
15:40 masak there's got to be some discrepancy somewhere, because I don't get this error on my box
15:45 araujo joined #perl6
16:14 Alias_ joined #perl6
16:21 rindolf joined #perl6
16:25 rindolf Hi all.
16:25 Alias_ heya
16:28 crashmatrix joined #perl6
16:33 masak hello, rindolf
16:33 rindolf Hi Alias_
16:33 rindolf Hi masak
16:34 rindolf Alias_: what time is it there?
16:34 Alias_ 2:34am
16:34 Alias_ ish
16:34 Alias_ I've been awake for 4 hours, and just got to work :)
16:35 rindolf Alias_: wow.
16:35 * Alias_ shrugs
16:44 masak Alias_: do you always work at night?
16:44 Alias_ no
16:44 Alias_ I tend to drift around the clock sometimes, that's all
16:44 masak Alias_: maybe your subjective day is a bit too long or too short
16:45 Alias_ possibly
16:46 masak & # food
17:01 Psyche^ joined #perl6
17:06 amnesiac joined #perl6
17:06 pugs_svnbot r17158 | moritz++ | debian/control: build dependency is libghc6-time-dev
17:06 pugs_svnbot diff: http://dev.pugscode.org/changeset/17158
17:06 lambdabot Title: Changeset 17158 - Pugs - Trac
17:06 moritz_ the pugs <-> PCR bridge seems to be a bit broken
17:06 moritz_ pugs -e '$_="aaabbc"; .split: m/<before (.)><!after $0>/'
17:06 moritz_ *** Cannot parse regex: <before (.)><!after $0>
17:06 moritz_ *** Error: Error: Can't use string ("1") as a subroutine ref while "strict refs" in use at /home/moritz/pugs/perl5/Pugs-Compiler-Rule/lib/Pugs/Compiler/Regex.pm line 96.
17:07 moritz_ sorry, wrong message...
17:09 moritz_ ignore what I said, I can't find the message anymore that I wantedt to paste ;)
17:16 Psyche^ changed the nick to Patterner
17:17 moritz_ @tell diakopter bug in evalbot: it renames itself to evalbot_r without trailing revision number
17:17 lambdabot Consider it noted.
17:23 spinclad it seems to be stuck at revision ''.
17:26 spinclad ?eval say $?PERLVER
17:26 evalbot_r pugs: user error (*** *** Can't modify constant item: VUndef␤        at <prelude> line 782, column 9-46␤           <prelude> line 782, column 9-46␤    at)␤
17:26 spinclad ?eval say 'hi mom'
17:26 evalbot_r pugs: user error (*** *** Can't modify constant item: VUndef␤        at <prelude> line 782, column 9-46␤           <prelude> line 782, column 9-46␤    at)␤
17:29 * moritz_ rebuilds his pugs locally
17:29 spinclad revision '' is broken, or evalbot is
17:52 masak ?eval $?VERSION
17:52 evalbot_r pugs: user error (*** *** Can't modify constant item: VUndef␤        at <prelude> line 782, column 9-46␤           <prelude> line 782, column 9-46␤    at)␤
17:52 masak yes, something is broken
18:04 Psyche^ joined #perl6
18:16 Psyche^ changed the nick to Patterner
18:17 justatheory joined #perl6
18:29 hakobe changed the nick to hkb_zz
18:59 weinig joined #perl6
19:15 moritz_ can anybody tell me what 'judy' is, and why we need files in the repository that seem to be automatically generated?
19:16 moritz_ ok, now I read what it is... but autm4te.cache/ sounds like it doesn't need to be in the repo
19:26 thepler joined #perl6
19:26 iblechbot joined #perl6
19:30 [particle1 moritz_: i believe judy takes a while to build, and doesn't change often, but there are others who know better than i do
19:30 [particle1 changed the nick to [particle]
19:31 moritz_ [particle]: ok, thanks. I'm just curious ;)
19:34 thepler joined #perl6
19:47 diakopter alias $low..+8 = $low..($low+8)
19:47 lambdabot diakopter: You have 1 new message. '/msg lambdabot @messages' to read it.
19:50 Alias_ ?
19:50 Alias_ :)
19:50 masak :)
19:55 diakopter not *that* alias
19:56 masak they're not that hard to tell apart, unless your system throws away underscores and case, or you've done `alias Alias_ alias` in your session :)
19:56 Alias_ heh
19:59 Limbic_Region joined #perl6
20:24 Southen_ joined #perl6
20:27 thorat joined #perl6
20:58 jisom joined #perl6
21:30 moritz_ YaY, after adding an index to a few sql columns, the nick search in the irc logs is finally fast enough to be usable ;)
21:38 Juerd Indexes are neat, but finding the right balance can be hard ):
21:38 moritz_ aye ;)
21:39 apeiron joined #perl6
21:43 pugs_svnbot r17159 | moritz++ | [irclog] fixed line anchors in search
21:43 pugs_svnbot diff: http://dev.pugscode.org/changeset/17159
21:43 lambdabot Title: Changeset 17159 - Pugs - Trac
21:44 Juerd That's a beautiful diff.
21:44 moritz_ you're joking
21:45 moritz_ it makes me understand how hard that part of the code is
21:45 moritz_ because @r2 should be decomposed into variables with readable names
21:46 Juerd I'm talking about the visualisation of the diff, not the actual patch itself :)
21:47 moritz_ that explains a lot
21:47 moritz_ looking at the diff made me realize that i commited more than i wanted
21:48 moritz_ to
21:48 moritz_ no harm done, just an incomplete log message
21:53 moritz_ opinion question: when I implement a fulltext search on the logs, should I order the hits by day, or by relevance (as automagically ordered by mysql)?
21:53 moritz_ I tend to #1
21:56 demq joined #perl6
22:13 masak moritz_: yes, probably #1
22:17 pugs_svnbot r17160 | moritz++ | [irclog] implemented fulltext search logic, it's not in the frontend yet. If
22:17 pugs_svnbot r17160 | moritz++ | you are impatient, search for a nick and append ;q=$your_query_string to the
22:17 pugs_svnbot r17160 | moritz++ | result URL
22:17 pugs_svnbot diff: http://dev.pugscode.org/changeset/17160
22:17 lambdabot Title: Changeset 17160 - Pugs - Trac
22:17 moritz_ try http://moritz.faui2k3.org/irclog/search.pl?channel=%23perl6&amp;nick=diakopter;q=todo for example ;)
22:17 lambdabot Title: IRC logs - Search, http://tinyurl.com/26nnwg
22:18 OmiKrOn joined #perl6
22:19 OmiKrOn hi, i have a problem, Can't call method "check_table" on an undefined value at /home/jtutorbu/public_html/cgi-bin/lib/main-lib.pl line 712. Line 712 is $exists = $DB->check_table('internal_messages');
22:19 OmiKrOn http://sial.org/pbot/26522 <-- check_table sub
22:19 lambdabot Title: Paste #26522 from "OmiKrOn" at 89.32.10.209
22:19 moritz_ OmiKrOn: that's not Perl 6
22:19 moritz_ OmiKrOn: try #perl instead
22:20 cj_ joined #perl6
22:20 OmiKrOn yeah.. well no answer there :-s
22:20 moritz_ that doesn't make your question on topic here
22:20 OmiKrOn ok srry
22:26 pugs_svnbot r17161 | moritz++ | [irclog] small bugfix in fulltext search, fixed behaviour of
22:26 pugs_svnbot r17161 | moritz++ | IrcLog::WWW::my_decode() when dealing with undef/empty args
22:26 pugs_svnbot diff: http://dev.pugscode.org/changeset/17161
22:26 lambdabot Title: Changeset 17161 - Pugs - Trac
22:26 moritz_ bed &
22:28 masak likewise &
22:44 thorat left #perl6
22:50 jisom joined #perl6
22:51 BooK joined #perl6
23:09 Muixirt joined #perl6
23:17 pugs_svnbot r17162 | pmichaud++ | Fix subrule calls in dottyop.
23:17 pugs_svnbot diff: http://dev.pugscode.org/changeset/17162
23:17 lambdabot Title: Changeset 17162 - Pugs - Trac
23:18 thorat joined #perl6
23:31 ashelyb_ joined #perl6
23:44 buetow joined #perl6
23:56 ashleyb joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo