pugscode.org | temporary feather address: perl6.wall.org | sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse (show (scanl (*) 1 [1..] !! 4))
Set by allbery_b on 24 March 2007.
00:02 bonesss joined 00:06 Psyche^ is now known as Patterner 00:15 sili is now known as s17i 00:16 ofer0 is now known as ofer 00:21 ashelyb_ joined 00:22 revdiablo joined 00:24 ofer is now known as ofer0 00:26 ofer0 is now known as ofer 00:31 dduncan joined
wolverian moritz, thanks, realclean worked. 00:34
00:37 gnuvince joined, gnuvince left 01:00 ashleyb joined 01:06 dolmans joined 01:10 mathlord is now known as tuna 01:16 Psyche^ joined 01:19 jql joined 01:23 ashelyb_ joined 01:30 Psyche^ is now known as Patterner 01:35 esstone joined 01:47 nirgle joined
allbery_b ?eval 1 01:57
01:57 evalbot_r15811 is now known as evalbot_r15816
evalbot_r15816 1 01:57
Tene ?eval "foo bar" ~~ /<ident><ws><ident>/ 01:58
evalbot_r15816 *** Cannot parse regex: <ident><ws><ident>␤*** Error: ␤Match.new(␤ ok => Bool::False, ␤ from => 0, ␤ to => 0, ␤ str => "", ␤ sub_pos => (), ␤ sub_named => {}␤)
02:04 [particle] joined 02:31 Psyche^ joined
mugwump heh, I use that ␤ character in bots too 02:35
much better than ␊ 02:36
TimToady bows 02:37
mugwump So, whilst learning Te Reo Māori I had a "aha!" moment when I realised it has the same sentence structure as lojban, but uses named rather than numbered arguments to its verbs 02:40
TimToady sounds like a fairly normal case system 02:41
prepositions fill a similar role
I always thought lojban's numbered args were quite illogical 02:42
mugwump Insane! How on earth are you supposed to intuitively grasp them
It would be more like a way for adults to speak over children 02:43
Tene TimToady: howso?
TimToady each verb has different slots, and there didn't seem to be much regularity to it. 02:44
but I haven't looked at it in a long time
Tene 'kay
02:45 Psyche^ is now known as Patterner
Tene I haven't really had that problem with it. 02:46
02:49 revdiablo joined 03:14 xdg joined
xdg Is anyone here working with/on v6.pm? 03:23
03:23 justatheory joined 03:37 amnesiac joined
Tene mugwump: fwiw, lojban also has a big pile of named args. 03:45
mugwump yeah. Actually I guess prepositions are a bit like particles 03:46
except in English there is no "focus particle"
03:53 Psyche^ joined 03:56 eric__ joined 03:59 Psyche^ is now known as Patterner 04:06 nirgle left 04:12 xdg_ joined 04:16 forsaken joined 04:30 eric__ joined
gaal @google lojban y combinator 04:37
lambdabot swhack.com/logs/2006-11-15
Title: 2006-11-15 Swhack IRC Log
04:38 forsaken joined 04:56 RHainsworth joined, RHainsworth left 05:06 eric__ joined 05:15 Psyche^ joined 05:18 offby1` joined 05:19 offby1` is now known as offby1 05:22 jisom joined, rfordinal joined 05:23 baest_ joined 05:27 Psyche^ is now known as Patterner 05:29 ashleyb joined 05:33 specbot6 joined, svnbot6 joined 05:34 baest joined, devbot6 joined 05:36 SubStack_ joined 05:37 SubStack_ is now known as SubStack 05:48 deq` joined 05:49 deq` joined 05:54 xinming joined 05:59 Psyche^ joined 06:02 jisom_ joined 06:11 Psyche^ is now known as Patterner 06:32 devogon joined 06:38 Psyche^ joined 06:44 Psyche^_ joined, Psyche^_ is now known as Patterner 06:46 baest_ joined 06:47 IllvilJa joined 06:49 baest joined 06:51 Psyche^ joined
Aankhen`` What is a buf8? 06:58
Maybe I'm looking in the wrong places, but I can't seem to find an explanation of this. :-S My understanding is that it's a low-level type used for representing strings, but not much else...
QtPlatypus Aankhen``: I think its in S02.pod 07:00
Aankhen`` Seen it mentioned there, but I don't think it explained much. I'll take a look at it again in case I missed it. 07:01
Oh. Durr. There we go. I didn't miss it, I just conveniently ignored it. 07:02
QtPlatypus And dev.perl.org/perl6/doc/design/syn/S09.html also covers it.
lambdabot Title: Synopsis 9: Data Structures - perl6:
Aankhen`` I suppose what I really want to know is, what does the 8 indicate?
dduncan 8 bits 07:03
Aankhen`` Does that mean a buf8 can only contain eight bits?
dduncan a buf is like a compact array
each array elem is 8 bits
Aankhen`` Ahhhh.
It makes sense now.
07:03 Psyche^ is now known as Patterner
dduncan eg, like what a typical string is in C 07:03
Aankhen`` I kept looking at HTTP::Message's has buf8 $.content, and kept wondering how the content would fit into 8 bits.
Aankhen`` looks sheepish. 07:04
QtPlatypus dduncan: However when moving buf8's to C we will still have to postpend a null? 07:06
Aankhen`` I think I'll take a stab at filling out Web::Tags a bit.
dduncan it depends how you would use it in C 07:09
I think the only things that care about null are certain string operators
Aankhen`` role Foo { our &bar = method (...) { ... }; } # is this the right way to put a dynamically created method in any class that .does(Foo)?
dduncan in any event, all Perl built-in types with lower-case names are meant to be like hardware-level unboxed types 07:10
in that their behaviour is architecture dependent rather than portable
but the trade off is you can get better speed or memory efficiency
07:10 rfordinal joined
dduncan the Buf type is the boxed portable version of the compact array 07:11
... that is mutable
07:13 forsaken joined 07:27 deq` joined 07:33 reZo joined 07:34 reZo is now known as rizzy 07:35 rizzy is now known as reZo_ 07:42 xinming joined 07:48 dduncan left 08:00 penk joined 08:06 Psyche^ joined 08:17 Psyche^ is now known as Patterner 08:25 IllvilJa joined 08:27 the_dormant joined 08:33 RHainsworth joined, RHainsworth left 08:38 elmex joined 08:55 lichtkind joined 09:10 buetow joined 09:24 Southen joined 09:32 devogon joined 09:33 Psyche^ joined 09:39 buetow joined 09:42 fglock joined 09:50 DarkWolf84 joined 09:52 ruoso joined 10:12 RHainsworth joined 10:16 RHainsworth left 10:50 buetow joined
DarkWolf84 hi 10:53
10:54 audreyt joined
moritz hi DarkWolf84 ;-) 10:55
DarkWolf84 i made one simple echo server on p6 10:56
:)
moritz ? 10:57
what's an "echo server"?
DarkWolf84 server repeats that u say :)
i know it's stupid
moritz DarkWolf84: ah, ok ;-) 10:58
DarkWolf84 but it contains the basics of one server 10:59
moritz DarkWolf84: commit it to examples/ 11:00
DarkWolf84 ok
:)
moritz and add yourself to AUTHORS
DarkWolf84 ok
I'll clear the code first 11:01
11:01 chris2 joined
DarkWolf84 moritz, do u know way to find peer's address 11:02
something getpeerbyaddr in p5 11:03
moritz DarkWolf84: I can have a look at it once it's in the repository
DarkWolf84 someting like*
ok
moritz but now I'm off for lunch ;-)
DarkWolf84 ok 11:04
me too
svnbot6 r15817 | unobe++ | * fix util/version_h.pl to handle depot paths outside the default (//) 11:20
r15817 | unobe++ | * added documentation at top of util/version_h.pl
r15817 | unobe++ | * removed chdir_to_base() as base is determined with FindBin (../$Bin)
r15818 | unobe++ | * fixed broken smartlinks and added a few more (each() mentioned in S02)
11:37 ivas joined 11:45 miyagawa joined
moritz re 11:46
Casan where are the examples/ found? 11:52
moritz Casan: in the SVN repository, svn.pugscode.org/pugs/examples/ 11:53
lambdabot Title: Revision 15818: /examples
Casan ahh thanks 11:54
11:54 fglock joined
moritz np 11:55
Casan: do you want a commit bit?
Casan moritz: I do not yet feel that I am qualified. but thanks. will need to do some more experimenting first. 11:56
moritz Casan: ok, as soon as you wish to contribute an example (or something else) ask here for a commit bit, we give it away freely ;-) 11:57
Casan ahh ok 11:58
12:14 cono joined 12:15 cono left 12:31 Limbic_Region joined
TimToady @tell dduncan many system calls require null terminated strings 12:39
lambdabot Consider it noted.
12:41 andara joined 12:42 lichtkind joined 13:09 rfordinal joined 13:10 [particle] joined 13:18 Qiang joined 13:21 devogon joined 13:41 perlmonkey2 joined
DarkWolf84 I think something is going wrong. When I compiled perl5 with threads pugs fail to compil. 13:42
compile*
moritz I have perl, v5.8.8 built for i486-linux-gnu-thread-multi 13:43
and it works
13:44 kanru joined
moritz DarkWolf84: did you try "make realclean" before building pugs? 13:44
DarkWolf84 I'm trying now to recompil
i deleted all files
and run subversion to checkout 13:45
13:52 vel joined 13:53 ayrnieu joined 14:05 gnuvince joined 14:06 RHainsworth joined, RHainsworth left 14:07 the_dormant joined
DarkWolf84 collect2: ld returned 1 exit status 14:12
Build failed: 256 at util/build_pugs.pl line 504.
make: *** [pugs] Error 2
the same error
:(
maybe it's not because threads
nad it says that some refs r not defined 14:19
like p5embed.c:(.text+0x6cd): undefined reference to `Perl_Gsigfpe_saved_ptr' 14:20
moritz DarkWolf84: which p5 version do you use? 14:26
DarkWolf84 w8 a moment
5.8.8-i686-linux-thread-multi 14:27
maybe is package problem 14:28
coz I 'm with gentoo
and maybe some pakages r broken 14:29
moritz ... and gentoo is generally broken *duck* 14:32
andara DarkWolf84: looks like a linker error. Maybe the build script doesn't find your libperl.so
DarkWolf84 ok
andara usually it's under /usr/lib/perl5/5.8.8/i486-linux, but if you built it yourself it might be somewhere else 14:33
moritz andara: or just under /usr/lib ;-) 14:36
DarkWolf84 i think i found the problem 14:37
i have perl and libperl tarball
maybe I have to recompile the libperl 14:38
andara DarkWolf84: you can try to grep your existing libperl.so for Perl_Gsigfpe_saved_ptr. If it's there, the lib is probaly ok 14:40
DarkWolf84 the problem is that I have recompiled perl with threads 14:41
14:42 xdg joined
DarkWolf84 and only perl 14:42
not all programs depend on it
moritz bad idea ;-) 14:47
DarkWolf84 i know 14:48
I found my mistake
and found the pakage what I need 14:49
:) 14:50
/usr/lib/libperl.so.1.5.8 14:51
14:54 prism joined
DarkWolf84 that's it 14:55
:)
thanl u
thank u*
15:09 marmic joined 15:37 vel joined 15:50 xdg_ joined 15:56 Jedai joined, Lorn joined 16:00 ozo_ joined 16:05 macli joined 16:11 jisom joined, buetow joined 16:18 mr_ank joined 16:32 pbuetow joined 16:52 BooK joined 16:56 forsaken joined 17:10 justatheory joined, andara left 17:18 Psyche^ joined, Psyche^ is now known as Patterner 17:27 amnesiac joined 17:28 bernhard joined 17:35 justatheory joined, silug joined
DarkWolf84 moritz, I'm ready 17:40
svnbot6 r15819 | darkwolf++ | Update AUTORS and add echoserver.pl to examples
DarkWolf84 this is my first svn commit :)
17:41 s17i is now known as sili
gnuvince DarkWolf84: good job :) 17:42
DarkWolf84 I'm *realy* happy now 17:46
17:47 jisom joined
DarkWolf84 btw I don't know the way to find the remote host address 17:52
17:52 IllvilJa joined
DarkWolf84 anyone know how to do this in perl6? 17:53
17:55 geoffb joined
perlmonkey2 DarkWolf84, what are you committing? 17:58
DarkWolf84 just one example
simple server 17:59
perlmonkey2 very cool
DarkWolf84 which repeats anything u say
perlmonkey2 simple socket server then?
and client?
DarkWolf84 no only server
I used telnet to test it 18:00
perlmonkey2 probably will wind up in the Camel Perl 6 book :P
DarkWolf84 I don't have this book
moritz DarkWolf84: use "err die" instead of "or die" 18:01
DarkWolf84 ok
shuld I change it
perlmonkey2 does "err die" imply implicit exception handling?
moritz iirc not 18:02
but it's the "more idiomatic" way ;-)
DarkWolf84 ok next time I'll use err
moritz hey, perl6.vim syntax hilighting doesn't hilights async as a key word 18:05
DarkWolf84 lol 18:06
gedit don't hilight many commands 18:07
perl6 is evolving every day 18:08
moritz DarkWolf84: gedit probably uses perl5 syntax hilighting
18:08 prly joined
DarkWolf84 right 18:08
perlmonkey2 So in Perl 6 failures don't return 0 but instead return ()? 18:09
DarkWolf84 what is ()?
perlmonkey2 undefined
moritz perlmonkey2: I don't know.. in one of the synopsis it says "TODO: research error handling system" or something similar... 18:10
perlmonkey2 'err' is '//' while 'or' is '||'
moritz perlmonkey2: looks as if it's not fully specced
DarkWolf84 i didn't know the word for // is err 18:11
moritz perhaps foo err bar is short for try { foo }; on error bar
perlmonkey2 that would be VERY cool.
moritz perlmonkey2: what?
DarkWolf84 no more 0 problems
:)
perlmonkey2 your idea bout it being short for a try/error block.
moritz DarkWolf84: actually that could be solved by letting "err" check for defined/undef and not for true/false 18:12
DarkWolf84 i know
18:12 chris2 joined
DarkWolf84 i forgot that 18:12
just p5 just habbit 18:14
just p5 habbit*
in perl5 undef is like 0 18:15
18:16 Jedai joined
moritz DarkWolf84: even in p5 you can test with defined() if something is undef or just 0 18:16
18:18 lichtkind_ joined, elmex joined
DarkWolf84 I really have to change this in my version or pugs will throw me an error 18:19
18:19 explorer joined
DarkWolf84 next update will make the things right 18:21
18:22 prly_ joined 18:23 penk joined 18:32 eden_c joined, upd joined
geoffb @seen audreyt 18:32
lambdabot audreyt is in #haskell and #perl6. I don't know when audreyt last spoke.
eden_c @seen fglock
lambdabot I saw fglock leaving #perl6 6h 28m 57s ago, and .
moritz @seen lambdabot 18:33
lambdabot Yes, I'm here. I'm in #happs, #ai, #haskell-soc, #figs, #montevideolibre, #parrot, #scannedinavian, #unicycling, #jtiger, #perl6, #oasis, #darcs, #ghc, #gentoo-uy, #gentoo-haskell, #haskell.dut, #
haskell.hac07, #haskell-overflow, #haskell-blah and #haskell
gaal that would have read funnier if it were #
haskell-overflow
moritz ;-)
geoffb OOC, what are overflow channels for? Do IRC servers have per-channel user limits or something? 18:35
[particle] why is there a freenode #parrot? that should go away, imo
moritz geoffb: if the scrolling speed is limited by your bandwith, you need an overflow channel ;-) 18:36
[particle]: I think it's very confusing to have two #parrot channels ;)
geoffb moritz: OK, try that again, that makes no sense to me.
moritz geoffb: wasn't serious at all. 18:37
geoffb moritz: oh
18:37 upd left
moritz geoffb: when so many people write in a channel that your internet connection is not fast enough, then you need to split it up ;-) 18:37
geoffb We just need to put a bot on #parrot here that pings people who join every 30 seconds and says "No, seriously, you're on the wrong network."
Jedai Hi, to get an account on feather.perl6.nl what do you need to have done ? 18:40
18:40 dduncan joined
moritz Jedai: read www.mail-archive.com/perl6-language...20060.html 18:41
lambdabot Title: Perl development server
Jedai Thanks :) 18:42
diotalevi /who #parrot 18:45
stupid client.
18:46 Qiang joined 18:58 fridim joined 19:02 jisom joined 19:26 eden_c left 19:35 rashakil joined 19:44 rff joined, rff is now known as riffraff
riffraff hi 19:45
Tene Hi!
19:56 vel joined 19:57 lichtkind_ is now known as lichtkind 20:20 Lorn_ joined 20:29 mr_ank joined 21:06 Schwern joined 21:32 perlmonkey2 left 21:33 Limbic_Region joined 21:39 polettix joined 21:46 BooK_ joined 22:03 justatheory joined 22:08 ingy joined, wolverian joined, Juerd joined, kcwu joined, sri_ joined, PerlJam joined, buu joined, SamB joined, Lunchy joined, autark joined, TimToady joined, pnu joined, imperator joined, xinming joined, DarkWolf84 joined, [particle] joined, kanru joined, explorer joined, penk joined, rashakil joined, justatheory joined, kolibrie joined, takesako__ joined, aukjan|gone joined, statico joined, gaal joined, cls_bsd_ joined, Gothmog_ joined, shay|p6 joined, sili joined, rhr joined, lumi joined, LCamel_ joined, QtPlatypus joined, nothingmuch joined, Eidolos joined, spinclad joined, theorbtwo joined, pjcj joined, moritz joined, charsbar_ joined, TreyHarris joined, mugwump joined, arguile joined, allbery_b joined, specbot6 joined, miyagawa joined, rfordinal joined, devogon joined, amnesiac joined, silug joined, geoffb joined, clkao joined, gugod joined, yves joined, lidden joined, bloonix joined, meppl joined, Southen joined, Schwern joined, fridim joined, dduncan joined, prly_ joined, macli joined, marmic joined, audreyt joined, reZo_ joined, baest joined, svnbot6 joined, revdiablo joined, MaartenB joined, GeJ joined, pasteling joined, Maddingue joined, th3 joined, drupek12178125 joined, zgh joined, araujo joined, Leibsle joined, dvorak_ joined, jcrigby joined, ruz joined, scw joined, cookys joined, stevan__ joined, Khisanth joined, buubot joined, Caelum joined, nekokak_ joined, f0rth_ joined, falesca joined, tcliou joined, takanori joined, Grrrr joined, kattana_ joined, qmole joined, Tene joined, mtve joined, nelhage joined, masak joined, BooK_ joined, Limbic_Region joined, mr_ank joined, Lorn_ joined, ozo_ joined, polettix joined, riffraff joined, Qiang joined, Casan joined, tewk_ joined, DebolazY joined, Debolaz joined, frobnitz joined, integral joined, beppu joined, ajs joined, weinig|away joined, zev_ joined, drbean joined, spo0nman joined, cj joined, nnunley joined, Loro_ joined 22:09 IllvilJa joined, Patterner joined, devbot6 joined, jql joined, bsb joined, ofer joined, mj41 joined, kei5tnk joined, idiotmax joined, evalbot_r15816 joined, wilx joined, tokuhirom joined, orafu joined 22:14 offby1 joined 22:38 diotalevi joined 22:47 forsaken joined 22:49 SubStack joined 23:18 ayrnieu joined 23:28 macli left 23:52 dduncan left