pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
00:00 devogon left 00:01 devogon joined 00:05 larsen_ left 00:07 devogon left 00:16 devogon joined 00:19 Schwern joined 00:23 Schwern left 00:30 cerridwen joined
sysdef jo cerridwen *knuddel* 00:30
cerridwen w00t
:)
sysdef ^^
00:38 rashakil left, devogon left 00:39 Limbic_Region joined 01:14 pmichaud left 01:22 Schwern joined 01:33 Schwern left 01:35 kanru2 joined, kanru left 01:48 GeJ_ joined 01:49 GeJ_ left 01:53 buetow left 01:54 xinming left 02:02 Limbic_Region left 02:07 kanru2 is now known as kanru, Aankhen`` joined 02:11 IceShaman left, IceSham[a]n joined 02:44 weinig left 02:45 lisppaste3 joined 02:55 Schwern joined 03:03 weinig joined 03:07 xinming joined 03:22 weinig left 03:32 solar345 joined 03:45 Schwern left
pugs_svnbot r17150 | perlDreamer++ | add a test to exercise parsing pi as a built-in, not numerically 03:50
diff: dev.pugscode.org/changeset/17150
r17151 | perlDreamer++ | fix typos in the test descriptions 04:02
diff: dev.pugscode.org/changeset/17151
r17152 | perlDreamer++ | add a test for the currently unimplemented (in pugs) e constant, similar to pi 04:05
diff: dev.pugscode.org/changeset/17152
04:07 kanru left 04:17 lambdabot joined 04:23 [particle1 joined 04:29 [particle] left 04:35 araujo joined 04:49 justatheory left 04:57 amnesiac joined 05:06 DarkWolf84 joined 05:08 hakobe is now known as hkb_aw 05:16 kanru joined
meppl good morning 05:22
05:33 devogon joined 05:36 kanru left 05:48 thestarslookdown joined 06:05 jisom joined 06:08 Aankhen`` left 06:11 Aankhen`` joined 06:21 kanru joined 06:29 weinig joined 06:36 ruz left 06:39 solar345 left
moritz_ good morning iiiiindeed ;) 06:57
06:58 ruz joined
moritz_ s/i**{2..*}/i/ 06:58
obra 'morning 06:59
07:02 pro21ms4 joined 07:24 franck___ joined 07:29 pro21ms4 left 07:34 Aankh|Clone joined 07:36 Aankhen`` left 07:43 drrho joined 07:47 amnesiac left 08:02 elmex joined
moritz_ www.perlmonks.org/?node_id=629259 08:08
lambdabot Title: Split a string based on change of character
moritz_ why doesn't work m/((?<=.))(?!\1)/ the way I expected it?
08:09 franck____ joined
Zoffix moritz_, m/(?<=(.))(?!\1)/ 08:11
moritz_ Zoffix: thanks, that's better ;) 08:12
Zoffix moritz_, lookbehind is zero-length, you need to capture what it matches instead
moritz_ right
as soon as you gave me the right regex it became obvious ;)
perl -MData::Dumper -wle '$Data::Dumper::Indent=0; $_="aaabbc"; print Dumper([split m/(?<=(.))(?!\1)/]);' 08:13
$VAR1 = ['aaa','a','bb','b','c','c'];
is that because split() returns the captured text as well? 08:14
08:15 Schwern joined 08:17 franck___ left 08:18 DarkWolf84 left 08:20 Aankh|Clone left, DarkWolf84 joined 08:23 larsen joined 08:25 franck___ joined 08:30 franck____ left 08:31 daxim_ joined, franck___ left, franck___ joined 08:34 cerridwen is now known as Cerridwyn
Zoffix moritz_, $_='aabbbcccccc'; push @a, $1 while s/((.)\2+)//; 08:35
moritz_, * instead of + 08:36
08:36 larsen_ joined 08:37 weinig left, franck___ left
moritz_ Zoffix: nah, I want a pure regex solution ;) 08:39
Zoffix moritz_, and I want a million bucks.
08:40 larsen left
moritz_ afk ;) 08:44
08:47 daxim left 08:49 Schwern left 09:06 thestarslookdown left 09:12 Schwern joined 09:18 araujo left 09:28 buetow joined 09:36 agentzh joined 09:37 phileas_fox joined 09:41 agentzh left 09:49 Schwern left 09:52 chris2 joined 09:58 Schwern joined 10:05 DarkWolf84 left 10:06 explorer joined 10:17 iblechbot joined 10:36 drrho left, agentzh joined 10:43 Southen joined
agentzh is back. 10:46
10:53 Southen left, Southen joined 10:54 franck___ joined 11:04 explorer left 11:36 jettero joined 11:49 drrho joined
agentzh svnbot? 12:07
pugs_svnbot r17153 | agentz++ | [PCR]
r17153 | agentz++ | * added t/emitter/00-basic.t to test the non-ratchet emitter.
r17153 | agentz++ | * fixed $::PCR_SEED which is no longer required to set at BEGIN time.
diff: dev.pugscode.org/changeset/17153
lambdabot Title: Changeset 17153 - Pugs - Trac 12:08
agentzh cool
12:39 DarkWolf84 joined 12:49 masak joined
masak lambdabot is back! :) 12:51
@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
agentzh yes :)
masak rhr: so there is a problem in pugs' MMD, eh? 12:56
I'm not sure I see myself as competent enough to improve the MMD implementation
nevertheless, I'll have a look
I's need to be absolutely clear about what should happen and what actually happens, though 12:57
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
I'll be here for a few hours at least
...oh, I see polletix++ has already prepared what I think I want at sial.org/pbot/26477 12:59
lambdabot Title: Paste #26477 from "polettix" at 81.174.12.28
13:08 xdg joined 13:28 perlMa joined 13:43 perlMa left
masak this here appears to be part of the problem: 14:02
?eval class T { has $.b; multi submethod BUILD () { $.b = "bare" } multi submethod BUILD (Str :$string is mandatory) { $.b = "string" } } T.new().b
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)ā¤
masak um, no not that 14:03
evalbot_r: are we running the same pugs version?
strange error, btw
14:04 devogon left, devogon joined
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:04
pugs_svnbot r17154 | agentz++ | [PCR] 14:05
r17154 | agentz++ | * added more tests to t/emitter/00-basic.t for the ratchet emitter.
r17154 | agentz++ | Hey, writing tests this way is a lot of fun :)
diff: dev.pugscode.org/changeset/17154
lambdabot Title: Changeset 17154 - Pugs - Trac
masak rhr: yes. a rewrite of DateTime, having highest realistic outlook of success, will be my main effort
but I will also take a look at S12 and how Pugs implements MMD 14:06
agentzh @tell fglock i've found an excellent way to write declarative unit tests for emitters based on Test::Base: svn.pugscode.org/pugs/perl5/Pugs-Co...00-basic.t 14:13
lambdabot Consider it noted.
14:13 buetow left 14:19 Blwood joined
pugs_svnbot r17155 | agentz++ | PCR - more Layout tests for the ratchet emitter 14:19
diff: dev.pugscode.org/changeset/17155
lambdabot Title: Changeset 17155 - Pugs - Trac
14:19 DarkWolf84 left 14:20 xdg left 14:24 DarkWolf84 joined 14:27 Aankhen`` joined
pugs_svnbot r17156 | agentz++ | PCR - added <group> ... </group> to the ratchet emitter ouputs 14:31
diff: dev.pugscode.org/changeset/17156
lambdabot Title: Changeset 17156 - Pugs - Trac
diakopter perlDreamer++ 14:34
agentz++
agentzh :)
14:37 iblechbot left 14:38 hkb_aw is now known as hakobe
pugs_svnbot r17157 | agentz++ | [PCR] 14:38
r17157 | agentz++ | * updated Pugs::Grammar::Rule.pmc using the latest emitter
r17157 | agentz++ | * removed the BEGIN {...} from compile_p6grammar.pl since $::PCR_SEED
r17157 | agentz++ | is now works at runtime instead of BEGIN time.
diff: dev.pugscode.org/changeset/17157
lambdabot Title: Changeset 17157 - Pugs - Trac 14:39
agentzh oops, s/is now works/now works/ 14:40
14:43 cognominal_ left
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
14:44 cognominal_ joined
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:46
by doing this, the tracing feature will have little performance penalty in non-tracing mode. 14:47
that's what for tomorrow. bedtime & 14:48
14:48 agentzh left 15:02 riffraff joined 15:03 buetow joined 15:04 riffraff left 15:06 Aankh|Clone joined 15:18 dolmen joined 15:19 larsen_ left 15:24 Aankhen`` left 15:26 sunnavy joined 15:28 jettero left 15:31 jhorwitz joined
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)ā¤
masak there's got to be some discrepancy somewhere, because I don't get this error on my box 15:40
15:41 szbalint left 15:45 araujo joined 16:03 chris2 left 16:04 franck___ left 16:14 Alias_ joined 16:21 rindolf joined
rindolf Hi all. 16:25
Alias_ heya
16:28 crashmatrix joined
masak hello, rindolf 16:33
rindolf Hi Alias_
Hi masak
Alias_: what time is it there?
Alias_ 2:34am
ish 16:34
I've been awake for 4 hours, and just got to work :)
rindolf Alias_: wow.
Alias_ shrugs 16:35
masak Alias_: do you always work at night? 16:44
Alias_ no
I tend to drift around the clock sometimes, that's all
masak Alias_: maybe your subjective day is a bit too long or too short
Alias_ possibly 16:45
masak & # food 16:46
16:51 sunnavy left 16:55 drrho left 17:01 Psyche^ joined 17:02 Aankh|Clone left 17:06 amnesiac joined
pugs_svnbot r17158 | moritz++ | debian/control: build dependency is libghc6-time-dev 17:06
diff: dev.pugscode.org/changeset/17158
lambdabot Title: Changeset 17158 - Pugs - Trac
moritz_ the pugs <-> PCR bridge seems to be a bit broken
pugs -e '$_="aaabbc"; .split: m/<before (.)><!after $0>/'
*** Cannot parse regex: <before (.)><!after $0>
*** 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.
sorry, wrong message... 17:07
ignore what I said, I can't find the message anymore that I wantedt to paste ;) 17:08
17:16 Patterner left, Psyche^ is now known as Patterner
moritz_ @tell diakopter bug in evalbot: it renames itself to evalbot_r without trailing revision number 17:17
lambdabot Consider it noted.
spinclad it seems to be stuck at revision ''. 17:23
?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)ā¤
spinclad ?eval say 'hi mom'
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)ā¤
moritz_ rebuilds his pugs locally 17:29
spinclad revision '' is broken, or evalbot is
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)ā¤
masak yes, something is broken
18:04 Psyche^ joined 18:05 mr_ank left 18:16 Patterner left, Psyche^ is now known as Patterner 18:17 justatheory joined 18:29 hakobe is now known as hkb_zz 18:58 weinig joined
moritz_ can anybody tell me what 'judy' is, and why we need files in the repository that seem to be automatically generated? 19:15
ok, now I read what it is... but autm4te.cache/ sounds like it doesn't need to be in the repo 19:16
19:22 rindolf left 19:26 thepler joined, iblechbot joined
[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
19:30 [particle1 is now known as [particle]
moritz_ [particle]: ok, thanks. I'm just curious ;) 19:31
19:33 thepler left 19:34 thepler joined 19:40 jhorwitz left
diakopter alias $low..+8 = $low..($low+8) 19:47
lambdabot diakopter: You have 1 new message. '/msg lambdabot @messages' to read it.
Alias_ ? 19:50
:)
masak :)
diakopter not *that* alias 19:55
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 20:03 nperez left, amnesiac left 20:24 jisom left, Southen_ joined 20:27 thorat joined 20:29 Southen left 20:34 justatheory left 20:50 Zoffix left 20:57 jisom joined 20:58 Schwern left 21:23 iblechbot left 21:28 thepler left
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:29
21:37 elmex left
Juerd Indexes are neat, but finding the right balance can be hard ): 21:38
moritz_ aye ;)
21:39 apeiron joined
pugs_svnbot r17159 | moritz++ | [irclog] fixed line anchors in search 21:43
diff: dev.pugscode.org/changeset/17159
lambdabot Title: Changeset 17159 - Pugs - Trac
Juerd That's a beautiful diff. 21:44
21:44 jisom left
moritz_ you're joking 21:44
it makes me understand how hard that part of the code is
because @r2 should be decomposed into variables with readable names 21:45
Juerd I'm talking about the visualisation of the diff, not the actual patch itself :) 21:46
moritz_ that explains a lot 21:47
looking at the diff made me realize that i commited more than i wanted
to 21:48
no harm done, just an incomplete log message
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
I tend to #1
21:56 demq joined 22:06 dmq left
masak moritz_: yes, probably #1 22:13
pugs_svnbot r17160 | moritz++ | [irclog] implemented fulltext search logic, it's not in the frontend yet. If 22:16
r17160 | moritz++ | you are impatient, search for a nick and append ;q=$your_query_string to the
r17160 | moritz++ | result URL
diff: dev.pugscode.org/changeset/17160
lambdabot Title: Changeset 17160 - Pugs - Trac
moritz_ try moritz.faui2k3.org/irclog/search.pl...ter;q=todo for example ;) 22:17
lambdabot Title: IRC logs - Search, tinyurl.com/26nnwg
22:18 OmiKrOn joined
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
sial.org/pbot/26522 <-- check_table sub
lambdabot Title: Paste #26522 from "OmiKrOn" at 89.32.10.209
moritz_ OmiKrOn: that's not Perl 6
OmiKrOn: try #perl instead
22:19 cj_ joined
OmiKrOn yeah.. well no answer there :-s 22:20
22:20 cj left
moritz_ that doesn't make your question on topic here 22:20
OmiKrOn ok srry
pugs_svnbot r17161 | moritz++ | [irclog] small bugfix in fulltext search, fixed behaviour of 22:25
r17161 | moritz++ | IrcLog::WWW::my_decode() when dealing with undef/empty args
diff: dev.pugscode.org/changeset/17161
lambdabot Title: Changeset 17161 - Pugs - Trac
moritz_ bed & 22:26
masak likewise & 22:28
22:28 masak left 22:43 thorat left 22:44 BooK left 22:50 jisom joined 22:51 BooK joined, phileas_fox left 22:54 jrockway left 23:09 Muixirt joined
pugs_svnbot r17162 | pmichaud++ | Fix subrule calls in dottyop. 23:17
diff: dev.pugscode.org/changeset/17162
lambdabot Title: Changeset 17162 - Pugs - Trac
23:18 thorat joined, OmiKrOn left 23:24 Limbic_Region left 23:31 ashelyb_ joined 23:41 ashleyb left 23:44 buetow left, buetow joined 23:45 Muixirt left 23:55 Blwood left 23:56 dolmen left, ashleyb joined