Upgrade to YAML::Syck 0.85 before smoking | pugscode.org | sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse (show (scanl (*) 1 [1..] !! 4))
Set by agentzh on 22 April 2007.
00:15 justatheory joined 00:19 bsb joined 00:20 bonesss joined 00:38 geoffb_ joined
pasteling "evalbot_r16126" at 194.145.200.126 pasted "Pugs build failure" (315 lines, 17.2K) at sial.org/pbot/24510 00:59
01:05 agentzh joined
agentzh Perl6::Perldoc updated to v0.0.5 on feather. 01:05
added TOC to S26 produced by smartlinks.pl
auto-smoke on feather is working fine these days :) 01:06
school &
01:06 agentzh left 01:29 dolmans joined 01:38 bonesss joined 01:39 BooK joined 02:16 Alias__ joined 02:21 amnesiac joined 02:46 Psyche^ joined 02:54 Psyche^ is now known as Patterner 02:59 nekokak joined 03:15 drbean joined 03:25 geoffb_ joined 03:30 mako132_ joined 03:37 avarab joined, [particle] joined 03:49 avarab is now known as avar 04:17 offby1` joined 04:22 offby1` joined, rissy joined 04:24 offby1` is now known as offby1
gaal fglock: re names. "Generate" (as in Template::Generate")? "Inhabit" (as in type inhabitation)? uh, "Represent"? :) 05:15
spinclad "a local habitation and a name" 05:26
"Prosper" (as in Tempest::Mage)? "Leer" (as in King::Lir)? 05:28
"Puck" (as in Midsummer::Night::Hockey)? 05:29
"Unmatch"? 05:33
05:47 rfordinal joined
gaal Matchmaker :) 05:55
05:56 devogon joined 06:04 buetow joined 06:30 marmic joined 06:58 mj41 joined, elmex joined 07:02 SubStack joined 07:06 franck__ joined 07:07 elmex joined 07:15 iblechbot joined 07:19 jisom joined
dduncan ?eval my $bar = 1 ?? Bool::True !! Bool::False; 07:55
evalbot_r16129 Error: ā¤Unexpected "$bar"ā¤expecting "=", "::", dot, ":", "(", term postfix, operator, ",", "!!" or context
dduncan pardon my naivety, but what is wrong with that expression? 07:56
Pugs doesn't seem to like ??!! and :: in the same statement 08:00
08:10 bsb left 08:24 nwc10 left 08:50 Loro_ joined 09:14 RHainsworth joined, RHainsworth left 09:23 Aankhen`` joined 09:31 benny_ joined 09:58 dmq joined 10:05 dduncan left 10:17 idiotmax joined 10:20 larsen_ joined 10:33 chris2 joined 10:41 agentzh joined
agentzh Damian is definitely not committing updates for Perl6::Perldoc to the Pugs repos. 10:42
sync'ing the versions starts to be a pain :(
moritz agentzh: then remove it 10:43
agentzh: or talk to damian
agentzh *nod* 10:44
will do
the latter
mail sent :) 10:51
masak @tell dduncan nothing wrong with the expression as far as I can see. maybe commit a test for it in t/operators/ternary.t? 10:52
lambdabot Consider it noted.
agentzh sigh. svnbot is off :( 10:53
moritz agentzh: for quite a while I might add
agentzh: do you know who runs svnbot6?
agentzh moritz: audreyt
moritz damned 10:54
agentzh not sure how to start it.
my cron no longer uses audreyt's pugs tree since a few processes are messing things around there :(
11:10 RHainsworth joined 11:16 RHainsworth left
agentzh Oops! 11:27
Juerd: i'm sorry, i've something stupid to feather.
a process is eating all the CPU resource of feather.
gaal ghc 6.6.1 released 11:29
agentzh gaal: feater is down due to my mistake. 11:30
:(((
gaal: i can't even login.
gaal send Juerd mail?
agentzh k
[email@hidden.address] ? 11:31
gaal afaik yes 11:34
agentzh sent
gaal lunch&
agentzh a friend of mine made a bad joke on me :(
Apologies to all other feather users. 11:35
moritz agentzh: that's live ;)
agentzh: those who work make mistakes - now we know that you worked ;) 11:36
agentzh hopefully Juerd will not kill me :(
lumi moritz: For the logger, maybe email obfuscation (although that interacts badly with Perl code, sometimes) 11:40
moritz lumi: I don't know if that's worth the effort
11:41 laye joined
agentzh school again & 11:42
lumi moritz: Trivially off the top of my head, s/(?<=\w)\@(?=\w)/<img src="at.gif">/g 11:45
Prolly could be done better 11:46
11:46 BooK joined 11:52 irclogbot joined
moritz lumi: testing... 11:55
11:57 juerd_ joined 11:58 rindolf joined
moritz lumi: works locally, but commits must wait until feater is up again ;) 12:04
rindolf Hi all.
Hi moritz
moritz hi rindolf ;)
rindolf Once again I'm being sucked into the productivity black hole of IRC.
juerd_ moritz: That may take a while.
Days if we're unlucky. 12:05
moritz what happend?
juerd_ Someone used up all memory
12:14 fglock joined
masak juerd_: why days? 12:22
12:23 VanilleBert joined
juerd_ masak: It costs not only fuel, but also time to get there. 12:26
And I won't have a few hours free time for a few days. 12:27
There's still a chance that it'll come up by itself, by the way.
moritz it responds to ping
juerd_ Yes. It's probably slowly filling virtual memory and swapping in and out a lot 12:28
When virtual memory is full too, it'll start killing processes.
moritz let's hope it kills the right processes ;)
juerd_ Right :)
Not init, ssh, and things like that
moritz how much swap space is available?
juerd_ 1 GB 12:29
fglock hmm - pugs can load the MiniPerl6::Grammar module already 12:30
12:33 iblechbot joined 12:41 irclogbot-test joined 12:43 the_dormant joined 12:47 jerrylee joined 13:08 fglock joined
fglock I've got a problem with kp6-mop - I made a "P6opaque" object that stores the kp6 objects; but kp6 can't see P6opaque, it only sees the higher-level object 13:19
much like VAR($x) and $x
will need something like NATIVE($obj) to get to P6opaque 13:20
13:20 laye joined
fglock meeting & 13:21
13:22 laye joined 13:29 VanilleBert left 13:32 ruoso joined 13:35 laye joined 13:42 Juerd joined 13:43 diakopter joined
diakopter wb feather 13:43
Juerd Found a friendly security person at the datacentre who didn't mind rebooting it for me 13:45
13:46 Muixirt joined 13:50 laye joined 13:57 fglock joined 14:31 offby1-urbana joined 14:34 amnesiac joined 14:36 Boogiebruva joined 14:39 offby1 joined 14:41 myavuzselim joined 15:06 RHainsworth joined 15:13 bonesss joined 15:20 bonesss is now known as bones`lunch 15:21 [particle] joined 15:31 vel joined 15:34 ruoso_ joined, justatheory joined 15:35 polettix joined 15:46 marmic joined 15:52 kanru joined 15:54 bernhard joined 15:58 bones`lunch is now known as bonesss 16:04 iblechbot joined 16:08 VanilleBert joined 16:13 jjore-w left 16:26 offby1 joined 16:27 justatheory joined, offby1-urbana joined 16:33 franck__ joined 16:34 Limbic_Region joined
Limbic_Region any sendmail experts around? Specifically, sendmail 8.13 on Solaris 9. I am trying to figure out how to prevent sendmail from making AAAA (IPv6) queries of the FQDN passed in helo/ehlo 16:35
offby1 yikes
Limbic_Region explicitly setting the DaemonPortOptions and Resolver option doesn't have any affect
and since this is extremely OT, I would be happy to take the conversation to /msg land
16:36 franck__ joined
moritz
.oO(write a perl wrapper around a dns proxy, then you're more on topic ;-)
16:39
offby1 writes a perl 6 wrapper to provide him hot stock tips 16:40
TimToady all you need to do is read your spam to get all kinds of hot stock tips. 16:41
moritz even knowing that stocks are advertised in spam is a bad sign - because it means sombody is reading his spam ;) 16:43
avar Limbic_Region: compile without ipv6 support?
rindolf Hi TimToady, offby1, avar, Limbic_Region 16:48
avar wrarr 16:49
moritz feels left out ;)
Limbic_Region avar - yeah, that's something I would rather avoid
rindolf moritz: I already greeted you. 16:50
16:54 buetow joined 16:55 jjore-w joined
moritz rindolf: I was just kidding ;) 17:01
rindolf moritz: OK. :-)
rindolf is now Perl->BSD'ing the Test::Run code. 17:02
It's pretty mindless, but it gives me a chance to refactor the code.
Mindless but annoying.
rindolf sighs
TimToady anyone have a clue why it takes 20 cpu minutes to do a fairly simple m:g// in list context on an 80K string? 17:11
17:15 Psyche^ joined
kolibrie TimToady: that's a long time. Did it use up memory also? 17:16
TimToady >250M
kolibrie I've had memory issues with PCR, but usually the cpu usage is acceptable 17:17
TimToady m:g:P5/(?xms) ^ (?: rule | token | regex | method ) \s+ ( \w+ 17:18
)/
P6 version doesn't seem significantly different in performance
(the string in question is, of course, STD.pm :)
kolibrie if P5 takes that long, I have no idea, PCR usually leaves those pretty much intact, I think 17:19
TimToady no, I'm pretty sure P5 would rip through it rather quickly 17:20
didn't test it though.
I think something generating the list is probably copying lists back and forth on every match, maybe. 17:21
kolibrie suspects it has something to do with the 'g' (but is mostly just guessing)
17:23 Psyche^ is now known as Patterner 17:30 sapir joined 17:32 stevan__ is now known as stevan_ 17:54 veritos joined 18:04 VanilleBert left 18:14 wolverian joined
moritz @seen audreyt 18:31
lambdabot audreyt is in #haskell and #perl6. I don't know when audreyt last spoke.
18:38 pmurias joined 18:40 edenc joined 18:41 jisom joined 19:00 larsen_ joined 19:05 larsen_ joined
rindolf Hi all! 19:30
moritz (and all): do you have any additions for www.shlomifish.org/perl-oop-systems...ummary.txt ?
audreyt: here?
19:37 edenc joined
moritz rindolf: I don't have any idea, but I'm not a p5 wizard at all 19:41
rindolf moritz: OK, no problem.
19:58 fglock joined
fglock I guess I'll take a week or so for planning on kp6 and the other compilers, rather than implementation 20:01
due to combinatorial explosion of possible paths
kolibrie fglock: cool 20:03
[particle] any(*)
kolibrie hopes to look at that again soon
fglock any(*) is only good if you have multiple processors :) 20:04
[particle] unless you're working with very small values of whatever :) 20:05
fglock it's like playing chess, you have to explore the design space (or something like that) 20:06
moritz fglock: how many compilers have you written so far? 20:16
not only p6 ones, that is ;)
[particle] lrep, v6, mp6, kp6..* 20:17
i feel like i'm missing something, too
20:18 dduncan joined, nwc10 joined
fglock oh, and PCR 20:19
nwc10 When will we get Perl 6? I just found myself writing something that would not be an error in Perl 6
[particle] ah, right.
avar perl mp6-perl5-boot.pl lib/MiniPerl6/Perl5/Match.pm > lib5-new/MiniPerl6/Perl5/Match.pm 20:20
Can't call method "emit" without a package or object reference at mp6-perl5-boot.pl line 33, <> line 298.
dduncan in the short term, I'm looking forward to when audreyt will get that solid 2 days desired to integrate the new metamodel into pugs
lambdabot dduncan: You have 1 new message. '/msg lambdabot @messages' to read it.
avar perl mp6-perl5-boot.pl lib/MiniPerl6/Perl5/Runtime.pm > lib5-new/MiniPerl6/Perl5/Runtime.pm
Can't call method "emit" without a package or object reference at mp6-perl5-boot.pl line 33, <> line 172.
fglock moritz: a forth, a pascal, a macro-assembler, some DSLs
[particle] fglock: did you build the pascal compiler the way the original was built--self-hosting? 20:21
fglock avar: Perl5/Match.pm is part of the perl5 runtime (it's perl5 code)
[particle]: in turbo pascal, yes
but not really self-hosting
avar fglock: Yes, but what does it all mean basil?
fglock: is that normal?
[particle] fglock: iirc the original was built with a subset of the language, much like mp6/kp6 20:22
20:22 edenc joined
moritz quite an impressive collection ;) 20:22
fglock avar: sorry?
20:24 iblechbot joined 20:25 OwlEye joined
fglock avar: see util/build-perl5.sh - Match.pm and Runtime.pm are simply copied to lib5-new/ 20:26
[particle]: re pascal - I was working on an air-conditioner controller project, and the only language available was 8096 assembler 20:28
moritz so you wrote your own compiler in order not to have to write it in assembler? 20:29
that kind of reminds me how larry came to writing perl ;) 20:30
fglock yes, it was more fun, and I had plenty of time until the hardware were ready, anyway
brb (switching to other building) & 20:31
20:38 fglock joined
fglock I tried to port the kp6-perl5 OO to perl6, but I got a problem with "P6opaque" 20:40
because I can't tell P6opaque.meth from $Obj.meth 20:42
the 'dispatch' slot in P6opaque is occupied by the Object's dispatch 20:43
:P
spinclad so as a proxy it's completely transparent, you can't get a hold on it? 20:45
fglock re p6 compilers - forgot "pil-run" 20:46
spinclad: yes
just like $var.STORE calls .STORE in the $var's value 20:47
spinclad i suppose this includes .HOW and such, so meta introspection won't see it either 20:48
fglock no, same problem 20:49
VAR() in kp6 works like this: 20:52
20:52 lumi joined
fglock $var.dispatch( $meth, $var ) # calls method on $var.FETCH 20:53
spinclad (thinking) problem could be conflating levels: implementation level != meta level, maybe?
fglock $var.dispatch_VAR( $meth, $var ) # calls method on $var itself
spinclad $obj.dispatch_CONTAINER(...) maybe, in a parallel thought? 20:54
araujo just received 'Types and Programmings Languages - B.C. Pierce' 20:55
fglock spinclad: yes, that was my first idea
araujo: I'd like to read that some day 20:56
araujo fglock, it looks good definitely 20:58
fglock spinclad: but this would require a language extension, rather than being a 'plain perl6' solution (the VAR macro already exists in the language) 21:04
21:07 Aankhen`` joined
fglock & 21:07
spinclad (thoughts:) 21:09
implement $var.dispatch(...) as $var.FETCH.dispatch 21:10
21:10 geoffb joined
spinclad implement $var.dispatch_VAR(...) as $var.dispatch 21:10
implement $obj.dispatch(...) as $obj.OPEN.dispatch(...) # follows link from P6opaque 21:11
implement $obj.[WHAT?](...) as $obj.dispatch(...) # like lstat, acts on the P6opaque itself 21:12
or is the problem that at source level you have no way to express the last form? 21:15
(/thoughts)
P6opaque is from perl5/Perl6-ObjectSpace, right? 21:23
[food and song] & 21:27
21:29 edenc joined 21:31 buubot joined 21:34 thepler joined 21:41 polettix joined 21:58 PerlJam joined
nothingmuch ingy: benewed on your freedom 22:05
i hope you get well soon
and post your bone fixer hack on www.instructables.com
22:05 nwc10 left 22:24 edenc joined 22:33 ozo_ joined 22:58 SubStack joined 23:15 fglock joined
fglock I've got the P6opaque problem fixed :) 23:16
I made an implementation in pugs, but feather doesn't let me upload 23:17
pasteling "fglock" at 200.203.83.212 pasted "P6opaque for pugs" (56 lines, 1.1K) at sial.org/pbot/24536 23:20
fglock it works like this:
- create a p6opaque using $P6opaque.new 23:21
- set the fields with $p.set( $data )
oops - $p.set( 'field', $data ) 23:22
- set the dispatcher field with $p.set( '_dispatcher', $dispatcher ) 23:23
- done - $p now responds to whatever your MOP implements
s/fields/slots/ 23:25
23:26 Psyche^ joined 23:27 fglock left 23:30 gnuvince_ joined, kunwon1 joined 23:38 Psyche^ is now known as Patterner