Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2016-10-23

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:18 seatek Oo that's a strange error: Cannot find method 'nominalize' on object of type Perl6::Metamodel::ModuleHOW
00:18 seatek personally, i've not tried to 'nominalize' anything!
00:19 timotimo you can check the code for other HOWs to see what nominalize usually does
00:19 * timotimo is going to bed now
00:20 seatek i sure can -- this popped up using DBIish and submethod BUILDs ;)
00:29 pierre_ joined #perl6
00:51 flexibeast joined #perl6
01:08 labster joined #perl6
01:21 cyphase joined #perl6
01:25 shin_ joined #perl6
01:38 mcmillhj joined #perl6
01:40 wbill joined #perl6
01:47 ilbot3 joined #perl6
01:47 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
01:48 * iBakeCake gets back to work
01:53 aborazmeh joined #perl6
01:53 aborazmeh joined #perl6
01:56 iBakeCake What's your trick? Null byte? I don't see anything
01:56 AlexDaniel iBakeCake: https://irclog.perlgeek.de/perl6/2016-10-23#i_13449834
01:56 AlexDaniel :P
01:56 AlexDaniel it's magic
01:56 * iBakeCake phones the ministry of Peace
01:57 AlexDaniel mmm
01:58 AlexDaniel m: say 1.chr
01:58 AlexDaniel that
01:58 * geekosaur glad for his script to render random control chars visible :)
01:58 AlexDaniel though perhaps any other ascii shit will work
01:58 snowman_ joined #perl6
01:59 geekosaur (it's a gray ␁ at the end of the line for me)
01:59 AlexDaniel geekosaur: colored ^A in emacs. Though I'd much rather see ␁
01:59 committable6 AlexDaniel, ¦«say»: Cannot find this revision
01:59 committable6 AlexDaniel, ¦«HEAD»: ␁
02:00 benchable6 AlexDaniel, ¦«say»:Cannot find this revision
02:00 evalable6 AlexDaniel, rakudo-moar 8d357af: OUTPUT«␁»
02:00 geekosaur oops :)
02:00 AlexDaniel since when the distance between these two nicks became different
02:00 iBakeCake .u ␁
02:00 yoleaux U+2401 SYMBOL FOR START OF HEADING [So] (␁)
02:01 geekosaur so I have a script for hexchat that recognizes control characters that are not valid mirc controls and adds U+2400 to them, then wraps in mirc color to de-highlight them
02:02 geekosaur very useful in here because it also splits on embedded newlines output from the bots
02:02 AlexDaniel m: say ‘’ for ^1000
02:02 camelia rakudo-moar 127b3b: OUTPUT«␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤␤…»
02:03 geekosaur true, it does have that failure mode :p
02:03 geekosaur it's rare enough that I don't generally care
02:04 AlexDaniel geekosaur: it feels like I already did that a year ago
02:04 geekosaur it actually started out as a script to remap the ANSI escapes rakudo used to spit out
02:07 AlexDaniel MasterDuke: ↑ that looked like a bug in your Sift4 module
02:08 AlexDaniel the distance between evalable6 and benchable6 cannot be ≤ 2… are you kidding me :)
02:09 AlexDaniel geekosaur: I cannot find it in the logs, but I think that you were mentioning this script a year (or so) ago
02:09 AlexDaniel and my reaction back then was… m: say ‘’ for ^1000 ;)
02:10 geekosaur don't recall that, but who knows
02:10 geekosaur but several of us have mentioned scripts of this ilk
02:15 benchable6 joined #perl6
02:21 pierre_ joined #perl6
02:41 Jesmaybe_ joined #perl6
02:47 cibs joined #perl6
02:50 skids joined #perl6
02:51 labster joined #perl6
02:52 pierre_ joined #perl6
02:53 noganex joined #perl6
02:54 KevinYang joined #perl6
02:56 geekosaur joined #perl6
03:01 KevinYang left #perl6
03:42 pecastro_ joined #perl6
03:53 kaare__ joined #perl6
04:07 pierre_ joined #perl6
04:17 sufrostico joined #perl6
04:35 Cabanossi joined #perl6
04:42 hankache joined #perl6
04:44 xinming_ joined #perl6
04:52 cyphase joined #perl6
05:02 quester joined #perl6
05:08 bjz joined #perl6
05:09 pecastro_ joined #perl6
05:37 bjz joined #perl6
05:56 bjz joined #perl6
06:12 yqt joined #perl6
06:13 bjz joined #perl6
06:14 TEttinger left #perl6
06:36 wamba joined #perl6
06:38 Dunearhp joined #perl6
06:55 sjoshi joined #perl6
07:02 CIAvash joined #perl6
07:13 andrzejku joined #perl6
07:14 chris2 joined #perl6
07:26 pierre_ joined #perl6
07:32 stmuk_ http://pl6anet.org/drop/rakudo-star-2016.10.dmg
07:33 stmuk_ if anyone is able to sanity check
07:33 psch to what extends?
07:33 psch like, 'make test' or..?
07:34 stmuk_ maybe just trying a simple script and module install
07:38 cyphase joined #perl6
07:38 psch uh, i have way too little experience with macos :S
07:39 andrzejku hey guys
07:39 psch i mean, do i mount the .dmg and then copy the contents somewhere or..?
07:39 psch 'cause "Drag it into the Applications folder" didn't do anything useful, afaict
07:40 stmuk_ drag does copy
07:40 rindolf joined #perl6
07:41 stmuk_ that should create /Applications/Rakudo
07:41 andrzejku when what is PAUSE?
07:41 stmuk_ and then set the PATH
07:41 andrzejku I got something like connect profile to PAUSE on meta cpan
07:42 stmuk_ andrzejku: PAUSE is perl 5 not perl 6
07:42 andrzejku ohh
07:42 psch ohh, right, i dragged the wrong thing, stmuk_++
07:43 andrzejku ohh
07:43 andrzejku ;D
07:44 psch well, a simple script calling &say works, but it doesn't look like R* to me, from the lack of modules
07:45 stmuk_ which module is missing?
07:46 psch there doesn't seem to be any modules in /Applications/Rakudo after dragging that folder from the .dmg into Applications
07:46 psch as in, neither any .pm nor .pm6 file
07:47 psch and in the dmg itself there's only Rakudo, docs and README.txt
07:47 psch oh
07:48 psch but we're precompiling and not necessarily with raw source files
07:48 stmuk_ there are precomp versions
07:48 stmuk_ yes
07:48 psch +deployingt
07:48 psch -t
07:48 psch should panda or zef be in there?
07:48 stmuk_ panda is shipped
07:49 stmuk_ /Applications/Rakudo/share/perl6/site/bin
07:49 nadim joined #perl6
07:50 psch yeah, found it
07:50 psch i'm running a panda install with a few dependencies right now
07:54 kurahaupo joined #perl6
07:56 psch stmuk_: looks fine from here
07:56 stmuk_ psch: thanks for your help!
07:57 stmuk_ oh which version of OS X was that?
07:57 psch uh 10.12 i think?
07:57 psch how do i check that?
07:58 psch ah, found that
07:58 psch it is 10.12, i.e. Sierra
08:06 Actualeyes joined #perl6
08:24 firstdayonthejob joined #perl6
08:29 quester left #perl6
08:29 RabidGravy joined #perl6
08:30 firstdayonthejob joined #perl6
09:05 RabidGravy boom!
09:17 hankache joined #perl6
09:29 darutoko joined #perl6
09:31 canopus joined #perl6
09:32 dalek ecosystem: 174a741 | RabidGravy++ | META.list:
09:32 dalek ecosystem: Rename meta file for LibraryCheck
09:32 dalek ecosystem: review: https://github.com/perl6/ecosystem/commit/174a7416af
09:38 vendethiel- joined #perl6
09:40 espadrine joined #perl6
09:54 RabidGravy I don't suppose anyone has something like URI::Fetch down the back of the sofa?  That is something that does "I don't care how but get me the content of this URI" by trying all available methods
10:01 lizmat no, haven't got that, but maybe a slurp(URI:D) candidate would be a better interface ?  and/or a .URI method turning a string into an URI object, simular to .IO ?
10:12 grondilu Have you considered qx ?
10:12 grondilu qqx{wget $uri} or something?
10:12 grondilu I mean, Perl 6 is a scripting programming language after all
10:13 lizmat lynx --dump  :-)
10:14 grondilu I suppose curl is the most standard tool for that
10:18 grondilu unit module URI::Fetch; our sub fetch(Str $uri) is export { qqx{curl -o - -q $uri} }
10:18 psch great, 2/3 platforms covered :)
10:18 grondilu meh
10:20 grondilu anytime you use qx, you can't expect it to be portable.  Yet qx has not been removed form the language, so I guess portability is not a dogma
10:21 psch i'm just saying 'That is something that does "I don't care how but get me the content of this URI" by trying all available methods' sounds like it wants to pay attention to portability
10:22 grondilu I disagree, it seems to me he just wants convenience.
10:23 psch fair enough :)
10:23 grondilu on second thought you might be right
10:28 * stmuk_ plays relaxing music while attempting a windows build
10:28 hankache joined #perl6
10:28 stmuk_ dir
10:28 stmuk_ oops
10:32 FROGGS joined #perl6
10:32 FROGGS o/
10:43 RabidGravy grondilu, er that wasn't quite what I had in mind, no
10:44 RabidGravy I want "get this file no matter what using the best thing that is installed" - so HTTP::UserAgent, LWP::Simple, curl, wget, lynx --dump etc etc
10:44 RabidGravy the first one that works
10:46 RabidGravy this is for something that only *may* need to get the file if some other requirement isn't met
10:50 wamba joined #perl6
10:50 bjz joined #perl6
10:53 pierre_ joined #perl6
10:59 RabidGravy what would be cool would be a pluggable like thing that can get all the modules that do some role, I think however that would require some CompUnit support
11:00 timotimo yeah, if you don't extract these roles somewhere, you'd have to deserialize all the blobs in order to find out what's what
11:26 RabidGravy I suppose you could have some 'implements' or so in the META6
11:27 RabidGravy but it would still require the Distribution object to know about that
11:35 Ven joined #perl6
11:36 RabidGravy anyway that other thing I won't call URI::Fetch as the P5 thing of the same name does something different that what I intend
11:39 flexibeast joined #perl6
11:43 RabidGravy is anyone in a position to activate the https://travis-ci.org/perl6/perl6-lwp-simple - I'm not able to do it
11:44 timotimo i clicked the button
11:44 timotimo it says i activated it, but i wouldn't trust travis when it says stuff like that
11:46 Ven joined #perl6
11:48 geekosaur <Grunt> Travis can't be bargained with. Travis can't be reasoned with. Travis doesn't feel pity, or remorse, or fear. And Travis absolutely will not stop, ever, until your project is dead.
11:51 Actualeyes joined #perl6
11:56 RabidGravy yep that seems to have worked
11:57 RabidGravy well it may yet fail but it started the build
12:00 timotimo cool
12:01 RabidGravy it was annoying me that it was saying "unknown" on the modules page
12:03 Ven_ joined #perl6
12:03 timotimo right :)
12:03 timotimo thanks for your dilligence
12:10 pierre_ joined #perl6
12:14 RabidGravy Eek! one of my in-progress modules is segfaulting
12:14 RabidGravy which is, er, special as it's straight up Perl with no NC
12:14 timotimo does it have multithreading?
12:15 timotimo concurrent writing accesses to arrays and hashes can still go boom (in the future they will just cause undefined data results)
12:15 RabidGravy nope
12:15 Ven joined #perl6
12:15 timotimo yeah, please report :)
12:16 timotimo if possible, disable the JIT, then all of SPESH
12:16 timotimo and SPESH_INLINE and/or SPESH_OSR in the middle
12:16 RabidGravy 0x00007ffff79113e7 in gc_mark ()
12:16 RabidGravy from //home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so
12:16 RabidGravy Missing separate debuginfos, use: dnf debuginfo-install glibc-2.23.1-10.fc24.x86_64
12:17 aborazmeh joined #perl6
12:17 aborazmeh joined #perl6
12:18 timotimo ah, please re-compile your moarvm with --debug=3 in moar's Configure.pl so that we can get filenames and line numbers
12:18 timotimo (because gc_mark is a function that every single REPR implements)
12:19 AlexDaniel joined #perl6
12:32 bjz joined #perl6
12:47 Ven joined #perl6
12:49 pecastro_ joined #perl6
12:56 pecastro joined #perl6
12:59 RabidGravy there that's a bit more, er, verbose
13:01 Ven joined #perl6
13:02 RabidGravy #0  0x00007ffff7911487 in gc_mark (tc=0x6037d0, st=<optimized out>,
13:02 RabidGravy data=<optimized out>, worklist=0x6511d40) at src/6model/reprs/MVMCallCapture.c:55
13:02 RabidGravy I'll stick the whole thing in an RT
13:05 RabidGravy oh, no I won't
13:05 RabidGravy where's the "new" button gone
13:10 timotimo "new"?
13:12 RabidGravy like I'm looking at the rt now and there isn't a button to create a new ticket anymore
13:13 timotimo ah, yes
13:13 timotimo it was disabled because rt was being spammed
13:14 RabidGravy well it's one way of reducing the number of tickets I guess ;-)
13:14 RabidGravy what's the e-mail address?  rakudo-bugs@perl.org or something
13:17 Ven_ joined #perl6
13:20 timotimo rakudobug@perl.org
13:30 RabidGravy yeah, just found it
13:30 pecastro joined #perl6
13:41 grondilu where is postfix:<²> defined in the core?  I don't find it.
13:42 * grondilu finds it in the grammar
13:45 grondilu m: class A does Numeric {}; multi infix:<**>(A $, 2) { 7 }; say A.new² # not sure why this hangs
13:45 camelia rakudo-moar 127b3b: OUTPUT«Memory allocation failed; could not allocate 131072 bytes␤»
13:45 timotimo it probably keeps calling .Numeric over and over?
13:45 grondilu on my machines it does not do that, it just hangs
13:46 timotimo oh, i see what you mean
13:46 timotimo it seems to already asplode just parsing it ?? o_O
13:46 grondilu m: class A does Numeric {}; multi infix:<**>(A $, 2) { 7 };
13:46 camelia rakudo-moar 127b3b: ( no output )
13:46 timotimo ah, hehe, no. my moar is just shot at the moment
13:47 timotimo can you look what --target=ast and --target=optimize say about the code it tries to run?
13:47 timotimo i.e. does it go through some method or sub that doesn't see your own multi sub thing?
13:50 zakharyas joined #perl6
13:50 Ven joined #perl6
13:50 * grondilu doesn't understand ASTs
13:50 timotimo then please gist it for me :)
13:51 grondilu http://paste.debian.net/888963/
13:53 timotimo look near the end
13:53 timotimo it's calling a sub postfix:<ⁿ>
13:54 timotimo s: &postfix:<ⁿ>, \(Numeric)
13:54 SourceBaby timotimo, Something's wrong: ␤ERR: Could not find candidate that can do \(Numeric)␤  in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 37␤  in block <unit> at -e line 6␤␤
13:54 timotimo s: &postfix:<ⁿ>, \(Any)
13:54 SourceBaby timotimo, Something's wrong: ␤ERR: Could not find candidate that can do \(Any)␤  in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 37␤  in block <unit> at -e line 6␤␤
13:54 timotimo m: say &postfix:<ⁿ>.line
13:54 camelia rakudo-moar 127b3b: OUTPUT«9689␤»
13:55 timotimo it's in Numeric.pm
13:59 grondilu yeah
13:59 grondilu it's supposed to fall back to a ** b
13:59 grondilu that is to infix:<**>
14:00 grondilu so shouldn't it use my multi?
14:00 timotimo no
14:00 timotimo it's not a fallback, it's a call
14:01 timotimo multis are lexical, the postfix:<^n> sub doesn't have your ** candidate in its lexical scope
14:02 grondilu :/
14:02 timotimo a known problem with operators and such
14:04 grondilu what is it trying to do then?
14:04 grondilu m: class A does Numeric {}; say A.new²
14:04 camelia rakudo-moar 127b3b: OUTPUT«Memory allocation failed; could not allocate 60336 bytes␤»
14:04 grondilu well that's dumb
14:05 grondilu would it help to have a stub candidate in Numeric?
14:05 grondilu multi infix:<**>(Numeric $, Numeric $) {...}
14:06 grondilu so that we'd have the equivalent of a virtual function or something?
14:07 grondilu though frankly I thought that was what protos do.
14:07 timotimo ?
14:07 timotimo no, when you define a multi candidate, the scope of the candidate is also lexical
14:08 grondilu kj
14:08 grondilu ^scrap that
14:08 timotimo when you have something that "does Numeric", things will try to call .Numeric on it
14:08 timotimo .Numeric will return self in its default implementation
14:08 timotimo infix:<**> will call a.Numeric ** b.Numeric
14:09 grondilu :/
14:09 grondilu I thought it was doing that only in last resort
14:09 grondilu that is when no &infix:<**> was defined.
14:10 timotimo if no better candidate is in the lexical scope where the call happens, that is what happens
14:11 timotimo at some point an idea was to have all manner of subs and functions import operators they use from the caller's lexical scope
14:11 timotimo we don't have an implementation of that yet, though
14:11 grondilu now that I think about it, I remember stumbling upon a similar issue.
14:11 timotimo yeah
14:11 grondilu I solved it by implementing all operators with a method form.
14:12 timotimo it's stumblable
14:12 grondilu like multi method power(A: UInt $) {...}
14:12 grondilu and then multi infix:<**>(A $a, $n) { $a.power($n) }
14:13 grondilu if we did that with Numeric, we could define:
14:13 grondilu m: multi infix:<**>(Numeric $x, UInt $n) { $x.power($n) }
14:13 camelia rakudo-moar 127b3b: ( no output )
14:13 grondilu so that we could properly extend Numeric by defining a power method.
14:15 grondilu today I was trying to square a vector with my Clifford module, wrote $v² and got an error, even though $v**2 works fine.  Thought that was very much LTA.
14:16 grondilu basically it seems to me that when implementing the Numeric role, it is often necessary to re-invent the wheel, which kinds of defeat the purpose of implementing a role :/
14:17 grondilu *kind of defeats
14:19 grondilu that makes me wonder:  is there a method-like way to call an infix operator?
14:19 moritz m: say 1.&infix:<+>(2)
14:19 camelia rakudo-moar 127b3b: OUTPUT«3␤»
14:19 timotimo m: say 100.&[+](5)
14:19 camelia rakudo-moar 127b3b: OUTPUT«105␤»
14:20 grondilu but I suppose that would not help, as it would still rely on lexical scope, method resolution or something.
14:21 grondilu s/method/rather than method/
14:21 timotimo correct
14:22 grondilu maybe the Numeric role should define methods like ADD, MULTIPLY, POWER
14:22 grondilu or at least require them
14:23 grondilu multi method ADD(Numeric $) {...}  # something like that
14:23 timotimo i'm pretty sure Numeric is for things that can be turned into a Complex or Real
14:23 timotimo but i don't know much about the numeric tower in perl6
14:23 timotimo how it exists or doesn't exist
14:25 xinming joined #perl6
14:25 grondilu lots of things can be turned into Complex or Real, but that's not the issue.  The issue is that when implementing the Numeric role, one should not have to redefine operators that depend on others (like &infix:<²>)
14:26 timotimo makes sense, yeah
14:26 grondilu frankly I should even not have to define &[**] as long as I define &[*]
14:28 grondilu so arguably the Numeric role could require any class implementing it to define at least two methods:  ADD and MULTIPLY
14:32 firstdayonthejob joined #perl6
14:32 grondilu in https://github.com/grondilu/clifford/blob/master/lib/Clifford.pm6 for instance, I had to define things as simple as substraction:
14:32 grondilu multi prefix:<->(MultiVector $A) returns MultiVector is export { return -1 * $A }
14:33 grondilu ^that was silly.  I was hoping this was inherited from Numeric
14:33 grondilu .-2s/substraction/negation/
14:35 timotimo TimToady probably has something wise to say about the trade-offs here
14:35 CIAvash joined #perl6
14:39 snowman_ joined #perl6
14:47 Ven_ joined #perl6
14:51 timotimo running the core setting through valgrind %)
14:51 RabidGravy nothing like it to focus the mind
14:52 timotimo i had hoped giving the fsa a redzone would lead me closer to what's wrong with my callsite descriptor caching
14:55 timotimo though tbh i'm not sure what exactly the failure mode was last time i ran this code
14:59 rindolf joined #perl6
15:09 sftp joined #perl6
15:43 Jesmaybe_ joined #perl6
15:43 khw joined #perl6
15:51 skids joined #perl6
15:52 Jesmaybe_ joined #perl6
15:58 Actualeyes joined #perl6
16:01 Ven joined #perl6
16:05 dalek perl6.org: 33bdb49 | (Steve Mynott)++ | source/ (2 files):
16:05 dalek perl6.org: Rakudo Star 2016.10
16:05 dalek perl6.org: review: https://github.com/perl6/perl6.org/commit/33bdb49cc1
16:09 [ptc] stmuk_++
16:14 dalek perl6.org: b64cca0 | (Steve Mynott)++ | source/index.html:
16:14 dalek perl6.org: correct url
16:14 dalek perl6.org: review: https://github.com/perl6/perl6.org/commit/b64cca04d7
16:22 Jesmaybe_ joined #perl6
16:26 Jesmaybe_ joined #perl6
16:27 inra joined #perl6
16:30 [ptc] m: $blah = '&zwj;'=> "<200d>"; $blah.say
16:30 camelia rakudo-moar 127b3b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Variable '$blah' is not declared␤at <tmp>:1␤------> 3<BOL>7⏏5$blah = '&zwj;'=> "<200d>"; $blah.say␤»
16:31 [ptc] m: my %blah = '&zwj;'=> "<200d>"; %blah.say
16:31 camelia rakudo-moar 127b3b: OUTPUT«{&zwj; => <200d>}␤»
16:32 [ptc] m: my %blah = '&zwj;'=> "<200d>"; %blah{'&zwj;'}.say
16:32 camelia rakudo-moar 127b3b: OUTPUT«<200d>␤»
16:43 Jesmaybe_ joined #perl6
16:53 mcmillhj joined #perl6
17:01 Jesmaybe_ joined #perl6
17:05 bartolin joined #perl6
17:08 seatek joined #perl6
17:18 RabidGravy star: foo
17:18 camelia star-m 2016.04: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤    foo used at line 1␤␤»
17:19 RabidGravy star: try require LWP::Simple; ::('LWP::Simple').getstore('http://rabidgravy.com/index.html', 'foo');
17:19 camelia star-m 2016.04: OUTPUT«Cannot invoke this object␤  in sub scheme-port at /home/camelia/star-2016.04/share/perl6/site/sources/07EE6C07F38281215C37955BB3BC16CFA9604F8E (URI::DefaultPort) line 36␤  in method default-port at sources/E6932313C3FA27F20E3F940809AFC1198E0EC2E5 (URI) lin…»
17:20 RabidGravy that's not very nice
17:20 RabidGravy (it's not just star by the way, it's like that with the latest versions of everything)
17:21 stmuk_ the version of star on the bot is 2 versions out of date anyway!
17:24 pecastro_ joined #perl6
17:32 Ven joined #perl6
17:34 _slade_ joined #perl6
17:36 RabidGravy let's see if I can fix that (or even replicate in a test)
17:51 Ven joined #perl6
18:00 RabidGravy gah the internet is being flaky again
18:01 RabidGravy or rather github is
18:16 Jesmaybe_ joined #perl6
18:17 eliasr joined #perl6
18:21 pecastro_ joined #perl6
18:32 maybekoo2 joined #perl6
18:51 sufrostico joined #perl6
19:02 Ven joined #perl6
19:03 dalek doc/minor-spelling: aa41593 | (Brock Wilcox)++ | doc/Language/ (3 files):
19:03 dalek doc/minor-spelling: Make sigiled consistent; americanize travellers
19:03 dalek doc/minor-spelling: review: https://github.com/perl6/doc/commit/aa415934a9
19:12 lizmat http://rakudo.org/2016/10/23/announce-rakudo-star-release-2016-10/   # stmuk++
19:17 cognominal joined #perl6
19:17 domidumont joined #perl6
19:18 Jesmaybe_ joined #perl6
19:19 japhb .seen ab5tract_
19:19 yoleaux I saw ab5tract_ 16 Nov 2015 18:41Z in #perl6: * ab5tract_ haz no windoze
19:19 dalek doc/less-seems: 2d99ea2 | (Brock Wilcox)++ | doc/ (3 files):
19:19 dalek doc/less-seems: Remove some 'seems' usage
19:19 dalek doc/less-seems: review: https://github.com/perl6/doc/commit/2d99ea2ff6
19:22 travis-ci joined #perl6
19:22 travis-ci Doc build passed. Brock Wilcox 'Make sigiled consistent; americanize travellers'
19:22 travis-ci https://travis-ci.org/perl6/doc/builds/169956233 https://github.com/perl6/doc/commit/aa415934a951
19:22 travis-ci left #perl6
19:25 nowan joined #perl6
19:32 roguelazer joined #perl6
19:34 Lucas_One left #perl6
19:36 Ven joined #perl6
19:39 travis-ci joined #perl6
19:39 travis-ci Doc build passed. Brock Wilcox 'Remove some 'seems' usage'
19:39 travis-ci https://travis-ci.org/perl6/doc/builds/169959038 https://github.com/perl6/doc/commit/2d99ea2ff6a1
19:39 travis-ci left #perl6
19:40 dalek doc: f784357 | gfldex++ | doc/Type/Cool.pod6:
19:40 dalek doc: doc Cool.match
19:40 dalek doc: review: https://github.com/perl6/doc/commit/f784357bc3
19:44 dalek doc: 977f8f2 | gfldex++ | doc/Type/Str.pod6:
19:44 dalek doc: stub Str.match
19:44 dalek doc: review: https://github.com/perl6/doc/commit/977f8f2776
19:45 TEttinger joined #perl6
19:47 skink joined #perl6
19:52 Ven joined #perl6
19:54 bjz joined #perl6
20:00 dalek doc/rmdir-tree: 8de94c9 | (Brock Wilcox)++ | doc/Type/IO/Path.pod6:
20:00 dalek doc/rmdir-tree: Add recursive rmdir example per issue #852
20:00 dalek doc/rmdir-tree: review: https://github.com/perl6/doc/commit/8de94c929c
20:01 dalek doc/rmdir-tree: ae866ad | (Brock Wilcox)++ | doc/Type/IO/Path.pod6:
20:01 dalek doc/rmdir-tree: Missed typeo
20:01 dalek doc/rmdir-tree: review: https://github.com/perl6/doc/commit/ae866ad811
20:16 canopus joined #perl6
20:20 travis-ci joined #perl6
20:20 travis-ci Doc build passed. Brock Wilcox 'Add recursive rmdir example per issue #852'
20:20 travis-ci https://travis-ci.org/perl6/doc/builds/169966508 https://github.com/perl6/doc/commit/8de94c929c44
20:20 travis-ci left #perl6
20:21 travis-ci joined #perl6
20:21 travis-ci Doc build passed. Brock Wilcox 'Missed typeo'
20:21 travis-ci https://travis-ci.org/perl6/doc/builds/169966702 https://github.com/perl6/doc/compare/8de94c929c44...ae866ad811cf
20:21 travis-ci left #perl6
20:22 Ven joined #perl6
20:28 canopus joined #perl6
20:35 labster joined #perl6
20:39 canopus joined #perl6
20:40 zakharyas joined #perl6
20:59 seatek m: class X::Base is Exception { has $.thing; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; die X::Base::Me.new{ method make_thing(){ $.thing = "yeah boo"}}; die X::Base::Me.new
20:59 camelia rakudo-moar b7201a: OUTPUT«Potential difficulties:␤    Useless declaration of a has-scoped method in mainline (did you mean 'my method make_thing'?)␤    at <tmp>:1␤    ------> 3yeah boo"}}; die X::Base::Me.new{ method7⏏5 make_thing(){ $.thing = "yeah boo"}}; d␤Type X::…»
21:01 seatek m: class X::Base is Exception { has $.thing; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; die X::Base::Me.new
21:01 camelia rakudo-moar b7201a: OUTPUT«X::Base::Me exception produced no message␤  in block <unit> at <tmp> line 1␤␤»
21:02 cibs joined #perl6
21:02 skids m: class X::Base is Exception { has $.thing; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; say X::Base::Me.new.message
21:02 camelia rakudo-moar b7201a: OUTPUT«Cannot modify an immutable Any␤  in method make_thing at <tmp> line 1␤  in method message at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
21:03 skids is rw, or use $!
21:03 skids m: class X::Base is Exception { has $.thing is rw; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; say X::Base::Me.new.message
21:03 camelia rakudo-moar b7201a: OUTPUT«yeah boo␤»
21:03 skids m: class X::Base is Exception { has $.thing is rw; method make_thing() { $.thing = "boo"}; method message() {self.make_thing; return $.thing}}; class X::Base::Me is X::Base { method make_thing(){ $.thing = "yeah boo"}}; die X::Base::Me.new
21:03 camelia rakudo-moar b7201a: OUTPUT«yeah boo␤  in block <unit> at <tmp> line 1␤␤»
21:06 seatek skids, oh my gosh, exactly right! thank you skids++ :)
21:06 skids np
21:07 canopus joined #perl6
21:09 RabidGravy there, I made it https://github.com/jonathanstowe/URI-FetchFile - I'll actually release it tomorrow
21:10 dalek whateverable: bf13361 | MasterDuke17++ | Whateverable.pm6:
21:10 dalek whateverable: Change the maxOffset used for fuzzy matching names
21:10 dalek whateverable:
21:10 dalek whateverable: The smaller value gives better results when comparing the short *able
21:10 dalek whateverable: names.
21:10 dalek whateverable: review: https://github.com/perl6/whateverable/commit/bf13361e43
21:19 Jesmaybe_ joined #perl6
21:22 canopus joined #perl6
21:24 Jesmaybe_ joined #perl6
21:25 Jesmaybe_ joined #perl6
21:26 Jesmaybe_ joined #perl6
21:27 Jesmaybe_ joined #perl6
21:35 cognominal joined #perl6
21:37 bjz joined #perl6
21:40 inra joined #perl6
21:43 seatek m: sub thing() { return 'oh no' }; my $x = 'why?' ; say thing() ~ $x ?? $x !! 'kidding';
21:43 camelia rakudo-moar b7201a: OUTPUT«why?␤»
21:44 seatek love everything! but ternary precidence has caused me know end of grief :)
21:46 snowman_ Obviously this calls for a second ternary operator with a different precedence: then/else instead of ??/!!
21:46 kurahaupo seatek: same as C: bottom precedence of the (punctuation) operators
21:47 seatek yeah i just have to get in the habit of surrounding them with () :)
21:48 seatek m: sub thing() { return 'oh no' }; my $x = 'why?' ; say thing() ~ ($x ?? $x !! 'kidding');
21:48 camelia rakudo-moar b7201a: OUTPUT«oh nowhy?␤»
21:49 girafe joined #perl6
21:51 skids m: sub thing() { return 'oh no' }; my $x = 'why?' ; say thing() ~ ($x || 'kidding');
21:51 camelia rakudo-moar b7201a: OUTPUT«oh nowhy?␤»
21:51 skids m: sub thing() { return 'oh no' }; my $x; say thing() ~ ($x || 'kidding');
21:51 camelia rakudo-moar b7201a: OUTPUT«oh nokidding␤»
21:52 BenGoldberg joined #perl6
21:52 seatek skids, that's actually prettier ;)
21:53 skids m: sub thing() { return 'oh no' }; my $x; say thing() ~ ($x or 'kidding');
21:53 camelia rakudo-moar b7201a: OUTPUT«oh nokidding␤»
22:11 seatek m: say '/etc/passw'.IO.f || 'oh my gosh';
22:11 camelia rakudo-moar b7201a: OUTPUT«oh my gosh␤»
22:11 seatek m: say '/etc/passw'.IO.f or 'oh my gosh';
22:11 camelia rakudo-moar b7201a: OUTPUT«WARNINGS for <tmp>:␤Useless use of constant string "oh my gosh" in sink context (line 1)␤Failed to find '/etc/passw' while trying to do '.f'␤  in block <unit> at <tmp> line 1␤␤Actually thrown at:␤  in block <unit> at <tmp> line 1␤␤»
22:11 seatek still haven't really learned all the differences in those or's yet
22:13 Jesmaybe_ joined #perl6
22:13 Jesmaybe_ joined #perl6
22:14 Jesmaybe_ joined #perl6
22:15 Jesmaybe_ joined #perl6
22:16 Jesmaybe_ joined #perl6
22:20 labster joined #perl6
22:23 canopus joined #perl6
22:41 benchable6 joined #perl6
22:42 canopus joined #perl6
22:44 dalek doc: aa41593 | (Brock Wilcox)++ | doc/Language/ (3 files):
22:44 dalek doc: Make sigiled consistent; americanize travellers
22:44 dalek doc: review: https://github.com/perl6/doc/commit/aa415934a9
22:44 dalek doc: a675db0 | (Brock Wilcox)++ | doc/Language/ (3 files):
22:44 dalek doc: Merge pull request #981 from perl6/minor-spelling
22:44 dalek doc:
22:44 dalek doc: Make sigiled consistent; americanize travellers
22:44 dalek doc: review: https://github.com/perl6/doc/commit/a675db0b3e
22:44 dalek doc: 2d99ea2 | (Brock Wilcox)++ | doc/ (3 files):
22:44 dalek doc: Remove some 'seems' usage
22:44 dalek doc: review: https://github.com/perl6/doc/commit/2d99ea2ff6
22:44 dalek doc: 0f370a6 | (Brock Wilcox)++ | doc/ (3 files):
22:44 dalek doc: Merge pull request #982 from perl6/less-seems
22:44 dalek doc:
22:44 dalek doc: Remove some 'seems' usage
22:44 dalek doc: review: https://github.com/perl6/doc/commit/0f370a6251
22:44 dalek doc: 8de94c9 | (Brock Wilcox)++ | doc/Type/IO/Path.pod6:
22:44 dalek doc: Add recursive rmdir example per issue #852
22:44 dalek doc: review: https://github.com/perl6/doc/commit/8de94c929c
22:44 dalek doc: ae866ad | (Brock Wilcox)++ | doc/Type/IO/Path.pod6:
22:44 dalek doc: Missed typeo
22:44 dalek doc: review: https://github.com/perl6/doc/commit/ae866ad811
22:44 dalek doc: 7889b3e | (Brock Wilcox)++ | doc/Type/IO/Path.pod6:
22:44 dalek doc: Merge pull request #983 from perl6/rmdir-tree
22:44 dalek doc:
22:44 dalek doc: Rmdir tree
22:44 dalek doc: review: https://github.com/perl6/doc/commit/7889b3e402
22:57 benchable6 joined #perl6
23:00 canopus joined #perl6
23:06 geekosaur joined #perl6
23:16 Kaffe joined #perl6
23:17 dogbert17 joined #perl6
23:17 SHODAN joined #perl6
23:22 BenGoldberg m: say True ~~ :so
23:22 camelia rakudo-moar 4fc17d: OUTPUT«True␤»
23:22 BenGoldberg m: say True ~~ :not
23:22 camelia rakudo-moar 4fc17d: OUTPUT«False␤»
23:28 mrsolo_ joined #perl6
23:55 mrsolo_ joined #perl6
23:57 mrsolo joined #perl6
23:58 labster joined #perl6

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

Perl 6 | Reference Documentation | Rakudo