|
Pugs t-shirts www.cafepress.com/pugscode | Pugs 6.2.9 released | pugscode.org | pugs.kwiki.org | paste: sial.org/pbot/perl6 | www.geeksunite.net Set by stevan on 15 August 2005. |
|||
| buu | ?eval my@x=1,2,3; | 03:45 | |
| evalbot_7023 | [1, 2, 3] | ||
| buu | ?eval my@x=1,2,3; $y=@x | ||
| evalbot_7023 | Error: Undeclared variable: "$y" | ||
| buu | ?eval my@x=1,2,3; my$y=@x | ||
| evalbot_7023 | [1, 2, 3] | ||
| buu | ?eval my@x=1,2,3; my$y=@x; print $y | ||
| evalbot_7023 | 123bool::true | ||
| buu | ?eval my@x=1,2,3; my$y=@x; say $y | ||
| evalbot_7023 | 123 bool::true | ||
| svnbot6 | r7024 | Darren_Duncan++ | /ext/Locale-KeyedText : resync with latest Perl 5 version 1.6.2 changes | 04:13 | |
|
05:26
SM_a1 is now known as SM_ax
|
|||
| buu | ?eval say "x" | 06:17 | |
| evalbot_7024 | x bool::true | ||
| buu | ?eval say "x\n" | ||
| evalbot_7024 | x bool::true | ||
| buu | ?eval say "x\n" for 0..100; | ||
| evalbot_7024 | x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x undef | ||
| GeJ | ?eval say "x\n"x100; | 06:18 | |
| evalbot_7024 | Error: unexpected "1" or "x" expecting term postfix, operator, ":", ",", postfix conditional, postfix loop, postfix iteration, ";" or end of input | ||
| revdiablo | ?eval "x" | 06:36 | |
| evalbot_7024 | 'x' | ||
| revdiablo | you don't need the 'say' | ||
| Khisanth | ?eval "x"xx10 | 06:37 | |
| evalbot_7024 | Error: unexpected "1" or "x" expecting term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input | ||
| Khisanth | hrm | ||
| ?eval "x" xx 10 | |||
| evalbot_7024 | ('x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x') | ||
| Khisanth | ?eval "x"xx 10 | ||
| evalbot_7024 | ('x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x', 'x') | ||
| GeJ | hum, that "space" thing is going to be a problem for golf ;) | 06:48 | |
| Khisanth | no more than how x is now | 06:49 | |
| buu | ?eval ("a")xx10 | ||
| evalbot_7024 | Error: unexpected "1" or "x" expecting term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input | ||
| buu | Why does it need a space? | ||
| Khisanth | hrm I thought it needed a space in perl5 too | 06:50 | |
| ?eval <<a b>>xx10 | |||
| evalbot_7024 | Error: unexpected "1" or "x" expecting term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input | ||
| Khisanth | ?eval <<a b>>xx 10 | 06:51 | |
| evalbot_7024 | ('a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b') | ||
| Khisanth | ?eval <<a b>>x10 | ||
| evalbot_7024 | Error: unexpected "1" or "x" expecting term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input | ||
| Khisanth | ?eval <<a b>>x 10 | ||
| evalbot_7024 | 'a ba ba ba ba ba ba ba ba ba b' | ||
| buu | Khisanth: If my eval bot were in here.. =] | 06:52 | |
| ?eval "a" xx 10_000_000 | |||
| evalbot_7024 | pugs: out of memory (requested 1048576 bytes) | ||
| buu | heh | ||
| ?eval "a" xx 10_000 | |||
| evalbot_7024 | ('a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', | ||
| buu | Does it just truncate? | ||
| guess so. | 06:53 | ||
| revdiablo | irc has message length limits | ||
| nothingmuch | morning | 06:55 | |
| GeJ | morning nm | 07:03 | |
| gaal | hullo | 08:01 | |
| nothingmuch | hi gaal | ||
| gaal | heya nuffin! | ||
| nothingmuch thinks he finally has an approach to the type safety in blondie thing | 08:22 | ||
| first reduce the tree to a type annotation tree | |||
| with only the known types filled in (for pimitives) | 08:23 | ||
| then do a depth first traversal of the tree, and apply the types upwards | |||
| for example, &infix:<~> has the type (str, str -> str) | |||
| in the context of an App this is taken apart | 08:24 | ||
| the App gets the '->str' part | |||
| and applies type enforcements on the args to the thunk | |||
| for example a Val("\n") and a Sym('$string') in the &say reference implementation | 08:25 | ||
| Sym is a bit funky - when traversing dowwards the DynamicScoping reducer subclass part knew to link it to the Param it belonds to | |||
| the param then gets the type from the Sym, which is forced to be a 'str' | 08:26 | ||
| any Seq (the only logical parent for a Param) will concatenate it's param childrens' types into it's own type | 08:27 | ||
| so the parent seq is 'str -> <not yet known>' but we'll only know that when we go back to the seq | |||
| the app on the ~ is resolved to 'str' and is then used in the app on &print | 08:28 | ||
| at any point that there is enforcement of types and the types don't match the type checker asks the runtime to provide a conversion | |||
| if one doesn't exist a compile time error is thrown | 08:29 | ||
| Juerd | morning | 08:31 | |
| nothingmuch | hi Juerd | ||
| Juerd | The coercion thread isn't quite growing as much as we expected | ||
| nothingmuch | neither are my threads =( | ||
| Juerd | Larry last responded a week ago. I hope he's alright | 08:34 | |
| QtPlatypus | Where does Mr Wall live? | 08:35 | |
| Juerd | a.galaxy.far.away | ||
| nothingmuch | somewhere in california | ||
| Juerd | That too | ||
| nothingmuch | i meant physically =) | ||
| Juerd | Life isn't physical. | 08:36 | |
| It has physical expression in some ways, but life itself can't be physical. | |||
| nothingmuch believes it is | |||
| Juerd | Then why can't we recreate it? | ||
| nothingmuch | unit structures that have the nice tendency to replicate are life | 08:37 | |
| because we aren't good enough chemists | |||
| Juerd | Why can't we, given a body that used to function nicely just a minute ago, resurrect? | ||
| nothingmuch | in this specific case we actually can, most of the time | ||
| as i see it, WRT such complex forms of life there is simply a bootstrapping problem =) | 08:38 | ||
| Juerd | Not really. | ||
| We can do this only when there's still actual life. | |||
| QtPlatypus relaxes "Was just worried that be may of lived in a hurracane affected area" | |||
| Juerd | When life is gone, we can't save someone anymore. | ||
| nothingmuch | well, to each his own | 08:39 | |
| nothingmuch beleves there is no life in that sense... i see no line between myself and a piece of rock | |||
| just a gradient | |||
| Juerd | I believe that life is radiation | 08:40 | |
| nothingmuch | in what sense? | ||
| Juerd | And that telepathy is simply radio reception | ||
| Except we have no way to detect this kind of radiation yet. | 08:41 | ||
| Many identical twins stay telepathically connected, without them knowing so. There's lots of proof of this (or something like this) | |||
| nothingmuch sees no contradiction with his own model yet | 08:42 | ||
| Juerd | My theory is that they're just receiving each others life through these frequencies. Which aren't spatial. | ||
| nothingmuch | ah | ||
| Juerd | They're temporal, but omnipresent. | ||
| Hard to explain. | |||
| webmind- | Juerd, you mean there is no distance ? | ||
| Juerd | There is distance | 08:43 | |
| This radiation isn't hindered by it, though. | |||
| It doesn't have the first three dimensions. | |||
| QtPlatypus | Juerd: Have you heard of Zeno? | ||
| Juerd | QtPlatypus: No. How's he doing? | ||
| webmind- | Juerd, so for us then space is irrelevent ? | 08:44 | |
| nothingmuch | heh, by coincidence i just followed a link to a page about Zeno | ||
| QtPlatypus | Juerd: He is dead. | ||
| nothingmuch | perhaps QtPlatypus and I are twins ;-) | ||
| www-groups.dcs.st-andrews.ac.uk/~hi..._Elea.html | |||
| Juerd | webmind-: For our lives, yes. If your body dies, your life can be transferred to life somewhere else. | ||
| webmind- | how would you see this 'somewhere else' ? | ||
| QtPlatypus | Anyway Zeno was an anchent greek who beleaved that we where all at the same location and that space/distence was an illusion. | 08:45 | |
| Juerd | webmind-: Literally. | ||
| nothingmuch | my opinion on the matter of soul and all that transendance stuff is that I have observed no other structure in nature that is this dichotomic, and thus I have no reason to believe that this one is too | ||
| Juerd | QtPlatypus: Not an illusion, afait. | ||
| QtPlatypus: It's just that not everything has these dimensions | |||
| Just like how a *moment* has no duration. | |||
| webmind- | Juerd, well yes.. but this would be for us an undetectable place? | 08:46 | |
| Juerd | A thought has no distance or volume (volume not as amplitude) | ||
| webmind- | or not yet discovered | ||
| Juerd | webmind-: There's no such thing as "place" for this. | ||
| HOLY FUCK THAT WAS SCARY | |||
| webmind- | ? | ||
| Juerd | Lights went off. | 08:47 | |
| webmind- | ah | ||
| power failure ? | |||
| Juerd | It's just a power outage. | ||
| Yeah, but it really frightened me. I dunno why. | |||
| nothingmuch | hehe | ||
| our talk is becoming somewhat spiritual | |||
| Juerd | It's back up again even. | ||
| UPS comes back now too. | |||
| Okay, I desperately need a break. | 08:48 | ||
| afk | |||
| QtPlatypus | Juerd: I think that thoughts are to brains as processes are to computers | ||
| nothingmuch | ciao | ||
| QtPlatypus | See yah | 08:49 | |
| masak | poor Juerd, Zeno is obviously haunting him :) | 09:47 | |
| nothingmuch | [email@hidden.address] 'We offer a variety of different licenses and discounts that can help you get the most out of its software budget ?' | 10:08 | |
| the listmod example from WWW::Mechanize makes this process pretty fun | |||
| kolibrie | nothingmuch: my YAPC photo from the boat: graystudios.org/album/2005/06/img_3327.html | 12:05 | |
| gaal | kolibrie, what's that streak in the sky behind the CN tower? | 13:45 | |
| kolibrie | gaal: I think it's an airplane trail | 14:14 | |
| gaal | kolbrie: looke like an airplane just on the other side of the tower, but how come the trail is so colorful? | 14:47 | |
| kolibrie | gaal: it was close to sunset | 14:57 | |
| gaal | lambdacamels ahoy! | 15:41 | |
| kolibrie | gaal: nothingmuch was going to take some medium-format film photos, but I don't know how those came out | 15:43 | |
| gaal | nothingmuch takes nice pictures | 15:46 | |
| how expensive is newTVar? | 15:47 | ||
| I know I'm doing something wrong: in reducing the AST, i'm recreting a new TVar for the pragmas-in-effect for every node. why tvar? becuase that's what i had in Env for the other direction: installing pragmas at compile time. but it looks very weird to have two different slots for very similar information | 15:50 | ||
| grrrr, i suppose i'll generalize the compile-time->parser tvar, and indeed make the runtime member just the pragmas-in-effect list. | 15:52 | ||
|
18:05
integral_ is now known as integral
|
|||
| scrottie | ha, found you, awwaiid! | 18:12 | |
| svnbot6 | r7025 | fglock++ | * perl5/Code - very small stringification fix | 20:24 | |
| gaal | fe | 21:52 | |
| svnbot6 | r7026 | stevan++ | Perl6::MetaModel 2.0 - | 21:53 | |
| r7026 | stevan++ | * added role() to Perl6::MetaModel to make composing roles easier | |||
| r7026 | stevan++ | * added stub attributes to chaos.pl, not sure if I will really use them though | |||
| r7026 | stevan++ | * added get_method_list() to Class to get list of method labels | |||
| r7026 | stevan++ | * added $::Role imeplementation into genesis.pl, this is only partially complete | |||
| r7026 | stevan++ | I still need to figure out how I am going to bootstrap Roles into the meta-model. | |||
| r7026 | stevan++ | I have some ideas, but I wanted to commit my progress up to now. | |||
| marshall | I'm rewriting an /etc/services file using a format, anyone know if there is a way to make a line in a format that starts with a '#' pound sign? | 22:01 | |
| luqui | is that a perl 5 question? | ||
| marshall | ya | ||
| luqui | go ask in #perl then :-) | ||
| formats are gone in perl 6 (and I never really knew them to begin with) | 22:02 | ||
| marshall | thx | ||
| integral | luqui: There's dconway's Perl6::Form though, which are a bit like p5 formats | ||
| luqui tried to use Perl6::Form several times | 22:03 | ||
| it reminded me too much of formats :-) | |||
| I couldn't remember anything, so I'd have my face in the docs | |||
| not what I'd call "intuitive" | |||
| but, at least nobody's forcing us to use them... or anything for that matter | 22:04 | ||
| buu forces luqui to use perl4 | |||
| luqui | heh, when did perl 5 come out? | 22:05 | |
| '91? | |||
| buu | 94 I thought | ||
| luqui | okay | ||
| buu | That might be .6 though | ||
| luqui | I was 10 then | ||
| buu | Nice. | ||
| So was I | |||
| I think. | |||
| Khisanth | HMM no wonder there are people coming in here instead of #perl asking for perl5 help | ||
| luqui | por que? | ||
| buu | Khisanth: You're so slow =/ | 22:06 | |
| 17:12 < buu> Oh, hrm. #perl is hidden from lists | |||
| 17:12 < buu> No wonder people keep showing up here. | |||
| Khisanth | never noticed the modes and the last time I did /list it showed up since I was already in there | ||
| luqui | should #perl be hidden? | 22:07 | |
| Khisanth | not sure :) | ||
| integral | it's always been iirc | ||
| luqui considers starting a #perl5 with topic "go to #perl, silly!" | |||
| Khisanth | ##perl! :P | 22:08 | |
| integral | ###perl! | ||
| Khisanth | the unofficial channel for discussion about #perl? :P | 22:09 | |
| buu | No | ||
| It's the unofficial channel for discussion about unofficial discussion. | |||
| Supaplex | so, unoffically ... MEAHLAHRG! | 22:22 | |
| coral | if there was a #perl5 that was as on topic as #perl6 is | 23:11 | |
| then that would be useful | |||
| buu | What is this "ontopic" you speak of? | 23:22 | |
| Besides, it would be a dead channel | |||
| coral | well, conversation here is generally about perl6 | 23:24 | |
| buu | Just like now! | ||