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.
wolverian moritz, thanks, realclean worked. 00:34
allbery_b ?eval 1 01:57
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 => {}␤)
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
Tene I haven't really had that problem with it. 02:46
xdg Is anyone here working with/on v6.pm? 03:23
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"
gaal @google lojban y combinator 04:37
lambdabot swhack.com/logs/2006-11-15
Title: 2006-11-15 Swhack IRC Log
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.
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
dduncan the Buf type is the boxed portable version of the compact array 07:11
... that is mutable
DarkWolf84 hi 10:53
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
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)
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
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
TimToady @tell dduncan many system calls require null terminated strings 12:39
lambdabot Consider it noted.
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
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
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
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
DarkWolf84 that's it 14:55
:)
thanl u
thank u*
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 :)
gnuvince DarkWolf84: good job :) 17:42
DarkWolf84 I'm *realy* happy now 17:46
DarkWolf84 btw I don't know the way to find the remote host address 17:52
DarkWolf84 anyone know how to do this in perl6? 17:53
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
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
DarkWolf84 i forgot that 18:12
just p5 just habbit 18:14
just p5 habbit*
in perl5 undef is like 0 18:15
moritz DarkWolf84: even in p5 you can test with defined() if something is undef or just 0 18:16
DarkWolf84 I really have to change this in my version or pugs will throw me an error 18:19
DarkWolf84 next update will make the things right 18:21
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
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
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.
riffraff hi 19:45
Tene Hi!