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:03
blindfish left,
pro21ms4 joined
00:04
markstos_ left
00:19
mark_ joined
00:20
mark_ is now known as markst_
00:22
perlmonkey2 joined
00:25
justatheory joined
00:29
markst_ is now known as markstos_
00:43
weinig is now known as weinig|away
00:53
renormalist left
01:04
BinGOs left
01:06
sunnavy joined
01:11
BinGOs joined
01:21
jisom left
01:25
BinGOs_ joined
01:36
weinig|away is now known as weinig
01:47
BinGOs left
02:13
bonesss left,
Limbic_Region left
02:36
pro21ms4 left
02:44
sunnavy left
02:46
dolmen joined
02:58
thoughtpolice left
03:02
dolmen left
03:34
amnesiac joined
03:36
buetow left
03:37
buetow joined
03:47
buetow left
03:57
bsb left
04:07
gnuvince_ joined
04:13
jisom joined
04:26
weinig left
04:40
perlmonkey2 left
|
|||
pugs_svnbot | r17450 | gnuvince++ | - Added examples by solving problems from Projet Euler. | 04:49 | |
diff: dev.pugscode.org/changeset/17450 | |||
lambdabot | Title: Changeset 17450 - Pugs - Trac | ||
05:04
weinig joined
05:24
justatheory left
06:13
justatheory joined
06:14
justatheory left
06:24
diotalevi left,
jisom left
06:33
BinGOs_ is now known as BinGOs
06:43
jjore-w left
06:47
diotalevi joined
06:50
elmex joined
06:59
Southen joined
07:00
kanru joined
07:20
amnesiac left
07:48
thoughtpolice joined
08:05
stevan_ left
08:08
weinig left
08:22
Aankhen`` joined
08:38
snearch joined
08:43
jedai joined
08:44
jedai left
08:46
snearch left
08:47
jedai joined
08:52
franck___ joined
08:54
masak joined
08:56
franck___ left
|
|||
moritz_ | @tell TimToady as per S29 @list.join($sep) is not allowed | 09:01 | |
lambdabot | Consider it noted. | ||
09:04
franck___ joined
09:05
ubajas joined
09:14
DarkWolf84 left
09:21
franck___ left
09:24
demq joined
09:25
perlMa joined
09:28
larsen_ joined
09:35
rindolf joined
09:37
jiing_ left
09:38
dmq left
09:49
ubajas3 joined
09:59
ubajas left
10:07
iblechbot joined
|
|||
bloonix | hello together | 10:14 | |
masak | ?eval -> { "hello $^someone" }.('together') | 10:19 | |
moritz_ | #pugs say -> { "hello $^someone" }.('together') | 10:20 | |
exp_evalbot | OUTPUT[<SubPointy(<anon>)>*** Cannot cast from VBool True to Pugs.AST.Internals.VCode (VCode) at /tmp/FAwmIqKCY3 line 1, column 1 - line 2, column 1] | ||
masak | moritz_: thx | ||
moritz_: it should work, though, right? | |||
moritz_ | #pugs say { "hello $^someone" }.('together') | ||
exp_evalbot | OUTPUT[<SubBlock(<anon>)>*** Cannot cast from VBool True to Pugs.AST.Internals.VCode (VCode) at /tmp/4oIuc06ElZ line 1, column 1 - line 2, column 1] | ||
moritz_ | I don't know if -> { pointy block}.(call) should work | 10:21 | |
masak | it felt like it could work | ||
it's just "create anon sub and then call it" | 10:22 | ||
moritz_ | and ?eval should work as well ;-) | ||
10:23
barney joined
|
|||
masak | yes, but kudos for building new infrastructure while the old one takes a rest :) | 10:23 | |
moritz_ | actually I did it to have a #kp6 eval ;-) | ||
masak | still | 10:24 | |
10:24
nipra left,
nipra joined
|
|||
moritz_ | ;) | 10:25 | |
10:27
masak left,
riffraff joined
10:28
|Jedai| joined
10:32
turrepurre left
10:33
ubajas joined
|
|||
TimToady | hi, we got to Vienna okay | 10:38 | |
lambdabot | TimToady: You have 2 new messages. '/msg lambdabot @messages' to read them. | ||
10:42
drrho joined
10:43
drrho left,
drrho joined
10:44
ubajas3 left
10:45
jedai left
|
|||
moritz_ | welcome to the German speaking countries ;) | 10:47 | |
10:48
cognominal_ left
|
|||
Patterner | For interesting values of german. | 10:53 | |
10:55
cognominal_ joined
|
|||
moritz_ | aye | 10:55 | |
10:58
falseep joined
|
|||
nothingmuch | clkao: ping? | 10:58 | |
moritz_ | is there a point in implementing Array.sort in pure Perl 6? or are we assuming that all backends will have sort()ing capability? | 11:05 | |
clkao | nothingmuch: hey | 11:06 | |
nothingmuch: my flight is tomorrow, not today | 11:07 | ||
11:07
iblechbot_ joined
|
|||
nothingmuch | oh | 11:08 | |
blech | |||
then tomorrow we'll have a later dinner | |||
dopplr lied and said today | |||
clkao | yikes | 11:09 | |
nothingmuch | gimme your phone number anymoose | ||
clkao | just msg'ed you | ||
nothingmuch | no see | ||
msg on magnet? | |||
11:10
iblechbot left
11:13
perlMa left
11:16
bsb joined
11:20
ubajas3 joined
11:30
ubajas left
11:40
buetow joined
11:54
ubajas joined
11:57
barney left
12:03
ubajas3 left
12:05
agentzh joined
12:09
xinming_ joined
12:17
xinming left
12:18
ofer joined
12:27
ubajas3 joined
12:30
masak joined
12:34
nipra left
12:36
ubajas left
12:37
cls_bsd joined
13:04
fridim joined
|
|||
nothingmuch | scsys.co.uk:8001/9186 | 13:07 | |
lambdabot | Title: perl_web paste from "nothingmuch" at 217.168.144.84... | ||
nothingmuch | comments welcome | ||
outline for yapc talk | |||
13:08
ubajas joined
13:09
sunnavy joined
13:17
nipra joined,
ubajas3 left
|
|||
pugs_svnbot | r17451 | moritz++ | [kp6] more verbose 'not implemented' error messages | 13:19 | |
diff: dev.pugscode.org/changeset/17451 | |||
lambdabot | Title: Changeset 17451 - Pugs - Trac | ||
rindolf | nothingmuch: I read it. | 13:28 | |
nothingmuch | any thoughts | 13:29 | |
? | |||
13:30
stevan_ joined
|
|||
rindolf | nothingmuch: I got the general idea. | 13:30 | |
nothingmuch: but not the details. | 13:31 | ||
nothingmuch: and I'm not sure I understood what it is good for. | |||
nothingmuch | it's a talk, it gives info | ||
this is a general outline of the talk | 13:32 | ||
rindolf | nothingmuch: no, I meant that I'm not sure I understood what meta-object programming was good for. | 13:33 | |
I understood what the document itself was good for. | |||
nothingmuch | structure | ||
that's discussed in more detail in the talk | |||
i suppose the intended audience for this outline is those that don't need the talk ;-) | |||
so they can comment on things I may have missed, etc | |||
13:39
cognominal__ joined
13:40
cognominal_ left
13:43
ubajas3 joined
13:47
markstos_ left
13:49
fridim left
13:50
marmic left
13:51
fridim joined
13:53
ubajas left,
justatheory joined
13:57
bsb left,
blindfish joined
13:59
gnuvince_ left
14:00
DarkWolf84 joined
14:07
justatheory left
|
|||
bloonix | syn/Differences.html | 14:09 | |
a great documentation | |||
masak | yes | ||
bloonix | this is what I ever looking for | 14:10 | |
agentzh | makstos++ | ||
bloonix: feel free to tweak Differences.pod in the pugs repos. it'll be automatically sync'd every 1 hour. | 14:12 | ||
14:14
marmic joined
|
|||
moritz_ | is there a particular reason that there are no comparision infix ops in kp6? | 14:15 | |
I mean there is == and !=, but no < or > | |||
agentzh | moritz_: just hack them in! ;) | 14:17 | |
14:17
chris2 joined
|
|||
agentzh | moritz_: just as fglock like to say, kp6 is mostly demand-driven... | 14:17 | |
moritz_: personally i'd rather it be test-driven, like pugs... | 14:18 | ||
moritz_ | agentzh: I know how to hack them into the grammar, but the implementation is the problem | ||
agentzh | hehe | ||
bloonix | how can I use variables between p5 and p6 ? | ||
example: | |||
agentzh is still reading kp6's source... | |||
pasteling | "bloonix" at 87.79.195.119 pasted "my $uid; { use v5; $uid = getp" (9 lines, 110B) at sial.org/pbot/27080 | ||
agentzh | bloonix: man, you're crazy ;) | 14:19 | |
bloonix | :) | ||
moritz_ | bloonix: I think it _should_ work this way | ||
man, compiling Grammar.pm is slow | 14:20 | ||
bloonix | agentzh: sorry but getpwuid isnt implemented yet and I need a way :) | ||
agentzh is not a kp6 hacker yet. | |||
moritz_ | but not as slow as pugs ;) | ||
bloonix | I got it | 14:21 | |
my $uid = do { use v5; getpwuid(1) } | 14:22 | ||
agentzh has to run out of the $office and catch a bus & | |||
bloonix | works very well :) | ||
masak | bloonix: wow | ||
moritz_ | cool | ||
masak | bloonix++ # brave p6 user | 14:23 | |
bloonix | masak: unfortunately its p5 code in the do block :) | ||
14:24
agentzh left
|
|||
bloonix | but I think its a fine workaround until its implemented | 14:24 | |
masak | bloonix: yes | ||
14:24
ubajas joined
|
|||
masak | it's the effort that counts | 14:24 | |
if more did like you, p6 would be ready sooner | |||
14:25
stevan_ left
14:26
rindolf left
|
|||
bloonix | moritz_: where do you compiling Grammar.pm? | 14:29 | |
moritz_ | v6/v6-KindaPerl6/lib/KindaPerl6/Grammar.pm | 14:30 | |
bloonix | on which machine? :) not on our, or? | 14:31 | |
moritz_ | no | ||
bloonix | selbst schuld :) | ||
moritz_ | it's not _that_ slow | 14:32 | |
;-) | |||
14:34
ubajas3 left
14:38
sunnavy left
|
|||
bloonix | Im confused! | 14:41 | |
"unhandled support type: DESTROY at (eval 1) line 129." | |||
does anyone know why this message happends? | 14:42 | ||
masak | in which situation? | 14:43 | |
bloonix | I dont know. line 129 is a comment | 14:44 | |
14:44
obvio171 left
|
|||
masak | it says "(eval 1) line 129", so it's probably not line 129 of your file | 14:44 | |
bloonix | yes, but I dont know where to search the line | 14:45 | |
masak | I understand. that's why I asked "in which situation?" | ||
because there must be some other part that broke | |||
what is it that you are running when it happens? | |||
14:46
xinming_ is now known as xinming
14:57
ubajas3 joined
15:00
stevan_ joined
15:01
rindolf joined
15:06
ubajas left
|
|||
bloonix | masak: here is a snippet of the module: | 15:07 | |
pasteling | "bloonix" at 87.79.195.119 pasted "#!/usr/bin/pugs class Sys::Sta" (49 lines, 1.1K) at sial.org/pbot/27081 | ||
bloonix | if I comment out the part "my $usr = do { }" the message doesnt comes | 15:08 | |
if I execute only the do block nothing happends | 15:09 | ||
if I think in p5 DESTROY will be executed if a object is destroyed | 15:11 | ||
maybe this way to search | |||
but: | 15:17 | ||
my $usr = (~$0).getpwuid2; | |||
sub getpwuid2 { use v5; return getpwuid("@_"); | |||
} | |||
works nice | |||
15:17
larsen_ left
15:29
cognominal__ left
15:30
devogon joined
|
|||
pugs_svnbot | r17452 | bloonix++ | Add Processes.pm and Processes.t to Sys::Statistics::Linux | 15:34 | |
diff: dev.pugscode.org/changeset/17452 | |||
lambdabot | Title: Changeset 17452 - Pugs - Trac | ||
pugs_svnbot | r17453 | bloonix++ | Add Processes.pm | 15:37 | |
diff: dev.pugscode.org/changeset/17453 | |||
lambdabot | Title: Changeset 17453 - Pugs - Trac | ||
15:38
ubajas joined
15:39
cognominal_ joined
|
|||
pugs_svnbot | r17454 | bloonix++ | Replaced "while ( 1 )" with "loop" in all modules. | 15:46 | |
diff: dev.pugscode.org/changeset/17454 | |||
lambdabot | Title: Changeset 17454 - Pugs - Trac | 15:47 | |
15:47
ubajas3 left
15:50
tcliou joined
|
|||
bloonix | sorry, 3 updates in short time. as next I will bundle it | 15:58 | |
15:59
ubajas3 joined
|
|||
pugs_svnbot | r17455 | gnuvince++ | - Added new problems | 16:02 | |
r17455 | gnuvince++ | - Added problem description and benchmarks to all examples | |||
r17455 | gnuvince++ | - Changed is_prime() function to use junctions. It is slower, | |||
r17455 | gnuvince++ | but more succint ;-) | |||
diff: dev.pugscode.org/changeset/17455 | |||
lambdabot | Title: Changeset 17455 - Pugs - Trac | ||
16:06
perlmonkey2 joined
16:08
ubajas left
16:12
kanru left
16:15
stevan_ left
|
|||
masak | bloonix: if you ask me, that case you found with DESTROY is worthy of a test | 16:20 | |
to make sure the bug is documented somehow | |||
16:24
masak left
|
|||
pugs_svnbot | r17456 | sartak++ | r37404@onn: sartak | 2007-08-26 12:32:26 -0400 | 16:35 | |
r17456 | sartak++ | Add an alternate implementation of Euler 5, which runs blazingly fast :) | |||
diff: dev.pugscode.org/changeset/17456 | |||
lambdabot | Title: Changeset 17456 - Pugs - Trac | ||
16:43
gnuvince_ joined
16:53
ubajas joined
16:55
cognominal_ left
16:58
fglock joined
|
|||
fglock | moritz_: re times, please note that KindaPerl6 supports precompilation | 16:59 | |
one sec, i'll paste a command line | |||
pasteling | "fglock" at 87.103.66.94 pasted "kp6 precompiled" (9 lines, 169B) at sial.org/pbot/27082 | 17:01 | |
fglock | hmm - i'll paste in the blog | 17:02 | |
17:03
ubajas3 left
17:08
Patterner left
17:13
Psyche^ joined,
Psyche^ is now known as Patterner
17:28
amnesiac joined
17:29
snearch joined
17:32
fglock left
|
|||
Eidolos | gnuvince_: ping | 17:35 | |
pugs_svnbot | r17457 | sartak++ | r37410@onn: sartak | 2007-08-26 13:34:40 -0400 | 17:38 | |
r17457 | sartak++ | Three more Euler problems (9, 20, 29) | |||
diff: dev.pugscode.org/changeset/17457 | |||
lambdabot | Title: Changeset 17457 - Pugs - Trac | ||
17:39
ubajas3 joined
17:49
ubajas left
17:51
riffraff left
17:55
demq left
17:56
hkb_zz_ is now known as hkb_zz
18:14
ubajas joined
|
|||
Eidolos | defining a postfix ! seems to screw up the ?? !! op a lot :) | 18:16 | |
Eidolos adds a test | |||
18:16
cognominal_ joined
|
|||
pugs_svnbot | r17458 | sartak++ | r37412@onn: sartak | 2007-08-26 14:19:57 -0400 | 18:23 | |
r17458 | sartak++ | Add failing test for interaction between postfix:<!> and ?? !! | |||
r17459 | sartak++ | r37413@onn: sartak | 2007-08-26 14:23:11 -0400 | |||
r17459 | sartak++ | Two more Euler problems (11, 15) | |||
diff: dev.pugscode.org/changeset/17459 | |||
18:23
ubajas3 left
|
|||
lambdabot | Title: Changeset 17459 - Pugs - Trac | 18:23 | |
18:24
cognominal_ left
18:28
cognominal_ joined
18:30
pjcj left
18:43
weinig joined
18:45
renormalist joined
18:47
ubajas3 joined,
pjcj joined
18:55
drrho left
18:57
ubajas left
18:59
ubajas joined,
cognominal__ joined
19:01
cognominal_ left
19:08
ubajas3 left
19:09
ubajas3 joined
19:13
xinming left
19:18
ubajas left
19:22
Dfa-Dom joined
19:26
jisom joined
19:32
stevan_ joined
|
|||
moritz_ | is the last element of an array @array[-1] or @array[*-1]? | 19:39 | |
Gothmog_ | The latter, iirc. | 19:41 | |
moritz_ | I think so as well, but I can't remeber why | ||
Eidolos | it's the latter according to the Synopses | 19:42 | |
but I'm pretty sure Pugs still uses [-1] | |||
moritz_ | I thought * in array subscripts was 'whatever', so I'd read @foo[*-1] as "everything up to the last item" | ||
Eidolos | whatever is very contextual :) in subscripts it means the last item + 1 | 19:43 | |
the reason for the change from Perl 5 is (at least partly) because of subtle bugs with unexpected negative subscripts | |||
moritz_ | good point | ||
19:45
cognominal__ left
19:46
cognominal_ joined
|
|||
pugs_svnbot | r17460 | gnuvince++ | - Added problems 25 and 48 from Project Euler | 19:46 | |
diff: dev.pugscode.org/changeset/17460 | |||
lambdabot | Title: Changeset 17460 - Pugs - Trac | ||
Eidolos | gnuvince_: I think we should refactor out common functions, like the prime number generator | 19:49 | |
pugs_svnbot | r17461 | moritz++ | a few tweaks to docs/Perl6/Perl5/Differences.pod | ||
diff: dev.pugscode.org/changeset/17461 | |||
lambdabot | Title: Changeset 17461 - Pugs - Trac | ||
19:51
cognominal_ left
19:52
cognominal_ joined
20:00
falseep left
20:13
amnesiac left
20:17
snearch left
|
|||
pugs_svnbot | r17462 | sartak++ | r37416@onn: sartak | 2007-08-26 16:18:15 -0400 | 20:20 | |
r17462 | sartak++ | Euler problems 17, 18, 67 | |||
diff: dev.pugscode.org/changeset/17462 | |||
lambdabot | Title: Changeset 17462 - Pugs - Trac | ||
20:34
ubajas joined
20:43
ubajas3 left
|
|||
pugs_svnbot | r17463 | fglock++ | [v6.pm] 0.020 - fixed warnings when compiling from a pipe | 20:56 | |
diff: dev.pugscode.org/changeset/17463 | |||
lambdabot | Title: Changeset 17463 - Pugs - Trac | ||
20:59
fglock joined
21:04
iblechbot_ left
21:17
Aankhen`` left
21:20
ubajas3 joined
21:30
ubajas left
21:34
fglock left
22:06
ubajas joined
22:15
elmex left
22:16
ubajas3 left
|
|||
gnuvince_ | Eidolos: yes | 22:18 | |
22:21
cognominal_ left
|
|||
pugs_svnbot | r17464 | sartak++ | r37421@onn: sartak | 2007-08-26 18:20:44 -0400 | 22:23 | |
r17464 | sartak++ | One last Euler problem, 21 (amicable pairs) | |||
diff: dev.pugscode.org/changeset/17464 | |||
lambdabot | Title: Changeset 17464 - Pugs - Trac | ||
22:24
cognominal_ joined
22:35
mtve left
22:52
Dfa-Dom left
22:59
ubajas3 joined
23:05
mj41_ joined
23:07
chris2 left
23:09
ubajas left
23:22
mj41 left
23:28
renormalist left
23:38
ubajas joined,
bsb joined
23:47
ubajas3 left
23:53
devogon left
23:56
stevan_ left
23:59
theorbtwo joined
|