Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2009-10-03

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:04 am0c joined #perl6
00:06 diakopter mberends: awesome
00:06 mberends it's addictive ;)
00:06 diakopter yeah it is
00:08 mberends there must be a lot of spectests either passable or easily reached
00:08 diakopter ++TimToady adding computed signature to blocks from its locals with ^ twigils
00:09 mberends that must be handy, so closures internally are not so anonymous
00:10 diakopter yeah
00:11 diakopter mberends: the .eval_args member of each node (results of strictly eval'd arguments/children) - I'm gonna switch it to be a p6builtin.List
00:11 diakopter (and someday an actual Capture or whatever :)
00:12 mberends how does JS access members of the p6 List?
00:13 diakopter list_obj.items[index] and I guess it needs a .has_another(last_successful_index) index or smth
00:14 diakopter along with a .get_next(last_successful_index)
00:14 mberends no prob there
00:14 diakopter Probably there's a proper Perl 6 way of saying those :)
00:16 mberends yeah, something that deals with lazy lists, such as $file.get()
00:17 mberends it's the internal layer below those functions that we want
00:20 mberends my plan: sleep, home chores, get harness-fudging.pl useable, tidy + comment the most important .js code for other devs.
00:22 cognominal joined #perl6
00:23 mberends afk & # sleep 8*3600
00:25 diakopter tomorrow I think I'll spend the whole day refactoring it all for *real* method/member dispatch (.invoke) and integrate the new type/class system I wrote
00:25 hercynium joined #perl6
00:26 crythias I think class warfare is bad.
00:26 TimToady I particularly hate spitwads.
00:26 nbrown joined #perl6
00:26 crythias indeed. and chattering teeth.
00:27 * TimToady retreats to go socialize with real people
00:27 crythias I wish I could do that.
00:28 * crythias 's wife nudges him.
00:28 rhr joined #perl6
00:28 quietfanatic C Header files are more complex than I suspected, but I shouldn't have to completely parse every piece of them.
00:28 quietfanatic only the typedefs and function declarations.
00:28 eMaX joined #perl6
00:29 crythias just use #ifdef FALSE and you don't have to worry about it.
00:30 quietfanatic I'm not writing them, just reading them.
00:31 carlin I'm using IO::Socket::INET to send headers to a webserver, but recv() doesn't return until the server closes the connection (after 300 seconds). Does anyone know how this is supposed to work?
00:32 cognominal joined #perl6
00:44 kid51 joined #perl6
00:46 kid51 Are ircperlorg and ircperlorg1 down?
00:51 discHead left #perl6
00:55 crythias if they are, I'd feel a bird irc'd...
00:55 crythias s/bird/bit
01:02 kid51 looks like ircperlorg is back up
01:09 pugs_svn r28561 | colomon++ | [t/spec] Full version of the new trig tests.  (Still a bit of work to do.)
01:09 quietfanatic joined #perl6
01:16 lanny joined #perl6
01:16 orafu joined #perl6
01:23 lanny rakudo: Rat(0, 0).perl.say
01:23 p6eval rakudo be44f6: OUTPUT«invoke() not implemented in class 'Rat'␤in Main (/tmp/6rEr5acH7H:0)␤»
01:23 lanny rakudo: Rat.new(0,0).perl.say
01:23 p6eval rakudo be44f6: OUTPUT«Divide by zero␤»
01:24 colomon That seems to be a hole in the Rat.
01:24 lanny hah.  :)
01:25 lanny If 1/0 is a Rat then surely 0/0 == 1?
01:26 crythias 0/0 is how much water it takes to fill a klein bottle.
01:27 colomon BTW, I think it's definitely worth having your Num.Rat in Rakudo, and I can do the technical end of adding it (if you'd like), but I don't know about handling the legal end of things, if you know what I mean.
01:27 colomon rakudo: say 0.0 / 0.0;
01:27 p6eval rakudo be44f6: OUTPUT«Divide by zero␤»
01:27 lanny I'll add it.  Just writing the tests.
01:27 lanny Had to get kids from school, then entertain them, then supper, yada yada yada.
01:28 colomon I understand.
01:38 lanny So I'm with you on method Rat being in Num but I find it odd that there is no S32-num/num.t
01:39 lanny For now I'll test in rat.t and they can be moved
01:39 colomon I think S03-operators/arith.t covers most of tests that would be in num.t if it existed.
01:40 lanny Thanks
01:40 colomon I think there should be a num.t longterm, though.
01:40 diakopter crythias: o/o
01:40 lanny There sort of is.  A lot of the operations are in S-32/*.t.  But there isn't a num.t explicitly
01:40 colomon I added rat.t myself, and I until recently complex.t only tested complex-specific functions.
01:41 colomon They have been built up in a rather ad-hoc fashion.
01:41 lanny Oh yes.  I recall.
01:58 TiMBuS joined #perl6
02:01 rhr_ joined #perl6
02:19 dalek joined #perl6
02:20 colomon Did I break dalek by pushing too many commits at once?
02:24 lanny Programming reminds me (every time I do it) of that joke about, "I know this like the back of my hand", and then they look at the back of their hand and say, "Where did that come from?"
02:53 diakopter dalek: wb
03:10 jaldhar joined #perl6
03:10 SmokeMachine joined #perl6
03:13 rhr joined #perl6

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

Perl 6 | Reference Documentation | Rakudo