Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2005-06-08

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:05 jagerman has quit IRC ("argh")
00:05 jagerman has joined #perl6
00:06 jagerman has quit IRC (Client Quit)
00:06 jagerman has joined #perl6
00:26 vcv- has joined #perl6
00:26 theorbtwo has quit IRC (Read error: 104 (Connection reset by peer))
00:26 vcv-- has quit IRC (Read error: 104 (Connection reset by peer))
00:29 mrborisguy has joined #perl6
00:29 metaperl has joined #perl6
00:31 mrborisguy i have an implimentation question for the masses:  does 'is copy' in a sub definition mean that the entire thing is a copy?
00:31 mrborisguy take this code:
00:31 mrborisguy ?eval my @aoa = ([1]); sub modify( @in is copy ) { @in[0][0] = 7; } modify( @aoa ); @aoa;
00:31 evalbot6 [[7]]
00:31 mrborisguy is that the expected result, or is [[1]] the expected result?
00:32 mrborisguy someone earlier said there was a post about this on p6l... i dug it up: http://groups-beta.google.com/group/perl.perl6.language/browse_thread/thread/4a8eb25e57148fcb?tvc=2&q=chip+Perl6::subs&hl=en
00:32 mrborisguy but they seem to veer off subject quite quickly and never answer this question
00:35 mrborisguy does anybody have any thoughts on which way is correct?
00:42 Enveigler1 On the basis that "unless otherwise stated P6 is the same as p5", and @a = ([1]); @b=@a; $b[0][0]=7; print $a[0][0]' => 7, I'd assume that [[7]] is correct until someone says otherwise. Maybe they'll  need to be a "is deepcopy" trait also?
00:43 meppl gute nacht - good night
00:43 mrborisguy ?eval my @aoa = ([1]); sub modify( @in ) { my @copy = @in; @copy[0][0] = 7; } modify( @aoa ); @aoa;
00:43 evalbot6 [[7]]
00:44 mrborisguy yeah... i was just looking into that as you said it
00:44 mrborisguy since you'd almost think my @copy = @in is the same as @in is copy, i'm going to go with [[7]] is the right answer
00:44 mrborisguy (although i really would love a 'is deepcopy' for what i'm trying to do)
00:44 meppl does there still forks or threads work with perl6?
00:45 kelan ?eval chars( "»" );
00:45 evalbot6 ***      unexpected ( or "("     expecting term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input     at -e line 4, column 4
00:45 kelan ?eval chars( ">>" );
00:45 evalbot6 2
00:46 mrborisguy now that can't be right
00:46 kelan which?
00:46 mrborisguy your example
00:46 kelan the first or second?
00:46 mrborisguy i would say the first
00:47 kelan yeah its been that way for a while. i think its either just a parse bug or an evalbot bug
00:47 kelan probably an evalbot bug
00:49 wolverian works fine on feather
00:49 simcop2387 has joined #perl6
00:50 kelan "it works fine" as in "theres an evalbot on feather that can eval it" or as in "pugs can eval it"?
00:50 wolverian pugs.
00:50 kelan it could be what i'm sending, too
00:50 kelan i don't know if i have this unicode stuff set up right
00:51 wolverian it looks fine here, but let me see.
00:51 wolverian ?eval "»".chars
00:51 evalbot6 ***      unexpected ( or "("     expecting term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input     at -e line 4, column 4
00:51 wolverian right.
00:59 mrborisguy has quit IRC ()
01:13 luqui has quit IRC (Remote closed the connection)
01:14 kelan ?eval chars( "ü" );
01:14 evalbot6 ***      unexpected ( or "("     expecting term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input     at -e line 4, column 4
01:18 Enveigler has joined #perl6
01:18 khisanth_ has joined #perl6
01:21 meppl has quit IRC (Remote closed the connection)
01:22 vcv- has quit IRC (Read error: 60 (Operation timed out))
01:22 Enveigler1 has quit IRC (Read error: 60 (Operation timed out))
01:25 mugwump hey autrijus are you still looking for an example of a DSL?
01:35 Khisanth has quit IRC (Read error: 110 (Connection timed out))
01:38 khisanth_ has quit IRC (Read error: 110 (Connection timed out))
01:38 khisanth_ has joined #perl6
01:41 justatheory has joined #perl6
01:45 ramzi has quit IRC (Read error: 145 (Connection timed out))
01:53 sproingie has joined #perl6
01:56 SamB has quit IRC (Read error: 60 (Operation timed out))
02:06 vcv-- has joined #perl6
02:09 SamB has joined #perl6
02:30 vcv- has joined #perl6
02:30 vcv-- has quit IRC (Read error: 131 (Connection reset by peer))
02:30 vcv- ?eval "test".chars
02:30 evalbot6 4
02:30 vcv- ?eval ?"test".chars
02:30 evalbot6 bool::true
02:40 justatheory has quit IRC ()
02:41 batdog|gone is now known as batdog
02:49 f0rth has joined #perl6
03:04 Enveigler1 has joined #perl6
03:05 batdog is now known as batdog|gone
03:11 smoofra has joined #perl6
03:11 dkf has quit IRC ()
03:12 Enveigler has quit IRC (Read error: 60 (Operation timed out))
03:13 vcv- has quit IRC (Read error: 60 (Operation timed out))
03:13 smoofra what's up perl6ers?
03:17 smoofra hrmm
03:18 arcady we're not dead, we're just resting!
03:20 smoofra i was wondering if you knew something about parrot
03:21 smoofra whether it has continuations?
03:24 arcady yes, it does
03:24 arcady in fact, it uses them all the time
03:24 arcady for returning from function calls, for example
03:24 smoofra w00t
03:25 smoofra and you can access them from perl6?
03:25 arcady that I'm not so sure on
03:25 smoofra oh man i hope you can
03:26 arcady you might be able to eventually, when there's a perl6 that compiles to parrot
03:26 smoofra i heard perl6 is gonna have coroutines
03:26 smoofra and i thought maybe they were implemented in terms of continuations
03:26 arcady yes, that's probably how they're implemented
03:27 mugwump smoofra, there are already passing tests in pugs for coros
03:27 smoofra wow
03:28 crysflame pugs++
03:28 smoofra i haven't really paid any attention to perl6 untill today.
03:29 smoofra i read all those apocalpses and i have been drooling for hours
03:29 mugwump checkout and build pugs, then look at examples/nested_loops/coroutine.p6 and t/unspecced/cont.t
03:29 smoofra it has macros, it has multimethods, it has coros and it has SYNTAX
03:29 smoofra ahhhhh
03:29 mugwump macros aren't functional yet AFAIK
03:30 smoofra that'd make sense if the pugs parser is written in haskell instead of perl
03:30 smoofra it'd be pretty hard to see how they'd do macros that way
03:31 mugwump it should be possible to implement in any language.  but pugs was designed largely to flesh out the corner cases for the language, and produce an environment that a bootstrapping perl 6 compiler can spring from.. macros are "nice to have"
03:32 mugwump IMHO anyway.  a LISPer probably thinks different :)
03:35 obra well, macros are "not yet". They're on the roadmap
03:36 khisanth_ is now known as Khisanth
03:38 smoofra I wonder how "regular" the parse trees will be
03:38 smoofra like, how easy will it be to go through them and do something at each node
03:46 mugwump If you have specific ideas about what the interface should look like, the pugs tests and examples suites are a good place to put them..
03:48 smoofra i've got a few ideas.
03:48 mugwump ideally with research to previous discussion from p6l and/or sections from Apocalypse and Synopsis documents, but anything is better than nothing
03:48 smoofra you want macro1( macro2(blabla), ..) to work
03:48 smoofra assumeing macro1 evauates it's first arg
03:49 smoofra so you need macroexpand
03:49 smoofra except you can't really do that, because macro2 might parse in a non-standard way
03:49 smoofra so really you need "macroparse"
03:49 smoofra some easy way to parse and macroexpand all at once
03:52 mugwump sticky stuff isn't it
03:52 mugwump personally I think that source expansion macros are easily as evil as source filters
03:52 smoofra yea.  in lisp-language it's like you have reader-macros and regular macros
03:52 smoofra but actually they are the same thing
03:53 smoofra they are when it comes to editors
03:54 smoofra but you can write a little macro that'd be a huge source filter
03:54 smoofra because you allready have the whole parser at your disposal
03:55 justatheory has joined #perl6
04:09 vcv-- has joined #perl6
04:09 _H_ has joined #perl6
04:09 codedancer has joined #perl6
04:10 _H_ has quit IRC (Remote closed the connection)
04:10 _H_ has joined #perl6
04:24 scook0 has joined #perl6
04:33 justatheory has quit IRC ()
04:34 bloves has joined #perl6
04:49 vcv- has joined #perl6
04:51 iblechbot has joined #perl6
05:14 Enveigler1 has quit IRC (Read error: 60 (Operation timed out))
05:14 vcv-- has quit IRC (Read error: 104 (Connection reset by peer))
05:22 Aankhen`` has joined #perl6
05:22 vcv- has quit IRC (Read error: 60 (Operation timed out))
05:23 perlbot has quit IRC (Remote closed the connection)
05:23 perlbot has joined #perl6
05:23 smoofra has quit IRC ()
05:26 nothingmuch has quit IRC ()
05:26 jql has quit IRC (Read error: 110 (Connection timed out))
05:27 autrijus Greetings from Wien!
05:27 gaal hey autrijus!
05:27 autrijus :))
05:27 gaal i was just leaving actually :)
05:28 gaal good luck with everything!
05:28 autrijus thank you!
05:28 * gaal is off to $work.   &
05:29 crysflame has quit IRC (Remote closed the connection)
05:38 Enveigler1 has joined #perl6
05:41 f0rth make clean doesn't work properly on win32, expanded command line too long
05:41 Aankhen`` What is the first line of output?
05:45 f0rth http://irc.csie.org:8888/100
05:45 f0rth is that enough?
05:45 Shachaf has quit IRC ("''")
05:46 Aankhen`` Yep.
05:46 Aankhen`` You need to download an updated version of nmake.
05:46 Aankhen`` Your version is 1.50, the latest is 7.10.xxxx.
05:50 f0rth so the auto-downloaded is not the latest...
05:51 autrijus it's the only free version.
05:51 autrijus so maybe the clean targets need fixing
05:51 autrijus patches welcome :)
05:51 * Aankhen`` goes to shower, BBIAF.
05:57 codedancer has quit IRC ("Leaving")
05:57 svnbot6 r4455, Aankhen++ | * updated ext/libwww-perl/Makefile.PL
06:02 Enveigler1 The latest nmake I've seen comes with the .NETSDK > Microsoft (R) Program Maintenance Utility Version 8.00.40607.16
06:02 cornelius has joined #perl6
06:02 iblechbot has quit IRC (Read error: 60 (Operation timed out))
06:04 Enveigler1 has left
06:04 cornelius is now known as ank
06:04 ank has left "Leaving"
06:12 wilx has quit IRC (Remote closed the connection)
06:28 Aankhen`` has quit IRC (Read error: 104 (Connection reset by peer))
06:46 nothingmuch has joined #perl6
06:47 nothingmuch good morning
06:48 arcady good evening : )
06:50 nothingmuch autrijus: how was your flight?
06:50 vcv-- has joined #perl6
06:51 vcv- has joined #perl6
06:51 jql has joined #perl6
06:51 nothingmuch if you like i can have my grandmother hook you up with some cookies
07:07 autrijus nothingmuch: uh, thanks, but probably not :)
07:07 autrijus the flight is fine. your journal is a nice read.
07:07 nothingmuch <voice="mobster">just so you know, I have connections in vienna...</voice>
07:07 nothingmuch is it accurate?
07:07 autrijus however (Reader Interp Interp) means a Reader computation that maintains a Interp and yields a Interp
07:07 nothingmuch yup
07:07 autrijus also there's one place where you wrote
07:08 nothingmuch did I say it isn't?
07:08 autrijus Eval Interp -> Interp
07:08 autrijus where it should be
07:08 autrijus Eval (Interp -> Interp)
07:08 autrijus nothingmuch:
07:08 autrijus What do you get? A `Reader Interp Interp`, or a in english a `Reader` of an an
07:08 autrijus `Interp` and another `Interp`:
07:08 autrijus and:
07:08 autrijus doExp :: Exp -> Reader Interp -> Interp
07:09 nothingmuch ah
07:09 nothingmuch got a line number for Eval Interp -> Interp?
07:09 autrijus no, it was Reader,sorry
07:10 autrijus doExp should be
07:10 autrijus doExp :: Exp -> Reader (Interp -> Interp)
07:10 autrijus no?
07:10 nothingmuch ah yes
07:10 nothingmuch wait
07:10 nothingmuch isn't Reader (Interp -> Interp) == Reader Interp Interp?
07:10 nothingmuch or is it Reader Interp (Interp -> Interp)?
07:11 nothingmuch i'm not awake yet
07:11 autrijus er, well. that's hte problem with having the smae name for TyCon and Ty
07:11 autrijus for clarity's sake, let's call the type Reader
07:11 autrijus and the constructor MkReader
07:12 autrijus "MkReader Interp Interp"  is of type "Reader Interp"
07:12 flgr_ has joined #perl6
07:12 autrijus er wait.
07:12 autrijus try again
07:12 autrijus "MkReader"  is of type "(Interp -> Interp) -> Reader Interp Interp"
07:13 autrijus doExp is my patch is of type "Eval (Interp->Interp)"
07:13 autrijus which means something that evaluates in the eval monad and yield a function of type I->I
07:13 autrijus now suppose we define the Eval monad as:
07:13 autrijus type Eval a = Reader Interp a
07:13 autrijus then Eval (Interp->Interp) would become
07:13 autrijus Reader Interp (Interp->Interp)
07:13 autrijus end of explanation.
07:14 nothingmuch yup
07:14 nothingmuch `doExp`'s signature is
07:14 nothingmuch doExp :: Exp -> Reader Interp (Interp -> Interp)
07:14 autrijus that'd be right.
07:14 autrijus your journal got it wrong.
07:15 nothingmuch fair enough?
07:15 autrijus also this:
07:15 autrijus type Eval a = (MonadReader Interp m, MonadWriter Stack m) => m a
07:15 autrijus Which combines two other monads, a `Reader` for the `Interp`, and a `Writer`
07:15 autrijus for the `IO`.
07:15 autrijus yeah, fair enough
07:15 vcv- has quit IRC (Read error: 60 (Operation timed out))
07:15 nothingmuch okay, first fix is in
07:15 autrijus if you say the Reader is for Interp
07:15 autrijus then the Writer is for STack
07:15 autrijus IO doesn't enter the picture
07:15 autrijus neither does ReaderT
07:16 nothingmuch hmm, good point
07:16 nothingmuch but I don't understand the details of that yet, so I couldn't really explain it
07:16 autrijus that's fine :)
07:17 nothingmuch i think i'll stick with 'writer for the IO', it's clearer why it's there
07:18 nothingmuch unless you have an idea for a technically correct explanation, that is not confusing
07:18 nothingmuch (huh? why does the stack need a writer?)
07:18 nothingmuch the way I saw it, Eval is a sort of unification, where Reader is Reader, and Writer bridges to IO
07:19 autrijus Reader bridges to ReaderT
07:19 autrijus Writer bridgers to IO
07:19 autrijus that'd be right.
07:19 autrijus saying Reader bridges to Interp and Writer to IO
07:19 autrijus would be mixing metaphors.
07:20 nothingmuch hmm, OK
07:20 xinming has joined #perl6
07:20 autrijus you can alternatedly say Reader bridges to Interp and Writer bridges to Stack
07:20 autrijus that'd be using another idea of "bridge"
07:21 nothingmuch is WriterT or Writer being used?
07:22 autrijus neither.
07:22 nothingmuch oh
07:22 autrijus there are three concepts involved.
07:22 nothingmuch we're creating a sort of StackWriter monad?
07:22 autrijus "MonadWriter" is something that can write things.
07:23 autrijus it's a type class.
07:23 autrijus "Writer" is a type that is an instance of the said type class
07:23 autrijus that represent pure writers
07:23 nothingmuch right
07:23 autrijus "WriterT" is another type
07:23 autrijus that modifies another monad type
07:23 autrijus into an instance of the said type class, MonadWriter.
07:23 autrijus what I did though
07:23 autrijus is to declare "IO" type
07:23 autrijus as an instance of MonadWriter too.
07:24 autrijus by providing an implementation of "tell".
07:24 autrijus look for the line "instance MonadWriter"
07:25 nothingmuch uhuh
07:25 nothingmuch oh, I think I get it
07:25 nothingmuch since dumpInterp is an IO
07:25 nothingmuch then the instance of IO in MonadWriter is used for the Eval monad
07:26 autrijus right.
07:26 autrijus the Eval monad is a polymorphic type synonym
07:26 nothingmuch m inside `type Eval` is `IO`?
07:26 autrijus it is a synonym to any type that satisfies the two type class
07:26 nothingmuch (in this case)
07:26 autrijus no, m inside `type Eval` is
07:26 autrijus ReaderT Interp IO
07:26 nothingmuch oh
07:27 nothingmuch so ReaderT Interp IO also does MonadWriter on IO since it's both a Reader and an IO?
07:27 domm autrijus: So I assume you arrived at the hotel and everything is ok?
07:27 autrijus hey domm-san
07:27 autrijus yes, I'm just fine. network is a bit slow and a bit expensive, but I'll live :)
07:28 domm I'll come by the hotel in about half an hour. Maybe we can find a cheaper/faster place for you :-)
07:29 nothingmuch so wait, when is ReaderT involved? when dumpInterp is of type IO and it uses runReaderT runReaderT inside the IO eval has a polymorphic type's variable filled with IO?
07:30 nothingmuch autrijus: in austra now is the season to go to a Hoiriger (spelling anyone?) type pub thingamabob
07:30 flgr__ has quit IRC (Read error: 110 (Connection timed out))
07:30 nothingmuch and drink partially fermented wine
07:30 domm nothingmuch: Heuriger
07:30 corneli has joined #perl6
07:30 nothingmuch domm++ # thanks
07:30 autrijus domm: that'd be cool... checkin is 2pm so I still got time to kill
07:31 chromatic has joined #perl6
07:31 autrijus jet lag is kicking in, so I'm very underclocked right now
07:31 domm nothingmuch: I think you're talking about 'Sturm', which (unfortunatly) only will be available in autum
07:31 chromatic Howdy.
07:31 nothingmuch domm: hmm... possibly
07:31 nothingmuch mom is going there for her sister's birthday party in a few days
07:31 nothingmuch and they are going to celebrate in a Heuriger, so I just assumed that the good stuff is there
07:32 chromatic Anyone besides the jetlagged one understand line 250 of Pugs.Bind?
07:32 chromatic I know what `zip` does, but I'm not sure why it's here.
07:33 domm nothingmuch: well, they've got very young wine ('heuriger' means 'of this year') but then I don't know much about wine..
07:33 autrijus chromatic: say you have positional args $x $y $z and passes 1,2,3,4,5
07:33 autrijus chromatic: that `zip` will bind 123 to xyz and leave 45 to *@_ if it's there.
07:33 integral chromatic: looks like it's making a mapping from args (like $x, $y) to values 1, 2,  eg $x => 1, $y => 2
07:33 autrijus i.e. in ($x, $y, $z, *@_).
07:33 chromatic Yep, I understand that part.
07:34 chromatic Suppose I have a positional argument with a default value and no parameter.
07:34 chromatic Does it consume the argument and never consider that it has a default value?
07:34 autrijus that is the basic idea.
07:34 autrijus I think.
07:35 autrijus because the default value only kicks in when a optional pos arg is unbound.
07:35 autrijus unboundOptPrms
07:35 chromatic Which bit of code handles assigning unbound default values?
07:35 autrijus finalizeBindings
07:35 autrijus line 220 on
07:35 chromatic Ugh, that one drove me nuts.  Let me trace unboundOptPrms then.
07:36 autrijus sorry. Bind and Context are among the oldest code in pugs
07:36 autrijus that had not been refactored
07:36 chromatic Yes, it's pretty dense.
07:37 autrijus it's also when I had no idea what I'm doing and when I thought pugs only exists to test junctions and mmd in p6 ;)
07:37 chromatic I can see it being good at both.
07:38 nothingmuch okay
07:38 nothingmuch clarified Eval monad a bit
07:38 chromatic Hm, the right stuff is in boundDefOpts at the end of finalizeBindings.
07:38 chromatic That's not the problem.  Darnit.
07:38 autrijus nothingmuch: to answer your question, yes, ReaderT enters the picture when you runReaderT.
07:39 autrijus (for reasons I hope that are obvious)
07:39 larsen has joined #perl6
07:39 pasteling "nothingmuch" at 212.143.92.226 pasted "eval monad splain diff" (52 lines, 2.5K) at http://sial.org/pbot/10839
07:40 autrijus nothingmuch:
07:40 autrijus Plain `Reader` knows to do the former
07:40 autrijus that is true but not relevant
07:40 autrijus you want to say
07:40 autrijus Plain `ReaderT` knows to do the former
07:41 nothingmuch so wait, ReaderT is not a combination of Reader and some IO type
07:41 nothingmuch but rather a polymorphic MonadWriter that takes another monad?
07:41 autrijus nono
07:41 autrijus ReaderT modifies a monad type to imbue it with MonadReader powers
07:41 autrijus it does not use the Reader type at all.
07:41 autrijus it is also not specific to IO.
07:41 nothingmuch okay
07:42 nothingmuch right
07:42 autrijus it's like in perl 5 when you overload an array reference with %{}
07:42 autrijus it doesn't mean it becomes a hash
07:42 autrijus it doesn't mean there's a plain hash underneath
07:42 autrijus all it means is it can now pretend to be a hash.
07:43 nothingmuch right
07:43 autrijus so the T works a bit like that.
07:44 Juerd has quit IRC (Read error: 110 (Connection timed out))
07:45 pasteling "nothingmuch" at 212.143.92.226 pasted "second try" (8 lines, 433B) at http://sial.org/pbot/10840
07:46 chromatic Grr, everything takes me back to applyExp.
07:47 autrijus chromatic: I thought we concluded the problem was in applyExp
07:48 pasteling "nothingmuch" at 212.143.92.226 pasted "new darcs w" (59 lines, 2.8K) at http://sial.org/pbot/10841
07:48 chromatic I just wanted to make sure.  :)
07:48 autrijus nothingmuch: that's perfectly good.
07:48 sproingie has quit IRC (Remote closed the connection)
07:48 scw_ is now known as scw
07:49 pasteling "chromatic" at 63.105.17.30 pasted "Problem Matrix" (17 lines, 632B) at http://sial.org/pbot/10842
07:49 nothingmuch the last hunk is at the very bottom
07:50 nothingmuch i hate debugging gui apps
07:50 autrijus chromatic: did you try removing all punctuations?
07:50 chromatic Yes I did.
07:50 autrijus alright.
07:50 chromatic That's the third one in the matrix.
07:50 autrijus domm: still @home?
07:50 ramzi has joined #perl6
07:50 Boogie autrijus: will you come to the pre workshop meeting (@ Wien)?
07:51 autrijus Boogie: when and where is that again?
07:51 autrijus I wonder if I can borrow a pcmcia 802.11b card from someone here.
07:51 Boogie autrijus: it will be in a café, somewhere in the city
07:51 autrijus the ndis centrino thing is hating the network here.
07:51 autrijus Boogie: sure, I'd like to go
07:53 Boogie autrjius: it' in awp status report #6: "Early arrivals on wednesday can meet at the 5uper.net MedienKunstCafe."
07:54 lathos autrijus: Did you check out buscador?
07:54 autrijus Boogie: I'll talk with domm and see what the arrangement would be
07:54 autrijus lathos: yes. it looks nifty. I also remember seeing it before.
07:54 Boogie autrijus: OK, domm knows the place.
07:55 lathos It's now reading p6i, p6l, p6c and p5p.
07:55 * nothingmuch wonders why apple is changing to intel based CPUs, when for years they have claimed that PPCs process certain things much better, like adobe photoshop benchmark, but the adobe reps still say it's a good switch
07:55 nothingmuch i can understand why it can be good
07:55 autrijus nothingmuch: the Acceloraptor beat the Velociraptor.
07:55 nothingmuch but why couldn't adobe run faster on wintels if it was already good?
07:56 Boogie autrijus: I think I'll be there about 16.30, (my train arrives at 15.50), but don't know if I'll stay there, or look around in the museum. I'm sure, that I'll be there about 18.00. Just to know when you don't want to come. ;)
07:56 chromatic autrijus, stripping out the punctuation means that :bar(7) doesn't set $.bar in the parameter list.
07:57 nothingmuch autrijus: no further objections to the Eval interpretation?
07:57 autrijus chromatic: huh? shouldn't both strip to "bar"?
07:57 chromatic They do.
07:57 chromatic This is the part that confuses me.
07:57 autrijus chromatic: I could help more once I found a pcmcia card and don't have to use win32 :-/
07:57 autrijus nothingmuch: nope. you did well
07:58 nothingmuch okay, darcs pushing
07:58 chromatic With no passed-in value, $.bar keeps the default value just fine.
07:58 lightstep has joined #perl6
07:58 chromatic With a passed-in value, it still keeps the default value iff we strip the punctuation.
07:59 chromatic If we don't strip the punctuation (or just strip the sigil), it takes the passed-in value.
08:00 lightstep nothingmuch, ping
08:01 nothingmuch lightstep: pong
08:06 nnunley_ has quit IRC ("This computer has gone to sleep")
08:09 nothingmuch autrijus: lightstep thinks that import RWS is not needed
08:09 nothingmuch please fight to the death, and whoever is sexier in a bikini - that's whose opinion I will listen to
08:09 nothingmuch let me just whip up the MudPit monad
08:09 nothingmuch which accepts two parameters, but only one can ever come out! BUAHAHAHA
08:10 osfameron has joined #perl6
08:10 gaal|work has joined #perl6
08:11 lightstep join #touch-my-monads
08:12 nothingmuch oops, finally finished darcs push
08:14 chromatic has quit IRC ("sleep")
08:15 lightstep bye, i have to go learning some
08:16 lightstep has quit IRC ()
08:16 nothingmuch ciao
08:17 elmex has joined #perl6
08:22 SM_ax has joined #perl6
08:26 nothingmuch why is the google logo different today?
08:28 osfameron frank lloyd wright apparently
08:29 nothingmuch is it his brithday anneversary? like, 100 years or something?
08:30 xinming has quit IRC (Client Quit)
08:39 lightstep has joined #perl6
08:40 lightstep the hell with dirichlet's problem; programming is much better
08:41 nothingmuch hola lightstep
08:41 nothingmuch so what does touch-my-monads serve?
08:41 nothingmuch what purpose
08:41 nothingmuch and why are all the haskell people sex maniacs?
08:44 knewt has quit IRC ("off to wein")
08:44 lightstep i can't find the logs now. there was a monogamy/sex discussion in #haskell two days ago (i think), and they created #touch-my-monads to move the discussion there. it didn't help
08:44 lightstep they kept offtopicing in #haskell
08:47 f0rth has quit IRC (Remote closed the connection)
08:51 vcv- has joined #perl6
08:52 nnunley has joined #perl6
08:53 QtPlatypus ?eval "/match" ~~ m{^/ {say "Match"}}
08:53 evalbot6 Parrot VM: PANIC: Out of mem! C file src/memory.c, line 45 Parrot file (not available), line (not available)  We highly suggest you notify the Parrot team if you have not been working on Parrot.  Use parrotbug (located in parrot's root directory) or send an e-mail to perl6-internals@perl.org. Include the entire text of this error message and the text of the script that generated the error.  If you've made any modifications to Parrot, please describe them
08:53 QtPlatypus Ok that definitily doesn't work.
08:54 lightstep 3 days ago, from 11:37:38 to 13:12:11 utc
08:54 * QtPlatypus looks confused at lightstep
08:55 wilx has joined #perl6
08:57 lightstep the discussion that led to #touch-my-monads
08:57 elmex has quit IRC (Remote closed the connection)
08:58 drbean Are nested braces not allowed?
08:58 elmex has joined #perl6
08:59 arcady QtPlatypus people have been saying that evalbot has problems with ^ and quoting
08:59 dada has joined #perl6
09:00 QtPlatypus I don't think its eval bot.  I think its including code inside the rule
09:00 arcady ?eval "/match" ~~ m{/ {say "Match" } }
09:00 evalbot6 Parrot VM: PANIC: Out of mem! C file src/memory.c, line 45 Parrot file (not available), line (not available)  We highly suggest you notify the Parrot team if you have not been working on Parrot.  Use parrotbug (located in parrot's root directory) or send an e-mail to perl6-internals@perl.org. Include the entire text of this error message and the text of the script that generated the error.  If you've made any modifications to Parrot, please describe them
09:00 arcady it's both
09:00 QtPlatypus Is that feature even implemented yet?
09:01 drbean ?eval "/match" ~~ m[^/ {say "Match"}]
09:01 evalbot6 Parrot VM: PANIC: Out of mem! C file src/memory.c, line 45 Parrot file (not available), line (not available)  We highly suggest you notify the Parrot team if you have not been working on Parrot.  Use parrotbug (located in parrot's root directory) or send an e-mail to perl6-internals@perl.org. Include the entire text of this error message and the text of the script that generated the error.  If you've made any modifications to Parrot, please describe them
09:01 arcady it's also that evalbot doesn't allow "say"
09:01 arcady or any side-effectful things
09:01 drbean Uh? It was OK on my machine!
09:02 arcady for me it says "MkMatch {matchOk = False, matchFrom = 0, matchTo = 0, matchStr = "", matchSubPos = [], matchSubNamed = {}}"
09:02 QtPlatypus arcady: Are you using embedded parrot?
09:03 drbean I get an unexpected "}" error.
09:03 arcady yes
09:04 arcady other regexpy things work fine
09:04 arcady ?eval "foo" ~~ /foo/
09:04 evalbot6 Parrot VM: PANIC: Out of mem! C file src/memory.c, line 45 Parrot file (not available), line (not available)  We highly suggest you notify the Parrot team if you have not been working on Parrot.  Use parrotbug (located in parrot's root directory) or send an e-mail to perl6-internals@perl.org. Include the entire text of this error message and the text of the script that generated the error.  If you've made any modifications to Parrot, please describe them
09:04 arcady evalbot doesn't like regexps
09:04 arcady it needs to be rebuilt, I think
09:05 * QtPlatypus wonders if my first experement killed it
09:14 Jouke has joined #perl6
09:14 Jouke has left
09:23 QtPlatypus ?eval my $x=1
09:23 evalbot6 \1
09:23 QtPlatypus Ok the bot isn't dead.
09:27 domm fyi: the wireless at autrijus hotel stoped working.
09:27 domm he's now on the way to a cafe with (hopefully) working (and free) wireless
09:28 QtPlatypus Thanks domm
09:31 meppl has joined #perl6
09:54 xern has joined #perl6
09:54 vcv-- has quit IRC (Read error: 54 (Connection reset by peer))
09:55 bloves has quit IRC (Read error: 54 (Connection reset by peer))
10:02 mj41 has joined #perl6
10:03 vcv- has quit IRC (Read error: 60 (Operation timed out))
10:03 iblechbot has joined #perl6
10:19 osfameron_ has joined #perl6
10:20 osfameron has quit IRC (Read error: 113 (No route to host))
10:23 * nothingmuch makes bubbley sounds as he metaphorically drowns in ld's stderr output
10:26 kungfuftr anyone recommend japanese fonts for use with vim/gvim (specifically sjis encodings)
10:26 kungfuftr ?
10:26 nothingmuch japanese perl 6?
10:27 arcady hey, p6 is the only language that supports arbitrary unicode as identifiers
10:27 lathos Doesn't Java?
10:27 lathos Or, indeed, Perl 5.
10:27 arcady nope
10:29 osfameron_ VBScript might, bizarrely
10:29 lathos Depends how you're defining "arbitrary unicode". You still need a \p{word} as the first character of an identifier in p5.
10:30 osfameron_ [ .o( I am a valid VBScript identifier, oh yes!) ]
10:30 jabbot osfameron_: 1 日是星期三
10:30 arcady java complains loudly
10:31 arcady and I've tried all of p5, python, ruby
10:31 lathos I've used Unicode identifiers in Perl 5.
10:31 arcady and only pugs lets me have a $переменная
10:31 lathos Hell, I might even have implemented them.
10:31 jabbot lathos: 1 日是星期三
10:32 autrijus_ has joined #perl6
10:32 autrijus_ woot. feather is much faster
10:33 QtPlatypus Hi autrijus_
10:33 autrijus_ hi QtPlatypus
10:34 lathos perldoc utf8: "One can have Unicode in identifier names, but not in package/class or subroutine names."
10:37 arcady ah, you have to use utf8 first
10:37 svnbot6 r4456, autrijus++ | * hw2005.txt - Allison's reviews.
10:37 lathos At the moment, yes.
10:39 lathos Also, why is telling me about something period three?
10:39 lathos s//jabbot/
10:42 autrijus lathos: it is telling you that the first day of this month is wednesday
10:42 autrijus (star period three) == "wednesday". go figure
10:42 autrijus and why it goes berserk is anyone's guess... but blaming gugod is always the right thing to do
10:43 autrijus gugod: why does jabbot go berserk?
10:43 lathos Funny, I assumed Chinese would use the elementals, like Japanese.
10:44 lathos Wednesday is wood-day.
10:45 autrijus_ nah. that's a .jp thing.
10:46 autrijus_ in chinese it's either "star period three"
10:46 autrijus_ or "mass day plus three"
10:46 autrijus_ both forms are recognised
10:47 autrijus_ although in .cn it's simply known as "weekday three".
10:47 autrijus_ (which is also recognised in .tw.)
10:47 autrijus_ ...actually if you write "wood-day" .tw people will also recognise it. multiculturalism and all.
10:48 integral chinese and japanese use the same characters for these things?
10:48 lathos Sort of.
10:48 autrijus_ integral: yes. it's an abstract layer over spoken languages.
10:48 autrijus_ think DBI
10:48 lathos I can read a bit of Chinese, but I can't pronounce it.
10:48 integral heh,  same interface,  but different SQL
10:48 autrijus_ ditto for me and Japanese.
10:48 autrijus_ right. a sort of metalanguage thing.
10:49 lathos Also Chinese uses characters for everything, but Japanese has a separate grammar layer, so my Chinese grammar is always a bit hazy.
10:49 autrijus_ you can use Han characters to encode languages of wildly different grammar and phonetics etc.
10:49 autrijus_ lathos: Mandarin also has a separate grammar layer...
10:49 autrijus_ Cantonese also. Holok, Hakka also
10:49 lathos But it's still expressed in Han?
10:49 autrijus_ lathos: the grammar layer is separate from ideoglyphs.
10:49 autrijus_ ideographs, even
10:49 lathos Yes, but it's still kanji. So I can't easily tell the difference.
10:50 lumi It's a positional grammar?
10:50 autrijus_ lumi: largely yes.
10:50 broquaint has joined #perl6
10:50 lathos I mean inflections and things like that.
10:50 autrijus_ but I can only speak about Mandarin here. other "chinese" languages has different grammar.
10:52 autrijus_ needs some brain metaprogramming to get those morphology functors encoded.
10:52 lathos It always confuses the Chinese guys here when I can read their books and notes and things, especially if I can only follow the gist, not the full meaning.
10:52 autrijus_ lathos: it further dilutes things because .tw's younger generation imports nouns and verbs en masse from japanese.
10:52 autrijus_ (their kanji forms that is)
10:53 autrijus_ so valid japanese kanji fragments became valid -- but pronounced in mandarin
10:54 arcady then there are the japanese words that mean something different in chinese, and vice versa
10:56 arcady and then there's the traditional vs. simplified issue...
10:58 lathos Yeah, someone told me about the .hk people inventing a few kanji of their own that the .tw people can't read, and vice versa. ("woman" with a stroke the middle of the body, for instance.)
10:59 arcady that's because cantonese is primarily a spoken language
10:59 arcady and the written form is basically the same as written mandarin
11:00 arcady but then online chat comes in and messes everything up...
11:00 lightstep has quit IRC ("free.org.il")
11:04 elmex has quit IRC ("leaving")
11:06 xinming has joined #perl6
11:20 Juerd has joined #perl6
11:20 dkf has joined #perl6
11:24 dkf has quit IRC (Client Quit)
11:30 vcv-- has joined #perl6
11:31 vcv- has joined #perl6
11:33 theorbtwo has joined #perl6
11:39 * nothingmuch needs a nap
11:51 nothingmuch autrijus: hw2005 says "We use the builting Haskell parser" - extra g
12:00 vcv- has quit IRC (Read error: 60 (Operation timed out))
12:02 Limbic_Region has joined #perl6
12:04 dkf has joined #perl6
12:10 dkf has quit IRC ()
12:13 zeromode has joined #perl6
12:19 dkf has joined #perl6
12:20 metaperl has quit IRC (Read error: 110 (Connection timed out))
12:23 meppl has quit IRC (Remote closed the connection)
12:50 dkf has quit IRC ()
12:50 vcv-- has quit IRC (Read error: 54 (Connection reset by peer))
12:55 khisanth_ has joined #perl6
12:58 lightstep has joined #perl6
13:02 nnunley has quit IRC ("Leaving")
13:02 nnunley has joined #perl6
13:10 Khisanth has quit IRC (Read error: 110 (Connection timed out))
13:20 * nothingmuch goes home
13:21 Enveigler1 has joined #perl6
13:22 khisanth_ has quit IRC (Read error: 104 (Connection reset by peer))
13:28 Enveigler has joined #perl6
13:28 svnbot6 r4457, iblech++ | * Pugs.Eval -- Silenced a warning about an unused parameter.
13:28 svnbot6 r4457, iblech++ | * Pugs.Parser -- Extremely minor cosmetical fix.
13:28 svnbot6 r4457, iblech++ | * READTHEM -- Added my favourite Monad tutorial :)
13:30 nothingmuch has quit IRC ()
13:32 mrborisguy has joined #perl6
13:33 dkf has joined #perl6
13:36 Enveigler1 has quit IRC (Read error: 60 (Operation timed out))
13:36 scook0 has quit IRC ("Leaving")
13:37 lightstep has quit IRC (Read error: 60 (Operation timed out))
13:37 mj41 ?eval { my $a; eval 'aaaa'; ( $! ) ?? say 1 :: $a = ' ';  }
13:37 evalbot6 Error: No compatible subroutine found: "&say"
13:37 mj41 ?eval { my $a; eval 'aaaa'; ( $! ) ?? 1 :: $a = ' ';  }
13:38 evalbot6 Error: Can't modify constant item: VInt 1
13:39 vcv- has joined #perl6
13:40 theorbtwo mj41: You can't say things from evalbot, only return things.
13:41 QtPlatypus theorbtwo: About evalbot, ether its regex support is broken, or I broke its regex engion.
13:42 theorbtwo Have you tried doing whatever it is you're doing under a real pugs?
13:42 QtPlatypus Yes
13:43 QtPlatypus ?eval "foo" ~~ /foo/
13:43 evalbot6 Parrot VM: PANIC: Out of mem! C file src/memory.c, line 45 Parrot file (not available), line (not available)  We highly suggest you notify the Parrot team if you have not been working on Parrot.  Use parrotbug (located in parrot's root directory) or send an e-mail to perl6-internals@perl.org. Include the entire text of this error message and the text of the script that generated the error.  If you've made any modifications to Parrot, please describe them
13:45 pupilzeng has joined #perl6
13:47 mrborisguy random question:  is there any method for classes that is similar to java's .tostring() ?
13:47 gaal|work .perl
13:48 mrborisguy so i can use 'say $class' and it'll print out $class.?tostring()
13:48 mrborisguy can i override .perl?
13:48 gaal|work not sure, let's see :)
13:49 wolverian pugs doesn't have anonymous classes yet apparently
13:49 theorbtwo mrborisguy: You should be able to write multi sub prefix:<~>(MyClass $x), but it's not there yet.
13:50 gaal|work ?eval class O {sub perl(){return "oooo"}}my $o = O.new; $o.perl
13:50 evalbot6 'oooo'
13:50 gaal|work however:
13:50 theorbtwo Ah, not the error I thought you were talking about, Qt.
13:50 gaal|work class O {sub perl(){return "oooo"}}my $o = O.new;\ ($o,1,2).perl
13:51 gaal|work ?eval class O {sub perl(){return "oooo"}}my $o = O.new; ($o,1,2).perl
13:51 evalbot6 '(\\{obj:O}, 1, 2)'
13:51 xinming has quit IRC (Remote closed the connection)
13:51 mrborisguy theorbtwo:  yeah, that's what I had in mind.  thanks for the info
13:51 gaal|work so this doesn't work yet
13:52 theorbtwo ?eval class O {method perl(O $x){return "oooo"}}my $o = O.new; ($o,1,2).perl
13:52 evalbot6 '(\\{obj:O}, 1, 2)'
13:52 theorbtwo Nope.
13:52 gaal|work nor with 'multi method'
13:53 mrborisguy i'm thinking more like say $o; yields the text i want, not say $o.perl;
13:53 mrborisguy i think
13:55 QtPlatypus ?eval class O {method perl(O $x:){return "oooo"}}my $o = O.new; ($o,1,2).perl
13:55 evalbot6 '(\\{obj:O}, 1, 2)'
13:55 QtPlatypus Interesting.
13:57 hlen has joined #perl6
13:57 cjeris has joined #perl6
14:01 SM_ax has quit IRC ("ChatZilla 0.9.61 [Mozilla rv:1.7.7/20050420]")
14:05 batdog|gone is now known as batdog
14:07 mrborisguy what's the point of 'roles'
14:08 mrborisguy i guess i don't understand them...
14:08 mrborisguy i'm reading through the syn, but it doesn't really make sense to me what they're used for
14:09 Limbic_Region gaal|work - it turns out the want tests that I was going to write (or most of them anyway) have already been written and marked "to do"
14:10 * QtPlatypus would also apprechate a explination of Roles.
14:10 gaal|work for caller? really? cool, where are they?
14:10 gaal|work or for %*SIG? also cool :)
14:12 arcady roles are like interfaces
14:12 arcady only with code in them
14:13 mrborisguy oh
14:13 mrborisguy aren't superclasses like interfaces with code in them?
14:13 arcady so a role provides some methods for your class
14:13 arcady and in turn uses methods from your class
14:13 arcady so if you have a class that implements []
14:13 arcady and does the ListFunctions role
14:13 arcady then it gets map and grep and such
14:14 wolverian mrborisguy: here's the original traits (roles in perl6) paper: http://www.cse.ogi.edu/~black/publications/TR_CSE_02-012.pdf
14:14 wolverian it explains the motivations for roles pretty well
14:15 mrborisguy i'll probably read that sometime today
14:15 mrborisguy thanks
14:15 wolverian you're welcome
14:16 mrborisguy for me... this is a lot of stuff to absorb... you guys are always a big help
14:16 lumi Roles are like traits but with sate in them, no?
14:16 mrborisguy (most of the stuff i read, i never really fully understand until i have a reason to use it)
14:16 lampus_ has joined #perl6
14:16 lumi State
14:17 wolverian lumi: if you mean the traits in that paper, yes
14:17 wolverian perl6 traits have nothing to do with roles or the traits in the original traits paper, really :)
14:17 wolverian which is all a bit confusing!
14:17 lumi I meant like in Smalltalk
14:17 wolverian yes, probably.
14:17 wolverian (I'm not familiar with smalltalk.)
14:17 lumi Well, not like in Smalltalk, but like Smalltalk with traits
14:17 mrborisguy so the traits in that paper are like the roles in p6, correct?
14:18 mrborisguy (so i have some context when i read the paper)
14:18 wolverian mrborisguy: except they don't carry state
14:18 xinming has joined #perl6
14:18 mrborisguy carry state meaning what?
14:18 eric256_ has joined #perl6
14:18 arcady meaning instance-variables
14:18 mrborisguy okay
14:18 eric256_ hello
14:19 mrborisguy hey
14:19 eric256_ any ideas what happened to the journal?
14:20 eric256_ used to be everyday....now twice a week, i think i am suffereing withdrawls
14:20 eric256_ ;)
14:22 * QtPlatypus suspects that autrijus_ hasn'y been able to update it while they was flying around
14:22 mrborisguy could be
14:22 eric256_ ahh flying. that would explain it
14:23 vcv-- has joined #perl6
14:25 flgr_ has quit IRC (Read error: 104 (Connection reset by peer))
14:25 gaal|work i just read the other day that one of the large airlines got approval to install wireless lan equipment on a plance from the FAA.
14:26 mrborisguy that'd be sweet!
14:26 eric256_ multiple levels of inheritances seems broken
14:27 theorbtwo gaal -- Lufthanza has been flying transatlantic flights with 802.11 for a while.
14:27 arcady I think the DHS claims that in flight wireless will help terrorists
14:28 arcady or was that in-flight cellphones?
14:28 eric256_ ?eval class A { method test { 1 }; } class B is A { method test2 (2) }; my $x = B.new; $x.does(A);
14:28 evalbot6 Error:  unexpected "{" expecting trait, ";" or end of input
14:28 mrborisguy i think the HUAC claimed everybody was a communist, too
14:28 lampus has quit IRC (Read error: 110 (Connection timed out))
14:28 eric256_ ?eval class A { method test { 1 }; } class B is A { method test2 () {2} }; my $x = B.new; $x.does(A);
14:28 evalbot6 bool::false
14:28 eric256_ ?eval class A { method test { 1 }; } class B is A { method test2 () {2} }; my $x = B.new; $x.isa(A);
14:28 evalbot6 bool::false
14:29 eric256_ am i missing something here?
14:29 * theorbtwo donno.
14:30 mrborisguy i would think it wouldn't do A, but it should return true for isa(A)
14:30 mrborisguy (in my foggy opinion)
14:30 wolverian both should return true
14:31 eric256_ ?eval class A { has $.testing is rw; method test { 1 }; } class B is A { method test2 () {2} }; my $x = B.new; $x.testing = 5;
14:31 evalbot6 \5
14:31 mrborisguy i guess maybe it's time to write a test?
14:32 eric256_ ?eval class A { method test { 1 }; } class B is A { method test2 () {2} } class C is B { method test3 () {3} }; my $x = C.new; $x.testing = 5;
14:32 evalbot6 Error: No compatible subroutine found: "&testing"
14:32 eric256_ there is the bug i was running into...just had to get the right combination of stuff.
14:32 eric256_ arg. or not.
14:32 eric256_ ?eval class A { has $.testing is rw; method test { 1 }; } class B is A { method test2 () {2} } class C is B { method test3 () {3} }; my $x = C.new; $x.testing = 5;
14:32 evalbot6 \5
14:32 eric256_ thats odd. i've got something very much like that, but i get the no compatible subroutine error.
14:33 drL`blok has joined #perl6
14:33 drL`blok has left
14:34 drbean read acme's inflight use.perl post: http://use.perl.org/~acme/journal/24067
14:34 eric256_ i just commited a new units.p6 to examples. could someone run it...the accessor doesn't seem to be avialbe all the time. but i have no idea why not.  i'm hoping i've just done something stupid in the code because the simple case above works.
14:35 eric256_ ?eval class A { has $.testing is rw; method test { 1 }; } class B is A { method test2 () {2} } class C is B { method test3 () {3} }; sub tester (C $x) {$x.testing}; my $x = C.new; tester($x);
14:35 evalbot6 \undef
14:35 eric256_ ?eval class A { has $.testing is rw; method test { 1 }; } class B is A { method test2 () {2} } class C is B { method test3 () {3} }; sub tester (C $x) {$x.testing}; my $x = C.new; $x.testing = 5; tester($x);
14:35 evalbot6 \5
14:35 QtPlatypus eric256_: Where do you get your units infomation from?  I'm working on a units system that uses the same database as units(1)
14:36 eric256_ could it be only in an overloaded opertor? that doesn't make any sence.
14:36 wolverian sense.
14:36 eric256_ just playing with the basic overloading QtPlatypus i do'nt have any source of conversion data
14:36 eric256_ thanks wolverian *sense
14:37 QtPlatypus eric256_: Nods
14:42 eric256_ lol. i found it! i'm so happy. it is the method chaining that is dieing.  $a.to($b).test()  test() is getting called on something else. it would realy be handy if the error message coudl state the long name of the sub it was looking for. not sure thats possible. but undefined subroutine test<X, Y> might have been immensly helpful here
14:42 svnbot6 r4458, eric256++ | units.pm - Testing some stuff with overloaded operators.
14:44 Limbic_Region gaal and or gaal|work t/builtins/want.t
14:45 Limbic_Region not sure if they cover any/all of what you were interested in, but it does for me
14:46 pdcawley has joined #perl6
14:46 gaal|work oh, L~R, thanks, but i was looking for caller, not want.
14:47 gaal|work currently it works a little like p5's, not like S06 says it should
14:47 Limbic_Region I was thinking you were thinking I was I had a few more tuits then I actually had
14:47 theorbtwo I'm going to fix a few nitpicky details in units.
14:47 elmex has joined #perl6
14:47 theorbtwo This really wants meta-model stuff to read a units.dat and dynamicly create the approps bits.
14:48 * pdcawley does the dance of someone who's worked out how to write call/cc in perl 6. Assuming always that p6 doesn't use escape continuations to return through.
14:48 Limbic_Region gaal|work but A06 has this to say
14:48 eric256_ hang on. i'm about to recommit an actual working copy
14:48 Limbic_Region "The want function is really just the caller function in disguise."
14:48 eric256_ ;)
14:48 gaal|work izzit? :)
14:48 gaal|work i'll read about that then.
14:49 Limbic_Region that's why I wasn't sure how much of what I wanted to do blead over into your focus point
14:49 eric256_ some of the nit picky stuff might be hacks around bugs theorbtwo ... i ran into some odd obstacles i'm going to try to docment them in it, then make sure there are already tests in place for those. feel free to hack at it though
14:49 pdcawley How evil is this: sub call_cc (Code $code) { $code(-> $r { return $r }) }
14:50 lathos Ouch.
14:50 theorbtwo Oh.  I was just going to change some of the odd abreviations to standard ones, and fix postfix:<~> to prefix:<~>.
14:51 * pdcawley grins. "I love that it's so easy"
14:51 theorbtwo I'll wait until you check in your doc patches.
14:51 dada has quit IRC ("zu spaet um makellos zu sein")
14:52 Limbic_Region pdcawley - I am not sure I get it.  You start out with some code ref, you pass it to call_cc which executes the code ref and passes it a pointy sub that returns itself?
14:52 svnbot6 r4459, eric256++ | units.p6 - it actualy works!. Well for a limited set of feet and meters
14:53 pdcawley The pointy sub returns to the place that call_cc returns.
14:53 gaal|work L~R, thanks for that, the Apo has lots of stuff the Syn neglets to mention.
14:53 pdcawley So, your supplied coderef gets passed a subroutine that returns to the point at which call_cc was called.
14:54 pdcawley Which is equivalent to a continuation.
14:54 mrborisguy is that not the same as 'return $code'?
14:54 pdcawley No.
14:54 mrborisguy return $code() i mean
14:54 pdcawley No.
14:55 pdcawley Because you can capture the continuation and take it multiple times.
14:55 Limbic_Region pdcawley - is there anything special about $code?
14:55 mrborisguy way over my head i think... ;)
14:55 pdcawley It's a chunk of code that takes a continuation as an argument. Can do whatever you like.
14:55 Limbic_Region the reason I ask is this - the pointy sub being passed as an argument by itself doesn't do anything unless $code acts on it right?
14:55 pdcawley Yes.
14:55 Limbic_Region ok
14:55 Limbic_Region now I get it
14:56 Limbic_Region In order to fully grasp the evilness of it though, I would need to see a more in depth example
14:56 eric256_ theorbtwo go ahead and make your changes.... ~ is prefix not postfix? no wonder that part never worked ;)
14:56 eric256_ i thought i took that straigh from an example too
14:57 pdcawley my $continuation; Do stuff, somewhere deep in a loop: call_cc { $continuation = $^cc }
14:57 theorbtwo eric256_: It's prefix.  OTOH, it still won't work -- it's unimplemented, because it makes for bad circular dependencies.
14:57 eric256_ lol
14:58 pdcawley One neat use of continuations is nondeterministic programming, but this channel is a little narrow for a demonstration.
14:58 Limbic_Region and to resume - $continuation(); right?
14:58 pdcawley Yes.
14:58 Limbic_Region brilliant - does it work?
14:58 pdcawley The fun begins when you implement things like 'try'.
14:58 pdcawley I dunno if it works in pugs -- can't get it compiled on Tiger.
14:58 Limbic_Region you haven't requested a feather account yet?
14:59 theorbtwo Oh, blast.
14:59 Shachaf has joined #perl6
14:59 pdcawley And I don't know if it's supposed to work in perl 6 anyway. I'm not sure whether larry's ruled on what sort of continuations are used by a return from a pointy sub.
14:59 pdcawley I really hope it uses full continuations and not escape (one shot) continuations.
15:00 Limbic_Region well - AES17 hasn't been written yet
15:00 theorbtwo Can't make a sub m; it tries to do a match.
15:00 pdcawley LR: Not yet.
15:00 theorbtwo Or, at least, can't call a sub m parenlessly.
15:00 pdcawley Ah, but the semantics of -> ... { return } were described in a very early apocalypse.
15:00 Limbic_Region unfortunately - when decisions are rendered on p6l they are not immediately annotated in the appropriate docs
15:00 Limbic_Region so I have no idea either
15:00 pdcawley But they didn't say whtehr you can return multiple times.
15:00 * Limbic_Region really would love to see AES17
15:01 * theorbtwo checks what 17 is.
15:01 pdcawley Remind me: 17?
15:01 theorbtwo Threads.
15:01 Limbic_Region coroutines
15:01 Limbic_Region continuations
15:01 osfameron_ p6bible doesn't have stubs for unwritten AESs?
15:01 theorbtwo Subchapters in 3rd ed: "The Process Model", "The Thread Model".
15:01 theorbtwo No, osfameron.
15:02 Limbic_Region lots of good stuff
15:02 Khisanth has joined #perl6
15:02 pdcawley Remind me who I ask for a feather account?
15:02 * Limbic_Region is pulling up the link to p6 timeline by A
15:02 Limbic_Region Juerd
15:02 pdcawley feather.perl.nl right?
15:02 theorbtwo Juerd, by email.
15:02 theorbtwo feather.perl6.nl, I think.
15:03 pdcawley Of course, if someone can work out how to build ghc under Tiger...
15:03 Limbic_Region ahh, here we go - http://perlmonks.org/index.pl?node_id=332117
15:03 theorbtwo pdcawley: It's in the readme of pugs, I think.
15:03 Limbic_Region pdcawley - gcc 4.0 is a known problem
15:03 Limbic_Region I think merlyn is/was in the same boat
15:03 pdcawley Hmm... I shall go look.
15:04 * pdcawley did gcc_select 3.3 and it still broke.
15:04 theorbtwo Have you tried asking #haskell?
15:04 sri_ pdcawley: use darwinports
15:04 pdcawley sri_ I *am* using darwinports.
15:04 sri_ works perfectly here
15:04 pdcawley Up to date and everything.
15:05 pdcawley At least, I thought it was up to date...
15:05 sri_ took 5 hours to compile but no problems
15:05 Limbic_Region merlyn had a linking issue
15:05 pdcawley I didn't get as far as a linking issue. Complained about out of spec code or something.
15:06 Limbic_Region theorbtwo - WRT stubs for unwritten stuff in Perl6::Bible ( see http://perlmonks.org/index.pl?node_id=332117 )
15:08 Limbic_Region I had mentioned to Luke I would find stuff in the existing Ss that was missing information per that timeline but haven't found the tuits
15:08 BChrisB has joined #perl6
15:09 theorbtwo pdcawley: Can you put up the error messages?
15:09 theorbtwo perbot nopaste
15:09 Limbic_Region perlbot nopaste
15:09 perlbot Paste your code here and #<channel> will be able to view it: http://sial.org/pbot/<channel>
15:09 pdcawley theorbtwo: I think I managed to get a slightly confuzzled darwinports.
15:09 * Limbic_Region hands theorbtwo an inline speel checker
15:09 pdcawley Trying again.
15:10 * pdcawley can't remember, is there a p6evalbot on here?
15:10 Limbic_Region ?eval 'foo'
15:10 evalbot6 'foo'
15:10 theorbtwo ?eval ?eval 'can I eval'
15:10 evalbot6 bool::false
15:10 theorbtwo Sorry, it's not here.
15:11 pdcawley Dang.
15:11 pdcawley Wanted to check that return behaviour.
15:11 Limbic_Region TIAS
15:11 pdcawley TIAS?
15:11 Limbic_Region perlbot TIAS
15:11 perlbot Try It And See: the best way to learn if something works.
15:12 Limbic_Region the evalbot is in safemode
15:12 Limbic_Region not sure what theorbtwo was talking about
15:12 * pdcawley grins. Well, if darwinports succeeds.
15:12 mrborisguy questionable method if you're talking about a growing language, i'd say
15:12 theorbtwo ?eval '"Is pdcawley joking?  " ~ [<no yes>].[rand 2];
15:12 evalbot6 Error:  unexpected end of input expecting "'", "\\", "$!", "$/" or "$"
15:12 theorbtwo ?eval "Is pdcawley joking?  " ~ [<no yes>].[rand 2];
15:12 evalbot6 'Is pdcawley joking?  no'
15:12 eric256_ ?eval "Is pdcawley joking?  " ~ [<no yes>].pick;
15:12 evalbot6 'Is pdcawley joking?  yes'
15:12 mrborisguy ?eval "Is pdcawley joking?  " ~ <no yes>.pick;
15:12 evalbot6 'Is pdcawley joking?  no'
15:13 khisanth_ has joined #perl6
15:13 pdcawley ?eval $f = sub { return -> { 42 } }; say 'Boo'; $f()
15:13 evalbot6 Error: Undeclared variable: "$f"
15:13 pdcawley ?eval my $f = sub { return -> { 42 } }; say 'Boo'; $f()
15:13 evalbot6 Error: No compatible subroutine found: "&say"
15:13 eric256_ you can't say on the bot. counts as IO
15:13 pdcawley Ah.
15:14 dkf has quit IRC ()
15:14 pdcawley ?eval my@ary; my $f = sub { return -> { 42 } }; @ary[-1]='Boo'; $f(); @ary
15:14 evalbot6 Error: Modification of non-creatable array value attempted: -1
15:14 Limbic_Region ?eval my $f = sub { return -> { 42 } }; my $foo = 'asdf'; $f() ~ $foo;
15:14 evalbot6 '<SubPointy(<anon>)>asdf'
15:14 Limbic_Region interesting
15:15 pdcawley ?eval my@ary; my $f = sub { return -> { 42 } }; push @ary='Boo'; $f(); @ary
15:15 evalbot6 ['Boo']
15:15 pdcawley Hmm... that's *very* weird.
15:15 pdcawley ?eval my@ary; my $f = sub { return -> { 42 } }; push @ary='Boo'; $f.(); @ary
15:15 evalbot6 ['Boo']
15:15 pdcawley ?eval my@ary; my $f = sub { return -> { 42 } }; push @ary='Boo'; &$f(); @ary
15:15 evalbot6 ['Boo']
15:16 eric256_ whats weird about it?
15:16 pdcawley Ah. I wrote it wrong.
15:16 Limbic_Region ?eval my@ary; my $f = sub { return sub { return 42; }; }; push @ary='Boo'; $f(); @ary;
15:16 evalbot6 ['Boo']
15:16 eric256_ ?eval 1;return 2; 3;
15:16 evalbot6 Error: cannot return() outside a subroutine
15:17 theorbtwo ?eval {1; return 2; 3}
15:17 evalbot6 Error: cannot return() outside a subroutine
15:17 Khisanth has quit IRC (Nick collision from services.)
15:17 theorbtwo Hey!  I thought bare blocks were supposed to count!
15:17 khisanth_ is now known as Khisanth
15:17 theorbtwo ?eval -> {1; return 2; 3}
15:17 evalbot6 Error: cannot return() outside a subroutine
15:17 theorbtwo ?eval (sub {1; return 2; 3}).()
15:17 evalbot6 2
15:17 pdcawley ?eval my @ary; sub foo { return -> {return 42}}; my $f = foo(); push @ary, 'Boo'; $f(); @ary
15:17 evalbot6 Error: cannot return() outside a subroutine
15:17 pdcawley Bugger.
15:18 theorbtwo OK, pdc, that's certianly a bug.
15:18 theorbtwo Both those returns are in subs.
15:18 pdcawley Actually, they're in blocks, which aren't Subs.
15:18 Limbic_Region pugs bug not necessarily a p6 bug
15:18 Limbic_Region ;-)
15:18 lumi ?eval my@ary; my $cc=sub { return ->{return 42} }; my $f = $cc(); push @ary, 'Boo'; $f(); @ary
15:18 evalbot6 Error: cannot return() outside a subroutine
15:19 pdcawley A block returns to the same point that the sub in which it was created would return to.
15:19 lumi ?eval my@ary; sub cc { return ->{return 42} }; my $f = cc(); push @ary, 'Boo'; $f(); @ary
15:19 evalbot6 Error: cannot return() outside a subroutine
15:19 ninereasons has quit IRC ("Leaving")
15:19 lumi :/
15:19 QtPlatypus and an eval bot bug may not be a pugs error.
15:19 theorbtwo ?$*PUGS_VERSION
15:19 theorbtwo ?eval $*PUGS_VERSION
15:19 evalbot6 Error: Undeclared variable: "$*PUGS_VERSION"
15:19 lumi No beautiful CCs for the wicked
15:19 lumi ?$?PUGS_VERSION
15:19 mkirank has joined #perl6
15:20 Limbic_Region forgot eval
15:20 ninereasons has joined #perl6
15:20 lumi Rite
15:20 lumi ?eval $?PUGS_VERSION
15:20 Limbic_Region ?eval $?PUGS_VERSION
15:20 evalbot6 \'Perl6 User\'s Golfing System, version 6.2.6, June 2, 2005 (r4459)'
15:20 evalbot6 \'Perl6 User\'s Golfing System, version 6.2.6, June 2, 2005 (r4459)'
15:20 pdcawley utils/PrimPacked.lhs:244:0:
15:20 pdcawley    Warning: foreign declaration uses deprecated non-standard syntax
15:20 pdcawley utils/PrimPacked.lhs:248:0:
15:20 pdcawley    Warning: foreign declaration uses deprecated non-standard syntax
15:21 pdcawley ?eval sub foo { return -> { 42 } } ; sub bar ($f) { $f(); 84}; bar(foo())
15:21 evalbot6 84
15:22 pdcawley Now that's definitely a bug.
15:23 pdcawley ?eval sub foo { return -> { 42 } } ; sub bar ($f) { -> {return 42}; 84}; bar(foo())
15:23 evalbot6 42
15:23 mrborisguy that returns out to the original without getting to the 84 then?
15:24 pdcawley ?eval sub foo { return -> { 42 } } ; sub bar ($f) { [-> {return 42}, 84]}; bar(foo())
15:24 evalbot6 [sub {...}, 84]
15:24 pdcawley ?eval sub foo { return -> { 42 } } ; sub bar ($f) { [$f(), 84]}; bar(foo())
15:24 evalbot6 [42, 84]
15:25 pdcawley ?eval sub foo { return -> { 42 } } ; sub bar ($f) { [$f(), $f, 84]}; bar(foo())
15:25 evalbot6 [42, sub {...}, 84]
15:25 pdcawley That should be crashing somewhere.
15:25 autark-jp has quit IRC ("leaving")
15:26 * pdcawley realises that IRC isn't a whiteboard, and he should be writing the summary.
15:26 pdcawley Will talk later.
15:26 * theorbtwo looks forward to the summary.
15:27 * QtPlatypus reads over the units.p6 "Interesting approch"
15:27 eric256_ hehe. yea. its just a playground right now
15:27 theorbtwo Yeah.
15:28 eric256_ trying to feel out what might work and might not. hacking it together.
15:28 mkirank has quit IRC ("Chatzilla 0.9.67 [Firefox 1.0/20041107]")
15:28 eric256_ i always seem to see projects as OO ;)
15:28 eric256_ just the way my head is weird i guess
15:28 theorbtwo I just wish 42`m could work.
15:28 theorbtwo Sadly, that interfears with the m// op.
15:28 Enveigler1 has joined #perl6
15:29 eric256_ oh instaed of capital M?
15:29 dkf has joined #perl6
15:29 theorbtwo Right.
15:29 QtPlatypus theorbtwo: Should it work?  They should have diffrent signatures.
15:29 eric256_ is should eventualy.  if m is a sub then its signarture shouldn't be () so it wont be a problem
15:29 eric256_ it*
15:30 theorbtwo The match operator isn't a sub, though, or even a normal operator.
15:30 theorbtwo It's a macro, conceptually.  Not so conceptually, it has special handling by the parser.
15:31 eric256_ they should force it to be.  do we realy need m anymore anyway?
15:31 PerlJam eric256_: yes!
15:31 PerlJam eric256_: how else would  you do  m:e/foo/
15:31 PerlJam ?
15:32 davidra has joined #perl6
15:32 eric256_ multi sub *postfix:<`m> (Int $value) { Meter.new(:q($value)) };
15:32 davidra is now known as autark-jp
15:32 theorbtwo That's a good idea, eric256.  Does it work?
15:33 theorbtwo ?eval multi sub *postfix:<`m> (Num $value) { 'yes: '~$value }; 4.2`m
15:33 evalbot6 'yes: 4.2'
15:36 Enveigler has quit IRC (Read error: 60 (Operation timed out))
15:36 eric256_ ;)
15:42 q[pdcawley] has joined #perl6
15:42 eric256_ that fixs the precedence issue too (i know i can't spell, don't rub it in ;) )
15:45 alanl has joined #perl6
15:47 alanl hello?
15:48 QtPlatypus Hi
15:48 alanl Is Pugs the main effort to get perl6 happening...? If so, would there be interest for more tutorials on haskell?
15:49 alanl I have lots of half written material on haskell which I'm happy to polish and post if theres sufficient demand for it
15:49 QtPlatypus Yes and Yes.
15:49 osfameron_ and Yes
15:49 integral it's the main effort in that it's the thing moving quickest
15:49 integral Technically the "official" effort is pmichaud and parrot...
15:50 osfameron_ Pugs is kinda official now, no?
15:50 SamB who cares about official?
15:50 Khisanth well the official one still has to be written in perl6 :)
15:50 alanl okay....now even though I'm a big haskell fan myself, I'm somewhat surprised that Haskell was the chosen language....any reasons on why Autrijus chose Haskell?
15:50 Khisanth but what does being official matter if it is the ONLY one?
15:50 integral the official one has to be portable, just like parrot and perl5, and haskell just isn't, yet.
15:50 mrborisguy pmichaud?  i've never even heard of that
15:51 integral alanl: Haskell is very good at abstract data types
15:51 QtPlatypus Khisanth: But most likely that perl6 will be compiled by pugs.
15:51 integral alanl: which is *very* useful for parsing and evaluating.
15:51 Khisanth QtPlatypus: at some point
15:51 integral There's also very good libraries for parsing,  and for interesting stuff like subcontinuations,  metaprogramming, etc
15:51 PerlJam mrborisguy: pmichaud is the guy in charge of making sure that there's a perl6 compiler.
15:51 mrborisguy ah
15:51 eric256_ hmmm this class scale up very well for unit conversions
15:52 SamB can't Pugs be the official bootstrapping implementation? (the one that is bootstrapped from)
15:52 mrborisguy has anybody started writing p6 in p6?
15:52 eric256_ what is the normaly way of storing all this conversion info? /me wonders off to find a p5 implementation
15:52 PerlJam mrborisguy: He's currently writing a shift-reduce parser in PIR to be used as the basis for the perl6 compiler. (this is a parallel effort to pugs)
15:52 PerlJam SamB: it can.
15:52 integral mrborisguy: there's Prelude.pm in parrot which implements "primitives" in perl6
15:54 alanl well, one of the problems in Haskell is that since it is a "academic" language, documentation and tutorials for haskell is scant and very dry...now one of the projects thats has been on the backburner for me has been to write everything that I know about Haskell...
15:54 integral they are?
15:54 integral hmm, there's plenty of books
15:55 Khisanth hard to grep books :)
15:55 integral not HOP! (it's got a online search)
15:55 alanl yes, but they assume a lot from the reader, and as someone who have read them *all*, its not easy for the beginner
15:55 Khisanth any of the haskell books have that?
15:56 integral "beginner" as in can't program at all?
15:57 alanl as in someone who is not familiar with the functional programming paradigm
15:57 alanl the hardest concept to wrap your head around is referential transparency
15:58 alanl and theres the whole issue of monads
15:58 alanl everything that I've read so far about monads is downright scary
15:58 * eric256_ scans Math::Units and wonders if perhaps he is perfectly happy with exploration he has performed with units.p6 so far...
15:58 integral hmm?   What's the hard bit with referential transparency?   I haven't heard anyone point that out before
15:58 q[acme] i still don't understand monads
15:59 integral hmm, there was a nice paper for scheme which started with a recdescent parser, and showed how it could be monadic
15:59 Khisanth hrm referential transparency doesn't seem too bad but ...
15:59 alanl referential transparency basically implies that you can't change variables once you create them (and strictly speaking, variables don't exist in haskell)
15:59 QtPlatypus The only functional exposure I've had with scheme.  Hascal makes my eyes go crosseyed.
15:59 integral hmm?  You don't "create" variables though
16:00 eric256_ if you can't change a variable then wouldn't it be better refered to as a constant?  since it can't vary
16:00 integral a variable, x, in haskell doesn't really exist the same way a "auto int x;" exists in C
16:01 lumi It's not really a constant, because there's no time for it not to vary in...
16:01 alanl uh huh....and this causes immense headaches for people who are used to doing things  in procedural paradigms
16:01 integral hmm!
16:01 QtPlatypus Are they like verables in lambda calculis?
16:01 Khisanth alanl: know any online thing that has actual explanation on what a particular symbol means?
16:02 integral QtPlatypus: it basically is the lambda calculus (typed, lazy)
16:02 integral hmm, does this mean that people are going to find := hard in perl6?
16:02 integral It's basically the same as binding in Haskell
16:02 Boogie hi from Vienna... :)
16:02 alanl and lazy evaluation is another whopper concept for people to understand
16:02 Khisanth integral: they could probably do without it :)
16:03 QtPlatypus integral: Probly not, they will just think of it as an easy way to do glob manipulation.
16:03 integral eww, it's such a good optimisation though
16:03 Khisanth integral: I thought := was the p6 way of doing *foo = *bar; ?
16:03 integral Khisanth: yep
16:03 alanl khisanth, do you want to know about the standard haskell functions?
16:03 Khisanth integral: it does that and more? :)
16:04 Khisanth alanl: that would be good enough for now
16:04 integral a haskell variable is more like a glob than a scalar in some ways.   In that it points (bound) to something, rather than holding the value
16:06 alanl what would be the 5 topics that you most desperately want in a haskell tutorial?
16:07 theorbtwo The big thing I want is how to deal sanely with stateful operation.
16:07 integral ST's not too scary for a tutorial?
16:07 theorbtwo Most haskell tutorials I'v seen somehow skip that, and the examples and exercises are well-chosen so you don't notice that it's being skipped.
16:08 gaal|work has left
16:08 integral maybe a tutorial that taught something other than Haskell first?
16:11 alanl do you know if autrijus comes on here?
16:11 eric256_ he does
16:13 theorbtwo Autrijus is on here often.
16:13 q[acme] that's how pugs development is so fast
16:13 theorbtwo However, he is currently in the air between Taipei and Vienna, AFAIK.
16:14 integral he's in Vienna now, or at least he was earlier ;-)
16:14 theorbtwo Oh, I sit corrected.
16:15 alanl oh, the reason I ask it will be easier for me to convince my supervisor at school if I can get some emails stating that there would be real demand for a haskell tutorial
16:15 alanl currently my school teaches haskell to first year programming students, but theres talk of getting rid of it and changing to c :-(
16:16 alanl I want to write down everything I know about haskell before I forget about it from lack of use
16:17 * Khisanth doesn't blame theme
16:17 Khisanth s/e$//
16:17 Khisanth I think education has been badly shaped by the past :)
16:18 theorbtwo Chaning to C wouldn't be a horrid idea... but they should teach both.
16:18 arcady I wonder whether C or haskell is actually harder to teach
16:18 arcady C is a pretty awful language to teach though
16:18 theorbtwo arcady: When starting from scratch, I suspect C.
16:18 arcady I wouldn't be so sure...
16:18 theorbtwo However, a good portion of your students should already know some C, or something that looks vaugely like it.
16:19 Khisanth theorbtwo: Haskell probably
16:19 alanl we do
16:19 arcady from personal experience, for example, linux is easier than windows, if you are teaching someone who knows nothing at all
16:19 integral it depends what you're teaching I suppose.    Try subcontinuations, and higher order functions with C
16:19 alanl but we teach haskell first then C
16:19 Khisanth from scrath that is
16:19 alanl well people think C is easier because the compiler let pretty much anything through...its when you get run time errors and segfaults is when its gets fun
16:20 alanl the haskell compiler is a bi*ch, but once it compiles, runtime errors are basically nonexistant
16:20 cognominal has quit IRC (Remote closed the connection)
16:21 lumi It's programming that provably doesn't suck
16:21 arcady yeah, segfaults and memory leaks
16:21 theorbtwo Memory leaks especially.
16:21 integral haskell is a whole league above C for memory leaks...
16:21 arcady and no decent standard library
16:21 QtPlatypus And buffer overruns.
16:22 arcady even java is better than C
16:22 osfameron_ but pointers are cool
16:22 QtPlatypus arcady: I wouldn't say that.  Java is needlessly verbose.
16:23 QtPlatypus C is good in its niche.
16:23 arcady yes, but at least it has things like variable-length arrays and linked lists and a stadard windowing API
16:23 arcady C is good for when you actually need pointers and such
16:23 alanl well haskell can interface with C
16:23 alanl and vice versa
16:23 arcady C is good for writing unix
16:23 arcady seeing as that was what it was made for, mainly
16:24 * QtPlatypus nods "C is good as a portable asmbeler"
16:24 alanl so who else apart from autrijus is actively involved with pugs?
16:24 obra alanl: I'd recommend reading commit logs
16:25 QtPlatypus I think they have almost 100 people commiting now.
16:25 eric256_ isn't pugs written in haskell which is written in c? (isn't that what GHC is or did i misinterpret the C part.)
16:25 * eric256_ thinks on second thought he mistook the C
16:25 QtPlatypus I think C is for compiler.
16:26 eric256_ yea i only realized that for the first time as i typed it, until now i thouth it was some C variety. but that doesn't realy make any sense
16:26 sorje eric256_, parts of ghc are written in haskell
16:26 arcady that would make sense
16:26 arcady haskell is good for writing compilers
16:27 sproingie has joined #perl6
16:27 QtPlatypus Like parts of pugs are written in perl6
16:27 integral GHC is mostly Perl and Haskell
16:27 alanl another thing that I'm surprised about that perl6 is going to be strongly typed?
16:27 mrborisguy is there a way i can modify a classes 'new' operator slightly, but then still let it use the default 'new' for the rest?
16:28 integral mrborisguy: maybe you want to modify BUILD instead?
16:28 PerlJam alanl: why is that surprising?  perl5 is strongly typed.
16:29 mrborisguy can i get the rest of the "slurpy flags" from BUILD?
16:29 integral and "strongly typed" get's interesting with implicit coercions and context dependencies
16:30 alanl well "strong typing" in the haskell world is a lot stricter than perl
16:30 theorbtwo Learning C is good because it forces you to realize what the computer is really like.
16:30 alanl for example, theres no implicit coercion in haskell
16:30 integral it's not so much the typing, but the lack of implicit coercions
16:31 theorbtwo I wouldn't recommend actually programming in it, expect in strange cases.
16:31 arcady theorbtwo but it doesn't really get through to you the idea of what the computer is for
16:31 arcady because it makes you do a lot of boring tedious things
16:31 integral rather than inserting a coercion the compiler complains,   to me that's not really a change to the typing system,  but to the compiler
16:31 cjeris "why do you bang on the keyboard so hard?" "haskell is a strongly typed language"
16:31 arcady which computers are way better at doing
16:32 alanl amen. C locks you into the current limitations of computers
16:32 integral theorbtwo: and it obscures the fact it doesn't have to be programmed that way.   You don't need to use a stack for your activation frames, for example
16:32 QtPlatypus ?eval my int $a = 3.124;$a
16:32 evalbot6 \3.124
16:33 QtPlatypus Unfortunitly Pugs hasn't implemented perl6's type checking yet.
16:33 zeromode has quit IRC (Read error: 60 (Operation timed out))
16:33 QtPlatypus s/Pugs/pugs/ s/perl6/Perl6/
16:34 integral hmm, that's more like adding type to the context though.  a bit like fromInteger is "context" sensitive in having it's return type unified with the type of $a
16:35 QtPlatypus Well thats what you get when you combine dynamic typing with strong typing.  You get that in some lisp dialects.
16:37 alanl err....last time I checked haskell is statically typed
16:37 alanl or am I misunderstanding what you're saying?
16:37 QtPlatypus Sorry I'm misunderstood what I was saying.
16:38 QtPlatypus I should be asleep, Goodnight all.
16:39 QtPlatypus I thought integral was talking about perl6 though.
16:39 integral I was talking about perl6, but pretending it was Haskell and saying what Haskell would do...   confusing
16:40 BChrisB has left
16:42 * sproingie has a hard time calling perl5 strongly typed what with its "scalars"
16:42 QtPlatypus Befor I do goto sleep, does anyone know if perl6 is specked to optimize tail recursion?
16:42 alanl uh huh
16:42 alanl this is a nice paper on typing http://research.microsoft.com/Users/luca/Papers/OnUnderstanding.A4.pdf
16:42 alanl quite readable for typing theory
16:42 sproingie i should imagine perl6 does tail recursion elimination
16:43 sproingie tailcall elimination that is
16:43 sproingie no idea if that's actually the case
16:44 sbkhh has quit IRC (Read error: 131 (Connection reset by peer))
16:44 sbkhh has joined #perl6
16:44 QtPlatypus Thanks & # Sleep perchance to dream
16:45 sproingie ooh, been looking for introductory type theory stuff
16:45 sproingie alanl: know of any that cover category theory?
16:45 alanl nop. but are you interested in it? my supervisor is a *guru* at it
16:45 alanl (category theory that is)
16:46 sproingie i just want to understand it.  need "category theory for dummies"
16:46 alanl well, you can do me a huge favour if you write me a few paragraphs in an email stating that
16:46 sproingie i saw one "intro" paper (powerpoint slides actually) on LtU .. and it descended into unintelligible notation within 4 slides
16:46 alanl my email address is alanl (at) cse.unsw.edu.au
16:47 alanl yes monads can be scary
16:47 alanl but it is a necessary evil seeing that you need monads to do parsing
16:49 Odin-FOO has joined #perl6
16:49 sbkhh has quit IRC (Read error: 131 (Connection reset by peer))
16:50 cjeris sproingie: how much math background do you have?  i can suggest places to start but they're only good for math students
16:51 sproingie introductory discrete math is as far as i go
16:51 sproingie any greek more complicated than sigma sorta baffles me
16:53 Khisanth heh hard to keep track of one blank from another :P
16:53 dha has joined #perl6
16:54 dha question: is a new version of Pugs imminent?
16:54 sproingie basic set notation i can do, of course
16:54 Enveigler1 has left
16:55 * dha just built parrot 0.2.1 and figured he should rebuild pugs, but wondered if he should wait a bit
16:57 sproingie actually the "category theory for dummies" slides aren't actually that scary, taking a second look
16:57 sproingie they're just such a gloss tho, i can't really get what points they're trying to make
16:58 alanl well category theory is the most abstract branch of abstract maths!
16:58 sproingie something on the level of wadler's style is about my speed
16:58 sproingie wadler made monads pretty understandable ... now if he could just do the same for arrows :)
17:00 dkf has quit IRC ()
17:01 gaal dha, a new version of pugs is rarely imminent for much longer than a week.
17:03 dha good point. Maybe I'll wait. :-)
17:03 dkf has joined #perl6
17:04 gaal Autrijus mentioned he wanted to put out a release during his stay in Viennna.
17:07 * dha tries to remember when that is
17:07 gaal now :)
17:07 dha oh. :-)
17:08 eric256_ doesn't realy matter if you wait though, just use the cutting edge svn version ;)
17:08 dha You know, I write the .pm news column for tpr and then it just flies out of my brain. :-)
17:08 dha eric - I'm not that brave or needy :-)
17:08 gaal are you compiling or looking for a cooked binary?
17:09 gaal current HEAD is okay ttbomk
17:10 alanl so what factors have slowed parrot down?
17:11 dha Frankly, I'm not really using it all that much. so it's kind of a moot point. I just like to keep up. :-)
17:12 dha in any case, thanks for the timescale...
17:12 dha has quit IRC ("*wave*")
17:14 theorbtwo I think he wanted to put one out while he was giving his talk.
17:15 pupilzeng has quit IRC ("Bye")
17:16 theorbtwo 14:20 CEST tomorrow.
17:16 nnunley has quit IRC ("Leaving")
17:16 gaal cest = gmt +?
17:16 mrborisguy cest?  central eastern time? ;)
17:16 gaal eurotime?
17:17 theorbtwo Central European Summer Time.
17:17 gaal gmt+2?
17:17 Khisanth Summer? do they do that silly 1 hour shift too?
17:18 justatheory has joined #perl6
17:18 theorbtwo Yes, Khisanth, we do.
17:18 osfameron_ has quit IRC ("Leaving")
17:18 theorbtwo GMT+2 indeed.
17:18 gaal in any case, i won't be around for the fun unfortunately.
17:19 mrborisguy that's just confusing for me because near me there is CST and EST
17:19 gaal now that smokes take half an hour on fast machines.. i wonder what the release is like.
17:20 gaal (for just the tests)
17:20 gaal used to be half that for clean build + tests
17:20 theorbtwo mrborisguy: It was mildly confusing when I first moved here.
17:20 gaal but then, we have three trillion tests now.
17:21 theorbtwo ESP because "S" is "summer" in europe, and "standard" in the US.
17:21 * mrborisguy just uses feather... somehow new pugs get built, but it doesn't worry mrborisguy how
17:21 mrborisguy yep, "Standard" time and "Daylight" time, but I can never remember which is which
17:21 gaal that's a constant contribution of one smoke data point.
17:22 gaal brb
17:23 sproingie feather?
17:24 gaal i need some spec help. can y'all please look at L<A06/'The "caller" function'>
17:24 gaal and tell me what you think this means?
17:24 mrborisguy yeah, Juerd (I think it is) has set up a Perl6 server for people to play with p6 on.
17:24 vel has joined #perl6
17:24 gaal "where to stop when scanning up the call stack"
17:24 mrborisguy sproingie: he calls it 'feather'
17:25 mrborisguy i think stemming from 'parrot'
17:25 sproingie ah
17:25 gaal hmmmm
17:25 gaal also this is in contradiction to s06
17:25 gaal i think i need to p6-l this question.
17:26 sproingie now that pugs can import perl5 modules, i might start porting some real production code to it
17:26 sproingie nothing that needs to run automatically, so if it breaks, i just go back to the old version
17:27 sproingie lots of textfile parsing and munging tho.  could give PGE a workout
17:27 dkf has quit IRC ()
17:28 vel has left
17:33 xinming has quit IRC (Remote closed the connection)
17:34 alanl has quit IRC (Remote closed the connection)
17:37 vel has joined #perl6
17:40 geoffb guten tag, folks
17:40 dkf has joined #perl6
17:41 vel hi, all. how  while (<DATA>){chomp;} looks like in pugs?
17:45 mj41 ?eval { my %a; if ( not %a<aaa> ) || ( %a<aaa> ne 'b' ) { 1; } }
17:45 evalbot6 Error:  unexpected "i" expecting ";", statements or "}" reserved word
17:45 meppl has joined #perl6
17:46 vcv- @DATA>>.chomp; ?
17:48 lampus_ is now known as lampus
17:59 simcop2387 has left "Client exiting"
18:12 dkf has quit IRC ()
18:14 mrborisguy has quit IRC ("leaving")
18:14 arcady has quit IRC (Read error: 110 (Connection timed out))
18:18 xinming has joined #perl6
18:21 vcv- has quit IRC (Read error: 60 (Operation timed out))
18:22 qmole has quit IRC (Remote closed the connection)
18:22 qmole has joined #perl6
18:23 dkf has joined #perl6
18:27 vel has left
18:35 Southen has quit IRC ("Orite! Which one of you pulled out my network cable!?")
18:43 broquaint has quit IRC (Read error: 54 (Connection reset by peer))
18:45 geoffb Hmmm, I'm guessing one of imbibing or jet-lagged sleeping is happening, given the silence from Vienna
18:45 xinming has quit IRC ("I really love GNU")
18:46 Khisanth or hacking :)
18:46 theorbtwo I think he'd make a quick stop in if so.
18:47 theorbtwo OTOH, Leo is on ISDN, so possibly not.
18:47 gaal he did, to2.
18:47 gaal around this morning.
18:48 * gaal reads broquaint's disconnection message as "Connection reset by beer"
18:48 geoffb That may well be the case many times.  :-)
18:49 * gaal happens to be sipping some fine, fine whiskey atm
18:49 stevan gaal: oooh what kind?
18:49 gaal Laphroaig
18:49 stevan never heard of it
18:49 stevan I am a fan of the 12 year old Jameson myself :)
18:49 gaal islay malt.
18:50 gaal very peaty.
18:53 * geoffb remembers the first time a shopkeeper explained the organization of whiskey on his shelves.
18:53 geoffb I boggled.
18:53 * stevan remebers the first time he had "real" whiskey, as opposed to watered down well "whiskey"
18:55 xinming has joined #perl6
18:56 theorbtwo geoffb: How are they arranged?
18:56 stevan *sigh* - I miss pugs :)
18:57 Aankhen`` has joined #perl6
18:57 gaal if you have a spare -gulp- 900 pounds, this should be nice. http://www.laphroaig.com/shop/show_item.asp?shop_category_id=1&amp;shop_item_id=66&amp;expanded=the_shop.whisky
18:58 stevan ouch
18:58 geoffb theorbtwo, it's been a while, but I remember he had three floor-to-ceiling racks, each with maybe 6-12 shelves, each labeled with a region.  So far I was fine, it was kindof like wine, just not paying attention to various grapes.
18:58 Aankhen`` :-D
18:58 stevan down from 1000 lbs :)
18:59 * Aankhen`` is now running on a P4 630 with 1 GB of dual channel RAM and a GeForce 6600 GT 256 MB (PCI Express) graphics card.
18:59 Aankhen`` :-D
18:59 geoffb theorbtwo, then he explained a mapping from a sort of taste space to geographical space to shelving.
18:59 stevan so gaal which one are you drinking
19:00 gaal all the complexities of book indexing in a liquor shop :)
19:00 geoffb Like "peatiness increases as you move this way across Scotland, and therefore this way along the shelving"
19:00 gaal i'm drinking the "original cask strength" one.
19:00 geoffb Theoretically, if you knew any of shelving, flavor, or distillery, you had the others as a quick gonculation
19:01 gaal usually i water it down a bit, it's strong stuff
19:01 stevan gaal: have you ever had the 12yr old Jameson?
19:01 gaal i mean more than 100 proof strong
19:01 stevan gaal: wimp :P
19:01 * geoffb is jealous of Aankhen``'s rig -- sigh
19:01 gaal drinking it neat right now
19:01 * Aankhen`` repeats: :-D
19:01 gaal but that's because i'm only having one shot
19:01 gaal after that you don't really *know* what you're tasting :-)
19:02 Aankhen`` It finally materialised!  Woo hoo!
19:02 gaal stevan, i have not
19:02 Aankhen`` I just wish I hadn't had to reinstall Windows. :-\
19:02 gaal a.*, what's the clock speed?
19:02 Aankhen`` But ah well, I was due for a reinstall anyway.
19:02 Aankhen`` gaal >> 3.0 GHz., 32/64-bit ready, 2 MB cache.
19:02 stevan gaal: hmmm, oh well I guess i will have to taste compare on my own :)
19:02 Aankhen`` Need more marketing mumbo jumbo? ;-)
19:03 gaal :)
19:03 * Aankhen`` dances!
19:03 stevan Aankhen``: but does it run OS X :P
19:03 Aankhen`` stevan >> Thankfully not. =)
19:03 stevan soon it will
19:03 geoffb stevan, it will soon, I'll bet.  :-)
19:03 Aankhen`` Yeah.
19:03 gaal no, not really
19:04 gaal apple will not run on any intel rig
19:04 stevan true
19:04 gaal they make money by selling computers.
19:04 gaal they will continue to do so, with slightly different computers.
19:04 stevan true
19:04 theorbtwo gaal, the developer machine being shipped out is very close to some random intel rig.
19:05 theorbtwo http://www.xlr8yourmac.com/
19:05 stevan although I would assume Apple might still make it possible for you to install OSX on a other machine
19:06 geoffb stevan, they claim not -- but I personally think that's a load of BS.  Marketroid for "Lessee how many people try to hack it", as Ars Technica pointed out
19:06 theorbtwo They run Windows fine. All the chipset is standard Intel stuff, so you can download drivers and run XP on the box.
19:06 q[pdcawley] You'll probably need openfirmware (at least).
19:06 gaal stevan, when we meet, we'll buy each other drinks and compare.
19:06 * theorbtwo wonders what the q[...] is for.
19:06 stevan gaal++ # I am applying your utf8 DBD-Mysql fix right now
19:06 stevan gaal: surely :)
19:06 gaal ha!
19:06 gaal glad people use it! :)
19:07 * Aankhen`` goes to install Doom 3 and check the FPS.
19:07 stevan nothingmuch hooked me up with it
19:07 stevan it is very useful
19:07 gaal pity it didn't, like, MAKE IT TO THE DISTRO ALREADY hello it's 2005
19:07 stevan my latest project has to be French canadian as well as english
19:09 dkf has quit IRC ()
19:09 geoffb Aankhen``, give trislam a try, if you've got a chance . . . you'll need SDL_perl for Win32 1.20.5 and the trislam benchmark itself off my site (www.broadwell.org)
19:10 Aankhen`` Remind me about it in a few days, would you?
19:10 geoffb Aankhen``, the output is in an "early state" *cough*, but I'm curious what trislam posts for max pixels and triangles per second on that rig
19:10 geoffb Aankhen``, sure
19:10 stevan q[pdcawley]: according to theorbtwo's url "The machines do not have Open Firmware. They use a Phoenix BIOS. "
19:10 Aankhen`` Thanks. :-)
19:10 * Aankhen`` tries to recall how to disable AutoPlay.
19:10 q[pdcawley] Oh. Fairynuff.
19:11 * q[pdcawley] racks his brain. Of course, NeXTSTEP/86 ran on reasonably vanilla hardware (with a rather small compatibility list of hardware).
19:11 Aankhen`` Oh, it might be in the 'AutoPlay' tab in the CD drive properties...
19:11 Aankhen`` :-P
19:11 gaal a.*, install TweakUI
19:11 stevan q[pdcawley]: I am sure *someone* will hack it
19:12 Aankhen`` Hmm, apparently not.
19:12 stevan after all, they had IRC on the PSP in like a day
19:12 gaal then go to my computer > autoplay there
19:12 Aankhen`` gaal >> Wha?
19:12 gaal microsoft have a "power toys" tool
19:12 gaal it includes "tweak ui"
19:12 gaal get that, it's nice
19:13 theorbtwo Consider that opendarwin runs fine on a rather small set of normal x86 rigs.
19:13 theorbtwo (IIRC, only those with intel chipsets.)
19:16 * geoffb considers whether he *really* wants to do `apt-get dist-upgrade` on his old mail server (which went through the previous stable transition the same way)
19:16 geoffb Something to do while waiting for pugs to compile . . . .
19:21 * eric256_ wishes that sony would let the PSP run all that software instead of putting more secure firmware on it
19:21 Aankhen`` has quit IRC (Read error: 145 (Connection timed out))
19:21 Darren_Duncan has joined #perl6
19:21 dkf has joined #perl6
19:21 Darren_Duncan I'm feeling bad that I may not be able to attend OSCON 2005 despite previous intentions to do so, for financial reasons
19:22 gaal give a talk? or is that too late?
19:22 * gaal prefers the low-cost confs anyway
19:22 q[pdcawley] It's too late to give a talk at EuroOSCON. Bound to be too late for the US one.
19:23 gaal though i was never at a fancy *perl* conf...
19:23 q[pdcawley] Is Thomas Sandlaß on this channel?
19:25 geoffb eric256_, Sony could never be accused of enlightened behavior WRT open devices
19:25 gaal yay, larry replied.
19:25 theorbtwo Not as far as I'm aware, q[pdcawley], but that doesn't mean terribly much.
19:26 geoffb gaal, my recollection is that OSCON was worth going to at least once . . . but then I did it on the company dime, and I've never done a YAPC . . . .
19:26 q[pdcawley] Heh.
19:26 q[pdcawley] I'm trying to work out which of us has grasped the wrong end of the Perl 6 stick.
19:27 geoffb The one with the hand on fire?
19:27 q[pdcawley] Heh.
19:27 geoffb afk for a bit
19:30 gaal why does caller have to be insanely fast anyway?
19:30 * q[pdcawley] would argue that it should in fact be insanely slow.
19:31 gaal 3rd(caller(Sub)) works, if somewhat inefficiently
19:31 Juerd q[pdcawley]: Account is created
19:31 q[pdcawley] Juerd: Ta.
19:31 gaal modulo implementation of 3rd
19:31 q[pdcawley] feather.?? I forgot.
19:31 gaal perl6.nl
19:31 gaal or: perlcabal.org
19:31 gaal or a few other things :)
19:31 Juerd Yeah, it's feather.perl6.nl and whatever people point there :)
19:32 q[pdcawley] remind me and it can be perl6.bofh.org.uk if you like.
19:32 Juerd q[pdcawley]: I neither like nor dislike it. If you wish to create it, let me know and I'll announce it in ~juerd/README
19:33 Juerd I'm completely apathetic wrt extra hostnames
19:33 q[pdcawley] Heh. Sensible lad.
19:35 Aankhen`` has joined #perl6
19:35 Aankhen`` [00:42:10] <gaal> then go to my computer > autoplay there
19:35 Aankhen`` [00:42:22] <Aankhen``> gaal >> Wha?
19:35 Aankhen`` -
19:35 xinming has quit IRC ("I really love GNU")
19:36 gaal Aankhen``: [22:14] gaal: microsoft have a "power toys" tool /  it includes "tweak ui" / get that, it's nice
19:36 gaal sorry about the red
19:36 Aankhen`` Ah, I'm saving that for a while later.
19:36 Aankhen`` Red?
19:36 gaal my client it all beautifooool.
19:36 Aankhen`` There was red in that?
19:36 gaal it paints things
19:36 gaal yes.
19:37 Aankhen`` Ah.
19:37 Aankhen`` I'm glad my client strips colours. :-)
19:37 gaal :)
19:37 * theorbtwo can't see a bit of that, because everything after the gaal: is black-on-black.
19:37 Juerd My client paints things too, which I like
19:37 Juerd But it would be BAD if it used that colouring when pasting.
19:37 gaal i like it too, Juerd, except that ....  exactly :)
19:37 Juerd s/pasting/copying/
19:37 gaal exactlier :))
19:37 Juerd gaal: Is it mirc?
19:38 gaal no!
19:38 Juerd :)
19:38 gaal good heavens
19:38 gaal trillian
19:38 Juerd There are more than one clients that do this stupid thing?
19:38 Juerd Oh, trillian
19:38 Juerd EVEN WORSE
19:38 gaal it's actually a very nice multi-IM client
19:38 Juerd Yes, that it is
19:38 gaal though its irc caps are a little basic.
19:38 Juerd But it's an exceedingly stupid IRC client, more so than mirc, if you ask me.
19:39 theorbtwo Hm, the last time I used trillian, it had all the bad points of gaim, but few of the good points.
19:39 gaal eg., it wont' wake me up in the middle of the night because #perl6 talks about me. :-)
19:39 theorbtwo For one thing, it was ugly and took up lots of screen space for uselessness.
19:39 Juerd Neither will irssi
19:39 Juerd gaal: Do you know irssi?
19:39 Juerd gaal: If so, why don't you love it?
19:39 gaal nope
19:39 Juerd Then get to know it :)
19:39 gaal i'm required to love it? :)
19:39 Juerd To a certain extent
19:39 gaal ok, will do my best :)
19:40 Juerd You're not required to love its lack of documentation, inconsistent commands and sometimes very weird Perl interface, but you are to love all the basic features and simplicity.
19:40 Juerd Feel free to use feather - some others do already. (As long as it's mainly Perl 6 chatter)
19:41 gaal juerd, for better or worse, my main desktop boxen are windows these days.
19:41 Juerd That's why I suggested using feather
19:41 gaal and i prefer chat to be based on my local machine
19:41 Juerd Why?
19:41 * Juerd sees no advantage
19:41 Juerd Except perhaps dcc - but who dcc's anyway?
19:42 gander has joined #perl6
19:42 gaal just a pref. responsiveness, notification on messages.
19:42 * Juerd never uses irssi on a local machine if he can reach his irssi box :)
19:42 Juerd *beep* not good enough for you? ;)
19:42 Juerd And responsiveness I guess depends on your line
19:42 gaal *shrug* i'm not really interested in The Ultimate in IRC Experience
19:42 Juerd The lines I use are generally fast, including mobile phone lines.
19:42 gaal juerd, it also has to do with the speed of light :)
19:43 Juerd How is the speed of light involved?
19:43 gaal latencey
19:43 gaal prolly acceptable feather <-> tel-aviv
19:43 Juerd I notice no latency using DSL or cable lines :)
19:43 Juerd But I have no idea what kind of line you're using
19:44 gaal but e.g. tel-aviv <-> canada can be 200ms or more
19:44 gaal or lots more on a bad day
19:44 Juerd 200 ms is too much indeed
19:44 ramzi has quit IRC (Read error: 60 (Operation timed out))
19:44 webmind gaal, sattelite links?
19:44 Juerd 100 ms is barely noticeable.
19:44 webmind satelite
19:44 gaal you need to do a round trip, and it's transatlantic.
19:44 Juerd webmind: No, satellite gives you much more than that, except when you have two dishes.
19:45 gaal i'm getting 222ms rtt to feather now
19:45 Juerd That's awful
19:45 gaal that's geography for you.
19:45 webmind Juerd, yes
19:45 Juerd But, tbh, most connections to .il suck
19:45 Juerd gaal: Not necessarily.
19:46 wolverian I get 40ms :)
19:46 gaal .il is not especially wonderfully connected, true, but it's not *atrociously* wired either.
19:46 gaal 12 hops.
19:46 gaal heh heh, lambdanet.
19:46 Juerd The *number* of hops isn't terribly important
19:47 Juerd Oh, you're routed over lambdanet? That explains everything.
19:47 Juerd Lambdanet is the single most crappy transit connection the network feather is on has
19:47 wolverian what is lambdanet?
19:47 Juerd wolverian: Nowadays called Cogent
19:47 wolverian right.
19:47 gaal the number of hops is a factor, because more devices = more chance of a slow switch.
19:48 Juerd gaal: That's true
19:48 Juerd But a single hop can introduce as little as 0.3 ms
19:48 Juerd So 12 hops doesn't directly relate to the >200 ms
19:48 gaal oh i forgot, you're in nl actually, your standards are very high. compared to what you're used to .il is very badly connected indeed :)
19:49 Juerd I keep hearing that from foreigners
19:49 Juerd But I think our internet connectivity rather sucks.
19:49 wolverian funet. <3
19:49 gaal that's in fi!
19:49 Juerd Especially when it comes to our internet exchanges, that are surprisingly badly "secured"
19:49 wolverian gaal: well, yes. :)
19:49 Juerd wolverian: Funet has lovely ping times always :)
19:49 gaal but, yeah, that is well wired.
19:50 gaal hella well.
19:50 gaal anyway,i'd better moose off now
19:50 gaal sleep well, folks, release tomorrow :)
19:50 Juerd --- ftp.funet.fi ping statistics ---
19:50 Juerd 275 packets transmitted, 273 received, 0% packet loss, time 4016ms
19:50 Juerd rtt min/avg/max/mdev = 32.486/33.210/42.468/1.149 ms, pipe 4, ipg/ewma 14.659/32.853 ms
19:50 Juerd That's very nice for a flood ping.
19:51 Juerd Bye, gaal
19:51 gaal bye :)    &
19:51 integral Juerd: can I get an account on feather?   Do I need to email or privmsg you?
19:51 Juerd email
19:51 Juerd Include your real name and requested username
19:51 integral just your address off the mailing lists?
19:52 Juerd Or any other of my addresses
19:52 Juerd [email@hidden.address] should work too :)
19:52 integral ok, thanks :-)
19:52 integral oooh, 14ms from here, nice
19:53 * wolverian tests his ttl to http://mirrors.playboy.com/CPAN
19:53 wolverian s,ttl,rtt,
19:53 lathos My local CPAN mirror is always 127.0.0.1 :)
19:53 * Juerd uses no CPAN mirrors anymore
19:54 Juerd The only box on which it'd be useful is my laptop
19:54 wolverian I use the debian/ubuntu "mirrors".
19:54 Juerd And that one isn't always on, so it can't easily update via a cron job.
19:54 wolverian (that is, apt repositories.)
19:59 vcv- has joined #perl6
19:59 svnbot6 r4460, autrijus++ | * some more work on hw2005.txt
19:59 svnbot6 r4461, autrijus++ | * draft of tomorrow's talk
19:59 svnbot6 r4462, autrijus++ | * Scalar::as.
19:59 svnbot6 r4463, autrijus++ | * cosmetic fixes to code to agree with the slides. ;)
19:59 wolverian draft? WHERE
19:59 wolverian oh, there.
19:59 wolverian autrijus++
20:02 wolverian heh. can I make spelling fixes to it? :)
20:05 justatheory has quit IRC ()
20:09 Aankhen`` W00t!
20:10 Aankhen`` A steady 60 FPS in Doom 3, at High Quality!
20:10 autrijus wolverian: please commit ahead!
20:11 wolverian autrijus: ok!
20:12 wolverian my pugs is about a thousand iterations behind, so this will take a sec :)
20:15 Juerd wolverian: What, you forgot to update for a whole week? :)
20:16 wolverian Juerd: I usually just use feather.
20:16 wolverian (it was two weeks, maybe. :)
20:19 integral Juerd: oops, sorry for the run around with my email
20:24 ninereasons what's the right way to type the utf8 characters that we use in perl 6? in vim, for example?
20:24 ihb has joined #perl6
20:25 autrijus ninereasons: docs/quickref/unicode
20:25 ninereasons autrijus, I'll look there, thank you
20:26 autrijus :)
20:26 autrijus the network can timeout any time
20:26 autrijus so see you tomorrow from APW!
20:27 * q[pdcawley] wonders if anyone's registered cp6an.org yet...
20:29 ninereasons autrijus, docs/quickref/unicode is full of helpful things.  thanks again.
20:32 Juerd integral: I'll reset your password to what was mailed to you
20:32 integral Juerd: thanks :-)
20:32 Juerd Done
20:32 Juerd Now chang eit
20:32 * integral is just cleaning up that mailbox
20:32 Juerd s/ eit/e it/
20:33 wolverian Juerd: when learning dvorak, how could you stand being on IRC and not being able to type fast?
20:34 Juerd wolverian: I initially learned it during camp, where we had no internet connection.
20:34 integral Juerd: done
20:34 wolverian Juerd: right. I think I need to do something similar.
20:34 Aankhen`` G'night.
20:34 Aankhen`` has quit IRC ("Induhvidual quote: "Don't you hate it when you lock your keys out of your car?" [Time wasted online: 59mins 37secs]")
20:34 Juerd wolverian: Connectionless? That can be arranged.
20:34 wolverian (I have the home row keys mapped out now pretty well, but I'm still awkward.)
20:34 wolverian (using dvorak.nl++)
20:35 Juerd Another option is to use both qwerty and dvorak
20:35 Juerd But that hinders learning
20:35 Juerd Still better than not learning dvorak at all
20:35 wolverian yeah. I now have things set up that way - I have a persistent vim session open that's in dvorak, other programs are in qwerty.
20:35 * Juerd usually suggests learning dvorak for 1 hour per day, until the entire alphabet is mastered.
20:35 Juerd That's awful.
20:36 q[pdcawley] The only alternative mapping I used was the Maltron one (homerow ANIS THOR, with E on the right thumb) and it was easy to switch back and forth because flat keyboards were qwerty and shaped ones weren't.
20:36 Juerd Keyboard layout switching should be global and global only.
20:36 q[pdcawley] Problem arose whenever I used a split microsoft keyboard -- muscles thought it was a Maltron.
20:36 Juerd Haha
20:36 q[pdcawley] I kept wondering why I was typing spaces.
20:36 Juerd q[pdcawley]: If you type much, and you do, I really do recommend dvorak.
20:37 justatheory has joined #perl6
20:37 q[pdcawley] I should really dig out the maltron and get it working with USB and the mac tbh. Very nice layout.
20:37 q[pdcawley] Fingers hardly seem to move if that makes sense.
20:37 Juerd I use a shaped keyboard (kinesis contoured) with dvorak
20:37 Juerd Same thing there - fingers hardly move.
20:37 q[pdcawley] Ah. Maltron is what Kinesis ripped off.
20:37 Juerd Yes.
20:38 q[pdcawley] E on the thumb is just lovely.
20:38 Juerd I know. I prefer something a little bit compatible with other keyboards that I use :)
20:38 q[pdcawley] As I say, the contoured/flat switch solved that.
20:38 Juerd Oh, but the kinesis can be remapped
20:38 Juerd I just don't think e is nicer than space for the thumb.
20:38 q[pdcawley] The pain arose if I tried to use the the maltron in qwerty mode.
20:38 q[pdcawley] space on the other thumb.
20:38 Juerd But the other thumb is backspace!
20:39 Juerd Which also rocks
20:39 q[pdcawley] Well, there's nine 7 buttons per thumb. Can't remember the exact layout, but space, backspace, E and enter were all beneath the thumbs.
20:39 Juerd It's a key I learned to use very naturally, even though its position is very radically different from other keyboards I used.
20:39 q[pdcawley] s/nine//
20:39 Juerd 7 per thumb. Whoa.
20:40 Juerd Hm
20:40 q[pdcawley] Some of them are oversized.
20:40 Juerd Now that I think of it - there are 7 on the kinesis things too
20:41 Juerd q[pdcawley]: Why don't you use that Maltron anymore?
20:42 dkf has quit IRC ()
20:42 q[pdcawley] I've not got it working with USB - it's old 5 pin DIN attachement.
20:43 Juerd ah
20:43 q[pdcawley] I really shoudl get in touch and sort out an upgrade.
20:43 * Juerd has convertors in stock :)
20:43 Juerd Ough - maltrons use cherry switches?
20:43 Juerd I *hate* that lack of feelback
20:44 Juerd Although Kinesis' keys are almost feedbackless too, at least they installed a clicking speaker ::)
20:44 svnbot6 r4464, wolverian++ |  r1068@chronoa:  wolverian | 2005-06-08 23:41:20 +0300
20:44 svnbot6 r4464, wolverian++ |  Trivial spelling fixes.
20:44 Juerd s/::/:/
20:45 q[pdcawley] I never found it an issue. If it's flat, then I want IBM buckling spring and damn the torpedoes. If it's as well contoured as the Maltron it doesn't seem to matter.
20:45 Juerd apple--  # NO, I DO NOT WANT THAT SOFTWARE UPDATE THINGY TO STEAL FOCUS
20:45 Juerd And now I hit escape to get rid of it
20:45 Juerd So no updates this week.
20:45 Juerd Effect missed.
20:45 Juerd q[pdcawley]: I see
20:46 wolverian hm, I forgot the --verbatim again :)
20:46 Darren_Duncan has left
20:46 wolverian should svnbot6 list the affected files, by the way=
20:46 wolverian s,=,?,
20:46 PerlJam wolverian: no.
20:47 PerlJam It's already too verbose IMHO
20:47 PerlJam (perhaps if that info were available on request to those that care, that would be fine)
20:48 wolverian PerlJam: right. maybe it could just add '(Affected: foo.pl)', or '(Affected: multiple files)'? that's not _too_ verbose, I think
20:48 PerlJam wolverian: sure as long as it's not another line just for that :)
20:49 Khisanth wolverian: that seems not too useful 'Some files were affected' :)
20:49 Juerd The word "affected" would be bloat.
20:49 Juerd As is anything that is repeated with every message.
20:50 Juerd Like the initial 'r', the ',', the '++', and the '| '
20:50 wolverian Juerd: heh.
20:50 wolverian Juerd: I agree with the 'affected' thing though.
20:50 Juerd 22:44 < svnbot6> r4464, wolverian++ |  Trivial spelling fixes.
20:51 Juerd "4464-wolverian-Trivial spelling fixes."
20:51 Juerd More than enough.
20:51 PerlJam aesthetically, I prefer to see the "r" in "r4464"
20:51 Juerd Aesthetics are overrated in irc bots.
20:52 Juerd They should be practical, not cute or pretty.
20:52 Juerd (Unless AI-ish)
20:52 PerlJam Juerd: if it's going to spout something automatically, it should at least look nice
20:52 Juerd PerlJam: Nah
20:52 wolverian Khisanth: '5 new files', '2 files changed', that is a bit more helpful, but still not very, I guess.
20:52 Juerd PerlJam: In fact, I'd prefer automated messages to have ^C14 in front :)
20:52 PerlJam wolverian: less is more
20:52 Juerd "4464-wolverian-Trivial spelling fixes."
20:52 wolverian I agree with Juerd, except I like the ++ :)
20:53 Juerd wolverian: "+5", "*2"
20:53 Juerd wolverian: No words where not necessary.
20:53 Juerd wolverian: I don't. I think it is a rather silly thing.
20:53 wolverian Juerd: that might be getting too cute.
20:53 wolverian I would prefer that format, but I'm not sure if everyone here would.
20:53 mugwump I liked it when the bot's messages looked pink because they were special bot messages.  What happened to that?
20:53 * PerlJam partitions the karma into *real* karma and bot-karma
20:53 * mugwump is still an irc n00b
20:53 Juerd mugwump: They were never pink.
20:54 Juerd mugwump: They were notices, though, which your client could colour pink.
20:54 mugwump ok MAGENTA in default irssi config :)
20:54 mugwump notices, ok
20:54 Juerd mugwump: However, notices add lots of information in many clients (like the channel name), and sometimes end up in status windows.
20:54 PerlJam I liked it when the bot was silent.  :)
20:54 Juerd PerlJam: Then ignore it.
20:55 wolverian is the bot in pugs rep?
20:55 PerlJam nah, it doesn't bother me that much.  If it did, I'd have ignored it long ago.
20:56 Limbic_Region has quit IRC ("tiuq\")
20:56 wolverian svnbot.p6, right.
20:57 wolverian heh. this is still using the hash-oo hack. :)
20:57 PerlJam wolverian: I was going to say "patches welcome" to you, but I guess it's more like 'reimplementation to take advantage of newer features welcome!'
20:58 wolverian hehe. :)
21:01 ihb hash-oo hack?
21:02 putter has joined #perl6
21:02 wolverian ihb: $bot<method>
21:02 wolverian hmm. Net/IRC-OO.pm has 2-space indentation, and vim doesn't like to reindent for me sanely, due to the lack of a perl6 indent expr.
21:02 wolverian maybe I should just fix that first.
21:02 Shillo has joined #perl6
21:02 Shillo Hullo, all!
21:03 ihb wolverian: where does &new_bot come from?
21:03 putter Has anyone written ArrayX, HashX wrappers to work around current array and hash brokenness?
21:04 eric256_ how are arrays and hashes "broken"?
21:04 wilx What's APW?
21:05 putter eric256_: they explode in listish contexts.
21:05 putter eric256_: Array also has multi sub dispatch problems.
21:07 putter The hash/array explodes in list has been known for a while now.  I'm unclear if there is an explicit "defer fix until ...", or it simply hasn't been gotten to.
21:08 putter The Array displatch is new...  multi sub f(Array $o){...} multi sub f($o){ if(ref($o) eq 'Array'){#try again;my $a=$o; f($a); #works!?!; else die "unk type"}
21:09 Enveigler1 has joined #perl6
21:09 PerlJam putter: Just point him at the test cases that illustrate the brokenness
21:11 putter last two test in t/data_types/mixed_multi_dimensional.t
21:14 putter basically, anytime an array or hash ref hits a list context (literal array, argument list, etc) it's survival depends what's nearby.
21:15 gander has quit IRC ("Leaving")
21:23 putter ok, no known wrappers.  ah well. ;)  Thanks.
21:33 perlbot has quit IRC (Remote closed the connection)
21:34 perlbot has joined #perl6
21:34 migo__ has joined #perl6
21:37 theorbtwo wolverian: there's a vim indent thingy in util (but don't ask me for details -- I don't know vim).
21:42 Enveigler1 has quit IRC (Read error: 60 (Operation timed out))
21:43 perlbot has quit IRC (Remote closed the connection)
21:43 perlbot has joined #perl6
21:49 geoffb What's the best behavior for a test script when failure of a test indicates that any further testing will just explode?  Should it die, or skip_rest perhaps?
21:53 cjeris has quit IRC ("BitchX: causing all sorts of havok!")
21:56 theorbtwo Depends on what you mean by explode.
21:56 theorbtwo If you mean the rest of the tests in the file are certian to fail, use fail_rest (which may or may not exist).
21:57 theorbtwo If you mean that the things the rest of the file is testing for may or may not work, but you can't run the tests anway, then skip_rest.
21:57 theorbtwo skip_rest was written for t/unspecced/eval_haskell.
21:57 geoffb Doesn't look like fail_rest exists
21:58 theorbtwo The tests are not applicable in the no hs-plugins case.
21:58 theorbtwo Write it if you need it.
21:58 geoffb Yeah, was thinking that very things
21:58 geoffb thing even
21:59 geoffb I'm guessing pugs' Test.pm is very limited compared to P5 Test and Test.pm
21:59 geoffb ?
21:59 theorbtwo Not terribly, but somewhat.
21:59 theorbtwo Well, not really.
21:59 theorbtwo It has everything from Test, and some things from Test::More.
22:00 theorbtwo But not everything from Test::More, and certianly not everything from Test::*.
22:00 geoffb Juerd, how long does 'make test' take on feather?  I'm nervous to go mucking with the testing infrastructure given that my machine is too slow to reasonably do a full 'make test' . . . so may need an account on a faster machine
22:01 geoffb theorbtwo, sounds like a good way to get myself up to speed in the Test::* heirarchy.  ;-)
22:02 geoffb I'm way out of practice using text-oriented testing tools because portable automated testing of OpenGL code is very difficult.  :-)
22:03 theorbtwo I can certianly see why.
22:03 Enveigler1 has joined #perl6
22:03 geoffb Juerd.ping
22:04 webmind huh ?
22:04 webmind shouldn't that me ping(juerd);
22:04 webmind ?
22:04 geoffb It depends.  I was sending him a message to ping himself.  :-)
22:05 webmind ah ok
22:05 webmind that makes sense :)
22:07 Limbic_Region has joined #perl6
22:09 elmex has quit IRC ("leaving")
22:09 eric256_ juerd.pong might be better. ;)
22:10 geoffb eric256_, well yes, but I was being silly.
22:11 geoffb Juerd.say_something(<anything>)
22:11 geoffb :-)
22:11 * geoffb is clearly punchy
22:11 theorbtwo Juerd.say('pong')
22:11 theorbtwo Oh, wait
22:11 theorbtwo Hm.
22:12 theorbtwo I can't decide if I want to Jured.say('pong') ("Make Jured say pong"), or Jured.say('ping') ("Say ping to Jured").
22:12 geoffb Juerd.enqueue(<ping>)
22:12 geoffb delta spelling, sigh
22:13 geoffb ?eval Juerd.perl
22:13 evalbot6 Error:  unexpected "p" expecting block construct, term, ":", term postfix, operator, postfix conditional, postfix loop, postfix iteration, ";" or end of input
22:13 geoffb Not a bot then, I guess.  :-)
22:17 Limbic_Region anyone with a handle on named parameters mind looking at something to see if there is a potential bug?
22:18 Juerd geoffb: I have no idea.
22:18 Juerd theorbtwo: I'm Juerd, not Jured.
22:18 Limbic_Region http://perlmonks.org/?node_id=464502
22:19 * Limbic_Region can't decipher what Larry's response meant
22:19 Limbic_Region tall_man was right but the test was flawed
22:19 Limbic_Region tall_man's test to expose the bug was spot on
22:19 Limbic_Region tall_man's reasoning was wrong
22:19 Limbic_Region etc
22:20 Juerd Larry likes to play oracle, I think :)
22:21 mj41 mirror/pugs/docs/talks/Apocalypse_Now.spork
22:21 mj41 - rule unreserved { rule { <[A-Za-z0-9]+<mark>>      };
22:21 mj41 + rule unreserved { <[A-Za-z0-9]+<mark>>      };
22:21 mj41 ???
22:21 Limbic_Region oh - provide an answer but not give enough information to figure out a concrete answer
22:21 theorbtwo If that is legal / that is not legal.
22:21 theorbtwo I found this astonishing code in the test case / the test case is wrong.
22:21 theorbtwo That's how I'd interpret it.
22:22 theorbtwo mj41: That looks right.
22:22 mugwump I think the thing is that most functions that take $_ usually accept it as an argument
22:23 mugwump so plain oob() would suck $_ into $x, but not with arguments
22:24 geoffb Limbic_Region, I'm sorry I'm lost here . . . where is Larry's response?  Or is one of the guys responding to that node actually named Larry?
22:26 Limbic_Region TimToady = Larry
22:26 * Limbic_Region thought that would have been obvious
22:26 Limbic_Region ;-)
22:27 geoffb I am WAY too tired for that to be obvious
22:31 wolverian do we have a slurp-as-array builtin?
22:32 svnbot6 r4465, rootmj++ | grammar URI typo
22:32 svnbot6 r4465, rootmj++ | - rule unreserved { rule { <[A-Za-z0-9]+<mark>>      };
22:32 svnbot6 r4465, rootmj++ | + rule unreserved { <[A-Za-z0-9]+<mark>>             };
22:32 wolverian (I want to do a slurp.pick)
22:34 theorbtwo geoffb: Not just named Larry, named Larry Wall.
22:35 wolverian hmm. open("foo").slurp.split(/\n/).pick doesn't work very well, but assigning what slurp returns to a temp Str works
22:35 mugwump theorbtwo: and definitely not Tim.
22:35 Limbic_Region I love it when someone asks a question at the Monastery where I have already solved the problem in p6 and don't have to come up with a new answer
22:35 mugwump purl, jerk it
22:35 mugwump oops, wrong channel, sorry :)
22:36 Limbic_Region a week after posting the second p6 challenge - some anonymous monk comes along and asks how to do arbitrarily nested loops
22:36 wolverian pugs> open("asdf.p6").slurp.split(/\n/) # ('<Rule>')
22:36 wolverian which is not a line in the file :)
22:36 * wolverian looks for tests
22:37 geoffb theorbtwo, I guessed as much, after Limbic_Region teased me.  :-)  Though I wonder why he decided to mildly disguise himself -- to try to limit the assumption that his responses were golden?  (apparently without effect)
22:37 theorbtwo geoffb: Shrug.
22:37 theorbtwo The culture of the monestary has a slight preference for handles over realnames.
22:38 geoffb Well, I blew that one clearly.  :-)
22:38 iblechbot has quit IRC (Read error: 145 (Connection timed out))
22:38 * theorbtwo shrugs.
22:38 theorbtwo Quite slight.
22:39 geoffb Mmmm, album shuffle just picked a good one.
22:39 geoffb Dammit, I wish cast errors would report the location of the cast failure
22:40 Juerd Don't you like puzzles? ;)
22:40 wolverian okay, I see the bug now
22:40 wolverian slurp("foo").split(/RE/) returns the RE
22:40 geoffb Juerd, oh sure I do -- when I can find the pieces.  :-)
22:40 * Limbic_Region just read two responses from $larry and agrees with Juerd's earlier musing
22:40 wolverian which is bizarre, since my $foo = slurp "foo"; $foo.split(/RE/) works fine
22:40 theorbtwo Somebody give me the text of a cast error, please?
22:41 Juerd Limbic_Region: :)
22:41 geoffb pugs: cannot cast from VStr "use File::Basename--perl5 <>" to Pugs.AST.Internals.VCode
22:41 geoffb Gee, guess what I'm trying to write tests for
22:41 theorbtwo Thanks.
22:41 Juerd heh
22:41 theorbtwo (Pugs.AST.Internals, line 209.)
22:42 theorbtwo Oh, sorry, 216.
22:42 theorbtwo And code that gives it?
22:42 wolverian okay, it happens with all chained .splits
22:43 wolverian is there a test file for chained method calls, or should I just put this in split.t?
22:43 geoffb theorbtwo, the problem at the moment is that I'm not sure -- I test it various ways.  Like so:
22:43 geoffb    lives_ok("$use <>", '$use <> succeeds');
22:43 geoffb    eval("$use <>; 1") or do {skip_rest; exit};
22:43 geoffb for example
22:44 geoffb hmm, wrong quoting in that first one, oops
22:46 geoffb It's the first one.  Zagnuts.  OK, time for spelunking
22:46 mj41 has quit IRC (Read error: 104 (Connection reset by peer))
22:48 theorbtwo Hm, I don't immediately see a clean fix.
22:48 theorbtwo The problem is that that error comes from doCast, which does not run inside of an Eval monad.
22:48 theorbtwo That keeps it from throwing errors via the normal, catchable, mechinisim.
22:49 theorbtwo (That is to say, fail.)
22:49 sproingie has quit IRC (Remote closed the connection)
22:49 geoffb Is doCast one of those ancient blocks of code autrijus was referring to earlier?
22:49 theorbtwo fromVal is what is normally called, which does run in an Eval, and then dispatches to doCast.
22:49 theorbtwo Possibly... can you quote him?
22:49 theorbtwo I don't see every line autrijus utters.
22:49 geoffb gimme a sec
22:50 Juerd 1
22:50 osfameron has joined #perl6
22:51 geoffb Juerd, :-P
22:53 geoffb http://colabti.de/irclogger/irclogger_log/perl6?date=2005-06-08,Wed&amp;sel=164#l333
22:53 geoffb and following
22:53 geoffb theorbtwo, clearly you're falling down on the job
22:53 geoffb :-)
22:53 theorbtwo No, but possibly close.
22:54 theorbtwo Falling down on the job?
22:55 theorbtwo I do that a lot, but what makes you think I am in this instance?
22:55 geoffb theorbtwo: I don't see every line autrijus utters.
22:55 theorbtwo Ah.
22:56 geoffb brb
22:59 sbkhh has joined #perl6
22:59 Odin-FOO has quit IRC (Read error: 131 (Connection reset by peer))
23:03 geoffb bak
23:05 geoffb Hmmm, this seems buggy:
23:05 geoffb pugs> use File::Basename--perl5
23:05 geoffb {obj-perl5}
23:05 geoffb pugs> {use File::Basename--perl5}.()
23:05 geoffb pugs: *** Can't locate File/Basename.pm in @INC (@INC contains: /usr/lib/perl6/5.8 /usr/share/perl6/5.8 /usr/local/lib/perl6 /usr/local/share/perl6 .).
23:05 geoffb    at <interactive> line 1, column 1
23:06 geoffb It appears that I may have to get way more fundamental in my testing here.
23:06 theorbtwo That's... um... strange.
23:07 kelan would anyone mind helping me understand a portion of the harrorth 6th chapter? :)
23:07 geoffb Mmmm, tutorial recursion . . .
23:08 theorbtwo Harroth has a 6th chapter?
23:08 theorbtwo I should read that...
23:08 kelan yes
23:08 kelan i got most of it
23:08 kelan except the important part, of course
23:08 geoffb Just reading the scrollbacks, it looks like the latest chapters are always the fuzziest, until autrijus posts his corrections.
23:09 kelan well the actual detail i don't understand is quite small but it makes everything work, so its probably important
23:09 * geoffb chuckles
23:10 geoffb I think that belief is partly why harrorth exists at all -- because of the author's frustration at not groking the magic that makes everything work.
23:10 geoffb So you've got the right attitude.
23:11 kelan it is rather frustrating
23:11 kelan i was getting the hang of everything!
23:11 kelan then this one inconsistency
23:21 geoffb nopaste?
23:21 geoffb perlbot nopaste
23:21 perlbot Paste your code here and #<channel> will be able to view it: http://sial.org/pbot/<channel>
23:22 kelan perlbot yespaste
23:22 kelan because i love you
23:22 pasteling "geoffb" at 69.110.115.185 pasted "use ...--perl5 wierdness" (16 lines, 318B) at http://sial.org/pbot/10865
23:23 geoffb OK the above paste is just ODD
23:25 kelan maybe it thinks the {} is hash?
23:25 Shillo has left "Leaving"
23:27 wolverian dammit, perl6 has seriously impacted my willingness for coding perl5. :(
23:31 Limbic_Region wolverian - me too
23:31 Limbic_Region unfortunately I still think in p5
23:34 wolverian heh.
23:35 wolverian it's hard to decide which is more annoying - perl5 because it's so crufty, or pugs because it doesn't support everything I need yet )
23:35 wolverian at least I can help fixing the latter!
23:36 putter has quit IRC (Read error: 60 (Operation timed out))
23:37 * Limbic_Region is still working on that
23:38 Limbic_Region Haskell is very foreign to me
23:38 Limbic_Region and there are never enough tuits
23:38 Limbic_Region I need to get back to harroth to see if it helps more now
23:38 Limbic_Region plus all the other ways I envisioned of helping
23:38 * Limbic_Region really needs to go through the Ss and annotate what is missing according to what is supposed to be there
23:39 clkao what's "5 < $a < 10" type of condition called?
23:39 geoffb kelan, I might bite on that, except the difference between normal and --perl5 behavior
23:40 geoffb wolverian, with perl5 I find myself constantly writing source filters to get Perl6-ish syntax
23:40 geoffb clkao, n-ary comparison?
23:41 wolverian geoffb: doesn't that waste a lot of time? :)
23:41 wolverian or chained comparison?
23:41 wolverian (the < in question is a listop, I think)
23:41 Enveigler1 has quit IRC (Read error: 60 (Operation timed out))
23:42 geoffb wolverian, the part that wastes time is different projects having different code ownership.  :-(  I *hate* having to rewrite old stuff because I'm stuck working on some license-incompatible chunk of code.
23:42 geoffb Otherwise, I'd just write the filters once, and apply everywhere.
23:42 clkao chained comparison it seems.
23:42 wolverian geoffb: right. that sucks. :/
23:43 Limbic_Region clkao - chained comparison is correct
23:43 Limbic_Region and p6 promises to only evaluate each term once
23:43 Limbic_Region good stuff
23:43 clkao how is it short circuited
23:43 Limbic_Region dunno
23:44 Limbic_Region I am reading hw2005 ATM
23:44 Limbic_Region good stuff
23:45 theorbtwo Bah.
23:46 theorbtwo So close to getting rid of doCast.
23:46 kelan theorbtwo: did you read chapter 6??
23:46 kelan oh
23:46 theorbtwo instance Value [Word8] is kicking my ass.
23:46 geoffb You know, I think the thing that may finally get pugs rewritten in Perl6 is that eventually there will be a non-lambda person with Hubris strong enough think that the Lazy way to understand pugs is to rewrite rather than learning Haskell
23:47 kelan ha
23:48 theorbtwo geoffb: I'm not so sure.
23:48 kelan i thought what would happen is that once they get the bootstrapping process worked out, they'd just compile the haskell to perl6 and call it a day
23:48 theorbtwo Larry will be at the pugs hackathon at the end of the month, and I bet he'll be learning some Haskell while he's there.
23:48 meppl has quit IRC (Read error: 110 (Connection timed out))
23:49 meppl has joined #perl6
23:49 Limbic_Region I bet too theorbtwo
23:49 geoffb theorbtwo, yes, but I've noticed Larry is most decidedly not coding the compiler this time around.  He seems fixated on the P5->P6 tools
23:50 Limbic_Region I think it would be a lot easier if I had someone side by side that could put things in a way that I would understand
23:50 geoffb (and not incidently, code he already understands -- perl5's core)
23:51 Limbic_Region larry understands the necessity of good translation to get stubborn crufty people off p6 is to provide a useable automatic tool
23:51 Limbic_Region s/off p6/off p5 to p6/
23:51 theorbtwo Limbic_Region: Not surprsing.
23:51 geoffb Limbic_Region, Oh, I don't disagree . . . I'm just doubting he'll be contributing directly to pugs/perl6 *the compiler*.
23:52 theorbtwo He delayed the release of perl 1 years until he had sed2perl and awk2perl written.
23:52 theorbtwo Hopefully, this time around, it won't take years.
23:52 ihb has quit IRC (brown.freenode.net irc.freenode.net)
23:52 vitaminmoo has quit IRC (brown.freenode.net irc.freenode.net)
23:52 stevan has quit IRC (brown.freenode.net irc.freenode.net)
23:52 spinclad has quit IRC (brown.freenode.net irc.freenode.net)
23:52 integral has quit IRC (brown.freenode.net irc.freenode.net)
23:52 svnbot6 has quit IRC (brown.freenode.net irc.freenode.net)
23:52 cookys has quit IRC (brown.freenode.net irc.freenode.net)
23:52 tcliou has quit IRC (brown.freenode.net irc.freenode.net)
23:52 jiing has quit IRC (brown.freenode.net irc.freenode.net)
23:52 mugwump has quit IRC (brown.freenode.net irc.freenode.net)
23:52 Limbic_Region grrr - /me notes the time
23:53 geoffb At work later than intended, Limbic_Region ?
23:54 Limbic_Region oh no, I am at home
23:54 cookys has joined #perl6
23:54 jiing has joined #perl6
23:54 * theorbtwo is awake somewhat later then intended.
23:54 * Limbic_Region 's SO puts up with me in the basement but only so much
23:54 * geoffb chuckles knowingly
23:56 theorbtwo Limbic's SO is possibly wiser then mine.
23:56 theorbtwo (On this matter, anyway.)
23:56 Limbic_Region your SO is a fellow geek
23:56 Limbic_Region she understands the compulsion
23:56 integral_ has joined #perl6
23:56 theorbtwo This is quite true.
23:56 Limbic_Region to Jean - I am "playing"
23:56 Limbic_Region which really isn't that far from the truth
23:57 theorbtwo However, giving in to the compulsion isn't neccessarly a good thing.
23:57 theorbtwo Limbic_Region: It can and it can't.
23:57 theorbtwo If you're helping people, then you aren't just playing.

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

Perl 6 | Reference Documentation | Rakudo