pugscode.org | Beware of `make install` and Pugs, it will do bad things to your system
Set by Aankhen`` on 22 May 2007.
ingy seen audreyt 00:13
00:15 integral joined
thoughtpolice ?seen audreyt 00:15
lambdabot audreyt is in #haskell and #perl6. I last heard audreyt speak 3h 58m 41s ago.
thoughtpolice :)
ingy :) 00:23
00:23 weinigLap joined 00:36 weinigLap joined 00:45 nipotaway is now known as nipotan 01:02 SubStack joined 01:16 weinigLap joined 01:21 idiotmax joined 01:34 Eidolos joined 01:44 cmarcelo joined 01:57 BooK joined 02:00 nipotan is now known as nipotaway 02:01 Frances joined 02:13 tenen is now known as Tene 02:19 iblechbot joined 02:41 luqui joined 02:43 mako132_ joined 03:01 REPLeffect joined 03:28 justatheory joined
cj ingy! 03:29
I was just thinking about you, as seen on #perl
03:29 deq` joined 03:36 penk joined
ingy hi cj 03:41
03:51 kanru joined 03:53 f0rth joined
audreyt time dd if=1024mb.bin of=/dev/null 04:00
oops, ww :)
04:28 amnesiac joined 04:31 weinigLap joined, deq`_ joined 04:33 weinigLap joined 04:44 dolmans joined 04:57 mjk joined 04:58 devogon joined 05:07 BooK_ joined 05:08 buetow joined 05:12 jjore joined 05:21 jisom joined 05:51 jisom_ joined 06:09 buetow joined 06:17 trunix joined 06:25 Averell joined 06:37 nipotaway is now known as nipotan 07:02 zzzz joined
zzzz ?eval constant $N = 10; $N =5 07:16
evalbot_r16507 Error: Can't modify constant item: VInt 10 07:17
Aankhen`` Is the default level for regexes graphemes or characters?
07:32 bsb left 07:33 franck__ joined
dduncan afaik, the default abstraction level for everything is the highest possible, which is generically called characters 07:37
and that often equals graphemes in practice
Aankhen`` Okay. I'm trying to figure out whether this line from porting_howto is correct: \X -> <.> # single grapheme 07:40
08:16 buetow joined 08:34 laye joined 08:44 weinigLap_ joined 08:48 rindolf joined 09:01 weinigLap joined 09:03 rfordinal joined 09:08 renormalist joined
renormalist ping moritz 09:13
moritz pong ;)
renormalist kannst du nebenan im talk gucken? 09:14
moritz wo?
query?
renormalist ja, ich weiss nicht, wie das roh geht, ich hab hier ne KDE gui :-) 09:15
siehst du meinen (query?) text? 09:16
moritz ja 09:17
don't you see mine?
renormalist erm, no 09:18
moritz damned, I'm not registered at freenode
renormalist :-)
moritz so I can't query you :(
so, the answer is "yes"
i can read through it right now
are you on irc.perl.org as well?
renormalist yes
eg in catalyst
rindolf Hi moritz, renormalist 09:24
moritz hi rindolf ;)
renormalist hi rindolf 09:34
rindolf moritz: what's up? 09:35
09:37 dduncan left 09:44 kanru joined
moritz could anybody with a feather account please start run.pugscode.org 09:44
09:45 rfordinal_ joined 09:47 chris2 joined 09:57 chris2 joined, rfordinal_ joined, kanru joined, renormalist joined, rfordinal joined, weinigLap joined, rindolf joined, laye joined, franck__ joined, Averell joined, trunix joined, BooK_ joined, dolmans joined, f0rth joined, penk joined, Frances joined, Eidolos joined, idiotmax joined, integral joined, fridim joined, Aankhen`` joined, xinming_ joined, SamB joined, IllvilJa joined, ruz joined, zamolxes joined, baest joined, obvio171 joined, awwaiid joined, toshinori joined, prly__ joined, japhb joined, rafl joined, Arathorn joined, Patterner joined, yves_ joined, audreyt joined, [particle] joined, stevan__ joined, bloonix joined, args joined, lampus joined, offby1 joined, kane_ joined, beppu joined, kunwon1 joined, avar joined, drbean joined, miyagawa joined, aukjan|gone joined, JarJarBinks|meta joined, cognominal joined, irc joined, rlb3_work_ joined, clkao joined, tewk joined, lidden joined, perlbot joined, evalbot_r16507 joined, specbot6 joined, svnbot6 joined, devbot6 joined, TreyHarr1s joined, Yaakov joined, Daveman joined, shmem joined, Maddingue joined, ofer joined, blaze-x_ joined, masak joined, nekokak joined, Jmax joined, mr_ank joined, jql joined, buu joined, QtPlatypus joined, kolibrie joined, takesako___ joined, arguile joined, gaal joined, cernd joined, haelix joined, cls_bsd joined, Caelum joined, xern joined, Yappo joined, araujo joined, theorbtwo joined, nothingmuch joined, semifor joined, CindyLinz joined, zgh joined, Tene joined, mtve joined, Gothmog_ joined, orafu joined, nelhage joined, Lunchy joined, shachaf joined, pasteling joined, allbery_b joined, buubot joined, jvoorhis1 joined, charsba__ joined, Southen_ joined, Khisanth joined, silug joined, stef_ joined, irclogbot joined, lumi joined, kcwu joined, jrockway joined, TimToady joined, hatsuseno joined, spinclad joined, pjcj_ joined, wilx joined, ingy joined, statico joined, mj41 joined, guinex joined, lambdabot joined, nipotan joined, jjore-w joined, meppl joined, trippeh joined, nnunley joined, scw joined, tokuhirom_ joined, Grrrr joined, cj joined, qmole joined
svnbot6 r16508 | moritz++ | t/operators/precedence/self-defined.t: added prefix <-> postfix tests, 10:06
r16508 | moritz++ | corrected ok() to is(), moritz--
10:25 drupek12 joined 10:31 weinigLap joined 10:40 pontus|jobb joined, rfordinal_ joined
Juerd moritz: Do you use runpugs often? 10:48
moritz: If so, you're probably much better off using feather directly 10:49
moritz Juerd: no, I don't ... I just noticed that is was down 10:50
I have pugs locally, so I don't really have a reason to use it
Juerd Okay
andara maintains runpugs and should start it 10:51
(Should have made it start at bootup)
I don't know if any manual environment setting up is needed
11:07 kanru joined, rfordinal_ is now known as rfordinal 11:22 rho joined 11:23 prism joined 11:35 lumi joined 11:44 Alias_ joined, fglock joined 11:48 mako132_ joined 12:09 Limbic_Region joined 12:22 buetow joined 12:34 HiTech69 joined 13:27 aukjan|gone is now known as aukjan, irclogbot joined 13:28 moritz joined
moritz re 13:28
13:32 vel joined
fglock re lexical scope: methods and structure members cannot be lexically redefined, right? 13:37
like: my @a[10]
like: my X::meth {...} 13:38
13:38 chris2 joined 13:39 aukjan is now known as aukjan|gone, aukjan|gone is now known as aukjan_ 13:44 jerrylee joined 13:54 aukjan_ is now known as aukjan 14:02 aukjan is now known as aukjan|gone 14:08 franck__ joined 14:16 rissy joined 14:22 nipotan is now known as nipotaway 14:23 iblechbot joined 14:24 REPLeffect joined, buetow joined 14:45 REPLeffe1t joined 15:00 REPLeffect joined 15:13 rhandom joined 15:16 _bernhard joined 15:21 stef_ joined 15:25 fglock joined
fglock oops - I meant like: my method X::meth {...} 15:28
TimToady you can't use "my" on anything that is package qualified 15:35
and my @x[10] is declaring an array of 10 elements, not the 11th element of @x 15:36
15:37 drupek12 joined
fglock TimToady: thanks - I was afraid I had to "fix" the implementation :) 15:40
15:41 weinigLap joined
fglock I was supposed to be writing a talk on neuromuscular disease, but I find myself reading CS papers instead 15:49
TimToady "creating procrastination" 15:51
*creative rahter 15:52
*rather
TimToady shouldn't type standing up
[particle] "creating procrastination" -- sounds like a book title 15:53
15:54 rindolf joined
args "in ten days" 15:54
fglock I think I'm most creative when I'm working on things I was not supposed to
Limbic_Region salutations all 16:01
moritz hi Limbic_Region ;)
Limbic_Region is most creative when he is slightly off his rocker 16:02
rindolf Hi all. 16:03
Hi Limbic_Region, moritz , fglock
Limbic_Region: what's up?
Limbic_Region unfortunately, being slightly off my rocker means being more than a little unstable which is a non-option for me (have family to think about) 16:04
fglock Limbic_Region: yes, maybe the problem is with "too serious" work
Limbic_Region not much rindolf - work ATM, you?
rindolf Limbic_Region: oh I forgot it's not Saturday.
Limbic_Region: chillin'.
Limbic_Region: I've updated my FAQ.
I have another update.
And did a backup.
Limbic_Region the FAQ regarding copyrighted digital media or something else? 16:05
moritz I just tried to use ~~ in bleadperl
Feature "~~" is not supported by Perl 5.9.5 16:06
it says when I 'use feature qw(~~)'
args certainly, it's on by default.
we judged it wasn't a syntax hazard enough to warrant mandating "use feature"
and you can't turn it off actually. (like //) 16:07
"use feature" is now only required for new keywords. which may clash (and do) with existing function names.
also, "use 5.10" will do an implicit "use feature ':5.10'"
moritz args: thanks
16:11 SubStack joined
rindolf Limbic_Region: no, www.shlomifish.org/meta/FAQ/ 16:12
lambdabot Title: Shlomi Fish' Frequently Asked Questions (FAQ) List
rindolf Limbic_Region: it's my personal FAQ.
args do you get frequent questions about yourself ? 16:13
nobody asks me anything :-( 16:14
moritz args: ? 16:15
args: now somebody asked you anything ;)
16:19 polettix joined
rindolf args: a/s/l? 16:20
;-)
16:21 amnesiac joined
args I'm a married man 16:21
Limbic_Region . o O ( on planet earth ) 16:22
jjore-w can never remember whether it is "use features ':5.10'" or "use feature ':5.10'". :-/ 16:26
args just "use 5.10"
Jmax heh, i think he just meant the feature/features part 16:28
moritz Jmax: so he can be lazy and omit it ;)
[particle] use feature :creep; 16:29
that's on by default in all my $work projects :/
16:30 stef_ joined
japhb [particle]: heck, that's on by default in half of my personal projects! 16:33
16:36 franck__ joined
TimToady hmm :5.10 is a bit problematic from a p6 point of view 16:41
[particle] language interop at its finest :) 16:43
16:47 ozo_ joined 16:55 gaal joined
amnesiac TimToady: why? 16:56
16:58 elmex joined 17:02 rlb3_work joined 17:04 Psyche^ joined 17:05 obvio171 is now known as obvio171_ 17:06 obvio171_ is now known as obvio171 17:09 gaal joined 17:21 Psyche^ is now known as Patterner 17:25 riffraff joined
riffraff hi everyone 17:25
offby1 glances around nervously.
17:26 buetow joined 17:49 [particle] left 17:55 mncharity joined
spinclad TimToady: r14399's "group of" is a clear improvement, but could i suggest "collection" rather than "group" for us math people (though "group" is fine on a general english level)? 18:01
rindolf Hi riffraff
spinclad ((answer: too late, i've already gone and suggested it)) 18:02
18:03 Southen joined 18:04 tokuhirom_ is now known as toku_away
cj anybody know if ingy's back in Seattle? 18:22
18:25 prism joined 18:33 larsen_ joined 18:35 rashakil joined 18:37 rhandom joined
offby1 I'll go look for him. 18:37
offby1 pretends to go look
18:39 jisom joined, prly joined
obra cj: yes 18:40
18:51 prly_ joined
cj obra: well then... I should invite him to lunch. you have his number? 18:53
18:54 gaal joined
obra I don't 18:55
cj d'oh. his socialtext vm says he's "not available" 18:56
they call him 'i-n-g-y d-o-t- n-e-t'. ha.
obra cj: his PASSPORT calls him ingy-dot-net 18:57
cj it should be ƶ of course
obra: you're kidding
that's pretty crazy 18:58
his kwiki.org whois data says he lives in Oregon 19:00
but it sounds like him on the vm that answers the phone number there...
19:05 stef_ joined 19:07 japhb joined 19:10 dduncan joined
svnbot6 r16509 | tumulus++ | Fill in some missing "how to make this non-ASCII operator in vi" entries 19:14
19:14 SubStack joined 19:15 ruoso joined 19:22 gaal joined 19:29 jisom_ joined 19:34 the_dormant joined 19:41 nimurodu joined
dduncan TimToady, I think that synopsis r14401 is a vast improvement, so congrats there 19:43
19:44 devbot6` joined, devbot6` is now known as devbot6
wolverian I'm having trouble with feather 19:48
no route to host now and then
19:49 tumulus joined
tumulus hello - just want to check some Perl 6 before I commit a test for a bug 19:50
my $l = 5; say "$l {$l} {my $l=123} $l";
outputs "5 5 123 5" as I'd expect
is there any reason that 19:51
my $l = 5; say "$l {$l} {my $l=123} {$l}";
shouldn't do exactly the same?
(difference is $l vs {$l} at the end)
moritz I don't know... do multiple {} interpolations compose the same closure? 19:52
TimToady certainly not 19:53
rindolf Hi wolverian, TimToady
We're discussing COBOL on #perlcafe
amnesiac isn't pugs backend written in cobol?
tumulus so the test should expect the same output in both cases?
TimToady yes
tumulus super - thanks :-) 19:54
moritz amnesiac: certainly not ;)
amnesiac ;)
dduncan TimToady, the last synopsis improvement was big ... I also liked the new names for the roles that the sigils represent ... better than having roles like the type names but not like the types 19:55
TimToady thought about those a long time...
dduncan not surprised 19:56
TimToady kinda hard to describe Essence of Sigil :) 19:57
rhandom I had often wondered at the usefulness of the % and @ sigils (similar to thoughts in recent threads) - but the new synopsis really helps lay out the beauty of the sigils. 20:06
It is a sort of nirvana
well maybe not nirvana - but I really like the roles. 20:07
it sort of opens the doors for all sorts of wonderful magic
PerlJam checks his email to see if he missed an important update to S02 20:08
cool 20:09
TimToady++
moritz yes, it clears up some things 20:10
svnbot6 r16510 | tumulus++ | add some extra tests for string interpolation with closures,
r16510 | tumulus++ | particularly the currently breaking:
r16510 | tumulus++ | my $l=1; say "{my $l=2} {$l}";
PerlJam Though "set with additional behaviors" is an unsatisfying description ofa Junction. (But I don't have anything better either) 20:11
moritz: yeah, just the paragraph on scalars should be enough for those people who are trying to get rid of the other sigils. 20:12
moritz long live the sigil++! 20:13
@karma sigil
lambdabot sigil has a karma of 0
20:13 Aankhen`` joined 20:19 weinigLap_ joined 20:20 xinming joined 20:24 justatheory joined 20:26 myavuzselim joined
tumulus ?eval my $x=1; { my $x=2;}; say $x; 20:27
20:27 evalbot_r16507 is now known as evalbot_r16510
evalbot_r16510 OUTPUT[1ā¤] Bool::True 20:27
tumulus ?eval my $l = 5; say "{my $l=123} {$l}"; 20:28
evalbot_r16510 OUTPUT[123 5ā¤] Bool::True 20:29
tumulus discovers that it's his own local build that is broken
moritz tumulus: I hope that you write the test cases anyway ;) 20:33
Aankhen`` Couple of questions.
tumulus indeed - already committed :-)
Aankhen`` 1. regex foo { { #{{ CLOSURE 1 }} } ... { #{{ CLOSURE 2 }} } } # is there a way to declare a variable within CLOSURE 1 that's scoped to the regex, so that it can be viewed from CLOSURE 2?
TimToady $<foo> 20:34
Aankhen`` 2. Is the spelling of the implicitly parallelized loop `hyperfor` or `hyper for`? If it's the later, may I ask how it reaches into the innards of the `for`? :-S
TimToady automatically scoped to the current $/
Aankhen`` But that sticks it onto the result object, which means it's visible beyond the regex, doesn't it?
Oh.
Hmm.
Right.
Thanks. ^_^ 20:35
TimToady it's hyper for
yes, you may ask
:)
Aankhen`` Consider it asked!
moritz ;)
TimToady same way eager vs lazy propagates context inward 20:36
Aankhen`` Ahh.
TimToady hyper is just an eager variant
Aankhen`` Okay.
I started thinking about that last night before I went to sleep and it was driving me crazy. :-P
moritz I don't like the "hyper" key word, because it tells the compiler what to do... I'd better like "pure", because it describes your own code 20:40
but they are not always identical, so it wouldn't be a good idea to use that either 20:41
TimToady we could change lazy, eager, and hyper to slow, medium, and fast. :) 20:42
Aankhen`` LOL. 20:43
TimToady or maybe lazy, impatient, and hubristic
in the sense of "I deserve all these CPUs running at once..."
moritz lol
Aankhen`` warpspeed for @foo -> $a { say "You only THINK there's just one parameter here." }
wolverian it's more like "do more work" than "be faster"
TimToady actually, one could argue that the faster variants do less work 20:44
eager doesn't have to keep track of the iterators and continuations 20:45
moritz with multiple CPUs faster != less work
TimToady and hyper doesn't have to keep the processes in sequence
wolverian it depends on how much of the result you use
TimToady eager and hyper both promise that you really want it all, more or less
wolverian but it's not explicit in the name 20:46
TimToady eager says "burn memory" and hyper says "burn CPUs"
wolverian (not saying it should be, just pointing out they're different to lazy in that sense) 20:47
moritz and eval says "burn code" ;)
wolverian TimToady, I like that definition. .)
s/\.)/:)/
TimToady if we renamed "hyper" we'd also have to rename hyperoperators
moritz I'm not really suggesting to rename "hyper", I was just pondering idly ;) 20:48
TimToady we could name them neurotypical, autistic, and ADHDish :) 20:50
20:54 isaacd joined
moritz or maybe the names of some perl developers 20:55
larry, randal, damian
perhaps in a different order ;) 20:56
rindolf moritz: I want to be an operator in Perl! 21:01
moritz rindolf: since you can define operators for yourself, that's no problem
sub prefix:<rindolf> { say "foo" }; my $a = rindolf"42" 21:02
or something ;)
Aankhen`` multi *postfix:<rindolf> (Str $operand) { $operand ~= " rindolf'd"; }
Well, `Str $operand is rw`.
rindolf Aankhen``: what does ~= do?
Aankhen``: wasn't it supposed to be ~~? 21:03
Aankhen`` ~ is the string concatenation operator.
rindolf Aankhen``: oh, OK.
Aankhen`` So that function appends " rindolf'd" to the string.
rindolf Aankhen``: OK.
Aankhen`` Hmm.
multi *postfix:<rindolf> (Str $operand) { "<rindolf>$operand</rindolf>" }
?eval multi *postfix:<rindolf> (Str $operand) { "<rindolf>$operand</rindolf>" }; "abcd" rindolf 21:04
evalbot_r16510 Error: Odd number of elements found where hash expected: VStr "abcd"
Aankhen`` :-( 21:05
moritz Aankhen``: I think posfix ops can't have a whitespace in front of them 21:06
?eval multi *postfix:<rindolf> (Str $operand) { "<rindolf>$operand</rindolf>" }; "abcd"rindolf
evalbot_r16510 Error: Odd number of elements found where hash expected: VStr "abcd" 21:07
21:13 larsen__ joined 21:17 miyagawa joined 21:34 meppl joined
Tene I don't see any tests in t/ for defining circumfix operators. Is that accurate, or do I not know what I'm looking for? 21:37
moritz in unspecced/sub_application.t there are a few method postcircumfix:<( )> 21:39
Tene Yes, but that's postcircumfix, not circumfix.
moritz oh, sorry
operators/operator_overloading.t: two circumfix macros 21:40
but there's need for more 21:41
should circumfix:<[[ ]]> or some such work? 21:42
Tene That's what I'm seeing in the spec. 21:43
21:49 IllvilJa joined 21:54 polettix joined 21:56 nevetS joined
meppl good night 21:56
moritz Tene: are you writing a test? 21:57
Tene moritz: I wanted to check if there was a reason that it wasn't already tested where other operator definitions are tested.
moritz can't think of any 21:58
rhandom i know this isn't on topic - how do you call a builtin from XS 22:00
offby1 very carefully 22:01
rhandom :)
22:06 thoughtpolice joined 22:08 REPLeffect joined 22:13 nevetS left 22:14 weinigLap joined, nipotaway is now known as nipotan
PerlJam rhandom: Perl 6 doesn't have XS 22:26
rhandom i know - hence the not on topic 22:27
moritz PerlJam: not yet ;)
rhandom there are just many bright perl 5 people here to
offby1 presumably, integration with C will be lovely in p6
rhandom I think NCI will be great
offby1 Lawd knows it's skeery in p5
PerlJam moritz: not ever! 22:28
Aankhen`` NCI?
rhandom In parrot - not sure how it ties in at Perl 6 yet. Native Call Interface (i think)
moritz PerlJam: actually I never used it ;) (happy /me I guess)
Aankhen`` Ah.
PerlJam rhandom: The plan is for Perl to have some form of NCI-like thingy, but it is yet unspecced. 22:29
22:47 rindolf joined 22:54 weinigLap_ joined 23:08 weinigLap joined 23:22 weinigLap joined 23:40 perlbot joined 23:41 weinigLap joined 23:51 SubStack joined 23:58 japhb joined