pugscode.org/ | sial.org/pbot/perl6 Set by agentzh on 7 June 2007. |
|||
00:06
cognominal_ joined
00:20
weinigLap joined
00:24
crem joined
00:49
crem_ joined
00:59
c9s joined
01:02
thoughtpolice joined
01:11
Kattana joined
01:18
Aankhen`` joined
01:19
lambdabot joined,
sunnavy joined
01:25
japhb joined
01:32
ayrnieu joined
01:40
oeoeoeo joined
|
|||
oeoeoeo | www.gov-civil-leiria.pt/index.php?p.../cmd.txt?? | 01:40 | |
lambdabot | Title: Governo Civil de Leiria, tinyurl.com/2fdcjl | ||
01:50
unobe_away is now known as unobe
02:36
prism joined
02:57
unobe is now known as unobe_away
|
|||
dduncan | it appears that nntp.perl.org has been down for the last few hours | 02:57 | |
for that matter, search.cpan.org is also down | 02:58 | ||
[particle] | see log.perl.org | 02:59 | |
03:00
bonesss joined
03:03
kanru joined
|
|||
dduncan | looking ... | 03:05 | |
okay ... | 03:06 | ||
and I didn't know that server exists ... count it as learning something new | |||
03:11
justatheory joined
03:13
justatheory_ joined
03:19
kanru joined
03:26
daxim_ joined
03:43
unobe_away is now known as unobe
03:44
unobe is now known as unobe_away
|
|||
prism | I wonder | 04:24 | |
actually I dont | 04:25 | ||
prism wanders off | |||
allbery_b | you wonder as you wander? | 04:27 | |
04:34
devogon joined
04:37
dean_ero joined
04:43
dean_ero left
05:05
BooK_ joined
05:06
bonesss joined
06:07
gummybearx joined
|
|||
gummybearx | hi, i have a question: | 06:08 | |
is the new method invocation operator going to replace '->' or merely supplement it? | |||
revdiablo | Replace | 06:09 | |
gummybearx | argh. ok, thanks | ||
revdiablo | Why argh? | ||
gummybearx | i kinda liked '->' tho. it was an eccentricity.... | ||
made perl unique. | 06:10 | ||
Caelum likes -> too | |||
but . is more standard and all that | |||
gummybearx | yeah, but we dont want to be like java, do we? | ||
revdiablo | I always thought Perl used -> to look similar to C structs, or maybe that was just a coincidence | 06:11 | |
Though . is easier to type and fewer characters, so I don't really mind the change | 06:12 | ||
gummybearx | well, i dk about c, but at first i thought '->' was crazy talk, coming from java | ||
dduncan | -> never made Perl unique, it copied C | ||
and now . copies other things | |||
revdiablo | gummybearx: It would take a lot more than syntax to make perl "be like" java in any significant way =) | ||
dduncan | practically speaking, the . is much better huffmanizing than -> | ||
gummybearx | weell, yes | ||
dduncan | you invoke methods a lot, and . doesn't require using the shift key like -> does | 06:13 | |
gummybearx | thats true. strains my frail wrists | ||
revdiablo | It's one keypress vs three | ||
gummybearx | its prolly just change.... hard to get used to | 06:14 | |
if . is more common, then why has the foreach loop moved away from for my $x (@a) {}? | 06:15 | ||
revdiablo | What? | 06:16 | |
dduncan | because for @foo -> $elem {} is much nicer | ||
06:16
Entonian joined
|
|||
dduncan | way to do foreach | 06:17 | |
gummybearx | well.... it isnt as intuitive as saying foreach thing in bucket | ||
revdiablo | dduncan++ # Deciphering | ||
dduncan | besides, where is . used for foreaches? | ||
gummybearx | seperate thought | ||
dduncan | even in Perl 5, the recommended spelling of 'foreach' is 'for' | ||
gummybearx | it isnt, two seperate thoughts | ||
dduncan | so in Perl 5, one should say "for my $elem (@list) {}" | 06:18 | |
revdiablo | gummybearx: I can't imagine many people successfully rely on intuition to learn a programming language | ||
gummybearx | i meant as a human would interpret the loop, in english | ||
dduncan | for humans, the order works either way ... | ||
its "for each elem in list" vs "for each list elem" | 06:19 | ||
those being the perl 5 and 6 directions respectively | |||
gummybearx | i suppose. like i said. teething. | ||
dduncan | personally, I like nearly or entirely everything that perl 6 changed from perl 5, and perl 5 is otherwise my favorite programming language | ||
revdiablo | gummybearx: You don't think the visual of the arrow pointing into the variable is intuitive? | 06:20 | |
dduncan: Yeah, it is a pleasure to write Perl 6 code | |||
It feels just like I would imagine Perl done better | |||
dduncan | uh-hu | ||
gummybearx | revdiablo, i like the arrow, it makes you think $thing is "emerging" from list | 06:21 | |
but also reminiscent of a method invocation, just at a glance.... at least an old 5 invocation | 06:22 | ||
revdiablo | You can't invoke a method on an array in perl 5 ;) | ||
gummybearx | yea, i know, but if you were glancing over pages of code, it would be a "huh?" moment | 06:23 | |
but i digress | |||
revdiablo | I don't think that reaction would last very long after learning Perl 6 | ||
gummybearx | haha, yes | ||
Caelum | revdiablo: you can sorta with Autobox | 06:24 | |
revdiablo | Caelum: Quiet you! | ||
Caelum | hehe | ||
gummybearx | i agree with dduncan tho, perl has quickly become my favorite language | 06:25 | |
06:25
Averell joined
|
|||
gummybearx | what is the date of release perl 6? | 06:29 | |
s/date/ballpark date/ | 06:30 | ||
revdiablo | I think the official answer is "Eventually" | 06:31 | |
Or, as they like to say, "by Christmas" | |||
06:31
c9s_ joined
|
|||
gummybearx | just in time for the holiday buying season! | 06:33 | |
cya all | 06:41 | ||
07:20
jisom joined
07:30
weinigLap joined
07:37
pjcj joined
07:40
deq` joined
07:55
weinigLap joined
|
|||
gaal | @tell Limbic_Region hmmm, what revision do you mean by "pad refactor"? r15828 was committed and immediately reverted in r15829. Could you please try again with HEAD and a clean build? | 07:57 | |
lambdabot | Consider it noted. | ||
meppl | good morning | ||
gaal | @tell Limbic_Region If that doesn't work, tracking back would be useful. | 07:58 | |
lambdabot | Consider it noted. | ||
08:00
jisom_ joined
08:13
dduncan left
08:15
amadeus joined
08:48
buetow joined
08:50
unobe_away is now known as unobe
08:52
jedai joined
08:53
sparvu joined
|
|||
sparvu | morning | 08:53 | |
unobe | evening :-) | 08:54 | |
moritz | mornin! | ||
unobe | well, yeah, technically for me too, just really early morning | 08:55 | |
sparvu | Im working to get pugs on Solaris 10,11 ready. Looks a problem with ld(1) linker found in Solaris 11. | ||
Solaris 10 should be fine. Im testing these things now | |||
moritz | sparvu++ # portability | 08:56 | |
sparvu | :) | ||
09:25
unobe is now known as unobe_away
09:28
chris2 joined
09:32
rindolf joined
10:07
franck__ joined
10:15
drbean joined
10:19
chaoslawful_ joined
10:22
jisom joined
10:30
franck__ joined
10:33
drupek12 joined
11:21
devogon_ joined
11:22
falseep joined
11:28
fridim joined
11:42
fmerges joined
|
|||
fmerges | hi | 11:42 | |
11:45
the_dormant joined
11:48
devogon joined
12:11
sebastian joined
|
|||
moritz | hi | 12:18 | |
12:25
riffraff joined
12:27
riffraff joined
|
|||
riffraff | hi everyone | 12:27 | |
thoughtpolice | hey | 12:28 | |
moritz | thoughtpolice: I wrote an email to the perl webmaster(s) suggesting to add your blog to the planetsix.perl.org feed | 12:30 | |
no response 'til now | 12:31 | ||
12:31
|Jedai| joined
|
|||
thoughtpolice | moritz: thanks :) | 12:32 | |
moritz | thoughtpolice: no problem... it would allow me to shorten my RSS list ;) | 12:33 | |
thoughtpolice | nice :) | ||
12:40
cognominal joined
12:50
cognominal joined
|
|||
lumi | gaal: What's your borkage? Need more eyes? | 13:14 | |
13:16
Limbic_Region joined
|
|||
gaal | lumi: the problem is that something probably still in ruleExp is committing to <-, so throws an unexpected ">". | 13:20 | |
Limbic_Region: you never get @tells, apparently | |||
lumi: patch coming up, sec | 13:21 | ||
lumi | gaal: I have to go now actually, I have this thing in Tel Aviv | ||
gaal | heh ok | ||
no rush | |||
on either moose | |||
unless you're premeeting with S or something | 13:22 | ||
lumi | Any particular S? I'm not | ||
13:22
devogon_ joined
13:24
rindolf joined
|
|||
pasteling | "gaal" at 192.115.25.249 pasted "rw iterator patch wip" (128 lines, 5.6K) at sial.org/pbot/25445 | 13:28 | |
13:28
andara joined
|
|||
gaal | so with the patch (which is ugly; still thinking of ways to avoid EEK there) <-> gives an "Unexpected '>'" parsefail | 13:29 | |
but I gotta go. moose & | |||
Limbic_Region | no tells? | 13:30 | |
lambdabot | Limbic_Region: You have 2 new messages. '/msg lambdabot @messages' to read them. | ||
Limbic_Region | @messages | ||
lambdabot | gaal said 5h 33m 10s ago: hmmm, what revision do you mean by "pad refactor"? r15828 was committed and immediately reverted in r15829. Could you please try again with HEAD and a clean build? | ||
gaal said 5h 32m 2s ago: If that doesn't work, tracking back would be useful. | |||
Limbic_Region | @tell gaal I have been too busy with work to pay much attention to #perl6 It isn't that important ATM | ||
lambdabot | Consider it noted. | ||
Limbic_Region | @tell gaal but thanks | ||
lambdabot | Consider it noted. | ||
13:34
the_dormant_ joined
13:38
devogon joined
13:53
xinming joined
13:56
sebastian joined
13:59
laye joined
14:00
chris2 joined
14:12
jedai joined
14:14
devogon_ joined
14:16
drupek12 joined
14:36
ashleyb joined
|
|||
ashleyb | @tell fglock: P::C::R doesn't play nice for me when using 'perl -d:Trace' I often get "Attempt to free unreferenced scalar: SV 0x96af260, Perl interpreter: 0x814e008 at /usr/local/share/perl/5.8.4/Pugs/Runtime/Regex.pm line 88." type errors. | 14:44 | |
lambdabot | Consider it noted. | ||
ashleyb | @tell fglock however that error will not show up if not in the debugger -- a hiesenbug | 14:45 | |
lambdabot | Consider it noted. | ||
14:46
chaoslawful_ joined
|
|||
moritz | perl 5.8.4... that's a bit old, isn't it? | 14:46 | |
2004-Apr-21 says perlhist - even debian has a never one ;) | 14:47 | ||
ashleyb | it's debian current | ||
moritz | apt-cache policy perl | 14:48 | |
*** 5.8.8-7 0 | |||
500 ftp://ftp2.de.debian.org etch/main Packages | |||
and etch == stable atm | |||
ashleyb | hmmm | 14:49 | |
interesting | |||
moritz | maybe an old version of a self installed module? | 14:50 | |
ashleyb | my PCR got installed under those dirs but the debian is using 5.8.8 | ||
moritz | weird | ||
how are installing? via cpan? | |||
ashleyb | cause I installed PCR via cpan before the last debian update | ||
moritz | I use dh-make-perl most of the time, works like a charm | ||
14:59
justatheory joined
15:06
ashleyb left
15:11
thoughtpolice joined
|
|||
c9s_ tes test | 15:17 | ||
15:21
silug joined
15:37
c9s_ is now known as test123,
test123 is now known as XDDDD,
XDDDD is now known as Cornelius
15:52
sparvu joined
15:57
Cornelius is now known as c9s__
15:58
c9s__ is now known as c9s_,
drupek12 joined,
c9s_ is now known as _c9s_
15:59
amnesiac joined
16:03
ofer joined
16:05
chaoslawful_ joined
16:10
rindolf joined
16:17
_c9s_ is now known as c9s__
|
|||
sparvu | hey | 16:26 | |
moritz | hi sparvu ;) | ||
sparvu | I identified the problem with pugs and Solaris. Basically Im building now pugs on Solaris 10 | 16:27 | |
But on Solaris 11(aka Nevada, the next version of Solaris) the linker has been changed | |||
so the new ld(1) has introduced some extra checks which led to the mentioned errors | |||
moritz | any workaround? | ||
sparvu | Basically: if somebody will want to have pugs on Solaris, they must be on S10, not on Nevada | 16:28 | |
At the moment I have escalated this with Sun's linker group | |||
they are looking into. Plus the ghc maintainer of Solaris 10 package | |||
moritz | cool, sparvu++ | ||
sparvu | People are very commited to make things work :) | ||
moritz | "things" seems to a good make target ;) | 16:29 | |
sparvu | yeah, the process of getting pugs running on Solaris is not very dirty but require some step. I will document soon on my site and post instructions | 16:30 | |
I will first test couple of days and see if I can get as well this to work on S11 | |||
I will keep you informed | |||
thanks all for help | |||
moritz | it would be greate if you could contribute a section to the INSTALL file | 16:31 | |
sparvu | will do that later. I need to rerun the procedure several times - make sure everything is ok | 16:38 | |
moritz | ok | ||
16:40
chaoslawful_ joined
16:42
ruz_ joined
|
|||
moritz | pugs currently has a builtin regex <number> that matches one digit | 16:51 | |
?eval "123" ~~ m/<number>/ | |||
16:51
evalbot_r16647 is now known as evalbot_r16650
|
|||
evalbot_r16650 | *** Cannot parse regex: <number>ā¤*** Error: ā¤Match.new(ā¤ ok => Bool::False, ā¤ from => 0, ā¤ to => 0, ā¤ str => "", ā¤ sub_pos => (), ā¤ sub_named => {}ā¤) | 16:51 | |
moritz | oh no, my fault | ||
it matches the whole string on my maschine | 16:52 | ||
evalbot-- # problem with character classes | |||
but I'd expect <number> to match any (real) number, not just \d+ | 16:55 | ||
17:08
Psyche^ joined
17:09
chaoslawful_ joined,
Psyche^ is now known as Patterner
17:10
thoughtpolice joined
17:13
kunwon1 joined
17:24
prism joined
17:33
zamolxes joined
17:34
larsen_ joined
17:35
[particle1 joined
17:40
weinigLap joined
|
|||
obra | Hey pugs hackers | 17:41 | |
qmole | hey jesse | 17:43 | |
17:43
drupek12 joined
17:49
cognominal joined
17:55
drupek12 joined
|
|||
gaal | rehi | 18:06 | |
lambdabot | gaal: You have 2 new messages. '/msg lambdabot @messages' to read them. | ||
gaal | L~R: ack. | 18:07 | |
18:19
iblechbot joined
18:22
isaacd joined
18:36
ron___ joined
18:40
b_jonas joined
|
|||
nothingmuch | moosemoose | 18:46 | |
moritz | ?eval "moose" x 3 | 18:48 | |
evalbot_r16650 | "moosemoosemoose" | ||
18:59
myavuzselim joined
19:08
isaacd_ joined
19:16
gummybearx joined
19:33
ruoso joined
19:36
dwave joined
19:38
vel joined
19:43
dduncan joined
19:46
trapecista joined
|
|||
trapecista | s4.gladiatus.es/game/c.php?uid=23203 | 19:46 | |
lambdabot | Title: Gladiatus Server 4 - | ||
19:46
trapecista left
19:53
the_dormant joined
19:54
unobe_away is now known as unobe
20:13
unobe is now known as unobe_away
|
|||
rindolf | Hi all. | 20:23 | |
moritz | hi rindolf | ||
rindolf | Quick question - if ($$l !~ m{\G([^\<\[\]\&]*)}gms) - why does it sometimes fail to match. | ||
moritz: hi. | |||
moritz | are you talking p5? | 20:24 | |
rindolf | moritz: yes, Perl 5. | 20:25 | |
moritz | hm, seems like a bug to me | ||
anything* should always match | |||
20:28
justatheory joined
|
|||
Tene | rindolf: can you provide an example of a non-matching string? | 20:30 | |
rindolf | Tene: wait a sec. | 20:34 | |
moritz | '[' doesn't match | 20:35 | |
sorry, does match... I missed the !~ | |||
rindolf | perl -e 'my $s = "[<hello>]" ; my $l = \$s; $$l =~ m{^\[}g; if (! $$l =~ m{\G([^\<]*)}) { die "Foo"; }' | 20:36 | |
I mean I cannot reproduce it with perl -e 'my $s = "[<hello>]" ; my $l = \$s; $$l =~ m{^\[}g ; if ($$l !~ m{\G([^\<]*)}) { die "Foo"; }' | 20:38 | ||
Maybe it's a heisenbug. | |||
moritz | does it occur without the referencing/dereferencing thingy? | 20:39 | |
maybe pos doesn't like references? | 20:40 | ||
perl -wle 'my $s = "[<hello>]"; $s =~ m{^\[}g; die "Foo" if $s !~ m{\G([^\<]*)}'; | |||
does not die | 20:41 | ||
Tene | rindolf: you don't need to escape < in a character class | ||
rindolf | Tene: I know. | ||
Tene | So why are you? | ||
20:45
marmic joined
|
|||
rindolf | This makes no sense. | 20:54 | |
Tene: to be on the safe side. | 20:55 | ||
Tene: in Perl 6 they have a meaning. | |||
The exact same string with the same expression now succeeds. | |||
same pos($$l) too. | |||
21:00
renormalist joined,
dduncan left
21:01
jisom joined
21:05
dduncan joined
21:19
mako132_ joined
21:21
crashmatrix joined
21:34
marmic joined
22:00
drupek12 joined
22:13
kanru joined
23:10
obvio171 joined
23:21
weinigLap joined,
drupek12 joined
23:22
weinigLap joined
|