Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-03-13

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:06 ispy_ joined #perl6
00:09 Limbic_Region joined #perl6
00:15 spx2 joined #perl6
00:24 cmarcelo joined #perl6
00:33 buubot joined #perl6
00:36 buu joined #perl6
00:38 thoughtpolice joined #perl6
01:06 Blazeix joined #perl6
01:09 Blazeix Hi, I'm thinking about learning perl6, so I would like to make a few simple applications with it. Does perl6 have some useful libraries yet?
01:09 lyokato_ joined #perl6
01:09 Blazeix I've downloaded pugs, and I've been messing with simple perl6 syntax
01:10 Morasique joined #perl6
01:22 stevan_ joined #perl6
01:25 zonkers_ joined #perl6
02:00 justatheory joined #perl6
02:03 thoughtp1lice joined #perl6
02:09 Lorn joined #perl6
02:34 c9s joined #perl6
03:11 diotalevi joined #perl6
03:18 sh0cked joined #perl6
03:21 penk joined #perl6
03:35 rhr joined #perl6
03:37 drbean joined #perl6
03:47 revdiablo joined #perl6
03:51 Blazeix left #perl6
04:09 cnhackTNT joined #perl6
04:16 Lorn joined #perl6
04:55 justatheory joined #perl6
04:58 BrutusIunius joined #perl6
05:22 justatheory joined #perl6
05:49 BrutusIunius joined #perl6
06:04 r0bby joined #perl6
06:13 devogon joined #perl6
06:15 charlesmorgan joined #perl6
06:16 charlesmorgan Hi folks.
06:16 charlesmorgan How many of you *love* income trusts?
06:16 charlesmorgan Show of hands?
06:17 charlesmorgan How about you sit there like a dead log if your IQ is less than 75.
06:20 charlesmorgan It's always the MORONS who never say a word. They park their asses on IRC and go play with computer pornography.
06:20 charlesmorgan left #perl6
06:33 tewk joined #perl6
06:38 rakudo_svn r26345 | duff++ | [rakudo] rough cut implementation of auto-{increment,decrement} for Perl6Str
06:52 Aankhen`` joined #perl6
07:42 marmic joined #perl6
07:58 BinGOs joined #perl6
08:05 iblechbot joined #perl6
08:18 cognominal_ joined #perl6
08:36 wknight8111 joined #perl6
09:55 masak joined #perl6
10:10 ebassi joined #perl6
10:28 ebassi joined #perl6
10:40 FurnaceBoy joined #perl6
10:42 ruoso joined #perl6
11:11 cognominal_ joined #perl6
11:16 masak joined #perl6
11:55 ebassi_ joined #perl6
12:08 wknight8111 joined #perl6
12:15 IllvilJa joined #perl6
12:34 rakudo_svn r26347 | duff++ | [rakudo] make Perl6Str increment() work on empty strings
13:21 pmurias joined #perl6
13:24 pmurias mncharity: is something like that allowed in perl6?
13:29 cmarcelo joined #perl6
13:34 lisppaste3 joined #perl6
13:35 Psyche^ joined #perl6
13:43 FurnaceBoy joined #perl6
13:56 BinGOs joined #perl6
14:05 xinming joined #perl6
14:29 ebassi joined #perl6
14:32 Aankhen`` joined #perl6
15:00 chris2 joined #perl6
15:02 ispy_ joined #perl6
15:11 xinming_ joined #perl6
15:13 braceta joined #perl6
15:44 TJCRI joined #perl6
15:51 kanru joined #perl6
16:03 chacha_chaudhry joined #perl6
16:04 ispy_ joined #perl6
16:05 gbarr joined #perl6
16:05 chacha_chaudhry left #perl6
16:21 rdice joined #perl6
16:21 moritz_ the server on which evalbot runs is currently down :(
16:21 moritz_ I hope to get it running this weekend
16:22 jrockway joined #perl6
16:34 bockmabe joined #perl6
16:37 pmurias ruoso: will it be possible to inherit from native/lowlevel classes?
16:38 chris2 left #perl6
16:38 ruoso from native you can only inherit by composition
16:38 ruoso you cannot change the representation
16:39 ruoso the lowlevel implementations won't be available in the namespace for that ;)
16:39 ruoso that's why the src-s1p implementations need to be written
16:40 BinGOs joined #perl6
16:40 pmurias thinking how should Array be implemented
16:40 ruoso S1P__Array?
16:40 pmurias yes
16:40 ruoso take a look at the autovivification notes in the wiki
16:41 ruoso the basic idea is that you're going to return containers or lazy lookup containers
16:41 ruoso the lazy lookup containers will autovivify to a real container
16:41 ruoso the important thing here is that you cannot change the representation of the object during the autovivification
16:41 ruoso it must be the same pointer
16:42 BrutusIunius joined #perl6
16:44 ruoso which means that you will always keep the proxy object when something was autovivified
16:44 ruoso at least when working with lowlevel objects
16:44 ruoso that won't happen for higher-level objects...
16:44 pmurias no?
16:44 ruoso because they all have the WHENCE
16:45 ruoso and they are representation-independent
16:45 bocksp joined #perl6
16:46 peepsalot joined #perl6
16:46 pmurias how does binding to an array element work
16:46 pmurias in terms of low level operations
16:47 pmurias an array has a memory block of Scalars
16:48 ruoso that's when the lookup proxy object enters
16:48 pmurias explain please ;)
16:49 ruoso $a[1][2][3] works as:
16:49 ruoso 1) you make a lookup on $a for the element 1
16:49 pmurias which returns a proxy object
16:49 ruoso 2) this lookup returns a proxy object that delegates to the cell value
16:50 ruoso that can be empty,
16:50 ruoso in the case that the element has not been autovivified yet
16:51 ruoso but this proxy object knows how to implement the Scalar, Array and Hash API
16:51 pmurias how does $a[1] := work
16:51 ruoso in theory, yes...
16:52 Jamtech joined #perl6
16:52 pmurias ?
16:52 ruoso ah...
16:53 ruoso I didn't see the "how" part
16:53 pmurias ;)
16:53 ruoso $a[1] will return the proxy object
16:53 ruoso the same way $a returns
16:54 ruoso and the bind will substitute the container inside $a[1]
16:54 ruoso the same way it substitutes the container inside $a
16:55 moritz_ so every variable has a container?
16:55 moritz_ isn't that rather inefficient?
16:55 PerlJam moritz_: every var *is* a container
16:56 eternaleye joined #perl6
16:56 PerlJam moritz_: don't you know the rules of optimization?  Working code first.  :)
16:56 moritz_ PerlJam: allright, I'll be quiet ;-)
16:57 ruoso PerlJam, but every var *lookup* has a container
16:57 ruoso so binding can work
16:57 ruoso the same way that every hash lookup must *have* a container, and don't *be* a container
16:58 PerlJam ruoso: right, you get a container thingy so that you can use it for autovivification or to somehow morph it into the contianer that's already there.
16:59 ruoso or to bind it to somewhere else
16:59 ruoso or to get bound from somewhere else
16:59 PerlJam sure, depending on context.
16:59 ruoso in fact, the lookup can return a simple lazy lookup object
17:00 ruoso so the lookup doesn't really happen until you use it
17:00 PerlJam yeah, perl6 has proxies everywhere it seems.  That's the price of laziness.
17:01 ruoso yeah...
17:01 ruoso and it's scary to think about lazy lookup + currying
17:01 ruoso to make something like
17:01 ruoso $a<b><c>[1]<d> turn into a sql statement
17:01 PerlJam I try not to think about how it all works as long as it just does  :)
17:04 ruoso like $person{ name => 'John' }<contacts>{ name => 'Jane' }
17:06 ruoso this would make DBIx::Class in Perl 6 just awesome...
17:07 pmurias ruoso: have you thought about running the sm0p grammar on smop?
17:08 ruoso you mean compiling the sm0p grammar to sm0p?
17:08 pmurias i thought more about compiling to c
17:09 ruoso If anyone writes a conversor :)
17:09 buubot joined #perl6
17:12 buu joined #perl6
17:13 pmurias how to revive a file removed from the repo if i know the path but don't rememeber the revision (with svk)?
17:15 Zygo joined #perl6
17:15 kolibrie pmurias: svk revert path/to/file ?
17:15 gbarr joined #perl6
17:19 pmurias find the revision first is the soultion ;)
17:21 [particle] pmurias: try grepping svn log -v
17:21 pmurias svk cat dosn't work on removed files
17:22 pmurias [particle]: vim searched for it
17:22 kanru joined #perl6
17:40 meppl joined #perl6
17:51 justatheory joined #perl6
17:57 Daveman joined #perl6
18:00 pugs_svnbot r20117 | pmurias++ | [kp6] a revival of Emit::TokenC with the intent of being used by smop
18:00 pugs_svnbot diff: http://dev.pugscode.org/changeset/20117
18:00 lambdabot Title: Changeset 20117 - Pugs - Trac
18:08 ebassi_ joined #perl6
18:08 BrutusIunius joined #perl6
18:10 simcop2387 joined #perl6
18:12 TJCRI joined #perl6
18:23 thepler joined #perl6
18:27 barney joined #perl6
18:30 explorer joined #perl6
18:37 alester joined #perl6
18:48 Schwern joined #perl6
18:58 Psyche^ joined #perl6
19:01 Jamtech joined #perl6
19:08 thepler joined #perl6
19:33 TJCRI joined #perl6
19:37 eternaleye joined #perl6
20:09 jferrero joined #perl6
20:47 Lorn_ joined #perl6
20:50 BinGOs joined #perl6
21:24 smtms joined #perl6
21:40 IllvilJa joined #perl6
21:46 thepler joined #perl6
22:00 buchetc joined #perl6
22:33 eternaleye_ joined #perl6
22:46 rindolf joined #perl6
23:09 ebassi joined #perl6
23:17 mncharity sigh.  both rakudo (pbc and exe) and redsix are under 20 lines per second, just for parsing.  that's just not usable.
23:39 zgold joined #perl6
23:43 meppl good night
23:44 zgold just wanted to drop a word of praise for pugs and perl 6.. im just learning haskell and what you guys have done is really, really cool :)
23:45 pugs_svnbot r20118 | putter++ | [STD_red] sync some unfinished work.
23:45 pugs_svnbot diff: http://dev.pugscode.org/changeset/20118
23:45 lambdabot Title: Changeset 20118 - Pugs - Trac
23:46 BinGOs joined #perl6
23:52 eternaleye_ joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo