Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2014-05-29

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:00 lue which is  multi sub bag (Any $a where ?$a.^methods.grep('Bag') --> Bag) { $a.Bag }
00:00 Ulti yeah or whatever is the non hacky way to accomplish that, this is all new to me
00:01 Ulti its just bag not acting that way kind of shocked me a bit
00:01 Ulti and other than bag working on Positional I don't get why you would want it
00:01 Ulti like a bag of just a single object is just weird :S
00:01 lue "bag" is a list term so far as I know. So you wouldn't want to use it on an item, of course :)
00:01 Ulti unless its a list with a single thing
00:02 Ulti well its slurpy rather than looking for a list which I think is the difference
00:02 Ulti *@things means all the arguments are treated like a flat list?
00:02 lue well, a positional slurpy is a list
00:03 Ulti *shrug* its just something I thought might be nicer, it begs the question what happens when you have a list of things that have .Bag
00:03 Ulti probably dont call .Bag
00:04 Ulti I think this is the case for singular itemy things
00:04 lue 'bag' takes a list of arguments and stuffs it into a Bag. I'm not sure what specific issue you have with it.
00:04 Ulti nothing I just think it should do something else with a single object passed in
00:05 lue Unless I'm mistaken it's a list op, so it naturally assumes you've given it a list, even if it's a one-element list.
00:06 Ulti yeah
00:06 lue (things like 'say' and 'any' are also list prefixes, for reference)
00:07 Ulti so .Str and .Numeric are special cases?
00:07 Ulti for your own classes
00:07 [Coke] m: say <a b c d>.Str
00:07 camelia rakudo-moar 851811: OUTPUT«a b c d␤»
00:07 lue ? prefix:<~> and prefix<+> aren't list prefixes.
00:08 xragnar_ joined #perl6
00:14 lue Ulti: or are you referring to something other than ~ and + when you say "so .Str and .Numeric are special cases?" ?
00:14 Ulti no thats what I mean
00:21 ilbot3 joined #perl6
00:21 Topic for #perl6 is now »ö« Welcome to Perl 6! | http://perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:,  niecza:, std:, or /msg camelia perl6: ... | irclog: http://irc.perl6.org | UTF-8 is our friend!
00:21 cognominal joined #perl6
00:22 Ulti yeah I keep forgetting Perl6 is still Perl and not Java but with @ and % randomly added :)
00:22 lue :)
00:22 Ulti my P6 resembles Java to a high degree
00:22 lue perl6-j probably doesn't help the distinction for you :D
00:22 Ulti because its what I learn "proper OO" in
00:22 huf i've seen very javaesque p5 on cpan
00:23 huf so i think sufficiently clever programmers can write any x in any y :)
00:23 lue .oO(Perl 6 in 6502 asm)
00:23 Ulti :3 and on that thought I will dream
00:23 huf perhaps i was being "optimistic" there
00:23 Ulti night
00:24 lue o/ Ulti
00:27 lue huf: if one is sufficiently clever, it wouldn't be a problem :P
00:27 huf right :)
00:31 skids joined #perl6
00:35 Pleiades` joined #perl6
00:43 BenGoldberg joined #perl6
00:43 bjz_ joined #perl6
00:44 thou joined #perl6
00:52 bbkr joined #perl6
01:06 hoverboard joined #perl6
01:24 ugexe joined #perl6
01:35 jack_rabbit joined #perl6
01:41 Su-Shee_ joined #perl6
01:55 klapperl joined #perl6
01:56 SamuraiJack joined #perl6
02:04 btyler joined #perl6
02:13 silug joined #perl6
02:27 rindolf joined #perl6
02:41 bjz joined #perl6
03:11 bbkr joined #perl6
03:24 tempire joined #perl6
03:25 tempire_ joined #perl6
03:26 tempire joined #perl6
03:29 tempire joined #perl6
03:29 alc joined #perl6
03:29 awwaiid so it's kinda horrible, but I've started to introduce people to a cool language named "Rakudo" -- I tell them some of its features and about how it feels (inspired by Ruby, Perl, Haskell ... steals all the things) and so on. Only once we've had a rational conversation do I mention that it is actually an implementation of perl6
03:31 xiaomiao nice trick
03:32 PerlJam awwaiid: are they surprised?
03:35 awwaiid yes, but I've only done this for one or two so far
03:35 awwaiid I'm going to do it as part of a much larger presentation in a few weeks
03:35 awwaiid that'll be the interesting one
03:35 Alula joined #perl6
03:36 awwaiid when I start with "Perl6 ..." the conversation immediately derails. when I start with "Rakudo..." it is a useful conversation.
03:36 awwaiid anyway. just a report -- I'll continue my social experiments :)
03:37 hoverboard joined #perl6
03:53 perigrin ... in a few weeks ...
03:53 * perigrin checks the schedule.
03:58 BenGoldberg joined #perl6
04:01 cooper joined #perl6
04:01 cooper joined #perl6
04:11 bbkr interesting approach. however rakudo site itself is not attractive to newcommers. they do not care about release announcements. first page should be more like "hey, look at all those tricks you can do with the language! here is the sandbox! try it!"
04:19 bbkr moreover - those should be specific catchphrases like: "how to parse a text?" or "How to download a webpage?". people are experimenting with new languages to solve problems - not to stare at classes documentation.
04:21 thou joined #perl6
04:21 rurban joined #perl6
04:35 Pleiades` joined #perl6
04:50 Timbus i nodded so hard at bbkr's words that my neck got whiplash
04:51 Timbus load random examples from rosettacode :o
05:09 denis_boyun joined #perl6
05:09 darutoko joined #perl6
05:13 thou joined #perl6
05:19 denis_boyun joined #perl6
05:25 denis_boyun__ joined #perl6
05:33 denis_boyun_ joined #perl6
05:44 xinming joined #perl6
05:50 kaare_ joined #perl6
06:11 rurban joined #perl6
06:17 kaleem joined #perl6
06:19 Alina-malina joined #perl6
06:20 Alina-malina joined #perl6
07:12 rurban joined #perl6
07:13 virtualsue joined #perl6
07:20 FROGGS joined #perl6
07:25 rurban joined #perl6
07:25 terrencehan joined #perl6
07:30 pdcawley joined #perl6
07:31 ssutch joined #perl6
07:33 sergot morning o/
07:33 aindilis joined #perl6
07:35 zakharyas joined #perl6
07:37 FROGGS morning sergot
07:42 Rotwang joined #perl6
07:52 jack_rabbit joined #perl6
07:55 Pleiades` joined #perl6
07:55 ssutch joined #perl6
07:57 dalek rakudo/eleven: cd74d73 | (Tobias Leich)++ | src/core/CompUnitRepo.pm:
07:57 dalek rakudo/eleven: we treat Str's in @*INC as CUR::Local::File
07:57 dalek rakudo/eleven: review: https://github.com/rakudo/rakudo/commit/cd74d73f14
07:58 FROGGS lizmat: this should do ---------^
08:04 masak morning, #perl6
08:04 masak a nice day for some Perl 6 involvement :)
08:05 moritz \o/
08:05 spider-mario joined #perl6
08:14 sergot masak \o/
08:15 masak sergocie \o/
08:17 dmol joined #perl6
08:20 virtualsue joined #perl6
08:20 FROGGS morning masak, morning moritz :o)
08:22 alc joined #perl6
08:26 rurban joined #perl6
08:35 pippo joined #perl6
08:39 pippo morning perl6
08:39 dakkar joined #perl6
08:40 FROGGS morning pippo
08:42 pippo Anybody could explain me what is type Mu?
08:42 masak pippo: it's the type at the end of the mro chain.
08:42 masak m: say Array.^mro
08:42 camelia rakudo-moar 851811: OUTPUT«(Array) (List) (Iterable) (Cool) (Any) (Mu)␤»
08:42 masak m: say Int.^mro
08:42 camelia rakudo-moar 851811: OUTPUT«(Int) (Cool) (Any) (Mu)␤»
08:43 masak m: say Bag.^mro
08:43 camelia rakudo-moar 851811: OUTPUT«(Bag) (Any) (Mu)␤»
08:43 masak pippo: does that help?
08:43 masak pippo: it being at the end of the mro chain means that it has basically no attributes/methods of its own, and it gets a chance to resolve methods after everything else.
08:44 masak m: say Mu.^attributes
08:44 camelia rakudo-moar 851811: OUTPUT«␤»
08:44 masak m: say Mu.^methods
08:44 camelia rakudo-moar 851811: OUTPUT«ACCEPTS WHERE WHICH take WHY Bool so not defined new CREATE bless BUILDALL BUILD_LEAST_DERIVED Numeric Real Str Stringy item say print gist perl DUMP DUMP-PIECES DUMP-OBJECT-ATTRS isa does can clone Capture Method+{<anon>}.new() dispatch:<::> Method+{<anon…»
08:44 masak well, um. :)
08:44 masak "basically" no methods of its own :)
08:45 pdcawley_ joined #perl6
08:45 masak pippo: in Java, the corresponding type is called "java.lang.Object", and everything inherits from it.
08:45 pippo masak: Thank you very much. I understand.
08:45 masak \o/
08:46 masak in comp sci, the type is known as "Top", the type at the top of the lattice that all values can inhabit. it's the opposite of "Bottom", which no values inhabit.
08:47 pippo so also Any and Cool are intermediate objects between Mu and the final type? Correct?
08:48 Timbus http://doc.perl6.org/images/type-graph-Any.svg
08:48 masak pippo: Any inherits directly from Mu. you can think of it as "basically everything except junctions".
08:49 masak pippo: Cool captures the notion of those types in Perl 5 -- Bool, Int, Rat, Num, Str -- that can be confused with one another and effortlessly converted to one another without fuss.
08:49 pippo Timbus, masak: thank you very much!
08:55 pippo masak: last thing (I promise to stop bothering... for today :-) the mro of the method ^.mro is an acronym?
08:56 Timbus method resoultion order
08:56 Timbus resolution*
08:56 pippo OK. Thanks!
09:03 masak pippo: you're not bothering at all -- keep asking questions!
09:04 masak pippo: method resolution order is what determines in which order classes are considered when calling a method.
09:06 ren1us actually, i've got an incredibly stupid question -- is there a trivial way of breaking my program up into multiple files?  and turning each file into a module feels like it would be all kinds of dirty
09:08 masak ren1us: I think you have something backwards when you're asking it like that.
09:08 masak ren1us: breaking the program into multiple files should be informed by existing module boundaries, not the other way around.
09:10 ren1us masak: that would fit how my day is going so far.  the problem is, in the documentation i've found, modules are presented only in the context of redistribution, which isn't really my goal here.  if there's a way to do modules only locally, then that's marvelous.
09:11 moritz redistribution is optional.
09:13 masak I had this thought the other day: "If I design a programming language, I'm going to save myself a bunch of trouble and just plug the module system directly into an existing package manager, such as apt or npm."
09:13 masak of course, care would still have to be taken to carry both an in-development story and a for-distribution story.
09:14 masak but I think it'd be a win to use something pre-existing, instead of re-inventing every little dependency management detail.
09:17 Timbus ren1us:  use lib '.'; use YourModule.pm;
09:17 Timbus lib '.' will add the current dir to INC
09:19 ren1us Timbus: That feels weirdly hacky but it also makes perfect sense.  I'll give it a shot.
09:21 Timbus hacky? =/
09:22 FROGGS m: say "abc," ~~ /<:Letter>+/
09:22 camelia rakudo-moar 851811: OUTPUT«「abc」␤␤»
09:23 ren1us just modifying the search path like that from within the program like that.  that feels like it would be cleaner as a parameter when launching the interpreter (ie: perl6 --include="." test.pm) or something
09:23 FROGGS p: say "abc," ~~ /<:Letter>+/
09:23 camelia rakudo-parrot 851811: OUTPUT«「abc」␤␤»
09:23 FROGGS j: say "abc," ~~ /<:Letter>+/
09:23 camelia rakudo-jvm 851811: OUTPUT«「abc」␤␤»
09:23 rindolf joined #perl6
09:23 ren1us i think my problem is that i'm still thinking from a java perspective.  i've gotten into nasty habits over the years >_>
09:24 Timbus well, you can use a command line switch
09:24 Timbus -I
09:25 ren1us now that, i like.
09:25 ren1us but good to know in general
09:25 ren1us thanks
09:27 rurban joined #perl6
09:31 lizmat good *, #perl6
09:31 FROGGS hi lizmat
09:32 lizmat FROGGS: so are we set for merging eleven ?
09:32 FROGGS lizmat: not quite
09:32 FROGGS t/spec/S10-packages/basic.rakudo.moar                       (Wstat: 0 Tests: 59 Failed: 2)
09:32 FROGGS Failed tests:  9-10
09:32 FROGGS Parse errors: Tests out of sequence.  Found (1) but expected (39)
09:32 donaldh joined #perl6
09:32 FROGGS I get that, but I don't see an error when running the file directly
09:32 lizmat ok, will look at those then ?
09:32 lizmat aha...  hmmm
09:33 FROGGS pull btw, I fixed the issue about strings in @*INC
09:33 lizmat I just pulled :-)
09:33 FROGGS :o)
09:34 donaldh o/
09:34 yoleaux 28 May 2014 22:47Z <jnthn> donaldh: to see how it works for Supply.interval; you just .close the tap.
09:34 FROGGS hi donaldh
09:35 lizmat donaldh FROGGS  o/  :-)
09:35 lizmat FROGGS: do you have an eleven branch on roast as well ?
09:37 pecastro joined #perl6
09:49 FROGGS lizmat: no
09:49 lizmat okidoki
09:49 FROGGS panda/master and panda/eleven are probably the best tests
09:49 FROGGS both are meant to work at the time we merge it
09:49 lizmat gotcha
09:51 lizmat hmmm... odd: perl6 t/spec/S10-packages/basic.rakudo.moar runs fine, but running it under make, failes
09:51 lizmat *fails
09:53 FROGGS exactly
09:54 lizmat FROGGS: do you know of a reason why it is trying to do "use Test", rather than another module?
09:55 FROGGS no, not really
09:56 lizmat added a use lib t/spec/packages
09:56 lizmat and then tried to use Test::Tap
09:56 lizmat now it won't even start under make, still runs fine underl perl6
09:57 FROGGS well, it is possible that we do not have the correct ModuleLoader in EVAL perhaps...
09:57 FROGGS ummm
09:57 FROGGS does running under 'make' changes the cwd?
09:57 FROGGS I guess not
09:58 lizmat no idea
09:58 FROGGS ok 37 - method redefined in class dies
09:58 FROGGS ok 38 - use after class line
09:58 FROGGS ok 1 - use in class block
09:58 FROGGS "interesting"
09:58 FROGGS ohh
09:58 lizmat feels like the "use Test" is reinitializing
09:59 FROGGS yeah
09:59 FROGGS it really loads it twice
09:59 lizmat like it's loading it *again* instead of just exporting
10:10 daxim joined #perl6
10:12 atroxaper joined #perl6
10:12 atroxaper Hello, #perl6 !
10:12 masak oh hai atroxaper
10:12 atroxaper masak: hi :-)
10:13 atroxaper I have a problem with installation of R*.
10:14 atroxaper I trying to install all backends on my OS X. And there is some strange error while calling Configure.pl. I decided to install only MoarVM from R* but have got one more error. After that i have tried to install Parrot one. And success!
10:15 moritz what errors did you get?
10:15 moritz and how did you call Configure.pl?
10:16 atroxaper And now i thinking how can i install JMV and MoarVM from Rakudo repo instead of R* (i mean hoe can i build and add perl6-m-j to install folder).
10:17 atroxaper For installation i used Readme from github R* repo.
10:19 atroxaper Actually i didn't save logs. But i can repeat all things for you.
10:28 rurban joined #perl6
10:29 donaldh joined #perl6
10:35 atroxaper I repete Configuration.pl for all backends. https://gist.github.com/b5a0ce8b746c34a2d88c.git
10:35 atroxaper There is the last output.
10:35 thou joined #perl6
10:38 dalek rakudo/nom: 822705b | (Elizabeth Mattijsen)++ | src/core/VM.pm:
10:38 dalek rakudo/nom: $*VM.(name|version|auth) contain meaningful info
10:38 dalek rakudo/nom:
10:38 dalek rakudo/nom: on all current backends
10:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/822705bd23
10:41 dalek specs: 6c40e3a | (Elizabeth Mattijsen)++ | S28-special-names.pod:
10:41 dalek specs: Spec $*KERNEL.release
10:41 dalek specs: review: https://github.com/perl6/specs/commit/6c40e3a443
10:43 vendethiel o/
10:46 sergot vendethiel: o/
10:47 atroxaper vendethiel: o/
10:52 pippo masak: sorry I was afk. Thank you for http://irclog.perlgeek.de/perl6/2014-05-29#i_8789301.
10:54 dalek rakudo/nom: 9443056 | (Elizabeth Mattijsen)++ | src/core/VM.pm:
10:54 dalek rakudo/nom: Ooops, fix copy-n-pasto
10:54 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/94430564be
10:55 masak pippo: it's actually quite an interesting problem. consider multiple inheritance, for example. we only want a given superclass to show up once in the mro.
10:56 masak m: class A {}; class B is A {}; class C is A {}; class D is B is C {}; say D.^mro
10:56 camelia rakudo-moar 851811: OUTPUT«(D) (B) (C) (A) (Any) (Mu)␤»
10:57 masak m: class A {}; class B is A {}; class C is A {}; class D is C {}; class E is B is D {}; say E.^mro
10:57 camelia rakudo-moar 851811: OUTPUT«(E) (B) (D) (C) (A) (Any) (Mu)␤»
10:57 vendethiel good ol' diamond inheritance
10:57 pippo masak: OK. Useful indeed.
10:58 masak pippo: there's a special method resolution order called C3 (where the 3 "C"s are three important qualities that this order needs to have to be sane) that all modern multi-inheritance languages use under the hood.
10:58 * vendethiel remembers being told about having C/new C++ programmers teached virtual inheritence and trying to use it everywhere ..
10:59 masak hm, consistency, local precedence order, and monotonicity. apparently only one of them actually begins with a C :)
10:59 pippo masak: I'll look for some documentation relevant to this C3 rule.
11:00 masak pippo: I just found http://martinfowler.com/articles/testing-culture.html which looks very nice and explanatory.
11:00 masak er.
11:00 masak https://www.python.org/download/releases/2.3/mro/
11:00 dalek rakudo/nom: cfc0b38 | (Elizabeth Mattijsen)++ | src/core/Deprecations.pm:
11:00 dalek rakudo/nom: Introduce RAKUDO_NO_DEPRECATIONS environment var
11:00 dalek rakudo/nom:
11:00 dalek rakudo/nom: Mainly intended to be used when running smoke tests
11:00 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/cfc0b38ccc
11:00 lizmat [Coke]: ^^^
11:01 masak (Chrome does this thing where if you Alt-Tab away from it too quickly, it doesn't actually copy the URL)
11:01 lizmat m: ay $*OSVER
11:01 camelia rakudo-moar 851811: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/88Z3iclt5jâ�¤Undeclared routine:â�¤    ay used at line 1â�¤â�¤Â»
11:01 lizmat m: say $*OSVER
11:01 camelia rakudo-moar 851811: OUTPUT«3.2.0-37-generic␤Saw 1 call to deprecated code during execution.␤================================================================================␤$*OSVER called at:␤  /tmp/XUNXP2OXjN, line 1␤Please use $*DISTRO.version instead.␤----------------…»
11:01 lizmat $ RAKUDO_NO_DEPRECATIONS=1 perl6 -e 'say $*OSVER'
11:01 lizmat 10.9.3
11:02 pippo masak: Thank you again. Studying... :-)
11:02 terrencehan left #perl6
11:05 masak pippo: though note that if you never do MI, everything's sane from the start and you don't need C3 ;)
11:07 lizmat m: <a b c>.WHAT.say   # the rule that the comma makes the Parcel, maybe needs to be adapted ?
11:07 camelia rakudo-moar 851811: OUTPUT«(Parcel)␤»
11:07 lizmat yes, I know <...> is syntactic sugar, but that may not be obvious to beginners
11:09 masak indeed.
11:09 kivutar joined #perl6
11:11 lizmat on the subject of nameds and pairs: what about reserving the fat comma syntax for creating pairs, and the colon :named syntax for creating nameds ?
11:12 lizmat then we could make Pairs have a mutable key (like TimToady wants to see) and have .nameds methods on Hash/Bag etc
11:12 masak um.
11:12 masak I can't think of any use case now, but I'm pretty sure the synonymity of :key($value) and key => $value is a good one.
11:13 masak just in case that's my conservativity bias talking, I'll try to stay open to sway.
11:13 lizmat well, the confusion we have with Foo.new now eating all unknown named params instead of complaining
11:14 lizmat I see newbies being bitten by that all the time (and I have been too)
11:14 masak that's nothing to do with nameds and pairs, though.
11:14 lizmat true
11:14 masak that's to do with S12's insitence on interface consistency and liskovity.
11:14 masak which arguably is a good thing, even if it's annoying.
11:15 masak the solution as far as I'm concerned is tadzik's strict-constructor module.
11:15 lizmat m: my $b = <a b c>.Bag; .value++ for $b.pairs; say $b  # one problem I need to fix
11:15 camelia rakudo-moar 851811: OUTPUT«bag(a(2), b(2), c(2))␤»
11:15 lizmat masak: with maybe some syntactic sugar and core inclusion ?
11:15 masak not sure.
11:16 masak *sigh* -- the problem of immutable containers allowing values to be mutated is starting to feel like the problem of the decade.
11:16 masak I really really wish there was a unified model to handle all the tricky cases.
11:16 lizmat m: my $b = <a b c>.BagHash; .value++ for $b.pairs; say $b  # should his be legal?
11:16 camelia rakudo-moar 851811: OUTPUT«BagHash.new(a(2), b(2), c(2))␤»
11:16 masak I guess that's why Rust has piqued my interest a bit.
11:16 lizmat note the use of BagHash
11:17 masak I have no clue.
11:17 tadzik about CX::StrictConstructor coreness, maybe a lint-y module that warns about such things would be in order?
11:21 masak +1
11:21 masak yes, and it could recommend CX::BoaConstrictor
11:22 tadzik the name ClassX::StrictConstructor sucks :D
11:23 tadzik it's long and clumsy and tricky to type
11:23 denis_boyun_ joined #perl6
11:28 rurban joined #perl6
11:29 lizmat it's really about allowing subclassing, isn't it?
11:36 lizmat m: my %h = (a=>1); .value++ for %h.pairs; say %h  # hates it that this silently increment into the blue
11:36 camelia rakudo-moar 851811: OUTPUT«("a" => 1).hash␤»
11:36 thou joined #perl6
11:37 masak lizmat: yes.
11:38 lizmat m: my %h = (a=>1); .key++ for %h.pairs; say %h  # now fails because Pair.key is ro
11:38 camelia rakudo-moar 851811: OUTPUT«Cannot modify an immutable Str␤  in sub postfix:<++> at src/gen/m-CORE.setting:1873␤  in block  at /tmp/N3Zx_VEg91:1␤␤»
11:38 lizmat maybe we need a CPair  :-)
11:43 masak :/
11:44 masak maybe we need an overarching strategy for mutable vs immutable
11:45 colomon …. was just about to try messing with this, but .pairs certainly is returning a copy of the actual Pair in the Hash, no?  it seems really weird to expect it to be able to change the Hash
11:46 colomon m: my %h = (a=>1); %h.pairs { .value++; .say; }; say %h
11:46 camelia rakudo-moar 851811: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/5DIYHtAsUx�Unexpected block in infix position (two terms in a row, or previous statement missing semicolon?)�at /tmp/5DIYHtAsUx:1�------> [32mmy %h = (a=>1); %h.pairs [33m�[31m{ .value++;…»
11:46 colomon m: my %h = (a=>1); for %h.pairs { .value++; .say; }; say %h
11:46 lizmat weil, in the case of Bag/Mix, the values of the underlying hash are pairs
11:46 camelia rakudo-moar 851811: OUTPUT«"a" => 2␤("a" => 1).hash␤»
11:47 Ulti hmmm been playing with the REPL for a few minutes and moar is using >2.5GB of RAM is this normal? only playing with a few strings
11:47 colomon m: my %h = (a=>1); for %h.values { $_++; .say; }; say %h
11:47 camelia rakudo-moar 851811: OUTPUT«2␤("a" => 2).hash␤»
11:47 Ulti only 99MB is resident though so I assume I did something that blew it out
11:48 colomon to me, that last one is the scary, inexplicible one.
11:49 prevost joined #perl6
11:54 pmurias joined #perl6
11:57 oetiker joined #perl6
11:59 Timbus its a perl5-ism isnt it
12:00 Juerd joined #perl6
12:00 masak it's a question of what parts are copying and what parts are aliasing.
12:01 masak dunno if labeling it as a perl5-ism helps make things clearer in any way.
12:02 Timbus well. i mean convention would probably just make everything an ro alias, but modification of $_ in a for loop was, apparently something that needed to be carried over
12:03 Timbus but yeah
12:05 oetiker joined #perl6
12:07 colomon just to be clear -- what bothers me there is that .values is apparently returning a list of references into the hash.
12:08 Timbus yes. thats uhh, the 'desired' effect
12:08 ingy joined #perl6
12:10 colomon m: my %h = (a=>1); for %h.kv -> $k, $v is rw { $v++; $v.say; }; say %h
12:10 camelia rakudo-moar 851811: OUTPUT«2␤("a" => 2).hash␤»
12:13 FROGGS m: my class X::DateTime::CannotParse is Exception { ... }
12:13 camelia rakudo-moar 851811: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/1MQeQQRkFnâ�¤The following packages were stubbed but not defined:â�¤    X::DateTime::CannotParseâ�¤at /tmp/1MQeQQRkFn:1â�¤------> [32mteTime::CannotParse is Exception { ... }[33mâ��[31m<EOL>[0m…»
12:13 FROGGS m: my class X::DateTime::CannotParse is Exception { }
12:13 camelia rakudo-moar 851811: ( no output )
12:13 lizmat m: <a b c>.list.Parcel.perl.say  # is this correct ?
12:13 camelia rakudo-moar 851811: OUTPUT«(ListIter.new(),)␤»
12:14 Timbus i hope not
12:14 Timbus m: <a b c>.list.lol.perl.say
12:14 camelia rakudo-moar 851811: OUTPUT«LoL.new(ListIter.new())␤»
12:16 Timbus m: my ($a, $b) = "asd fgh".split(' ')>>.comb.lol; say $a.perl;
12:16 camelia rakudo-moar 851811: OUTPUT«().list.item␤»
12:16 dalek rakudo-star-daily: 1962513 | coke++ | log/ (14 files):
12:16 dalek rakudo-star-daily: today (automated commit)
12:16 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/1962513767
12:16 dalek perl6-roast-data: 48b8c1e | coke++ | / (6 files):
12:16 dalek perl6-roast-data: today (automated commit)
12:16 dalek perl6-roast-data: review: https://github.com/coke/perl6-roast-data/commit/48b8c1e5ba
12:18 jnap joined #perl6
12:20 [Coke] (backlog) osx can't build rakudo-m with the default make - you have to run the make command multiple times until it completes. I presume this impacts r* also
12:21 Timbus try hitting the side of the monitor a  few times to jostle the bits
12:23 [Coke] rakudo.jvm now has 676 failures on spectest...
12:23 lizmat [Coke] I can't still run jvm spectest without it dying
12:23 lizmat how do you manage that ?
12:23 [Coke] lizmat: you're using the eval server, I presume?
12:23 [Coke] I gave up on that months ago.
12:24 lizmat I'm doing "make spectest"
12:24 lizmat what magic do I need to do to not use the eval server ?
12:24 [Coke] ah. 670 of those failures are from a very long test which probably timed out because I was running something else on the box at the same time that I'm not usually. ignore it for now.
12:25 [Coke] lizmat: https://github.com/coke/perl6-roast-data/blob/master/bin/rakudo.jvm.sh
12:25 lizmat [Coke]: thanks
12:25 lizmat It appears we don't have any .Parcel spectests on anything that contains an iterator :-(
12:25 [Coke] (ah, I thought there was code in there to cheat and disable the server. Instead, I never set up the server)
12:26 rindolf joined #perl6
12:26 [Coke] I assume there's a leak in the server somewhere; haven't had the time to run it through visualvm to figure out where.
12:27 [Coke] haven't had a clean rakudo.parrot or rakudo.moar run in a while. :(
12:28 [Coke] new parrot failure: integration/advent2010-day03.t aborted 10 test(s)
12:29 rurban joined #perl6
12:30 lizmat [Coke]: did you pull ?   that test should have been fixed by donaldh's work on nqp::tell and friends
12:30 lizmat fwiw, it doesn't fail for me
12:40 MilkmanDan joined #perl6
12:41 [Coke] lizmat: that was yesterday's run.
12:41 [Coke] today's run is still going.
12:41 [Coke] apologies for my confusion.
12:42 FROGGS masak: was it intention to have no infixes for DateTime?
12:42 FROGGS multi infix:«<»(Date:D $a, Date:D $b) { <--- we have them only for Date
12:42 felher Hey folks. How would one count the number of substrings ss in the string s? s.comb.grep(* eq ss).elems would certainly work, but I guesss this has quite a overhead. A loop with s.index(ss, nextPos) maybe? Is there a method that does something like counting the number of substrings in a string already and I just didn't find it?
12:43 felher (my substrinsg habe length 1, so the comb will work, fwiw :) )
12:43 kurahaupo joined #perl6
12:44 lizmat joined #perl6
12:44 masak FROGGS: hm. I honestly didn't consider it. but they should definitely be there, yes.
12:44 FROGGS m: say +"Guten tag".match(/t/, :g) # felher
12:44 camelia rakudo-moar 851811: OUTPUT«2␤»
12:44 masak FROGGS: could you please spec them, too?
12:44 FROGGS masak: k, just wanted to check
12:44 FROGGS masak: k
12:44 masak FROGGS: are there any complications involving time zones?
12:45 FROGGS masak: also see: https://github.com/sergot/datetime-parse
12:45 FROGGS masak: no idea
12:45 * masak thinks not, because we don't have that "floating" time zone thing
12:45 masak FROGGS: re the module: what am I looking for?
12:46 masak I mean, it looks like a good module and all. are you asking whether I think it should be core? if so, then no, I don't.
12:46 FROGGS it can parse things like 'Sun, 06 Nov 1994 08:49:37 GMT' and returns a DateTime object
12:46 masak yes, I see.
12:46 masak nice.
12:46 FROGGS no, just wanted to show, it is not meant to go into core :o)
12:47 masak oki :)
12:47 FROGGS but there is often the question about how to turn something to a DateTime, and that will be the answer
12:47 felher FROGGS: of course... I can't believe I did not think of that. Thanks.
12:48 masak FROGGS: aye.
12:48 FROGGS felher: but be careful, only the method form works AFAIK
12:48 lizmat hmmm... that was interesting....   moar crashing my notebook  :-)
12:48 lizmat I guess an unprotected self.gimme(*) in List.Parcel wasn't such a good idea after all  :-)
12:48 masak felher: also note that it only counts the number of non-overlapping matches.
12:49 masak m: say +"aaaaaa".match(/aa/, :g) # 3, not 5
12:49 camelia rakudo-moar 851811: OUTPUT«3␤»
12:49 masak m: say +"aaaaaa".match(/aa/, :g, :ov)
12:49 camelia rakudo-moar 851811: OUTPUT«5␤»
12:49 masak ooh :)
12:49 felher masak: yeah, thats fine for my purpose. I'm only searching for 1-character-strings anyway. :)
12:49 masak didn't know we had that :)
13:02 lizmat ever wanting to Ctrl-C out of a running program and get a stacktrace ?
13:02 lizmat signal(SIGINT).tap({die});
13:02 lizmat :-)
13:03 timotimo oooh
13:03 moritz .tap(&die)
13:04 tadzik <3
13:04 tadzik lizmat++
13:04 timotimo but doesn't that just throw a stack trace from the event loop?
13:04 lizmat also
13:04 lizmat it's a bit messy
13:06 lizmat moritz: &die doesn't seem towork: Type check failed in binding &more; expected 'Callable' but got 'Sub+{<anon>}'
13:06 timotimo oh? that's not right
13:06 timotimo m: say Sub ~~ Callable
13:06 camelia rakudo-moar 851811: OUTPUT«True␤»
13:07 lizmat I guess it's the +[<anon>] breaking it ?
13:07 timotimo shouldn't, though
13:07 masak right.
13:07 timotimo could be error reporting fail?
13:07 * lizmat feels like masak today
13:07 lizmat finding bugs everywhere  :-(
13:07 btyler joined #perl6
13:08 masak don't be sad.
13:08 masak found bugs are better than unfound bugs.
13:09 lizmat true, but it feels like I'm shaving yaks all the way down to the bone now
13:09 timotimo poor yak
13:09 moritz m: say &die ~~ Callable
13:09 camelia rakudo-moar 851811: OUTPUT«False␤»
13:09 moritz m: say &die.^name
13:10 camelia rakudo-moar 851811: OUTPUT«Sub+{<anon>}␤»
13:10 moritz m: say &die ~~ Sub
13:10 camelia rakudo-moar 851811: OUTPUT«True␤»
13:10 moritz m: say Sub ~~ Callable
13:10 camelia rakudo-moar 851811: OUTPUT«True␤»
13:10 moritz clearly that's a bug
13:10 lizmat proto sub die(|) is hidden_from_backtrace {*};
13:10 lizmat could be the reason ?
13:10 moritz yes
13:10 moritz it's still wrong
13:11 * moritz writes a rakudobug
13:12 masak moritz++
13:12 timotimo masak: what's on your plate for today? :)
13:12 masak timotimo: keeping it a secret for now :)
13:12 timotimo ooooh! :D
13:13 timotimo .o( maybe it's mishu? )
13:13 * masak .oO( thank you alleged Jesus for allegedly Ascending some 2k years ago, so that we don't have to work today in the Christian world )
13:15 moritz m: role R { }; class A1 does R { }; class A2 is A1 { }; say A2 ~~ R; say A2.^roles
13:15 camelia rakudo-moar 851811: OUTPUT«True␤(R)␤»
13:15 moritz m: role R { }; class A1 does R { }; class A2 is A1 { }; say A2 ~~ R; say (A2 but role { }) ~~ R
13:15 camelia rakudo-moar 851811: OUTPUT«True␤True␤»
13:15 Ulti is there a typical method for comparing builtins?
13:15 skids joined #perl6
13:16 moritz not so simple, it seems
13:16 moritz Ulti: comparing them to what?
13:16 Ulti so like if I want to compare two bags specifically
13:16 Ulti just ~~ ?
13:16 timotimo maybe you want eqv?
13:16 timotimo there's a bag comparison operator, which should be (<) and (>) and friends
13:17 Ulti yeah eqv looks like what I want
13:23 masak m: role R1 {}; role R2 does R1 {}; class C does R2 {}; say C.^roles
13:23 camelia rakudo-moar 851811: OUTPUT«(R2)␤»
13:23 masak m: role R1 {}; role R2 does R1 { method foo { say "OH HAI" } }; class C does R2 {}; say C.new.foo
13:23 camelia rakudo-moar 851811: OUTPUT«OH HAI␤True␤»
13:23 masak m: role R1 {}; role R2 does R1 { method foo { say "OH HAI" } }; class C does R2 {}; C.new.foo
13:23 camelia rakudo-moar 851811: OUTPUT«OH HAI␤»
13:23 lizmat hmm... looks like List.Parcel is being called a *lot* of times, seems like some LHF for optimizing
13:24 masak jnthn: is it correct that C doesn't say it's doing R1 too?
13:25 thou joined #perl6
13:27 masak errands &
13:29 FROGGS lizmat: about these eleven fails, at the beginning it is loading rakudo/lib/Test.moarvm and later nqp/install/languages/perl6/lib/Test.moarvm
13:29 dalek ecosystem: 2151da8 | sergot++ | META.list:
13:29 dalek ecosystem: DateTime::Parse added, FROGGS++
13:29 dalek ecosystem: review: https://github.com/perl6/ecosystem/commit/2151da89ac
13:30 sergot FROGGS++ thanks for your help!
13:30 rurban joined #perl6
13:30 lizmat FROGGS: was there a "use lib" inbetween ?
13:30 colomon joined #perl6
13:31 FROGGS lizmat: yes, right after the first 'use Test'
13:32 lizmat so this is what you expect?  or not ?
13:34 FROGGS but it does: use lib 't/spec/packages'
13:34 MilkmanDan joined #perl6
13:34 lizmat I guess each CompUnitRepo keeps its own %INC equivalent ?
13:34 FROGGS that does not explain why nqp/install/... is picked up first
13:35 FROGGS there is no %INC
13:35 lizmat ok
13:43 rurban joined #perl6
13:48 dalek ecosystem: 857211d | (Tobias Leich)++ | META.list:
13:48 dalek ecosystem: use raw2.github.com for all entries
13:48 dalek ecosystem: review: https://github.com/perl6/ecosystem/commit/857211d458
13:48 timotimo ouch, someone figured out how to exploit the TLS implementations used to do WPA2 and wired-WPA
13:48 tadzik oh :)
13:49 lizmat http://jnthn.net/papers/2013-bs-invoke-dynamic.pdf on hn!
13:49 FROGGS timotimo: is the a news article or blog?
13:49 sergot FROGGS: yea, I forgot about this.
13:49 FROGGS jnthn++
13:49 FROGGS sergot: no problem
13:49 btyler joined #perl6
13:53 xenoterracide joined #perl6
13:53 SamuraiJack joined #perl6
13:53 lizmat m: <a b c>.list.perl.say
13:53 camelia rakudo-moar 851811: OUTPUT«("a", "b", "c").list␤»
13:53 lizmat m: <a b c>.list.Parcel.perl.say
13:53 camelia rakudo-moar 851811: OUTPUT«(ListIter.new(),)␤»
13:53 lizmat rakudobug?
13:54 timotimo http://www.slideshare.net/lgrangeia/heartbleed-35236317
13:57 treehug88 joined #perl6
14:02 lizmat m: <a b c>.list.flat.Parcel.perl.say
14:02 camelia rakudo-moar 851811: OUTPUT«(ListIter.new(),)␤»
14:05 colomon It's making a Parcel of the list rather than of the objects in the list?
14:06 Pleiades` joined #perl6
14:06 lizmat no idea: it's caused by nqp::push($rpa, $!nextiter) if $!nextiter.defined; in List.Parcel
14:07 lizmat my quick fix of adding "self.gimme(*)" at the top, makes ... without end boundary match go eat the universe
14:14 muraiki joined #perl6
14:14 timotimo nom nom universe
14:20 btyler does anyone else see a segv when running get-w3-latin1-utf8.t in perl6-lwp-simple on head/head/head? disabling spesh resolves it for me, but I thought I'd check to make sure it isn't something in my setup before filing an issue against moar
14:21 timotimo oh no, not spesh! :(
14:21 timotimo maybe another place where we run into a low-level null instead of a VMNull object?
14:22 btyler I tried reducing the code in the test, but I couldn't get it to segv in any other combination (one test or the other, only doing one lwp GET, etc.)
14:24 FROGGS btyler: I only have that: https://gist.github.com/FROGGS/9228162347e3b4c03a18
14:26 thou joined #perl6
14:27 btyler FROGGS: ok, yep, same here. if it's already floating around I won't add to the reporting noise
14:28 FROGGS btyler: I just stopped to investigate because I wasn't able to geth further
14:28 FROGGS so please continue if you have some ideas
14:31 atroxaper joined #perl6
14:35 dalek rakudo/nom: 8e924c8 | (Elizabeth Mattijsen)++ | src/core/Perl.pm:
14:35 dalek rakudo/nom: What supported backends do we have utility method
14:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8e924c834d
14:35 dalek rakudo/nom: b4ddd8f | (Elizabeth Mattijsen)++ | src/core/ (5 files):
14:35 dalek rakudo/nom: Prevent .pairs affecting (Set|Bag|Mix)(|Hash)
14:35 dalek rakudo/nom:
14:35 dalek rakudo/nom: Unfortunately, you can still silently .value++ and .pairs.push.  But at least
14:36 dalek rakudo/nom: they won't affect functioning or the mutability anymore.
14:36 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b4ddd8f14e
14:36 dalek rakudo/nom: 65740af | (Elizabeth Mattijsen)++ | src/core/Perl.pm:
14:36 dalek rakudo/nom: $*PERL.backends better written as $*PERL.VMnames
14:36 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/65740af18b
14:36 lizmat cycling&
14:40 cibs joined #perl6
14:41 logie joined #perl6
14:45 rurban joined #perl6
14:48 dalek rakudo/eleven: 45542c4 | (Tobias Leich)++ | src/core/CompUnitRepo.pm:
14:48 dalek rakudo/eleven: properly sort and return candidate list
14:48 dalek rakudo/eleven: review: https://github.com/rakudo/rakudo/commit/45542c4334
14:48 dalek rakudo/eleven: d6b0173 | (Tobias Leich)++ | src/core/CompUnitRepo/Local/File.pm:
14:48 dalek rakudo/eleven: do not include @*INC in every CUR::Local::File
14:48 dalek rakudo/eleven: review: https://github.com/rakudo/rakudo/commit/d6b0173c86
14:51 anaeem1_ joined #perl6
14:52 Util New RC: http://rosettacode.org/wiki/Move-to-front_algorithm#Perl_6
14:53 anaeem1 joined #perl6
14:54 anaeem1__ joined #perl6
14:55 FROGGS nice!
14:55 FROGGS Util++
14:56 FROGGS .tell lizmat eleven is spectest clean
14:56 yoleaux FROGGS: I'll pass your message to lizmat.
14:56 vendethiel lizmat: re https://github.com/rakudo/rakudo/commit/b4ddd8f14e, shouldn't that be // ?
14:56 dalek rakudo/eleven: f8a2b50 | (Donald Hunter)++ | src/core/IO.pm:
14:56 dalek rakudo/eleven: Remove special case in cwd for parrot backend.
14:56 dalek rakudo/eleven: review: https://github.com/rakudo/rakudo/commit/f8a2b50f38
14:56 dalek rakudo/eleven: 65c175e | (Donald Hunter)++ | src/core/IO.pm:
14:56 dalek rakudo/eleven: Remove special case in IO::Handle.write for parrot backend.
14:57 dalek joined #perl6
14:57 FROGGS vendethiel: does that make a difference for arrays?
14:57 vendethiel if they're empty ?
14:59 FROGGS m: my @a; say @a // 1
14:59 camelia rakudo-moar 851811: OUTPUT«␤»
14:59 FROGGS it would never run when she had used //=
15:00 bbkr_ joined #perl6
15:00 vendethiel oh, thought otherwise.
15:01 vendethiel FROGGS++
15:01 anaeem1_ joined #perl6
15:03 FROGGS timotimo: that slide you shared almost makes wanting to hack our cisco stuff at work and then say: See! It's crap all the way down!
15:08 FROGGS .tell jnthn does that seem sensible? https://gist.github.com/FROGGS/100079bd927d239e8ab2 I need it for binding to $*MAIN
15:08 yoleaux FROGGS: I'll pass your message to jnthn.
15:08 xenoterracide_ joined #perl6
15:25 Ulti is there a way of statically importing some name space? so if I have BioInfo::Seq::DNA I can just get BioInfo::* symbols statically imported so I can just do Seq::DNA.new() ?
15:25 bluescreen10 joined #perl6
15:25 Ulti otherwise I might rethink my choice of root name :3
15:30 Alina-malina joined #perl6
15:38 hoverboard joined #perl6
15:40 aboutGod joined #perl6
15:40 thou joined #perl6
15:40 xenoterracide__ joined #perl6
15:41 xenoterracide joined #perl6
15:45 aboutGod left #perl6
15:45 liztormato joined #perl6
15:46 liztormato FROGGS: Great news!  FROGGS++
15:46 FROGGS liztormato: :o)
15:47 FROGGS and I have a good feeling now about merging it btw
15:48 liztormato Will merge late tonight or tomorrow
15:49 liztormato First more cycling and then some 3D Edge Of Tomorrow ;-)
15:56 FROGGS :o)
15:56 FROGGS liztormato: have fun!
16:03 SamuraiJack joined #perl6
16:05 kaleem joined #perl6
16:07 kivutar_ joined #perl6
16:16 oetiker joined #perl6
16:16 liztormato left #perl6
16:17 hoverboard joined #perl6
16:21 bbkr joined #perl6
16:35 oetiker joined #perl6
16:37 dmol joined #perl6
16:44 telex joined #perl6
16:54 panchiniak joined #perl6
16:56 japhb Forgive me if my brain is addled, but I was looking at the block starting at https://github.com/rakudo/rakudo/blob/nom/src/core/Supply.pm#L641 , and it doesn't look right.  It tests for &done.arity == 2, and then calls it with one argument if true, and 0 if false.  Copy-pasta?
16:56 yoleaux 28 May 2014 01:03Z <Timbus> japhb: Hey take a look at my CommandHandler branch for net::IRC and tell me what you think. I think it's great and could be further explored. Maybe integrate it into ::Bot and have things like command renaming and conflict resolution between modules
16:56 oetiker joined #perl6
16:57 japhb .tell Timbus Ah, cool, I'll take a look!
16:57 yoleaux japhb: I'll pass your message to Timbus.
17:00 lizmat japhb: good catch
17:00 yoleaux 14:56Z <FROGGS> lizmat: eleven is spectest clean
17:01 FROGGS lizmat: and I found a bug in my PAUSE code :/ https://github.com/andk/pause/pull/120
17:01 FROGGS I hope andk++ has time to apply that soonish
17:01 bbkr joined #perl6
17:01 lizmat indeed..
17:02 lizmat that probably explains why NativeCall got CPAN Testers reports, no?
17:02 FROGGS lizmat: that is possible
17:03 FROGGS still, the cpantesters perhaps smoke all recent uploads, whether these are indexed or not
17:05 timotimo http://cpantesters.org/distro/N/NativeCall.html - this?
17:05 FROGGS yes
17:06 grondilu joined #perl6
17:06 FROGGS I also uploaded Inline today and got an automatic mail that said that the Perl 5 indexing failed
17:06 timotimo oops
17:06 spider-mario joined #perl6
17:06 FROGGS :o)
17:07 FROGGS and what I also realised: NativeCall can't be installed via panda anymore, because we changed its META.info to META6.json
17:08 grondilu r: 'class Foo { has $.x; multi method new() { self.new: x => "foo" } }; say my Foo $f .= new;
17:08 camelia rakudo-{parrot,jvm,moar} 851811: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/tmpfileâ�¤Unable to parse expression in single quotes; couldn't find final "'" â�¤at /tmp/tmpfile:1â�¤------> [32mw: x => "foo" } }; say my Foo $f .= new;[33mâ��[31m<EOL>[0mâ�¤    e…»
17:08 grondilu r: class Foo { has $.x; multi method new() { self.new: x => "foo" } }; say my Foo $f .= new;
17:08 dalek rakudo/nom: 0b02810 | (Elizabeth Mattijsen)++ | src/core/Supply.pm:
17:08 dalek rakudo/nom: Fix copy-pasto, spotted by japhb++
17:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/0b02810595
17:08 camelia rakudo-moar 851811: OUTPUT«(timeout)»
17:08 camelia ..rakudo-jvm 851811: OUTPUT«java.lang.StackOverflowError␤  in method new at /tmp/tmpfile:1␤  in method new at /tmp/tmpfile:1␤  in method new at /tmp/tmpfile:1␤  in method new at /tmp/tmpfile:1␤  in method new at /tmp/tmpfile:1␤  in method new at /tmp/tmpfile:1␤  in metho…»
17:08 camelia ..rakudo-parrot 851811: OUTPUT«maximum recursion depth exceeded␤current instr.: 'print_exception' pc 140653 (src/gen/p-CORE.setting.pir:59790) (gen/parrot/CORE.setting:11508)␤called from Sub '' pc 20615 (src/gen/perl6-bootstrap.pir:6650) (gen/parrot/BOOTSTRAP.nqp:946)␤called fro…»
17:09 grondilu ??
17:09 timotimo that should be an easy fix, though, right?
17:09 timotimo just make panda try META6.json before META.info
17:09 FROGGS timotimo: yes
17:10 FROGGS also, that META6 has a slightly different/extended structure
17:10 timotimo oh
17:10 lizmat going to the Edge&
17:11 TimToady grondilu: why are you calling self.new rather than self.bless?
17:11 ssutch joined #perl6
17:12 grondilu TimToady: I've always done that.  I thought that was recommended practive
17:12 FROGGS because recursion is like.... recursion?
17:12 TimToady well, and stuff...
17:13 FROGGS I like stuff :o)
17:13 TimToady it's the stuff that makes the stack overflow
17:13 masak there's too much of it
17:14 grondilu I don't understand why that recurses, anyway.
17:14 TimToady .new is a virtual call
17:14 denis_boyun_ joined #perl6
17:14 TimToady so it will naturally call itself again
17:14 masak grondilu: it's a method 'new' with a call 'self.new'. it recurses...
17:15 masak grondilu: if it helps, think of it as a method 'foo' with a call 'self.foo'
17:15 grondilu well, I've been doing that many times on RC.  It used to work fine.
17:15 TimToady if you're trying to call the default constructor, that's not now
17:15 TimToady *how
17:15 masak grondilu: no, it didn't. you're imagining it having worked fine.
17:16 masak grondilu: or you're confusing positional parameters with named ones.
17:16 grondilu oh
17:16 * FROGGS .oO( no, it didn't. *jedimove* )
17:16 masak no need to jedimove. I'm not trying to trick grondilu, I'm trying to tell him about facts ;)
17:18 grondilu r: class Foo { has $.x; multi method new($) { self.new: :x<foo> } }; say my Foo $f .= new: "stuff";
17:18 camelia rakudo-{parrot,jvm,moar} 851811: OUTPUT«Foo.new(x => "foo")␤»
17:18 grondilu I see
17:18 TimToady yes, that one will work okay
17:18 grondilu r: class Foo { has $.x; multi method new($?) { self.new: :x<foo> } }; say my Foo $f .= new: "stuff";
17:18 FROGGS grondilu: every method has an implicit *%_
17:18 camelia rakudo-moar 851811: OUTPUT«(timeout)»
17:18 camelia ..rakudo-jvm 851811: OUTPUT«java.lang.StackOverflowError␤␤»
17:18 camelia ..rakudo-parrot 851811: OUTPUT«maximum recursion depth exceeded␤current instr.: 'print_exception' pc 140653 (src/gen/p-CORE.setting.pir:59790) (gen/parrot/CORE.setting:11508)␤called from Sub '' pc 20615 (src/gen/perl6-bootstrap.pir:6650) (gen/parrot/BOOTSTRAP.nqp:946)␤called fro…»
17:18 grondilu ok
17:18 grondilu so it won't work if my positional arg is optional
17:19 grondilu that explains the error I had and tried to golf here
17:19 TimToady what you want is nextwith, I tink
17:19 TimToady *h
17:19 colomon joined #perl6
17:19 PerlJam .oO( tinker! )
17:19 grondilu r: class Foo { has $.x; multi method new($?) { nextwith :x<foo> } }; say my Foo $f .= new: "stuff";
17:20 camelia rakudo-moar 851811: OUTPUT«Not enough positional parameters passed; got 1 but expected at least 2␤  in method new at src/gen/m-CORE.setting:851␤  in any call_with_args at src/gen/m-Metamodel.nqp:3005␤  in block  at src/gen/m-CORE.setting:646␤  in method new at /tmp/tmpfile:1…»
17:20 camelia ..rakudo-jvm 851811: OUTPUT«Not enough positional parameters passed; got 1 but expected at least 2␤  in method new at gen/jvm/CORE.setting:851␤  in any call_with_args at gen/jvm/Metamodel.nqp:2994␤  in block  at gen/jvm/CORE.setting:646␤  in method new at /tmp/tmpfile:1␤  in…»
17:20 camelia ..rakudo-parrot 851811: OUTPUT«Not enough positional parameters passed; got 1 but expected at least 2␤  in method new at gen/parrot/CORE.setting:847␤  in any call_with_args at gen/parrot/Metamodel.nqp:3080␤  in block  at gen/parrot/CORE.setting:647␤  in method new at /tmp/tmpf…»
17:20 TimToady probably have to pass self along
17:21 TimToady though that's arguable
17:21 FROGGS could also be paramuable depending on the viewpoint
17:22 grondilu self.nextwith does not work
17:22 grondilu I guess I should just use bless
17:22 TimToady m: class Foo { has $.x; multi method new($?) { nextwith self, :x<foo> } }; say my Foo $f .= new: "stuff";
17:22 camelia rakudo-moar 851811: OUTPUT«Default constructor for 'Foo' only takes named arguments␤  in method new at src/gen/m-CORE.setting:852␤  in any call_with_args at src/gen/m-Metamodel.nqp:3005␤  in block  at src/gen/m-CORE.setting:646␤  in method new at /tmp/i_EayEOcDj:1␤  in met…»
17:22 TimToady heh
17:23 TimToady I guess nextwith is doing self okay, but not the params
17:24 TimToady m: class Foo { has $.x; multi method new($?) { nextwith (:x<foo>) } }; say my Foo $f .= new: "stuff";
17:24 camelia rakudo-moar 851811: OUTPUT«Default constructor for 'Foo' only takes named arguments␤  in method new at src/gen/m-CORE.setting:852␤  in any call_with_args at src/gen/m-Metamodel.nqp:3005␤  in block  at src/gen/m-CORE.setting:646␤  in method new at /tmp/hM7BxV1QO7:1␤  in met…»
17:25 TimToady n: class Foo { has $.x; multi method new($?) { nextwith :x<foo> } }; say my Foo $f .= new: "stuff"
17:25 camelia niecza v24-109-g48a8de3: OUTPUT«Potential difficulties:â�¤  $f is declared but not used at /tmp/d35yLG9LzO line 1:â�¤------> [32m($?) { nextwith :x<foo> } }; say my Foo [33mâ��[31m$f .= new: "stuff"[0mâ�¤â�¤Unhandled exception: Illegal control operator: nextsame/nextwithâ�¤  at …»
17:26 cogno joined #perl6
17:27 TimToady n: class Foo { has $.x; method new($?) { nextwith :x<foo> } }; say my Foo $f .= new: "stuff"
17:27 camelia niecza v24-109-g48a8de3: OUTPUT«Potential difficulties:â�¤  $f is declared but not used at /tmp/G_CUfKaCqq line 1:â�¤------> [32m($?) { nextwith :x<foo> } }; say my Foo [33mâ��[31m$f .= new: "stuff"[0mâ�¤â�¤Foo.new(...)â�¤Â»
17:27 TimToady m: class Foo { has $.x; method new($?) { nextwith :x<foo> } }; say my Foo $f .= new: "stuff"
17:27 camelia rakudo-moar 851811: OUTPUT«Foo.new(x => "foo")␤»
17:27 TimToady don't declare it multi
17:27 TimToady m: class Foo { has $.x; multi method new($?) { lastcall; nextwith :x<foo> } }; say my Foo $f .= new: "stuff"
17:27 camelia rakudo-moar 851811: OUTPUT«(Foo)␤»
17:28 TimToady that oughta shut down the multi's next chain and pick the method dispatcher's next chain instead, but seems buggy
17:31 TimToady m: class Foo { has $.x; multi method new($?) { lastcall; nextwith :x<foo> }; multi method new($,$,$) {...} }; say my Foo $f .= new: "stuff"
17:31 camelia rakudo-moar 851811: OUTPUT«(Foo)␤»
17:32 TimToady lastcall seems to be overreaching and terminating all dispatchers, not just the multi
17:32 TimToady n: class Foo { has $.x; multi method new($?) { lastcall; nextwith :x<foo> }; multi method new($,$,$) {...} }; say my Foo $f .= new: "stuff"
17:33 camelia niecza v24-109-g48a8de3: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤â�¤Undeclared routine:â�¤    'lastcall' used at line 1â�¤â�¤Potential difficulties:â�¤  $f is declared but not used at /tmp/dWZTND2JOO line 1:â�¤------> [32mi method new($,$,$) {...} }; say my Foo [33mâ��[31m$f .= new:…»
17:33 TimToady I guess lastcall was fairly recent
17:34 TimToady m: class Foo { has $.x; proto method new(|) { {*}; say "HERE" }; multi method new($?) { lastcall; nextwith :x<foo> }; multi method new($,$,$) {...} }; say my Foo $f .= new: "stuff"
17:34 camelia rakudo-moar 851811: OUTPUT«HERE␤Type check failed in assignment to '$f'; expected 'Foo' but got 'Bool'␤  in method dispatch:<.=> at src/gen/m-CORE.setting:1225␤  in block  at /tmp/GiFIerUXyQ:1␤␤»
17:35 TimToady m: class Foo { has $.x; proto method new(|) { {*}; LEAVE say "HERE" }; multi method new($?) { lastcall; nextwith :x<foo> }; multi method new($,$,$) {...} }; say my Foo $f .= new: "stuff"
17:35 camelia rakudo-moar 851811: OUTPUT«HERE␤(Foo)␤»
17:36 TimToady not clear where the bug is
17:36 FROGGS TimToady: btw, are you considering implementing NFG?
17:37 TimToady well, and write a book, and write talks, and keep up with irc, and implement S09, and...
17:37 FROGGS I know *g*
17:39 FROGGS thing is... I'm not capable of doing it
17:39 FROGGS and everybody else is also more than busy :/
17:39 TimToady oh, and pmichaud's iterator refactor, and diakopter's P5 interop, while I'm at it...
17:40 FROGGS seriously, I have no hope that P5 interop will be a thing
17:42 guru joined #perl6
17:43 kurahaupo joined #perl6
17:43 anaeem1 joined #perl6
17:44 japhb diakopter is hors de combat?
17:45 bbkr joined #perl6
17:48 [Coke] japhb: ?
17:48 FROGGS I just guess that the negative reactions to the grant were the straw that broke the camel's back
17:48 [Coke] I was just thinking of asking what happened to him.
17:54 bbkr joined #perl6
17:55 masak FROGGS: negative reactions to the grant...?
17:56 FROGGS yes....?
17:57 japhb [Coke]: I was just asking if he was out of the fight for some reason.
17:58 masak FROGGS: what negative reactions are you referring to?
17:58 masak I must've missed those.
17:58 FROGGS masak: okay, it is perhaps just one guy here: http://news.perlfoundation.org/2013/07/hague-grant-application.html
17:58 FROGGS seems like I misremember
18:00 * japhb is just guessing that life intervened
18:02 bbkr joined #perl6
18:04 bbkr_ joined #perl6
18:05 TimToady the itch to start a startup occurred
18:06 btyler fwiw, the major negative voice in that grant thread seems to be a fairly dedicated p6 troll: http://www.reddit.com/user/carlosdelrey. doesn't seem to be worth worrying about too much
18:06 TimToady really has nothing to do with that
18:07 TimToady last I knew, diakopter++ was looking for potential subcontractors for the grant, but the list of people who can actually do the work is rather short
18:07 Pleiades` joined #perl6
18:08 TimToady it pretty much has to be someone who has already been driven insane by P5 internals
18:08 japhb The world needs more "Just come here and be awesome" job listings, so we can give full-time compensation to Perl 6 hackers.  :-)
18:09 japhb TimToady: Is Nicholas considered insane yet?
18:09 TimToady certainly, but I believe he's already turned down the gig :)
18:10 TimToady so perhaps he's recovering some of his sanity
18:10 Ulti yeah those reddit accounts that just spring up to take down Perl6... not sure they are more than the same person every time
18:10 Ulti not many people have a reason to care or spread FUD
18:11 TimToady most people are still in the ignoring or laughing stage...
18:11 Ulti or ignoring since they last tried Rakudo in 2011 :(
18:12 * japhb wonders where "you pique their interest" falls in the classic stages
18:12 japhb Perhaps right before "you win"
18:13 TimToady well, you don't really get to "you win" until it becomes a "well, duh, that's a nobrainer, even my boss knows that..."
18:13 btyler chatted with a new dev at $work (PHP/python shop) who did perl at a previous gig. I mentioned the 5.20 release and he said "yeah, it's cool, but mostly I'm really looking forward to p6".
18:14 TimToady it's that little crossing-the-chasm thing
18:14 japhb TimToady: Simple, nothing to it.  Just walk on air.
18:14 FROGGS ahh good
18:14 FROGGS diakopter++ # startup
18:14 tadzik at my place I sometimes hear "so this is what we're using, I'll rather write that in P6 though" :)
18:14 TimToady japhb: unfortunately, all my job reviews have been "walks on water, needs to learn to walk on air"
18:15 PerlJam btyler: did you tell him to try rakudo? :)
18:15 btyler PerlJam: I mentioned that you could already use it, and then we had to get to real work :) I'll probably bring it up again soonish though
18:16 virtualsue joined #perl6
18:17 PerlJam btyler: I have a project at work to turn some fortran code into java and I *almost* used rakudo to do it.  If I didn't have the requirement to give the code to a third party, I would have.
18:18 TimToady what's the matter with giving Perl 6 to a third party? :P
18:18 [particle] joined #perl6
18:20 PerlJam maybe next time :)
18:20 itz joined #perl6
18:28 [Coke] (insane, p5) so, nwc10++, then.
18:29 dalek perl6-roast-data: 73cb201 | coke++ | / (6 files):
18:29 dalek perl6-roast-data: today (automated commit)
18:29 dalek perl6-roast-data: review: https://github.com/coke/perl6-roast-data/commit/73cb201e44
18:44 xenoterracide joined #perl6
18:49 xenoterracide_ joined #perl6
18:55 rjbs TimToady: Is MAD still something you folks plan to make use of?
18:55 dalek rakudo/eleven: 0b02810 | (Elizabeth Mattijsen)++ | src/core/Supply.pm:
18:55 dalek rakudo/eleven: Fix copy-pasto, spotted by japhb++
18:55 dalek rakudo/eleven: review: https://github.com/rakudo/rakudo/commit/0b02810595
18:55 dalek rakudo/eleven: c7a6fd0 | (Tobias Leich)++ | src/core/Supply.pm:
18:55 dalek rakudo/eleven: Merge branch 'nom' of github.com:rakudo/rakudo into eleven
18:55 dalek rakudo/eleven: review: https://github.com/rakudo/rakudo/commit/c7a6fd0338
18:56 [Coke] rjbs: I assume you don't mean the dark side.
18:56 rjbs I don't understand.
18:57 [Coke] rjbs: what is MAD?
18:57 rjbs MAD is misc. attribute decoration, a build option that was added to perl5 for a hypothetical 5-to-6 translations ystem.
18:57 rjbs translation system
18:58 xenoterracide_ joined #perl6
18:59 TimToady well, we actually did use it for that a few years ago, when someone did a GSoC translator (written in Haskell, though)
19:00 TimToady but it has bit-rotted and design-rotted since then
19:00 Sqirrel joined #perl6
19:01 [Coke] do froggs or diakopter's work depend on it existing?
19:01 TimToady it's still the "right" way to do a translation, since it untangles all the lies that P5 tells itself as it's parsing
19:01 TimToady but I don't see a champion for it champing at the bit
19:01 rjbs I did not realize there had been a GSoC translator!
19:01 FROGGS [Coke]: no, don't think so
19:01 TimToady lizmat: I don't think .e should return failure, since the whole point is to test for existence
19:02 rjbs Porters have asked from time to time about whether MAD can be removed, and left in a branch to be restored if someone needs it.  Although perl5 still builds with MAD, it is, as you say, pretty behind the times.
19:03 TimToady it's also not clear the performance ramifications of testing junctions of potential failures
19:04 TimToady arguably, since junctions always reduce in boolean context, we should just throw away the failures and install False, which sort of subverts the failure model
19:04 [Coke] rjbs: is it at least marked experimental?
19:05 * TimToady can see where attempting to track P5 insanity with MAD insanity is not something people will willingly continue to maintain :)
19:06 TimToady and the languages have diverged sufficiently that pretty much all translators are going to fall into the "toy" category, so I have no objectsions to removing it, I guess
19:06 TimToady *tions
19:07 * TimToady thinks the P5 interop is much more important from a practical perspective of allowing migration of large codebases
19:08 TimToady despite having a linguistic fondness for translators
19:09 moritz TimToady: how fond are you of doing file tests with ~~ :e etc?
19:09 TimToady I'm quite fond of being able to use junctions of those
19:09 [Coke] (exp) so if you do rip it out, no support issues.
19:09 TimToady which methods don't allow
19:09 moritz TimToady: well, you can do that with  .r & .w
19:09 rjbs [Coke]: It's only available with a ./Configure-time switch that almost nobody knows about.
19:10 rjbs TimToady: I like translators, too, but if this won't actually lead to one, I'll take lower maintenance costs. :)
19:10 rjbs TimToady: I'll wait a little bit in case of change of heart before I give anybody the go-ahead. ;)
19:12 PerlJam .oO( later ...  <rjbs> I'm thinking about the 5.24 release and people keep asking if we need to support MAD  )
19:12 TimToady moritz: the .r form is defective insofar as it only works with a current lexical scope, so *.r is the better form to promulgate since it works with grep, but that is also probably more overhead than pair matching
19:12 moritz TimToady: $thing.io ~~ .r & .w
19:12 rurban_ Very nice. We can finally get rid of -Dmad=y madness
19:13 moritz TimToady: the ~~ provides the scoping, just as with ~~ :r & :w
19:13 TimToady moritz: I'm saying that teaching people that will lead them to expect grep .r, @list to work
19:14 masak <japhb> The world needs more "Just come here and be awesome" job listings, so we can give full-time compensation to Perl 6 hackers.  :-)
19:15 masak ...we're hiring ;)
19:15 xenoterracide__ joined #perl6
19:15 moritz TimToady: hm, good point
19:25 xusia joined #perl6
19:30 zakharyas joined #perl6
19:35 bjz joined #perl6
19:42 itz Invalid open mode: 92269408
19:42 itz in method postcircumfix:<( )> at /home/steve/sandbox/p6-Inline-C/.work/1401392255_1/lib/Inline/C.pm:26
19:42 itz in block  at t/c.t:18
19:43 dwarring joined #perl6
19:45 kivutar joined #perl6
19:48 cooper joined #perl6
19:48 cooper joined #perl6
19:51 * lizmat is back from the Edge
19:52 lizmat TimToady: .e is the only one that doesn't return :q
19:52 lizmat oops, failure  :-)
19:54 FROGGS lizmat: if it is fine for you I'd merge eleven (squishing it with a nice commit msg)
19:55 lizmat m: "foobar".IO.e.say'
19:55 camelia rakudo-moar 851811: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/uxboWPoceWâ�¤Two terms in a rowâ�¤at /tmp/uxboWPoceW:1â�¤------> [32m"foobar".IO.e.say[33mâ��[31m'[0mâ�¤    expecting any of:â�¤        method argumentsâ�¤        postfixâ�¤        infix stopper…»
19:55 lizmat m: "foobar".IO.e.say
19:55 camelia rakudo-moar 851811: OUTPUT«False␤»
19:55 lizmat m: "foobar".IO.z.say
19:55 camelia rakudo-moar 851811: OUTPUT«===SORRY!===␤Failed to find 'foobar' while trying to do '.z'␤»
19:59 FROGGS itz: that seems like Inline::C is trying to do nqp::open(..., 'wp') which only seems to work on parrot
19:59 FROGGS itz: we need to use openpipe on moar and jvm I think
19:59 itz ah
20:00 FROGGS itz: that Inline::C uses nqp ops at that place was a workaround... maybe we can even now use Perl 6's open() sub
20:02 denis_boyun joined #perl6
20:03 FROGGS ahh, yeah: https://github.com/FROGGS/p6-Inline-C/commit/9113eb2d88c297c1283fc9848ac3020d67afa223
20:07 dalek Heuristic branch merge: pushed 49 commits to rakudo/nom by lizmat
20:07 itz hmm it still thinks gcc is in the cwd
20:09 FROGGS itz: :/
20:17 erdic joined #perl6
20:30 lizmat m: use Test:auth<FooBar>; ok 1 # just checking
20:30 camelia rakudo-moar 851811: OUTPUT«ok 1 - ␤»
20:32 colomon lizmat: 49 commits?!
20:32 vendethiel colomon: branch merge!
20:33 colomon what branch?
20:33 FROGGS eleven
20:33 colomon it's live now?
20:33 FROGGS yes
20:33 vendethiel yay :-)
20:34 colomon \o/
20:34 colomon lizmat++ FROGGS++
20:34 FROGGS though it needs panda adjustments (branch merge) to make use of the new features
20:34 dalek rakudo/nom: 90cd584 | (Elizabeth Mattijsen)++ | docs/ChangeLog:
20:34 dalek rakudo/nom: Mention S11 landing
20:34 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/90cd58447e
20:35 * lizmat is too inebriated now to really start writing more tests
20:35 denis_boyun_ joined #perl6
20:36 lizmat (they ran out of Baileys at the cinema, we got 1.5 as much Johnny Walker instead)
20:37 FROGGS damn, the CPAN P6 indexer is not running and I don't see why :(
20:37 colomon wait, does this mean you two are doing your best to make me a CPAN author?
20:38 FROGGS colomon: you are not already O.o ?
20:38 masak me neither.
20:38 colomon not to the best of my knowledge
20:38 masak well, I'm on PAUSE, but I don't have a CPAN module up there.
20:38 * masak really should
20:39 FROGGS masak: your first one could be a P6 one if you wait a little bit longer :o)
20:39 lizmat colomon: yes, that would be the idea
20:39 lizmat :-)
20:39 masak FROGGS: good to know :)
20:39 colomon :)
20:39 masak yes, we should move from modules.perl6.org to CPAN.
20:40 FROGGS it is meant to work already, but I don't see why it does not
20:40 FROGGS masak: note that there is no website yet to search for things uploaded via PAUSE
20:40 colomon FROGGS: pre-p6, my open source contributions were few and far between, and pretty random.  I think probably most of them were to an old ABC program that wouldn't do all I needed it to.  ;)
20:41 FROGGS we just use PAUSE/CPAN for uploads, storage and indexing (and fetching of course)
20:41 lizmat there's S22 that needs scrutiny and implementation
20:41 lizmat after this
20:44 lizmat S22:01  for those people who want to read that  :-)
20:44 synopsebot Link: http://perlcabal.org/syn/S22.html#line_01
20:45 kivutar joined #perl6
20:46 denis_boyun_ joined #perl6
20:47 zakharyas1 joined #perl6
20:48 lue It's really weird to see the P6 version string called "perl" instead of "perl6" :)
20:48 lizmat lue: and how did you get that version string?
20:48 prevost joined #perl6
20:48 FROGGS lue: this makes it easier, because for Perl 5 it is also called 'perl'
20:49 FROGGS so that attribute is not absent
20:49 vendethiel .oO( don't get a burn out of open source contributions )
20:49 lue I'm looking at META6.json, so I'm not sure P5-compatibility is much of an issue there :P
20:50 lue I'm fine with it, it's only weird because I don't think of this as "Perl, version 6", but as "Perl 6, v6.0.0". Kinda like OS X, actually.
20:50 colomon FROGGS: but I got frustrated waiting for the awesome of p6, and thereby sucked into being a contributor.  :)
20:51 lue So seeing anything refer to Perl 6 as "perl" feels wrong, but that's just me. :)
20:52 FROGGS colomon: but it is there now, and fast enough to enjoy it :o)
20:52 FROGGS lue: on cpan you get a Distribution-Name-v123.meta in the author's directory
20:52 vendethiel lue: just wait 20years !
20:52 FROGGS lue: and this one can be queried to distinguish P5 and P6
20:53 vendethiel .oO( oh, I thought in 15 years people would refer to perl as "scala" ... )
20:53 colomon FROGGS: and I am!  my default ABC program is the stuff in the ABC module, my default MP3 tag examiner / editor is based on Audio::Taglib::Simple, etc.
20:53 lue FROGGS: I still don't see how that relates to the very Perl 6 META6.json
20:54 vendethiel m: use self
20:54 camelia rakudo-moar 851811: OUTPUT«===SORRY!===␤Could not find self in any of: /home/p6eval/.perl6/2014.05-25-g8518112/lib, /home/p6eval/rakudo-inst-1/languages/perl6/site/lib, /home/p6eval/rakudo-inst-1/languages/perl6/vendor/lib, /home/p6eval/rakudo-inst-1/languages/perl6/lib␤»
20:54 vendethiel m: import this #let's try this then :-)
20:54 camelia rakudo-moar 851811: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/vFhIAUXEsUâ�¤Could not find module this to import symbols fromâ�¤at /tmp/vFhIAUXEsU:1â�¤------> [32mimport this #let's try this then :-)[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        stat…»
20:55 FROGGS lue: that META6.json is extracted from the tarball and is put into your authors directory under the name I mentioned
20:55 lue But again, I'm not upset over it, just commenting on the fact that I find it suuuper-weird to call Perl 6 "Perl", without the 6 :)
20:55 FROGGS so you have a bunch of tarballs in you diretory, and a bunch of *.meta
20:55 lue Ah, I see.
20:56 FROGGS and to know whether it makes sense to download the tarball the installer tool can slurp the *.meta
20:56 FROGGS (the installer tool can also be a website, that wants to display information of the dist)
20:58 colomon FROGGS: … my TuneReminder software to help me figure out what music to practice ...
20:58 FROGGS colomon: is that released already?
20:58 * lizmat is fading and goes to bed&
20:59 lue ♞ lizmat o/
20:59 colomon FROGGS: It's up on github but not in the ecosystem, because it's very specialized.
20:59 segomos jnthn: your talks are great dude
20:59 FROGGS gnight lizmat
20:59 colomon lizmat, o/
20:59 colomon FROGGS: https://github.com/colomon/TuneReminder
20:59 FROGGS colomon: I have no music talent, so no hurry from my side :o)
21:00 lue .oO( "perl" : "v6.0.0",\n"perl6" : "v6.0.0" )
21:00 colomon FROGGS: I feel weird about the idea of adding special-purpose, intended mostly for myself stuff to the ecosystem
21:01 FROGGS colomon: you never know what grows out of that when ppl see it and fork+improve it (or just request features)
21:01 colomon FROGGS: maybe I need to create a colomon:: namespace.  ;)
21:02 FROGGS hehe
21:07 muraiki colomon: that's a cool piece of software you've made. it's nice to see practical software written in perl 6. I'll have to give it a try
21:09 colomon muraiki: thanks.  I did a blog post on it earlier this month: http://justrakudoit.wordpress.com/2014/05/05/tune-reminder/
21:10 muraiki nice
21:10 colomon muraiki: it's really dead simple at the moment, but I'm using it almost every day.  (Have a copy running right now, as a matter of fact.  My son is happy playing with his Legos at the moment, so I'm sneaking in a little practice.)
21:11 muraiki what instrument(s) do you play?
21:12 colomon muraiki: I'm using this to practice on whistle and simple system (keyless) flute.
21:12 colomon muraiki: I play bassoon too, and a bit of button accordion and piano.
21:12 muraiki nice. I learned a few ITM songs on whistle. unfortunately I have a problem with my neck so I can't play transverse flutes, so I play shakuhachi instead.
21:13 muraiki bassoon, nice! I play tenor sax as my "lots of buttons" instrument
21:15 colomon muraiki: If I were going to learn a sax, I think it would be tenor.  I used to dream about someday getting a C tenor, just because...
21:17 muraiki ah yeah, the C melody saxes are neat, but I like the tone of the Bb tenor. I started off on alto, but eventually found it too high for my tastes.
21:17 muraiki oh wait, do they make C tenors?
21:18 colomon muraiki: yeah, I've got a bunch of ITM tunes, but with the Newfoundland trip coming up this summer I'm focusing on those.  Especially since I've only managed to get in maybe an hour a year (average) of sessioning with Newfoundland musicians since our last trip in 2006, being ready to play is taking some work.  :)
21:18 colomon muraiki: I think whoever told me about C melody sax called it a tenor.
21:18 colomon http://en.wikipedia.org/wiki/C_melody_saxophone # wikipedia agrees.  :)
21:20 muraiki heh, where I live there's not really any sessions going on. there is one guy who teaches uilleann pipes though, and I'd really like to get one of those... if only they weren't so expensive -- and loud, as I live in an apartment
21:24 colomon We have weekly (mostly ITM and shanty) sessions the next town over, and every other week sessions here in Midland.
21:26 colomon muraiki: http://www.bensonandcorneliuspipes.com/home -- Steph is a very good friend.  Still awfully expensive, though, even for a starter set.
21:29 muraiki wow, those sound great
21:29 hoverboard joined #perl6
21:30 colomon muraiki: they're very serious about making them, and Steph is applying her mechnical engineering know-how to the process.  :)
21:33 colomon afk # got to play Clue Jr. before dinner.
21:34 muraiki haha, have fun :) now I have to save up my pennies for a few decades
21:38 bjz_ joined #perl6
21:47 bluescreen100 joined #perl6
22:22 timotimo i've got too many instruments and am capable of playing far too few
22:22 timotimo and now i'm also interested in getting another >_<
22:24 * jnthn has none, but if he was gonna get one right now, he'd want a hang. :)
22:24 yoleaux 15:08Z <FROGGS> jnthn: does that seem sensible? https://gist.github.com/FROGGS/100079bd927d239e8ab2 I need it for binding to $*MAIN
22:25 jnthn .tell FROGGS It looks weird. Not least becuase you've got a QAST::VarWithFallback - and dn't actually specify a fallback!
22:25 yoleaux jnthn: I'll pass your message to FROGGS.
22:25 jnthn .tell FROGGS I guess the fallback should be to complain about the dynvar not existing...
22:25 yoleaux jnthn: I'll pass your message to FROGGS.
22:27 timotimo jnthn: these are beautiful
22:33 rurban joined #perl6
22:41 cognominal joined #perl6
22:45 vike joined #perl6
22:45 skids joined #perl6
22:48 cognominal joined #perl6
23:36 rurban joined #perl6
23:41 rurban joined #perl6
23:43 SevenWolf joined #perl6
23:48 jack_rabbit joined #perl6

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

Perl 6 | Reference Documentation | Rakudo