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 ether0 left, ether0 joined, dether joined 00:01 ether0 left, dether left, ether0 joined 00:05 theorbtwo joined 00:18 Limbic_Region joined 00:23 justatheory joined, justatheory left 00:24 justatheory joined
neuromu hi everyone. i'm sure this is common knowledge already, but i'm new to pugs and perl6. make smoke is not creating a smoke.html with latest revision from svn. 00:29
I get an error referencing YAML in the perl distribution I'm using, something about a malformed UTF-8 char. 00:31
00:35 fglock_ joined 00:36 fglock_ left 00:37 a2n joined
TimToady let me guess, you're running 5.10 like me, 'cuz I get the same error 00:39
00:45 stekodyne joined
kst dlocaus: Um, I think you mean "throttle". 00:47
dlocaus: Never mind, I just realized I'm responding to something from about 3 hours ago. 00:48
00:50 fglock left
neuromu 5.8.8 00:50
Is there still a need for more help on developing perl 6/pugs? 00:55
if so, i'd really like to help, i've been in awe of this project watching from the outside off and on for about a year and a half now 00:57
my email is [email@hidden.address]
Tene neuromu: kp6 and parrot are where the most is happening right now. :) 00:59
neuromu Tene: thanks. Is there a plan to write a C implementation for Perl 6? 01:02
Or is that Parrot... 01:03
Tene neuromu: That's Parrot.
[particle] neuromu: we can start by giving you a pugs commit bit, so i've sent you an invitation
01:04 stekodyne left
neuromu [particle] -> thank you. 01:04
[particle] neuromu: there's parrot, a c-based vm for perl6 and other dynamic languages, and there's yap6 (sp?) which is a c port of fglock's kp6 (kindaperl 6)
those are the two c-based implementations underway 01:05
01:05 ether0 left
[particle] neuromu: typically new committers add their name to CREDITS to test out their bit 01:11
neuromu I can't seem to find the yap6 description anywhere...
[particle] look under the v6/ dir
i've been away for a month, so i don't know the latest info
if you're interested in c programming, parrot could use your help 01:12
TimToady s/CREDITS/AUTHORS/ # a forgivable slip twixt parrot and pugs 01:13
[particle] ah, thanks
neuromu heck yeah im interested in c programming 01:14
so add my name to AUTHORS?
TimToady *nod* 01:15
pugs_svn r18985 | neuromu++ | Added name to AUTHORS 01:21
neuromu done
Tene neuromu: irc.perl.org #parrot is the main parrot channel 01:27
pugs_svn r18986 | fglock++ | [kp6-kp6] allow both List and Array in the AST 01:28
[particle] we're on #parrot now looking at what seems to be a bug involving ccache :/
[particle] heads off to soccer with cheese 01:29
01:41 Limbic_Region left 01:45 neuromu joined 01:57 cnhackTNT joined 02:12 lisppaste3 joined 02:15 stevan_ joined
neuromu I'm sorry, one last question. So out of the 3 projects pugs, parrot, and yap6, the project with the most need for developers is parrot? 02:35
02:38 thoughtpolice joined 03:27 stevan_ left, stevan_ joined 03:28 Aankhen`` joined 04:02 thoughtpolice left
araujo neuromu, all of them i think 04:07
04:13 rawr joined, rawr left 04:24 jjore-m joined 04:33 pasteling joined 05:07 amnesiac joined 06:14 Ashizawa joined 06:57 Southen joined
PerlJam "most need of developers"? 07:01
spinclad pugs *most* needs developers, to revive it ... a new batch of lambdacamels, new OO model, new AST, interface with KP6 and NQP ... 07:03
the others are active and can best *use* developers right off. 07:04
07:20 kanru joined 07:26 ting joined 07:34 kanru left 07:37 devogon joined 07:38 iblechbot joined 07:49 justatheory left 07:53 jisom joined 08:29 neuromu left 08:30 franck___ joined 08:40 jisom left
pugs_svn r18987 | pmurias++ | referenced misc/grammar_17_15_bug_ilustration.t - in the revelant TODO item 08:48
08:49 rgs joined 09:09 takanori_ left 09:13 takanori joined 09:25 amnesiac left 09:35 masak joined 09:37 pmurias joined, pmurias left 09:41 ruoso joined, Aankh|Clone joined 10:00 Aankhen`` left, cnhackTNT left 10:10 drupek12 joined 10:17 drupek12 left 10:30 drrho joined
Aankh|Clone Ugh. I can't believe the "xml and perl 6" thread is still going strong, and with a completely different topic now. 10:31
moritz_ I think the "core" topic has to be discussed once a year to stay fresh in everybody's mind ;) 10:32
Aankh|Clone Hehe.
Yay, my much delayed lunch is finally here. 10:34
Oh, whoops.
10:34 Aankh|Clone is now known as Aankhen``
Aankhen`` That's better. 10:34
10:37 elmex joined, elmex left 10:39 fglock joined 10:44 Ashizawa left 11:04 chris2 joined
pugs_svn r18988 | fglock++ | [kp6] cleanups 11:11
11:13 gaal joined
pugs_svn r18989 | fglock++ | [kp6-kp6] updated image 11:27
11:29 b00t joined
pugs_svn r18990 | fglock++ | [kp6-kp6] some fixes in Match.pm 12:04
12:04 masak left 12:09 Teratogen left 12:10 drupek12 joined 12:11 drrho left 12:12 pmurias joined, masak joined
pmurias fglock: why is Perl5::Match used instead of Perl6::Match? 12:12
fglock pmurias: because I'm using the perl5rx backend, which is Perl 5 12:13
lib5regex/KindaPerl6/Runtime/Perl5/Match.pm 12:14
pugs_svn r18991 | fglock++ | [kp6-perl5] MOP - improved the default ".perl" a bit 12:18
12:21 damianc joined
fglock there is some problem with the Object.perl attribute list when running t-bootstrap/02-grammar.t - attributes don't show up 12:23
12:23 jiing_ joined 12:24 jiing_ left
pmurias fglock: looking 12:28
12:29 kanru joined
fglock Val::Int.new() should be: Val::Int.new(int => ...) 12:30
pmurias *** Could not load runtime class Range: Can't locate KindaPerl6/Runtime/Perl5/Range.pm
fglock are you running this? perl t-bootstrap/02-grammar.t 12:31
12:32 [particle1 joined
pmurias yes 12:32
fglock: the test continues to run
fglock pmurias: fixed
pugs_svn r18992 | fglock++ | [kp6-kp6] added KindaPerl6/Runtime/Perl5/Range.pm 12:33
damianc hello 12:34
moritz_ hi damianc, hi all ;)
damianc hi moritz_!
fglock hi
moritz_ how do I build and test kp6-kp6? 12:35
I dimly remeber it's some env variable
fglock KP6_TARGET=KP6-BOOT perl Makefile.PL
moritz_ ah, I see... it's even documented ;) 12:36
fglock but it's pre-built
moritz_ and how to run the test suite? 12:38
fglock it can't run the normal tests yet, but you can run things in 'perl t-bootstrap/..." 12:40
moritz_ ah, they are perl5 scripts
fglock still debugging the grammar 12:41
but this almost works: perl -I compiled/perl5-kp6-kp6/lib script/kp6-kp6.pl <<< ' 1 '
see src-script/kp6-kp6.pl 12:42
12:44 pasteling left, theorbtwo left, [particle1 left, devogon left, a2n left, rgs left, lisppaste3 left, araujo left
pmurias fglock: this error also confuses me 12:45
12:45 b00t left, rgs joined, lisppaste3 joined, araujo joined, sunnavy joined, ajs joined, jql joined, TimToady joined, Maddingue joined, jiing joined, Juerd joined, wolverian joined, PerlJam joined, buu joined, zostay joined, stef_ joined, shachaf joined, TreyHarris joined, nipotan joined, GeJ joined, SubStack joined 12:46 cmarcelo joined, pasteling joined, theorbtwo joined, buubot joined, kst joined, ft joined, f0rth joined, kcwu joined, SamB joined, hcchien joined, [particle1 joined, devogon joined, a2n joined, idiotmax joined, tokuhiro_ joined, xinming joined, thepler joined, zamolxes joined, qmole joined, cls_bsd joined, lidden joined, QtPlatypus joined, tewk joined, diotalevi joined, kolibrie left, kolibrie_ joined
fglock pmurias: you mean the attributes problem? 12:47
pmurias yes
fglock: the attribiute isn't added to the class 12:51
vim is sloow on large file :( 12:52
fglock I'm adding a .HOW.attributes method, to help debugging
pmurias fglock: did you load KindaPerl6::Ast? 12:53
fglock looking :) 12:54
pmurias it works if i add "use KindaPerl6::Ast"
fglock pmurias: thanks - it worked :) 12:55
pmurias is supposed to be debugging something else right now& 12:57
13:00 chris2 left 13:04 iblechbot left 13:05 cognominal_ joined
pugs_svn r18993 | fglock++ | [kp6] MOP - added Class.get_attributes() 13:05
13:07 drupek12 left
pmurias fglock: isn't it speced to be an .attributes method? 13:10
13:10 baest_ joined, baest_ is now known as baest
fglock pmurias: hmm - I didn't look 13:11
moritz_ pugs: <foo bar>.HOW.methods
pmurias S12
exp_evalbot OUTPUT[*** No such method in class Class: "&methods"ā¤ at /tmp/KKjmqYIbKq line 1, column 1 - line 2, column 1ā¤]
moritz_ pugs: <foo bar>.HOW
exp_evalbot RESULT[\Class.new(("is" => ("Lazy",)), ("name" => "Array"))ā¤]
13:12 GeJ left, TreyHarris left, PerlJam left, TimToady left, ajs left, rgs left, jiing left, SubStack left, Juerd left, buu left, stef_ left, sunnavy left, shachaf left, wolverian left, Maddingue left, zostay left, jql left, nipotan left, araujo left, lisppaste3 left, rgs joined, lisppaste3 joined, araujo joined, sunnavy joined, ajs joined, jql joined, TimToady joined, Maddingue joined, jiing joined, Juerd joined, wolverian joined, PerlJam joined, buu joined, zostay joined, stef_ joined, shachaf joined, TreyHarris joined, nipotan joined, GeJ joined, SubStack joined
moritz_ pugs: <foo bar>.HOW.attributes 13:12
exp_evalbot OUTPUT[*** No such method in class Class: "&attributes"ā¤ at /tmp/dcLwNcGz0W line 1, column 1 - line 2, column 1ā¤]
moritz_ it's .attributes according to S12, yes 13:13
"The .attributes method returns a list of attribute descriptors that have traits like these"
pugs_svn r18994 | fglock++ | [kp6-perl5] improved Object.perl
pmurias Perl6::Attribute alread exists
* already
13:15 nipotan is now known as nipotaway
fglock kp6: class X { has $.x }; my $x = X.new(x=>3); say $x.perl 13:18
exp_evalbot r18994: OUTPUT[Out of memory!ā¤]
pugs_svn r18995 | fglock++ | [kp6] recompiled 13:19
fglock kp6: class X { has $.x }; my $x = X.new(x=>3); say $x.perl 13:20
exp_evalbot r18994: OUTPUT[Out of memory!ā¤]
fglock lunch & 13:21
moritz_ looks up evalbot's memory limit
80MB/100MB 13:22
pugs_svn r18996 | moritz++ | [evalbot] increased memory limit 13:23
13:23 exp_evalbot joined
moritz_ kp6: class X { has $.x }; my $x = X.new(x=>3); say $x.perl 13:23
exp_evalbot r18995: OUTPUT[X.new(x => 3)ā¤]
pmurias moritz_: it's ?/? ?
moritz_ pmurias: RLIMIT_VMEM takes two numbers, I don't know exactly what they mean 13:25
from BSD::Resource, that is
I've bumped them to 180MB / 200MB, now it works ;)
pmurias moritz_: thanks
masak a bit unsettling that instantiating a class takes 180 MB... :) 13:26
moritz_ masak: you know what they say about premature optimization... ;) 13:27
and there has to be a reason for my laptop having 3GB ram ;) 13:28
masak heh
13:28 ebassi joined 13:37 ether0 joined 13:39 fglock left, kanru left
moritz_ is there a separate hash context in Perl 6? 13:45
13:53 ebassi_ joined, ebassi left 14:00 pbuetow joined 14:04 chruck joined 14:06 xinming_ joined 14:14 xinming__ joined 14:19 xinming left, gongyiliao joined 14:24 Notrix joined 14:31 xinming_ left 14:37 pmurias left 14:39 gongyiliao left 14:52 TJCRI joined 14:58 fglock joined 15:03 rindolf joined
pugs_svn r18997 | fglock++ | [kp6-perl5] fix last commits (.attributes was already there) 15:05
15:14 iblechbot joined 15:17 SCalimlim joined 15:19 cognominal_ left 15:22 cognominal_ joined 15:23 kanru joined 15:29 kanru left 15:34 hakobe joined 15:38 pbuetow left 15:39 pohyg joined 15:51 f0rth left, f0rth joined 15:53 kanru joined 16:01 masak left 16:02 lichtkind joined, masak joined 16:04 rindolf left
pugs_svn r18998 | pmurias++ | [kp6] the begining of a perl6 version of the test 16:13
16:14 Psyche^ joined 16:23 ahmadz joined, ahmadz left, zamolxes left 16:28 amnesiac joined, drrho joined 16:32 Psyche^ is now known as Patterner 16:45 jjore-m left 16:49 barney joined
Juerd agentzh.org/misc/tracer/digits/index.html 16:51
Very impressive!
lambdabot Title: Test
Juerd agentzh++
masak yes, that one is very cool
agentzh++
Juerd Some perl -Mre=debug alike output would be cool too 16:52
I know that a lot of work is being done on Perl 6, but the things that I can *see* (e.g. in a browser) always impress me most. 16:53
TimToady moritz_: there isn't really a hash context; pairs don't decide how to behave until they get bound or assigned, so list context generally suffices (of course there's a referential context that expects a hash object/role, but that's just a type) 16:57
moritz_ TimToady: ok, thanks
the question came up on #perlde, someone sugested a DBI like interface with a magic "fetch" method 16:58
where %a = $sth->fetch returns a hash, @a = $sth->fetch a list, and $a = $sth->fetch an array ref
and afaict the first two can't be distinguished in perl 5 16:59
Tene TimToady: There's concern expressed in the log of the phone conference about your hardware. You need new hardware? 17:00
17:01 pbuetow joined
TimToady Tene: just my laptop is starting to go gimpy in spots, none of which are quite showstopping, like the cd reader keeps ejecting by itself. :) 17:04
Tene Heh. Mine does that too.
rgs TimToady: I've that question about ~~ in Perl 5 17:05
just to be sure
before we're stuck with it forever
TimToady and I've got a bizillion messages saying hub 1-0:1.0: over-current change on port 3
Juerd moritz_: Why would $a = $sth->fetch do an arrayref, not a hashref? And why are you calling it a ref? :)
TimToady and the space bar doesn't work some of the time when I push it with my right thumb
Tene USB on my laptop is too flaky to use at high-speed, so I always rmmod ehci_hcd when I need to use it. 17:06
TimToady rgs: what's the Q?
rgs have you tried compressed air ? (for the laptop)
and the real question is : @a ~~ %h means that at least one element of @a is a key in %h ?
(as opposed as "all elements of @a")
17:07 jjore-m joined
Tene TimToady: You also have tendonitis issues or some such, yes? 17:07
moritz_ Juerd: convenience ;)
TimToady S03 sez: 17:08
Array Hash hash slice existence X.contains(any @$_)
rgs yup
moritz_ which means "one common item", right?
that is, "at least one common item"
rgs that's what I think 17:09
but I'm not an expert in exegesis
moritz_ TimToady: Hash has no method "contains", according to S29, so it must be some kind of meta syntax
TimToady yes, only one item needs to match
rgs thanks! then all is fine in P5.
TimToady and .contains is a key match 17:10
not a val match
P6 kind of views hashes as sets with an associated piece of data called the value 17:11
Tene: yeah, my shoulder biceps tendons don't like to be used quite as much as I use 'em. 17:13
and I've been having trouble sleeping because of it, which greatly reduces my productivity
but I think I'm getting better, except when I don't think that...
Tene TimToady: want I should buy you a nicer external keyboard? Christmas time and all.
TimToady doesn't seem to correlate with keyboard use, more with heavy lifting and pushing the car door open and such 17:14
and I've got lots of keyboards sitting around :) 17:15
Tene I figured that was probably the case, but most of my spare keyboards are spare because they're a pain to type on. 17:16
Seems to be a common attribute of spare keyboards. ;)
TimToady most of mine are spare because the new computer came with a new one, and with four kids you end up with lots of new computers periodically
and keyboards are the easiest thing to scavenge from an old computer 17:17
[particle1 at least you have other people to do the heavy lifting for perl 6
TimToady sure, but that's kind of like ants trying to decide which way to push the huge crumb :) 17:18
17:19 [particle1 is now known as [particle]
Tene Work threw more money at me recently, and hardware is an easy donation. 17:20
[particle] how 'bout a right-handed dvorak keyboard 17:21
17:22 drrho left
TimToady hmm, my sister-in-law just had new hardware installed in her shoulder... 17:22
Tene bbl 17:23
[particle] i can get you the joint itself at wholesale, but i can't get you a discount on labor
TimToady can you do it on a volunteer basis?
I'll bet TPF would give you a tax writeoff for it... 17:24
[particle] tempting
17:25 masak left
[particle] besides, what could happen? 17:25
17:32 dlocaus joined
dlocaus hi! 17:32
17:33 franck___ left
moritz_ hola! 17:33
araujo hola! 17:40
dlocaus :) 17:43
pugs_svn r18999 | fglock++ | [kp6-perl5rx] Match.to was not set inside a code-block 17:45
17:46 ebassi_ left
moritz_ perl t-bootstrap/02-grammar.t 17:47
Can't locate KindaPerl6/AST.pm in @INC
find -name AST.pm|wc -l
0
fglock moritz_: fixing
hmm - looks ok, here 17:48
17:48 ebassi joined
moritz_ fglock: where is your AST.pm? 17:50
fglock t-bootstrap uses this one: svn.pugscode.org/pugs/v6/v6-KindaPe...rl6/Ast.pm 17:51
lambdabot tinyurl.com/3d3sas
moritz_ ah, that's Ast.pm, not AST.pm 17:52
fglock please fix it if possible, I'm on os/x and it doesn't care :( 17:53
pugs_svn r19000 | moritz++ | [kp6] fixed include in t-bootstrap/02-grammar.t
moritz_ Committed revision 19000.
it dies with a segfault, but at least it compiles 17:54
(case insenstive file systems)--
ruoso dlocaus, fglock told me you're interested in yap6 17:55
17:56 pmurias joined 17:57 snearch joined
fglock moritz_: which perl5 do you use? 17:58
moritz_ fglock: 5.8.8
fglock a segfault in a perl5 regex can make this regex engine unusable
moritz_ installs 5.10 17:59
fglock it abuses a little on regexes
I'm running 5.8.8
moritz_ with 5.10: # Can't use an undefined value as a SCALAR reference at compiled/perl5-kp6-kp6/lib/KindaPerl6/Runtime/Perl5/Match.pm line 54.
at the same plase where 5.8.8 dies with a segfault
18:00 justatheory joined
moritz_ s/plase/place/ 18:00
pmurias there are no segfaults here, but test 2 and 3 fail 18:01
moritz_ seems to be an issue with debian's perl
fglock pmurias: that's ok - but a segfault is way hard to fix 18:02
pmurias moritz_: you use perl t-bootstrap/02-grammar.t ?
moritz_ pmurias: aye
18:03 justatheory left 18:04 justatheory joined
moritz_ I just checked out a fresh copy of kp6 to ensure it's not a tainted checkout... still the same behaviour 18:04
fglock hmm - there is an eval-block in that place - I'll try to remove it 18:05
the segfault might be caused by an error in the exception handler 18:06
dlocaus ruoso: I think that may have been a mis-understanding
18:07 justatheory left
dlocaus ruoso: I don't have a lot of time to "share", right now I have time for 1.5 volunteer projects, and kp6 + another are already taking up a lot of my time :) 18:07
ruoso: sorry about the late response, I was moving my car for street cleaning 18:08
pmurias dlocaus: what's the "other" project? ;)
dlocaus A non profit wants me to help rebuild their website.
pmurias dlocaus: dosn't the street cleaning get annoying?
dlocaus I really hate working for free, for people who get paid. For some reason the value of my time drops to "negative numbers"
pugs_svn r19001 | fglock++ | [kp6-perl5rx] minor change trying to avoid an exception 18:09
dlocaus pmurias: yes, the street cleaning does get annoying, but its considerably less annoying than all the other idiot legislation and laws passed by local, state, and federal government.
moritz_ fglock: no change hehe, still segfault
fglock: and don't take my "in the same place" too serious
18:10 justatheory_ joined
fglock moritz_: ok 18:10
moritz_ fglock: the error message appeared in the same place, that doesn't mean the failure was in the same place
dlocaus In the state of califonria, to make a left turn (drivers drive on the right side of the road), it is illegal to go "partially" out into the intersection before you make a left turn. Ergo, it is no almost impossible to make a left turn. We can blame Jackie Spier for that.
18:10 justatheory_ left
fglock I'll try it out on a new 5.10 install 18:11
dlocaus I could go on for a couple more hours, but I'll spare you. ;)
moritz_ doesn't understand why USA's laws are so much fractured
dlocaus moritz_: responding in a private irc window 18:12
moritz_ nor why any sane country would allow local laws to override country scale law ;)
fglock the devel version in cpan is 5.9.5, dated 7/19/07 - is this correct? 18:17
18:17 ebassi left
dlocaus no 18:17
5.10.rc 2 is out
fglock have a link?
dlocaus one second 18:18
moritz_ fglock: just use the latest blead: dev.perl.org/perl5/source.html
lambdabot Title: Getting and Working With the Perl Source - perl5
fglock dev.perl.org doesn't help
looking
dlocaus perlbuzz.com/2007/11/one-step-close...s-out.html
lambdabot Title: One step closer: Perl 5.10.0 RC2 is out - Perl Buzz, tinyurl.com/2n2qez
dlocaus first link first paragraph
fglock thanks 18:21
18:22 justatheory joined
pmurias fglock: wouldn it be better/cleaner to change Emit::Perl5Regex to use Perl6::Match? 18:25
18:26 justatheory_ joined, justatheory left
pmurias * wouldn't 18:28
fglock pmurias: I'm still debugging the perl5rx backend, specially " from_global_data() "
we can split the Perl 5 specifics to a separate module later
that is, if the segfault can be fixed 18:29
pmurias fglock: do you get the segfault? 18:30
fglock no, it works here - I'm now installing 5.10
moritz_ it works on a different debian maschine for me 18:31
so not sure where my problem is, actually
damianc now whats an automation for provisioning?
18:32 lichtkind left
pmurias damianc: what's the context? 18:33
18:34 Entonian joined
fglock moritz_: nice to know :) 18:34
damianc something for a DC frontend? 18:35
moritz_ understands nothing
damianc feels stupid
fglock brb 18:47
18:55 ruoso left 19:00 hugues23 joined 19:02 Lorn joined 19:08 fglock left 19:12 justatheory joined 19:13 justatheory_ left 19:22 TJCRI left 19:28 smtms joined 19:36 justatheory left, rindolf joined 19:39 hugues23 left 19:43 rindolf left 20:00 cognominal_ left 20:11 ahmadz joined, ahmadz left, jisom joined 20:21 damianc left 20:28 cognominal_ joined 20:29 Aankhen`` left 20:30 Notrix left 20:33 justatheory joined, snearch left 20:43 jisom left 20:51 neuromu joined 21:00 GerhardSchr joined 21:01 FOAD joined 21:08 rindolf joined 21:18 smtms_ joined 21:21 smtms left 21:22 smtms_ is now known as smtms 21:25 barney left 21:42 TJCRI joined 21:46 GerhardSchr left 21:51 pmurias left 22:09 TJCRI left 22:12 less_than_zero joined 22:13 Lorn left 22:14 rindolf left 22:47 Notrix joined, less_than_zero left 23:04 jjore-w joined 23:06 jjore-m left 23:11 iblechbot left, drupek12 joined 23:13 Limbic_Region joined 23:44 Notrix left