Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2010-12-14

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:12 wamba left #perl6
00:17 nymacro joined #perl6
00:19 masak today's Advent post: http://perl6advent.wordpress.com/2010/​12/14/day-14-nextsame-and-its-cousins/
00:19 diakopter tomorrow's ;)
00:19 masak whatever ;)
00:20 masak it's already today over here...
00:20 masak unfortunately, there's an empty slot tomorrow. :/
00:21 masak we've got plenty of ideas for what to write about; anyone want to write advent post #15?
00:23 ashleyde1 joined #perl6
00:29 icwiener left #perl6
00:29 ashleyde1 left #perl6
00:34 masak 'night, #perl6
00:34 masak left #perl6
00:39 gimix joined #perl6
00:50 felliott left #perl6
00:57 felliott joined #perl6
01:02 felliott left #perl6
01:26 whiteknight left #perl6
01:33 redicaps joined #perl6
01:33 colomon phenny: tell masak "things tend to get more readable when you golf."  Wish I could have easily posted the process made working on the Markov chain script with moritz_++.  It started a pretty nice looking script, and found about three awesome simplifications that needed to be discarded before we landed on the final version.
01:33 phenny colomon: I'll pass that on when masak is around.
01:39 nymacro left #perl6
01:39 am0c joined #perl6
01:39 QinGW joined #perl6
01:43 lopaway is now known as lopnor
01:50 risou joined #perl6
01:54 echosystm joined #perl6
01:55 echosystm will perl6 be completely vm-based? as in no annoying c modules that need to be built?
01:56 echosystm i mean, will the perl6 equivalent of cpan be mostly 'pure perl' modules or will there be a lot of C stuff still?
01:57 diakopter echosystm: there are multiple implementations
01:59 diakopter it seems you find building/installing 'c modules' annoying in order to interact with other native packages and such.  All the VMs of which I'm aware have ways to interact natively, and so folks who need them will create (and sometimes publish for free) modules that link them.
02:00 diakopter echosystm: if you don't like their free gifts to you, that's fine...
02:01 echosystm is that a yes?
02:01 diakopter echosystm: the simple reality is that all that existing [natively built] code out there is too much to try to make "pure perl" and furthermore, in most cases, there aren't any reasons to.
02:01 echosystm i'd like to know if perl6 will be like java, where i can just move a project over to a different computer, run it and have it just work
02:02 echosystm having to compile things is a huge workflow killer at our workplace
02:02 diakopter that is, of course, a vastly underqualified/unfair comparison
02:02 echosystm every time we need to set something up on a server, our systems guys have a massive cry about dependencies blah blah blah
02:02 diakopter there are plenty of situations where perl is far more portable than gobs of java code.
02:03 diakopter that would be a problem with the "systems guys"
02:03 echosystm yes, but it is a problem nonetheless
02:03 diakopter yes.
02:04 echosystm so... will perl6 be more portable like that?
02:04 echosystm i assume yes, since it's using VMs like parrot etc.
02:04 diakopter I'm having trouble deciding which part[s] of what I've already written I need to explain more
02:05 echosystm "All the VMs of which I'm aware have ways to interact natively, and so folks who need them will create (and sometimes publish for free) modules that link them."
02:05 echosystm ways to interact natively with what? and folks who need what? link to what?
02:06 echosystm i don't follow that whole sentence
02:06 diakopter say, perl6 to sqlite3
02:06 echosystm oh right
02:06 diakopter someone who uses rakudo on parrot can install a module to use that software
02:07 diakopter someone has to write that module to link the two
02:07 diakopter and publish it for free
02:07 diakopter (so that we can talk about it like this) :)
02:07 echosystm i'm talking more about examples like snmp
02:08 echosystm from memory, in perl5 its standard to use net-snmp, which is a c library with perl interfaces
02:08 diakopter sure
02:08 echosystm instead of building it ontop of perl sockets and not keeping it 100% pure perl
02:08 echosystm i assume that was done for performance reasons
02:09 echosystm i suppose my question is, will things like that be done completely in perl or will we still have this dependency madness?
02:09 diakopter performance of the code, but probably more importantly, expediency of creation of the bindings
02:10 diakopter it is extremely difficult for me to imagine that thousands of programmers will rise up and translate/port the millions of LOC out there in order to meet your wish
02:10 echosystm mm
02:10 echosystm surely there are other people that feel the same way though?
02:10 diakopter (as I've said, it's much more expedient to use what's already written)
02:10 echosystm managing dependencies is a huge issue around here
02:11 diakopter yes, but there are costs to indulging such feelings
02:12 diakopter others are much more knowledgeable than I am about managing perl5 dependencies... I've heard good things, though, about perlbrew.
02:12 echosystm perlbrew aye
02:12 echosystm *googles*
02:13 echosystm this seems to be more about getting more than one version of perl installed
02:14 echosystm anyway, i've got a few avenues to investigate
02:14 diakopter if suddenly a company came along and said "here's $40B to port all open-source software to Perl 6", that'd be great... but then there would need to be an excellent fully-optimizing compiler to make that code as efficient as the other native libraries [including by finding the inefficiencies in all that $40B worth of ported code]. :D
02:14 echosystm i was just curious is perl6 would be any different
02:15 diakopter it'll be as different as people volunteer to make it
02:17 plobsing echosystm: at some level, you need to drop down to C to do anything remotely useful. that or expose every operating system call as a builtin and reimplement libc in your language (both of which are pretty unreasonable things to do)
02:21 plobsing what *will* likely go away are the glue libraries. NativeCall (as implemented by zavolaj) allows binding directly to the C libraries, meaning no XS is necessary (some conditions apply)
02:22 diakopter echosystm: note that plobsing is referring to rakudo, which is only one of the several implementations, and in particular rakudo on parrot, which is only one of the VMs on which rakudo will run.
02:23 diakopter the .net or mono edition of zavolaj might share its name, but it would look entirely different
02:25 florz left #perl6
02:25 plobsing diakopter: the guts may be different, but the interfaces should be the same
02:25 florz joined #perl6
02:25 risou_ joined #perl6
02:26 risou left #perl6
02:30 colomon hmmm... Advent post on creating a p6 module?
02:34 cdarroch left #perl6
02:37 Grimnir_ left #perl6
02:41 colomon one sentence in, I hate it.  :\
02:41 colomon maybe it will seem better in the morning
02:52 stkowski left #perl6
02:53 ch3ck3r joined #perl6
02:57 ch3ck left #perl6
03:02 lopnor hello,
03:03 lopnor I tried to make a class instance from string variables,
03:03 lopnor like this: https://gist.github.com/739951
03:04 lopnor classname with colon fails with 'Null PMC access'
03:04 lopnor am I doing something wrong?
03:05 colomon I'm guessing it's indeed the colon.  But it's more likely a bug than something wrong you are doing.
03:06 lopnor oh
03:06 lopnor i walked around that with my $obj = eval "{$class}.new";
03:07 am0c left #perl6
03:08 lopnor thank you.
03:08 colomon just for fun, try "Foo-Bar".new instead.
03:08 lopnor k
03:09 colomon I think the issue may have something to do with :: getting translated to - in nqp, or something to that effect.  (Not my area of expertise at all.)
03:10 lopnor colomon: it failed
03:11 lopnor thank you for the suggestion, anyway
03:11 colomon you're welcome, sorry I don't have a fix for you.
03:12 colomon phenny: tell masak Is lopnor's bug already reported?
03:12 phenny colomon: I'll pass that on when masak is around.
03:12 lopnor thank you!
03:14 plobsing lopnor: I get a little further by sticking the class name in a ::var (still not all the way though).
03:15 lopnor oh I'm waiting for that!
03:17 jaldhar joined #perl6
03:18 am0c joined #perl6
03:19 Grimnir_ joined #perl6
03:22 felliott joined #perl6
03:23 echosystm left #perl6
03:25 Grimnir_ left #perl6
03:26 Zimbu joined #perl6
03:26 takesako joined #perl6
03:27 Grimnir_ joined #perl6
03:36 glow left #perl6
03:36 Trashlord left #perl6
03:39 araujo left #perl6
03:39 araujo joined #perl6
03:39 araujo left #perl6
03:39 araujo joined #perl6
03:40 Trashlord joined #perl6
03:55 ch3ck3r left #perl6
03:57 Zimbu perl6: say "match" if 99 ~~ (99, 88, 77)
03:57 p6eval pugs, rakudo :  ( no output )
03:57 Zimbu Now, why didn't that match?  Been bugging me all evening.
03:57 diakopter perl6: say "match" if 99 ~~ 77, 88, 99
03:57 p6eval pugs, rakudo : OUTPUT«match␤»
03:58 _twitch joined #perl6
03:58 diakopter (dunno)
03:58 Zimbu First real clue I've seen all night.  So what was the difference?
03:58 diakopter dunno
03:59 Zimbu The more I play with v6, the more I hope Larry's off somewhere writing a good book on all this.  :-)
04:03 colomon rakudo: my $a := 99, 88 77; say $a; say $a.WHAT
04:03 p6eval rakudo : OUTPUT«===SORRY!===␤Confused at line 22, near "my $a := 9"␤»
04:03 colomon rakudo: my $a := 99, 88, 77; say $a; say $a.WHAT
04:03 p6eval rakudo : OUTPUT«99 88 77␤Parcel()␤»
04:03 colomon rakudo: my $a := (99, 88, 77); say $a; say $a.WHAT
04:03 p6eval rakudo : OUTPUT«99 88 77␤Parcel()␤»
04:04 colomon so much for that theory.
04:06 Zimbu I was going down the same path (without leveraging the cool $a.WHAT, thanks for that).  Some semantic difference between list or array?
04:07 TimToady smartmatched lists do not assume "any" semantics, unlike in Perl 5
04:07 colomon TimToady++ # coming to the rescue
04:07 colomon is the second one a precedence thing?
04:07 colomon (99 ~~ 77, 88, 99), I mean
04:08 TimToady I have no idea how that worked
04:08 TimToady rakudo: say 99 ~~ 77
04:08 p6eval rakudo : OUTPUT«Bool::False␤»
04:09 TimToady rakudo: say 99 ~~ any 77, 88, 99
04:09 p6eval rakudo : OUTPUT«Bool::True␤»
04:09 colomon rakudo: say "match" if (99 ~~ 77), 88, 99
04:09 p6eval rakudo : OUTPUT«match␤»
04:09 satyavvd joined #perl6
04:09 TimToady ah
04:09 Zimbu rakudo: say "match" if 99 ~~ (99, 99, 99)
04:09 p6eval rakudo :  ( no output )
04:09 colomon rakudo: say "match" if Bool::False, 88, 99
04:09 p6eval rakudo : OUTPUT«match␤»
04:10 TimToady rakudo: say 99 ~~ 99 | 99 | 99
04:10 p6eval rakudo : OUTPUT«Bool::True␤»
04:11 colomon rakudo: say "match" if 99 ~~ 77 | 88 | 99
04:11 p6eval rakudo : OUTPUT«match␤»
04:11 colomon rakudo: say "match" if 98 ~~ 77 | 88 | 99
04:11 p6eval rakudo :  ( no output )
04:14 colomon 'night, all
04:14 Zimbu Thanks for the insights!
04:15 Zimbu So let me see... smartmatching in this case w/o parens is a "false match" due to precedence.
04:15 Zimbu And junctions work as you'd expect.
04:19 Zimbu Gotta run.  I'll keep puzzling over this.
04:20 Zimbu left #perl6
04:23 risou_ left #perl6
04:36 dju_ joined #perl6
04:37 d4l3k_ joined #perl6
04:38 satyavvd left #perl6
04:39 lestaway joined #perl6
04:39 stepnem_ joined #perl6
04:40 mathw_ joined #perl6
04:40 perigrin_ joined #perl6
04:40 ascent__ joined #perl6
04:40 rblackwe joined #perl6
04:40 Tene_ joined #perl6
04:40 Tene_ left #perl6
04:40 Tene_ joined #perl6
04:40 edenc_ joined #perl6
04:40 krakan_ joined #perl6
04:40 jedai joined #perl6
04:40 BinGOs_ joined #perl6
04:40 drbean_ joined #perl6
04:40 TimToady_ joined #perl6
04:40 rokoteko_ joined #perl6
04:40 shortcir1uit joined #perl6
04:40 pothos_ joined #perl6
04:41 nperez joined #perl6
04:52 dual_ left #perl6
04:52 Eevee left #perl6
04:52 Grrrr left #perl6
04:52 spinclad left #perl6
04:52 literal left #perl6
04:52 florz left #perl6
04:52 Guest19368 left #perl6
04:52 simcop2387 left #perl6
04:52 clkao_ left #perl6
04:52 cognominal left #perl6
04:52 mkramer left #perl6
04:52 dsp_ left #perl6
04:52 sorear left #perl6
04:52 slavik1 left #perl6
04:52 Lorn left #perl6
04:52 edenc_ left #perl6
04:52 ascent__ left #perl6
04:52 Trashlord left #perl6
04:52 IllvilJa left #perl6
04:52 Patterner left #perl6
04:52 lamstyle left #perl6
04:52 wooden left #perl6
04:52 rhr left #perl6
04:52 cotto_work left #perl6
04:52 PacoLinux left #perl6
04:52 Kovensky left #perl6
04:52 HarryS left #perl6
04:52 lue left #perl6
04:52 pochi_ left #perl6
04:52 kolibrie left #perl6
04:52 szbalint left #perl6
04:52 sECuRE left #perl6
04:52 Bucciarati left #perl6
04:52 sunnavy left #perl6
04:52 y3llow left #perl6
04:52 s1n1 left #perl6
04:52 flussence left #perl6
04:52 gbacon left #perl6
04:52 Khisanth left #perl6
04:52 shabble left #perl6
04:52 frettled left #perl6
04:52 lopnor left #perl6
04:52 rjbs left #perl6
04:52 c9s left #perl6
04:52 Tene_ left #perl6
04:52 rblackwe left #perl6
04:52 _twitch left #perl6
04:52 Grimnir_ left #perl6
04:52 skangas left #perl6
04:52 ggoebel left #perl6
04:52 gabiruh left #perl6
04:52 Util left #perl6
04:52 breinbaas left #perl6
04:52 nsh- left #perl6
04:52 jlaire left #perl6
04:52 dukeleto left #perl6
04:52 krunen_ left #perl6
04:52 kcwu left #perl6
04:52 gfldex left #perl6
04:52 diakopter left #perl6
04:52 bbkr left #perl6
04:52 jjore left #perl6
04:52 ruoso left #perl6
04:52 phenny left #perl6
04:52 sjn left #perl6
04:52 nsh left #perl6
04:52 moritz_ left #perl6
04:52 rbuels left #perl6
04:52 takesako left #perl6
04:52 avuserow left #perl6
04:52 cxreg left #perl6
04:52 patch left #perl6
04:52 cibs left #perl6
04:52 c1sung left #perl6
04:52 eternaleye left #perl6
04:52 mdxi left #perl6
04:52 IRSeekBot left #perl6
04:52 charsbr_ left #perl6
04:52 sjohnson left #perl6
04:52 jerome left #perl6
04:52 rokoteko_ left #perl6
04:52 shortcir1uit left #perl6
04:52 drbean_ left #perl6
04:52 gimix left #perl6
04:52 hudnix left #perl6
04:52 takadonet left #perl6
04:52 ashleydev left #perl6
04:52 cottoo left #perl6
04:52 ilogger2 left #perl6
04:52 Sarten-X left #perl6
04:52 yahooooo left #perl6
04:52 cls_bsd left #perl6
04:52 betterworld left #perl6
04:52 jasonmay left #perl6
04:52 mtve left #perl6
04:52 mj41 left #perl6
04:52 TiMBuS left #perl6
04:52 Juerd left #perl6
04:52 wolverian left #perl6
04:52 hatseflats left #perl6
04:52 meteorja1 left #perl6
04:52 szabgab left #perl6
04:52 larsen left #perl6
04:52 dju_ left #perl6
04:52 saaki left #perl6
04:52 xinming left #perl6
04:52 pjcj left #perl6
04:52 broquaint left #perl6
04:52 PZt left #perl6
04:52 renormalist left #perl6
04:52 Maddingue left #perl6
04:52 jql left #perl6
04:52 jrockway left #perl6
04:52 sukria left #perl6
04:52 TimToady_ left #perl6
04:52 pothos_ left #perl6
04:52 stepnem_ left #perl6
04:52 jhuni left #perl6
04:52 toebu left #perl6
04:52 jfried left #perl6
04:52 mux left #perl6
04:52 horror21 left #perl6
04:52 frooh left #perl6
04:52 starcoder left #perl6
04:52 Helios- left #perl6
04:52 hillu left #perl6
04:52 jdv79 left #perl6
04:52 sbp left #perl6
04:52 ultraviolent left #perl6
04:52 jedai left #perl6
04:52 justatheory left #perl6
04:52 flatwhatson left #perl6
04:52 plobsing left #perl6
04:53 colomon left #perl6
04:53 buubot left #perl6
04:53 LoRe left #perl6
04:53 knewt2 left #perl6
04:53 pmichaud left #perl6
04:53 tylerni7 left #perl6
04:53 nperez left #perl6
04:53 mathw_ left #perl6
04:53 lestaway left #perl6
04:53 d4l3k_ left #perl6
04:53 felliott left #perl6
04:53 jaldhar left #perl6
04:53 redicaps left #perl6
04:53 Bzek_ left #perl6
04:53 nadim__ left #perl6
04:53 thepler left #perl6
04:53 Raynes left #perl6
04:53 Weathz left #perl6
04:53 ponbiki left #perl6
04:53 OxCart left #perl6
04:53 ingy left #perl6
04:53 chitragupt left #perl6
04:53 p6eval left #perl6
04:53 scp1 left #perl6
04:53 silug left #perl6
04:53 PerlJam left #perl6
04:53 frodwith left #perl6
04:53 pnu left #perl6
04:53 shachaf left #perl6
04:53 JodaZ left #perl6
04:53 hcchien left #perl6
04:53 bartolin left #perl6
04:53 allbery_b left #perl6
04:53 tadzik left #perl6
04:53 jedai_ left #perl6
04:53 dju left #perl6
04:53 shortcircuit left #perl6
04:53 pothos left #perl6
04:53 TimToady left #perl6
04:53 dalek left #perl6
04:53 oha left #perl6
04:53 drbean left #perl6
04:53 DarthGandalf left #perl6
04:53 felipe left #perl6
04:53 Gothmog_ left #perl6
04:53 stepnem left #perl6
04:53 BinGOs left #perl6
04:53 robinsmidsrod left #perl6
04:53 rokoteko left #perl6
04:53 nperez_ left #perl6
04:53 edenc left #perl6
04:53 perigrin left #perl6
04:53 _sri left #perl6
04:53 rblackwe_ left #perl6
04:53 barika left #perl6
04:53 arnsholt left #perl6
04:53 ascent_ left #perl6
04:53 lestrrat left #perl6
04:53 mathw left #perl6
04:53 krakan left #perl6
04:53 Tene left #perl6
04:53 tomaw left #perl6
04:53 QinGW left #perl6
04:53 puddingpimp left #perl6
04:53 orafu left #perl6
04:53 cjk101010 left #perl6
04:53 [particle]1 left #perl6
04:53 kfo left #perl6
04:53 zb left #perl6
04:53 zostay left #perl6
04:54 pothos joined #perl6
04:55 krunen_ joined #perl6
04:55 dukeleto joined #perl6
04:55 jlaire joined #perl6
04:55 nsh- joined #perl6
04:55 breinbaas joined #perl6
04:55 Util joined #perl6
04:55 gabiruh joined #perl6
04:55 ggoebel joined #perl6
04:55 skangas joined #perl6
04:55 Grimnir_ joined #perl6
04:55 _twitch joined #perl6
04:55 rblackwe joined #perl6
04:55 Tene_ joined #perl6
04:55 literal joined #perl6
04:55 spinclad joined #perl6
04:55 Grrrr joined #perl6
04:55 Eevee joined #perl6
04:55 dual_ joined #perl6
04:55 zostay joined #perl6
04:55 zb joined #perl6
04:55 kfo joined #perl6
04:55 [particle]1 joined #perl6
04:55 cjk101010 joined #perl6
04:55 orafu joined #perl6
04:55 puddingpimp joined #perl6
04:55 QinGW joined #perl6
04:55 arnsholt_ joined #perl6
04:55 DarthGandalf joined #perl6
04:55 __sri joined #perl6
04:55 oha_ joined #perl6
04:55 barika_ joined #perl6
04:55 Gothmog_ joined #perl6
04:55 gfldex joined #perl6
04:55 kcwu joined #perl6
04:55 Bucciarati joined #perl6
04:55 sECuRE joined #perl6
04:55 szbalint joined #perl6
04:55 kolibrie joined #perl6
04:55 pochi_ joined #perl6
04:55 lue joined #perl6
04:55 HarryS joined #perl6
04:55 Kovensky joined #perl6
04:55 PacoLinux joined #perl6
04:55 cotto_work joined #perl6
04:55 rhr joined #perl6
04:55 wooden joined #perl6
04:55 lamstyle joined #perl6
04:55 Patterner joined #perl6
04:55 IllvilJa joined #perl6
04:55 Trashlord joined #perl6
04:55 ascent__ joined #perl6
04:55 edenc_ joined #perl6
04:55 sunnavy joined #perl6
04:55 y3llow joined #perl6
04:55 s1n1 joined #perl6
04:55 flussence joined #perl6
04:55 gbacon joined #perl6
04:55 Khisanth joined #perl6
04:55 shabble joined #perl6
04:55 frettled joined #perl6
04:55 lopnor joined #perl6
04:55 rjbs joined #perl6
04:55 c9s joined #perl6
04:56 florz joined #perl6
04:56 Guest19368 joined #perl6
04:56 simcop2387 joined #perl6
04:56 clkao_ joined #perl6
04:56 cognominal joined #perl6
04:56 mkramer joined #perl6
04:56 dsp_ joined #perl6
04:56 sorear joined #perl6
04:56 slavik1 joined #perl6
04:56 Lorn joined #perl6
04:56 lopnor is now known as lopaway
04:56 lopaway is now known as lopnor
04:56 robins joined #perl6
04:56 nperez joined #perl6
04:56 pothos_ joined #perl6
04:56 shortcir1uit joined #perl6
04:56 rokoteko_ joined #perl6
04:56 TimToady_ joined #perl6
04:56 drbean_ joined #perl6
04:56 jedai joined #perl6
04:56 mathw_ joined #perl6
04:56 stepnem_ joined #perl6
04:56 lestaway joined #perl6
04:56 dalek joined #perl6
04:56 dju_ joined #perl6
04:56 takesako joined #perl6
04:56 jaldhar joined #perl6
04:56 redicaps joined #perl6
04:56 gimix joined #perl6
04:56 Bzek_ joined #perl6
04:56 jhuni joined #perl6
04:56 saaki joined #perl6
04:56 hudnix joined #perl6
04:56 justatheory joined #perl6
04:56 nadim__ joined #perl6
04:56 thepler joined #perl6
04:56 Raynes joined #perl6
04:56 toebu joined #perl6
04:56 mux joined #perl6
04:56 jfried joined #perl6
04:56 takadonet joined #perl6
04:56 Weathz joined #perl6
04:56 OxCart joined #perl6
04:56 ponbiki joined #perl6
04:56 charsbr_ joined #perl6
04:56 ashleydev joined #perl6
04:56 horror21 joined #perl6
04:56 frooh joined #perl6
04:56 ingy joined #perl6
04:56 cottoo joined #perl6
04:56 flatwhatson joined #perl6
04:56 xinming joined #perl6
04:56 plobsing joined #perl6
04:56 pjcj joined #perl6
04:56 ilogger2 joined #perl6
04:56 chitragupt joined #perl6
04:56 diakopter joined #perl6
04:56 p6eval joined #perl6
04:56 bbkr joined #perl6
04:56 colomon joined #perl6
04:56 scp1 joined #perl6
04:56 Sarten-X joined #perl6
04:56 silug joined #perl6
04:56 broquaint joined #perl6
04:56 jjore joined #perl6
04:56 buubot joined #perl6
04:56 PZt joined #perl6
04:56 ruoso joined #perl6
04:56 LoRe joined #perl6
04:56 yahooooo joined #perl6
04:56 hcchien joined #perl6
04:56 cls_bsd joined #perl6
04:56 betterworld joined #perl6
04:56 PerlJam joined #perl6
04:56 knewt2 joined #perl6
04:56 jerome joined #perl6
04:56 cibs joined #perl6
04:56 jasonmay joined #perl6
04:56 starcoder joined #perl6
04:56 renormalist joined #perl6
04:56 frodwith joined #perl6
04:56 mtve joined #perl6
04:56 pmichaud joined #perl6
04:56 pnu joined #perl6
04:56 Helios- joined #perl6
04:56 hillu joined #perl6
04:56 jdv79 joined #perl6
04:56 mj41 joined #perl6
04:56 shachaf joined #perl6
04:56 JodaZ joined #perl6
04:56 sbp joined #perl6
04:56 ultraviolent joined #perl6
04:56 bartolin joined #perl6
04:56 tylerni7 joined #perl6
04:56 allbery_b joined #perl6
04:56 phenny joined #perl6
04:56 TiMBuS joined #perl6
04:56 Maddingue joined #perl6
04:56 Juerd joined #perl6
04:56 tadzik joined #perl6
04:56 wolverian joined #perl6
04:56 sjn joined #perl6
04:56 nsh joined #perl6
04:56 moritz_ joined #perl6
04:56 jql joined #perl6
04:56 hatseflats joined #perl6
04:56 jrockway joined #perl6
04:56 c1sung joined #perl6
04:56 rbuels joined #perl6
04:56 meteorja1 joined #perl6
04:56 eternaleye joined #perl6
04:56 patch joined #perl6
04:56 cxreg joined #perl6
04:56 avuserow joined #perl6
04:56 mdxi joined #perl6
04:56 sjohnson joined #perl6
04:56 IRSeekBot joined #perl6
04:56 sukria joined #perl6
04:56 szabgab joined #perl6
04:56 larsen joined #perl6
04:56 DarthGandalf left #perl6
04:56 DarthGandalf joined #perl6
04:57 hillu_ joined #perl6
04:57 diakopter left #perl6
04:57 bbkr left #perl6
04:57 jjore left #perl6
04:57 ruoso left #perl6
04:57 phenny left #perl6
04:57 sjn left #perl6
04:57 nsh left #perl6
04:57 moritz_ left #perl6
04:57 rbuels left #perl6
04:57 takesako left #perl6
04:57 avuserow left #perl6
04:57 cxreg left #perl6
04:57 patch left #perl6
04:57 cibs left #perl6
04:57 c1sung left #perl6
04:57 eternaleye left #perl6
04:57 mdxi left #perl6
04:57 IRSeekBot left #perl6
04:57 charsbr_ left #perl6
04:57 sjohnson left #perl6
04:57 jerome left #perl6
04:57 rokoteko_ left #perl6
04:57 shortcir1uit left #perl6
04:57 drbean_ left #perl6
04:57 gimix left #perl6
04:57 hudnix left #perl6
04:57 takadonet left #perl6
04:57 ashleydev left #perl6
04:57 cottoo left #perl6
04:57 ilogger2 left #perl6
04:57 Sarten-X left #perl6
04:57 yahooooo left #perl6
04:57 cls_bsd left #perl6
04:57 betterworld left #perl6
04:57 jasonmay left #perl6
04:57 mtve left #perl6
04:57 mj41 left #perl6
04:57 TiMBuS left #perl6
04:57 Juerd left #perl6
04:57 wolverian left #perl6
04:57 hatseflats left #perl6
04:57 meteorja1 left #perl6
04:57 szabgab left #perl6
04:57 larsen left #perl6
04:57 dju_ left #perl6
04:57 saaki left #perl6
04:57 xinming left #perl6
04:57 pjcj left #perl6
04:57 broquaint left #perl6
04:57 PZt left #perl6
04:57 renormalist left #perl6
04:57 Maddingue left #perl6
04:57 jql left #perl6
04:57 jrockway left #perl6
04:57 sukria left #perl6
04:57 robins left #perl6
04:57 TimToady_ left #perl6
04:57 pothos_ left #perl6
04:57 stepnem_ left #perl6
04:57 jhuni left #perl6
04:57 toebu left #perl6
04:57 jfried left #perl6
04:57 mux left #perl6
04:57 horror21 left #perl6
04:57 frooh left #perl6
04:57 starcoder left #perl6
04:57 Helios- left #perl6
04:57 hillu left #perl6
04:57 jdv79 left #perl6
04:57 sbp left #perl6
04:57 ultraviolent left #perl6
04:57 jedai left #perl6
04:57 justatheory left #perl6
04:57 flatwhatson left #perl6
04:57 plobsing left #perl6
04:57 colomon left #perl6
04:57 buubot left #perl6
04:57 LoRe left #perl6
04:57 knewt2 left #perl6
04:57 pmichaud left #perl6
04:57 tylerni7 left #perl6
04:57 nperez left #perl6
04:57 mathw_ left #perl6
04:57 lestaway left #perl6
04:57 dalek left #perl6
04:57 jaldhar left #perl6
04:57 redicaps left #perl6
04:57 Bzek_ left #perl6
04:57 nadim__ left #perl6
04:57 thepler left #perl6
04:57 Raynes left #perl6
04:57 Weathz left #perl6
04:57 ponbiki left #perl6
04:57 OxCart left #perl6
04:57 ingy left #perl6
04:57 chitragupt left #perl6
04:57 p6eval left #perl6
04:57 scp1 left #perl6
04:57 silug left #perl6
04:57 PerlJam left #perl6
04:57 frodwith left #perl6
04:57 pnu left #perl6
04:57 shachaf left #perl6
04:57 JodaZ left #perl6
04:57 hcchien left #perl6
04:57 bartolin left #perl6
04:57 allbery_b left #perl6
04:57 tadzik left #perl6
04:57 jdv79 joined #perl6
04:57 HarryS left #perl6
04:57 ultraviolent joined #perl6
04:58 toebu joined #perl6
04:58 y3llow left #perl6
04:58 frooh_ joined #perl6
04:58 robins joined #perl6
04:58 nperez joined #perl6
04:58 pothos_ joined #perl6
04:58 shortcir1uit joined #perl6
04:58 rokoteko_ joined #perl6
04:58 TimToady_ joined #perl6
04:58 drbean_ joined #perl6
04:58 jedai joined #perl6
04:58 mathw_ joined #perl6
04:58 stepnem joined #perl6
04:58 lestaway joined #perl6
04:58 dalek joined #perl6
04:58 dju_ joined #perl6
04:58 takesako joined #perl6
04:58 jaldhar joined #perl6
04:58 redicaps joined #perl6
04:58 gimix joined #perl6
04:58 Bzek_ joined #perl6
04:58 jhuni joined #perl6
04:58 saaki joined #perl6
04:58 hudnix joined #perl6
04:58 justatheory joined #perl6
04:58 nadim__ joined #perl6
04:58 thepler joined #perl6
04:58 Raynes joined #perl6
04:58 84XABEEDZ joined #perl6
04:58 mux joined #perl6
04:58 jfried joined #perl6
04:58 takadonet joined #perl6
04:58 Weathz joined #perl6
04:58 OxCart joined #perl6
04:58 ponbiki joined #perl6
04:58 charsbr_ joined #perl6
04:58 ashleydev joined #perl6
04:58 horror21 joined #perl6
04:58 frooh joined #perl6
04:58 ingy joined #perl6
04:58 cottoo joined #perl6
04:58 flatwhatson joined #perl6
04:58 xinming joined #perl6
04:58 plobsing joined #perl6
04:58 pjcj joined #perl6
04:58 ilogger2 joined #perl6
04:58 chitragupt joined #perl6
04:58 diakopter joined #perl6
04:58 p6eval joined #perl6
04:58 bbkr joined #perl6
04:58 colomon joined #perl6
04:58 scp1 joined #perl6
04:58 Sarten-X joined #perl6
04:58 silug joined #perl6
04:58 broquaint joined #perl6
04:58 jjore joined #perl6
04:58 buubot joined #perl6
04:58 PZt joined #perl6
04:58 ruoso joined #perl6
04:58 LoRe joined #perl6
04:58 yahooooo joined #perl6
04:58 hcchien joined #perl6
04:58 cls_bsd joined #perl6
04:58 betterworld joined #perl6
04:58 PerlJam joined #perl6
04:58 knewt2 joined #perl6
04:58 jerome joined #perl6
04:58 cibs joined #perl6
04:58 jasonmay joined #perl6
04:58 starcoder joined #perl6
04:58 renormalist joined #perl6
04:58 frodwith joined #perl6
04:58 mtve joined #perl6
04:58 pmichaud joined #perl6
04:58 pnu joined #perl6
04:58 Helios- joined #perl6
04:58 hillu joined #perl6
04:58 84XABB20K joined #perl6
04:58 mj41 joined #perl6
04:58 shachaf joined #perl6
04:58 JodaZ joined #perl6
04:58 sbp joined #perl6
04:58 84XABBIWA joined #perl6
04:58 bartolin joined #perl6
04:58 tylerni7 joined #perl6
04:58 allbery_b joined #perl6
04:58 phenny joined #perl6
04:58 TiMBuS joined #perl6
04:58 Maddingue joined #perl6
04:58 Juerd joined #perl6
04:58 tadzik joined #perl6
04:58 wolverian joined #perl6
04:58 sjn joined #perl6
04:58 nsh joined #perl6
04:58 moritz_ joined #perl6
04:58 jql joined #perl6
04:58 hatseflats joined #perl6
04:58 jrockway joined #perl6
04:58 c1sung joined #perl6
04:58 rbuels joined #perl6
04:58 meteorja1 joined #perl6
04:58 eternaleye joined #perl6
04:58 patch joined #perl6
04:58 cxreg joined #perl6
04:58 avuserow joined #perl6
04:58 mdxi joined #perl6
04:58 sjohnson joined #perl6
04:58 IRSeekBot joined #perl6
04:58 sukria joined #perl6
04:58 szabgab joined #perl6
04:58 larsen joined #perl6
04:58 y3llow joined #perl6
04:58 mux left #perl6
04:58 TimToady_ left #perl6
04:58 frooh left #perl6
04:58 84XABB20K left #perl6
04:58 hillu left #perl6
04:58 Helios- left #perl6
04:58 84XABEEDZ left #perl6
04:58 pothos_ left #perl6
04:58 mux joined #perl6
04:58 TimToady joined #perl6
04:58 Helios` joined #perl6
04:58 HarryS joined #perl6
04:59 OxCart netsplits are much funnier on large networks
05:01 tomaw joined #perl6
05:01 84XABBIWA left #perl6
05:01 sbp left #perl6
05:01 [sbp] joined #perl6
05:01 satyavvd joined #perl6
05:05 sorear good * #perl6
05:07 ponbiki :3
05:09 sorear phenny: tell masak Due to circumstances beyond my control, I'm likely to miss most of #phasers, sorry.  I'll be able to make #phasers+24h though.
05:09 phenny sorear: I'll pass that on when masak is around.
05:10 * shortcir1uit yawns
05:10 shortcir1uit I forgot to write the post until way, way too late.
05:10 shortcir1uit It's now 12:08AM. I've rewritten the first two paragraphs thrice, and it still sounds like something I'd have written in early high school.
05:10 shortcir1uit I'll try again tomorrow. :-|
05:11 sorear shortcir1uit is doing p6advent/
05:12 lue ohai o/
05:25 dalek niecza/clibackend: bd33d2f | sorear++ | src/Metamodel.pm:
05:25 dalek niecza/clibackend: Include names in cross-reference nodes
05:25 dalek niecza/clibackend: review: https://github.com/sorear/niecza/commit/bd33d2f751
05:25 dalek niecza/clibackend: 4c0d984 | sorear++ | / (9 files):
05:25 dalek niecza/clibackend: WIP: Start codegen overhaul
05:25 dalek niecza/clibackend:
05:25 dalek niecza/clibackend: CgOp::xxx now generates portable nodes. A skeleton of a NAM
05:25 dalek niecza/clibackend: writer exists.
05:25 dalek niecza/clibackend: review: https://github.com/sorear/niecza/commit/4c0d984e29
05:25 dalek niecza/clibackend: add05ef | sorear++ | src/ (4 files):
05:25 dalek niecza/clibackend: Prototype the JSON-based to_nam
05:25 dalek niecza/clibackend: review: https://github.com/sorear/niecza/commit/add05ef90d
05:25 yves__ left #perl6
05:25 nymacro joined #perl6
05:26 dalek niecza/cilbackend: bd33d2f | sorear++ | src/Metamodel.pm:
05:26 dalek niecza/cilbackend: Include names in cross-reference nodes
05:26 dalek niecza/cilbackend: review: https://github.com/sorear/niecza/commit/bd33d2f751
05:26 dalek niecza/cilbackend: 4c0d984 | sorear++ | / (9 files):
05:26 dalek niecza/cilbackend: WIP: Start codegen overhaul
05:26 dalek niecza/cilbackend:
05:26 dalek niecza/cilbackend: CgOp::xxx now generates portable nodes. A skeleton of a NAM
05:26 dalek niecza/cilbackend: writer exists.
05:26 dalek niecza/cilbackend: review: https://github.com/sorear/niecza/commit/4c0d984e29
05:26 dalek niecza/cilbackend: add05ef | sorear++ | src/ (4 files):
05:26 dalek niecza/cilbackend: Prototype the JSON-based to_nam
05:26 dalek niecza/cilbackend: review: https://github.com/sorear/niecza/commit/add05ef90d
05:35 envi joined #perl6
05:38 lue .oO(How do I search for a webhost that allows perl6? It's not exactly popular right now...)
05:42 Guest19368 left #perl6
05:44 sorear lue: search for a VPS instead
05:44 QinGW left #perl6
05:45 _kaare joined #perl6
05:45 sorear lue: if you're only going to be using it for Perl6-related activities, you could also ask Juerd for an acct on feather.perl6.nl
05:46 QinGW joined #perl6
05:47 starcoder left #perl6
05:52 starcoder joined #perl6
05:53 lue thanks sorear, I'm looking at VPS. [ I'm actually shooting for building a website, so I don't think feather would be ok for that :) ]
05:55 lopnor is now known as lopaway
06:00 redicaps left #perl6
06:02 yves joined #perl6
06:08 lestaway is now known as lestrrat
06:10 dual_ left #perl6
06:10 Eevee left #perl6
06:10 Grrrr left #perl6
06:10 spinclad left #perl6
06:10 literal left #perl6
06:10 dual_ joined #perl6
06:10 Eevee joined #perl6
06:10 Grrrr joined #perl6
06:10 spinclad joined #perl6
06:10 literal joined #perl6
06:11 szbalint left #perl6
06:11 szbalint joined #perl6
06:31 diakopter lue: actually feather is fine for hosting a perl6-related website
06:33 lue Does a website utilizing perl6 count as perl6-related? :) [It would probably gravitate towards perl6, but I plan on it being more a 'whatever I feel like having up' kind of site :D]
06:33 diakopter well sure, sounds like a blog
06:34 lopaway is now known as lopnor
06:36 Alias_ joined #perl6
06:37 diakopter Alias_: how many timezones span Australia?
06:37 Alias_ 3 hours give or take
06:38 Alias_ Not including offshore islands
06:38 diakopter oh
06:38 diakopter that's what was confusing me
06:39 diakopter also some half-hour-off timezones
06:39 diakopter and one 45-min-off one
06:39 Alias_ And there's 5-6 timezones within that 3 hour range, depending on daylight savings
06:40 diakopter yeah; I was glancing at http://www.timeanddate.com/worldclock/cus​tom.html?continent=australasia&sort=1
06:41 diakopter the day's winding down here.. and by "the day", I mean Monday :)
06:43 diakopter lue: no one would object to a website running on perl6, on feather, on principle. however, to be cautious, it would be wise to make it run in a protected VM
06:44 lue I'll have to continue thinking about it. .oO(could I be (insane&rich) enough to get an actual server I can put on my desk? No.)
06:45 lue I suppose the biggest hurdle for me to clear is how to run my own website/server (never been serious enough to go beyond free hosting) :P . Ah well, good night world o/
06:46 Alias_ First step beying free hosting is something like a dreamhost account
06:46 Alias_ Shared hosting
06:47 Alias_ Infinite disk and bandwidth and domains, a fair whack of DWIM tools, but not much CPU or memory to call your own
06:47 diakopter but.. no perl6
06:47 Alias_ Perfectly fine for static sites and simple CGI scripts that won't be called a whole lot, with cron options and so on
06:47 Alias_ Unless you built it yourself
06:47 diakopter no, I mean, you don't get a shell
06:47 Alias_ Which you may well be able to do
06:47 Alias_ Sure you do
06:48 Alias_ Dreamhost lets you create like 10 users, users gets shells
06:48 Alias_ Dunno if you get compilers and what not though
06:48 diakopter hm, oh
06:49 diakopter i've always used VPSes (and lots of them)
06:50 Alias_ dreamhost is cheaper if you don't need dedicated cpu and memory
06:50 Alias_ $10 a month for infinite domains, disk and bandwidth
06:51 Alias_ I've got about 10-15 small miscellaneous sites on one account there, plus one VM for stuff like svn.ali.as that really need the cpu
06:52 diakopter rakudo & parrot have been known to take 1-2GB to build
07:01 wtw joined #perl6
07:06 dalek specs: e4cd4c8 | moritz++ | S06-routines.pod:
07:06 dalek specs: [S06] fix a logic flaw introduced in 15f0b2b
07:06 dalek specs: review: https://github.com/perl6/specs/commit/e4cd4c8c9f
07:25 sorear what is lue's budget?
07:39 larsen left #perl6
07:40 larsen joined #perl6
07:44 nymacro left #perl6
07:44 OxCart left #perl6
07:45 pluto_ joined #perl6
07:46 pluto_ left #perl6
07:49 nymacro joined #perl6
08:01 justatheory left #perl6
08:14 BinGOs_ is now known as BinGOs
08:15 BinGOs left #perl6
08:15 BinGOs joined #perl6
08:28 mathw_ is now known as mathw
08:36 Trashlord left #perl6
08:37 silug left #perl6
08:40 Trashlord joined #perl6
08:43 lopnor is now known as lopaway
08:44 kjeldahl joined #perl6
08:46 oha_ is now known as oha
08:46 yves left #perl6
08:46 wooden left #perl6
08:46 PacoLinux left #perl6
08:47 PacoLinux joined #perl6
08:47 wooden joined #perl6
08:47 ascent__ left #perl6
08:47 ascent_ joined #perl6
08:49 glow joined #perl6
08:51 felipe joined #perl6
08:51 pochi_ left #perl6
08:51 Koven joined #perl6
08:51 pochi joined #perl6
08:51 __rnddim__ joined #perl6
08:52 lue left #perl6
08:52 edenc_ left #perl6
08:53 edenc joined #perl6
08:53 Kovensky left #perl6
08:53 yves joined #perl6
08:56 IllvilJa left #perl6
08:56 rhr left #perl6
08:56 kolibrie left #perl6
08:57 kolibrie joined #perl6
08:57 rhr joined #perl6
08:58 IllvilJa joined #perl6
09:10 cosimo joined #perl6
09:15 kensanata joined #perl6
09:18 wamba joined #perl6
09:24 jhuni left #perl6
09:26 dakkar joined #perl6
09:29 TiMBuS ah nuts i just noticed the perl6 ecosystem repo has the wrong link for my module on github
09:29 TiMBuS is anyone with access online?
09:30 TiMBuS its meant to be:  git://github.com/TiMBuS/Net--IRC.git
09:32 moritz_ TiMBuS: you have access now
09:34 lopaway is now known as lopnor
09:38 dalek niecza/cilbackend: ee2c1df | sorear++ | / (2 files):
09:38 dalek niecza/cilbackend: Add writenam stage
09:38 dalek niecza/cilbackend: review: https://github.com/sorear/niecza/commit/ee2c1dfaee
09:38 dalek niecza/cilbackend: 4baa098 | sorear++ | src/ (3 files):
09:38 dalek niecza/cilbackend: Fix remaining crashes in NAM emitter
09:38 dalek niecza/cilbackend: review: https://github.com/sorear/niecza/commit/4baa098de2
09:38 dalek niecza/cilbackend: 7e24295 | sorear++ | lib/CLRBackend.cs:
09:38 dalek niecza/cilbackend: Start NAM consumer
09:38 dalek niecza/cilbackend: review: https://github.com/sorear/niecza/commit/7e2429567e
09:47 dalek book: 51ea448 | (Jerome Eteve)++ | src/images/.gitignore:
09:47 dalek book: Ignore make time generated src/image/ files
09:47 dalek book: review: https://github.com/perl6/book/commit/51ea448835
09:47 dalek book: 4e8d751 | (Jerome Eteve)++ | / (3 files):
09:47 dalek book: Allow any paper width and height to be specified in PAPER make variable
09:47 dalek book: review: https://github.com/perl6/book/commit/4e8d7513ec
09:51 moritz_ rakudo: class A { method x { say 'A::x' } }; class B is A { method x { say 'B::x 1'; nextsame; say 'B::x 2' } }; B.new.x
09:51 p6eval rakudo : OUTPUT«B::x 1␤A::x␤»
09:51 moritz_ rakudo: class A { method x { say 'A::x' } }; class B is A { method x { say 'B::x 1'; callsame; say 'B::x 2' } }; B.new.x
09:51 p6eval rakudo : OUTPUT«B::x 1␤A::x␤B::x 2␤»
09:52 moritz_ dammit, my last specs commit was wrong
09:52 moritz_ and I can't access the machine on which I could revert it :(
09:52 moritz_ anybody else wants the honor?
09:54 sorear how wrong?
09:57 agentzh joined #perl6
09:58 moritz_ it changed working to broken code
09:58 moritz_ I confused nextsame and callsame
09:58 moritz_ nextsame was correct, I susbtitutde it with callsame
09:59 sorear it's nextsame now
09:59 moritz_ wait
09:59 * moritz_ just confused it again
09:59 moritz_ the return value is used
09:59 moritz_ so it must return
09:59 moritz_ so it should be callsame
10:00 moritz_ and my last commit changed s/callsame/nextsame/, which was wrong
10:00 moritz_ does that make sense?
10:00 dalek specs: 2e9f35c | sorear++ | S06-routines.pod:
10:00 dalek specs: Revert "[S06] fix a logic flaw introduced in 15f0b2b"
10:00 dalek specs:
10:00 dalek specs: It has to be callsame, since the return value is used.
10:00 dalek specs: review: https://github.com/perl6/specs/commit/2e9f35c89f
10:00 sorear yes
10:01 moritz_ thanks
10:01 * moritz_ should really take a break
10:02 QinGW left #perl6
10:06 daxim joined #perl6
10:11 wamba left #perl6
10:18 tzhs joined #perl6
10:19 bluescreen joined #perl6
10:19 bluescreen is now known as Guest38867
10:19 Guest87704 joined #perl6
10:27 literal left #perl6
10:27 uniejo joined #perl6
10:29 literal joined #perl6
10:35 * sorear out
10:55 Guest87704 left #perl6
10:57 rokoteko_ is now known as rokoteko
10:57 rokoteko left #perl6
10:57 rokoteko joined #perl6
11:05 nymacro left #perl6
11:08 dalek ecosystem: 5af742d | Jarrod++ | projects.list:
11:08 dalek ecosystem: Fixed a broken git URL for Net-IRC
11:08 dalek ecosystem: review: https://github.com/perl6/e​cosystem/commit/5af742dbd5
11:09 TiMBuS moritz_++ # Thanks for the commit bit
11:16 zostay left #perl6
11:16 zostay joined #perl6
11:17 araujo left #perl6
11:17 Woody4286 left #perl6
11:17 shi joined #perl6
11:22 Woody4286 joined #perl6
11:23 shi left #perl6
11:24 araujo joined #perl6
11:25 zby_home joined #perl6
11:30 Gothmog_ left #perl6
11:30 Gothmog_ joined #perl6
11:35 muixirt joined #perl6
11:53 felliott joined #perl6
11:54 satyavvd left #perl6
11:55 muixirt ping TimToady
12:11 shi joined #perl6
12:14 shi left #perl6
12:15 bluescreen joined #perl6
12:16 bluescreen is now known as Guest65782
12:17 shi joined #perl6
12:17 agentzh left #perl6
12:32 uniejo left #perl6
12:34 dotconf joined #perl6
12:36 ilogger2 left #perl6
12:38 muixirt left #perl6
12:50 ilogger2 joined #perl6
12:53 tylerni7 left #perl6
12:53 masak joined #perl6
12:53 masak oh hai, #perl6!
12:53 phenny masak: 01:33Z <colomon> tell masak "things tend to get more readable when you golf."  Wish I could have easily posted the process made working on the Markov chain script with moritz_++.  It started a pretty nice looking script, and found about three awesome simplifications that needed to be discarded before we landed on the final version.
12:53 phenny masak: 03:12Z <colomon> tell masak Is lopnor's bug already reported?
12:53 phenny masak: 05:09Z <sorear> tell masak Due to circumstances beyond my control, I'm likely to miss most of #phasers, sorry.  I'll be able to make #phasers+24h though.
12:53 colomon o/
12:54 tylerni7 joined #perl6
12:54 colomon oooo, #phasers today!
12:54 masak I'll also miss #phasers today.
12:54 colomon oooo, boring #phasers today!
12:54 mtk joined #perl6
12:54 masak if I can think of anything I've done, I'll pre-post :)
12:55 colomon Is it cheating to create new modules to make solving one of your prize problems more elegant?
12:55 tadzik oh, anybody to volunteer for tomorrow?
12:57 masak colomon: not at all. as long as you've written the modules yourself, and ship them in the .zip file with the solution.
12:57 colomon oh, so you don't want to mess around with neutro?  ;)
12:58 tadzik :)
12:59 masak colomon: well, the solution must be self-contained. I might not have stressed that enough in HOW.
13:00 colomon masak: Ugh.  I want to use the lovely ecosystem we're building up.  Guess I can rip out .pm files and cram them into a zip for you...
13:00 ilogger2 left #perl6
13:02 shi left #perl6
13:05 masak colomon: [lopnor's bug] I seem to recall something quite similar, yes. but I'm confused by the whole thing; why would $string.new create a new object of the type specified in $string, rather than just a new Str?
13:05 * masak dives into the spec
13:05 colomon masak: you've got me there, I've never seen anything quite like that code in p6.
13:05 shi joined #perl6
13:06 masak I can see the use of that feature (string-based object creation), but I don't recall seeing it spec'd.
13:07 masak it feels like a "give up an use &eval" situation.
13:08 masak nope. I find no support at all for this in the spec.
13:08 takadonet morning all
13:11 tadzik morning takadonet. You look like you'd like to write something for the advent calendar :)
13:11 takadonet tadzik: ..... no
13:11 * takadonet starts running
13:12 tadzik :)
13:14 takadonet i just link it to reddit. That's my job
13:14 [sbp] is now known as sbp
13:14 takadonet http://www.reddit.com/r/programming/comments/ell7​5/perl_6_advent_calendar_day_14_nextsame_and_its/
13:17 masak \o/
13:17 * masak doubts this one will be a big hit among the redditers, however
13:18 masak rakudo: class A {}; say "A".new
13:18 p6eval rakudo : OUTPUT«A()<0x8817950>␤»
13:18 flussence you might get a better signal/noise ratio posting it on /r/coding/...
13:18 masak this, it seems to me, is the real bug.
13:18 colomon rakudo: say 4.new
13:18 p6eval rakudo : OUTPUT«0␤»
13:19 colomon rakudo: say 4.new.WHAT
13:19 p6eval rakudo : OUTPUT«Int()␤»
13:19 uasi joined #perl6
13:19 flussence rakudo: say "Rat".new.WHAT
13:19 p6eval rakudo : OUTPUT«Rat()␤»
13:19 flussence huh
13:19 takadonet masak:Well the more post about Perl 6, the better
13:19 colomon rakudo: say (4/5).new.WHAT
13:19 p6eval rakudo : OUTPUT«Rat()␤»
13:19 dalek tpfwiki: (Herbert Breunung)++ | http://www.perlfoundation.org/per​l6/index.cgi?perl_6_index_tablet
13:19 MayDaniel joined #perl6
13:19 takadonet so far, no down votes :) Trolls must be sleeping
13:20 colomon rakudo: say "Frobozz".new.WHAT
13:20 p6eval rakudo : OUTPUT«Null PMC access in get_repr()␤  in main program body at line 22:/tmp/_a_h9eoNK_␤»
13:20 colomon certainly is inconsistent, if nothing else.
13:20 flussence I can see that being wrong, but if it's changed will there be any way to create a class from a name held in a variable?
13:21 colomon flussence: eval
13:21 * flussence facepalm
13:21 colomon rakudo: my $a = "Rat"; say $a.eval.new.WHAT
13:21 p6eval rakudo : OUTPUT«Rat()␤»
13:22 Guest65782 left #perl6
13:23 dotconf left #perl6
13:29 uasi 'Foo'.new thing could be fixed https://gist.github.com/740396
13:31 uasi (but I'm not sure this is in the right way)
13:32 masak I'd say if it passes the spectests, it is.
13:32 masak oh, you meant the particular fix? no, I don't know either.
13:33 colomon uasi: you've tested that works locally?
13:33 uasi colomon: yes
13:35 colomon I suspect it's the not "right way" to fix the problem, but if it fixes the problem and passes the spec test, I'm of a mind we should go with it.
13:36 MayDaniel left #perl6
13:37 Guest65782 joined #perl6
13:38 uasi left #perl6
13:41 tzhs left #perl6
13:42 Weathz is now known as Tedd1
13:44 uasi joined #perl6
13:44 masak yes, me too.
13:44 uasi bad LAN :(
13:44 masak it's an improvement on the current state.
13:44 masak maybe add a regression spectest too.
13:52 uasi rakudo: "%0"
13:52 p6eval rakudo :  ( no output )
13:52 uasi rakudo: module Foo { "%0" }
13:52 p6eval rakudo : OUTPUT«===SORRY!===␤Can't declare a numeric variable at line 22, near "\" }"␤»
13:52 uasi something wrong...
13:55 iherg joined #perl6
13:58 plainhao joined #perl6
14:02 sECuRE left #perl6
14:04 sftp joined #perl6
14:05 lopnor is now known as lopaway
14:08 sECuRE joined #perl6
14:29 ilogger2 joined #perl6
14:42 robins is now known as robinsmidsrod
14:42 colomon spectests for it for sure.  not sure it's worth adding them before we spectest the change, it may turn out there is prior art on the "Int".new thing that still needs to be sorted.
14:51 uasi left #perl6
15:02 uasi joined #perl6
15:03 Guest38867 left #perl6
15:03 uasi flussence: maybe '$name = "Foo"; ::($name).new'
15:05 flussence ooh, didn't know about that.
15:05 flussence > my $a = 'Rat'; ::($a).new.WHAT
15:05 flussence Indirect name lookups not yet implemented at line 1, near ".new.WHAT\n"
15:05 flussence at least it's specced
15:10 risou joined #perl6
15:12 fhelmberger joined #perl6
15:19 wtw left #perl6
15:19 MayDaniel joined #perl6
15:22 masak interesting exchange on an Advent post I wrote last year: http://perl6advent.wordpress.com/20​09/12/09/day-9-having-beautiful-arg​uments-and-parameters/#comment-520
15:25 takadonet masak: good thing you are on top of this :)
15:26 cosimo left #perl6
15:28 felliott left #perl6
15:29 masak Wordpress++ sent me an email about the comment.
15:30 masak someone on Twitter thinks Perl 6 is cool: http://twitter.com/crazysmoo​ve/status/14544238180040704
15:31 takadonet masak: but you answered
15:32 masak takadonet: right. but it's easy to do when Wordpress reduces the problem to reacting to things in my inbox.
15:33 ch3ck joined #perl6
15:38 Patterner left #perl6
15:39 Psyche^ joined #perl6
15:39 Psyche^ is now known as Patterner
15:39 Guest65782 left #perl6
15:42 smash joined #perl6
15:42 sECuRE left #perl6
15:42 smash hello everyone
15:42 takadonet smash: hey
15:45 masak hi smash
15:47 sahadev joined #perl6
15:47 molaf joined #perl6
15:48 sECuRE joined #perl6
15:51 PerlJam masak: The 2010 calendar is causing people to look at the 2009 entries too.  I'm not sure this is a good thing yet :)
15:51 masak oh? I just assumed it's good.
15:51 takadonet same
15:52 Guest65782 joined #perl6
15:52 PerlJam yeah it's good.  I just have a small nagging worry about the things that have broken in the mean time.
15:52 PerlJam oh!  didn't someone turn the 2009 posts into tests?
15:52 takadonet just about to say that....
15:52 TimToady I seem to recall several things being backpatched as they changed
15:53 justatheory joined #perl6
15:55 masak yes. I'd suggest we try to keep previous Advent posts current and running.
15:55 masak there's quite a long tail involved.
15:58 * masak updates http://perl6advent.wordpress.com/2009/12/​16/day-16-we-call-it-the-old-switcheroo/ from 'continue' to 'proceed'
16:00 daxim are there other places where $_/»this« is spelled *?
16:00 masak daxim: $_ is not exactly identical to *.
16:01 masak daxim: generally, when binary operators are involved, 5 + * can be written instead of { 5 + $_ }, for various values of '5' and '+'
16:01 masak but note that when you do it with *, you get the curlies for free.
16:02 daxim aha, I recognise this now
16:02 shortcir1uit is now known as shortcircuit
16:03 am0c left #perl6
16:09 Guest65782 left #perl6
16:11 bluescreen joined #perl6
16:11 bluescreen is now known as Guest65806
16:13 flussence huh, neutro doesn't seem to be putting anything in ~/.perl6/lib
16:14 Gruber joined #perl6
16:16 masak I believe that's correct.
16:17 flussence but the advent post makes it sound like it does :(
16:18 colomon hmmm?
16:18 colomon is that a change?
16:18 Eevee_ joined #perl6
16:18 spinclad_ joined #perl6
16:18 colomon something installed List::Utils in my ~/.perl6/lib ...
16:19 felliott joined #perl6
16:20 flussence http://perl6advent.wordpress.com/2010/12/​09/day-9-%E2%80%93-the-module-ecosystem/ ... I followed those instructions, but trying "neutro zavolaj" doesn't put stuff there. It all ends up in ~/.neutro/src/
16:22 glow_ joined #perl6
16:22 masak flussence: you should ask tadzik.
16:22 flussence ok.
16:23 molaf left #perl6
16:23 sahadev left #perl6
16:23 literal left #perl6
16:23 glow left #perl6
16:23 dual_ left #perl6
16:23 Eevee left #perl6
16:23 Grrrr left #perl6
16:23 spinclad left #perl6
16:24 Guest65782 joined #perl6
16:25 masak left #perl6
16:27 colomon oh, you know, I think maybe I installed List::Utils by doing "make install" with the ufo-generated Makefile.  Does that sound plausible?
16:28 colomon neutro isn't working at all for me at the moment.
16:28 dual joined #perl6
16:28 colomon I just pulled neutro, and I get
16:28 colomon "Unable to find module 'File::Mkdir' in the @*INC directories."
16:31 sahadev joined #perl6
16:31 molaf joined #perl6
16:32 glow_ is now known as glow
16:33 zb left #perl6
16:35 flussence I think the problem is that the makefile neutro writes is using @*INC[1] and [2] for user/system lib whereas the correct ones for my install are [0..1]
16:36 flussence and I haven't changed my $PERL6LIB defaults...
16:38 ch3ck left #perl6
16:42 zb joined #perl6
16:50 pmichaud hello, world
16:51 phenny pmichaud: 13 Dec 11:49Z <masak> tell pmichaud I think https://github.com/uasi/rakudo/commit/3​02230a244aa53d1ec9fbdd8909e0bdefc195f11 looks good (and it passes spectests), but I'd like you to review it before I commit it.
16:52 pmichaud phenny: tell masak +1 to commit https://github.com/uasi/rakudo/commit/3​02230a244aa53d1ec9fbdd8909e0bdefc195f11
16:52 phenny pmichaud: I'll pass that on when masak is around.
16:53 orafu left #perl6
16:53 orafu joined #perl6
16:53 daxim you crazy time zone shifters, you.
16:54 daxim also, for the next iteration of the contest I very much want to see some sixers:  http://www.plat-forms.org/teams-2011
16:54 pmichaud I'm often considered to be a somewhat shifty character.  :-)
16:54 pmichaud but at least I'm not pushy.
16:55 pmichaud (things go onto my head, not my tail :)
16:55 daxim punny
16:55 literal joined #perl6
16:55 PerlJam daxim: you think perl6 is on par for developing web apps as the others?
16:56 daxim not now
16:56 moritz_ oh hai
16:56 daxim with a certainty next year, I mean, if the node.js guys can participate as experimental, so can Web.pm or whatever
16:57 colomon pmichaud: \o/
16:57 pmichaud colomon: o/
16:58 colomon pmichaud: don't know if you've backlogged and seen uasi's fix from this morning: https://gist.github.com/740396
16:59 colomon When you get a chance, we'd love your opinion on it.  :)
16:59 plainhao left #perl6
17:01 Gruber is now known as Grrrr
17:03 kensanata left #perl6
17:06 pmichaud what is it fixing?
17:06 pmichaud I'm thinking it's not needed or necessary, but perhaps I'm wrong?
17:08 pmichaud oh, it's working around problems with   'Foo'.new
17:09 pmichaud the problem is undoubtedly that 'Foo' as a constant isn't being blessed as a p6opaque object
17:09 pmichaud so get_repr is failing
17:10 pmichaud or something like that
17:10 pmichaud I think fixing that would be better than adding a 'new' metthod
17:11 mavrc joined #perl6
17:11 Eevee_ is now known as Eevee
17:14 [Coke] pmichaud: hio
17:14 pmichaud hola, Coke
17:15 pmichaud phasers in 105?
17:16 moritz_ aye
17:17 plainhao joined #perl6
17:18 colomon pmichaud: (sorry, got called in to assist setting up the model Christmas village)
17:19 colomon Just so we're on the same page, the problem is that (for instance)
17:19 colomon rakudo: my $a = "Rat"; say $a.new.WHAT
17:19 p6eval rakudo : OUTPUT«Rat()␤»
17:20 colomon should be coming out a Str, in our opinion.
17:20 colomon rakudo: my $a = "Rat"; say $a.PARROT
17:20 p6eval rakudo : OUTPUT«Perl6Scalar->Str␤»
17:20 moritz_ rakudo: say 'random string'.new.WHAT
17:20 p6eval rakudo : OUTPUT«Null PMC access in get_repr()␤  in main program body at line 22:/tmp/rLqhIMO_62␤»
17:25 pmichaud okay, looking into it further, I'm guessing it's a deeper Parrot thingy
17:26 pmichaud might be a p6object issue
17:26 baest left #perl6
17:27 baest joined #perl6
17:29 pmichaud yeah.
17:29 pmichaud if $P0 is a String PMC, then various things assume the String is the name of the class to be gotten
17:30 pmichaud (and .new ends up using get_class internally to figure out the class of the thing being 'new'ed.)
17:30 pmichaud the other problem with https://gist.github.com/740396  is that it won't work for subclasses of Str
17:36 pmichaud a slightly related issue that leads to the mixup is that    isa $x, 'Str'   is expected to work, where we look up a type based on the content of a string.
17:36 pmichaud or, more directly,  $x.isa('Rat')   # test if $x isa Rat
17:38 cdarroch joined #perl6
17:38 cdarroch left #perl6
17:38 cdarroch joined #perl6
17:38 moritz_ rakudo: class A::B { }; say A::B.new.isa('A::B')
17:38 p6eval rakudo : OUTPUT«0␤»
17:38 moritz_ ...except when not.
17:39 pmichaud right, because the string-to-class conversion doesn't know how to handle nested package names or how to eval in the caller's context
17:39 pmichaud anyway, I'm fine with adding a 'new' method to Str for now to work around this little problem, but it has to be listed as a cheat and not a builtin.
17:40 pmichaud (i.e., in src/cheats instead of src/builtins)
17:40 pmichaud it's worth adding a comment to src/core/Str.pm about it, too.
17:40 colomon pmichaud++
17:42 pmichaud also add a test that shows that   SubclassofStr.new will fail
17:42 pmichaud afk, errands
17:46 _twitch left #perl6
17:46 uasi pmichaud++ too
17:46 uasi thanks for the insightful comment
17:51 mavrc left #perl6
17:53 dakkar left #perl6
17:55 uasi left #perl6
17:57 kjeldahl_ joined #perl6
18:00 mavrc joined #perl6
18:10 spq1 joined #perl6
18:20 mberends joined #perl6
18:25 muixirt joined #perl6
18:31 molaf left #perl6
18:31 risou left #perl6
18:33 mtk left #perl6
18:39 mtk joined #perl6
18:52 colomon #phasers in 8 min?
18:57 mberends yes, now in 3 min :)
18:57 tri joined #perl6
19:03 ch3ck joined #perl6
19:07 mberends \o/ Russian visa granted, today Andrew Shitov++ bought the ticket for me to fly to http://event.perlrussia.org/saintperl2/index.html
19:07 MayDaniel left #perl6
19:08 mberends I'm going to read The Book to the Russians on Saturday (in English ;-)
19:08 shortcircuit For the p6advent post I'll be putting together this evening, I'd like to ask for links to P6 code on RC that you folks find particularly interesting. My usual format in front of a language user group is to spam the audience with RC links particular to a language, and then go into question-and-answer mode as the audience finds things they're more interested in.
19:09 shortcircuit Nice if I could have a list of P6 curiosities in advance. :)
19:09 diakopter mberends: in Soviet Russia, the book throws ITSELF at you.
19:09 mberends (book flood)
19:10 tri left #perl6
19:10 hercynium joined #perl6
19:12 plobsing shortcircuit: does "exposes bugs in implementation" fit this definition of "interesting"?
19:13 shortcircuit plobsing: That's one of the things I love to talk about. :)
19:13 plobsing the multi-dispatch Ackermann implementation chokes pretty fast on A(9,6) (should take a long time and compute a value)
19:13 TimToady just because you love to talk about it doesn't make it a good Christmas gift.  :P
19:14 shortcircuit TimToady: I usually like to talk about it in the past-tense. :)
19:14 shortcircuit Perl6 isn't the only language to have implementation fixes result from trying to run code on RC.
19:15 shortcircuit I don't usually go into specifics, as I don't like the impression name-dropping gives.
19:15 TimToady sure, but advent calendars aren't supposed to scare the kids :)
19:15 shortcircuit Very true.
19:17 shortcircuit It's tricky flipping my perspective for this post; presentations in front of user groups is very often an attempt to market RC as a useful tool for developers of that language. (As opposed to strictly _in_ that language.) That's obviously not something necessary here.
19:17 shortcircuit I'll probably write it targeting potential P6 users. Some explicit comparisons of P6 code to other langauges' code is probably the best route.
19:17 TimToady I think RC shows itself off quite well as soon as anyone follows a link
19:18 TimToady it's sort of irresistable to start comparing languages then
19:19 shortcircuit I need to make it irresistable to click, though. (And not in a bait-and-switch sense; if I were into that, I'd just link a single word to TVTropes.)
19:20 TimToady it'd be nice if pages like http://rosettacode.org/wiki/Category:Perl_6 would actually append the link into the language's example
19:21 TimToady rather than forcing the user to page past the description to find the language link, which was already known :)
19:21 TimToady and people know how to hit HOME to get to the top if they want
19:21 shortcircuit There's a JS fix for that.
19:21 shortcircuit *looks for it.*
19:23 rgrau joined #perl6
19:24 shortcircuit K. Think I found it. I'll run it through our JavaScript guy for a verification test, and add it to the sitewide JS load this evening.
19:34 wamba joined #perl6
19:35 daxim left #perl6
19:36 colomon moritz_: might you be up for some sort of tag-team implement something short & cool Advent post?
19:39 * flussence is considering doing one for zavolaj...
19:41 wamba left #perl6
19:42 PerlJam flussence: grab a slot!  https://github.com/perl6/mu/blob/ma​ster/misc/perl6advent-2010/schedule
19:49 flussence maybe one of the last ones. I'm gonna find something in /usr/lib/ to experiment on first...
19:51 lola_89 joined #perl6
19:54 icwiener joined #perl6
19:55 iherg left #perl6
19:56 lola_89 Where can I find third party perl6 modules (if any is available) ?
19:56 flussence modules.perl.org!
19:56 diakopter modules.perl6.org ?
19:56 * flussence still hasn't woken up fully today
19:56 lola_89 omg :D
19:56 PerlJam modules.perl6.org .
19:57 flussence also, check out day 9 of the advent calendar posts (I think I got *that* line right at least...)
19:58 takadonet lola_89: http://modules.perl6.org/
19:58 PerlJam lola_89: http://perl6advent.wordpress.com/2010/12/​09/day-9-%E2%80%93-the-module-ecosystem/
19:58 PerlJam lola_89: that's the advent post flussence was just talking about.
20:00 lola_89 PerlJam: before I check, could you please tell me about tk and perl6? (is there such thing)?
20:00 PerlJam lola_89: There's no native Tk libs for Perl 6 that I know of.
20:00 PerlJam lola_89: though, you might be able to use Perl 5's Tk module via blizkost (which comes with Rakudo Star)
20:01 flussence .oO( hmm, do I have Tk installed? )
20:02 lola_89 are there native modern Tk libs coming any soon? :)
20:02 sorear Is modern Tk coming soon?
20:02 moritz_ colomon: (re advent) yes
20:02 colomon moritz_: then we just need to think of something to tackle.  :)
20:03 PerlJam colomon, moritz_: a small web app?
20:04 colomon that seems too big...
20:05 PerlJam for two wily hackers such as yourselves?  No way!  :)
20:05 PerlJam colomon: how about porting a useful module from Perl 5 that no one has ported yet?
20:06 colomon That seems like a great idea in general, but way too much work for an Advent post.
20:06 flussence Tk looks like a big library. I'm sure someone's eventually going to write a p6 binding for it, but I wouldn't hold out for it showing up soon...
20:06 lola_89 wx perl?
20:06 takadonet PerlJam: I been slowly porting over p5 modules over
20:06 PerlJam colomon: there are small, useful modules  (unless takadonet has taken them all  :)
20:07 takadonet PerlJam: http://ali.as/top100/
20:07 lola_89 is there plans for a wx perl 6?
20:07 takadonet That gives a list of the most used modules in cpan
20:07 takadonet http://search.cpan.org/dist/T​ext-ParseWords/ParseWords.pm
20:08 takadonet http://search.cpan.org/dist/Text-Diff/ Would be nice since the dependence of Algorithm::Diff is already ported
20:17 tylercurtis joined #perl6
20:18 lola_89 perl6: while 1 {say "Japan rules!"};
20:18 p6eval pugs, rakudo : OUTPUT«(timeout)es!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan rules!␤Japan
20:18 p6eval ..rules!␤Japan rul…
20:20 colomon takadonet, moritz_: huh.  Text::ParseWords certainly looks like it would be pretty easy to drastically improve by switching to p6...
20:21 takadonet that was on my hit list.... however near the bottom
20:21 dalek 6model: f19e855 | (Martin Berends)++ | t/nqp/45-smartmatch.t:
20:21 dalek 6model: [t/nqp] increment the plan count to 17 in 45-smartmatch.t
20:21 dalek 6model: review: https://github.com/jnthn/6model/commit/f19e8553da
20:22 lola_89 left #perl6
20:22 mberends \o/ that makes 300 tests passing!
20:23 tylercurtis hello, sorear.
20:24 takadonet sweet
20:25 takadonet colomon: you should go for it :) port it over
20:25 plainhao left #perl6
20:48 felliott left #perl6
20:59 skangas left #perl6
21:00 mkramer1 joined #perl6
21:02 mkramer1 left #perl6
21:03 mkramer1 joined #perl6
21:03 mkramer left #perl6
21:05 MayDaniel joined #perl6
21:07 Guest65782 left #perl6
21:14 fhelmberger left #perl6
21:15 fhelmberger joined #perl6
21:22 masak joined #perl6
21:22 masak ahoy!
21:22 phenny masak: 16:52Z <pmichaud> tell masak +1 to commit https://github.com/uasi/rakudo/commit/3​02230a244aa53d1ec9fbdd8909e0bdefc195f11
21:22 sorear hi masak!
21:22 * masak commits it
21:22 moritz_ so, any ideas for advent?
21:22 masak I'm only staying on for an hour tonight. going to bed early to beat a colleague to work tomorrow. ;)
21:23 sorear masak: I have to leave in 50m
21:23 sorear masak: you wanted to talk about STD?
21:23 masak yes, at some point.
21:26 colomon moritz_: takadonet suggested porting Text::ParseWords, it looks like it might be a doable size, but I'm still looking at it.
21:26 sorear masak: now?
21:26 masak sorear: sure.
21:26 masak sorear: I'll start with the thing that made me think about it: parsing ints.
21:27 masak sorear: inexperienced programmers re-invent the wheel and parse ints manually.
21:27 sorear +$int
21:27 masak no, I meant as part of a regex or grammar.
21:27 masak sorear: in Perl 5, seasoned programmers reach for Regexp::Common.
21:28 masak in Perl 6, I'd like for the common practice to be to re-use existing parts of the Perl 6 parser.
21:28 * moritz_ would love that
21:28 sorear incidentally, STD has a <strtonum> rule which is not used by STD proper, but a comment says Str --> Num conversions should use it
21:28 masak actually, the more we turn the Perl 6 parser inside-out and expose it to the regular programmer, the more (I predict) we win in the long term.
21:28 masak actually, that's part of my long-term dream for Perl 6.
21:28 sorear [ :lang(STD) <strtonum> ]
21:29 masak right.
21:29 sorear incidentally, how much support can I get for <STD::strtonum> meaning that?
21:29 masak things like that.
21:29 sorear without the implicit :lang qualified subrules are a lot less useful
21:29 masak I associate :: with 'our' scoping.
21:29 sorear hmm.  point.
21:29 masak but I agree there should be some shorthand.
21:30 masak we have a similar problem when referencing methods.
21:30 masak it used to be you could say A::foo
21:30 masak now, that only works if method foo is 'our'-scoped.
21:30 masak (and I agree that's how it should be, but I miss the easy shorthand)
21:31 dju_ left #perl6
21:32 masak I'd also like to expose the OPTable parser (which probably means to standardize an API for it as well).
21:32 masak with an exposed OPTable parser, people can create their own expression-based grammars easily.
21:33 masak I have an old post about that: http://strangelyconsistent.org/blog/what-you-c​an-do-with-ggeoptable-that-you-couldnt-without
21:33 sorear moritz_: I'm thinking of adding a /t:All target to the niecza msbuild, which would pre-compile all the modules, would something like that be useful for p6eval?
21:33 masak the advantages of this blew my mind at the time; as far as I know, it never blew anyone else's.
21:34 sorear "niecza: require STD; "
21:37 kjeldahl left #perl6
21:38 moritz_ sorear: yes, it would
21:39 sorear masak: hmm
21:42 spinclad_ is now known as spinclad
21:46 sorear masak: GGE::OPTable seems rather different from the STD engine
21:47 sorear in STD land, that would look something like
21:47 masak it probably is.
21:47 sorear grammar Algebra {
21:47 masak it's on my personal roadmap to learn STD, but right now I'm only at PGE. :)
21:48 sorear method number { [ :lang(STD) <number> ] <O(:precedence('z')> }
21:48 sorear method infix:sym<+> { <sym> <O(:precedence<y>, :assoc<left>)> }
21:48 pmichaud PGE::OPTable pre-dates STD by a couple of years
21:49 masak *nod*
21:49 sorear method infix:sym<*> { <sym> <O(:precedence<x>, :assoc<left>)> }
21:49 masak and GGE::OPTable just copies it.
21:49 sorear method infixish { <infix> }
21:49 sorear method term { <number> }
21:49 * moritz_ -> sleep
21:49 sorear method TOP { <EXPR> }
21:49 sorear }
21:49 sorear erm s:g/method/token/
21:49 masak sorear: that's fine by me.
21:50 masak sorear: as pmichaud said, I'm running on slightly old assumptions.
21:50 pmichaud PGE::OPTable came before there was a operator precedence parser in Perl 6 (other than in concept)
21:50 pmichaud afk, homework
21:50 mtk left #perl6
21:51 tylercurtis left #perl6
21:54 sorear pmichaud: can you elaborate on what you mean by that?  (though I won't see it for a bit)
21:55 masak could I give the precedence of infix:sym<+> in terms of <term>, and the precedence of infix:sym<*> in terms of infix:sym<+>? all those 'method' declarators should be 'regex', right?
21:56 masak sorear: PGE was started in 2004/2005, before there was an STD module.
21:57 dalek rakudo: 500089c | uasi++ | src/ (2 files):
21:57 dalek rakudo: Fix RT #77668
21:57 dalek rakudo:
21:57 dalek rakudo: RT #77668: [BUG] Can't call Callable objects in a list in parallel
21:57 dalek rakudo: using the >>.() [or >>()] form in Rakudo
21:57 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/500089ccc2
21:57 sorear masak: no. yes. ah.
21:57 sorear in that order.
21:58 masak I'm used to expecting being able to specify relative precedences in Perl 6.
21:58 masak why can't I here?
21:58 sorear Did PGE have relative precedence?
21:58 masak oh yes.
21:58 sorear To my knowledge no STD-class OPP has relative precedence
21:59 masak with :tighter and :loosed and :equiv
21:59 sorear I'll need to ask TimToady++ what is needed to support that
21:59 masak there's a whole theory behind supporting that, developed by TimToady++.
22:00 masak I'm surprised it's not there.
22:00 diakopter sorear: I thought the original STD.pm EXPR did support that
22:00 masak perhaps "theory" is too strong a word... there's a nice trick to it. :)
22:00 * justatheory flexes his muscles
22:00 sorear diakopter: nope, STD.pm6 EXPR uses strings and le/gt
22:01 masak sorear: see https://github.com/masak/gge/blob​/master/lib/GGE/Perl6Regex.pm#L33 for an actual use of relative precedence.
22:12 soroush joined #perl6
22:15 skangas joined #perl6
22:15 mkramer1 left #perl6
22:17 masak 'night, #perl6.
22:17 mkramer joined #perl6
22:18 masak left #perl6
22:19 nymacro joined #perl6
22:20 flussence I'm playing around with zavolaj, but I have no idea what to do when a function returns C NULL on failure... just gives me a Null PMC error and dies :(
22:20 flussence (and I don't know *why* it's failing, since this is a straight port of C code that works fine...)
22:22 * flussence rewrites the code to look nice instead, maybe the error'll go away if I ignore it...
22:23 MayDaniel left #perl6
22:23 _kaare left #perl6
22:24 icwiener left #perl6
22:27 icwiener joined #perl6
22:27 zby_home left #perl6
22:29 icwiener left #perl6
22:30 skangas left #perl6
22:31 icwiener joined #perl6
22:42 nymacro left #perl6
22:50 skangas joined #perl6
22:53 soroush left #perl6
22:57 nymacro joined #perl6
23:02 shortcircuit Hm.
23:04 shortcircuit http://rosettacode.org/wiki/​Closest-pair_problem#Perl_6 indicates it's a translation of the Perl 5 code. Is a more idiomatic version of interest?
23:10 TimToady I worked on that one some--it's hard to get it much more idiomatic, so perhaps it's an example of how much Perl 6 is like Pelr 5.  :)
23:10 shortcircuit So it would look much like that were it written from scratch?
23:11 TimToady I suspect so
23:11 TimToady keeping your x's and y's straight means there have to be a lot of names
23:12 TimToady there are a number of low-level idioms in there though
23:12 TimToady just no magic bullet that makes the whole thing shrink
23:12 Guest87704 joined #perl6
23:13 diakopter for @yP -> $p   can be made a one-liner
23:13 diakopter I think.
23:14 shortcircuit I take it it wouldn't be more idiomatic to define a point class, some point operations, and work it from that perspective?
23:14 cjk101010 left #perl6
23:14 diakopter push ($p[0] <= $xm ?? @yR !! @yL), $p for @yP -> $p; # TimToady would this work
23:15 envi left #perl6
23:19 TimToady there's no -> on modifiers like that (so far)
23:19 diakopter :'(
23:19 TimToady postdeclarations are a bit problematical
23:20 * shortcircuit is just finishing up his P6 advent post.
23:21 TimToady yay
23:21 diakopter rakudo: my (@a,@b); push ($_ %% 2 ?? @a !! @b), $_ for 1..10; [@a,@b].perl.say
23:21 p6eval rakudo : OUTPUT«[2, 4, 6, 8, 10, 1, 3, 5, 7, 9]␤»
23:21 sjohnson rakudo: say sort < 1 5 3 5 7 2>
23:21 p6eval rakudo : OUTPUT«123557␤»
23:21 shortcircuit I noticed most of the P6 advent posts are light on HTML formatting. Are inline links, at least, OK?
23:21 jasonmay rakudo: class Foo {has $.x;}; my %h=('x' => 1); mFoo.new(%h).x.say;
23:21 p6eval rakudo : OUTPUT«Could not find sub &mFoo␤  in main program body at line 22:/tmp/9U1_6Mvf5Q␤»
23:22 jasonmay rakudo: class Foo {has $.x;}; my %h=('x' => 1); Foo.new(%h).x.say;
23:22 p6eval rakudo : OUTPUT«Any()␤»
23:22 whiteknight joined #perl6
23:22 TimToady shortcircuit: I don't see any problem with it
23:23 smash left #perl6
23:23 diakopter shortcircuit: so you could replace that for loop with:  push ($_[0] <= $xm ?? @yR !! @yL), $_ for @yP;
23:23 TimToady rakudo: class Foo {has $.x;}; my %h=('x' => 1); Foo.new(|%h).x.say;
23:23 p6eval rakudo : OUTPUT«1␤»
23:23 shortcircuit diakopter: It's a wiki. You can make whatever changes you see fit. :D
23:23 TimToady jasonmay: ^^
23:24 jasonmay ooo
23:24 jasonmay thanks
23:24 diakopter shortcircuit: ok, but I can't test it here
23:24 jasonmay where can I read about that?
23:24 shortcircuit Hm.
23:24 * shortcircuit wonders if Codepad has P6 support.
23:25 shortcircuit It does not.
23:25 diakopter hah
23:25 TimToady jasonmay: S06:717
23:25 jasonmay cool, thanks
23:25 shortcircuit Anyone care to poke them about supporting P6? Rakudo sees frequent updates, and I'm not sure howwell they can keep up.
23:25 shortcircuit *how well
23:26 diakopter hm
23:26 sahadev left #perl6
23:26 * diakopter has an idea
23:26 diakopter we've already got most of this
23:27 diakopter we just need a way to tell p6eval to use a pastebin as its input, and to spit out a pastebin url as its output
23:27 diakopter (or if the output's short, just output it all here)
23:28 TimToady you'd want to limit the output size anyway, to avoid pastebin abuse
23:28 diakopter http://p6eval.pastebin.com/raw.php?i=nBMuE7yU
23:28 diakopter luckily pastebin.com has a raw option
23:28 diakopter TimToady: gp
23:29 shortcircuit Ok, where do I send this? I can post it to my blog, which will bounce to LJ, and I can have it get picked up by planet.rosettacode.org.
23:29 diakopter so I'd say:
23:29 diakopter p6bin: nBMuE7yU
23:29 shortcircuit OTOH, it's plausible that you'd prefer it go to go out through the P6 planet after some review, first.
23:30 TimToady likely
23:31 shortcircuit Ok, it's a private pastebin.
23:31 shortcircuit er. Private paste on a pastebin. Forgive the HTML quality; I wrote it in a funky HTML rich edit field.
23:31 shortcircuit http://pastebin.com/SSXmKAWK
23:31 TimToady AWK?!?
23:32 mavrc left #perl6
23:32 shortcircuit lol
23:33 shortcircuit Alright, I'm off to do the dishes. Dishes must be done before I'm fed. :)
23:35 diakopter just eat straight out of the freezer  is what I always say
23:37 shortcircuit She doesn't like it when I do that. >.>
23:37 glow left #perl6
23:38 TimToady shortcircuit: "there are 243 fascinating(Well examples"
23:41 diakopter actually; heh, p6bin could be automatic .. since it could poll the archive, so someone would paste their program directly, and p6eval would poll it every few seconds, find an unprocessed one, and report back to the channel links to the input pastebin and the output pastebin.
23:41 Bzek joined #perl6
23:42 * diakopter starts to think about larger code collaboration efforts.  Of course there are entire sites/apps just for remote multi-user sharing of interactive interpreters
23:44 diakopter heh. it could even be told to pull straight from rosettacode :)
23:44 skangas left #perl6
23:44 Bzek_ left #perl6
23:45 hillu_ is now known as hillu
23:50 TimToady diakopter: btw, this particular problem is quite likely to overrun any CPU limit
23:50 diakopter oh... for what input
23:52 TimToady for 5000 points
23:52 diakopter icky
23:53 hercynium left #perl6
23:53 TimToady the brute force version doesn't scale very well, and rakudo already has a very large K
23:54 TimToady it did 50 points in 5 seconds, and is still working on 500 point...
23:54 TimToady my lap is getting warmer...
23:55 icwiener left #perl6
23:57 TimToady about 4 min 40 seconds for 500 points, and my laptop is not slow...
23:57 fuad joined #perl6

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

Perl 6 | Reference Documentation | Rakudo