Time |
Nick |
Message |
00:01 |
|
kjwcode joined #perl6 |
00:06 |
|
thoughtpolice joined #perl6 |
00:36 |
|
BinGOs_ joined #perl6 |
01:31 |
|
weinig changed the nick to weinig|food |
01:54 |
|
pro21ms4 joined #perl6 |
02:12 |
|
Azure-BOT joined #perl6 |
02:41 |
|
weinig|food changed the nick to weinig |
04:03 |
|
imperator joined #perl6 |
04:19 |
|
jisom joined #perl6 |
04:53 |
|
Schwern joined #perl6 |
05:30 |
|
jrockway joined #perl6 |
05:30 |
|
devogon joined #perl6 |
05:33 |
|
kanru joined #perl6 |
05:53 |
|
xinming joined #perl6 |
06:15 |
|
REPLeffect joined #perl6 |
06:15 |
|
lumi joined #perl6 |
06:43 |
|
BinGOs joined #perl6 |
06:58 |
|
Aankhen`` joined #perl6 |
07:00 |
|
elmex joined #perl6 |
07:02 |
|
dalek joined #perl6 |
07:53 |
|
franck___ joined #perl6 |
08:36 |
|
daxim_ joined #perl6 |
09:12 |
|
AtomicStack joined #perl6 |
09:20 |
|
BinGOs_ joined #perl6 |
09:27 |
|
fridim joined #perl6 |
09:33 |
|
DarkWolf84 joined #perl6 |
09:41 |
|
BinGOs_ changed the nick to BinGOs |
09:57 |
|
Eidolos_ joined #perl6 |
10:00 |
|
chris2 joined #perl6 |
10:07 |
|
Schwern joined #perl6 |
10:08 |
|
Eidolos_ changed the nick to Eidolos |
10:25 |
|
fridim_ joined #perl6 |
10:25 |
|
lidden joined #perl6 |
10:26 |
|
lidden joined #perl6 |
10:33 |
|
pmurias joined #perl6 |
10:33 |
pmurias |
hi |
10:33 |
moritz_ |
hi |
10:36 |
|
nothingmuch joined #perl6 |
10:40 |
|
rindolf joined #perl6 |
10:42 |
DarkWolf84 |
hi |
10:43 |
DarkWolf84 |
IO.getpeername don't work |
10:43 |
DarkWolf84 |
:( |
10:44 |
moritz_ |
patch it ;) |
10:44 |
DarkWolf84 |
It wil be dificult to write network test |
10:45 |
DarkWolf84 |
It will* |
10:52 |
DarkWolf84 |
I don't know wheter fork will work |
10:53 |
DarkWolf84 |
I didn't tried it yet |
10:53 |
moritz_ |
$ pugs -e 'if fork() { say "foo" } else { say "bar" }' |
10:53 |
moritz_ |
bar |
10:53 |
moritz_ |
foo |
10:53 |
moritz_ |
looks good ;) |
10:54 |
DarkWolf84 |
ok |
10:54 |
DarkWolf84 |
maybe I have to try |
10:55 |
|
buetow joined #perl6 |
10:57 |
|
tlb joined #perl6 |
10:57 |
moritz_ |
woo, but if you leave stray forked processes, you have to kill them manually ;) |
10:57 |
pmurias |
you plan to fork the test so as to have a server and a client? |
10:59 |
DarkWolf84 |
I know |
10:59 |
DarkWolf84 |
that is writen allready in perldoc |
10:59 |
DarkWolf84 |
:) |
10:59 |
DarkWolf84 |
yes |
11:00 |
DarkWolf84 |
there is no other way |
11:01 |
DarkWolf84 |
the only problem with fork will be windows |
11:01 |
DarkWolf84 |
if fork emulation is not implemented |
11:05 |
|
kanru joined #perl6 |
11:06 |
pmurias |
having the test server run on for example feather might be an option |
11:16 |
DarkWolf84 |
I think fork don't works too |
11:17 |
|
hkb_aw changed the nick to hakobe |
11:20 |
DarkWolf84 |
Is the syntax different form perl5 for kill() |
11:33 |
DarkWolf84 |
the mistake for fork is mine |
11:33 |
DarkWolf84 |
:) |
11:33 |
DarkWolf84 |
pid is 0 in the child process |
11:33 |
DarkWolf84 |
not undef |
11:45 |
|
buetow joined #perl6 |
11:59 |
DarkWolf84 |
maybe it's more safe to test with real server |
12:15 |
|
fridim_ changed the nick to fridim |
12:16 |
DarkWolf84 |
?eval my $sock = connect('feather.perl6.nl', 80) // die "Can't connect feather.perl6.nl: $!"; say $sock.getpeername; |
12:16 |
pugsbot_r17185 |
Error: Unsafe function 'connect' called under safe mode |
12:16 |
DarkWolf84 |
ok |
12:17 |
DarkWolf84 |
pmurias, thanks for the advice :) |
12:18 |
DarkWolf84 |
that makes things simple |
12:22 |
DarkWolf84 |
no test for IO at all? |
12:23 |
DarkWolf84 |
found it |
12:23 |
DarkWolf84 |
in builtins |
12:27 |
DarkWolf84 |
?eval $?OS |
12:27 |
pugsbot_r17185 |
\"linux" |
12:54 |
|
the_dormant joined #perl6 |
12:56 |
DarkWolf84 |
I think my test is near ready |
13:00 |
|
pjcj joined #perl6 |
13:12 |
|
AtomicStack left #perl6 |
13:22 |
DarkWolf84 |
I have one question |
13:24 |
DarkWolf84 |
Is it ok to write one test in a separate file? |
13:33 |
DarkWolf84 |
I finished IO.getpeername test |
13:38 |
pmurias |
IMHO it's better to write a file for a one test then to put it in a wrong file |
13:38 |
pmurias |
if it makes sense to put other tests in that file later on i think it's ok |
13:39 |
|
rindolf joined #perl6 |
13:43 |
|
Muixirt joined #perl6 |
13:51 |
pugs_svnbot |
r17243 | darkwolf++ | Add test for IO.getpeername, need checking |
13:51 |
pugs_svnbot |
diff: http://dev.pugscode.org/changeset/17243 |
13:51 |
lambdabot |
Title: Changeset 17243 - Pugs - Trac |
13:52 |
DarkWolf84 |
small lag |
13:52 |
DarkWolf84 |
:) |
15:09 |
|
Aankhen`` joined #perl6 |
15:24 |
daxim_ |
I want to have an svk cheat sheet, if you could translate these handful of svn commands into svk, that would be cool http://www.perlfoundation.org/perl5/index.cgi?svn_cheat_sheet |
15:24 |
lambdabot |
Title: SVN cheat sheet / Perl 5 Wiki |
15:28 |
PerlJam |
daxim_: most of those are exactly the same but you type "svk" instead of "svn" |
15:28 |
PerlJam |
daxim_: I don't think that svk does $keyword$ expansion though. |
15:28 |
daxim_ |
that doesn't give me offline working |
15:29 |
pmurias |
you use *additional* commands for offline working |
15:30 |
PerlJam |
"svk push" and "svk pull" are your friends :) |
15:30 |
|
cognominal_ joined #perl6 |
15:40 |
|
JarJarBi1ks joined #perl6 |
15:40 |
|
chris2 joined #perl6 |
15:43 |
thoughtpolice |
wee. i'm quite happy with the results of my irc bot. :) |
15:50 |
pmurias |
what does it do? |
15:52 |
thoughtpolice |
pmurias: right now it's kind of limited... i'm working on the 0.2 release, but the general idea is it's a tiny but extendable irc bot in haskell. |
15:53 |
thoughtpolice |
then again, I haven't exactly gone through any *huge* efforts to write plugins for it as of current, although I assume some lambdabot commands could be ported over without too much hassle. |
15:55 |
thoughtpolice |
plugins are compiled and loaded on startup rather than being statically built in (hs-plugins,) so you can make changes and just restart to see the effect. for the 0.2 release I'm going to work on having the ability to have the bot update plugins 'in-situ,' i.e. you can reload it as it's online. |
15:55 |
thoughtpolice |
i posted it to haskell-cafe but apparently it's of no interest or something. :( |
15:57 |
|
buetow joined #perl6 |
16:12 |
|
cognominal_ joined #perl6 |
16:20 |
|
iblechbot joined #perl6 |
16:35 |
|
{cerri|nmap} changed the nick to cerridwen |
16:39 |
|
thoughtp1lice joined #perl6 |
16:40 |
|
thoughtp1lice changed the nick to thoughtpolice |
16:42 |
|
the_dormant joined #perl6 |
17:03 |
|
poky joined #perl6 |
17:04 |
|
cognominal_ joined #perl6 |
17:04 |
|
lisppaste3 joined #perl6 |
17:35 |
|
xdg joined #perl6 |
17:45 |
|
kcwu joined #perl6 |
17:57 |
|
Limbic_Region joined #perl6 |
17:57 |
|
Psyche^ joined #perl6 |
18:06 |
|
revdiablo joined #perl6 |
18:09 |
|
Psyche^ changed the nick to Patterner |
18:25 |
|
IllvilJa joined #perl6 |
18:34 |
|
the_dormant joined #perl6 |
18:34 |
|
Muixirt joined #perl6 |
18:36 |
|
thoughtp1lice joined #perl6 |
18:40 |
|
kjwcode joined #perl6 |
18:47 |
|
franck____ joined #perl6 |
19:22 |
|
jisom joined #perl6 |
19:28 |
|
marmic joined #perl6 |
19:31 |
pugs_svnbot |
r17244 | pmurias++ | kp6: converted ->{_dispatch}() to dispatch() in emitted code |
19:31 |
pugs_svnbot |
diff: http://dev.pugscode.org/changeset/17244 |
19:31 |
lambdabot |
Title: Changeset 17244 - Pugs - Trac |
19:32 |
|
chris2 joined #perl6 |
19:35 |
|
Eidolos_ joined #perl6 |
19:51 |
|
Eidolos joined #perl6 |
19:57 |
|
daxim joined #perl6 |
20:04 |
|
weinig joined #perl6 |
20:08 |
|
fglock_ joined #perl6 |
20:13 |
|
the_dormant joined #perl6 |
20:14 |
|
muixirt2 joined #perl6 |
20:40 |
pmurias |
fglock_: hi |
20:40 |
|
JarJarBinks joined #perl6 |
20:40 |
fglock_ |
hi pmurias |
20:41 |
|
cartman joined #perl6 |
20:43 |
* pmurias |
thought a bit about Captures & Signatures |
20:44 |
pmurias |
i think signatures will need to get a reference to the variables the need to bind |
20:46 |
pmurias |
shouldn't iS |
20:46 |
pmurias |
s/.*// |
20:46 |
fglock_ |
I see signatures as data, which will be used by the CALL and APPLY methods |
20:46 |
pmurias |
methods of? |
20:48 |
fglock_ |
Code.APPLY() uses Code.signature |
20:48 |
|
Blwood_ joined #perl6 |
20:48 |
fglock_ |
Code.APPLY( $capture ) |
20:48 |
|
cartman left #perl6 |
20:52 |
fglock_ |
I think that, when we get the compile-time and runtime storage of multis set up, we'll have a better view of how the multi dispatcher should work |
20:52 |
pmurias |
i thought of it more like sub($a,$b,$c) {} being tranformed into sub($capture) {:($a,$b,$c).BIND($capture)} |
20:53 |
|
elmex joined #perl6 |
20:55 |
fglock_ |
that's right - and at a lower level, this is $sub.APPLY( $capture ) { ... } |
20:57 |
fglock_ |
and then - dispatch( $sub 'APPLY', $capture ) |
20:57 |
pmurias |
i grok that part |
20:58 |
|
Blwood joined #perl6 |
20:59 |
pmurias |
what intrests me more is will the binding of arguments be done by the signature object or will code be emitted based on it |
21:00 |
pmurias |
e.g will sub ($a,$b) {} be emitted as sub($capture) {$a := $capture.positional[0];$b := $capture.positional[1]}? |
21:02 |
pmurias |
http://moritz.faui2k3.org/irclog/out.pl?channel=perl6;date=2007-07-20#i_67188 might be of some interest to you |
21:02 |
lambdabot |
Title: IRC log for #perl6, 2007-07-20, http://tinyurl.com/27rhrm |
21:03 |
fglock_ |
this is up to the optimizer and emitter; for example, v6.pm uses sub( $invocant, $arrayref, $hashref ) |
21:04 |
fglock_ |
looking |
21:06 |
pmurias |
i know how to implement the dynamic way, but i think now that emitting code which does it is more better (faster and more portable) |
21:07 |
pmurias |
and avoid bootstrap problems |
21:07 |
|
Schwern joined #perl6 |
21:09 |
fglock_ |
I think :($a,$b,$c).BIND($capture) is the no-premature-optimizations way to do it |
21:09 |
fglock_ |
we can optimize the easy cases |
21:10 |
pmurias |
doing it dynamicly is not required by the spec (asked TimToady) |
21:11 |
pmurias |
.BIND is not required |
21:12 |
pmurias |
and defining .BIND without signatures would be hard |
21:15 |
pmurias |
got to sleep now as i go on a bicycle trip tommorow morning (back in a ~week) |
21:15 |
pmurias |
g'night |
21:20 |
|
theorbtwo joined #perl6 |
21:33 |
|
Schwern joined #perl6 |
21:35 |
|
buetow joined #perl6 |
21:51 |
|
dduncan joined #perl6 |
21:54 |
|
dduncan left #perl6 |
21:54 |
|
Blwood joined #perl6 |
21:55 |
|
dduncan joined #perl6 |
22:21 |
|
BinGOs joined #perl6 |
22:31 |
|
BinGOs_ joined #perl6 |
22:33 |
|
Eidolos joined #perl6 |
23:07 |
|
Schwern joined #perl6 |
23:17 |
|
ozo joined #perl6 |
23:24 |
|
mj41_ joined #perl6 |
23:24 |
|
clkao_ joined #perl6 |
23:24 |
|
qmole joined #perl6 |
23:25 |
|
Debolaz joined #perl6 |
23:31 |
|
ozo left #perl6 |