pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/ Set by TimToady on 25 January 2008. |
|||
Juerd | I hate autoscrolling. I don't read entire texts at exactly the same speed apparently. | 00:01 | |
And I don't mind scrolling manually at all. | |||
00:07
mncharity joined
00:12
eternaleye joined
00:18
IllvilJa joined
00:19
elmex left
00:54
nipotan is now known as nipotaway,
Helios- joined
01:14
pbuetow left,
pbuetow joined
01:25
Ched- left,
Grrrr left
01:37
Limbic_Region left
01:56
Helios- left
01:58
coolcat50 left
02:01
mncharit1 joined
02:02
mncharity left
02:08
Helios- joined
02:18
felipe left
02:24
eternaleye left
02:27
jhorwitz left
02:33
Helios- left
02:44
jjore left
02:47
jjore joined,
jjore is now known as zz_jjore,
zz_jjore is now known as jjore
02:58
jjore is now known as zz_jjore,
zz_jjore is now known as jjore
02:59
Helios- joined
|
|||
pugs_svnbot | r20479 | putter++ | [elf] sprintf added; an unfinshed start on import(); Pair now used for pairs. | 02:59 | |
03:04
thepler left,
pugs_svnbot left,
audreyt left,
Juerd left,
wolverian left,
dalek left,
ruoso left,
jjore left,
arguile left,
kolibrie left,
qmole left,
Auzon left,
meteorjay left,
Caelum left,
allbery_b left,
Maddingue left,
rhr left,
pmichaud left,
baest left,
jiing left,
kcwu left,
rafl left,
shachaf left,
araujo left,
TimToady left,
ting_ left,
Eevee left,
Patterner left,
agentzh left,
mtve left,
Tene left,
cj left,
drbean_ left,
buubot left,
r0bby left,
speckbot left,
pjcj left,
REPLeffect_ left,
Jedai left,
moritz_ left,
PerlJam left,
gbacon left,
smtms left,
nipotaway left,
SubStack left,
kst left,
Sartak left,
obra left,
integral left,
IllvilJa left,
fullermd left,
mofino left,
cls_bsd left,
tobeya left,
SamB left,
lambdabot left,
spinclad left,
yves left,
Lunchy left,
Khisanth left,
joejaxx left,
stevan_ left,
carlosf left,
japhb left,
zev left,
xdg_ left,
zamolxes left,
silug left,
jrockway left,
zostay left,
ingy left,
IRSeekBot left,
yahooooo left,
kane_ left,
cookys left,
hcchien left,
avar left,
LCamel left,
buu left,
alester left,
tcliou left,
ilbot2 left,
pasteling left,
gugod left,
aindilis left,
TreyHarris left,
charsbar left,
mj41 left,
mncharit1 left,
pbuetow left,
bsb left,
bbkr_ left,
diakopter left,
ofer left,
perlbot left,
nothingmuch left,
explorer left
03:05
jjore joined,
mncharit1 joined,
pbuetow joined,
IllvilJa joined,
japhb joined,
TimToady joined,
Sartak joined,
Patterner joined,
alester joined,
Auzon joined,
explorer joined,
PerlJam joined,
mj41 joined,
ruoso joined,
wolverian joined,
Juerd joined,
pmichaud joined,
pugs_svnbot joined,
dalek joined,
Eevee joined,
charsbar joined,
smtms joined,
Jedai joined,
carlosf joined,
cookys joined,
baest joined,
audreyt joined,
Caelum joined,
agentzh joined,
integral joined,
xdg_ joined,
ofer joined,
lambdabot joined,
tobeya joined,
ting_ joined,
thepler joined,
bbkr_ joined,
kst joined,
avar joined,
ilbot2 joined,
aindilis joined,
bsb joined,
stevan_ joined,
kane_ joined,
IRSeekBot joined,
rafl joined,
gbacon joined,
nipotaway joined,
araujo joined,
meteorjay joined,
cls_bsd joined,
fullermd joined,
Tene joined,
qmole joined,
REPLeffect_ joined,
gugod joined,
ingy joined,
zostay joined,
diakopter joined,
drbean_ joined,
hcchien joined,
Lunchy joined,
silug joined,
r0bby joined,
Khisanth joined,
buu joined,
zamolxes joined,
SamB joined,
speckbot joined,
rhr joined,
moritz_ joined,
joejaxx joined,
kcwu joined,
pjcj joined,
allbery_b joined,
arguile joined,
kolibrie joined,
Maddingue joined,
buubot joined,
LCamel joined,
tcliou joined,
pasteling joined,
perlbot joined,
nothingmuch joined,
TreyHarris joined,
zev joined,
spinclad joined,
mtve joined,
SubStack joined,
yves joined,
mofino joined,
cj joined,
jrockway joined,
obra joined,
yahooooo joined,
jiing joined,
shachaf joined
03:07
thepler left,
pugs_svnbot left,
Juerd left,
audreyt left,
wolverian left,
dalek left,
ruoso left,
kolibrie left,
qmole left,
Auzon left,
jjore left,
arguile left,
meteorjay left,
Caelum left,
allbery_b left,
Maddingue left,
ting_ left,
Eevee left,
Patterner left,
TimToady left,
mtve left,
agentzh left,
Tene left,
drbean_ left,
cj left,
buubot left,
r0bby left,
pjcj left,
moritz_ left,
speckbot left,
REPLeffect_ left,
PerlJam left,
Jedai left,
smtms left,
SubStack left,
kst left,
nipotaway left,
gbacon left,
Sartak left,
obra left,
integral left,
mofino left,
fullermd left,
cls_bsd left,
tobeya left,
IllvilJa left,
SamB left,
lambdabot left,
spinclad left,
yves left,
Lunchy left,
Khisanth left,
joejaxx left,
stevan_ left,
carlosf left,
zev left,
xdg_ left,
zamolxes left,
japhb left,
silug left,
jrockway left,
zostay left,
ingy left,
IRSeekBot left,
kane_ left,
ilbot2 left,
alester left,
yahooooo left,
hcchien left,
cookys left,
buu left,
avar left,
tcliou left
03:08
pasteling left,
LCamel left,
gugod left,
aindilis left,
TreyHarris left,
charsbar left,
mj41 left,
diakopter left,
bsb left,
bbkr_ left,
pbuetow left,
mncharit1 left,
ofer left,
perlbot left,
nothingmuch left,
explorer left,
rhr left,
baest left,
pmichaud left,
kcwu left,
jiing left,
rafl left,
shachaf left,
araujo left
03:09
BinGOs left,
Gothmog_ left,
exp_evalbot left,
yath left,
wknight8111 left
03:10
Helios- left
03:29
Helios- joined
03:30
jjore joined,
mncharit1 joined,
pbuetow joined,
IllvilJa joined,
japhb joined,
TimToady joined,
Sartak joined,
Patterner joined,
alester joined,
Auzon joined,
explorer joined,
PerlJam joined,
mj41 joined,
ruoso joined,
wolverian joined,
Juerd joined,
pmichaud joined,
pugs_svnbot joined,
dalek joined,
Eevee joined,
charsbar joined,
smtms joined,
Jedai joined,
carlosf joined,
cookys joined,
baest joined,
audreyt joined,
Caelum joined,
agentzh joined,
integral joined,
xdg_ joined,
ofer joined,
lambdabot joined,
tobeya joined,
ting_ joined,
thepler joined,
bbkr_ joined,
kst joined,
avar joined,
ilbot2 joined,
aindilis joined,
bsb joined,
stevan_ joined,
kane_ joined,
IRSeekBot joined,
rafl joined,
gbacon joined,
nipotaway joined,
araujo joined,
meteorjay joined,
cls_bsd joined,
fullermd joined,
Tene joined,
qmole joined,
REPLeffect_ joined,
gugod joined,
ingy joined,
zostay joined,
diakopter joined,
drbean_ joined,
hcchien joined,
Lunchy joined,
silug joined,
r0bby joined,
Khisanth joined,
buu joined,
zamolxes joined,
SamB joined,
speckbot joined,
rhr joined,
moritz_ joined,
joejaxx joined,
kcwu joined,
pjcj joined,
allbery_b joined,
arguile joined,
kolibrie joined,
Maddingue joined,
buubot joined,
LCamel joined,
tcliou joined,
pasteling joined,
perlbot joined,
nothingmuch joined,
TreyHarris joined,
zev joined,
spinclad joined,
mtve joined,
SubStack joined,
yves joined,
mofino joined,
cj joined,
jrockway joined,
obra joined,
yahooooo joined,
jiing joined,
shachaf joined
03:38
pbuetow_ joined
03:49
pbuetow left
03:51
luqui joined
|
|||
pugs_svnbot | r20481 | putter++ | [STD_red] Line and character positions are now unchanged by removal of bogus pods. | 03:56 | |
03:56
mncharit1 left
04:28
exp_evalbot joined,
BinGOs joined,
Gothmog_ joined,
yath joined
04:35
simcop2387 joined
04:47
Alias_ joined
04:53
BinGOs left,
Gothmog_ left,
exp_evalbot left,
yath left,
exp_evalbot joined,
BinGOs joined,
Gothmog_ joined,
yath joined
04:56
luqui left
04:57
meteorjay left
|
|||
Auzon | TimToady: in S01, should "use v6-alpha" be "use v6" in the nested example? | 05:00 | |
05:03
carlosf left
05:16
xxy joined
|
|||
speckbot | r14545 | larry++ | cleanup of old v6-alpha hack suggested by Auzon++ | 05:33 | |
Auzon | Thanks TimToady. I'll be getting some of them in the test suite soonish. | ||
05:39
BinGOs left,
Gothmog_ left,
exp_evalbot left,
yath left,
thepler left,
pugs_svnbot left,
Juerd left,
audreyt left,
wolverian left,
dalek left,
ruoso left,
kolibrie left,
qmole left,
Auzon left,
jjore left,
arguile left,
Caelum left,
allbery_b left,
Maddingue left,
ting_ left,
Eevee left,
Patterner left,
TimToady left,
mtve left,
agentzh left,
Tene left,
drbean_ left,
cj left,
buubot left,
r0bby left,
pjcj left,
moritz_ left,
speckbot left,
REPLeffect_ left,
PerlJam left,
Jedai left,
smtms left,
SubStack left,
kst left,
nipotaway left,
gbacon left,
Sartak left,
obra left,
integral left,
mofino left,
fullermd left,
cls_bsd left,
tobeya left,
IllvilJa left,
SamB left,
lambdabot left,
spinclad left,
yves left,
Lunchy left,
Khisanth left,
joejaxx left,
stevan_ left,
zev left,
xdg_ left,
zamolxes left,
japhb left,
silug left,
jrockway left,
zostay left,
ingy left,
IRSeekBot left,
xxy left,
kane_ left,
ilbot2 left,
alester left,
yahooooo left,
hcchien left,
cookys left,
buu left,
avar left,
tcliou left,
pasteling left,
LCamel left,
gugod left,
aindilis left,
TreyHarris left,
charsbar left,
mj41 left,
Alias_ left,
simcop2387 left,
pbuetow_ left,
diakopter left,
bsb left,
bbkr_ left,
ofer left,
perlbot left,
nothingmuch left,
explorer left,
rhr left,
baest left,
pmichaud left,
kcwu left,
jiing left,
rafl left,
shachaf left,
araujo left
05:41
Helios- left
05:56
Helios- joined
05:57
kanru joined,
xxy joined,
yath joined,
Gothmog_ joined,
BinGOs joined,
exp_evalbot joined,
Alias_ joined,
simcop2387 joined,
pbuetow_ joined,
jjore joined,
IllvilJa joined,
japhb joined,
TimToady joined,
Sartak joined,
Patterner joined,
alester joined,
Auzon joined,
explorer joined,
PerlJam joined,
mj41 joined,
ruoso joined,
wolverian joined,
Juerd joined,
pmichaud joined,
pugs_svnbot joined,
dalek joined,
Eevee joined,
charsbar joined,
smtms joined,
Jedai joined,
cookys joined,
baest joined,
audreyt joined,
Caelum joined,
agentzh joined,
integral joined,
xdg_ joined,
ofer joined,
lambdabot joined,
tobeya joined,
ting_ joined,
thepler joined,
bbkr_ joined,
kst joined,
avar joined,
ilbot2 joined,
aindilis joined,
bsb joined,
stevan_ joined,
kane_ joined,
IRSeekBot joined,
rafl joined,
gbacon joined,
nipotaway joined,
araujo joined,
cls_bsd joined,
fullermd joined,
Tene joined,
qmole joined,
REPLeffect_ joined,
gugod joined,
ingy joined,
zostay joined,
diakopter joined,
drbean_ joined,
hcchien joined,
Lunchy joined,
silug joined,
r0bby joined,
Khisanth joined,
buu joined,
zamolxes joined,
SamB joined,
speckbot joined,
rhr joined,
moritz_ joined,
joejaxx joined,
kcwu joined,
pjcj joined,
allbery_b joined,
arguile joined,
kolibrie joined,
Maddingue joined,
buubot joined,
LCamel joined,
tcliou joined,
pasteling joined,
perlbot joined,
nothingmuch joined,
TreyHarris joined,
zev joined,
spinclad joined,
mtve joined,
SubStack joined,
yves joined,
mofino joined,
cj joined,
jrockway joined,
obra joined,
yahooooo joined,
jiing joined,
shachaf joined
05:58
BinGOs left,
exp_evalbot left,
Gothmog_ left,
yath left
05:59
exp_evalbot joined,
BinGOs joined,
Gothmog_ joined,
yath joined
06:16
Ad joined
06:17
xxy left
06:19
alc joined,
Ad left
06:31
polettix joined,
justatheory left
06:38
BinGOs left,
Gothmog_ left,
exp_evalbot left,
yath left,
thepler left,
pugs_svnbot left,
Juerd left,
audreyt left,
wolverian left,
dalek left,
ruoso left,
kolibrie left,
qmole left,
Auzon left,
jjore left,
arguile left,
Caelum left,
allbery_b left,
Maddingue left,
ting_ left,
Eevee left,
Patterner left,
TimToady left,
mtve left,
agentzh left,
Tene left,
drbean_ left,
cj left,
buubot left,
r0bby left,
pjcj left,
moritz_ left,
speckbot left,
REPLeffect_ left,
PerlJam left,
Jedai left,
smtms left,
SubStack left,
kst left,
nipotaway left,
gbacon left,
Sartak left,
obra left,
integral left,
mofino left,
fullermd left,
cls_bsd left,
tobeya left,
IllvilJa left,
SamB left,
lambdabot left,
spinclad left,
yves left,
Lunchy left,
Khisanth left,
joejaxx left,
stevan_ left,
kanru left,
zev left,
xdg_ left,
zamolxes left,
japhb left,
silug left,
jrockway left,
zostay left,
ingy left,
IRSeekBot left,
kane_ left,
ilbot2 left,
alester left,
yahooooo left,
hcchien left,
cookys left,
buu left,
avar left,
tcliou left,
pasteling left,
LCamel left,
gugod left,
aindilis left,
TreyHarris left,
charsbar left,
mj41 left,
diakopter left,
bsb left,
bbkr_ left,
pbuetow_ left,
ofer left,
perlbot left,
simcop2387 left,
nothingmuch left,
explorer left,
Alias_ left,
alc left,
rhr left,
baest left,
pmichaud left,
kcwu left,
jiing left,
araujo left,
rafl left,
shachaf left
06:41
Helios- left
06:45
Helios- joined
06:46
Grrrr joined,
alc joined,
yath joined,
Gothmog_ joined,
BinGOs joined,
exp_evalbot joined,
kanru joined,
Alias_ joined,
simcop2387 joined,
pbuetow_ joined,
jjore joined,
IllvilJa joined,
japhb joined,
TimToady joined,
Sartak joined,
Patterner joined,
alester joined,
Auzon joined,
explorer joined,
PerlJam joined,
mj41 joined,
ruoso joined,
wolverian joined,
Juerd joined,
pmichaud joined,
pugs_svnbot joined,
dalek joined,
Eevee joined,
charsbar joined,
smtms joined,
Jedai joined,
cookys joined,
baest joined,
audreyt joined,
Caelum joined,
agentzh joined,
integral joined,
xdg_ joined,
ofer joined,
lambdabot joined,
tobeya joined,
ting_ joined,
thepler joined,
bbkr_ joined,
kst joined,
avar joined,
ilbot2 joined,
aindilis joined,
bsb joined,
stevan_ joined,
kane_ joined,
IRSeekBot joined,
rafl joined,
gbacon joined,
nipotaway joined,
araujo joined,
cls_bsd joined,
fullermd joined,
Tene joined,
qmole joined,
REPLeffect_ joined,
gugod joined,
ingy joined,
zostay joined,
diakopter joined,
drbean_ joined,
hcchien joined,
Lunchy joined,
silug joined,
r0bby joined,
Khisanth joined,
buu joined,
zamolxes joined,
SamB joined,
speckbot joined,
rhr joined,
moritz_ joined,
joejaxx joined,
kcwu joined,
pjcj joined,
allbery_b joined,
arguile joined,
kolibrie joined,
Maddingue joined,
buubot joined,
LCamel joined,
tcliou joined,
pasteling joined,
perlbot joined,
nothingmuch joined,
TreyHarris joined,
zev joined,
spinclad joined,
mtve joined,
SubStack joined,
yves joined,
mofino joined,
cj joined,
jrockway joined,
obra joined,
yahooooo joined,
jiing joined,
shachaf joined
06:57
eternaleye joined,
pmurias joined
|
|||
pmurias | @tell mncharity STD_red_run is broken it just passes the perl6 code along as the output of the parse | 07:16 | |
lambdabot | Consider it noted. | ||
07:25
wolv joined,
wolv left
07:34
Alias_ left
07:39
Ched- joined
07:40
meppl joined
07:53
iblechbot joined
|
|||
pugs_svnbot | r20482 | pmurias++ | [STD_red] removed a debugging leftover which broke STD_red_run | 07:53 | |
pmurias | @tell mncharity i fixed tht | 07:56 | |
lambdabot | Consider it noted. | ||
08:14
masak joined
08:15
vixey left
|
|||
moritz_ | Auzon: pong | 08:51 | |
(if somewhat belated ;-) | 08:52 | ||
pmurias | does STD.pm support quasi-quotes? | 08:56 | |
moritz_ | what are quasi-quotes? | 08:58 | |
is it that q:options/stuff/ thingy? | |||
pmurias | my $code = q:code {say 1+2} | ||
they are AST literals using perl6 syntax | 08:59 | ||
moritz_ | I remember the kp6 discussion about them | ||
09:04
polettix left
09:06
kanru left
09:09
donaldh joined
09:11
schmalbe joined
09:18
rindolf joined
09:26
wknight8111 joined
09:59
luqui joined
10:04
alc left
10:05
penk joined
10:12
felipe joined
10:15
IllvilJa left
|
|||
pmurias | would it be possible to add hooks to the pugs repo which checks if a comit breaks elf? | 10:36 | |
moritz_ | imho that would be rather intrusive, unless restricted to misc/elf/ | 10:37 | |
you could set up a cron job that reports via an irc bot or something | 10:38 | ||
pmurias | of course it would be restricted to misc/elf | ||
moritz_ | pmurias: how would you define breakage? | 10:39 | |
10:42
rindolf left
|
|||
pmurias | not self-compiling or the self-compilied version not running hello world | 10:46 | |
masak | do quasi-quotes close over variables? | 10:55 | |
moritz_ | pmurias: you do notice that bootstrapping elf takes quite some time? | 10:56 | |
masak | i.e. `return q:code { $var }; # var in this scope, or in caller's?` | 10:58 | |
pmurias | moritz_: a few seconds (with elf_faster) | 10:59 | |
might be better left to the bot | 11:00 | ||
masak | ah, nvm, found it: S06:2590 | ||
they're hygienic :) | |||
11:04
meppl left
|
|||
moritz_ | pmurias: I haven't tried elf_faster yet | 11:07 | |
11:09
iblechbot left
|
|||
pmurias | it's faster ;) | 11:17 | |
pugs_svnbot | r20483 | pmurias++ | renamed EmitNoMooseP5 to EmitFasterP5 | ||
11:30
chris2 joined
|
|||
pmurias runs for lunch | 11:32 | ||
11:37
Southen joined
11:55
FurnaceBoy joined
|
|||
moritz_ | blog.koehntopp.de/uploads/DSC01935.JPG | 12:09 | |
12:11
r0bby left
12:13
luqui left
12:14
alanhaggai joined
|
|||
moritz_ | pugs: my %h = (1, 2); | 12:35 | |
exp_evalbot | RESULT[{("1" => 2),}] | ||
12:45
Psyche^ joined
12:57
Patterner left,
Psyche^ is now known as Patterner
13:01
alanhaggai left
13:04
cmarcelo joined
13:07
Psyche^ joined
13:14
FurnaceBoy left
13:19
meppl joined
13:24
Patterner left,
Psyche^ is now known as Patterner
13:26
elmex joined
13:34
eternaleye left
13:36
alanhaggai joined
13:39
Grrrr left,
Grrrr joined
13:41
cognominal_ left
13:44
iblechbot joined,
alanhaggai left
13:47
cognominal_ joined
13:52
rdice joined
13:56
TJCRI joined
13:57
sscaffidi joined
|
|||
pugs_svnbot | r20484 | pmurias++ | changed hash accesses on objects to method calls | 14:06 | |
14:08
sscaffidi left
14:11
sscaffidi joined
|
|||
pugs_svnbot | r20485 | pmichaud++ | * add #?rakudo skip blocks | 14:11 | |
r20485 | pmichaud++ | * tests still don't pass in rakudo because of $_ in bare closures | |||
TimToady | pmurias: STD.pm does not yet have support for quasi-quoting. (It used to have support for the "triple rule" via the old quotesnabber mechanism, but nibbler doesn't know about triple-quotes yet. Nothing in STD has ever recognized :code though.) | 14:22 | |
pugs_svnbot | r20486 | pmurias++ | changed some more illegal private attributes accesses into method calls | 14:23 | |
r20486 | pmurias++ | marked some p5 regexes as rx:P5 | |||
14:24
schmalbe left
|
|||
pmurias | TimToady: thanks | 14:24 | |
TimToady | still working out whether balanced quotes should be handled by language derivation rather than context variable, and this tends to tell me it should, since the quasi-quote char will almost always be {...}, and in any case there are far fewer bracket chars than other characters, so we're not talking about a lot of new derived languages, I suspect | 14:25 | |
and then the triple-quote rule can be generically written as <starter>**3 as long as the language defines a starter rule | 14:26 | ||
so at the moment only unbalanced quotes will be matched implicitly by setting $+STOP | 14:27 | ||
it's also quite possible that $+STOP is a premature optimization, and most programs will use only a few quote chars that can be handled by derivation...we'll see how it works out | 14:28 | ||
14:29
meppl left
14:42
justatheory joined
14:59
IllvilJa joined
15:05
explorer is now known as JoaquinFerrero
15:06
JoaquinFerrero is now known as explorer
15:30
IllvilJa left
|
|||
pugs_svnbot | r20487 | particle++ | [spec] start marking string length tests for rakudo | 15:33 | |
16:00
sscaffidi left
16:12
masak left
16:19
rindolf joined
|
|||
pugs_svnbot | r20488 | pmurias++ | [elf] removed more of treating objects as hashes | 16:19 | |
16:30
Patterner left
16:36
Psyche^ joined,
Psyche^ is now known as Patterner
16:38
eternaleye joined
16:46
justatheory left,
justatheory joined
16:51
nipotan joined,
nipotan left
|
|||
Auzon | moritz_: re pong... I forgot what I was going to ask. | 16:51 | |
moritz_ | Auzon: ok ;-) | 16:52 | |
16:52
nipotaway is now known as nipotan
|
|||
moritz_ | if it were important you'd certainly resorted to email | 16:52 | |
pmichaud | Auzon++ # getting v6-alpha removed from spec. :-) | ||
moritz_ | oups | ||
Auzon | moritz_: It's almost certainly related to evalbot and elf, so it's not urgent | 16:53 | |
re v6-alpha in the spec: I counted some 597 test files in pugs/t that use v6-alpha. Is there any problem with a just doing global replacement on them? | 16:55 | ||
16:55
eternaleye left
|
|||
moritz_ | Auzon: if you restrict your regexes sufficiently it shouldn't be a problem | 16:55 | |
Auzon | I'll do a svn diff to make sure. Is it a problem to do them all in one shot? | 16:56 | |
moritz_ | ie "s/^(\s)*use\s+v6-alpha;\s*$/${1}use v6;/ | ||
no, problem, go right ahead | |||
[particle] | please do! yay. | 16:57 | |
pmichaud | I think it's pretty safe... please commit :-) | ||
Auzon | Alright. | ||
pmurias is annoyed by implementation specific p6 "extensions" | |||
moritz_ | I just don't want comments along the lines "the difference between v6 and v6-alpha is..." mangled | ||
they should be removed, not mangled ;) | |||
pmichaud | v6-alpha was in the spec, so it's not exactly "implementation specific" :-) | 16:58 | |
pmurias | i'm removing non-speced workarounds in elf | ||
an object in elf is a p5 hash underneath | 16:59 | ||
Auzon | /^use v6-alpha;$/ seems to work fine | ||
pmurias | so you can use $obj<foo> to access a private foo attribiute | 17:00 | |
Auzon | and there are four files that mention v6-alpha without being in the earlier format. | 17:01 | |
OK. | |||
pmurias | pmichaud: is it possible to work on rakudo withouth touching pir this days? | 17:05 | |
pmichaud | pmurias: not yet. coming soon. | ||
well, unless you're doing makefile, test, or harness stuff :-) | |||
moritz++ added a very useful patch yesterday to improve our spectest handling | 17:06 | ||
[particle] | so far, rakudo can compile 300+ lines of CGI.pm in the pugs repo | ||
moritz_ | cool | 17:07 | |
[particle] | if it weren't for gather/take, it'd probably be >400 | ||
pmurias | pir is my least favourite language | ||
Tene | gather/take isn't implemented? | 17:10 | |
[particle] | nope | ||
Tene | Huh. | ||
I know what I'm working on tonight, then. | |||
pmichaud | sounds like Tene++ is going to pull a jonathan++ on us :-) | 17:11 | |
Tene | What's jonathan about this? | ||
pmichaud | implementing something early that I think will come later :-) | 17:13 | |
like Junctions. :-) | |||
Auzon | rakudo: say 1 == 1|2|3 | ||
exp_evalbot | OUTPUT[1ā¤] | ||
pmichaud | I think junctions may be disabled at the moment | ||
Tene | rakudo: my $f = 1|2|3; $f = $f + 5; say $f.perl; | 17:14 | |
exp_evalbot | OUTPUT[Method 'perl' not found for invocant of class 'String'ā¤current instr.: 'parrot;Junction;perl' pc 3746 (src/gen_builtins.pir:2835)ā¤called from Sub '_block11' pc 113 (EVAL_10:42)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub | ||
..'parrot;PCT::HLLCompiler;evalfiles' pc 1065 (src/PCT/HLLCompile... | |||
Tene | rakudo: my $f = 1|2|3; $f = $f + 5; say $f; | ||
exp_evalbot | OUTPUT[get_string() not implemented in class 'Junction'ā¤current instr.: 'print' pc 7445 (src/gen_builtins.pir:5254)ā¤called from Sub 'say' pc 7467 (src/gen_builtins.pir:5264)ā¤called from Sub '_block11' pc 116 (EVAL_10:42)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 | ||
..(src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;... | |||
Tene | pmichaud: is there anything particularly tricky about gather/take that makes you expect it to not come until later? | 17:16 | |
pmurias | $foo.accessor(...) is illegal perl6? | 17:17 | |
17:17
mncharity joined
|
|||
pmurias | mncharity: hi | 17:18 | |
mncharity | hi ļ»æpmurias :) | ||
lambdabot | mncharity: You have 2 new messages. '/msg lambdabot @messages' to read them. | ||
pmurias | elf is currently broken as it depended on bugs | ||
pmichaud | Tene: just the handling of the collection of return arguments is all | ||
mncharity | highly dependent on bugs. aka bootstrap. :) | 17:19 | |
looking... | |||
pmichaud | Tene: it may actually be easy to implement, which is why I was saying it's another "jonathan". I thought Junctions might be tricky until he did a simple implementation :-) | ||
mncharity | at some point we should probably have a concept of a stable/~release binary. for things like misc/elf/showcode to use. | 17:20 | |
pmurias | i'm thinking how to solve it so use the prev revision | 17:21 | |
Eevee | oh hey when did we get junctions | ||
rakudo: my $f = 1|2|3; $f = $f + 5; say 7 == $f; | 17:22 | ||
exp_evalbot | OUTPUT[1ā¤] | ||
Eevee | nice | ||
mncharity | re solve, so is the cause known? | ||
pmurias | yes | ||
mncharity | *ļ»æmisc/elfish/showcode | 17:23 | |
? | |||
pmurias | the problem was that elf used <attr> instead of attr | ||
* .attr | 17:24 | ||
when i substitutes .attr for <attr> a bug surfaced | 17:25 | ||
pugs_svnbot | r20489 | pmurias++ | [elf] slightly less broken | 17:26 | |
mncharity | hmm. I suspect Emit is using implicit IR node type detection, by saying things like if $n<foo> { 'ah, $n supports foo, so...' } | ||
pmurias | $n<foo> is horrible and strictly forbiden in perl6 | ||
when i solved the bug which surfaced another one appeared with the accessors | 17:27 | ||
mncharity | :) | ||
err, re 'ļ»æhorrible and strictly forbiden', :) | |||
pmurias | which should be used $foo.bar = 123 not $foo.bar(123) | ||
17:28
eternaleye joined
|
|||
pmurias | there are some $foo.bar(123) abuses in elf left | 17:28 | |
mncharity | yep. welcome to the fun which is bootstrapping... (at least for a non kernel language "onion" approach) | 17:29 | |
pmurias | the ci'ed elf_f_faster is the one from the previous version | 17:30 | |
an "onion" approach isn't much better | 17:32 | ||
misunderstood | 17:34 | ||
mncharity | ļ»æ"onion" allows each layer to achieve correctness, independently of those above it. | ||
pmurias | if one of the layers contains hack the others are tainte | 17:35 | |
d | |||
mncharity | but there's no need for a layer to contain a hack. ie, "onion" is usually implemented on top of another language, and only becomes self-implemented towards the end. | 17:36 | |
pmurias | a kernel language fixes a lots of problems | ||
mncharity | err, what I just said wasn't quite true. | ||
hmm :/ | 17:37 | ||
anyway, back to creating a "bootstrap test" Makefile... | |||
pmurias | i'm a bit confused now, i'll banish the non-lvalue accessor usage later today | 17:38 | |
Auzon | Here goes nothing. | 17:39 | |
17:39
sscaffidi joined
|
|||
pmurias | Auzon: ? | 17:39 | |
Auzon | I'm committing all those files. | ||
moritz_ | the commit arrived here | 17:43 | |
pugs_svnbot | r20490 | Auzon++ | s/^use v6-alpha;$/use v6;/; | ||
r20490 | Auzon++ | Also catching a few other mentions of v6-alpha. | |||
Auzon | I visually reviewed the diff, so it should be OK. | 17:44 | |
[particle] | heh, if only that were always true | ||
Auzon | Indeed. | 17:45 | |
17:48
TJCRI left
|
|||
mncharity | ļ»æAuzon++ # bulk t/ improvements | 17:49 | |
moritz_ | @karma Auzon | 17:52 | |
lambdabot | Auzon has a karma of 9 | ||
moritz_ predicts that within the next two months Auzon++'s karma will increase by at least 150 | 17:54 | ||
[particle] | within the past second auzon++'s karma rose by one | ||
mncharity | ļ»æpmurias: the key is to look at the set of things broken/missing, choose one you hypothesize is currently easily addressed, attempt it, do it {fully, partially, or back out as being unexpectedly difficult}, and (most importantly) get it back to being working. | 17:55 | |
That last being the "always keep a place to stand" standard advice. It's very easy to wander off the "bootstrap path" into woods of recursive yaks ("to finish this, I'll fix that, but that turns out to require the other, which..." starts to get very confusing and unmanagable). | 17:57 | ||
pugs_svnbot | r20491 | putter++ | [elf] Makefile added with README's bootstrap test (modified to start on elf_f_faster). README now empty. | 18:01 | |
18:11
rindolf left
18:25
b_jonas joined
|
|||
moritz_ | I just tried 'make' in elf_f_src | 18:29 | |
make: *** No rule to make target `../elf_f_faster2', needed by `bootstrap_executable_permissions'. Stop. | |||
pugs_svnbot | r20492 | putter++ | [elf] Makefile: add test targets, separate concepts of rebuild and bootstrap. | 18:31 | |
mncharity | ļ»æmoritz_: fixed | 18:32 | |
though default target is now a test. hmm, perhaps that's a mistake | |||
? | |||
starting with empty STD_red cache, the elf_f_faster and elf_f bootstrap checks take 70 s on my box. | 18:33 | ||
ļ»æmoritz_: note that the elf_f_src sources are currently in a broken state. suggest svn up -r... | 18:34 | ||
cd misc/elf; svn up . -r20479; svn up elf_f_src/Makefile | 18:38 | ||
moritz_ | mncharity: the bootstrap hell you wanted to avoid? :/ | ||
mncharity | sigh. "the woods are pretty, but dark and deep" | 18:39 | |
but now that you have a working elf_f_faster you can run make demo in misc/elfish/showcode. last night's cute hack. | 18:41 | ||
:) | |||
pugs_svnbot | r20493 | putter++ | [elf] elf_f_faster: reverted to working r20479. | 18:47 | |
mncharity | ļ»æpmurias: I took the liberty of reverting the elf_f_faster executable. code is still the same. want people to be able to see last night's cute toy. | ||
s/code/sources/ | |||
moritz_ | sh: line 1: ./../STD_red/STD_red_run: No such file or directory | 18:49 | |
Parse failed. | |||
mncharity | command line? | 18:50 | |
moritz_ | "make demo" | ||
I think the ./ should be ../ | |||
18:53
ofer left
|
|||
mncharity | fixed, i think. ./ ? | 18:58 | |
pugs_svnbot | r20494 | putter++ | [elfish/showcode] Makefile: fixed. The ELF_STD_RED_RUN check now fails properly, and anyway, the Makefile itself now sets it. moritz_++ | ||
mncharity | not fixed. sloppy. sigh. looking... | 18:59 | |
18:59
r0bby joined
|
|||
moritz_ | now 'showcode' builds for me | 19:00 | |
and when I run it I get 'Use of uninitialized value $file in concatenation (.) or string at ./showcode line 225. | 19:01 | ||
do I need X for that? | |||
19:01
deephan joined
|
|||
mncharity | re ļ»æ'Use of uninitialized value $file'..., ?! | 19:03 | |
pugs_svnbot | r20495 | putter++ | [elfish/showcode] Makefile: trying again. Now requires user to set ELF_STD_RED_RUN=../../STD_red/STD_red_run themselves. | ||
moritz_ | fnow it works | 19:04 | |
mncharity++ | |||
mncharity | np. should have tested a bit, but it was late. my thanks for serving as a guinea pig. :/ | 19:08 | |
moritz_ | guinea pigs are tasty ;) | 19:09 | |
or so it's said - I never ate one ;) | |||
19:09
lisppaste3 joined
|
|||
mncharity | not yet set up to show the analysis notes in the IR pane. and the IR tree needs to be compactified. and... so much else. but still... there are pretty colors. | 19:09 | |
:) | |||
"p6 needs more pretty colors" | 19:10 | ||
moritz_ | indeed | ||
mncharity | incidentally, someone could take the same approach as showcode does to dump a syntax information tree for editor source coloring, etc. | 19:12 | |
s/same/similar/ | |||
or just for colorful html-ifying of p6 source. | |||
oh, hmm. showcode actually depends on the elf_f_src *sources* working. because it does code parsing and ir work, it has a copy of the compiler. so it won't work on HEAD. only worked for you because you -rļ»æ20479'ed. :/ | 19:15 | ||
moritz_ | uhm, I didn't (or so I think) | 19:16 | |
mncharity | oh, no, maybe ok. as long as only the emitter is broken, rather than the ir analysis too. | ||
intermittent svn failures... | 19:18 | ||
moritz_ | it seems that feather's apache is half b0rked | 19:19 | |
busy rakudo.org day ;) | 19:20 | ||
19:20
explorer left
|
|||
mncharity | ļ»æbusy rakudo.org day? | 19:20 | |
mncharity joins #parrot | 19:21 | ||
ļ»æpmurias: re $n<foo>, re could always define a method postcircumfix:[< >] in IRx1::Base, and pretend the $n<foo> are non-bogus... ;) | 19:23 | ||
*s/re/we/ | 19:24 | ||
ļ»æmoritz_: did the javascript work for you? | 19:25 | ||
moritz_ | mncharity: I don't know what it should do, but it hilights and scrolles the left and middle frame if I click on the right | 19:26 | |
mncharity | good. should be able to click in the other frames as well, and have all 3 stay synced. | ||
moritz_ | mncharity: which comes remarkably close to what I intended when I thought about my 'perlhints' project, only that the anotations should be semantic informations in natural language | 19:27 | |
mncharity | re synced, or not... hmm... | ||
moritz_ | would be cool, but I don't know how useful it would be | 19:28 | |
mncharity | ah. more windows! :) also have a whole nother dimention... mouseover popups. | ||
ok, so ~stays in sync, but no so good about cleaning up past highlighting. unsuprising. @infinite_todo_list.push | 19:31 | ||
19:32
FurnaceBoy joined
|
|||
mncharity | @a.splice(randint(@a),0,$x) ? | 19:32 | |
lambdabot | Unknown command, try @list | ||
mncharity | +@a | ||
perl6: 3 => 4 | |||
exp_evalbot | kp6: OUTPUT[syntax error at position 2, line 1 column 2:ā¤3 => ā¤ ^ HEREā¤] | ||
..pugs: RESULT[(3 => 4)] | |||
..rakudo: OUTPUT[get_bool() not implemented in class 'Perl6Pair'ā¤current instr.: 'parrot;PCT::HLLCompiler;command_line' pc 1288 (src/PCT/HLLCompiler.pir:688)ā¤called from Sub 'parrot;Perl6::Compiler;main' pc 9782 (perl6.pir:186)ā¤] | |||
mncharity | pugs: my $h = (3=>4,5=>6) | 19:33 | |
exp_evalbot | RESULT[[(3 => 4), (5 => 6)]] | ||
mncharity | pugs: my $h = (3=>4,5=>6); $h.WHAT | 19:34 | |
exp_evalbot | RESULT[::Array] | ||
Eevee | why is rakudo trying to cast a Pair to Bool? | ||
mncharity | ? | 19:35 | |
moritz_ | that's what the error message is saying | ||
mncharity | s/?/dunno/ | ||
:) | |||
rakudo: 0 | |||
exp_evalbot | RESULT[0] | ||
mncharity | ļ»ærakudo: 1 | 19:36 | |
rakudo: 0 | |||
exp_evalbot | RESULT[0] | ||
mncharity | rakudo: 1 | ||
exp_evalbot | RESULT[1] | ||
Auzon | Oh, is that the one character thing? | 19:37 | |
ļ»ærakudo: 1 | |||
Yep, it is | |||
mncharity | ļ»ærakudo: my %h; %h | ||
rakudo: my %h; %h | |||
exp_evalbot | RESULT[Method 'perl' not found for invocant of class 'Mapping'ā¤current instr.: '_block11' pc 38 (EVAL_11:18)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1065 (src/PCT/HLLCompiler.pir:587)ā¤called from Sub | ||
..'parrot;PCT::HLLCompiler;command_line' pc 1244 (... | |||
mncharity | re ws character, yeah. :/ | ||
rakudo: my @a; @a | 19:38 | ||
exp_evalbot | RESULT[Method 'perl' not found for invocant of class 'List'ā¤current instr.: '_block11' pc 38 (EVAL_11:18)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1065 (src/PCT/HLLCompiler.pir:587)ā¤called from Sub | ||
..'parrot;PCT::HLLCompiler;command_line' pc 1244 (src... | |||
mncharity | just for completeness... | ||
rakudo: my $s; $s | |||
exp_evalbot | RESULT[Method 'perl' not found for invocant of class 'Undef'ā¤current instr.: '_block11' pc 38 (EVAL_11:18)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1065 (src/PCT/HLLCompiler.pir:587)ā¤called from Sub | ||
..'parrot;PCT::HLLCompiler;command_line' pc 1244 (sr... | |||
mncharity | perl6: my %h = {2=>3,4=>5}; | 19:43 | |
exp_evalbot | kp6: RESULT[{ '4' => 5, '2' => 3, }] | ||
..pugs: RESULT[{("2" => 3), ("4" => 5)}] | |||
..rakudo: RESULT[Method 'perl' not found for invocant of class 'Closure'ā¤current instr.: '_block11' pc 38 (EVAL_11:18)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1065 (src/PCT/HLLCompiler.pir:587)ā¤called | |||
..from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1244 (... | |||
19:47
meteorjay joined
|
|||
mncharity | ļ»æmoritz_: re hints, I've used them as a shortcut rather than pawing through Snn. it's an emacs/lisp thing, perhaps now eclipse, but it would be nice in editors to be able to "click" on constructs and get hints, perhaps even Snn sections. | 19:48 | |
also need a p6 QuickRef at some point. www.zenspider.com/Languages/Ruby/QuickRef.html | 19:49 | ||
moritz_ | indeed, but atm perl 6 is still too unstable to really do something like that | ||
mncharity | really? hmm | 19:50 | |
nice Google logo | 19:51 | ||
lambdabot | Title: Ruby QuickRef | ||
pugs_svnbot | r20496 | moritz++ | [evalbot] truncate rakudo's stack traces | 19:52 | |
19:53
exp_evalbot left,
exp_evalbot joined
|
|||
moritz_ | rakudo: foo bar garbage | 19:53 | |
exp_evalbot | OUTPUT[Could not invoke non-existent sub garbageā¤current instr.: '_block11' pc 21 (EVAL_10:15)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1065 (src/PCT/HLLCompiler.pir:587)ā¤called from Sub | ||
..'parrot;PCT::HLLCompiler;command_line' pc 1244 (src/PCT/HLLCom... | |||
19:54
exp_evalbot left,
exp_evalbot joined
|
|||
moritz_ | rakudo: foo bar garbage | 19:54 | |
exp_evalbot | OUTPUT[Could not invoke non-existent sub garbageā¤current instr.: '_block11' pc 21 (EVAL_10:15)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1065 (src/PCT/HLLCompiler.pir:587)ā¤called from Sub | ||
..'parrot;PCT::HLLCompiler;command_line' pc 1244 (src/PCT/HLLCom... | |||
moritz_ | damn | ||
why doesn't this work? | |||
pmurias | mncharity: i think removing implementation specific hack is very important | 19:55 | |
* hacks | |||
19:55
exp_evalbot left,
exp_evalbot joined
|
|||
moritz_ | rakudo: foo bar garbage | 19:55 | |
exp_evalbot | OUTPUT[Could not invoke non-existent sub garbageā¤current instr.: '_block11' pc 21 (EVAL_10:15)ā¤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 783 (src/PCT/HLLCompiler.pir:458)ā¤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1065 (src/PCT/HLLCompiler.pir:587)ā¤called from Sub | ||
..'parrot;PCT::HLLCompiler;command_line' pc 1244 (src/PCT/HLLCom... | |||
PerlJam | moritz_: what do you expect it to do? | 19:56 | |
moritz_ | PerlJam: truncate the stack trace beginning from the first "called from Sub" | ||
19:56
exp_evalbot left
19:57
exp_evalbot joined
|
|||
moritz_ | rakudo: foo bar garbage | 19:57 | |
exp_evalbot | OUTPUT[Could not invoke non-existent sub garbageā¤current instr.: '_block11' pc 21 (EVAL_10:15)ā¤ | ||
mncharity | agreed. but choice of "which hacks to remove in which order" is key. eg, implicit checking of node type would become very easy if/when Emit switches over to multi methods. which would also make emitting smop easier (the original motivation for it). | ||
moritz_ | now that's better | ||
Juerd | moritz_: More than half I assume. | ||
mncharity, moritz_: apache2 is forcefully killed and restarted every 3 hours because it has a huge memory leak | 19:58 | ||
pmurias | mncharity: you can use .isa | 19:59 | |
pugs_svnbot | r20497 | moritz++ | [evalbot] fixed regex in previous commit | ||
pmurias | using if $n<foo> {} is confusing and error prone | ||
PerlJam | pmurias: tell that to the language designer ;-) | 20:00 | |
mncharity | the step by step choices of "next, do we: () add functionality X? with what hacks? () remove old hack Y?" are what take us from no-p6 at all to ultimate spec compliance. re .isa, true. :) | ||
err, do we have .isa? .WHAT perhaps. | 20:01 | ||
re error prone, yeah. :/ | |||
ļ»æJuerd: :) yipes. image of flooding... | 20:02 | ||
moritz_ looks if there are new Apache packages in debian | 20:05 | ||
pmurias | PerlJam: i meant the elf version of $n<foo> {} | 20:07 | |
20:08
Ched- left
|
|||
moritz_ | Juerd: I just upgraded apache2 | 20:09 | |
pmurias | mncharity: i'll finish the $n<foo> -> $n.foo move, but it will require braking the moosish elf backend as moose uses different accesors than perl6 | ||
20:09
deephan left
|
|||
pmurias | TimToady: perl6 uses $foo.bar = 123 accessors instead of $foo.bar(123), right? | 20:10 | |
moritz_ | pmurias: if you declare 'has $.bar is rw', yes | ||
pmurias | found proof at last | 20:11 | |
Juerd | moritz_: We'll see if that helps. | ||
pmurias | (($anonymous = 0) does answer).answer = 42; | ||
Juerd | moritz_: I have memory usage charts (time/memory) so I can see if it helps. For now, please keep the cronjob that kills apache. | 20:12 | |
c14.convolution.nl/munin/perl6.nl/f...emory.html | |||
lambdabot | Title: Munin :: perl6.nl :: feather1.perl6.nl :: memory, tinyurl.com/6kwoy5 | ||
Eevee | www.php.net/~derick/meeting-notes.html#id44 -- apparently named parameters were considered for PHP6. they have a slightly different take on the subject. | 20:13 | |
moritz_ | "It also makes for messier code.". Sure. | 20:15 | |
pmurias | ;) | ||
Eevee | this document is rather insightful | ||
now I know why PHP is such a mess | |||
the developers are just insane | |||
moritz_ | PHP traditionally makes the mistakes that Perl fixed 15 years ago | ||
20:16
Ched- joined
|
|||
Eevee | it also invents new ones | 20:16 | |
there's a function that acts like s///e | |||
20:16
Ched- left
|
|||
b_jonas | what about such a function? | 20:17 | |
Eevee | except it takes just a string as the substituted part (since there are no lambdas), and substitutes captures *before* evaluating the string | ||
b_jonas | what? | ||
20:17
Ched- joined
|
|||
b_jonas | no lambdas or anything? | 20:17 | |
Eevee | no, php has no lambdas | ||
b_jonas | not even named subs like python? | ||
pmurias | b_jonas: ;) | ||
b_jonas | that is refs to named subs | ||
Eevee | functions aren't first-class objects in php | 20:18 | |
b_jonas | eek | ||
that's just stupid | |||
Eevee | there are a few functions that accept function *names* as arguments, but that's all | ||
b_jonas | and there isn't even some hack like in c++ for it | ||
like a default method | |||
? | |||
objects that you can call as functions, that is | |||
fullermd | Oh, but you can create them, by passing the function body as a quoted string into the concisely-named create_function(). That's all you need, right? | 20:19 | |
Eevee | fullermd: of course! | ||
b_jonas | that's just really stupid | ||
I definitely won't use php then | |||
Eevee | anyway, the problem with this is | ||
b_jonas | functions are not first-class objects | ||
moritz_ | or read www.php.net/~derick/meeting-notes.html#safe-mode ;) | ||
lambdabot | Title: Minutes PHP Developers Meeting | ||
b_jonas | where did they get that from? | ||
just crazy | |||
Eevee | preg_replace('/(whatever)/e', 'foo($1)', "some string with whatever in it") | ||
that will substitute 'whatever' into 'foo($1)' before trying to execute it | 20:20 | ||
so it will try to eval, literally, 'foo(whatever)' | |||
b_jonas | that's like having to call quotemeta and construct a query with concatenation to insert something in a database | ||
Eevee | you can add quotes.. but then if your pattern captures something with quotes in it.. | ||
b_jonas | does php force that too, btw, or is that just a usual practice? | ||
Eevee | b_jonas: this is how the PHP manual suggests preventing SQL injection: us3.php.net/manual/en/security.data...ection.php | 20:21 | |
lambdabot | Title: PHP: SQL Injection - Manual | ||
20:21
ruoso left
|
|||
Eevee | well, down under 'avoiding techniques' | 20:21 | |
moritz_ | I think there *are* DB libraries for PHP that use placeholders | 20:22 | |
wolverian | there's create_function(), that creates an anonymous function by taking a string of code, creating a new function and returning its name | 20:23 | |
moritz_ | but they aren't widespread | ||
wolverian | pointing out the obvious hilarity left to reader | ||
Eevee | moritz_: there are; mysqli | ||
moritz_ | wolverian: lol ;) | ||
Eevee | but even the manual doesn't suggest using them | ||
moritz_ | Eevee: that sounds like it only supports mysql...? | ||
b_jonas | well, that's stupid too | ||
Eevee | yes, there are separate sets of db functions for each rdbms | ||
there's something on PEAR (php's attempt at a CPAN) that will abstract between them | 20:24 | ||
20:24
ruoso joined
|
|||
b_jonas | ok, I'll avoid php even more from now on | 20:24 | |
I mean, I'll avoid it more than just python or java which I dislike | 20:25 | ||
fullermd writes PHP for a living. | |||
spinclad | :( | ||
b_jonas | pity | ||
Eevee | fullermd: I am sorry | 20:26 | |
fullermd | I thought about selling crack in schoolyards instead, but the hours are inconvenient. | ||
moritz_ | we can't be all winners, can we? | ||
lol | |||
fullermd++ | |||
spinclad | you would get more respect though | ||
b_jonas | fullermd: are you writing thin wrapper functions for code with source in other language? | ||
fullermd | Well, I once had some code that used PHP's stillborn Java integration... it wasn't stillborn enough. | 20:27 | |
Really, it's like way too many things in the field; it sucks, but it's often convenient, and if you know what you're doing it'll succeed in getting your work done. | 20:29 | ||
mncharity | ļ»æpmurias: breaking Mooseish elf_f would be unfortunate. the emitter should be hacked to keep at least bootstrap working. even if that blocks the $n.foo = 3 assignment edit for now. | ||
b_jonas | do you have to work on some existing large codebase? | ||
also, is it good apart from PHP? | |||
fullermd | It takes a lot of rather-undeserved crap for the mountains of people who have no business programming at all who use it, and not enough for its real flaws under that. | 20:30 | |
pmurias | mncharity: it's possible to make Moose create different accessors | ||
fullermd | Not really. Lot of small codebases. And a lot of built-up stuff over the years for new codebases. | ||
moritz_ | ps -el|grep apache|grep defunct|wc -l | ||
9 | |||
on feather | |||
Eevee | fullermd: don't worry, I give it plenty of crap for its actual problems, but only language nerds seem to care about those | ||
"what's a closure? that sounds dumb and useless I'm just doing web programming" | 20:31 | ||
b_jonas | fullermd: did you try to convert them to some non-php language? | ||
fullermd | Non-billable, in my "spare" time? :p | 20:32 | |
mncharity | ļ»æpmurias: I believe stevan_(?) said p5 lvalue accessors ~just don't work~. or some such. no? | 20:37 | |
re hack emitter, I would be fine with the emitter special casing $x.foo = ... . | |||
stevan_ | yeah lvalue sucks | 20:38 | |
i think someone created a tied hack for it | |||
but that wont go in Moose | |||
you could use it here | |||
but then dont complain about performance anymore, cause whatever Moose didnt kill, the tie() will | 20:39 | ||
pmurias | stevan_: tie()? most cases won't be tied | 20:40 | |
as there is no need to overide the accessor in most cases | 20:41 | ||
stevan_ | well if you use any moose features at all, you will need too | 20:43 | |
but we already discussed this | |||
pmurias | yes | 20:44 | |
mncharity | rakudo: say {3=>4} | 20:46 | |
exp_evalbot | OUTPUT[_block16ā¤] | ||
mncharity | pugs: say {3=>4} | ||
exp_evalbot | OUTPUT[*** ā¤ Unexpected end of inputā¤ Closing hash curly may not terminate a line;ā¤ please add a comma or a semicolon to disambiguateā¤ at /tmp/RkWmrkqm2M line 2, column 1ā¤] | ||
jrockway | pugs: do { say { 3 => 4 } } | ||
exp_evalbot | OUTPUT[3 4ā¤ā¤] | ||
mncharity | danke | 20:47 | |
pugs: do { say { 3 => 4, 5=>6 } } | |||
20:47
exp_evalbot left
|
|||
mncharity | pugs: do { say { 3 => 4, 5=>6 } } | 20:47 | |
20:47
exp_evalbot joined
|
|||
jrockway | heh, pugs just hates you :D | 20:47 | |
mncharity | lol | ||
pugs: do { say { 3 => 4, 5=>6 } } | |||
20:47
exp_evalbot left
|
|||
mncharity | oky | 20:47 | |
20:47
exp_evalbot joined
|
|||
pmurias | does x01.pl serve a purpose anymore? | 20:47 | |
mncharity | no, that can go | 20:48 | |
s/can/should/ | |||
kp6: say {3=4,5=>6} | |||
exp_evalbot | r20497: OUTPUT[error in Block at compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/Sub.pm line 753, <> line 1.ā¤*** Syntax Error in Block: missing closing curly bracket ā¤] | ||
mncharity | sigh | ||
moritz_ | oh, something caused a Segmentation fault in evalbot | ||
mncharity | kp6: say {3=>4,5=>6} | ||
20:48
exp_evalbot left
|
|||
mncharity | ah, not pugs specific. | 20:49 | |
20:49
exp_evalbot joined
|
|||
mncharity | perl6: 3 | 20:49 | |
exp_evalbot | kp6: RESULT[3] | ||
..pugs: RESULT[3] | |||
..rakudo: RESULT[3] | |||
mncharity | perl6: say {} | ||
exp_evalbot | kp6: OUTPUT[ā¤] | ||
..pugs: OUTPUT[*** ā¤ Unexpected end of inputā¤ Closing hash curly may not terminate a line;ā¤ please add a comma or a semicolon to disambiguateā¤ at /tmp/mAOMnEQBqY line 2, column 1ā¤] | |||
..rakudo: OUTPUT[_block16ā¤] | |||
mncharity | perl6: say ļ»æ{3=>4,5=>6} | 20:50 | |
exp_evalbot | kp6: OUTPUT[syntax error at position 4, line 1 column 4:ā¤say ļ»æ{3=>4,5=>6ā¤ ^ HEREā¤] | ||
..pugs: OUTPUT[*** ā¤ Unexpected "\65279{"ā¤ expecting bare or pointy block construct, ":", identifier or operatorā¤ at /tmp/A0aRoI6rIS line 1, column 5ā¤] | |||
..rakudo: OUTPUT[Statement not terminated properly at line 1, near "\x{ef}\x{bb}\x{bf}{3=>4,5"ā¤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)ā¤called from Sub 'parrot;Perl6::Grammar;statementlist' pc 18329 (src/gen_grammar.pir:2735)ā¤called from Sub | |||
..'parrot;Perl6::Grammar;statement_block' pc 15175 (src/gen_grammar.pir... | |||
mncharity | sigh | ||
perl6: say {3=>4,5=>6} | |||
20:50
exp_evalbot left
|
|||
mncharity | curious | 20:50 | |
20:50
exp_evalbot joined
20:51
Chillance joined
|
|||
Eevee | wow, you killed evalbot | 20:53 | |
spinclad | (let me guess, rakudo sees a utf2-encoded ucs2 bom) | ||
20:53
cutz joined
20:54
iblechbot left
|
|||
spinclad | *utf8- | 20:55 | |
20:57
cutz left
|
|||
mncharity | ļ»æspinclad: re utf8, nope, hand typed, no cut and paste. something about the construct. | 21:00 | |
wolverian thinks about a 2-bit unicode encoding | 21:01 | ||
moritz_ | mncharity: there still was a "nasty" character in your code | ||
pmurias | mncharity: i'm running make bootstrap_faster now | 21:05 | |
spinclad | i see: C<< perl6: say ļ»æ{3=>4,5=>6} >> with a box (zero-width under a space? bom?) between 'say' and '{...}' | 21:06 | |
Eevee | oh, I just see a space | 21:07 | |
spinclad | pugs saw it as \65279, rakudo as \x{ef}\x{bb}\x{bf} | ||
pmurias | could the evalbot be made bom-resistant? | ||
Eevee | what is vim's "identify char under cursor"? | ||
21:08
sscaffidi left
|
|||
kolibrie | :asc | 21:08 | |
spinclad | 65279 == 0xfeff | ||
Eevee | aha, or ga | ||
bah, it copied as a space | 21:09 | ||
spinclad | perhaps another clue to when irc client passes boms | 21:11 | |
pugs_svnbot | r20498 | pmurias++ | [elf] fixed elf_f_faster | ||
r20498 | pmurias++ | proper accessor usage (breaks the moosish elf) | |||
pmurias | mncharity: should we have a file with know elf divergences? | ||
s/divergences/non standard stuff used by elf/ | 21:13 | ||
mncharity | good idea | ||
re boom, hmm, I thought i just typed that, let's see... | 21:14 | ||
perl6: say {3=>4,5=>6} | |||
21:15
exp_evalbot left,
exp_evalbot joined
|
|||
spinclad | plain space this time | 21:15 | |
mncharity | if there was a bom there, then gaim/gnome is even sicker than I thought... | ||
spinclad | no bom i'm sure | ||
just a pair-bomb | |||
mncharity | oy | ||
re divergences, good idea | 21:16 | ||
pmurias | mncharity: an name ideas? | ||
shower& | |||
mncharity | TODO ? :) | ||
ļ»æpmurias: before you go, | |||
pmurias | go on | 21:17 | |
mncharity | re elf broken, so is that next on your todo list, or are you hoping (/me looks over sholder) someone else will fix it? | ||
:) | |||
spinclad | perl6: say {3=>4,} | 21:18 | |
exp_evalbot | kp6: OUTPUT[3 4ā¤] | ||
..pugs: OUTPUT[*** ā¤ Unexpected end of inputā¤ Closing hash curly may not terminate a line;ā¤ please add a comma or a semicolon to disambiguateā¤ at /tmp/4IrjpRWiA0 line 2, column 1ā¤] | |||
..rakudo: OUTPUT[_block16ā¤] | |||
pmurias | it's rather low on my todo list as it would involve buying a better machine to work on elf moosish | ||
mncharity | the later is ok, but it needs fixing. | ||
hmm, "later" is ambigous there. english--. or is it "latter"? anyway, I can look into it, but just let me know. | 21:19 | ||
btw, ļ»æpmurias++ ;) | 21:20 | ||
re say, given that say.t suggests there's a method .say, it would seem to make sense for *say(*@a) to be just @a.map{$_.say}.join("") | 21:22 | ||
ļ»æpmurias: re todo, ok, I'll look. | |||
diakopter | ugh; a widespread virus/trojan/rootkit outbreak here at my office site. | 21:23 | |
spinclad | re say, that would put each element on its own line? | 21:26 | |
and join ... what? | 21:27 | ||
@a.join('').say | 21:28 | ||
lambdabot | Unknown command, try @list | ||
mncharity | ļ»æpmurias: did you try make rebuild on a clean checkout? I quickly get a ../elf_f_faster0 -x -o ../elf_f_faster1 Elf_Faster.pm compile failure. | ||
so elf_f_faster self compilation is broken too. | 21:29 | ||
ļ»ædiakopter: SONY? | |||
ļ»æspinclad: oh,right. duh. my $say_to_string is context = 1; ... sigh. build .say on a .say_to_s ? then recurse on the .say_to_s | 21:30 | ||
21:32
FurnaceBoy left
|
|||
pmurias | mncharity: was in elf_f_src when comitted | 21:32 | |
removed the file elf_f* accidently when removing junk | 21:35 | ||
rebootstraping... | |||
diakopter | mncharity: not SONY... | ||
21:43
rdice left
|
|||
mncharity | okayyy, have ugly kludge handling of pairs and hash&array literals. really have to do List's for real some day. but for now... | 21:43 | |
21:43
iblechbot joined
|
|||
mncharity | will commit later. bbl... hmm, or tomorrow. | 21:44 | |
Juerd | wolverian: 2 bit unicode would have to be: first bit 0 => this is the last bit for this codepoint, 1 => another bit coming up... and then the second bit encoding the codepoint somehow. Of course the 1/0 of the first bit could be reversed :) | ||
pmurias | the Call and Apply nodes are a hack | 21:45 | |
mncharity | ļ»æpmurias: I'll backlog. Just let me know if there's anything you would like me to do. bootstraps have great "ARRG!*%^@%%" and 'pulling out hair' frustration potential. | ||
wolverian | Juerd, yeah. :) | ||
mncharity | re hack, oh yes. | ||
Juerd | wolverian: I don't think it would be much less efficient than utf32 ;) | ||
(sizewise) | 21:46 | ||
wolverian | sounds like it'd be utf33, in practice :) | ||
mncharity | right thing is perhaps to check if there's a lexical override in scope, and if not, apply a macro containing an inline_p5 construct. but no macros yet. so the macros are inlined in the emitter, and the absence of overrides is assumed. | ||
pmurias | mncharity: my mid term plan is to have the sm0p grammar running | ||
mncharity | that would be very neat | 21:47 | |
pmurias | i plan to copy the kp6 EmitPerl5Regex approach | 21:48 | |
pugs_svnbot | r20499 | pmurias++ | [elf] fixed elf_f_faster for real ;) | ||
Eevee | that sounds like how my commit messages go. "fixed X" "really fixed X" "found another bug in X" "fuck" | 21:49 | |
Tene | hehe | 21:50 | |
pugs_svnbot | r20500 | pmurias++ | [elf] an emitter with token {...} support stub | ||
pmurias | Eevee: the last one was figuring that i typed rm elf_f* | 21:51 | |
mncharity | yay. got to go. I'll sync and commit later. re approach, not sure what that is, but np. you saw misc/elfish_smop/, yes? | ||
mncharity runs... & | |||
pmurias | mncharity: yes | ||
cognominal_ | what is the difference between the rule \s and \h ? | 21:55 | |
moritz_ | \h = horizontal whitespace | 21:56 | |
tab, space | |||
cognominal_ | it seems that \s == <[\h\v]> | ||
moritz_ | \v = vertical spaces (newline, vertical tab | 21:57 | |
aye | |||
cognominal_ | do I get that right? | ||
moritz_ | yes | ||
cognominal_ | seems that \h is silently missong from PGE | ||
Tene | It is? That would explain some things. | 21:58 | |
moritz_ | ticket! | ||
21:58
explorer joined
|
|||
b_jonas | what's PGE? | 21:58 | |
moritz_ | parrot grammar engine | ||
b_jonas | oh, this is perl6 | ||
I thought it was #perl | |||
moritz_ | ;) | 21:59 | |
cognominal_ | yea, one need context to get the acronym soup | ||
moritz_ | cognominal_: or online IRC logs that explain acronyms ;) | 22:00 | |
cognominal_ | I dream to add convestation system to the IRC protocol so that oped people can group and tag threads for later peruse | 22:01 | |
22:01
gbacon left
|
|||
moritz_ | cognominal_: I'll provide you with ~ 1Mio lines of IRC logs that you can tag, for testing purposes ;) | 22:03 | |
22:05
alester left
22:06
gbacon joined
22:07
Psyche^ joined
|
|||
cognominal_ | I have way more on my linux box. | 22:07 | |
moritz_ | cognominal_: that's just the #perl6 and #parrot IRC log database | 22:08 | |
Tene | looks like I have 713M of irc logs. | 22:10 | |
moritz_ | Tene: compressed? | ||
Tene | moritz_: no. :( | 22:11 | |
22:11
gbacon left
|
|||
moritz_ | Tene: I bzip2 my logs, and have about 50M atm | 22:11 | |
22:12
gbacon joined
|
|||
Tene bzip2 now. | 22:12 | ||
22:13
gbacon left,
gbacon joined,
fullermd left,
fullermd joined
22:15
b_jonas left
|
|||
moritz_ heads off to bead | 22:19 | ||
Auzon | @karma c | 22:20 | |
lambdabot | c has a karma of 15 | ||
Auzon | @karma C | ||
lambdabot | C has a karma of 15 | ||
Auzon | Hm. | ||
Eevee | @karma perl | ||
lambdabot | perl has a karma of -1 | ||
Eevee | oh dear. this does not bode well | ||
Auzon | perl++ | 22:21 | |
@karma english | |||
lambdabot | english has a karma of 0 | ||
Auzon | @karma php | 22:22 | |
lambdabot | php has a karma of -1 | ||
Eevee | php-- | ||
Auzon | It seems that most inanimate systems only get --'d | ||
22:22
Patterner left,
Psyche^ is now known as Patterner
|
|||
Eevee | except C, which has somehow found a loophole despite being inanimate | 22:22 | |
Auzon | due to cpp | ||
Eevee | right | ||
Auzon | @karma c++ | 22:23 | |
lambdabot | c++ has a karma of -8 | ||
Auzon | Heh. | ||
@karma c | |||
lambdabot | c has a karma of 15 | ||
Auzon | Oh, good, it didn't cascade | ||
22:23
rindolf joined
22:27
fullermd left
22:29
Southen_ joined
22:36
fullermd joined
22:39
eternaleye left
22:46
Southen left
|
|||
pmurias | @karma python | 22:47 | |
lambdabot | python has a karma of 0 | ||
22:49
pmurias left
22:50
iblechbot left
|
|||
rindolf | perlbot: karma python | 22:53 | |
perlbot | Karma for python: 29 | ||
Auzon | Odd. | 22:55 | |
pbuetow_ | perlbot: karma java | 23:05 | |
perlbot | Karma for java: -45 | ||
pbuetow_ | @karma java | ||
lambdabot | java has a karma of -23 | ||
pbuetow_ | hehe | ||
Eevee | ouch | 23:07 | |
are either of these tied to purl's karma on irc.perl.org? | |||
Auzon | I don't think so. | 23:13 | |
23:21
[particle] left
23:27
rindolf left
23:38
[particle] joined
23:43
Chillance left,
cmarcelo left
23:46
chris2 left
|