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.
sysdef jo cerridwen *knuddel* 00:30
cerridwen w00t
:)
sysdef ^^
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
meppl good morning 05:22
moritz_ good morning iiiiindeed ;) 06:57
moritz_ s/i**{2..*}/i/ 06:58
obra 'morning 06:59
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?
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
Zoffix moritz_, $_='aabbbcccccc'; push @a, $1 while s/((.)\2+)//; 08:35
moritz_, * instead of + 08:36
moritz_ Zoffix: nah, I want a pure regex solution ;) 08:39
Zoffix moritz_, and I want a million bucks.
moritz_ afk ;) 08:44
agentzh is back. 10:46
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
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
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
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.
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
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 :)
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
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
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
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
rindolf Hi all. 16:25
Alias_ heya
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
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
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
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
[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
moritz_ [particle]: ok, thanks. I'm just curious ;) 19:31
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
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
Juerd Indexes are neat, but finding the right balance can be hard ): 21:38
moritz_ aye ;)
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
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
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
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
OmiKrOn yeah.. well no answer there :-s 22:20
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
pugs_svnbot r17162 | pmichaud++ | Fix subrule calls in dottyop. 23:17
diff: dev.pugscode.org/changeset/17162
lambdabot Title: Changeset 17162 - Pugs - Trac