Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 7, 2017 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/885e1cf8af0a7b1d720fe0d5551501cc to your computer and use it in GitHub Desktop.
Save Whateverable/885e1cf8af0a7b1d720fe0d5551501cc to your computer and use it in GitHub Desktop.
quotable6
/ ^ ‘.tell ’ /
.tell AlexDaniel if you update your moarvm, you'll get better error messages for "must be composed before whatever"
.tell FROGGS if.pm6 is busted and that breaks install of some crypto modules. Any ideas for how to fix? The role's method never gets run; dunno where to take it from here: https://github.com/FROGGS/p6-if/issues/2
.tell AlexDaniel if possible could you add https://gist.github.com/dogbert17/3eb15ea55019d93590e8ea1d4966f7b2 to RT #131003
.tell Zoffix I would welcome blowing up $*SPEC
.tell lizmat if you're interested, IO Action Plan is ready for review. The review period will end April 1st: https://irclog.perlgeek.de/perl6-dev/2017-03-25#i_14321373
.tell jnthn if you're interested, IO Action Plan is ready for review. The review period will end April 1st: https://irclog.perlgeek.de/perl6-dev/2017-03-25#i_14321373
.tell TimToady if you're interested, IO Action Plan is ready for review. The review period will end April 1st: https://irclog.perlgeek.de/perl6-dev/2017-03-25#i_14321373
.tell pmurias if you're interested, IO Action Plan is ready for review. The review period will end April 1st: https://irclog.perlgeek.de/perl6-dev/2017-03-25#i_14321373
.tell samcv if I'm getting “should eventually be unreachable” thingy in my code, what does it mean?
.tell samcv TPF posted call for proposals. Last day is April 2nd. Ensure TPF confirms your proposal went in this time :) http://news.perlfoundation.org/2017/03/call-for-grant-proposals-march-2.html#more
.tell jnthn SmokeMachine's CLA has been received by TPF, and per [Coke] ( https://irclog.perlgeek.de/perl6-dev/2017-03-24#i_14318800 ) a commit bit can be given. The github username's "FCO" https://github.com/FCO
.tell Zoffix looking at your approach, but perhaps reverting https://github.com/rakudo/rakudo/commit/362f674 and adding redo support there would be a better (and ultimately faster) approach
.tell [Coke] *and add tagging I meant...
.tell AlexDaniel the whateverables aren't that secure with RESTRICTED: c: 2014.12 say "cal | grep ar".IO.pipe.lines
.tell lizmat some questions: https://irclog.perlgeek.de/perl6-dev/2017-03-22#i_14307060
.tell jnthn almost completely functional .hyper / .race: https://gist.github.com/lizmat/6256f19136990b071ecc6695e7f5b5f2
.tell jnthn had to call it hijper / rees because you can't augment a role
.tell lizmat here's my naive attempt at fixing the phasers in grep(Callable), but I don't know how phasers are handled and so it didn't work (now that I look at it; I don't know why expected it to work in the first place >_<): https://gist.github.com/zoffixznet/17b8c6ba35ba145c59ae71a766a3c738
.tell [Coke] I built 2017.02 Rakudo and old (a507fbb) zef commit and it still has those warnings. It makes me think there's something bustified in the ecosystem JSON
.tell ugexe by "ecosystem JSON" I mean: http://ecosystem-api.p6c.org/projects.json
.tell [Coke] re warnings in zef: https://irclog.perlgeek.de/perl6-dev/2017-03-21#i_14303217
.tell jnthn Shouldn't PositionalBindFailover does Positional ?
.tell jnthn https://6guts.wordpress.com/2017/03/16/considering-hyperrace-semantics/ keeps asserting incorrect arithmetic (6+5=12,9+5=15,9+5=16).
.tell jnthn recall I kept mentioning buggable leaking? Seems it's just something with JSON::Fast (and it doesn't seem to be leaking but just using lots of RAM). Swapping to JSON::Tiny avoids the issue.
.tell samcv buggable's new output: https://irclog.perlgeek.de/perl6-dev/2017-03-16#i_14275663
.tell samcv seems using utf8-c8 doesn't work for this guy? I think what he's trying to do is get a string without graphemes or normalization? https://twitter.com/wonkden/status/842388423012974593
.tell lizmat some sort of code eval site is asking on twitter if "perl community wants to add support" on it.. Maybe Weekly-worthy material if someone wants to volunteer? https://twitter.com/replit/status/842457448208261122
.tell nine never mind. ugexe++ found the answer in https://github.com/rakudo/rakudo/commit/​887c937d1d673ae5a4 and I updated the comments
.tell llfourn It's Perl6;:Actions::instantiated_type! This gives us 2 options for avoiding the static reference to the stub: prevent the stub from entering the SC and making it a "generic" type (($type.HOW.archetypes.generic). Or we extend the check in instantiated_type to a third option.
.tell MasterDuke IIRC you fixed this ticket. Were any tests added? Would you please close it? https://rt.perl.org/Ticket/Display.html?id=126793#ticket-history
.tell llfourn Tried to find out where the QAST::WVal(Cat( is coming from, without success :/
.tell nine I tried. But wasn't able to totally fix require. My WIP: https://github.com/LLFourn/rakudo/commit/62834afaca690c480780d99fc6b51a240b0e1b52. It passes more tests than nom, but doesn't all of the ones I just added to roast :(.
.tell llfourn I've made some progress...I think? https://gist.github.com/niner/349fd7432e5c2c68361b3caf5111532c
.tell llfourn progress in the lexical_require branch :)
.tell lizmat probably with `m: say [**] 2, 3, 4` or any other sub () is assoc('right') {}
.tell lizmat turns out not any sub, it has to be an op: sub infix:<foo>($a, $b) is assoc<right> { "($a, $b)" }; say [foo] 1, 2, 3, 4
.tell lizmat tracked it down to this line that returns a List on empty reified array but IterationBuffer on non-empty (when it doesn't crash). Dunno if we want some conditional or make everything iteration buffer or whatnot: https://github.com/rakudo/rakudo/blob/dd4dfb14d3ccfe50dbd4b425778a005d3303edb9/src/core/Rakudo/Internals.pm#L84
.tell jnthn here's the notice draft and it deliniates the timeline on when more concrete info will be available, so people would know to look for it: https://gist.github.com/zoffixznet/b625809972d76952f05931e949a19ece
.tell lizmat https://github.com/rakudo/rakudo/commit/e48fb80d0f7a6906f58c81509999982681956629 is where i changed List.$!reified to a List instead of Mu. the reason i did was nothing more than so the .perl/.gist/etc of such things was more informative
.tell MasterDuke it looks to be a spesh bug with EVAL: https://irclog.perlgeek.de/perl6-dev/2017-02-26#i_14168730 the same don't happen if I truncate without EVAL
.tell lizmat filed the .sort issue we talked earlier about as https://rt.perl.org/Ticket/Display.html?id=130866
.tell jnthn I forcee some largish changes due to IO grant work. Some things have zero tests at all. Others, only tests in master. I currently plan to write an advance notice and publish it today-ish. The changes will land in 2017.04 release and will include a detailed info on what changed. If that's a bad plan, let me know.
.tell jnthn Some examples: is `link` taking args in reverse (and being documented as such), despite using them in right order in error message. So I forcee this being changed to follow the same order of args as `ln` Linux command, which follows the "sub($existing-thing, $new-thing)" order that `move`, `rename` and ilk follow. The other change I'll propose is tossing Seek* enum and passing position to
.tell .seek() as named args. The `link()` has no tests at all. The `seek()` only has the tests I added in January, 2017
.tell jnthn .seek() as named args. The `link()` has no tests at all. The `seek()` only has the tests I added in January, 2017
.tell jnthn i've updated https://github.com/rakudo/rakudo/pull/1018. it now builds for the JVM, and ./perl6-j -e 'say "hi"' runs fine, but a `make install` fails and i can't run the spectests. here's a gist of the output i get https://gist.github.com/MasterDuke17/2c8fbc294f3c9defcf370de046af1331. tied adding some debug statements, nothing jumping out at me. any suggestions?
.tell ugexe I tracked your XXX issue down to MoarVM re-using an SC when the source is identical. Which in this case it probably shouldn't.
.tell pmurias FYI, I fudged one of the tests you added 'cause it fails on JVM. No idea why: https://github.com/perl6/nqp/commit/d7314032d7
.tell lizmat, if you have time could you get the latest rakudo and try harness6 again
.tell lizmat if you have time could you get the latest rakudo and try harness6 again
.tell jnthn 62bd30b3d7953ea9b did not fix segfaults on HARNESS_TYPE=6 :-(
.tell ugexe your patch looks fine. It uncovered an interesting riddle though
.tell nine I'm not 100%. But I've been looking at some of your commits from around lexical use time. It looks like you had to work around something similar with 'use': https://github.com/rakudo/rakudo/commit/85d8b14278f860071e70ec6e53ba699af607897c. That sounds to me like exactly what is happening with require atm, except in INDIRECT_NAME_LOOKUP in operators.pm rahter than .find_symbol in World.
.tell nine I have a minor gripe: the way .precompile handles .err, it always hangs if I put out more than a buffer of debugging info to stderr from inside the compiler
.tell nine https://irclog.perlgeek.de/perl6-dev/2017-02-08#i_14061211
.tell nine https://irclog.perlgeek.de/perl6-dev/2017-02-08#i_14061211
.tell jnthn the %?LANG mechanism is rather bogus, insofar as it can't actually tell you the current language, only the language after the last add_categorical, which retroactively redefines %?LANG for earlier parts of the block
.tell jnthn Sheesh, it just took *several hours* to show up. WTH, RT?
.tell pmurias yeah it will happen in march sadly
.tell lizmat https://github.com/niner/Inline-Perl5/commit/f461fabb67 is the solution :)
.tell nine WOW :-)
.tell lizmat i only see two places where tail(N) would be applicable anyway (src/core/Block.pm:253 and lib/Pod/To/Text.pm6:55), so i'll leave those for you to decide if it's worth it
.tell MasterDuke the Block case is for .perl, for clarity I would keep that. The Pod/To/Text case seems more like a fit for a .skip ?
.tell jnthn Just submitted RT #130716, LTA behavior of unbounded supply {} + react/whenever. This is blocking my progress on treating raw terminal input (an unbounded source) as a supply, because any calling code that uses react/whenever instead of .act will appear to hang. :-(
.tell jnthn there's a bunch of methods in core (e.g. .eager) that have a proto with (|), but never take any arguments. Making the proto have () appears to make it 4% faster. Do you see any downsides to this?
.tell dalek Please switch this bot to Geth
.tell b2gills seems we already have the exclude-while/includewhile (https://irclog.perlgeek.de/perl6-dev/2017-01-25#i_13983469 ) that are sufficiently short to type given they aren't an oftused feature. You'd have to check each element anyway, so you don't get the benefit of free skipping with them, like .skip()
.tell Zoffix orly
.tell dalek Please switch this bot to Geth
.tell MasterDuke seems like a logical continuation of the other Nd work you've done :-)
.tell samcv seems Travis's "new contrainer-based trusty beta" ain't got gcc6 package in it. Any idea on how to fix it? https://travis-ci.org/rakudo/rakudo/jobs/193935960
.tell brokenchicken The correct second arg for a getattr/bindattr is generic inside of a role body, so you can't hardcode it. You can use ::?CLASS which will resolve to it (and spesh knows enough about type vars to generate as good code as in the unspecialized case)
.tell brokenchicken uh, the non-generic case, I meant. Not enough coffee :)
.tell RabidGravy yep, https://github.com/MoarVM/MoarVM/pull/501
.tell TimToady FWIW, I think rakudo-j was busted even before the fate thing
.tell jnthn sorry, i guess i wasn't clear. to me, what you said may be useful sounded very like what you said the ops i added actually did. i don't mind ditching the PR (it was mostly done as a learning experience), but i just don't quite understand your comments
.tell lizmat and fyi, compared to doing it manually, the ops are a little bit faster in NQP and quite a bit faster in Rakudo
.tell MasterDuke actually, pretty serious, so please PR
.tell Zoffix ensure this test runs on errata for release: https://github.com/rakudo/rakudo/commit/7f970357bd59c011e9f998ba885d317401851781
.tell samcv never mind. I'll add a separate test list for 6.c
.tell notviki the FileSystem repository is meant for development mostly and therefore ignores all version, auth and api requirements and just matches the name of the module.
.tell TimToady I guess you get notifications of github commit comments, but just in case: https://github.com/perl6/nqp/commit/994d2159fc#commitcomment-20481890
.tell lizmat I would NOT expect >>~<< to be lazy; that's what Z~ is for
.tell samcv I lean towards uppercase hex for unicode, simply because U+1ABC is usually that way
.tell lizmat note in particular that .lines on a normal file can usefully be parallelized by seeking into the middle of a file and tossing the next partial line to sync up, so I don't think we should make hypers double-think their bias toward eager there just because .lines is typically used lazily
.tell lizmat and we don't want to put artificial barriers in the way of parallelizing the map parts of map/reduce operations to the extent possible
.tell lizmat as for »+« producing List or Seq, the desirable answer is none of the above, but rather HyperSeq, I suspect
.tell lizmat It makes very little sense to me to do >>+<< lazily, since hypers are eager (unlike Z), and the common case will be that the lengths will match, because why try otherwise? And surely eager can be more efficient...
.tell TimToady one would expect this to be lazy, no? .say for "fileA".IO.lines >>~<< "fileB".IO.lines
.tell TimToady or something like: ("fileA".IO.lines >>~<< "fileB".IO.lines).head(5) ???
.tell MasterDukeLaptop left a comment; hope that helps :)
.tell yoleaux2 good morning/night
.tell lizmat some Perl6Weekly material: AlexDaniel reviewed in-channel camelia evals over the past year (thousands of them) and found lots of bugs. Also Rust devs seem to be impressed with our bisectable bot: https://internals.rust-lang.org/t/rust-ci-release-infrastructure-changes/4489/9
.tell dalek We like dogfood. Change the webhook to http://geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything."
.tell notviki seems perl6.fail has… failed. It is not showing any tickets
.tell yoleaux2 thanks
.tell ugexe TAP::Harness fixed in https://github.com/rakudo/ra​kudo/commit/b120ac401a0795f Unless it's already done, can you tak on :auth<perl> on use TAP to ensure if someone installs TAP::Harness from ecosystem, it doesn't get loaded instead (or whatever method there is to assure that)
.tell MasterDuke your microoptimization PR fails to compile for me with "Use of undeclared variable '$t' at line 2034, near " - 1 if $t"". Are you sure you were spectesting it and not something else?
.tell nine here are the contents of the files in that tree: https://gist.github.com/zoffixznet/ccdd17f79272af98ad863ac06be8afbe
.tell nine err, `cat v2/Foo.pm6` has { say "two"; } instead of { say "one" } (and yeah, I then changed it to say "ones" and the code kept saying "one" until I nuked precomp
.tell notviki mch: my @a = <one two three>; @a[*] = "four"; say @a.perl
.tell jnthn I found the code for QT's SIMD optimized UTF-8 decoder https://code.woboq.org/qt5/qtbase/src/corelib/codecs/qutfcodec.cpp.html thought you might like to see
.tell samcv S15-normalization/test-gen.p6 should now work: https://github.com/perl6/roast/commit/1fc7349f48
.tell samcv S15-normalization/test-gen.p6 should now work: https://github.com/perl6/roast/commit/1fc7349f48
.tell japhb Thanks! Will likely get time to look at it in the next few days.
.tell notviki the result of this 「my @a = lazy gather { say 'we actually run' }; sink @a」 was changed due to https://github.com/rakudo/rakudo/commit/345f6a7146d6b28c37718de22c90f50d9d9b2dcc
.tell notviki can you check if it's ok?
.tell AlexDaniel looks OK to me.
.tell samcv I believe you misread RT #129878 - the issue is not stringifying a list generated by xx (did you miss the [~]), but the string generated by x
.tell cygx i will look at it as soon as I wake up again. if i misinterpreted the bug
.tell jnthn Found another possible oo-monitors bug for you (https://github.com/jnthn/oo-monitors/issues/9). Hopefully this one is golfed down enough to make it easier to debug.
.tell nine 6.c-errata t/spec/S10-packages/precompilation.t also seems to fail one test: the not ok 22 - Twisty maze of dependencies, all different
.tell notviki they ah, probably need to port fixes from master to 6.c-errata
.tell [Coke] I see you rejected RT#124818 but there are fudges for it in t/spec/S32-num/int.t; Those should be removed, right?
.tell nine 6.c-errata version of t/spec/S11-modules/nested.t now fails on HEAD. with "No appropriate parametric role variant available for RoleB". What do we do?
.tell notviki the canary can go
.tell notviki re #130418, judging from 7dec9a9540a8a4b2 I think the throw was added because it is very dangerous to "miss" a chdir() failing
.tell notviki so I'm leaning towards changing the documentation / tests rather than the code
.tell samcv unipropcode is implemented in interp.c, which calls MVM_unicode_name_to_property_code which is in unicode_ops.c, which looks in the property_codes_by_names_aliases hash, which is constructed from unicode_property_keypairs in unicode_db.c generated from ucd2c.pl
.tell samcv I need your email address or login id to make you a bug admin.
.tell samcv seems '2' ~~ /<:Digit>/ now returns False. Bisectable points to https://github.com/rakudo/rakudo/commit/8163113ade68e764a16fcf04b0a7a4da1c643156 would you know what's causing it?
.tell samcv did you forget to push Missing test file: t/spec/S15-nfg/mass-chars.t ?
.tell lizmat it has been removed see my explanation here: https://github.com/perl6/roast/commit/3baa4db85abfe21d4df1eb9fc1149fd1f30dda15
.tell samcv I'm fairly certain that the built-in sorting order for strings is the same or similar to .sort( *.ords )
.tell moritz I'm having intermittent troubles loading irc logs; it seems to load slowly or not at all for a while, then suddenly work, then trouble again. Could be just on my end, but other sites seem to be responding quickly.
.tell jnthn can you review https://github.com/perl6/roast/commit/3baa4db85abfe21d4df1eb9fc1149fd1f30dda15 The test file referenced in the commit message is https://github.com/perl6/roast/blob/master/S15-nfg/GraphemeBreakTest.t
.tell jnthn when I try and generate with roast/S15-nfg/test-gen.p6 only one of the tests (mass-chars.t) actually seem to generate more than 2 passing tests, the rest all fail with either UCD 8.0 or UCD 9.0
.tell Zoffix good catch. tests added for https://rt.perl.org/Ticket/Display.html?id=128097 in https://github.com/perl6/roast/commit/2759cf2fce and ticket resolved
.tell samcv if the question was how to return the multi props... don't know, but one thing I'd note is it's preferable the methods/sub return predictable values. Right now, I notice if I have $char and $prop, I can no longer know what type .uniprop will return to me. For some reason it returns Int 1 or Int 0 for property 'Number', yet it returns Strs for other properties. If we add Lists to the mix it'd be
.tell samcv even more unpredictable.
.tell MasterDuke FWIW, $*ARGFILES.lines(Inf) no longer works after #965
.tell jnthn I've put it in a gist: https://gist.github.com/lizmat/afb86eeb90576ed32cb3f2b361fa2870
.tell jnthn the minimum case is: "my $a = 0.5e0; for ^100000 { $a.floor }" where floor takes between 60 and 194 msecs with rest remaining the same
.tell ugexe I'm switching over from panda to zef in my "rebuild the world" scripts, and I'm running across a testing problem. When a test crashes with a compile time error (===SORRY!===) such as a missing include, zef's testing framework reports 'No subtests run' and then 'All tests successful.' and later 'Testing [OK] for <dist>'. An example of this is the tests for META6.
.tell ugexe Good catch; --/tap-harness fixes the problem (which is to say that it correctly fails the tests on a compile-time error).
.tell ugexe As a side note, the backtrace of zef itself after "Aborting due to test failure: META6:ver('0.0.11'):auth('github:jonathanstowe') (use --force to override)" just seems confusing, not terribly helpful to the end user (maybe only show it with a debug option?
.tell ugexe Current zef seems to be doing the right thing around compile-time test failures, thank you. However, now I'm noticing that zef doesn't seem to be pulling the latest from github for https://github.com/jonathanstowe/META6 , which specifically includes a fix for the lexical import error I'm still seeing when I do a from-scratch rebuild and reach the `zef install` stage for that module.
.tell Zoffix http://www.moarvm.org/releases/MoarVM-2016.12.tar.gz
.tell zoffix we are building windows star the same way maybe the repl hang is to do with the WiX MSI installer?
.tell Zoffix thanks for the link, i'll see if i can do something about it
.tell jnthn explicitly putting a QAST::Op with a say in the while body prints (what i gave the say) for every line of the input file. but 'say "hi"' in the -ne doesn't ever print (not does .say)
.tell yoleaux2 hi
.tell jnthn and -p doesn't print the file contents
.tell babydrop with 15c0978f on roast, is there a reason to use is-deeply foo, True instead of ok foo ??
.tell MasterDuke it's controlled by $pure_type_result which is zeroed if the candidate's info has has the constrainty key, which is in turn set inside of !sort_dispatchees_internal
.tell [Coke] I'll be off the normal land-locked internet grid for Advent editing for a few hours while traveling. I just made some minor changes to the ending words and format. I will be monitoring IRC as well as my iPhone and cell carrier can handle it.
.tell pyrimidine Thanks a lot! Will dig from there.
.tell stmuk_ the message is the "You may want to `panda install Readline` or `panda install Linenoise` or use rlwrap for a line editor"
.tell Zoffix s/panda/zef/; in REPL message prior to next release
.tell nine in case you miss this in the backlog: Inline::Perl5 broke with https://github.com/rakudo/rakudo/commit/b2ac4e44d136fb118c395b6649bebc25688487ca
.tell lizmat Not sure if RT#130274 rendered for you OK, but it references http://stackoverflow.com/questions/40970080/perl6-rakudo-2016-11-match-tries-to-assign-to-read-only-variable-why-not-in-201 Core thing being Str.match now sets $/ when it didn't before. We made it that way on purpose, right?
.tell lizmat neither do I or I would have proposed something. No worries, nobody is gonna die from a missing docs confusion.
.tell lizmat conversation on that: https://irclog.perlgeek.de/perl6/2016-12-06#i_13691323
.tell lizmat so I'm wondering whether we fix the tests by removing the '*' from twigils or were they meant to work with the twigils and the tests need to be fudged...
.tell lizmat nevermind, TimToady answered in https://irclog.perlgeek.de/perl6/2016-12-06#i_13691502
.tell Zoffix remember the for <a b> \ <b c> { .say } bug? Did you fix it?
.tell Zoffix never mind
.tell jnthn to go along with the issue AlexDaniel mentioned, here's the backtrace for a segfault. however, i don't know exactly what the code was that caused the segfault, since accidentally we were both editing it at the same time. https://gist.github.com/MasterDuke17/8e1628d62ac4e77e0cb52ac3ffd6ccde
.tell Zoffix https://irclog.perlgeek.de/perl6/2016-12-04#i_13679924
.tell lizmat please add to the next weekly that the commits 19169cc, 3ffdc37, b9a6dc8, 0bf8b18, c7b14ae, ce7c9f6 clarify the relationship between containers, default types and type constraints -- what used to be a rich source of confusion
.tell jnthn not a single crash in 83 runs, so it looks fixed. I closed the ticket
.tell samcv if you're willing to improve rakudo.org (it's Wordpress), I'm sure we can find you an account :) RE: https://twitter.com/samcv6/status/804044061355044864
.tell bartolin never mind. Reproduced :)
.tell [TuxCM] bug fixed and I replied on PerlMongers letting that person know. RE: http://www.perlmonks.org/?node_id=1176379
.tell tony-o Rakudo 6bb8823 nails, best I can tell, the odd crashes I've been seeing in things using Proc::Async in chars mode.
.tell psch still having the same problem, any suggestions? this is the problem line: https://github.com/MasterDuke17/nqp/blob/source_file_line_numbers_on_jvm/src/vm/jvm/runtime/org/perl6/nqp/runtime/ExceptionHandling.java#L331
.tell TimToady never mind. japhb said the reason is mostly due to val() being done prior to addition of fancy pants minus ( https://irclog.perlgeek.de/perl6-dev/2016-11-18#i_13587383 )
.tell TimToady any thoughts on val() also processing enums in scope ?
.tell TimToady aka: having val("True") returning Bool::True
.tell FROGGS http://hpux.connect.org.uk only ships 32bit objects :( :( - I will install libffi by hand
.tell MasterDuke SourceFilenameAttribute didn't make it into the gist. but fwiw, you should get it work if instead of feeding the class name into the new ClassReader you get the byte[] (via 'mumble.getClassLoader().getResourceAsStream(className)')
.tell MasterDuke well, except getResourceAsStream returns an InputStream, but that usually can be converted to a byte[] rather easily :)
.tell orrr you use the InputStream directly, 'cause i just notice ClassReader has a constructor that takes an InputStream...
.tell MasterDuke orrr you use the InputStream directly, 'cause i just notice ClassReader has a constructor that takes an InputStream...
.tell moritz in blogpost: "and nothing as fixed" s/as/was/ ?
.tell jnthn something needs fixing in the bowels: https://github.com/rakudo/rakudo/commit/014d4cff2f
.tell jnthn was there a reason why native shaped str arrays are not implemented? or was it an oversight that they aren't?
.tell Zoffix check https://rt.perl.org/rt3//Public/Bug/Display.html?id=126992
.tell Zoffix and write a test for this one, while you're at it: https://rt.perl.org/Ticket/Display.html?id=129291#ticket-history
.tell lizmat seems MAIN doesn't like the very first enum for some reason: https://irclog.perlgeek.de/perl6-dev/2016-11-18#i_13592785
.tell viki andthen needs to return Empty on failure so that it works correctly in list comprehensions
.tell viki The intent is that with also work right in list comprehensions, so there's no problem implementing with in terms of andthen
.tell FROGGS sorry, another renaming thing, 'add_comp_files_to_directives' should be 'add_comp_lines_to_directives'
.tell jnthn is the use of nqp::multidimref_i (on Moar) vs nqp::atposnd_i (on JVM) a relic, or should it stay this way ?
.tell jnthn: any chance of optimizing dispatch:<!> ? On a benchmark of "my @a[10] = ^10; for ^10000 { my @b[10] = @a }" it is taking about 20% cpu :-(
.tell jnthn any chance of optimizing dispatch:<!> ? On a benchmark of "my @a[10] = ^10; for ^10000 { my @b[10] = @a }" it is taking about 20% cpu :-(
.tell jnthn so I'm considering ripping out all private method calls where possible
.tell jnthn is there a reason to not mixin the $!descriptor for TypedArrays only, and leave it off for Arrays ?
.tell psch I disabled JVM reporting again on Travis. It frequently gives OutOfMemoryError; dunno if it's just Travis? RT: https://rt.perl.org/Ticket/Display.html?id=130043
.tell literal Seems that various occurences of once in Version, Process, Kernel, and Backtrace are vulnerable.
.tell lizmat Seems that various occurences of once in Version, Process, Kernel, and Backtrace are vulnerable.
.tell literal disregard that, tab-o :)
.tell jnthn looking at it, but INIT doesn't work :-(
.tell pmurias kind of. i think all the ones that are left also fail on moar. i'd like to get some more of them eventually, so i'll ping you again if i run into jmv problems
.tell jnthn Created a new OO::Monitors issue (#8) ... monitor methods swallow ad hoc exceptions and throw a 'Cannot invoke this object (REPR: Null; VMNull)' error instead.
.tell jnthn Went on a golfing spree from a different angle trying to figure out the underlying bug that was catching up OO::Monitors; results added to issue #8 and are humerously insane.
.tell viki the other day Zoffix added a bunch of (sub-)tests to S02-types/num.t which use a unicode literal for euler's number. Unfortunately those tests explode with a parsing error with rakudo-j. do you have an opinion whether those tests should be fudged (skipped) on JVM or whether we should refrain from using that unicode literal?
.tell lizmat since the sets are unordered, the above two sets should eqv True all the time. Do we need a .sort over here? https://github.com/rakudo/rakudo/blob/364e67b/src/core/Setty.pm#L63
.tell lizmat never mind my last tell; I was looking at the wrong thing. Fix pushed. Test should stop flapping
.tell japhb I guess exporting is the way to go but I'm not sure that would work right now. Alternatively one could copy the imported types from MY:: to GLOBAL:: in the top level module. Right now you won't find them in MY:: but that would just shorten the copy loop :)
.tell jnthn "abc".match(/./,:nth(2,3,4)) fails because there is no 4th match, implying this is cached after all. So, since we *have* caching here, I propose we just make "abc".match(/./,:nth(1,3,2)) work
.tell lizmat "abc".match(/./,:nth(2,3,4)) should just stop after 3, on the assumption that it's an infinite monotonic list, so you could do :nth(2,4...*) to get every other one
.tell lizmat if we're caching because :nth(*-1) is supported, I'd like to thow out *-1
.tell nine Use case: I want to separate my large pile of code into lots of small-to-medium modules for ... well, modularization. But I'd still like to start a consuming program with a single "use Foo;" and get everything imported in for me, because essentially I'm defining a new language with all the parts of speech in different modules, and I just want to "use English;" and not "use English::Pronoun; use English::Adverb; ..."
.tell RabidGravy The "all" to export determined how? In order to not violate DRY, I'd rather not have it that every time I add an exported feature to something deep in my use hierarchy I have to add it all above, so every change becomes log(n) more duplicated. I guess the only thing is to write EXPORT so that it just iterates over the export stashes of the used modules. But then I've got an annoying boilerplate EXPORT sub, so I factor that out into a module
.tell RabidGravy I want this use case to be *easy* in order to promote modularity, not something where everyone has to learn the special hack.
.tell MasterDuke well, I've just killed it. Almost everything fails and I suspect it's just my box trying to do too many tests at once: http://fpaste.scsys.co.uk/537400
.tell jnthn I got it to work now: https://gist.github.com/FROGGS/bd727a2408ee66053a4569c4b8765a8c
.tell bartolin_ p6for transform into the appropriate .map call, so this is probably a permutation of #126490
.tell bartolin_ note that that ticket got accidentifixed by a refactor, but apparently there's still wonky bits in how jvm handles our iterators
.tell timotimo I was introduced to Jupyter at a Python group mtg and wonder if yr project iperl6kernel could use some help? or is there no longer any interest?
.tell psch I (also) spend some time looking at those UnwindExceptions. didn't find a solution, but at least I think I understand why we get them with for loops and not with 'while' or 'loop'
.tell psch maybe this is of interest for you: https://gist.github.com/usev6/78beac8113b8a54cf02acba66c3cd68f
.tell stmuk have a look at https://github.com/MoarVM/MoarVM/commit/0402247933
.tell lizmat something for you to consider in your .match rework: adding an `:i` (case-insensitive) to .match() so it could be easily used with Str matchers, like: m: 'foo'.match('foo').say. See discussion about it adding such a thing to .contains() in https://irclog.perlgeek.de/perl6-dev/2016-10-17#i_13414077 but IMO it's .match that has all the bells and whistles, so maybe it's OK to add such a bell to it.
.tell Zoffix wrt NaN**0 returning 1 there was RT #124450
.tell japhb I haven't knowingly fixed that...agree it'd be nice to deal with.
.tell Zoffix check the atanh 1 shows up on RT
.tell jnthn Sadly, OO::Monitors still fails without 'no precompilation'. When I comment it out and run `perl6 -I lib t/precomp.t` I immediately get: Missing serialize REPR function for REPR SCRef (SCRef)
.tell p3rln00b revert https://github.com/perl6/nqp/commit/298e2281ec after the release
.tell psch you seem to know a bit about the JVM implementation, any suggestions for how to tackle the BOOTSTRAPATTR -> Attribute problem i've been working on?
.tell pmurias you seem to know a bit about the JVM implementation, any suggestions for how to tackle the BOOTSTRAPATTR -> Attribute problem i've been working on?
.tell p3rln00b test
.tell TimToady I've added tests for uninitialized num pre/post ++/-- that expect the values to be NaN. If that's incorrect behaviour, let me know and I'll amend them: https://github.com/perl6/roast/blob/2a3cdb2e257e97d8c6dafefecc8f6221f87da80f/S02-types/num.t#L215-L217
.tell p3rln00b I'd guess so, but do a spectest to be sure
.tell cygx if you'd like to show up under something other than `cygx` in credits in release announcement, please enter yourself into https://github.com/rakudo/rakudo/blob/nom/CREDITS
.tell jnthn do you have any thoughts on adding missing methods to BOOTSTRAPATTR? https://irclog.perlgeek.de/perl6-dev/2016-10-10#i_13368379 for reference
.tell lizmat Please read https://www.reddit.com/r/perl/comments/557m4k/any_new_perl_6_books/d8ha7sd for a summary regarding Chas Owens' fears/assertions re NYI Uni and Str roundtripping. Perhaps everyone has already heard enough about it already but if not, maybe it's worth mentioning this sub-thread as a topic completely distinct from books in the
.tell raiph check https://irclog.perlgeek.de/perl6-dev/2016-10-08#i_13363563 for more input re: that reddit post
.tell psch we do have the .tell bot. It just got stuck behind the netsplit
.tell jnthn it's not just IO or run(), even "await (for ^7 { start { my $a = rand; say $a} })" segfaults. https://rt.perl.org/Ticket/Display.html?id=129781
.tell Zoffix it seems you never submitted a PR for RT #72820, but according to http://irclog.perlgeek.de/perl6/2016-07-06#i_12795893 you had a fix lined up
.tell nine maybe you'll have a better idea of how this can be fixed: https://rt.perl.org/Ticket/Display.html?id=129776
.tell timotimo Awww, now I haz a sad. Any idea *why* changing the calling convention for enqueue made almost no difference if it was 50% of your runtime?
.tell japhb i imagine if i don't clear the frame buffer and only enqueue blocks that have changed, it'd give a decent performance win ...
.tell MasterDuke Just an FYI: adding new files to roast doesn't make the test suite use them automatically. You also need to list them in Rakudo's t/spectest.data file. https://github.com/perl6/roast/commit/ca2b03d63c4
.tell TimToady I've ran into a Unicode regex syntax ambiguity issue if you've a moment to look: https://github.com/perl6/specs/issues/118
.tell AlexDaniel Nope. I was sleeping. RE: '<AlexDaniel> were you doing anything weird with committable/bisectable? :)'
.tell AlexDaniel Nope. I was sleeping. RE: '<AlexDaniel> were you doing anything weird with committable/bisectable? :)'
.tell jnthn that patch to not set ->process again looks totally valid
.tell timotimo I believe you were asking about slowness of RenderQueue.enqueue in https://github.com/timo/cellular-automata-tests/blob/master/animated_blocks.p6 -- Guesses: postincrements, using increment on a native int, wasting the last increment of $inspos, returning a value (instead of Nil), taking $rect as an object (thus accessing XYWH using methods)
.tell TimToady trying to do something about RT #129321. What should duckmap do/return if 'expression' returns undef and the element in question doesn't contain subelements? E.g. what should the following code return if anything? my @a = [1, "a"]; dd duckmap({ $_ ~~ Int ?? $_ !! Any }, @a);
.tell japhb Here's one way of doing it: https://gist.github.com/zoffixznet/c47f02fc7772147eafdb72e0be1f6dcd Feel free to open an Issue in the repo and I'll take a look at it. Will probably be just another subclass of IRC::Client::Message
.tell nine better-ish version of your sql interpolation guard https://gist.github.com/6be94a8e6f86c16ea5fdfd6b1b4e6ba3
.tell Zoffix i just realized why t/spec/S17-procasync/stress.t is failing for you (and lizmat i believe), nqp and rakudo haven't had their MOAR_REVISION and NQP_REVISION bumped to pick up jnthn's fix
.tell FROGGS I *think* you worked on process code long ago. I just fixed https://rt.perl.org/Ticket/Display.html?id=129291 by doing https://github.com/MoarVM/MoarVM/commit/debb859d8df52f9a44c94dc7760b2fe30170e8d3 which I *think* makes sense, but if you have a moment to glance it and comment it'd be great. Thanks! :-)
.tell AlexDaniel MoarVM HEAD has a hopeful fix for RT #129291 (didn't bump MOAR/NQP_REVISION files yet); if you get chance, please give it a go. :)
.tell Zoffix See this: http://irclog.perlgeek.de/perl6-dev/2016-09-21#i_13250357 – it is possible that when you tried it, the archive did not get extracted fully, this happens pretty often with perl6 whateverables (there is also a chance that recent moarvm fix affects this in a good way, see same log). Right now you can try running the same thing twice. Hopefully this issue will go away one day.
.tell mst exactly 1 year ago you told me in magnet #perl to poke you in a year about binary package installer for CPAN :)
.tell lizmat if enums would implement the role Enumeration (as the spec asked) the where-clause would not be needed
.tell jnthn the multi == hang is due to inlining. It inlines it, then tries to optimize the inlined bit, and so on. ATM it's over my head on how and if to fix it. I posted details on the ticket: https://rt.perl.org/Ticket/Display.html?id=127421#txn-1423789
.tell jnthn It looks like half of my segmentation faults will go away if #129291 is fixed. Perhaps you can take a look? That would be great.
.tell dogbert2 (RE: spectest failures), yeah, create an RT ticket for them.
.tell jnthn would you add what 'async-socket-str-fixes' brought in to the ChangeLog? I've no idea.
.tell Zoffix voice of the devil: shouldn't LEFT/RIGHT DOUBLE PARENTHESIS be 6.d ?
.tell Zoffix ticket can be closed; tests added in https://github.com/perl6/roast/commit/30b20c399c https://rt.perl.org/Ticket/Display.html?id=127631
.tell Zoffix test for 2**10000000 fails for me on OS X (commit c7a56068): it produces "1"
.tell AlexDaniel added masterduke
.tell lizmat if Str.match is involved in open("file"), maybe there's a place where simplematch could be used
.tell lizmat Str.match as optimization target++, i've looked at a bunch of --profile-compile profiles and match is usually near the top
.tell lizmat the time spent in match when doing open("foobar") is from the .e test calling canonpath, which is basically all match calls (it does all those substitutions); maybe there's a simpler method for substitutions like this.
.tell [Coke] please give MasterDuke (ddgreen@gmail.com) privileges to close RT tickets
.tell stmuk_ We added -latest.whatever URLs so a single URL can be used to link to the latest Star version. On release, those would need to be updated in the .htaccess file. Sent a PR to update the release guide: https://github.com/rakudo/star/pull/76
.tell timotimo if you don't mind updating the coverage report for Any-iterable-methods.pm i'd be curious to see if the tests i added change it
.tell lizmat -e '' spends a lot of time in parse not for parsing, but because that's where we load CORE.setting, so it's a decent measure of that...not really inclined to special-case it... :)
.tell jnthn I sent a comment of support for your continued funding as well (pretty much of the "you'd be crazy not to" variety)
.tell pmichaud please see https://github.com/rakudo/rakudo/wiki/rt-introduction
.tell pmichaud - also ; it's not just [RFC]. See [@LARRY], [NYI], [TODO] - there's no guarantee any of these are actually rakudo bugs at this point.
.tell AlexDaniel looks like committable6 never recovered from my tag fiasco
.tell jnthn https://gist.github.com/anonymous/6c4b5eece51500252ad57fab423316b6
.tell pmurias Good question. Right now the answer is: we can't. Inline::Perl5 disables precompilation of modules that use Inline::Perl5.
.tell TimToady newish sink ticket at RT #128692
.tell pmurias Ah, makes sense (the local register thing, and why a temporary was needed). The leak fix looks good.
.tell Zoffix http://www.moarvm.org/releases/MoarVM-2016.08.tar.gz
.tell arnsholt I recall you mentioning you wanted to wait until after release to do the O-branch stuff. The release has now been done.
.tell TheLemonMan the protected block *is* always generated as if it's result was gonna be used
.tell brrt might be worth mentioning to jnthn++ as he's been working on making stuff like that unhang. My test runs stopped hanging after that work. Never had anything flap or hang for quite a while.
.tell brrt About said hanging test, can you give me more info? I had that running a couple of hundred times in a row on a loaded system without issue after my last round of fixes...
.tell MasterDuke would you add yourself to https://github.com/rakudo/rakudo/blob/nom/CREDITS so the entiry shows up as you like in release announcement, please?
.tell lizmat be7ce041a8 breaks variables in REPL (RT#128973). I tried to fix it and it looks like it has something to do with context and they appear to behave different when in different thread? I've don't know what contexts are yet, so I failed at fixing this. Perhaps you would know how to fix it?
.tell nine spectest clear! :-)
.tell nine with 848add944fe6de9090f0 and 7d804663db8fdd331 reverted, all works fine for me :-(
.tell lizmat it's not pretty, but it does work. should i submit a PR, or do you want something with Mu.possible-phasers for this RT? https://gist.github.com/MasterDuke17/eb8e42371424528d6ca8d8312ad0692b
.tell jnthn I wasn't sure what to add to ChangeLog for all of your async work this release. Please improve if needed: https://github.com/rakudo/rakudo/blob/nom/docs/ChangeLog#L19
.tell ShimmerFairy fwiw, on partially dimensioned views, I'd somewhat expected to do them by way of there being a VM-level mechanism which gives you a "view" into another array, essentially currying a dimension or two.
.tell lizmat if you're looking for content for the Weekly, we got a new bot: SourceBaby. You trigger it with s: trigger, giving it arguments to give to CoreHackers::Sourcery's sourcery() sub and it gives a GitHub URL to source in question.
.tell TimToady #123072 has a sink in it.
.tell lizmat that was the week that was: https://gist.github.com/gfldex/09e86ebed67a642bca5c87bd2291c083
.tell lizmat https://gist.github.com/gfldex/09e86ebed67a642bca5c87bd2291c083 has been updated
.tell jnthn I'm somewhat skeptical of the plan to have await detach from the thread. I guess the point would be to free the ThreadPool's threads to do actual processing on the CPU. But the point of the limited thread pool size is that it doesn't help to run much more threads than available CPU cores.
.tell jnthn However, that limit is only useful for actively processing threads. Blocked threads should not enter into it. And threads can be blocked not only by await but also by I/O. So unless we want to have plain (network) I/O detach from the thread, too, it seems to be easier to have the thread pool differentiate between active and inactive threads and make sure it does have an appropriate number of threads for active processing available.
.tell AlexDaniel are you available to restart benchable?
.tell Zoffix "prove -e './perl6' -vlr t/spec/bar/foo.t" is shorter written as "make t/spec/bar/foo.t"
.tell Zoffix Also: on perl6.party: the Run this code button should be disabled on the prove example
.tell TimToady should this work? m: say 2 ⁽²⁺³⁾
.tell nine tagged a [PRECOMP] related bug, RT #128548
.tell TimToady i somehow feel that definedness contraints on --> and returns are to missleading to have. see: m: class Baddy is Nil {}; sub niler( --> Any:D ) { Baddy.new }; my $i = 42; $i = niler; dd $i;
.tell TimToady what makes me uneasy are lines line the following. A new and aspiring Perl 6 Programmer might take the `--> IO::Path:D` at face value. Given it's IO and we support Windows I would not bet my life on the :D part. https://docs.perl6.org/type/IO$COLON$COLONPath#method_absolute
.tell jnthn would be nice if foo!method would also get cached, as dispatch:<!> appears quite high in a lot of profiles
.tell pmurias it seems you forgot to commit t/nqp/019-chars.txt in 3f34d27f95
.tell stmuk Rakudo 2016.07.1 shipped out
.tell stmuk not sure if it affects R* release, but FYI the 2016.07 release seems to have issues with custom DESTDIR that I think are fixed in HEAD: https://rt.perl.org/Ticket/Display.html?id=128652
.tell Zoffix http://www.moarvm.org/releases/MoarVM-2016.07.tar.gz
.tell jnthn just a reminder that tomorrow is a Rakudo release and we'll need a MoarVM release cut. Thanks.
.tell jnthn just a reminder that tomorrow is a Rakudo release and we'll need a MoarVM release cut. Thanks.
.tell yoleaux2 that circularity is problematic, m'kay?
.tell yoleaux2 to thank me for the message
.tell TimToady - we've started tagging RTs that probably need design review with [@LARRY]; one more thing for you to look at if you get some time. other @larrys will pitch in as well. (many more tags to come)
.tell Zoffix the tests you added to S29-os/system.t yesterday hang on OSX :-(
.tell [Coke] unsure if you have access to look into it, but it seems there's some email issues between RT and perl6-compiler list. For example lizmat replied on the mailing list to a bug report (to perl6-bugs-followup@perl.org), but it did not show up on the ticket: RT#128615 Also, I've been commenting on a bunch of tickets with Bcc to perl6-compiler, but those don't get to mailing list
.tell soritz i believe to remember being told that .DEFINITE is a implementation detail. It was removed from S12, yet there are still spectests. It's a design question I can not answer.
.tell Zoffix Test requested for RT#127823 at rakudo's PR#823
.tell Zoffix About RT#128000 I'd keep it open 'til solved in core. If only as a way to get some feedback
.tell lizmat fwiw, numeric overflow changes were before 2015.12, but you can still find it with bisectable: bisect: good=2015.10 2 ** 99999999999999999999999999999999999
.tell [Coke] i created a PR (https://github.com/perl6/doc/pull/661) for docs that i would appreciate some eyes on, it's an attempt at parallelizing htmlify.p6. Zoffix++ mentioned you were working on the same thing
.tell lizmat where from to?
.tell lizmat I think that https://github.com/MoarVM/MoarVM/pull/377 can solve your problem
.tell soritz I fixed the PR :)
.tell [Tux] looks like the problem existed *before* my patches: first run after re-compile: 693 tests, any other run has 673 tests
.tell lizmat you think you can figure out how to make comb's pull-one not allocate Int? i tried replacing < with islt_i, but that's not it, so maybe it's $!pos++?
.tell nine the bug I found last night where a P5 module loaded together with a P6 module had errors was introduced by this commit: https://github.com/rakudo/rakudo/commit/bf59085
.tell timotimo valgrind output when my modified htmlify.p6 segfaulted, https://gist.github.com/MasterDuke17/c10c82840bfc13a87833b9a20beedad4
.tell timotimo ah-ha, here's a segfault, https://gist.github.com/MasterDuke17/56d636666153e2202feaad03c8b29f13
.tell Zoffix i've tried replying to your question on RT #128280 twice, but nothing is showing up. short answer, on arch linux and kubuntu 16.04, both x64 with an up to date rakudo, i get the same seg fault
.tell FROGGS don't forget that ~~ sets the $_
.tell FROGGS could you explain what ac0dcdd fixes (e.g. in the ChangeLog) ?
.tell sexy-coder-girl about stuff
.tell sexy-coder-guy hello
.tell brrt interesting LuaJIT talk by one of the current DartVM engineers: http://mrale.ph/talks/vmss16
.tell lizmat any thoughts on http://irclog.perlgeek.de/perl6-dev/2016-06-07#i_12621041 ?
.tell pmurias this could be of interest ? https://zeit.co/blog/async-and-await
.tell brrt I'm not that keen on them either, fwiw. If they go away we get to remove the code supporting them from MoarVM too. Alternative is we have API for JITting them.
.tell lizmat Baggy (<+)/(>+) Baggy commit is not working properly: https://irclog.perlgeek.de/perl6/2017-04-03#i_14370322
.tell moritz https://irclog.perlgeek.de/perl6/2017-04-03#i_14371056
.tell AlexDaniel commitable seems to choke on `mc: my $pat = rx/(\S+)/; <a b c>.map: { if $_ ~~ $pat { say $/; } }` Pings out. And even after I killed it and restarted it, it choked again.
.tell sergot fyi, i just created a PR in https://github.com/sergot/openssl that gave me a measurable speedup using HTTP::UserAgent to get an HTTPS url
.tell nine any ideas? https://irclog.perlgeek.de/perl6/2017-03-30#i_14348415
.tell lizmat before I forget, Perl6::Tidy does primitive indentation.
.tell [Coke] my March report is now available: http://blogs.perl.org/users/zoffix_znet/2017/03/perl-6-io-tpf-grant-monthly-report-march-2017.html You can get it in Markdown format at https://github.com/zoffixznet/IOwesomeness/blob/master/reports/Mar-2017.md
.tell nine getting those failing tests again. maybe because i'm using libffi under moarvm and not dyncall?
.tell ugexe: hi! i was brainstorming about zen, and got a idea that I tried to PoC... its not done and probably its not even working... bu could you tell me what you think please? https://github.com/FCO/zef/commit/607cf49ea85cbd4490bfef73a7079a9c2173bb3c
.tell ugexe hi! i was brainstorming about zen, and got a idea that I tried to PoC... its not done and probably its not even working... bu could you tell me what you think please? https://github.com/FCO/zef/commit/607cf49ea85cbd4490bfef73a7079a9c2173bb3c
.tell AlexDaniel, the speculated behaviour for div/mod is both more involved than gcd/lcm and isn't implemented right: https://rt.perl.org/Ticket/Display.html?id=128428
.tell IOninja oh, didn't know about this ticket. Interesting. In any case, it seems that some software supports non-ints in lcm/gcd, so coercing the arguments to ints doesn't sound like a good idea
.tell stmuk_ is there a reason why the P6W is no longer syndicated to http://pl6anet.org ?
.tell gfldex here's what it looks like in Firefox: http://i.imgur.com/0v67PIa.png The idiocy of using XHTML instead of HTML was common because people were too stupid to know how to kick IE6 out of quirksmode with a proper HTML doctype and it was never a right thing to use.
.tell gfldex Never mind. Found and fixed the issue in https://github.com/perl6/perl6-pod-to-bigpage/commit/ed9c1a489640ce600b7901f1e1a878ca5ffcfee9 (P.S.: I didn't mean you were an idiot for using XHTML in my previous msg; but I'd still recommend using HTML5 doctype in Pod2BigPage)
.tell [Coke] Hi there! Id like to sign the Contributor License Agreement, do you know what email should I send that? Should those blanks be hand written? Thank you very much.
.tell spebern i didn't see anyone suggest it, but here's how to have an array of structs: https://github.com/jonathanstowe/NativeHelpers-Array
.tell tbrowder Thanks for the feature request; I think it's a bit more appropriate for the Perl6::Lint that I haven't built yet - At least I don't really intend that ::Tidy should do anything other than play with whitespace.
.tell dalek ahoi, please update that repo to use geth instead: Change the webhook to https://geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything."
.tell masak i don't have any old masm on flppies or CD, but i did find this link: <http://www.phatcode.net/downloads.php?id=175>
.tell masak but i did find two old CDs (Dr. Dobbs 1988-2001 and C/C++ Journal 1990-2002) which i need to look at low-level because the old search box doesn't work on WIndows...i'll try on my Linux box
.tell the contributors tool uses "ven" for, I assume, you. Probably needs more fields for you in the CREDITS file, unless you wanted to go as ven?
.tell Ven the contributors tool uses "ven" for, I assume, you. Probably needs more fields for you in the CREDITS file, unless you wanted to go as ven?
.tell RabidGravy sent a PR to fix HTTP::UA: https://github.com/sergot/http-useragent/pull/166
.tell dogbert17 https://irclog.perlgeek.de/perl6/2017-03-16#i_14272417
.tell moritz I meant I'd like *TO* hunt down. Not you hunt down :P I just need an up to date all-modules repo :)
.tell ugexe note that I ended up writing my own script to smoke the dists, so no rush on all the smoke Issues I opened on zef :}
.tell .basename is there there https://docs.perl6.org/routine/basename#(IO::Path)_method_basename
.tell Todd .basename is there there https://docs.perl6.org/routine/basename#(IO::Path)_method_basename
.tell Flwyd You can do 「sub MAIN (:@foo) {}」 and then use it with 「script.p6 --foo=1 --foo=2 --foo=3」
.tell yoleaux you're a deficient bot
.tell dalek you're a deficient bot
.tell spebern Sadly I have not had the time. Or rather, if I'm being honest, I've been focused on the perltidy/perl-parser stuff. I have something at home that's halfway rewritten to post-GLR where I've brute-forced the grammar actions to do what I want, but it's incomplete.
.tell spebern And thank you *very* much for your enthusiasm for the project, it's really refreshing.
.tell timotimo Sorry for a very late reply, here is the benchmark with whitenoise.pl -
.tell Todd Might I suggest: sub XOpenDisplay(Str $display_name --> Pointer) is native('X11'); sub XFetchBytes(Pointer $display, int nbytes_return is rw --> Blob) is native('X11'); sub XFree(Blob) is native('X11'); my $d = XOpenDisplay(":0"); my int $len = 0; my Blob $b = XFetchBytes( $d, $len ); my Str $str = $b.subbuf( 0, $len ).decode; XFree( $b ); # now use $str.
.tell samcv Still can't reproduce with https://gist.github.com/niner/7fc21d70805d1bc3a64e7c0604c7efa2 :/
.tell pukku You said you are interested in a DOM manipulator which doesn't change the order of attributes when you stringify it... first, look at https://github.com/zostay/perl6-ArrayHash; then, look at DOM::Tiny, specifically the source of DOM::Tiny::HTML. Note that there are precisely three places where Hash.new is used; if these were changed to ArrayHash, I'm 99% sure that you'd have a solution.
.tell TimToady http://irclog.perlgeek.de/perl6/2017-03-09#i_14230054 https://github.com/tadzik/Grammar-BNF/tree/define_slang
.tell skids you want something like https://gist.github.com/TimToady/df87901b812e4ac0d44e5b5240bcf77d
.tell skids With 44b60a560d that I just checked in, you should be able to work with just the .define_slang, if you don't care to support old versions. note that you do still have to do the mixins; you can't just pass bare roles to .define_slang, though maybe we could support that...
.tell TimToady 44b60a560d did the trick. Not that I'll be yanking the "old way" code just I instinctively tested the "new way". Thanks.
.tell MasterDuke I wasn't planning to do anything that transforms text, but given the Texas <-> Mexico transformation that could be useful.
.tell Todd what sort of perl5 you got installed? ExtUtils::Embed was part of it since 5.003007, so it's very strange it can't find it. FWIW, I never had problems with perlbrewed one `\curl -L https://install.perlbrew.pl | bash; echo 'source ~/perl5/perlbrew/etc/bashrc' >> ~/.bashrc; perlbrew install perl-stable -Duseshrplib -Dusemultiplicity; perlbrew switch perl-stable; perlbrew install-cpanm`
.tell dj_goku by default rakudobrew uses whatever random dev commit happened to be HEAD and has several quirks (such as having to run rehash to after install of binaries). Recommending it over properly tested and prepared releases to anyone who walks by is probably not a good idea.
.tell jeffythedragonsl RE how hard is it to get a grant: the process involves community feedback and committee voting, with two major questions: (1) is the work needs doing; and (2) can this person do it well. They don't charge you for applying, so you can always try, but IMO your chances of succeeding dramatically increase if you can point at a pile of commits you've already contributed, to show what your
.tell jeffythedragonsl work looks like.
.tell BenGoldberg currently callbacks passed to C always leak until the process ends, because we have no way of figuring out what C-land does with it. it wants to have some kind of API for sure at some point. just ... how?
.tell SmokeMachine FWIW, when you're adding fixups to PRs, you can do `git commit --amend` to add them and then `git push -f` to force-push them (force-pushing to your fork or separate branch is OK, but never do it to master). This way history stays clean when the PR gets merged.
.tell Todd the latest version of Perl 5 has subroutine signatures similar to that of Perl 6
.tell BenGoldberg thanks, I will take a look into %CALLER
.tell moritz the header and footer fields on TIO.run are for Code Golfs where the entry is a function or a snippet, see the "Try it" link at http://codegolf.stackexchange.com/a/110377/1147
.tell Todd Inline::Perl5 is a Perl 6 module; you install it with `zef install Inline::Perl5` not cpan; it doesn't create "inline" files on your filesystem but installs precompiled units in CUR, so check it's installed with `perl6 -MInline::Perl5`, not grepping your system for files
.tell yoleaux Beep Boop I'm a Robot
.tell Zoffix the problem i'm experiencing with shell and run not capturing output still exists with latest rakudo. doing some more testing before presenting results and asking for more help...
.tell dalek ahoi, please update that repo to use geth instead: Change the webhook to https://geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything."
.tell cale2 note that since you have a commit bit in perl6 repos, any time you use online editor to make a PR you create a branch in the repo; once PR is processed, don't forget to use the "Delete branch" button. I see there's a couple of `WildYorkies-patch-` branches in perl6/doc. Would you mind deleting them if they were merged/closed already?
.tell dalek ahoi, please update that repo to use geth instead: Change the webhook to https://geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything."
.tell Ven I'll tell you the same thing I'm sure I told Hotkeys, if you want me to delay answering Code Golfs I will
.tell TimToady Imo it would work well if you provided a short answer to http://www.perlmonks.org/?node_id=3333;parent=1182520
.tell ZzZombo I get 「 and 」 in PuTTY with Courier New, FWIW
.tell abraxxa it could be possible to make zef not re-test if you restart a previously failed run, i'm just not sure the best way to implement it
.tell AlexDaniel i've started tweaking Proc docs based on discussions yesterday. what do think about adding a warning about the dangers of using either run or shell? if not in Proc, maybe in some other, more general place.
.tell RabidGravy do you remember what test(s) you're running when you got SEGV's with Squirrel? (RT #129946)
.tell AlexDaniel it looks to me like the args for run (and now shell) are in the wrong order. also, run needs to be shown as a method. also the sig for method shell looks wrong (incomplete).
.tell tbrowder I've created https://github.com/perl6/doc/issues/1208, but other than that it does not look too bad
.tell tbrowder the dangers can be documented in language/traps, maybe
.tell zostay what is the status of your HTTP-Request-Supply? i'd really love to have it on modules.perl6.org so we can have a async http p6w server
.tell jnthn nevermind, I've got Blocks not Code
.tell cale2 just like that, no?
.tell timotimo: it might be worthwhile to add a "help wanted" section to perl6weekly. People could send you a little classified about something they need help with and how a person can get involved :)
.tell timotimo it might be worthwhile to add a "help wanted" section to perl6weekly. People could send you a little classified about something they need help with and how a person can get involved :)
.tell timotimo i'm all wrong about the words i used in the new doc chunk. i think the fundamental point is the when and if are similar but the if doesn't implicitly give control back to the enclosing block while the when does. i'll reword in a bit.
.tell nobody I'm bored.
.tell IOninja meows
.tell timotimo please look at "when" doc commit
.tell cale2 I use a ZNC bouncer and my client is HexChat
.tell cale2 i think you were still confused about the kv thing. .kv gives you a flat list, -> $index, $num takes two items from the list on each iteration. .pairs gives you a flat list of Pair objects, and if you -> $a, $b, it'll take two of these pairs on each iteration. you seem to think that -> $a, $b does unpacking. it does not. -> ($a, $b) does unpacking.
.tell hankache Your perl6intro site tells users to use untested development commits by building them with rakudobrew: http://perl6intro.com/#_installing_perl_6 We generally avoid suggesting rakudobrew since users aren't skilled enough to fix any issues with it and users should be using properly tested user releases, not whatever commit ended up being HEAD when they build perl6
.tell lizmat thanks for " Make Int.WHICH about 1.7x faster" :)
.tell dogbert11 previous URL seems busted; this one: https://gist.github.com/zoffixznet/b7fe8919516ac0e2bb791e4a664b2822
.tell kalkin- Ah, line-start and line-end. Yes, please. I was planning to do that anyway for better feedback to the user, though I'm concerned about here-docs because they're a bit more complex than regular tokens.
.tell DrForr awesome, i already have a line-start patchset working, will upgrade it to also use line-end.
.tell GauravArya the problem with parallel reads from the same file is that it's only going to work well if you have something like an SSD to read from; otherwise you're probably just waiting for the disk head to go back and forth a lot
.tell El_Che you may want to link to https://gfldex.wordpress.com/2016/08/31/one-line-of-unicode-at-you-fingertips/
.tell cale2 Added a section on EditorConfig to Atom-as-a-Perl6-IDE https://github.com/perl6/Atom-as-a-Perl6-IDE#editorconfig Editor agnostic per project/filetype management of indentation level, line ending and indentation type and more.
.tell gfldex thx. Do you know how it can be added to .vimrc?
.tell ufobat you didn't have a space after "," in your regex; see https://irclog.perlgeek.de/perl6/2017-02-11#i_14084426
.tell DrForr I would like to change the Perl6::Element constructor to accept just an NqpMatch so it could access the NqpMatch.orig to calculate the actual line-start & line-end. Would you accept such PR?
.tell samcv Thanks for your work on Unicode properties! I've been slowed down working around the prior weaknesses, now it does what I need!
.tell dmaestro you're welcome!
.tell samcv Take a look at http://rosettacode.org/wiki/Negative_base_numbers#Perl_6 for negative base number for bases -2..-36.
.tell jnthn you're generating benchmark plots from perl6-bench version ea2a4d0, but there's been 7 commits since then; you committed to perl6-bench for that exact commit; maybe your "origin" is your own fork or something?
.tell tony-o Double-close crash and various other operation-on-closed-socket issues are now sorted out (hopefully!) and test covered :)
.tell jnthn you rock! thank you
.tell jnthn that seems to have done the trick, thank you!
.tell nicq20 you may have to do zef update -
.tell Eddward I am told if you open the file with :enc<utf8-c8>, or you can rename the file, ($file).copy($file.Str.encode('utf8-c8').decode('utf8')) where $file is a IO::Path obj
.tell dalek ahoi, please update that repo to use geth instead: Change the webhook to http://geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything."
.tell dalek ahoi, please update that repo to use geth instead: Change the webhook to http://geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything."
.tell japhb please update perl6-bench to use geth.
.tell jnthn i'm looking at IO::Socket::Async and it looks like there is no way to tell if the socket is closed currently (either through that class or even through the nqp:: stuff) - is this an accurate assessment or did I miss something?
.tell tbrowder what nqp files?
.tell Eddward seeing all those backslashes, looks like there's a layer of another encoding. The \C\%80 part is supposed to be %CC%80 (if we're talking about just percent encoding). So seeing what that other layer of encoding is would be the next step
.tell lizmat you may want to link the following tonight http://video.fosdem.org/2017/K.4.201/
.tell AlexDaniel Did you get nqp files working with perl6-mode in emacs?
.tell timotimo you may want to link the following tonight http://video.fosdem.org/2017/K.4.201/
.tell lizmat https://github.com/niner/Inline-Perl5/commit/f461fabb67 is the solution :)
.tell brokenchicken Yes, it is. Pretty sure it's test-covered also.
.tell samcv Can you tell us, please, what package for atom will show lists of p6 subs, vars, and classes on the menu bar?
.tell tbrowder please see https://github.com/samcv/Atom-as-a-Perl6-IDE I have made a writeup on it :)
.tell donaldh there's now a FAILGOAL example and short explanation in https://leanpub.com/perl6. Enjoy!
.tell dalek update that repo to use Geth instead: Change the webhook to http://geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything."
.tell agentzh yeah fanlang licenses for rakudo devs would be sweet. To see if we can steal any ideas.
.tell AlexDaniel East_Asian_Width property has just been merged into MVM
.tell cale2 have a look at the wig module :)
.tell RabidGravy be sure to report your breakages so we iron everything out in v6.d.PREVIEW and not leave it until v6.d ;)
.tell agentzh what ugexe just mentioned here ^^^ about -Ilib being faster than `use lib "lib"` may be of interest to you
.tell dalek please switch this bot to use Geth.
.tell dalek Please switch this bot to Geth
.tell dalek Please switch this bot to Geth
.tell dalek Please switch this bot to Geth
.tell AlexDaniel it's not completely terrible as is. how much nqp:: is required to get that 20%?
.tell [Coke] I have set --no-proc-async as default for MacOS
.tell agentzh according to timotimo, 'will probably have to "up" a few times until you find a frame that has "tc" in it', before the `print MVM_dump_backtrace(tc)`
.tell grondilu the subsig ($a,$b) is always treating pairs as named args, not positionals; perhaps we could distinguish a [$a,$b] subsig to force positional and let the () form turn pairs to nameds
.tell AlexDaniel https://github.com/perl6/doc/pull/1165
.tell samcv too lazy to make an Issue, but noticed this chunk has messed up highlighting: https://github.com/rakudo/rakudo/blob/nom/src/Perl6/Grammar.nqp#L839-L857
.tell lizmat for the p6weekly the ecosystem addition is US-ASCII not US::ASCII - thanks
.tell lizmat The weekly has a link to "reddit comments" that doesn't point to reddit.
.tell dalek Please switch this bot to Geth
.tell mr_ron now that I remember more specific test files, a lot of them depend on the test file located in t/spec. This is used for auxiliary files locations for some test files, like module loading ones, and the ones that include t/spec/packages
.tell jnthn Sorry, to be clear I want to avoid doing *combiner* handling on $*IN. I still want to pass on any above-ASCII characters I receive, I just want every input character to be passed on immediately, even if that means that I could end up with isolated combiners.
.tell raiph Yes, I think of them as "maybe" types, but that's the same thing.
.tell raiph If an object type has either :D or :U attached to it, then it probably can't be considered an option type. :)
.tell raiph nvmnd raschipi++ informed me that even types with :D on them can get Nil/Failure in them. :)
.tell jnthn I've found a workaround for now.
.tell lizmat ok, but what about this: mch: $_ = ‘this is a test’; my @a := m:g:c/\w+{say ‘ok’}/; say @a[0] # 00003955
.tell AlexDaniel This is a consequence of how the iterator works: special casing the first pull would slow down things a lot
.tell AlexDaniel so I'd rather not change that unless jnthn TimToady think it should be changed
.tell japhb Probably setting the encoding to ASCII might do it too. Otherwise, use .read(1) - after all, you're after bytes, not chars.
.tell raiph to avoid user confusion, we purposely restrict release announcements to Rakudo Star only.
.tell gfldex code appears cut off by wordpress in https://gfldex.wordpress.com/2017/01/22/once-a-week-a-happy-zef/
.tell faraco If you wish to be listed as something other than faraco in future Rakudo releases, please add yourself to https://github.com/rakudo/rakudo/blob/nom/CREDITS
.tell lizmat can you please check this code and tell me whether the current behavior is correct (behavior changed in 2016.11)? my @foo[10]; my @baz := |@foo; @baz = ^20; say @baz
.tell lizmat (#00001997)
.tell brokenchicken it seems that your fix for RT#128783 did not remove the error message itself from rakudo. Is everything alright? https://gist.github.com/Whateverable/1c806c0dc7f836513e49a3791b3ce481
.tell brokenchicken (#00003518)
.tell lizmat also this: 「given ‘this is a test’ {.say for m:global:p/\w+{say 'ok'}/ }」, I'm not sure why the output is different (after https://github.com/rakudo/rakudo/commit/b7201a8f2 )
.tell lizmat (#00003948)
.tell MasterDuke was this change intended? commit: 73797b759^,73797b759 say lines.elems; say lines[0]
.tell MasterDuke (#00005346)
.tell lizmat also this: 「say Nil.chomp」 no longer says “Use of Nil in string context”. Let me know if it is ok? (#00007355) https://github.com/rakudo/rakudo/commit/89470a6a63e
.tell brokenchicken I think it was you who was surprised to know that there is substr-rw. Well, guess what, there's subbuf-rw
.tell brokenchicken my $b = Buf.new(1,2,3); subbuf-rw($b,2,1) = Buf.new(42); dd $b
.tell TimToady so is this supposed to warn? 'hello' [&say] 'world'
.tell TimToady https://github.com/rakudo/rakudo/commit/acece7b2f7 (#00007997)
.tell AlexDaniel re "given ‘this is a test’"... the fix is going to take some performance, and the code I have now breaks some stuff, so I'm reluctant to try fix this close to the release, if ever :-)
.tell AlexDaniel the fix being that the iterators need to remember whether it is the first pull-one or not, which means an extra flag to be kept :-(
.tell AlexDaniel #00003518 yeah, 'cause the error is still used when the invocant marker is present in subroutine sigs
.tell sergot never mind my previous message. my bad
.tell TimToady https://www.reddit.com/r/pcmasterrace/comments/5owmg6/why_its_called_a_patch/
.tell samcv RE .add on Setties and Baggies; there's a ticket for it: https://rt.perl.org/Ticket/Display.html?id=128903#ticket-history
.tell samcv I found an atom highlighter bug, the qq:// doesn't get highlighted right :P https://gist.github.com/zoffixznet/f0eb8ee0791bf4b9a91412b6904fe28b
.tell lizmat I'm fine with letting X work with multiple lazy lists, since we don't *know* that they're infinite, and we did put a certain amount of effort into making sure that degenerate case worked in the first place
.tell brokenchicken i was never disputing that. but the list of things (^20) is still in order, so i was responding to the fact that i actually like that .say is ordered. side effects are not guaranteed. the order of results is. (^20)>>.say is a no-op on the original list. yes, auto-threading means it will be out of order. but i was originally jumping in to say that the list (^20) is guaranteed to be in the right order. the side-effect
.tell RabidGravy Shorter code without get- and set- prefixes https://github.com/azawawi/perl6-gtk-scintilla/blob/master/t/02-basic.t :)
.tell samcv "samcv> and don't have to .sort({$^a.Int cmp $^b.Int})" -- an arity 1 sort will be at least twice as fast. Try: .sort( +*.key
.tell raiph Thanks for the link. Almost exactly my question.
.tell brokenchicken I updated IRC::TextColor. can now do ircstyle('text', :bold, :green)
.tell ugexe see https://www.irccloud.com/pastebin/ZJJNBEL2/zef-install-data-dump
.tell AlexDaniel you were waiting for it to happen again: https://irclog.perlgeek.de/perl6/2017-01-11#i_13898957
.tell notviki thanks
.tell raschi it was in #perl6-dev https://irclog.perlgeek.de/perl6-dev/2017-01-10#i_13894263 RE: "do you have a link to the log where what motivated that commit happened?"
.tell MasterDuke pull request sent: https://github.com/MasterDuke17/Text-Diff-Sift4/pull/4
.tell MasterDuke I have optimized Sift4 a bit. It is 60% faster now! :O
.tell pmurias my planned module (see most wanted modules) will provide PS and EPS functions and classes to produce PS and PDF docs
.tell dalek We like dogfood. Change the webhook to http://geth.perl6.party/?chan=#perl6-dev (or #moarvm for moarvm), Content-type: application/json and "Send me everything."
.tell dalek #perl6 I mean
.tell thundergnat Re: "simple way to unpack a list of lists of lists" Maybe as at http://stackoverflow.com/a/37230217/1077672?
.tell ugexe TAP::Harness fixed in https://github.com/rakudo/rakudo/commit/b120ac401a0795f Unless it's already done, can you tak on :auth<perl> on use TAP to ensure if someone installs TAP::Harness from ecosystem, it doesn't get loaded instead (or whatever method there is to assure that)
.tell samcv the URL rewriting happens at the top of lib/Pod/Htmlify.pm6 and is done that way because of NTFS.
.tell TimToady perhaps you can take a look at RT #130508 ?
.tell TimToady also, what should be the output of 「say ({ 42 } while $++ < 3)」? should it be (42 42 42) (like on 2015.12) or three code blocks (like everywhere after 386905f6f6)?
.tell [Coke] what about the "Notes from Synopsis .... " paragraph on https://perl6.org/specification/ ? Seems dated. Even mentions "6.0.0"
.tell nicq20 1+2 ==> (* / 5)()
.tell masak do you think that this (https://github.com/FCO/ProblemSolver) could be useful for your train track project?
.tell jnthn I found the code for QT's SIMD optimized UTF-8 decoder https://code.woboq.org/qt5/qtbase/src/corelib/codecs/qutfcodec.cpp.html thought you might like to see
.tell jnthn seems it can make use of many different instruction sets as well.
.tell JJMerelo i've added a front page to the perl6-mode wiki; i plan to put some Emacs tidbits for p6 i learn from various places. the tidbits will be specific recipes, not the disconnects i see other places that require you to be an emacs expert.
.tell JJMerelo see new wiki
.tell kalkin-_ http://www.gnu.org/licenses/license-list.html#ArtisticLicense2
.tell TimToady private question for you when you have a few minutes.
.tell dugword The test you added seems to hang on my VM. It prolly doesn't have IPv6 support. Do you know how to detect that and only run the test on boxes where it would not hang? I fudged it for now in https://github.com/perl6/roast/commit/b3d3a736ee
.tell tbrowder stmuk is heading that. afaik he has it working so it should be in the next release or so
.tell samcv perhaps you can take a look at #130419 ? I wonder what you think.
.tell jnthn new PR https://github.com/MoarVM/MoarVM/pull/477 want your input on the return values and if they seem sane
.tell jnthn when you get around to it, need some help properly iterating over the codepoints (NFC codepoints) in unicmp_s
.tell toolforger I haven't made any progress on the aioob exception (secretly hoping you figure it out)
.tell MasterDuke consider taking a look at RT #130430
.tell MasterDuke too slow!
.tell AlexDaniel hello
.tell AlexDaniel hello
.tell samcv “ugexe, going to bed right now. will respond to both those comments you made tomorrow. cheers”
.tell Samcv hi
.tell samcv{ test
.tell `\\_--_|| test
.tell `\\____\| test
.tell moritz Hey! I cannot parse json clog from 2016-01-10 using JSON::Tiny… Since both seem to be maintained by, perhaps you can take a look? It is associated with combining characters I think
.tell moritz here's the json file: https://gist.githubusercontent.com/AlexDaniel/d16a0d9043fe4378eab40d09f6f089ed/raw/8ad0b3b157ad605b502fc154ae64ba8b1ccf7b98/2016-01-10.json
.tell AlexDaniel I've opened https://github.com/moritz/json/issues/25 for you
.tell JJMerelo i'm happy to use
.tell JJMerelo i'm happy to make my fork more usable, but i am NOT a lisp-literate person, either; would be great to hear more from henrik about his plans
.tell moritz seems search on loogs is broken. Gives me 500: https://irclog.perlgeek.de/perl6/search/?nick=jnthn&q=bidi
.tell moritz now no 500, but no results either
.tell moritz seems to work fine now...
.tell moritz if @perl6org uses this image, the wings won't get cut off: https://github.com/perl6/marketing/blob/master/LOGOs/Camelia/Camelia-2000px-SQUARE.png
.tell moritz @perl6org on Twitter I mean
.tell ab6tract well, I guess you can post yours for 25th, because why not, eh?
.tell ab6tract oh, never mind. read more of the backlog
.tell ab6tract there's something wrong with your post. The link to OO::Monitors appears to point nowhere
.tell notviki thanks for pointing that out. Wish github had notified me. Will fix when I get home
.tell samcv FWIW, building on Debian Jessie failed too. It was complainging about failed node-gyp install :/
.tell [Coke] FWIW "var OK_distance = Math.min(max_distance, len -1);" is useless since the conditional above it guarantees len is > 2 so it won't be less than max_distance there. Dunno if this helps you debug whether the fuzzy search works
.tell [Coke] oh, I guess len can be == 2 and then len -1 is 1.... never mind :)
.tell notviki that file isn't used anymore. actually i just commented on the ticket "Do we want to remove the CSS or just remove it from the html template? It might be nice being able to look at the old CSS while we are tweaking the new one."
.tell RabidGravy buggable: eco pastebin::gist
.tell AlexDaniel You'll over time end up with hundreds or thousands of threads sat doing nothing. :-) Create one ThreadPoolScheduler to share among your Proc::Async instances. :)
.tell samcv your last commit fixed the build issue on doc/1061. Seems to be working, but it's printing a toooooon of `duplicated path in ....-pod_to_pyg.pod` warnings. I know we had them before, but does `pod_to_pyg` in filename means it's still using the old pygments or whatever it was for highlights? I set the doc build to use the new highlights now
.tell notviki yeah it still uses the same filenames as before. So it is working
.tell [Coke] IIRC there were two reasons for PNG versions of the type graphs: 1) Browsers that did not support SVG inline, and 2) Browsers with NoScript or similar security technology enabled (which often disables SVG).
.tell japhb - yah, I'm suggesting that we have enough SVG support now we can drop that requirement.
.tell zoffix thanks for the tip to turn on JSON output for perl6 -> RAKUDO_EXCEPTION_HANDLER=JSON
.tell zoffix I've update the code to use JSON instead https://github.com/nige123/perl6fix/blob/master/perl6fix
.tell zoffix also fixed the advent entry on fixing flow https://perl6advent.wordpress.com/2016/12/19/fixing-flow/ to use JSON instead
.tell nine https://irclog.perlgeek.de/perl6/2016-12-20#i_13770361
.tell holli cases like "use Wx::App:from<Perl5>; my $app = Wx::SimpleApp.new;" are exactly why I worked on lexical module loading mentioned in http://rakudo.org/2016/12/17/lexical-module-loading/ Now that that's out of the way I can improve Inline::Perl5
.tell holli I now understand the bug in Inline::Perl5 which causes your Wx app to fail. The subclass doesn't exist in Perl 5 and the Perl 5 constructor is called with "Wx::App" as package so $this->can( 'OnInit' ) will return the OnInit of the base class. Fixable but a bit involved.
.tell mr_ron I'm back from vacation, ping me re: roman numerals.
.tell ufobat PathExpr should probably be reordered as well or rewritten to { <FilterExpr> [ [ '//' | '/' ] <RelativeLocationPath> ]? | <LocationPath> }
.tell ufobat '<MultipyOperator> on term 32 is a tyop for 'MultiplyOperator'.
.tell ufobat { <Step> %% [ '//' | '/' ] } # may improve clarity as well.
.tell jnthn 「$proc.start(scheduler => ThreadPoolScheduler.new);」 seems to work. What's going to happen if I create a new scheduler for every Proc::Async (just like in the example)?
.tell RabidGravy: love yr Advent post AND "JSON::Infer" AND "JSON::Class"
.tell RabidGravy love yr Advent post AND "JSON::Infer" AND "JSON::Class"
.tell raiph your suggestion to use "method" instead of "sub" sounds entirely sane. Wonder if it helped.
.tell mst so, how is it going?
.tell ugexe it would be nice if zef GitFetch would check %*ENV<GIT_ALLOW_PROTOCOL> for allowed protocols (this allows the usage of git-remote-helpers) and fallback to ( http | ssh) if no allowed protocol is set
.tell nine Fwiw, Q on PM about "wxWidgets application in Perl 6" (using IP5): http://www.perlmonks.org/?node_id=1177946
.tell AlexDaniel While reviewing commits in prep for this week's MoarVM release, I found something that introduced a memory leak. It's was reverted for the release. It may (or may not) have been the cause of leaking bots.
.tell jnthn thanks for the class help. i sent thanks shortly after you gave it but i think my irc client (or network connection) failed me
.tell .tell timotimo soo, you wanted to measure maxresidentk or something? Can you tell me what were you planning to do exactly so that I can add it to statisfiable?
.tell timotimo soo, you wanted to measure maxresidentk or something? Can you tell me what were you planning to do exactly so that I can add it to statisfiable?
.tell AlexDaniel i'd like for statisfiable to run "time perl6 -e ''" multiple times and report the average maxresidentk (or maybe the lowest would make sense here actually) that it got from "time"
.tell AlexDaniel could statisfiable generate a second plot that starts the y axis at 0?
.tell perlpilot Now Test::Fuzz has generators "pluggable" it uses the method generate-samples(::?CLASS:U:) on the object type...
.tell AlexDaniel added that to the modules. to convert ANSI color to irc color, or style or color for irc
.tell nine Learning Perl 6 website Tip #30 uses a gist by "niner" ( guessing you) to get some module paths. The code seems out of date and doesn't run with recent Rakudo. With limited knowledge I created clone of gist that I think DRT https://gist.github.com/ronaldxs/0311813323e2465321dd27d4eda286af#file-module-source-pl . Could you check when you get a chance? Thanks.
.tell mr_ron Your gist matches what I have lying around here locally
.tell yoleaux2 hi 🙋
.tell nine Inline::Perl5 is failing "make test" when building on Deb 8 according to README. perl6 -v =>
.tell nine see https://www.irccloud.com/pastebin/7MQ8wKBN/
.tell AlexDaniel it looks like you implemented something already, but i'd say just return the name for them or something like that, i don't see anybody ever wanting them for real
.tell cygx reminder: your post is up next in ~12.5 hours
.tell nine Hi! could you help me? Could you tell me if it's working as expected? use a module with a singleton in 2 different files (one of then at compile time) should return different object instances? like that: https://gist.github.com/FCO/1561729d83b6737363ee871d90199184
.tell tadzik Thank you for adding a version to Terminal-ANSIColor so quickly!
.tell AlexDaniel Terminal::ANSIColor provides colorstrip() for removing ANSI color sequences from strings. See https://github.com/tadzik/Terminal-ANSIColor/blob/master/lib/Terminal/ANSIColor.pm#L70 for implementation.
.tell [Coke] Any suggestions or criticisms on my draft 12 Dec Advent blog?
.tell DrForr we've switched your advent post with titsuki's, so now you have until the 11th to write/publish yours
.tell [Coke] I'll be off the normal land-locked internet grid for Advent editing for a few hours while traveling. I just made some minor changes to the ending words and format. I will be monitoring IRC as well as my iPhone and cell carrier can handle it.
.tell [Coke] i'm going to sleep. please leave any suggestions for the blog in a gist or email or some other place i can find them. thanks.
.tell tbrowder I will do the review over coffee in the morning!
.tell gfldex yr module Typesafe::XHTML::Writer is failing tests with latest rakudo nom branch, i haven't figured out how to fix it
.tell samcv I sent you an invite to perl6 org. So you should be able to commit to docs and some other repos directly.
.tell dogbert17 I get same No such method 'consume-all-chars' for invocant of type 'Any' on my 32-bit box after 3 tries
.tell lizmat disregard RE 125938. someone else helpfully tested that.
.tell Technaton the blog post I mentioned a day ago, is up: https://perl6advent.wordpress.com/2016/12/07/set-in-your-ways-perl-6s-setty-and-baggy-types/
.tell [Coke] seems like we found a volunteer to fill up the last spot (tbrowder) so you're off the hook for your article
.tell timotimo I think it's just zoffix (RE: wordpress account for weekly perms)
.tell [Coke] Your post is up soon. I have one already-written stashed away, I could schedule if you need more time. Lemme know
.tell japhb The current scheduler is decidedly over-simplistic; it's not far off being "the simplest thing that could possibly work". Scalability is also a little bit limited by `await` not yet being non-blocking, which in turn makes us need a lot more real threads than we should.
.tell japhb Also, we never actually put stuff on the main application thread; it's not part of the pooling mechanism. Any jank you're seeing is probably due to plain old contention with other threads to get scheduled, or possibly GC stop-the-world leading to long pauses (though profiles I've looked at suggested the world-stopping ain't all that costly).
.tell japhb Also be clear, when I say "contention with other threads to get scheduled", these are real kernel threads, so it's the OS scheduler, not something in Rakudo. Rakudo's job is more to pick a smarter number of such threads to do CPU-bound stuff.
.tell babydrop will be back in an hour, i'm open to that! would be great
.tell MadcapJake don't you want to write an advent post about atom perl 6 support? :) Perhaps you know some interesting edge cases (e.g. a bunch of them in the recent PR for unicode quotes), or whatever
.tell jnthn hey! Turns out there was a bug in our code, so I guess you fixed everything. However, I found another issue: https://gist.github.com/AlexDaniel/44e5cde676dc6fdd340fd76fe04b9c1d
.tell is it a known issue? Somehow I feel that it is. Basically, a lot of output on stdout of the process started with Proc::Async clogs up something in rakudo (well, the tap itself), and Promise.in(1) does not fire up at all because of that
.tell jnthn is it a known issue? Somehow I feel that it is. Basically, a lot of output on stdout of the process started with Proc::Async clogs up something in rakudo (well, the tap itself), and Promise.in(1) does not fire up at all because of that
.tell stmuk_ does a R* install run module tests? If yes, may be worth ensuring this ticket is resolved prior to next release: https://github.com/perl6/DBIish/issues/77
.tell mefzz I submitted a ticket for the issue you mentioned: #130251
.tell [Coke] why not fix it, by the way? https://irclog.perlgeek.de/perl6/2016-12-02#i_13664916
.tell kyclark please don't teach your students to use ‚:‘ in file names. That will end in tears.
.tell MadcapJake is it resolved now? https://github.com/github/linguist/issues/2909
.tell kyclark reminder: your Advent post is meant to be published in about 10.5 hours since I write this message...
.tell [Coke] advent post problem: https://twitter.com/mcreenan/status/804320288921907200
.tell stmuk_ FYI, I've moved star/archive into just star/ since the new download page shows clearly what the latest releases are and not having to code for archive/ is less code. Also, there's no longer a need to update the `-latest-` URLs after each release, so I sent a PR to remove that from release guide
.tell MasterDuke tests?
.tell moritz I checked a few and they sucked. This one is sexy, so I went with it: https://perl6advent.wordpress.com/2015/12/18/
.tell viki in general, if .comb returns a List, it's because it already has all elements it could find already reified: not much point turning a .List into a .Seq then. Although it would be simple enough to do if we want that because of interface consistency
.tell MasterDuke never mind, I now recall what you and TimToady were fixing. This seems to be a different bug that silently fails to do the right thing
.tell kalkin-_ FWIW, nine++ improved upon your PR (also, I recommend you join #perl6-dev): https://github.com/rakudo/rakudo/commit/b597b7cd814ec19e57f8e34ace36be9811d72ba8
.tell viki Looks like it could be a code-gen issues, maybe not closure-capturing something right. That said, the better way to write all of those caeses imho is to use "constant" :-)
.tell tadzik You'd asked me to create a PR to improve Terminal-ANSIColor's example.pl, which I did a couple weeks ago in https://github.com/tadzik/Terminal-ANSIColor/pull/7 ... are you still interested in that?
.tell gfldex FYI: https://github.com/gfldex/perl6-pod-to-bigpage/issues/5
.tell moritz Are the advent articles expected to be original, i.e., never have appeared before?
.tell tbowder original content is preferred, but you can adopt existing articles if they haven't had too many readers yet
.tell lizmat found a regression: https://gist.github.com/Whateverable/abc547a754f4a2cde01e446c1a3fdbbc
.tell perlawhirl .reverse on shaped arrays is also borked :-(
.tell harmil_wk Well, I've read S11 and it states modules have "support for Perl 6 standard export semantics". Since you can't `use` Hash.pm, those export semantics are unavailable. If I'm wrong, tell me why—don't rage-quit.
.tell lizmat fwiw, 「slip @b」 seems to work much slower than 「@b.Slip」. I have no idea, maybe that's how it should be, but perhaps you might want to take a look
.tell lizmat e.g. 「my @alot = 3 xx 99999; say (slip @alot).perl」 vs 「my @alot = 3 xx 99999; say (@alot.Slip).perl」
.tell TimToady I was expecting this to work: 「my ($x, [@y]) = 24, [40, 50, 60]; say @y.perl」, but right now it is completely bugged. What would be the right result in this case? See #130079
.tell raiph Yes, but __DATA__ blocks aren't always "data" blocks in p5. They can be almost anything but are still referred to as "data blocks". I think we have the intent of the OP clear enough, just splitting hairs over names.
.tell TimToady ↑ #130081
.tell AlexDaniel see https://github.com/rakudo/rakudo/commit/37d0e46614
.tell garu if you want to return multiple values from a function, you should really use binding, which will work argument by argument, rather than list assignment, which will flatten like Perl 5's list assignment
.tell MasterDuke TOP is not going to magically start backtracking merely because .parse fails, especially since backtracking probably means you have a smelly grammar, which is why tokens and rules don't backtrack by default in the first place; so use regex and explicit $ if you really need to backtrack
.tell TimToady i think i figured out that i needed a regex, but i'm having some problem implementing it with some further discussion here, does this look like a bug to you? https://irclog.perlgeek.de/perl6-dev/2016-11-13#i_13559207
.tell pmurias "nqp bytecode" meant JAST here https://irclog.perlgeek.de/perl6/2016-10-25#i_13463907 which was just a case of me not picking the right words, as an AST clearly isn't bytecode...
.tell Xliff Aiui the only thing that makes a data block in P6 a data block is that it's a pod block called 'data'. So the 'foo' and 'qux' blocks don't count. I'll tighten the SO lang to try make that clearer.
.tell viki thanks! I think you are right (and that 2016.10 problem fixed by a moar bump)
.tell dha can you tell me what OS you are on and send me the output of `ZEF_PLUGIN_DEBUG=1 zef --debug install $problem-module-name`? That should be enough for me to solve your 'no fetching backend available' issue
.tell tbrowder I don't care about the actual naming, I was just snarking at the meaninglessness of the original one
.tell ab5tract_ I had to revert your PR #911 as it broke 6.c-errata. See https://github.com/rakudo/rakudo/pull/911#issuecomment-258854543
.tell viki last chance to object to my module breakup/naming scheme at github.com/tbrowder/Misc-Utils-Perl6
.tell ilmari last chance to object to my module breakup/naming scheme at github.com/tbrowder/Misc-Utils-Perl6
.tell tadzik Ping re: my Terminal-ANSIColor PR: https://github.com/tadzik/Terminal-ANSIColor/pull/6
.tell tadzik I ran a few ad-hoc tests of both the new and old functionality, and fixed a couple bugs because of that ... did you want me to create a test file as part of the PR?
.tell tadzik I sent you a PR to add 256-color and 24-bit RGB color support to Terminal::ANSIColor. Enjoy. :-)
.tell perlawhirl objects can be made aware of being subscripted with class C { method subscript(|c){ say "subscript of: ", c.perl } }; multi sub postcircumfix:<[ ]>(C:D \SELF, \pos){ SELF.subscript(pos) }; C.new.[1,42];
.tell viki to check Misc::Utils to see table of proposed module names after breakup
.tell ilmari please check my WIP module at github.com/tbrowder/Misc-Utils-Perl6 for proposed module names shown in the table in the README. comments, please.
.tell adaptiveoptics thanks for the tutorial, just skimmed it, but looks like it will be very useful!
.tell seatek have you considered to include the following module into the tutorial? https://github.com/jnthn/grammar-debugger
.tell viki Your solution was almost perfect (except you used my inefficient code that created the sting), i tweaked a bit and have working code that does what i want. see it at gist https://gist.github.com/tbrowder/60914f63ce2b98cd58f40006078ffb41
.tell lizmat We once had OpenGL, because back when Parrot was the only backend, I wrote those bindings. Sadly it's been a while since I've messed around with those; maybe after I finish https://github.com/japhb/Terminal-Print/blob/ui_test/examples/rpg-ui.p6 ... which, uh, may be a while.
.tell RabidGravy if you get bored, see if you can create a Perl 6 package for Minoca OS. Seems to be something for Raspberry Pies: https://blog.minocacorp.com/minoca-os-a-new-open-source-operating-system-4bb7998df3a7
.tell iBakeCake thanks for the info about rakudo and sprintf
.tell moritz i just tried to sign up for your book mailing list, but nothing happened when i clicked the 'Subscribe' button. should something have, or am i now subscribed?
.tell moritz i'm good, it worked with Chrome
.tell Zoffix the difference between my $a = rx/foo/; "foo" ~~ $a and "foo" ~~ /foo/ is in the codegen: the former goes through multi sub infix:<~~>(Mu \ opic, Mu \matcher), which Boolifies the result
.tell masak some of your modules have unmerged PRs for META file issues going back over a year ago. The issues they fix currently render the modules uninstallable (provides section). You also got a few more fixes today. All of these repos have *at least* one META PR: https://gist.github.com/zoffixznet/66edf838cca4f6ccb9baa1633ef383aa
.tell rindolf the code's at https://github.com/rakudo/rakudo/blob/eb6907e/src/core/Cool.pm#L319 You want to profile stuff with --profile argument to perl6; perl6.party's articles with "Hacking" in their title may or may not prove helpful vis-a-vis getting and building source
.tell rindolf the stuff that starts with nqp:: is nqp ops and generally would be in https://github.com/perl6/nqp (see docs/)
.tell nicq20 fwiw, until your PR is merged you can do all kinds of scary stuff in your branch (e.g. rewrite history). This is useful if you don't want some “oops” commits to go into the main repo
.tell nicq20 I am mentioning this because I have just squished your last PR (and previous one as well). I am not sure if we have any consensus on squishing, but it is probably a good idea to keep your PRs clean
.tell p3rln00b hmm i don't get any errors normally but when i run using perl6-debug I get this https://i.imgur.com/81wU5TC.png not at all the error i was expecting though but that makes more sense why i don't see it print out anything if it was erroring out before
.tell nicq20 this way it is easier to review a PR, there's no desire to squish it, and the history in the main repo is so clean you can eat off it
.tell nine Ah, thank you! Much cleaner. :-)
.tell ab5tract_ Thank you for the Terminal::Print PR merge. :-)
.tell ab5tract_ I've sent you a PR with my first 11 commits (they're all very small, just minor cleanups/tuneups/fixes). After that I'm probably going to have to expand the API for further improvements.
.tell p3rln00b Thanks.
.tell nadim no progress in the last couple of weeks. Have been side tracked by work on Inline::Perl5
.tell dogbert17 would you list yourself in https://github.com/rakudo/rakudo/blob/nom/CREDITS ? Right now you're comming up twice when announcement is generated; as dogbert and as full name
.tell El_Che JSON handler now fixed: https://rt.perl.org/Ticket/Display.html?id=129810
.tell rindolf change 'self.n._format_n;' to e.g. '0 x (30 - self.n.chars) ~ self.n'. sprintf is slow
.tell perlawhirl whyyyyyyyyy? https://irclog.perlgeek.de/perl6/2016-10-10#i_13374587
.tell Zoffix there is a PR in ecosystem for an installation template for review
.tell TimToady please have a look at the following (and above) https://irclog.perlgeek.de/perl6/2016-10-04#i_13336963
.tell timotimo I've experimented all I can with the travis build for my use case and can't come up with a better solution than my original one (I'll tweak the gist a bit later, though). I thought using environment vars would help but it just complicated the build by littering it with sub-builds, one for every env var in the .travis.yml file!
.tell hackedNODE: no they're not, but i'm going to try to fake it with some sym linking
.tell hackedNODE no they're not but i'm trying to fake it with some sym linking
.tell tushar like this? https://gist.github.com/0racle/abbc0d2f7c7e8110abbd987aacc7a5f8
.tell pmurias you're right, passing text between stages is not the way to go.
.tell TEttinger you need a term:<> to make it work. See http://perl6.party/post/Anguish--Invisible-Programming-Language-and-Invisible-Data-Theft
.tell hackedNODE yr solution is excellent and I will use it to replace the doc change i made; see it shortly
.tell masak I'm just fixing your https://github.com/tokuhirom/p6-HTTP-Server-Tiny/issues/28 while I'm in the mood :)
.tell masak I closed that PR on HST on the grounds that it doesn't spew that error any more ;-)
.tell masak err, "issue" not "PR"
.tell Zoffix IRC::Client and Perl 6 are amazing. See http://irclog.perlgeek.de/perl6/2016-09-24#i_13272146
.tell tushar For a conventient way to install libmagic, consider using the perl5 module Alien::LibMagic.
.tell nine About your question about wrap of a core method in backlog, you'd better stick "no precompilation" on your code if you do that, since it's a monkey patch and those don't compose under precomp.
.tell harmil_wk ⒗ won't work by design for a bunch of stuff. see https://github.com/rakudo/rakudo/commit/e28305cc99b969b9592b9d6606ec5b6d25995a90 for some discussion. it has a .uniprop of 'No' instead of 'Nd'
.tell perlawhirl note that just installing an older version when a newer one was already installed, won't make rakudo use that old version. If no :ver is specified in the use statement, we pick the newest version.
.tell Zoffix if you're looking for a good project to use your super powers: Build a github bot that invites everybody to the perl6 org how gets a PR merged in a repo under the perl6 org
.tell jnthn I can still repeat the hanging IO-Socket-Async.t test
.tell bioduds a cleanup of your script turned into a rewrite. Feel free to steal any ideas from here: https://gist.github.com/0racle/3d157c4ff7777cbeb2cce74dcdcee130
.tell andreoss traits are from Smalltalk, but we renamed them roles because we also use them for interfaces and for generics; otoh if by 'traits' you mean 'is foo()' and such, we borrowed those mostly from English
.tell andreoss as for method/submethod, we just made that up ourselves because we wanted to be able to isolate the initialization work for each part of an object, class by class, so we needed methods that aren't inherited
.tell melezhik your attempt to gather captures may be hindered with what I think is a bug: http://irclog.perlgeek.de/perl6/2016-09-15#i_13212176
.tell tbrowder GitHub replied about the pod: https://github.com/github/markup/issues/907#issuecomment-246855769
.tell nine recent changes still seem to have a fallout in the doc build: https://travis-ci.org/perl6/doc/builds/158600415 here's the module debug part for failing bit: https://gist.github.com/zoffixznet/8214560a3fe3a47b5708a9d3818804cb
.tell Xliff I got discouraged, especially since I've seen people have already done it. I will come back to it but not in short term.
.tell grondilu :( -- What were you going to do it in? WebGL?
.tell perlpilot look at doc change https://github.com/perl6/doc/commit/0a7d930cbb
.tell Xliff Can you merge (after sqashing) the PR please? I'm back from vacation but still lacking Perl 6 tuits...
.tell FROGGS Welcome back! Will do.
.tell TheLemonMan the issues you've brought up with zef have been addressed
.tell mst wasn't it fixed? http://irclog.perlgeek.de/perl6/2016-09-04#i_13148724
.tell danlei if you have a problem with RT still, please mail perlbug-admin@perl.org as the rt.perl.org front page suggests and then /msg me the ticket id so I can chase it up
.tell danlei This problem is rather common. In order to fix it, please write an email to perlbug-admin at perl.org with as many details you have (but chances are you don't have many, that's ok). When it's fixed, you'll get an email with a ticket id. Please this ticket ID to me or mst, so that we have more chances to track the problem down.
.tell Zoffix I had no intention of doing anything with roast. not sure how that could've happened. thanks for cleaning up :)
.tell pmurias re: `zef clone Foo::Bar` question from last week - this mostly exists already using either `zef fetch Foo::Bar` or `zef look Foo::Bar`. If it happens that Foo::Bar resolves to a .tar.gz (like from cpan) and not a git uri it will extract it for you as well
.tell pmurias I've tried to make the the 'no precompilation' hit as minimal as possible. are you using a terminal client which automatically updates COLUMNS and ROWS in the environment for you as you resize?
.tell ab5tract You need to update you META6 for Terminal::Print to add OO::Monitors as a dependency
.tell MasterDuke The +@ did not work.
.tell elohmrow the UnwindException you get trying to install a module with rakudo-j is one of the bigger known bugs with the JVM backend: https://rt.perl.org/Ticket/Display.html?id=124279
.tell elohmrow there are a lot of skipped tests in roast due to this error. you can grep for UnwindException in roast to find tests with this failure mode
.tell [Coke] You're currently listed as an editor on rakudo.org... shall I increase that to "administrator"?
.tell pmichaud that question predates you fixing the thing I couldn't fix
.tell pmichaud regarding segregating roast queue vs. rakudobug queue - no, I don't think it's worth our time necessarily to force the tickets into the right queues. We can probably do just as well by having some metadata about tickets in RT
.tell pmichaud for some tickets, it's easy or obvious to move them; but anyone working on anything in the toolchain or lang spec is going to deal with RT.
.tell ugexe thanks
.tell cuonglm No design doc, though the key data structures are described somewhat in the .h files; of note see https://github.com/MoarVM/MoarVM/blob/master/src/strings/nfg.h and https://github.com/MoarVM/MoarVM/blob/master/src/strings/normalize.h
.tell [ptc] were you the one who got coverity for moarvm?
.tell MasterDuke thanks!
.tell tbrowder Change «$serial = $0;» to «$serial = +$0;».
.tell smls: thanks! the "+$0" did the trick
.tell smls thanks! the "+$0" did the trick
.tell kyclark /:i ^ keys?|values? $ / may not do what you want. the '^' and '$' don't distribute to the different values in an alternation. i suspect you want /:i ^ [key|value]s? $ /
.tell leokitten I'll be glad to make specific changes to update the snippet, but I don't know that I'll have time to fully research the http://developers.google.com/custom-search/docs/snippets page to figure out exactly what to change.
.tell leokitten If it's just fixing a <meta> tag in the html output, I can easily do that (if someone can let me know what to put in the <meta> tag).
.tell geekosaur WRT Range.new, no if you look at Range.pm, the ..^ op definitely calls Range.new with min, max and excludes-max. It's not clear to me why doing so from user code doesn't work...
.tell sena_kun please add yourself to https://github.com/rakudo/rakudo/blob/nom/CREDITS if you don't want to show up as `Altai-man` in credits.
.tell El_Che would you add yourself to https://github.com/rakudo/rakudo/blob/nom/CREDITS so the entiry shows up as you like in release announcement, please?
.tell titsuki would you add yourself to https://github.com/rakudo/rakudo/blob/nom/CREDITS so the entiry shows up as you like in release announcement, please?
.tell AlexDaniel Are you saying #perl6 consensus and/or TimToady thinks `for Foo.kv { $^key, $^value }` is poor form? I thought current p6doc advice for placeholder variables ("use short names or ones that can be trivially understood in the correct order") was good.
.tell AlexDaniel I've edited the comment you saw to use and $^k and $^v instead -- that's what you're suggesting, right?
.tell raiph I don't remember any big discussion on that topic, so I'd say that it is a consensus of a small bunch of people who care about it. However, don't take my word on it and judge yourself, here is how the logic goes:
.tell raiph while $^onearg and $^otherarg might look very readable, it is pretty hard to tell which one comes first in the signature. Are you sure that readability is worth the extra mental step which requires the reader to sort the variable names alphabetically (…unicodically?) in his mind? If that does not sound very convincing, think about one of those times when variables are renamed during refactoring
.tell and no, $^k and $^v is not any better than $^key and $^value. Call me stupid, but I don't know which one comes first off the top of my head. I'd say that $^a $^b $^c are better.
.tell raiph and no, $^k and $^v is not any better than $^key and $^value. Call me stupid, but I don't know which one comes first off the top of my head. I'd say that $^a $^b $^c are better.
.tell raiph also feel free to read this discussion: http://irclog.perlgeek.de/perl6/2016-08-18#i_13046240
.tell raiph Using readable names for placeholder values (like $^key and $^value) is a footgun, please consider not recommending it publicly
.tell TimToady you may want to spend some attention on m: sub f { 42 }; my ($i where * == 2) = f; (backlog: http://irclog.perlgeek.de/perl6/2016-08-15#i_13023085)
.tell moritz i commented on an open issue for each of SVG ( https://github.com/moritz/svg/issues/1 ) and SVG::Plot ( https://github.com/moritz/svg-plot/issues/8 ) that seemed to be about the same problems i am having
.tell MasterDuke please open an issue for your SVG::Plot problems; otherwise I'M afraid I'll forget
.tell raydiak https://github.com/raydiak/Math-Symbolic/issues/3
.tell hankache the original motivation for making $ assignment tighter than @ assignment was actually so that things like loop ($i = 100, $j = 0; $i; --$i, ++$j) {} would work the way C/P5 people expect, while not requiring parens on @foo = 1,2,3
.tell moritz i'm trying to use SVG::Plot, but even the example doesn't produce an SVG with data, just the header with the width and height set. i see a merged PR that looked like it was for the same issue, but i'm still seeing it
.tell [Coke] unmatched} told me to contact you about bitcard and rt.perl.org about open tickets.
.tell lizmat Thanks for merging (and fixing) the perl6-bench fix!
.tell masak i'd like to discuss macros some time in the future
.tell lambd0x I was trying to get you to realize it could be written as 「my %h; for $*IN.words -> $word { %h{$word}++ }」 then I was going to tell you about 「my %h := $*IN.words.BagHash」 http://irclog.perlgeek.de/perl6/2016-08-06#i_12978231
.tell killbill Try something like this: say '𝐀𝐁𝐂'.NFKD.Str === 'ABC'
.tell bronco_creek Windows has always accepted both kinds of slashes, it's only some programs that have a problem with forward slashes.
.tell gfldex see http://irclog.perlgeek.de/perl6/2016-08-06#i_12976146 and the discussion that follows. Perhaps you'll have an idea on how we can improve the docs to make it less WATy
.tell AlexDaniel you can re-run checklink because of https://github.com/perl6/doc/commit/631c34feb99f1e49a86cc5282dcc1439aff62f0f - the output should be much better.
.tell konobi do you have any ideas what (program):1755 might refer to in a profile I'm getting from v8?
.tell FROGGS all tests in 07dtd now pass. Thanks!
.tell hoelzro with vim-perl syntax highlighting, is there a way to highlight strings delimited by curly quotes (e.g., <“ ” ‘ ’>)?
.tell AlexDaniel: if you have a time, can you update https://github.com/perl6/doc/issues/561 table? Since S26 is okay now, I assume many items were fixed and it'll be easier to search for issues with updated output.
.tell AlexDaniel if you have a time, can you update https://github.com/perl6/doc/issues/561 table? Since S26 is okay now, I assume many items were fixed and it'll be easier to search for issues with updated output.
.tell sena_kun the output is very ugly because of this: https://github.com/perl6/doc/issues/710
.tell sena_kun and the situation got even worse when another “Chat with us” link got added. The thing is, these links are on *every* page, so the tool is nice enough to warn about it every time… I will update it per your request but yeah…
.tell sena_kun ah, just found that I can --suppress-temp-redirects. OK then, will update shortly
.tell sena_kun ah no, I need -b option instead. Anyway, it will be OK.
.tell AlexDaniel - I'm sorry to bother you again, but since https://github.com/perl6/doc/commit/f40f638965 we need checklink once again. If I'm right, we eliminated almost all output. Can you give me a right command for a checklink? I tried `checklink http://localhost:3000/ -X '.*.(com|org)' -r`, but it seems it has timeout for every request, because I get only one page per second. That's toooo slow. Thanks for your efforts.
.tell smls you can autogen the function directly: my &prod = &prefix:<[*]>; say prod 1..5
.tell smls and the reason we don't have a .product to go with .sum is that .sum can be heavily optimized for huge ranges like sum 1 .. 10¹⁰⁰⁰ whereas heavy use of factorials would probably just cache the sequence from [\*]
.tell pmurias well, es6 has support on all modern browsers... though a few still have aspects that aren't implementent yet. Thankfully we can use babel to transpile from pure es6 to es5, or combo of es5/es6 for different browsers support (or use polyfills)
.tell pmurias yup... it had all been working up until a small change around code-ref/core/sixmodel =0(
.tell pmurias i have a feeling it might be due to a missunderstanding somewhere of how the 'this' keyword works
.tell pmurias I'm ok with using a cutting edge JS. There are compilers to get us to an older version if needed, no? (I think getting something working all the way through the stack is more important at this point, so if the newer JS makes your job easier...)
.tell konobi arrow function having different this semantics was one of the problems
.tell konobi I'm applying your refactoring piece by piece as there was a bit of things that where breaking stuff and also I prefer run the tests after relatively small changes rather then debug complex interactions
.tell pmurias are all the functions/methods with '$$' internal to the js nqp-runtime?
.tell AlexDaniel putting 'no precompilation' at the top of Foo2.pm6 fixed it for me
.tell pmurias getting a bunch of woes with CodeRef and $call vs $apply... =0/
.tell pmurias yeah, there seems to be some mismatch between the code-ref.js and the Operations.nqp
.tell TimToady RT #128770 is relevant to your interests :)
.tell AlexDaniel IRC::Client's rewrite is done. http://perl6.party/post/IRC-Client-Perl-6-Multi-Server-IRC-Module
.tell moritz I recall you being interested in a P6 IRC Client. IRC::Client should do the trick. It's poorly tested yet, but the API has been finalized: https://github.com/zoffixznet/perl6-IRC-Client#synopsis
.tell Zoffix f(:$f = "foo") { $f.VAR.default.say } -- I wonder if a design modification could be sold that this should say "foo" in which case :f<Nil> would work to set the default.
.tell FROGGS Finished with 07dtd in XML::LibXML, but this one was ugly. I will be going over some of the issues this week, and hope to get a PR to you around the start of Aug.
.tell pmurias are the json files that nqp-loader reads newline delimited?
.tell holyghost "Lt Commander Paris speaking"
.tell holyghost "I can't do that"
.tell moritz you may want to redact a line in the backlog by ontheroadagain a few minutes ago
.tell AlexDaniel I figgered out a way to fix [+] ... 987 for you
.tell pmurias finally got some time to look at the JS backend. see some good opportunities for improvement
.tell pmurias I've got a few implementation questions for you... i think there's some definite wins available i believe
.tell pmichaud please if you can update the Google result snippet here is their page on how to change it https://developers.google.com/custom-search/docs/snippets
.tell $unmatched} is that you, Zoffix?
.tell unmatched} is that you, Zoffix?
.tell unmatched} I'm aware of the problem, and I hope to work on it after I get the basic table working and accepted first. At the moment I don't know if that will require grammar work or not. I don't have the knowledge or experience enough yet to dig into the grammar and actions, but ShimmerFairy does. I will try an experiment later today which I hope will
.tell tbrowder Not sure if it has any relevance to your table Pod work, but just thought I'd mention this old ticket I came across about =paras in tables: https://rt.perl.org/Ticket/Display.html?id=127509#ticket-history
.tell AlexDaniel rough initial attempt at getting benchable to zoom the graph in on performance changes, https://github.com/MasterDuke17/bisectbot/commit/d09550fd29754e9b2e7efc258fd9f6da494a2676
.tell cognominal https://medium.com/@octskyward/graal-truffle-134d8f28fb69 thought about you :)
.tell TimToady your judgment on `my Int:D $i = Nil` and `sub f(-->Int:D){Nil}` is required
.tell vendethiel thx for the URL
.tell unmatched} maybe this should be fixed, take a look: http://irclog.perlgeek.de/perl6/2016-07-22#i_12892188
.tell moritz another frequent contributor. I see "Perl 6 member" on them, but they say they can't commit to docs: https://github.com/perl6/doc/pull/730
.tell pmurias awesome... nice work. I have an NQP conjecture I'd like to run past you
.tell konobi that's how it's done
.tell pmurias were you able to get the flamegraph representations from the chrome devtools?
.tell konobi using v8-profiler and loading the profiles in chrome turned out the thing I needed for profiling
.tell Zoffix here: http://irclog.perlgeek.de/perl6/2016-07-13#i_12834362
.tell killbill It's <:super>, not <:superscript>.
.tell hankache let me know if you want some guidance in improving the Perl 6 lexer; I haven't worked on it in a while, but it shouldn't be too hard to change
.tell Zoffix HTTP::Server::Simple is fixed
.tell AlexDaniel https://github.com/perl6/bisectbot/pull/1
.tell hankache please update your Pod::To::HTML and follow https://github.com/perl6/Pod-To-HTML/blob/master/examples/01-parse-files.p6
.tell pmichaud Maybe ".todo" (instead of .chain or .ps from earlier message ^^) to replace current ".then"?
.tell gfldex thanks mate! Removing the old render candidate caused perl6 --doc=HTML to fail. I sent a PR to correct it in addition to misc. changes
.tell ugexe https://github.com/perl6/doc/commit/ea4191a2e4 maybe of interest
.tell timotimo another minor update to add the line number in the source file as a column, https://github.com/MoarVM/MoarVM/pull/382
.tell timotimo https://github.com/MoarVM/MoarVM/pull/381
.tell pmurias Yes, in NQP - modulo fixups post-compile (I think) - it stays stable.
.tell pmurias and in the case where it isn't then the thing in $!do is marked as a stub, iirc
.tell timotimo https://github.com/MoarVM/MoarVM/pull/380 is a partial fix (i believe)
.tell FROGGS The latest PR for p6-XML::LibXML finishes the porting of 06elements and 08findnodes. Please let me know what you think.
.tell gfldex defined and not empty for Str is the definition of .Bool
.tell rindolf how are you doing mate?
.tell lizmat i blogged about 1h to late, you may want to include it in the next weekly https://gfldex.wordpress.com/2016/07/05/2-2-3/
.tell stmuk This potentially blocks R*, as JSON::PRC is part of Task::Star: https://github.com/bbkr/jsonrpc/issues/28
.tell masak I've created a shell account for you on irc.p6c.org, which should be more stable for IRC session than hack. Password is the same as on hack. Enjoy!
.tell tadzik https://github.com/tadzik/Getopt-Type/pull/1
.tell ugexe I'm seeing Base64 test failures
.tell moritz I recall you mentioning to point out contributors who might use a commit bit. Here's a candidate: https://github.com/MasterDuke17?tab=overview&period=monthly
.tell psch so the reason why it points to 2015-12-25 is because it says “Could not find REPL in:” and then it prints paths…
.tell psch You probably wanted something like this: bisect: EVAL “use REPL” if 1; CATCH { exit 1 if $_ ~~ /builtin/; exit 0 }
.tell tadzik I'm getting test fails with Getopt::Type
.tell FROGGS 08findnodes.t finished and all tests passing! Expect a PR, soon.
.tell tbrowder https://github.com/FROGGS/p6-Slang-Tuxic will let you put a space between a sub and its argument list
.tell ZoffixW alternate design looks superb
.tell awwaiid if you have any time, would you be able to take a look into https://rt.perl.org/Ticket/Display.html?id=128470 ? It was introduced by the loopy REPL commit, so maybe it'll be easier for you to fix it than the rest of us. Thanks! https://github.com/rakudo/rakudo/commit/6b935928a52be5819b6d384b1596e0125250a18b
.tell Xliff we care about that after the merge, aye
.tell AlexDaniel An awesome feature for bisectable would be ability to give a gist with multiple files and it test with those files. /me trying to hunt down a precomp bug ATM :)
.tell TimToady message for you: http://irclog.perlgeek.de/perl6/2016-06-22#i_12713791
.tell cognominal I've posted some questions about your slang proposal at https://gist.github.com/cognominal/d181082b41595d6f41588faf6d51a42d
.tell stevieb9 golf'd somewhat at http://irclog.perlgeek.de/perl6/2016-06-21#i_12701797
.tell stevieb9 see sortiz's explanation after my golf
.tell FROGGS Do you want to worry about the errors in t/06elements.t after the merge?
.tell FROGGS I've submitted the PR. Hope to hear from you soon.
.tell Ven thanks
.tell MasterDuke unfortunately the core dump doesn't actually give me any stack traces or anything inside :(
.tell lizmat this describes ac0dcdd very well: https://github.com/rakudo/rakudo/blob/nom/docs/ChangeLog#L9
.tell AlexDaniel sounds like the right problem and the right solution
.tell Zoffix please review https://github.com/perl6/doc/commit/d03ad1b472
.tell lizmat Nice weekly, always an interesting read. As an FYI, myself, MasterDuke17, and Daniel Green are all one person
.tell MasterDuke Daniel Green it is :-)
.tell TimToady FYI I added "Can a module alter the type system?" and "Is Perl 6 a universal unrestricted grammar?" to the slashdot article. Both questions were removed. Too controversial I guess...
.tell TimToady Forget my last comment. (The questions are there.)
.tell FROGGS could you explain what ac0dcdd fixes (e.g. in the ChangeLog) ?
.tell lizmat Seems that d5e09d9 broke Failure handling at BUILD, see: http://irclog.perlgeek.de/perl6/2016-06-13#i_12653483
.tell nine please doublecheck d854a83 , it allows Inline::Perl5 to test again ok
.tell timeless This leaves us with no open pull requests from you :) Time to submit new ones, perhaps? Thank you for your efforts!
.tell FROGGS Ran into an issue with pointers vs references in one of the tests for XML::LibXML. Let me know when you have some time to chat.
.tell perlpilot right now it does not handle gists and the way it handles long-running programs is non-ideal. But you can send your stuff to me and I'll run it in the terminal
.tell FROGGS Sure, test-driven is the better approach.
.tell jdv79 do you happen to use Perl 5.24?
.tell FROGGS If you need more help with XML::LibXML test cases, let me know!
.tell brrt interesting LuaJIT talk by one of the current DartVM engineers: http://mrale.ph/talks/vmss16
.tell tadzik Please take a look at https://github.com/tadzik/panda/issues/316
.tell FROGGS Here's my github profile -- https://github.com/Xliff
.tell nine I've tested the bugfix branch, results: RT #128156. Sorry I didn't respond sooner. I only just saw your request for tests. RT doesn't seem to be forwarding me follow-ups for this thread for some reason =(.
.tell lizmat any thoughts on http://irclog.perlgeek.de/perl6-dev/2016-06-07#i_12621041 ?
.tell hoelzro I think NaN.Rat == NaN gives False like it should, just like NaN == NaN, Inf.Rat / -Inf.Rat just DWIM now
.tell BenGoldberg that's not a bad idea, but if .resume worked on that exception (which I don't know if it does), it would probably just resume parsing the current chunk of code
.tell BenGoldberg sadly, the exception handling for that probably isn't smart enough (yet) to ask the caller to feed the parser more input
.tell Zoffix try your .wut snippet again. I thought that only I would throw in a code that produces non-zero exit code on a good commit, but since you've done it too I decided to cover it as well
.tell slobo With NC, "random crashes" normally means bad assumptions about memory ownership.
.tell sortiz I you wanna tackle something in XML::LibXML, pick either a still failing test file or grab a new test file from t/to-be-ported and move it to t
.tell awwaiid It seems that lrepl only lets you invoke one middleware layer at a time, is this by design?
.tell jnthn Here is the ticket: https://rt.perl.org/Ticket/Display.html?id=128325 (gnull++)
.tell azawawi nice one chief will merge in a second
.tell jnthn: i like the idea of a weak hash table for mixin, coupled with some eventual update scheme
.tell jnthn i like the idea of a weak hash table for mixins, coupled with some eventual update scheme
.tell sortiz I'm able to correctly access the elements of a list, but then I get random crashes, eg: moar(23669,0x7fff75b7b000) malloc: *** error for object 0x7fe448b70138: incorrect checksum for freed object - object was probably modified after being freed.
.tell slobo I push a new version of NativeHelpers::CStruct that allows you to create an "unmanaged" LinearArray from a Pointer (typed or not) and a count, hope that helps you.
.tell AlexDaniel wrote the Multi-Server part of the IRC::Client spec. Not overly happy with having server nicknames as methods, but if someone wants to act on a specific server, I guess there's no way around having an identifier. Gonna hack something up on the weekend to get a feel for it: https://github.com/zoffixznet/perl6-IRC-Client/blob/rewrite/DESIGN/01-main.md#multi-server-interface
.tell MasterDuke Thanks for the link. I haven't tried that, yet. The module is still under development, and I need to know how %?RESOURCE will work when the file still lives in the module installation directory. I will pursue this further!
.tell Zoffix hmm, so is it 「$.irc.X.quit; $.irc.Y.quit」 or 「$.irc.quit: :servers(X, Y)」?
.tell Zoffix I am not sure which one is better, but the last one provides an ability to specify multiple servers at once
.tell Zoffix also, have you thought about throwing an error if e.g. the code says 「$.irc.part: '#perl6';」 but the bot is logged in on #perl6 on multiple servers. Or maybe at least a warning?
.tell pmurias this could be of interest ? https://zeit.co/blog/async-and-await
.tell TimToady sorry, ≅ uses relative tolerance, not absolute, but my ideal choice would still be to match it.
.tell dogbert17 Hey. If you want to work on broken links, check this out: https://gist.githubusercontent.com/AlexDaniel/fc6cb8d6f66516c837268d43ecc47c33/raw/88c43b2891bed4d2f69087977e190afb22189a02/doc.perl6_checklink
.tell dogbert17 the output is slightly redundant but I've found some obvious errors while scrolling it
.tell dogbert17 the thing is, I think that all of these errors have to be eliminated… there's no reason to keep broken links. Pick any problem (e.g. <a> inside of <a>) and fix it :) The tool that I've used to generate this is w3c checklink
.tell lizmat Does caller() still work in rakudo?
.tell AlexDaniel I can argue qww<foo „hello world” bar> both ways, since it could be consistent with either Perl 6 quoting or shell quoting (since qww is supposed to emulate shell)
.tell hoelzro hey guess what, I just ran across a link to your blog, and *not* from a perl-related forum!
.tell azawawi just for you I renamed s/LICENSE/LICENCE/g in 53 modules ;-)
.tell jnthn, if you want to look at the weird channel/react/promise interaction I was on about yesterday you will need https://github.com/jonathanstowe/Audio-Libshout/releases/tag/v0.0.8 - libshout and icecast are available as packages on nearly all Linux and BSDs, you may need to adjust the icecast.xml
.tell jnthn if you want to look at the weird channel/react/promise interaction I was on about yesterday you will need https://github.com/jonathanstowe/Audio-Libshout/releases/tag/v0.0.8 - libshout and icecast are available as packages on nearly all Linux and BSDs, you may need to adjust the icecast.xml
.tell nine hoelzro++ has been able to trigger the precomp bug on the first run through with the right dependency tree (in case you missed it) RT #128268
.tell TimToady qww<foo „hello world” bar> – no quote protection here. Was it supposed to be this way or is it a bug?
.tell AlexDaniel so, if this happens again, have that person send an email, but be sure to reference that it's happened before (with ticket ids or account names if possible) and point out that it might be a trend.
.tell Zoffix noted
.tell RabidGravy Please take a look at https://github.com/perl6/gtk-simple/pull/33
.tell azawawi seems reasonable to me, I'm documenting at the moment but will test later, would like more feedback though
.tell llfourn %_ exists, analogue to @_
.tell dha it's use .tell
.tell AlexDaniel Yes, you are correct. Have commented back. :-)
.tell masak I've been effectively offline (in the IRC sense) for a week or two. Oddly, your question about adding benchmarks to perl6-bench happened to show up in my backlog. Did you get your question answered?
.tell masak And in general, the answer for perl6-bench these days is "forgiveness >> permission; just ask any committer for help". I review the commit history whenever I'm around, so if it's really off the wall, I'll notice eventually.
.tell nine I've done some more investigation on RT #128156. Results on the ticket :)
.tell AlexDaniel PR 775 addresses the first part of RT #128214 by failing when a path part doesn't exist, instead of continuing, but not resolving. the second part wasn't really a problem with resolve, you were just trying to '.dir' on a non-existent path
.tell dha now I understand your point about quote protection
.tell dha I may be wrong, but it looks like you missed the point that under :ww 'hello world' is a single element
.tell dha anyway, I've left a comment on your gist
.tell nine There is still an issue with RT #128156. But it now only fails for me 1/3 of the time :). See ticket.
.tell mst to get that blog post out
.tell nine I think RT #128156 has something to do with one of your commits on the 13th. https://rt.perl.org/Public/Bug/Display.html?id=128156
.tell gregf_ [Nil] becomes [Any]; see http://irclog.perlgeek.de/perl6/2016-05-20#i_12517566
.tell lizmat if you get a minute is there any chance of giving the "Noise Gang" a mention in the p6w next week?
.tell skarsnik at some point gptrixie could totally extract doxygen stuff like \param and the general description and then put the corresponding pod comments into the generated code :3
.tell lizmat we'll need os x debug permissions to be enabled
.tell BenGoldberg we'd find out if our lazy deserialization is good enough if removing classes from the setting doesn't change the resident set size beyond the .moarvm file shrinking
.tell jnthn I saw in my logs someone mention your 'perl6 course' (or maybe it was 'introductory class' or something)... is that online?? sounds like it would be awesome.
.tell AlexDaniel you're right, with -O3 register doesn't matter and the whole thing goes down to 0m2.284s
.tell moritz never mind, turns out i was just recursing infinitely
.tell RabidGravy hi. Please send me a pull request from your Net::ZMQ fork (even if it fails the tests for now)
.tell AlexDaniel huggable is back with 99% of its db restored :P
.tell ZoffixWin this \o[001] issue is scary
.tell ufobat thx, i hope the MoarVM problem blocking progress on P6SGI can get resolved sometime so I can have fun on it again... i'm no language or VM hacker
.tell arnsholt is Net::ZMQ still being maintained?
.tell azawawi It's maintained in the sense that I'll accept patches and such, and help out to the extent that I have time. But I'm super-duper busy ATM, sadly, so I'm not actively hacking on it ATM
.tell lizmat I found the culprit of my 'Cannot invoke this object'!, 'PROCESS::' is null in the deserialized closure, this workaround survives precompilation "BEGIN { temp PROCESS::; -> { note } }();"
.tell hotel try this for swapping values: my @arr = <a b c>; @arr[0,2] = @arr[2,0]; say @arr
.tell diakopter 'twas about dalek, but moritz++ took care off that
.tell ZoffixWin where is huggable? :)
.tell ufobat sent you a PR to fix Bailador's content_type() being broken: https://github.com/ufobat/Bailador/pull/66
.tell perlpilot sent you some fixes: https://github.com/perlpilot/p6-IO-Notification-Recursive/pull/1 There's still a problem with it: http://irclog.perlgeek.de/perl6/2016-04-29#i_12411080
.tell RabidGravy 86 days longest streak... oh well :)
.tell lizmat running a single spectest file through make fails: http://perlpunks.de/paste/show/571d1a03.5018.199
.tell marcusramberg looks like 48cc6b5 fixes your problem (RT #127968)
.tell TimToady yeah, i saw the response in my emails. LTM totally slipped my mind
.tell RabidGravy Please take a look at https://github.com/jonathanstowe/JSON-Marshal/issues/3
.tell azawawi thanks for the help! MyHTML's api was designed to be just a bunch of functions so it really does work well with just CPointers. I think I made the switch to structs incorrectly to try and solve a bug.
.tell azawawi it's "wont fix" the reasons it may break things include panda installing an old version of JSON::Fast, panda not understanding versioned depencies and "something screwed up with the resolution of modules"
.tell azawawi I tested everything with the version using JSON::Fast (having upgraded JSON::Fast) and all okay
.tell RabidGravy so basically depending on JSON::Fast does not install a newer version. panda install Test::META will fail because JSON::Marshall expects a newer JSON::Fast 0.4 than the older 0.3 that is installed with panda
.tell azawawi re Pointer[MyHTML] docs.perl6.org is wrong
.tell psch #127965 is not a bug because LTM and one-pass parsing
.tell Coke thanks for your feedback on the SixFix feedback for question 1 - have tightened up the answer a little so it doesn't stray too far from the question
.tell alexdaniel grr, missed you... remind me again, I don't want to forget ;)
.tell Herby_ (re Twitter search). It should be easy. If it's not there in by 5PM EST, remind me :)
.tell nige1 your feedback on the first sixfix includes things that aren't in the code snippet, btw.
.tell Herby_ All done! there's very basic .search in Twitter and full API .search-tweets in Twitter::API. Let me know if the args/output need to be tweaked, since I don't really know what the best use for these features are, I don't know the best args/output.
.tell AlexDaniel ooo! I have new/interesting info re: our convo about unicode character names (e.g., U+2019) … help me remember to tell you.
.tell timotimo https://gist.github.com/Xliff/11acc06d8e4c35140fa3535bbfe47329
.tell hankache I'm working on fixing bugs that prevent rakudo-js from compiling the setting
.tell lizmat nothing so far but https://github.com/perl6/roast/blob/master/S11-compunit/compunit-dependencyspecification.t
.tell jnthn With yet another input data-set, my script segfaults even in its single-threaded version (i.e. without the .race), and this time valgrind has lots to say about it: https://gist.github.com/smls/a97fdb40c0b874d8403955b5b789bf92
.tell timotimo The wordy struct idea for the $.header attribute worked! Thanks for the help!
.tell donaldh http://irclog.perlgeek.de/perl6/2016-04-13#i_12330426
.tell BenGoldberg it is parsed as a positional argument
.tell hoelzro http://irclog.perlgeek.de/perl6/2016-04-12#i_12326940
.tell lucasb the REPL prints the return value if and only if you didn't print anything.
.tell skink Commit 9dfe16e passes all tests on Windows.
.tell ZoffixWin ah yeah, thought I remembered maybe reading the ":arg" form somewhere: https://design.perl6.org/S06.html#Declaring_a_MAIN_subroutine
.tell MadcapJake ah yeah, thought I remembered maybe reading the ":arg" form somewhere: https://design.perl6.org/S06.html#Declaring_a_MAIN_subroutine
.tell jnthn hey. Perhaps leave this in a terminal for several minutes or something: 「while :; do perl6 -e 'await (start { print ‘x’; sleep 1; } for ^100); say ‘’;'; done」
.tell jnthn also, there's one thing that I've noticed. Maybe that will tell you something, who knows. See this screenshot: https://files.progarm.org/2016-04-08-032820_664x486_scrot.png . So, it looks like there's a maximum number of threads or something, so these ‘x’-es are appearing in batches. It crashes only during the second batch, hmmm…
.tell jnthn that is, the exception always appears after exactly 32 ‘x’ characters
.tell Ulti Ulti++ for getting Rakudo on glot.io... and a bonus point for ruining the sites perfect 7x4 grid :D
.tell AlexDaniel I can't even find any docs for the XML::Document Gumbo returns. By comparison, Mojo::DOM has a polished interface.
.tell stmuk our current modules.perl6.org doesn't support GitLab, so your Task::Galaxy isn't indexed....
.tell BenGoldberg I'd have to figure out how C++ mangles its functions. That's a task for another day.
.tell dogbert1 my 'first :kv' patch has been merged
.tell DrForr thanks it worked!
.tell donaldh I tried your JVM REPL fix patch, and sadly it only kinda works =/
.tell RabidGravy just in case: if some website is not accepting your myname+spammywebsite@gmail.com email, then use my.n....a...me@gmail.com, because 100% websites accept dots in emails and gmail ignores them all.
.tell timotimo re star RC, I get this error during modules-install-m: http://perlpunks.de/paste/show/56fe8298.655e.1d5
.tell timotimo this is on a boring Debian Jessie (stable) amd64
.tell abraxxa I finally have a working oracle test environment!
.tell RabidGravy https://github.com/azawawi/perl6-file-which/issues/4 # whence is now done as per your earlier request :)
.tell azawawi RARRRR!
.tell hoelzro http://hoelz.ro/blog/binding-to-cpp-with-nativecall you probably want noexcept instead of throw() :)
.tell pmurias I can do it when not at work, but I can also do it at work if I use certain URLs.
.tell ab5tract The optimizer was not quite the best place to fix the Useless use, so I cleaned it up for you. Thanks.
.tell awwaiid this nREPL sounds very interesting indeed. i'm really thinking of a simply example for the Terminal::Print distribution that involves the repl somehow, rather than anything complex. but you are describing something quite inspirational. thanks again to hoelzro++ for making it extensible in p6!
.tell abraxxa Changes that only touch DBDish/Oracle* can be pushed directly to master
.tell teatime like this
.tell MadcapJake This may be further along: http://paste.debian.net/421908/
.tell MadcapJake er, correction: https://gist.github.com/pprince/208f3218852e9ee59876
.tell teatime this (your gist) looks like it could be it, but in all the C examples I've seen the $context that you have given to CURLOPT_READDATA is something written to from inside the CURLOPT_READFUNCTION (though I'm really not understanding how that works).
.tell TimToady I might have found another mistaken 'useless use in sink context' warning: 'm: my $f = '25 25 25'; $f ~~ s:nth(*-1)[\d+] = 42; say $f'
.tell FROGGS we should put our heads together and come up with a good solution for cpandatesters updates
.tell BenGoldberg GLFW/OpenGL
.tell MadcapJake GLFW uses nonstandard terminology -- those are more commonly called bitmasks than bitfields. Bitfields typicaly refer to special fields within a C/C++ struct which act like ints, but have a nonstandard (but fixed) size. For example, "struct foo { int a : 3, b : 4, c : 1 };" has three integer members, all of which are bitfields.
.tell BenGoldberg yeah I noticed that the docs mentioned it had a 32 bit size so I just went with int32 and it worked!
.tell ugexe how do i force zef into fetching the latest sources for my repo... i updated META.info and tried 'zef update'. didnot work until i did a 'zef nuke StoreDir'
.tell lizmat if you're looking for content for the next Weekly, you could post the MeetUp for March 30th Toronto Perl Mongers. I'll be giving a "Wow, Perl 6!" talk that will go over the cool bits of Perl 6: http://www.meetup.com/Toronto-Perl-Mongers/events/228600742/
.tell RabidGravy HTTP::UserAgent seems to be forcing lower-case HTTP header names. Any chance one can override that behavior?
.tell RabidGravy 50 days github contribution streak achieved! :)
.tell timotimo (log message about [preauth] on hack) I investigated a bit and the log messages seem valid to me: nagios does not try to authenticate
.tell timotimo I see three alternatives: 1) disable checks for ssh from said monitoring server 2) give nagios an account on hack, so it can authenticate 3) live with the log messages or disable them. I dislike 2) ...
.tell skids one character shorter... <LISP PASCAL APL ADA COBOL FORTH PERL PHP>.combinations(2..*).grep({1==all .join.comb.map(->$l {.grep(*.contains: $l)})}) # though arguably less readable
.tell DrForr your module perl6-ANTLR4 has .precomp files under version control. Please git rm -r --fached .precomp && echo .precomp >> .gitignore
.tell azawawi I'd like to extend your Selenium::WebDriver to support BlackBerry devices... and I think I'd need guidance on how to setup Firefox testing. Would be nice if we could chat a little
.tell jnthn I know of at least one hang on nom when loading NativeCall in a REPL and starting another REPL. That's fixed on the relocateable-precomp branch.
.tell nine OK, maybe if that's going to land soonish I'll hold on :)
.tell arnsholt the problem is here https://github.com/azawawi/perl6-libzip/blob/master/lib/LibZip.pm6#L12
.tell arnsholt Pointer works, Pointer[zip] fails
.tell RabidGravy if you have chance to turn the thing that's too slow for you into a small benchmark, and even better add it to perl6-bench, that'd be useful
.tell jnthn: it is no more than this
.tell jnthn https://github.com/bdw/lab/blob/master/asm/cont.s
.tell Zoffix In your design notes for perl6-IRC-Client-Plugin-Factoid, you say that the plugin must handle "addressed, notice, and private message requests and respond using the same method" ... if one follows the IRC RFCs, all bots should *never* respond to a "notice" message with another message, and bots *should* use "notice" to reply to messages they got via "privmsg".
.tell azawawi Is there some code I could look at for your NativeCall type mismatch? I didn't manage to reproduce it initially, so I suspect it interacts with something a bit deeper
.tell jnthn Would it be possible to implement the MVMIOIntrospection also for syncpipe.c and if yes would it be much work or can one just add the &introspection to the op_table and it just works? - The idea is to support .native-descriptor also for pipes, e.g. when using run().
.tell mst The 13 seconds for loading Inline::Perl6 are mostly spent on compiling Inline::Perl5 which cannot be precompiled currently. So actually my work in that area will directly benefit Inline::Perl5 and ::Perl6 :)
.tell ilmari the REPL locking bug is already fixed on the relocatable-precomp branch
.tell lizmat Something is broken in commit 69426bd, with *some* calls, somehow $lib2mangler remains undefined, that results in "This type does not support associative operations … in method setup at … line 276 … in method CALL-ME … line 294""
.tell lizmat Trying the binding of nqp::hash at the $lib2mangler declaration, the *same* error is generated early, at rakudo's 'make test', I don't understand why :-(
.tell sortiz make test has always been clean for me: do you have an example that consistently fails?
.tell rudi_s It shouldn't be much harder than just filling in that entry in the op_table
.tell hoelzro your fix makes all native call tests from "make test" fail for me :-( how is that for you ?
.tell lizmat I bisected the regression reported (20x Buf.list to slurpy arg) to https://github.com/rakudo/rakudo/commit/f25d41c6782a4a2f32b6f01722b475cffbe9c3be , updated bench details in https://gist.github.com/salortiz/4ef300b4d7f2e9738024
.tell skids the rw-ness regression from yesterday is in commit fdd37a9e0bef16eb3e4bb24ddd59247e379b5038, fyi
.tell bioexpress You will probably need to convert from a Str to a Buf to work with wchar_t functions
.tell timotimo Worries me that 'CArray[uint8].new($buf)' for a $buf of size 1000, passed from 354.0723/s (n=1000) on 2015-12 to 11.2342/s (n=1000) on nom, seems MoarVM related, details in https://gist.github.com/salortiz/6e2cb6607ae1387e3e13
.tell AlexDaniel Google told me you may figured this out: I'm trying to add <dead_greek> to AltGr+g; maybe we can chat about it later.
.tell hoelzro publish the rest! I want to see how well my phonetic-kinda-dvorak layout works with those stats :)
.tell AlexDaniel ах, спасибо! Я всегда забаваю мягкий знак =/
.tell AlexDaniel I only included stats for single letters to show that my data was consistent with known frequencies; maybe I should've published the rest
.tell jnthn i just pushed a branch "generate_buildallplan", perhaps it'll be a workable starting-point for compiling BUILDALL via the compiler services. it's rather rough, though, and currently asplodes during stage parse.
.tell jnthn in particular, the nqp::getattr for $!reified really doesn't belong into the generate_buildplan_executor, but rather into compose. and i think i need to low-level-invoke that method in order to have an nqp::list instead of a List there.
.tell lizmat The signature check compiles into a postconstraint; we can't really do it out of nominal typing, I don't think, and don't know we'd want to introduce a whole new mechanism when we can compile it as a constraint.
.tell timotimo new version of DDT is waiting for merge in ecosystem. the example that took 42 seconds this morning takes less than 2 seconds.
.tell jnthn I'm a bit confused as to the meaning of Signature.ACCEPTS
.tell jnthn as it seems to include a check on "returns"
.tell lizmat btw RT #127444 is about Signature.ACCEPTS. Wrt to what it's meant to do, I thought that it A.ACCEPTS(B) should return true if B accepts a subset of A's parameters. ie every :(Real $b) ~~ :(Int $a) # True
.tell hoelzro note that you can do Str.comb(Int $n) for $n chars (which is much faster :-)
.tell lizmat another possible bug: say :($a) ~~ :($a is rw) # returns True but it should be False IMO, is rw is narrower
.tell jnthn dd :(&foo:(--> Bool)).params[0] # seems wrong to have a post-constraint here?
.tell tadzik please enable Travis CI / App
.tell tadzik please enable Travis CI / AppVeyor support. See https://github.com/tadzik/Shell-Command/pull/10
.tell it's not DWIM to me as I wouldn't ever expect that without looking it up
.tell masak it's not DWIM to me as I wouldn't ever expect that without looking it up
.tell masak it seems to be something inherited from awk
.tell azawawi well, I don't use Atom so I can't tell. It's also very hard for me to imagine switching to atom after all emacs/vim experience I had. So I am not the right person to answer this question ;)
.tell jnthn What do you think of putting named parameters always in alphabetical order in the Signature.params list ?
.tell jnthn It would greatly simplify the signature matching logic
.tell sortiz Great, thank you, I'll rebuild-all and see if DBIish install is fixed
.tell jnthn Another S17 question: should Channel.fail immediately discard unreceived items in the queue? Currently it does not seem to.
.tell japhb The DBIish install time issues are solved and a PR opened in MoarVM for a definite fix. Thanks for your report.
.tell skids No, it defaults to not losing information.
.tell skids I expect it'd be sort-of easy to write a subclass that did that
.tell jnthn thanks. I'd say it might be worth 6.d consideration to add a method which does flush the queue, otherwise Channel code gets fugly when you want to handle cancellation like that.
.tell pmurias no. it already past feature parity as well as handling things like cpan, allowing plugins, etc
.tell jnthn I noticed that in the ShapedArrayCommon role, protos like .push are not marked "is nodal": is that intentional ?
.tell brrt ilbot fixed
.tell moritz http://irclog.perlgeek.de/perl6/search is forbidden (403)
.tell azawawi cannot reproduce (re 403 for http://irclog.perlgeek.de/perl6/search); if the problem persists, please /msg me your public IP address
.tell FreezeburnV This patch should solve your issue: https://github.com/rakudo/rakudo/commit/cc0472b43e
.tell jnthn there's something strange with reading a 2.5MB file with slurp: with nqp::readallfh it takes about 80ms, with nqp::readfh with the size of the file as a buffer, it takes 350 msec (like 4x as long)
.tell jnthn I would expect the unicode handling to make things *slower*, but instead it's 4x faster than binary ?
.tell Skarsnik The idea to have all floats in Rat was a bad one. In fact, pretend that all SQL numeric types should map to a single Perl6 type is naive. I'm opening an issue for real discussion.
.tell hoelzro Overriding FAILGOAL the tests that fail are in S02-literals/char-by-number.t and S02-literals/quoting-unicode.t. In roast there are 37 tests that explicitly check for X::Comp::AdHoc, convert them to typed exceptions is for another project, though
.tell nemo I'm not deathly sick :) While still not fully well, the reason I'm not around is because I've just moved and (a) I don't have Internet at my new place yet and won't until next week. (b) I'm too busy with unpacking and settling in :)
.tell abraxxa Makeshift solutions have the tendency to stick around much longer than people think when they implement them. Imagine people starting to use Perl 6 more and more, DBIish becoming better and better and the "real" DBI taking another 3-4 years to become usable. By then it will have a hard time catching up with a well established DBIish.
.tell Herby_ i'd suggest trying Crust if you do want to peruse webdev in Perl 6
.tell moritz I'm writing a Type System p6doc page. I've made good progress but will have to pause on it for a couple days. It's not ready to publish in a gist. I wanted to "let #perl6 know" to reduce the chances of duplicated effort.
.tell hoelzro I Have a working implementation of the idea that I mentioned to you in https://github.com/rakudo/rakudo/pull/718
.tell sortiz thanks, I'll take a look when I have some time!
.tell [Coke] did you mean that to read "It includes bugfixes and optimizations on top of the 2015.12 release of Rakudo, but no new features."? as in: .12? also, that sentence lacks a full-stop in front
.tell [Coke] RT #127590 is fixed
.tell [Coke] afaics, all blockers for 2016.02 have been dealt with
.tell [Coke] All tests successful. Files=1103, Tests=51466, 277 wallclock secs (13.54 usr 3.82 sys + 1717.11 cusr 146.56 csys = 1881.03 CPU) (on 6.c-errata)
.tell DrForr I'm excited for your release of Prancer, I tried cloning the repo but didn't have any luck getting it working. I'm using Crust now and it's great!
.tell MadcapJake Thanks, what problems are you having getting it to work? Likely I don't have Crust listed as a dependency, will fix that in a moment.
.tell finanalyst your 'Intro to Sixy Perl' pastebin is awesome! you should consider publishing it somewhere more permanent!
.tell sdh https://github.com/perl6/nqp/tree/standalone-jar/tools/jvm has some probing from a while ago wrt deploying jars. i'm unsure in how far it still works nowadays, though.
.tell do we need %Test::Lab::context for anything? in ruby the defaults are set per class, having that global doesn't seem to give us much
.tell MadcapJake do we need %Test::Lab::context for anything? in ruby the defaults are set per class, having that global doesn't seem to give us much
.tell pmurias the Ruby version has the helper method as a module, so the default_scientist_context lets you change the context for any time you use the science helper. I thought the best reflection of that in P6 would be a module-scoped hash.
.tell perlpilot I got another email about GSoC from Mark Keating, they decided to hold off this year and start preparations in the fall to make for a stronger, more-organized effort for the 2017 GSoC
.tell Herby_ seems like nobody pointed this out to you, but there's already an irc bot framework in the ecosystem :) it's what synopsebot is written with
.tell [Coke] I fixed one more bug in .first(:end). Hope it's still good to include in release. If not, revert/exclude 8fdaada
.tell MadcapJake lab name => "common case", try => {...}; lab name => "complex case", try => {variant1 => {...}, variant2 => {...}}
.tell timotimo that the extend_i32 etc ops are not homogenous on a machine level; sign-extension to 64 bits require cqo which uses only rax, sign-extension to 32 bits (or 16 bits) uses movsx which can use any register
.tell timotimo tomorrow just ask me about it i can probably have them finished in $short-time
.tell stmuk since you're the genius behind VimColour, could you try to figure out why at least one of the files in project euler from the perl6-examples library makes it spin at 100% cpu for ever(?) ... i think it might be prob008-duff2.pl
.tell stmuk it looks like there's three files in euler that do failure ...
.tell llfourn I think that for the 'target-package' path, INDIRECT_NAME_LOOKUP should include CORE:: in the test for initialize "$thing".
.tell FROGGS i set the cronjob to rsync over the html files of cpandatesters to only run every 15 minutes rather than every 5
.tell sortiz ++ that is an interesting solution to the immediate problem. It should work. I think that IO::Socket::SSL inserting itself into SETTING::IO::Socket might be dangerous for setting versioning reasons. I think that not being able to introspect a CompUnit to see what's in it is another problem.
.tell Herby I cannot find any meaningful way to get diagonals…
.tell maybe you'll have a better luck
.tell b2gills oh, maybe you'll find something clever. Given a two-dimensional array, I can iterate over its rows with 「for @a], over its columns with 「for (@a[*;$_] for ^@a)」. But what would be the easiest way to iterate over its diagonals?
.tell b2gills I cannot manage to find a solution that wouldn't make me want to kill myself after an hour
.tell grondilu i just got the Image Noise example to run at 5.7 FPS instead of 1.9 FPS by using SDL_RenderPoints and a CArray of int32 instead of SDL_RenderPoint
.tell llfourn That the loader doesn't create unneeded package stubs looks good to me, so appending to those provided by settings can't be a problem, unless we want "reserved" namespaces.
.tell froggs if you look at the cpu plugin from the www host on http://collect.p6c.org i *think* the spikes that happen every 5 minutes are from rsync for cpandatesters; can we perhaps make that a bit smarter?
.tell timotimo how so?
.tell froggs what do you mean "how so"? i looked at htop when your cron job is running and it showed quite high cpu usage. maybe we can make it only fire when something actually needs changing on cpandatesters, perhaps by pushing from hack instead of pulling from www ...
.tell hoelzro if only we could resume those X::Syntax::Missing exceptions...
.tell Skarsnik Hi! I am parsing ≈6000 html files with Gumbo. Although I only store just a couple of tiny bits (Str-s) I am still running out of memory after around 822 files (16Gb RAM). I'm pretty sure that it is not me and something else is leaking this memory. Could be something in Gumbo or could be something in Perl6. Do you have any idea?
.tell Skarsnik you may also read this: http://irclog.perlgeek.de/perl6/2016-02-14#i_12037219 who knows, maybe you're the right person to fix this :)
.tell lizmat I was assuming that less bytecode implies less opcodes so better times, That worries me, I need to make a deeper analysis.
.tell hoelzro Seems to me that other exceptions to catch are those produced by HLL::Grammar.FAILGOAL, method that I suppose can be overridden too.
.tell jnthn well our test harness counts test files with passing TODOs as failed. Seems like a good thing for the master tests but not for 6.c.
.tell nine Then we should fix our test harness to not do that.
.tell nine thanks for noticing that. I've set myself up for testing ip5 now :)
.tell lizmat I found additional gains for Internals. Can you take a look at https://gist.github.com/salortiz/6555993cc5cbe746dd85
.tell nine friendly poke https://github.com/rakudo/rakudo/pull/694 :)
.tell jnthn funny question: what should we do with commits that make TODO tests in 6.c roast pass? Shouldn't 6.c roast be fudge free?
.tell sortiz: the || suggestion gives a tiny slowdown in my benchmarks, so I didn't apply that
.tell sortiz the || suggestion gives a tiny slowdown in my benchmarks, so I didn't apply that
.tell llfourn pr 694 regresses several spec tests in the 6.c branch (some of them the S01 integration tests)
.tell hankache Girl: [sudo] password for Girl:
.tell nine I don't know that we need to do anything; a pass with some passing TODO'd tests is still a perfectly fine pass.
.tell AlexDaniel [sudo] password for Girl: input credit card number
.tell timotimo I can try...
.tell jnthn shouldn't the sink-all methods all have the --> Nil return sig ??
.tell raigh Thanks for the comments, I've updated https://thelackthereof.org/Perl6_Colons
.tell raiph Thanks for the comments, I've updated https://thelackthereof.org/Perl6_Colons
.tell jnthn with apologies for .tell'ing you but just an fyi, for anyone reading this, 2 days, no comments/answer for http://stackoverflow.com/questions/35246529/nativecall-struct-which-contains-pointer (I don't feel equipped to answer it)
.tell raiph i like your performance page on the documentation
.tell jnthn MoarVM@master passes all spectest, but breaks all tests in Inline::Perl5: moar(16170,0x7fff7a3f6300) malloc: *** error for object 0x2000000000000: pointer being freed was not allocated
.tell lizmat Think that Inline::Perl5 thing'll need some ASAN/valgrind analysis...
.tell japhb can we introduce something like "setup-only mode" to perl6-bench? merge-sort starts with building a list of random numbers and rand itself is already 13x slower in rakudo than it is in perl5
.tell lizmat Fixed the NativeCall regression in Moar HEAD that affected Inline::Perl5; was a long-standing issue that another fix uncovered. Inline::Perl5 installed cleanly for me with the fix.
.tell Skarsnik I've rebased my DBIish pull-request, the Travis setup seems to work now (finds the dependent modules), the fails are the same as on my dev box and subject to API discussion
.tell jnthn do you have an idea as to when object hashes would make it to Moar ?
.tell TimToady: I hope you are feeling better. I heard you were sick a while ago and the last several times I've checked the IRC logs you haven't been around
.tell TimToady I hope you are feeling better. I heard you were sick a while ago and the last several times I've checked the IRC logs you haven't been around
.tell isBEKaml I'm only about now and then during the weekend, so may be easier to .tell me what you want to ask :)
.tell RabidGravy unfortunately the Tinky example workflow doesn't work on OS X either. I like the looks of this library though!
.tell jnthn I was looking for some advice on fixing a broken commit: http://irclog.perlgeek.de/perl6/2016-02-06#i_11998442. No rush - enjoy your weekend :-)
.tell raiph I'm not on reddit, but would be happy to discuss these things on #perl6-toolchain.
.tell perlawhirl panda has a --force option to overwrite existing installations of a module
.tell lizmat It's used in Mu.pm and is hit every single object construction. It's not buggy, but you do need to know that if anything did an nqp::getattr on the attribute then it'll have been vivified, and so count as atterinited. So if things are fetching it elsewhere in Hash/Map rather than doing the inited check, that may be the issue.
.tell MadcapJake because I wanted to be cool and popular!
.tell MadcapJake but it's my understanding META6.json is what the file should be called now and META.info is the old name so *shrug*
.tell ZoffixWin oh! I had thought it the other way around, didn't realize META6.json was the new standard.
.tell revhippie I've also figured that any example that is using 「@x.keys.map: …」 can be shortened by doing 「(… for ^@x)」
.tell revhippie but yeah, somehow list comprehension is a very underrated feature in Perl 6 :)
.tell jnthn could it be that nqp::atkey throws an error when called on a Stash, rather than returning null ?
.tell RabidGravy stringy mode dies on suid/sgid files. your method is wrong, .execute, not .executable. it's also wrong in your docs
.tell RabidGravy i've submitted a pull request... it's my first one ever. evar!
.tell jnthn is there a reason why uninitialized attributes are not isnull() ?
.tell RabidGravy updated 'ls' script: http://hastebin.com/usidanuzux.pl
.tell jnthn could it be that nqp::attrinited gives false positives? it may be buggy, as it only seems to be used in one place in nqp ?
.tell [Coke] The announcement is great news, but it really should include a download link :/ RE: http://blogs.perl.org/users/coke/2016/02/rakudo-perl-6-compiler---2016011-released.html
.tell avuserow https://gist.github.com/AlexDaniel/1e2d1c50963d37c5d43a
.tell ZoffixWin My logic is as follows: We're large enough that spammers are doing MitM attacks on us now. All the group regulars are (or should be) admins, and able to post by themselves without causing inconvenience. Non-regulars that actually have Perl 6 content (unlikely, but possible) have to wait a bit. Spammers can be blocked, deleted from the group and anyone they "invite" can burn in hell.
.tell masak I got the type checker to work well now, in Haskell :)
.tell masak I started working on the type concatenative thing again, got the arity part of type inference working now: https://gist.github.com/rightfold/9e9ba03a02ea4ac3d60f#file-js-L38-L53
.tell masak well, to some extent :p
.tell TimToady please have a look at http://irclog.perlgeek.de/perl6/2016-02-01#i_11972281
.tell CIAvash That was it, thanks!
.tell hankache panda requires a "prove.bat" command to be available for testing. This is a Perl 5 script and I guess strawberry perl is the easiest way to get it.
.tell Herby_ Is this what you want? my $var = 42; given $var { when * < 50 { say "it's less than 50" } }
.tell nine thanks dear
.tell nine but this means that in order for it to work every person on Windows needs Perl 5 installed. While this is no problem on *nix, i find it counter intuitive to tell people to install Perl 5 in order for it to work.
.tell llfourn thanks for working on the require/import stuff :)
.tell jnthn okay - so if I create a Supply off a channel, and then I have two taps on that Supply, they'll compete over the values from the Channel? That seems to be how it behaves now. If so, I want to get that in the docs. I'll either open a ticket or do a pr
.tell tadzik that's for bailador, btw
.tell azawawi I'd say LEAVE phasers
.tell ZoffixWin yes, I want to add options to add stuff to path during installation, as well as displaying the needed paths (both in the wizard)
.tell gfldex You are missing the prove tool.... I wonder how we can fix that easily
.tell hankache could you add (basic) typed arrays to the intro please?
.tell ZoffixW except that in practice rules and specs tend to be useless until backed by working implementation; all too often the carefully worked out spec doesn't work
.tell jnthn next time you're looking at asynchronous stuff you may want to cast an eye over https://rt.perl.org/Ticket/Display.html?id=127428 almost certainly unintended
.tell gfldex sure can. I'll draft something and let you know.
.tell donaldh I also got it to work by moving my %instances; into the block and changing my → state
.tell donaldh btw, how did you manage to figure out it was %instances that was causing reposessions, which triggered the bug? I only got as far as serialization, which always makes my head hurt =/
.tell gfldex check http://perl6intro.com/#_types and feel free to submit a PR if necessary
.tell skids koalatee is this: https://github.com/perl6/modules.perl6.org/blob/master/lib/ModulesPerl6/Metrics/Koalatee.pm#L21 it was never really finished, 'cause we decided to have MetaCPAN-like thing for modules instead of the current thing
.tell moritz can you consider adding MadcapJake++ to Perl 6 org on github https://github.com/MadcapJake
.tell moritz nvm diakopter++ has done it
.tell cat_ note that variable return has been specced for some time, but not yet implemented; see S06:688
.tell nine are multiple copies of source files suppose to exist in install/share/perl6/sources?
.tell donaldh godspeed, sir
.tell lizmat multiple copies of a source file are possible if you have multiple versions of the dist installed
.tell lizmat I only ever tried making subclassing Date and mixing in a role at the same time. That used to work, and was broken.
.tell hoelzro it crashes every time for me, i've tested it on OS X and Linux
.tell b2gills definitely looks like a bug to me
.tell FROGGS I installed the MS Windows® Rakudo Star release candidate on a Windows 8.1 Machine, and here are my comments: 1)MSI name is 2016.01 but within the installer it says 2015.12. These need to be in sync.
.tell FROGGS: 2) The REPL has already line editing features but when run it says "try panda install Readline or Linenoise"
.tell FROGGS 2) The REPL has already line editing features but when run it says "try panda install Readline or Linenoise"
.tell FROGGS please check https://gist.github.com/anonymous/edae0ee546d071491a73
.tell FROGGS One thing I notice right away is the MSI tells me nothing about WHERE it's copying the files. :/
.tell FROGGS not sure if it's know, but since you only mentioned that site/bin needs to be added... I also had to add C:\ akudo\bin to path
.tell FROGGS here's the conclusion of my testing RC2 and trying to install a module. perl6 itself seems to work and I tried Test.pm6 and it works too. https://gist.github.com/zoffixznet/b104d0f9a9f965c92dd3
.tell [Coke] would you mind keepin your node in check?
.tell japhb I am curious how you actually got Date subclassing to work: class A is Date { has $.a }; dd A.new(:2016year,:42a).a gives Any instead of 42
.tell jnthn when you have a moment, do you think you could describe how the Supply method on Channel is supposed to work? It's not documented and I wanted to fix that - but it doesn't seem to work like I would expect.
.tell zoffix maybe the xmas advent butterfly on perl6.org should finally fly away?
.tell orbus .Supply on a Channel gives a Supply that will emit values that are sent on the Channel. The emit will be scheduled on the thread pool. If there are multiple active supplies on the Channel, or other readers, then they compete over the values.
.tell [Coke] I have a small patch that makes hash inits (like %h = a => 42) about 10% faster, should I commit now and if so, where ?
.tell lizmat nom (I guess?) if we can cherry pick it to the release prep branch, great.
.tell FROGGS https://github.com/tadzik/panda/issues/290
.tell jnthn https://github.com/tadzik/panda/issues/290
.tell fireartist Please tell me that you aren't copying Games::Lacuna::Client wholesale to Perl 6. It is in desperate need of restructuring. I already did some of it. I would have done more, but I decided it would be easier to start from scratch (even in Perl 5). (never got a round tuit though)
.tell [Coke] 85d20f3 is the one to cherry pick
.tell zostay I can't reproduce the issue on my box (64-bit Arch Linux); let me know when you're around so we can figure this out =)
.tell gfldex I don't seem to be able to subscribe to your blog :S
.tell gfldex nvm I found it, it's a funny popup thing
.tell Skarsnik not a pair of instants (that would be called an "interval"). It's just a number of seconds.
.tell hoelzro I don't use any of those IDPs used by disqus, so here's comment on your pod blog: https://gist.github.com/skids/5c768ad78302a6b85142
.tell jdv79 thanks, managed to get a basic distro request, deps fetched, tars extracted, and finally installed with it. would have a better idea if the dists weren't months old heh
.tell Herby_ I think it's just sudo apt-get install libgumbo1
.tell ugexe oh wow. is it available to play with yet? its only ~ 1 month cause i loaded it up for the advent post. i'll move on that tomorrow.
.tell b2gills I'd hope so...
.tell ugexe its back up. maybe its time to run it better.
.tell shimmerfairy to see latest comment on RT #127108 that will give you a workaround so you can keep moving.
.tell orbus docs/module_management.md for why @*INC is gone
.tell nine thanks - taking a look
.tell jdv79 is it possible to bring the elastic search back up for your metacpan fork? its returning `Could not connect to '127.0.0.1:9200': Connection refused`
.tell Zoffix absolutely nothing. i fell off the grid for two weeks. sure, i can move them over.
.tell pierre-vigier yes X is implicitly at least created in the setting because that's where all the exceptions live
.tell tadzik Shell::Command is now failing to install on windows after the which command was added. Please consider using File::Which
.tell jnthn I don't believe you intended for https://rt.perl.org/Ticket/Display.html?id=127297 to happen :-\
.tell [Coke] looks like you have about 100 processes (some of them a few days old) running on hack. no real problem so far, just got some notifications (we're monitoring the number of procs on hack)
.tell Zoffix I pushed some ramblings to user-experience
.tell TimToady what do you think about https://github.com/rakudo/rakudo/commit/84862eef7d? It would fix the very frequent issues with panda allowing options only before command arguments (so no install --force) but violates your speculation from 2008)
.tell MadcapJake note that camelia has a lot of intentional asymmetry, in particular her left eye is not supposed to be quite centered; in addition to artistic reasons, there's a small pun on 'wall-eyed' there :)
.tell MadcapJake I like the high-heel shoes, though :)
.tell ZoffixW “roundrobin is very similar to zip. The difference is that roundrobin will not stop on lists that run out of elements but simply skip any undefined value:” (Hotkeys++)
.tell nine rather than just ignoring the order of arguments, I think it would be more powerful to allow for cascaded MAIN-like things, so that we can differentiate the options before a command from the options after
.tell mspo I'm working in a p6-LMBD
.tell pierre-vigier panda does not yet support versioned requires
.tell zwu You'll find require in src/Perl/Actions.nqp, look for sym<require>. The rest is in src/core/CompUnit*
.tell PerlJam I'd like to know more about those CPAN modules that don't work with Inline::Perl5
.tell abraxxa Sorry, had to disappear for a bit... Yes, time off was useful, thanks for asking. :)
.tell donaldh I know it-s perl6-debug-m. There's also perl6-debug-j, so I just replace "perl6-debug" in $*EXECUTABLE by "perl6"
.tell donaldh do you have any other precomp issues?
.tell Zoffix very nice blog post :)
.tell nine Somewhat exaggerated indeed, but should accept that its a fundamental question.
.tell autarch Have you thought about using network connections to communicate the results of test subprocesses to the master? I guess that could be easier than trying to get concurrent writing to files performant cross platform. And it would also make it trivial to run high level clusterwide tests :)
.tell masukomi: i'm sorry for not responding earlier; do you mean of perl6? if so, the answer (unfortunately) is no, not yet; the other answer is, with a special compunitrepo, this should be entirely feasible (e.g. the zip-archive-starting-with-an-executable trick)
.tell masukomi i'm sorry for not responding earlier; do you mean of perl6? if so, the answer (unfortunately) is no, not yet; the other answer is, with a special compunitrepo, this should be entirely feasible (e.g. the zip-archive-starting-with-an-executable trick)
.tell jdv79 How is work on the P6 variant of PAUSE/CPAN/MetaCPAN going? Maybe the repo should be moved under the perl6 GitHub organization, so it'd be easier for potential volunteers to finds and contribute to?
.tell jdv79 we also now have #perl6-toolchain you may be interested in joining.
.tell timotimo I put a rather long explanation on the ticket re why I expect $attr.package to return the role it was declared in. Enjoy!
.tell ven SDL2 is stable enough to be used by students. the SDL2::Raw module ... not necessarily :P
.tell ven also, only an SDL2 package isn't enough to make great stuff; you'd ideally also have OpenGL bindings
.tell DrForr It's a common enough trap it's worth trying to help folks with; please file a github issue on the module for that if you didn't already :)
.tell pmurias we have no stats on that sort of thing, but we've never had a java-based christmas.
.tell zoffix the perl6.org home page link to http://stevemynott.blogspot.com/2016/01/fosdem-2016-perl-dev-room-lineup.html wrongly points to http://stevemynott.blogspot.com/feeds/1832060940683956756/comments/default .. AFAIK it's not my problem with the feed :) but if it is bounce to back to me
.tell zoffix I hacked the feed to fix it .. root issue is < moritz> it's picking up the first <link>, it should pick up <link rel="alternate" type="text/html"
.tell lizmat TimToady should comment on Array::flat, the recent Day 15 advent affirms that "Simple arrays could be flattened with the .flat method"
.tell nine https://github.com/rakudo/rakudo/commit/620d8931c6
.tell sortiz I doubt that Array.flat's behavior is one of the most asked questions in #perl6. I usually read _all_ of #perl6 and cannot remember it coming up all that often.
.tell lizmat just pushed: > perl6 -e 'use v6.d; say $*ARGFILES.^name' # IO::Handle, > perl6 -e 'say $*ARGFILES.^name' # IO::ArgFiles
.tell FROGGS https://github.com/andk/pause/issues/198 may be relevant to your interests
.tell Zoffix I added at('link[type="text/html"]') (which I now see you improved)
.tell jnthn Inconistency that probably is out of scope for Grammar::{Debugger,Tracer} - once the TOP rule has matched, if there is more text to be matched by the parse('foo') method it's not reported, so Grammar::Tracer could conceivably report a MATCH when the parse() still fails.
.tell Juerd I'm going through /^F/, skip to /^G/ please :)
.tell awwaiid nice blog post! Actually...I do recommend to people to use Perl 5's Inline::Python even for critical production code. I can recommend this in good concience because that's what we do.
.tell sena_kun I added a working example to your gist, it doesn't fail but I don't have the bzip2 dev packages to check it is doing the right thing
.tell TimToady Is there a reason '≠', '≤' and '≥' are not used for '!=', '<=' and
.tell [Coke] panda will now fall back to curl and then to wget if downloading meta data failed. This should fix the proxy issues.
.tell todd_ panda will now fall back to curl and then to wget if downloading meta data failed. This should fix the proxy issues.
.tell FROGGS I'll work on getting you test output when I have some free time - hopefully later today
.tell gfldex could you please file a bug for Q:s:b{\$x}?
.tell FROGGS failing tests on arm you asked about http://paste.scsys.co.uk/504181
.tell perlawhirl because you asked about it I made https://github.com/jonathanstowe/IO-Path-Mode :) any suggestions let me know
.tell nine I rebased the query repos branch on top of nom, and pushed query_repos_old in case I b0rked it
.tell RabidGravy Got a start on List/Array page at doc/Language/list.pod
.tell hoelzro \o/ thanks a lot!
.tell _sri not sure if you'll get this, but I wasn't asking you to leave; I was trying to ask what you got out of the experience.
.tell tony-o the one and only reason why I don't want to read the log is because it's a huge waste of time to read through thousands of lines of chatter when you already know what you want to tell me. If you have useful input, please just give it.
.tell tony-o nothing would make me happier than someone coming up with a good plan where we don't have to recompile modules for every user.
.tell awwaiid CompUnit::Repository::Perl5 (from core) is the only living example. https://github.com/niner/CompUnit-Repository-Panda is an example for adding such a repo at runtime.
.tell timotimo I've removed IO::ArgFiles and its only test (WHICH.t) if you think we should have a deprecation cycle, I could do that
.tell ilmari noted re: Readline, will unbreak.
.tell zostay could you ping me when you have a chance? I have ideas about your abort() woes
.tell perlawhirl NativeCall bindings for libssh is on my TODO in the next month
.tell uvtc also notice there is a whole synopsis about lists: S07
.tell orbus The NativeCall test failures are because of issues with passing int8 and uint8 to C and back and because of nativesizeof(SomeStructOrClass) doesn't seem to work correctly. Neither have a high probability of affecting Inline::Perl5, but there may be other issues.
.tell orbus can I get detailed output of the failing tests? like if you'd run perl6 t/04-nativecall/02-simple-args.t etc
.tell DrForr Readline has a bunch of native functions with Int parameter/return types, which NativeCall now complains about
.tell lizmat Thanks for fixing my Date + role bug! Nice not to have to work around that one. :-)
.tell Skarsnik I've added a whole bunch of features to gptrixie function stuff, including putting the C definition above the generated subs https://github.com/bpetering/gptrixie
.tell Zoffix this is an odd one :) http://par.perl.org/
.tell nemo: re http://m8y.org/tmp/perl6.txt default key for me is RShift+RCtrl, for you AltGr+Shift - which one is correct?
.tell nemo re http://m8y.org/tmp/perl6.txt default key for me is RShift+RCtrl, for you AltGr+Shift - which one is correct?
.tell timotimo I don't know about keccak in Perl 6 yet, but in addition to libgit2 I'm working on bindings for libsodium, which lets you do more modern hashing
.tell bpetering great to hear we're getting libsodium bindings :)
.tell TimToady unless someone else looked into it, there's a wrong useless sink context warning: https://rt.perl.org/Ticket/Display.html?id=127147
.tell RabidGravy i²c library? Great! I will probably need that in a week or two, good that it's not something I will have to do myself… ;)
.tell timotimo camelia runs in a VM with 4 CPUs on a server with 8 cores
.tell awwaiid Congrats on your progress on Inline::Ruby! Piece of advice: don't map language constructs in one language to constructs in the other language unless they really match semantically. Because one day someone will use code that looks very closely and discovers you cheating.
.tell AlexDaniel I was saying that if there for example is no "symbol" thingy in Perl 6, I'd write a class that mimicks its behavior and can be mapped back to Ruby symbols without ambiguity.
.tell awwaiid I was saying that if there for example is no "symbol" thingy in Perl 6, I'd write a class that mimicks its behavior and can be mapped back to Ruby symbols without ambiguity.
.tell lizmat The backstory part of your presentation was great. Pitty I couldn't see the slides for the more slide assisted parts :)
.tell ugexe I left a comment on your PR. Can you split the commit? I'd gladly merge the second part. Thanks for debugging this!
.tell DrForr Any update on the OpenCV bindings for Perl 6? Can you please share your WIP github repo?
.tell RabidGravy class Foo:ver(v0.0.1) {}; say Foo.^ver
.tell Zoffix, I updated Test::Meta with your suggestions but you will need to upgrade META6 manually too
.tell Zoffix I updated Test::Meta with your suggestions but you will need to upgrade META6 manually too
.tell jdv79 please look into that process that's trying to install v5 and somehow eating 100% cpu
.tell ugexe yes, tony-o did offer to take on a rewrite/redesign, commited some temporary fixes but then disappeared from the project :/
.tell flussence if you want to play around with a SQLite based CompUnit::Repository, now's as good a time as any. Maybe https://github.com/niner/CompUnit-Repository-Panda can inspire you
.tell perlpilot if you want to play around with a SQLite based CompUnit::Repository, now's as good a time as any. Maybe https://github.com/niner/CompUnit-Repository-Panda can inspire you
.tell ugexe Support for something like -M"no precompilation" (or rather an ENV var) is only a couple of lines of implementation away. Personally, I'm more interested in fixing the reasons for people asking for that tool instead.
.tell flussence precompilation doesn't care about $*CWD. It only writes files to one of the precompilation repositories contained in modules repositories. If you use lib 'foo/lib'; we will write into foo/lib/.precomp. Without a -I, PERL6LIB or "use lib", we write into ~/.perl6/
.tell ugexe the modules architecture was not designed just for panda at all. We cannot use the precompilation files generated on install most of the time because right now we err on the side of "better precompile too often than use outdated files". mst++ is pushing in a direction that lets us use the installation files more freely, but it's tricky.
.tell ShimmerFairy please tell me exactly what the git commands are that bring commits from branch curli to branch nom by solely using "git rebase". When you can do that, you may call me ignorant as much as you want.
.tell ShimmerFairy please tell me what incentive I have for helping you in any way, when all I get from your direction is repeated public attacks on my person? Where is the fun in that? Why should I invest a single minute, when it makes me feel worse than just ignoring you as best as possible?
.tell ShimmerFairy I can certainly see the *reasons* for your frustration and the reasons for writing that blog post, but merely attacking the person responsible for your unpopular opinion does not make anything better. Your frustrated post could easily have been a post about a choice between poorly-tested code and a release without a key feature.
.tell flussence absolutely. We really should install those wrappers in /usr/bin or ~/bin if we can't write to the former. The wrappers themselves are independent of Perl or module version.
.tell tadzik could we get an uninstall verb in Panda
.tell jnthn We now do value loops using your Seq.from-loop routines, after some drama over doing block transforms outside of where @!BLOCKS is a valid way to look things up
.tell ugexe can you also tell me how to implement your "should not install a module that fails to precompile" rule?
.tell ugexe :ver<*> doesn't look like a good idea. For one because you ask for version '*' (a string). But apart from that it seems to be doing here what you intended (tested with Inline::Python:ver<*> and Inline::Python:ver(v0.1))
.tell ugexe what exactly did tony-o offer to whom? I'm genuinly curious. Also what do you mean by "then boilerplate was merged"?
.tell awwaiid panda caches the module database locally. So even after you upload a new version, your local database may be out of date and panda uses version information from there, even though the downloaded module has updated info. So panda update is necessary right now.
.tell jnthn feels to me that Supply.Promise should really be a promise on the Supplier to be kept in Supplier.done, so we wouldn't need a tap for it
.tell leont I'd use something like: .return with $!exit-status.status;
.tell brrt I built rakudo HEAD using your libuv-1.8 branch on Debian 7 and FreeBSD 10.2 (both amd64). all tests for nqp and rakudo passed -- as well as "make stresstest"
.tell kittenlips https://github.com/niner/Grammar-Highlighter does what you described
.tell DrForr Readline broken with the latest Rakudo
.tell masak consider my PR
.tell hankache I got something working now that I believe to be able to render perl6intro from pod
.tell hankache https://github.com/gfldex/pod-to-bigpage see tmp/html.html for example output
.tell gfldex i'll try it during the evening
.tell mojca Like this
.tell [ptc] yay updating docs.perl6.org .. BTW *.un~ is a vim undo file which my .vimrc has enabled
.tell kittenlips thanks! glad you like it! My highlighter is just using Atom's builtin grammar engine and the builtin node-oniguruma regex engine.
.tell Skarsnik does perl6 -e 'use Test::More:from<Perl5>; diag("foo")' # print "# foo"? If yes, we have established that passing strings from Perl 6 to Perl 5 works and it's the other way around that's the issue
.tell webstrand yes, RAKUDO_PREFIX was introduced after 2015.12
.tell colomon you're totally right, that .files call can never work. OTOH all you're missing out on is an error message, telling you that the script could not be found.
.tell colomon so the more important question is, why can it not find its script?
.tell mst I think we're gonna have to be smarter about identifying usable precomp files anyway. Right now, we have to precomp all modules again after installing any module. And precomp files created by panda are invalidated as soon as you install a vendor module package
.tell TimToady I did some more checking last night. It's not documented in the class docs on doc.perl6.org, but the base Exception class does indeed have .resume . If there's a way to prevent people calling it on custom exceptions in modules, I haven't figured it out yet.
.tell supernovus can kindly check the PR on https://github.com/supernovus/template6 It adds "use MONKEY-SEE-NO-EVAL" in order for EVAL to work
.tell nine according to bisection, ac7b2a5a8381d5f255906437d1980c9c3b77e2a5 is the rakudo commit that breaks SUPERNOVA for me (without trying Grammar::Tracer). And I can't tell why.
.tell autarch thinking more about Olson, I think wrapping .later and adjusting the timezone with .in-timezone, should be enough
.tell nine if you did use git merge, I don't see it. I don't see any merge commits for the curi branch in gitk, just the signs of a rebase. The only thing I can think is if you used 'git merge' and it decided on a fast-forward merge, in which case my blame should be redirected towards git :)
.tell lizmat should the last pair vanish in 'm: dd({:a(1), :b(2)}, :c(3));' ?
.tell Ulti re http://irclog.perlgeek.de/perl6/2015-12-26#i_11782724 please ping in 2016 about that, currently not at home
.tell gfldex dd only takes positionals and ignores nameds: that was the only way to get positionals to work and keep order of specification
.tell masak is there a reason why DateTime.new(1972,12,31,23,59,60,0).later(:86400second) and DateTime.new(1972,12,31,23,59,60,0).later(:1day) should give different results ?
.tell ugexe: Do the precomp pain points for zef have RTs? For purposes of easier naging at respective devs during the christmas pause...
.tell ugexe Do the precomp pain points for zef have RTs? For purposes of easier naging at respective devs during the christmas pause...
.tell AlexDaniel merged now with the required fix, sorry to keep you waiting
.tell ZoffixW re http://irclog.perlgeek.de/perl6/2015-12-22#i_11758406 -- the IEEE 754 standard disagrees.
.tell tadzik yeah, great! Travis status is a bit weird, why does it attempt to run it on 2015.09? Anyway, that means that https://github.com/tadzik/Bailador/issues/43 could be closed after the tests are added
.tell lizmat the one on specs about s22
.tell tadzik well, if you are not going to fix the issue with POST params then consider giving me push access so that I can do it. Same nickname on github. Basically I will just merge the pull request and apply my 1-character patch, that should make the tests green as well (if not, then I'll try to look into it, but anyway it will fix the issue with POST params…)
.tell jdv79 nothing happened in that area afaik
.tell flussence https://github.com/rakudo/rakudo/commit/98966bf157
.tell tadzik can you please merge this, as we have some extreme destruction for some users: https://github.com/tadzik/rakudobrew/pull/72
.tell [Coke] yes, I'm quite sure panda will get an uninstall
.tell ShimmerFairy I think I never told you directly how much I respect you for the public apology you posted back then. Takes great courage to do that. Thank you!
.tell lizmat i saw your ticket about spec'ing packages(mods,classes,etc) vs dist - was there any further movement on that?
.tell timotimo pdf for perl6intro is ready what should i do to include it in the next rakudo star ?
.tell masak I've made some PRs for 007. You might want to consider them.
.tell jdv79 not sure what ticket you mea
.tell lizmat why did we not borrow p5's meta spec more?
.tell TimToady there is RT #126823 for the failing test in adverbs.t
.tell TimToady adverb.t is even stranger than just load: it fails when run with PERL6LIB=lib,. as the harness does butvworks when run without
.tell TimToady It does help to do that, ys, though much more advisable is to just declared a fixed dimension array.
.tell Zoffix, is that hang before or after I changed throttle.t earlier today ?
.tell Zoffix is that hang before or after I changed throttle.t earlier today ?
.tell tadzik PR for your consideration https://github.com/tadzik/Shell-Command/pull/8 :)
.tell Skarsnik have you tried getting “timestamp”s from some table? Today I noticed that 「.allrows」 gives me “Any” instead of some meaningful timestamp
.tell Skarsnik that's on postgresql though
.tell Skarsnik Adding 「1114 => 'Str', # timestamp」 to 「lib/DBDish/Pg/Native.pm6」 seems to solve the problem temporarily, but I don't think that it is right. Do you have any ideas how to make it better?
.tell Skarsnik ah… OK, I open a new issue: https://github.com/perl6/DBIish/issues/41
.tell TimToady That must be the lovliest announcement I've ever read.
.tell timotimo no problem. I have pdf copies if it's easier
.tell [Coke] where are the 6.c tests? I don't see a branch, and 57179ad needs to go over
.tell moritz I merged a PR with a failing test in Pod::To::HTML -- the fallout seems to be that http://design.perl6.org/S26.html is gone and docs aint recompiling -- Yikes! Sorry :(
.tell TimToady thanks boss
.tell llfourn I've installed a new Pod::To::HTML, and made the build process more robust as to avoid emtpy S26.html in future (https://github.com/perl6/mu/commit/5657282404)
.tell FROGGS You forget to update the plan on t/04-nc/02.t to 13 and make the test succes on make test, when it fail for the 13th because size_t (and bool) are not listed on moar/src/core/nc.c
.tell TimToady See you fixed things up by now; I'd actually implemented Seq.from-loop while doing GLR prototyping
.tell TimToady So we'd thunk the various bits of the condition. But, so long as we get the semantics right for now, can do it that way :)
.tell abraxxa please see https://github.com/rakudo/rakudo/commit/29723e31e7
.tell jnthn fde3d620bf1b22f1b78420e1294a04c663145efe is the last commit with which I can repro run_alt. With b6f0532c2b6fcf95b65f1de63537e91821a123fd it disappeared again. Didn't have to downgrade nqp for that.
.tell timotimo the monkeyness of EVAL was weekly forgotten
.tell timotimo please ignore me, i'm visually challenged
.tell tadzik can you please check the PR on https://github.com/tadzik/Template-Mojo
.tell masak looking at DateTime.now.later(:hour(1.5)) : is there a reason for not allowing that?
.tell masak e.g., because not every hour is 3600 seconds ?
.tell MadcapJake can you please check the issue I opened related to https://github.com/MadcapJake/language-perl6fe
.tell hankache see http://irclog.perlgeek.de/perl6/2015-12-22#i_11759252 for how to put spaces around the replacement
.tell jnthn I think the answer to #126005 is to transform any loop that wants its return value into a map, including KEEP/UNDO, but also loops in non-statementlist context, as the specs ask for; that should give us the correct semantics for KEEP/UNDO and should allow for sink optimization of maps to throw away values later, hopefully after checking return for success
.tell rindolf your share/perl6 really doesn't contain anything but panda's modules and the CORE dist. And lots of pre-curli files. I really wonder where panda installed Shell::Command to
.tell TimToady seems like the last set of EVAL changes broke t/spec/S11-modules/require.t
.tell lizmat require.t doesn't fail here
.tell tadzik I sent PRs on Shell-Command and on Panda to remove "as" in case there is a rushed pre-xmas removal of it.
.tell TimToady Test.pm6 is part of the CORE dist that's installed during make install by tools/build/install-core-dist.pl. When you make changes to Test.pm6 just do a make install afterwards.
.tell TimToady require.t still fails for me: https://gist.github.com/lizmat/366474e4595276fc014c
.tell brrt https://gist.github.com/Tux/946162c6e29aa2f44a29
.tell brrt 13.769, so healthy
.tell brrt fixed LibraryCheck with v0.0.5
.tell jnthn why is isbig_I checking for the value fitting in 32bits when long is 64bits on the jvm?
.tell Ven i held of on mentioning it, but checking again shows it's still there: there's a dubious #-sigil for the private attribute 'name' in your advent post
.tell lizmat Hm, it's probably the NQP version bump, then, rather than the patch itself...
.tell lizmat Thanks for hunting it down to that one.
.tell TimToady Do we really need MONKEY-SEE-NO-EVAL for EVAL :lang<Perl5>? EVAL doesn't always mean that data is interpolated and in the case of Perl 5 or Python code, it's probably even less common.
.tell TimToady I still get a "Useless use of $p5 in sink context" for "class Bar does Inline::Perl5::Perl5Parent['Foo', $p5] { }"
.tell TimToady my $a = "foo"; $a .= say if True; # Useless use of $a in sink context (line 1)
.tell mst That strange function rakudobrew injects into the shell is there to allow rakudobrew to modify an environment variable in the current shell (needed for the "shell" subcommand). It's a direct rip off of plenv. If you don't use that feature you don't need that function.
.tell jnthn What problem is utf8-c8 supposed to solve? It doesn't round-trip due to normalization, limiting its use cases...
.tell TimToady commit 625d1c5116c3314dd broke sub a() { return 1,2,:3c }; dd a # List $var = $(1, 2, 3)
.tell hoelzro I think there is still a little issue around Linenoise and finding its helper lib https://github.com/hoelzro/p6-linenoise/issues/10
.tell Ven Ven++ good Advent post... After years of hearing the term I now know that REPL is not PERL spelt weirdly to name the weird code eval thing :P
.tell andreoss re http://irclog.perlgeek.de/perl6/2015-12-18#i_11740200 -- you'd think so, but a Q::Literal::None represents the literal `None` in the source text. we're using Val::None here to say "there's no `else` here at all"
.tell FROGGS I tried writing a slang to add a general metric postfix (needs to be more than just basic sub postfix:<>, due to ambiguity and speed issues), and I get "Cannot look up attributes in a type object" without, "Too many positionals passed; expected 1 argument but got 2" with any code after the 'use'.
.tell ShimmerFairy can I see the code?
.tell RabidGravy I have to fix some stuff on JSON-Unmarshal to handle null field ("key" : null) and number passed as string ("key" : "42") with the attr declared as Int. do you want me to make a PR?
.tell lucasb I used || False because I was adding new lines all the time, and kept getting syntax errors, but they can probably come out now
.tell jnthn the orelse/defor problem turned out to be totally my fault, a side effect of generalizing EXPR wrongly; the feed operators also blew up for the same reason
.tell jdv79 what is the status of MetaCPAN and what were the objections you had in mind for making it the "standard" Perl 6 module ecosystem instead of having two ecosystems? There were a discussion on the ecosystem stuff: http://irclog.perlgeek.de/perl6/2015-12-16#i_11727140
.tell ChristopherBotto it's write access on /tmp that controls whether unlink of /tmp/foo works. permissions on /tmp/foo's inode are not relevant.
.tell ChristopherBotto GNU rm looks at the permission as a courtesy, more or less. Hard links imply that the directory entry is independent of the inode (file). I am not sure perl6 should be in the business of enforcing anything more than OS permissions.
.tell nine Inline::Python tests complaining: http://perlpunks.de/paste/show/566fd4d4.7163.e4
.tell FROGGS t\04-nativecall\12-sizeof.t explodes on Win32/MSCV when compiling the test C lib, with "fatal error C1083: Cannot open include file: 'stdbool.h'"
.tell abraxxa I have the same error with is-deeply, I think Num does not work correctly
.tell jnthn something with line numbering has changed, is this intemtional?
.tell jnthn Merged the GSR, unfortunately doesn't fix https://rt.perl.org/Ticket/Display.html?id=125769 yet, which seems to be due to lex lowering on binding rather than sinking
.tell also tried to preselect the [0] or [2] on v Want nodes, but that ran into grief for some reason, and in fact made it largely impossible to $ast.dump without all sorts of random weirdnesses
.tell jnthn also tried to preselect the [0] or [2] on v Want nodes, but that ran into grief for some reason, and in fact made it largely impossible to $ast.dump without all sorts of random weirdnesses
.tell jnthn Do you see anything glaringly wrong in my reasoning for https://github.com/rakudo/rakudo/commit/b384d8f777?
.tell jdv79 fixed the URI2 bug.
.tell nine It seems like a pleasing, and reasonable, unification, at first glance. :)
.tell lizmat Wish you a swift recovery!
.tell lizmat aye; de-flu soon!
.tell azawawi would you be cool with a PR to File::Which to make it optionally export 'whence' instead of which? It's an ancieunte SysV user thing ;-)
.tell nine it turns out any filename mangling at all on .dll files makes windows unhappy when a .dll depends on another .dll :(
.tell nine so I can't make .dll bundling for OpenSSL work :(
.tell retupmoca Do I understand you correctly that we may not rename libfoo.dll to 79952901E881C09690ED5B86509C32B8D6E18D6B.dll?
.tell nine https://gist.github.com/lizmat/be6246dfd8d7bdf7ba2f # JVM make install full stacktrace
.tell nine confirmed i think. looks like URI2 is broke by precomp. adding no precompilation to the top of *.pm6 kills the errors.
.tell nine renaming dlls works fine if libfoo.dll is standalone. But in the case of openssl: ssleay32.dll depends on libeay32.dll. I load libeay32.dll (works great!), then I try to load ssleay32.dll which tries to find or load a dll named 'libeay32.dll'. Since I didn't load it with that filename, ssleay32 won't load because it can't find libeay32.dll
.tell hoelzro i enjoyed your post and am looking forward to having the performance be better in the future (no matter who fixes it). good work golfing it!
.tell jnthn if use lib ought to install a $?REPO and this is a lexical and we prohibit use lib in modules, those modules may not be able to load their dependencies, since they will only look in $*REPO
.tell nine thanks for looking into it! "fix is just to abort precompilation if we encounter a dependency that we couldn't load from a precomp file". wouldn't that imply that 'no precompilation;' will bubble up from it's scope into anything which depends on it? i'm assuming not, but curious to know further. hope you enjoy(ed) the party!
.tell hoelzro you left a message a while ago about Native::LibC not picking out the correct MS CRT - the v2 branch https://github.com/cygx/p6-native-libc/tree/v2 does so, among other things, but it hasn't been tested
.tell masak try the thunkyreduce branch on 007 now
.tell TimToady 007 passes all tests on thunkyreduce.
.tell tadzik You have one PR waiting for a module fix: https://github.com/tadzik/perl6-Acme-Meow/pulls
.tell masak you have a few PRs for panda/module fixes: https://github.com/masak/druid/pulls https://github.com/masak/gge/pulls
.tell ShimmerFairy you've got a PR: https://github.com/ShimmerFairy/Lingua--EN--Numbers--Ordinal/pulls
.tell arnsholt you have some PRs waiting, some since March: https://github.com/arnsholt/Algorithm-Viterbi/pulls
.tell timotimo Sent you a PR to fix the freezing issue. lucasb++ first found the problematic line. https://github.com/timo/json_fast/pull/8
.tell masak https://gist.github.com/skids/97378d26a684591f1b89 # I only felt like bikeshedding tonight
.tell AlexDaniel no precompilation; in your module and it will compile your module every time. Its dependencies however will still be precompiled.
.tell Zoffix just wanted to say thanks for the IRC Client advent post. I took the plung on prototyping a interacting with gearmand in perl6. I was able to get connected last night!
.tell masak I wouldn't mind a golf of the failure, or better yet, a spectest
.tell [Tux] TimToady++ just fixed the rakudo regression that broke Inline::Perl5's t/v6.t
.tell masak I just had a thought about the ugly {{{}}} syntax: what about a vaguely Lisp-inspired `{} ? After all, the backtick is free in P6 :) . (Though I don't think it'd have quite the same meaning as `(), hence "vaguely inspired")
.tell tadzik we're eagerly await your advent calendar post for today
.tell hoelzro I pushed my PR, the problem was my install. using prefix failed miserably for me so I just let it install right inside rakudo directory! :D I was wondering if you could point me to where I could add a commandline arg? If I add a "banner", I want there to be a `-q` or `--quiet` option for removing the banner.
.tell jnthn If it helps I was nearly turned back at the UK border a few weeks ago, I feel your pain.
.tell jnthn you'd never guess. It's a require Inline::Perl5 in the :lang<Perl5> EVAL candidate
.tell jnthn I can lookup CompUnit::RepositoryRegistry at runtime. Seems like a small price for getting rid of it in the BOOTSTRAP
.tell marchelzo Linenoise@b01750a *should* work for you
.tell RabidGravy your «ERL6LIB=blib/lib prove -v -r --exec=perl6 t/» isn't actually testing against blib, the «use lib 'lib';» in t/*.t are forcing it to use the .precomp in 'lib' instead.
.tell leont i would like to have a bit of help with Test::Harness at some point; moarvm is getting a line-based coverage reporting tool and reqiures to have an env var set; maybe something clever could be done in rakudo's t/harness?
.tell cygx Looks to me like you fixed it, thanks!
.tell jnthn Questions that arose while updating S17 https://gist.github.com/skids/fabd0304f40e24db33d0
.tell jnthn I think there's a race condition in supply syntax exposed by "(1..5).Supply.throttle( 4, { say "$*THREAD.id(): start $_"; $_ } ).wait;"
.tell jnthn fwiw, I've seen S17-supply/syntax.t hang occassionally: feels like the throttle example is exposing this more reliably
.tell tadzik Happy birthday to you :)
.tell ZoffixW does htmlify.p6 work for you right now? I'm asking because after updating rakudo/panda (precomp fallout) it got a type check error in Perl6::Documentable::new .
.tell autarch could you test Supply.throttle again and tell me if it fixed your problem?
.tell MadcapJake do you need more help on your changes to Perl6::Compiler? I would be happy to help you out with it!
.tell MadcapJack Found a really annoying breakage of the syntax highlighter: apostrophes in regexes: say so "You're wrong" ~~ /'You\'re wrong'/; That breaks all the following code after that line :(
.tell skids Thanks for the S17 gist; I look through it tomorrow when I've (hopefully) more brane :)
.tell cygx would be nice to mention in https://github.com/cygx/p6-nqp-eval why one would want to EVAL :lang<nqp>; as opposed to regular EVAL.... at least for outsiders like me to make sense of the module :)
.tell masak Looks like RT #126270 is fixed
.tell timotimo trying to make 'use trace' more flexible, but: https://gist.github.com/lizmat/639f7ffa428ba1d55861 Any suggestions on fixing the optimizer / emitted code ?
.tell arnsholt I've given up on fixing the merge/revert mess that killed %?RESOURCES
.tell nine I've given up on fixing the merge/revert mess that killed %?RESOURCES
.tell moritz_ I need access to the advent calendar blog to post my article at some point
.tell moritz_ never mind, I sent autarch an invite
.tell ShimmerFairy I had to do some emergency surgery on your Day7 posting as something went wrong with HTML-encoding the code samples; cf https://gist.github.com/cygx/0ac6aa9922627cc2c2ea for what I did in case I messed up somewhere
.tell nine this may help a bit, too: https://gist.github.com/masak/32f236bca8f2857d82fc -- I spent some time building various combinations of parts of the commit that fails.
.tell ZoffixW basically I care about two things: 1) Can I do async stuff? and 2) If one of the plugins receives a message and interprets it in some way, is there any way for it to tell other plugins to ignore this message? Because when making a bot you can throw in a bunch of stuff, but you probably don't want your bot to answer twice for some message if both plugins trigger on it. That being said, sometimes you want it…
.tell ZoffixW implement these and I will be a happy man
.tell ZoffixW maybe there has to be some sort of big dispatch thing with priorities and stuff, I don't know actually. But basically the reason I said that Net::IRC::Bot needs some reworking was because my plugins were conflicting and I was unable to find any non-ugly solution to this. One simple example: you want your bot to reply to “MyBot: !commands” message and at the same time you might want it to reply to any other message that was
.tell ZoffixW not handled, e.g. “MyBot: hi bot” should answer with “Please don't talk to me!”. That's just something to consider, maybe it will give you some ideas for better implementation.
.tell masak masak++ I've learned something: you can't have $foo-2 :)
.tell Zoffix Sorry I'm late but ... Sure, if people want to do multiple articles per day, I don't see why not. Everyone may need to increase the communication factor a little bit though. And I'm not sure if later-in-the-day articles will hide earlier ones or not, but either way, perhaps for those days that have multiple articles, the main one for the day could just be pointers to the others.
.tell Skarsnik Whoops! “Failed to copy '/home/alex/.panda-work/1449289967_1/lib/mysql/SQLite/StatementHandle.pm6”
.tell FROGGS I worked around the problem by not referencing the CompUnit::Repository directly in Distribution::Resources. I only store its path-spec which I can use to get the object later on (at runtime instead of compile time)
.tell lizmat Think the ::= patch has some spectest fallout to fix
.tell Zoffix great advent post! I didn't know it was that simple to connect to IRC!
.tell cygx thanks for the example of an instanced actions object! I ended up using that pattern. Actually my error was because I was missing the comma after my parse string (the error given confused me)
.tell flussence I see two pl6anet-atom.css
.tell flussence should I use first or seconf?
.tell Zoffix Excellent advent post, very well done!
.tell tony-o about your unanswered question before: camelia uses the restricted setting and forbids qqx to run. that's why you won't get it to say "hi" here.
.tell flussence I can't see any quick non hacky way of styling the atom with perlanet .. I think given its now linked with an orange rss symbol thats probably ok .. but thanks for the css anyway
.tell lichtkind that tablets is now reachable via SSL too: https://tablets.perl6.org/
.tell pmurias https://github.com/coke/perl6-roast-data/blob/master/log/nqp.js_summary.out Cannot find module 'tap', so everything dies.
.tell nine this is my patch which makes your example pass but breaks install_core_dist: https://gist.github.com/FROGGS/8d2235c0fdf5b70bd4be
.tell FROGGS I could fix the install-core-dist.pl issue. Sadly it's really the disabling of %.loaded and %.seen that makes my test work, confirming our working theory.
.tell FROGGS I got a reasonable workaround! Since we may not keep the lexpad either, we just don't. After merging the globals I clean the CompUnit::Handle. We have no further use for it anyway. At least none that I'm aware of.
.tell FROGGS ok, my simple test works, but I still get the same failure in Inline::Perl5 :(
.tell nine not sure how feasible it is, but it would be nicer if the precomp stuff happened in the OS's temp dir instead of .precomp. Currently, if I run prove in some dist's repo, I have to either list lib/.precomp in .gitignore or be careful not to make it part of my commit :) which is kinda annoying :)
.tell jnthn in t/spec/S17-supply/syntax.t, add =finish at line 227, to reliably cause a SIGABRT after test 16
.tell jnthn looks like there's still some voodoo going on wrt to supply blocks, at least on OS X
.tell timotimo is there a reason against using say git submodule vs copy/pasting code into the panda repo?
.tell nine https://github.com/rakudo/rakudo/pull/612 fixes my PERL6LIB issues
.tell retupmoca excellent!
.tell Zoffix probably too late but for future reference: I syntax highlight my presentation slides by opening the file in vim which is running in KDE's konsole. Then I use konsole's "Save output as" to save it to an HTML file. That I copy&paste into LibreOffice.
.tell nine why not pygmentize or Text::VimColour?
.tell timotimo Well sure, just ask them to do a PR so I can sanity-check. Not that I'm claiming the Perl 5 code in perl6-bench is particularly sane mind you ... more like "optimized for JFDI"
.tell timotimo I see you made some recent commits here: https://github.com/tadzik/panda/tree/master/ext/JSON__Fast is there a reason this is in panda, but you have a separate repo? they are out of sync btw.
.tell dj_goku panda ships with JSON::Fast so that it can use it before it is able to install stuff from the ecosystem by itself; i asked tadzik to wait with updating pandas copy because SEQ was just about to get deprecated and that would have broken panda
.tell dj_goku when all people can be assumed to have a new-enough rakudo, i'll tell tadzik to update JSON::Fast again so that the speed increase can be felt far and wide
.tell Zoffix regarding https://gist.github.com/zoffixznet/7cd03ed84dbbb4db8fa3 you just mistyped MIME::Types. The MIME is all capitals!
.tell Zoffix Recent Blog Posts on perl6.org is blank
.tell arnsholt test t/04-nativecall/11-cpp.t and it is possibly related to your commit 518b46feb9. Can you elaborate on whether the test needs to be altered?
.tell timotimo you are probably asleep by now. Just poking you for benchmarks :D. No rush.
.tell japhb how about we let perl6-bench have a list or hash of test code (exitcode tells if usable) to actual code (or filename) so we can be compatible with different rakudo versions for all stuff
.tell masask what when and default changes?
.tell ilmari I suspect if C has good performance reasons for leaving large shifts undefined, we should probably do so as well
.tell jdv79 Is p6-CPAN still a thing? If yes, how does that play with HTTP support being removed from zef?
.tell stmuk pl6anet.org's atom feed is linked to from the front page of perl6.org now; since people whose browsers don't understand feeds may be clicking it, here's a bit of css to make it readable in them (if you want it): https://gist.github.com/flussence/ed0b12992514d26afef0
.tell stmuk_ sent you a PR: https://github.com/stmuk/p6-Text-VimColour/pull/11
.tell ShimmerFairy did the credits conversion, you're off the hook.
.tell TimToady should a Promise that gets sunk get a handler installed that forwards any exceptions to $*SCHEDULER for its "unhandled exception handler" thingie?
.tell japhb how about i ask another person who can perl5 to implement that feature?
.tell [Coke] looking at https://gist.github.com/coke/63c7bbb82f075c7bb1f5 , there's a spurious Lue line that needn't be there (line 356 of output), and neither the so-called aliases nor the svn-y email for ShimmerFairy should be there either :)
.tell FROGGS panda's rebootstrap is obsolete. You can now upgrade your rakudo and keep all installed distributions (including panda)
.tell [Coke] for history author of specs : git log -p | grep -v Author | grep -v svn | grep -v @@ | grep -v Message | grep -oP '\S*\s*\S*\s*<.+?[a-z0-9]@[a-z0-9].+?>' | sort | uniq
.tell jnthn I still have a core dump on utf8-c8, but I now do not have the huge report anymore
.tell Mouq now that I can use perl6, I'm also seeing the same strange parse fail in SUPERNOVA's test.p6 that wasn't there pre-CURI. Weird, I'll have to look into it when I have time.
.tell rjbs i'm trying to get a solaris/illumos vm running, so far without success, because smartos etc. expect weird things from me, like a dns search host, and i have no idea what that all means
.tell Shimmerfairy yes, some dupes are not collapsing yet; the Lue's will be combined at some point. the aliases are from the logs. they won't be in the final result, only the "preferred" name (the one listed first).
.tell JimmyZ - that dies with "usage: grep...." - what are you trying to solve there?
.tell JimmyZ grep's -P option is only in recentish gnu grep, won't be in non-gnu or some older distributions
.tell FROGGS did the unicode loading issue with testers.p6.org for raw json get fixed?
.tell [Coke] https://gist.github.com/zhuomingliang/c6c54981be747e1c7101
.tell timotimo hey I saw you commited the SEQ change, but did you see my test change (roundtrip)?
.tell [Coke] : I forgot, some commit message with '++', didn't be showed.
.tell [Coke] And should RT reporter be listed, for those who help testing.
.tell dj_goku not that I'm aware of, last thing I found out is that rakudo's to_json implementation does it right while JSON::Fast's implementation doesnt
.tell rudi_s_ please pull all the things and rebuild rakudo, Pointer is rw works now like shown in this test: https://github.com/rakudo/rakudo/commit/2b5c41e94f
.tell rudi_s please pull all the things and rebuild rakudo, Pointer is rw works now like shown in this test: https://github.com/rakudo/rakudo/commit/2b5c41e94f
.tell PerlJam I've seen several times today people who [I assume want to write] disappointed that Advent list is full. Maybe there's some sort of "official" way we can have a free-for-all and launch a bunch of articles per day, if people wanna write, since this Christmas is THE Christmas?
.tell lizmat I know. I hope that soon someone will become annoyed enough to have an idea how to avoid that.
.tell jnthn http://irclog.perlgeek.de/perl6/2015-11-20#i_11574374 was about a non-existing dynamical variable, cf https://github.com/rakudo-p5/v5/commit/a415306b22a9d1156ec1600c4ff8cdd0ddf215c4
.tell masak see http://irclog.perlgeek.de/perl6/2015-11-29#i_11620750
.tell moritz I've updated modules.perl6.org builder so now it no longer uses /var/www/modules.perl6.org dir. I've updated the cron job and all and cleaned the /var/www/modules.perl6.org dir but left the dir itself in place, as I see it's specified in Apache's config as document root and it'll whine if it's missing. The build script now pauses for 5 seconds after each dist, so we don't hit GitHub's rate limit when we get more dists in the ecosystem.
.tell moritz The cron still runs it on 20,50 minutes. That's fine. If the script is still running, attempt to run a second copy will just exit. Since logging that from cron line like before would overwrite the log, I moved it into the update bash script to log into a temp file and only a copy the file to update.log when build script finishes a build.
.tell nine it looks like trying to build with uncommitted changes, gives the "already installed" error if you built on the latest commit before
.tell [Tux] say (10101..99999).pick(44).sort should now work
.tell [Coke] I would like to be listed as "Brad Gilbert (b2gills)" or "Bradley Allen Gilbert (b2gills)" etc. because "Brad Gilbert" by itself is very non-unique. ( usually associated with a tennis player )
.tell hankache semicolons actually not needed after if()s {}{} here: http://perl6intro.com/#_if and this can use a better example of a statement needing a semicolon: http://perl6intro.com/#_syntax_overview
.tell dha maybe you could talk to mr. foy about what timo is talkin bout
.tell jnthn I rejected RT #120916 because it suffices to stub the accessor instead.
.tell lizmat did you mean `emit $elems = $elems + 1` instead of `emit ++$elems` ? https://github.com/rakudo/rakudo/commit/7d636cfc11
.tell jnthn valgrind didn't show anything other than the abort
.tell gfldex claim a spot on https://github.com/perl6/mu/blob/master/misc/perl6advent-2015/schedule and /msg me your email address (unless you already have write access to the blog)
.tell jnthn my $sup = Supplier::Preserving.from-list((1, 2, 3));
.tell moritz post posted, set to private and to be published on 2015/12/02@00:01
.tell leont I fixed a Proc::Async issue that could cause data loss in various cases, which was quite likely responsible for your harness issues.
.tell jnthn looks like most of the problems I see in supply tests, are related to "done" and lasting out of a whenever (which should do a "done" I assume)
.tell jnthn since I have no idea where "done" is being done, I have no idea how to debug this further :-(
.tell [Coke] maybe the contributor list for 2015.12 should contain *all* contributors we can cull from the git logs ?
.tell TimToady Make the ⁿ operator take ⁻ (superscript minus) as well as ¯ (macron) for negative powers.
.tell TimToady or just drop macron…
.tell TimToady no don't drop macron. TBH Compost ^6 gives me ⁶ so when I pressed Compose ^- and got a ¯, I expected it to be a minus. I think we should still support is as such
.tell masak you seem to know math well. Does this make any sense or should it be throwing due to division by zero? m: say (0/0)+(0+1i) <camelia> rakudo-moar : OUTPUT«Inf+1i␤»
.tell jnthn the test fail in t/spec/S32-hash/adverbs.t seems to be caused by a MMD issue that only happens when running under the t/harness
.tell jnthn line 58 to be precise
.tell jnthn i had a color to add to the supply/distribute naming .. what about receive / transmit ?
.tell jnthn it has the advantage of conjuring to mind networks / radios / communication vs economics :)
.tell lizmat If you're looking for something to hack on with supplies, then re-working some of the supply tests that sleep to use virtual time would be good. Feel free to advance the scheduler a bit too; it's the simplest thing that could possibly work. :)
.tell jnthn supply test fails on OS X seem to be related to setting $*SCHEDULER
.tell jnthn could it be some missing decont on $*SCHEDULER maybe ?
.tell jnthn question: should you be able to last out of a whenever block without further consequences ?
.tell moritz i would like to book a day in advent, but don't know how!
.tell zengargoyle yes, I decided to keep | where it was, and if we want a slipper at so/not precedence, call it something else, like "sl" or some such, but then its not really saving keystrokes over |(1..10)
.tell hahainternet I recall you really wanted those superscript powers: http://irclog.perlgeek.de/perl6/2015-11-25#i_11598216
.tell FROGGS You fixed 118705 (s///); please note apparently similar rt 126721 (subst)
.tell dwarring Bool is now an enum instead of a class. It is a concious decision to now allow mixing into enums, as they are not classes and though we could make it work, it would expose lots of strange edge cases.
.tell nine looks like a06069b1d7c582f6243 broke the JVM build
.tell moritz small typo in sysroot-patch for my use-case detected, fixed and push
.tell moritz please try it and merge so I can update the Yocto package for 2015.11 ...
.tell moritz since openjdk-8 get merged upstream, soon - I can create pull request for perl6 in OE-Core hopefully soon
.tell nine I fixed the final issues and merged bool_enum :)
.tell cygx I noticed your logic for detecting the libc DLL name on Windows in Native::LibC; the MSVC variant only seems to work for VS 2011 =/
.tell jnthn https://gist.github.com/arnsholt/26d4e5fed6062917c643 # Reproduces the hang issue for me every time. May of course be caused by NativeCall shenanigans though
.tell moritz I didn't prove whether my fix don't break the intended new feature - will prove tomorrow and ping on success / update on error
.tell jnthn shaved 8% off CORE compilation by writing the idx after looking it up in interp.c http://i.imgur.com/WX35mFe.png
.tell TimToady re - and ' noted. thank you for going through the doc
.tell leont I try to golf it down to a testcase
.tell moritz how do I access the original text (i.e. including newlines) of a Pod::Block::Named object?
.tell azawawi if .perl doesn't show it, it's not there anymore
.tell FROGGS with my last rakudo patch, a panda installed into a Repository::Installation now works with the wrapper generated by rakudo and can install many modules :) The default repo list contains only Repository::Installation (perl6 -e 'say $*REPO.repo-chain')
.tell jnthn https://github.com/rakudo/star/blob/master/docs/2015-spw-perl6-course.pdf slide 23 s/# (Int)/# (Str)/
.tell [Coke] the spectest for JVM should be nearly clean by now. the three failures in S05-mass/properties-general.t (596-598) seem to happen because we test unicode characters not supported by Java 7 (the tests pass with JDK 1.8)
.tell hahainternet https://gist.github.com/peschwa/7202b9f622de517cd881 is what i hacked around a bit with re: superscript. the only things that's missing is proper integration, afaict. as in, the nqp internals complain that the lhs isn't there...
.tell hahainternet line 27 is just a debugging aid...
.tell timotimo Thanks for taking care of perl6-bench; much appreciated!
.tell jnthn I have an experimental patch for panda that makes it install into a CompUnit::Repository::Installation and successfully installed 87 distributions :) Startup time of perl6 -e 'use Test' is 0.239s
.tell lizmat (mixin if no chomp) maybe, but otoh most folks use lines, I think...so maybe not worth the complexity.
.tell lizmat are you going to OSCON? CFP is closing on Tuesday midnight Pacific time
.tell hankache re - and ' in names, alpha is only required to the right; to the left can be numeric; think of it as a sequence of identifiers separated by - or '
.tell lizmat Updated SPW slides, since I think you were going to use 'em: http://jnthn.net/papers/2015-spw-perl6-course.pdf
.tell zoffix seems like everything is "fixed" here :) ty
.tell FROGGS I don't think so, though the interactive output uses \ a lot
.tell pmurias please feel free to try to add those patches again now that the release is done; sorry I had to back them out, hopefully we can get the issue fixed easily. Thanks.
.tell nine Would be good to check/test how the updated repo stuff handles https://rt.perl.org/Ticket/Display.html?id=126688 - hopefully it catches the error and reports it...but good to check :)
.tell jnthn RT 126688 is actually a bit of a challenge since the process doing the precompilation doesn't know which modules the other process already loaded. I'll have to communicate that between processes.
.tell jnthn
.tell jnthn https://github.com/rakudo-p5/v5/blob/master/src/Perl5/Terms.pm makes pre-compiltion of modules that use it die with Serialization Error: missing static code ref for closure 'MAIN'
.tell cygx I don't actually see a MAIN in that module; any idea which one it's referring to? The issue may be something to do with the code in the mainline assigning to variables, which it then exports. But the error isn't what I'd expect...
.tell Zoffix I'll try to adjust the www server tonight; feel free to bug me if I forget
.tell lizmat http://irclog.perlgeek.de/perl6/2015-11-19#i_11564686
.tell pmurias - had to revert your recent changes around StandardReadHandle.java because they broke the build.
.tell Ven could you look at http://modules.perl6.org/ and try pressing SPACE or Down Key. Does the same issue happen as on docs.perl6.org that you can't scroll?
.tell pmurias I'd just go with our best guess rather than raising an error; it's probably more useful.
.tell moritz, I submitted the PR to merge the mojo-app branch for modules.perl6.org: https://github.com/perl6/modules.perl6.org/pull/26
.tell moritz I submitted the PR to merge the mojo-app branch for modules.perl6.org: https://github.com/perl6/modules.perl6.org/pull/26
.tell timotimo you mentioned you wanted to see a demo pre-merge of the mojo-app branch when it was done. It's here: http://perl6.xtatik.org/
.tell ZoffixW that's neat (demo modules site); really well done
.tell ZoffixMobile that's neat (demo modules site); really well done
.tell timotimo your Inline::Python call.t failure is fixed. TimToady added a sum method to Any which triggered the test failure.
.tell timotimo With my new job, I'm *really* async these days. I notice you highlighted me a couple times in the last week, but I've gotten no .tell's. Please use that! :-)
.tell cygx thanks for your help yesterday; I still am getting access violations with my compiled Moar. I'm going to try removing all VS installations and see if that works
.tell cygx MVM_JIT_DISABLE allowed the build with mingw/Strawberry Perl to complete but with make test all the NativeCall tests failed both with and without MVM_SPESH_DISABLE. With Microsoft build tools the NativeCall tests pass.
.tell psch I made that sub vs. method mistake actually give an error now. :-)
.tell nine We probably need to work at the definition of "better" somewhat, if one can't be found in the existing design docs. I think I'd go with: if there's more than one authority then always claim ambiguity. Otherwise, go with the highest version. That means :ver<3.*> and :ver<3.2+> will do the right kind of thing.
.tell nine As for why to search the two installations "in parallel": primarily 'cus I think TimToady++ wants it to be that way, but I think the reasoning is that a systemwide installed later version that matches should be considered over a locally installed earlier version. Hopefully if I'm remembering the intent wrong TimToady++ will notice when backlogging and correct me... :)
.tell jnthn just curious: why do you suggest Str $path in CompUnit::Loader and CompUnit::PrecompilationStore?
.tell TimToady There are two problems with Range.sum, It outputs a Rat for Int based ranges, and doesn't work for any other type of range ( see my comments on https://github.com/rakudo/rakudo/commit/6d970110df1c9fc160833137c66d8394b8b9b328 )
.tell nine something related to your bool_enum problem already happens in nom
.tell nine as in, adding a method to an enum in nom already reaches similar problem
.tell nine < enum Foo <a>; Foo.^add_method('bar', sub ($fles: ) { say $fles }); Foo.bar.say > is an example, which "Cannot bind to non-existing object lexical 'self'"
.tell jnthn http://irclog.perlgeek.de/perl6/2015-11-15#i_11540381 is kinda-sorta what block bool_enum from being mergeable. the segfault is the some, except with getlex instead of bindlex, which somewhat off-by-ones, as mentioned earlier
.tell jnthn "is the same [issue]", not "is the some"...
.tell nine actually, half a braino on my part. changing 'sub' in that example to 'method' works fine, for the enum itself and elements too...
.tell jnthn nvm, confused myself with sub vs method
.tell konobi I do some testing. I wouldn't say I handle the infrastructure. What's your question?
.tell cxreg I'll be back online at 22 UTC today
.tell cygx btw if you see "0x00000000foo in ?? ()" lines in your backtrace in gdb that means the jit was involved and it does things that make gds not so happy
.tell cygx i cannot reproduce the segv on windows yet, but i can't build using *just* strawberry perl either
.tell brrt his dyncall compile problem is known and documented here https://github.com/MoarVM/MoarVM/issues/292
.tell jnthn Why should CompUnit::Repository::Installation when followed by another one consider its set of modules together with its following repo's? You wrote that the best option across the two of them wins, but I don't see how one can be better.
.tell jnthn a CompUnit either matches the DependencySpecification or it doesn't. When it does, in what regard can another candidate be "better"?
.tell Zoffixw re http://irclog.perlgeek.de/perl6/2015-11-13#i_11534363 , not going to happen, since the description is optional
.tell ZoffixW re http://irclog.perlgeek.de/perl6/2015-11-13#i_11534363 , not going to happen, since the description is optional
.tell Skarsnik I fixed your 'is export{}' LTA message.
.tell TimToady thx for fixing is export{ message
.tell TimToady The backref thing ended up with a "latest contiguous matches" constraint being wanted (unless we want to bust another use case). Also, because we are smart enough already to be able to locate captures without constructing the full Match object, the backref methods on Match/Array weren't useful, so I tossed them.
.tell ugexe PR made with full passing tests and new RFC additions
.tell ugexe please see https://github.com/ugexe/zef/issues/71
.tell ugexe Ok I will investigate replacing some of the | with || (Though some of them specifically should be |) and see if that helps.
.tell [Coke] testing on JVM works again
.tell moritz would it be possible to glance at update-modules.perl6.org that's run by cron? I just wanna check my modifications integrate well with it and will offer any updates to that file once the app is ready
.tell tadzik https://github.com/tadzik/File-Find/pull/15
.tell ugexe I am going to push these tests to a branch in my fork for you to look at. They are currently failing but I can't for the life of me work out why: https://github.com/ungrim97/Perl6-Grammar--HTTP/tree/feature/refactor
.tell jnthn if we warn, we could hide the warning with a 'use DBC' to enable the experimental feature, I suppose
.tell jnthn quote languages compose by mixin, so I'd expect :c to work after :heredoc since nothing in :heredoc clobbers the <escape> of the language that is used to parse the body of the heredoc
.tell jnthn as an optimization-related language decision, we might decide to simply ignore PRE and POST blocks without a 'use DBC' to turn on that particular set of assertions
.tell jnthn i suspect with rakudo 8cba886 we'd just need multicachefind to react properly to rwness of cached captures, but that's a guess and i'm bad at C... :)
.tell jnthn s/captures/candidates/...
.tell lizmat - 4aa63f0f816ed caused 'make test' to start failing on the jvm.
.tell tadzik there you go https://github.com/tadzik/JSON-Unmarshal/pull/11 when you have a minute
.tell masak I PR'd HTML::Template to make some warnings go away: https://github.com/masak/html-template/pull/12
.tell jnthn when thinking about VM level chomping, I was thinking that chomp would be a VMIO attribute
.tell and that nqp::readlinefh would then just DTRT
.tell jnthn is there a reason for not making chomp a VMIO level attribute ?
.tell pmurias nwc10 on NFG attacks: http://irclog.perlgeek.de/perl6/2015-04-07#i_10400549
.tell mr_ron slurp is fine, we don't transform \ \
to \
on I/O, the newline pragma changes the meaning of \
in strings
.tell moritz please see http://irclog.perlgeek.de/perl6/2015-11-06#i_11494509
.tell RabidGravy pure gold, merged it :) Thanks!
.tell SZABGAB http://cpansearch.perl.org/src/SZABGAB/Syntax-Highlight-Engine-Kate-0.10/lib/Syntax/Highlight/Engine/Kate/Perl6.pm looks more like a Perl 5 highlighter, no?
.tell jnthn I wonder if PackageHOW would be a good place for the global merging code. Then it would just be a matter of GLOBALish.merge-symbols($handle.globalish-package);
.tell tadzik as discussed last night I've sent https://github.com/tadzik/JSON-Unmarshal/pull/10 to make some things easier to unmarshall nicely
.tell lizmat Bug? http://irclog.perlgeek.de/perl6/2015-11-05#i_11487475
.tell lizmat Seems the .ords question was answered by TimToady++, and yeah, S15 will want aligning with the tests
.tell nine Glad you're having fun with! ;) I don't know PackageHOW would be the right place; it's a meta-object. And GLOBALish is just a type object. It's GLOBALish:: that is the actual Stash to merge things in to. So Stash may be a better place.
.tell lizmat if *not* using :skip-empty, I now get the error Cannot unbox a type object
.tell lizmat :skip-empty leaves the trailing ""
.tell jnthn fun starts when people do use Test; use lib 't/spec/packages'; use Test::Util; because then we load a precomped Test from one repo and a precomped Test::Util from another and the latter is based on a different precomp version of Test.
.tell Zoffix yes, thanks for your PR. I'll try to take a look at the noncrossed ones soon-ish
.tell jnthn I just love these moments, when working on the implementation reveals another piece of the rationale behind your design, even when you didn't spell it out. It's like reading a good book, only in a more active way :)
.tell jnthn perhaps .ords should return a List of List of codepoints
.tell jnthn S15:148 may need some rewording, as it specifically states ord can return negative numbers
.tell FROGGS for some reason 1^..10 doesn't work in a codeblock as a quantifier. I have no idea why
.tell jnthn any idea what "get_boxed_ref could not unbox for the representation '20'" could mean ?
.tell jnthn nvm, needed some nqp::decont() sprinkling
.tell sprocket Define both structs, and then write constant TheStruct = $*KERNEL eq 'darwin' ?? TheOSXStruct !! TheLinuxStruct;
.tell RabidGravy to get the github stars on a certain github repo, get https://api.github.com/repos/rakudo/rakudo which returns a JSON response and use "stargazers_count" key :)
.tell RabidGravy I just did, thanks a lot :)
.tell hoelzro sorry, I left too many messages for you in the backlog. Please check messages around this timestamp :-)
.tell timotimo it is done!
.tell TimToady Turns out making \
magical mostly trips up over every \ \
usage out there. Should we special-case \ \
to mean The Right Thing also?
.tell jnthn either we accept \ \
as the same, or we blow up and say "you gotta say 'use newline :lf' for \ \
to work"
.tell lizmat There's a sense in which none of the metaoperators are really there, but are abstractions; up till now they've autovivified themselves as needed only when used in a normal operator slot, but now they autovivify when mentioned as nouns or function names too, in any of &foofix:<op>, foofix:<op>, or &[op] now also honor the abstraction
.tell atweiden It's something like Rats are Rat[64]s -- they overflow to Nums when the denominator of a result overflows 64 bits so consider using Rat[128+]s or FatRats instead
.tell TimToady Thanks for the quote!
.tell jnthn actually i think i have the rwness check working for moar but not jvm though
.tell timotimo found another issue with the for range optimization. Now there's only one left (last/next support) till we have a clean spec test again :)
.tell ugexe I was able to use zef on windows. Thanks for creating such a great tool. Please do keep up the awesome work.
.tell pippo thanks. fixed in https://github.com/azawawi/perl6-selenium-webdriver/commit/2fc4176b1422a64f413b069315b10d68fc14f753 :)
.tell ugexe what's zef solution for the following code https://github.com/retupmoca/P6-Compress-Zlib-Raw/blob/master/Build.pm ?
.tell lizmat you might like https://github.com/rakudo/rakudo/commit/521ac708a1
.tell rabie sorry, on your openSUSE version you'll have to do: sudo zypper ar -r http://download.opensuse.org/repositories/Mono:/Factory/openSUSE_Leap_42.1/Mono:Factory.repo ; sudo zypper in monodevelop
.tell TimToady I'm having a hard time describing your work on autogen the past week. Could you summarize that in a line of 1,2,3 (or more) for the Perl6 Weekly?
.tell tadzik it would be a great boon to me if you could take a look at https://github.com/tadzik/JSON-Unmarshal/pull/9 :)
.tell masak the mathy quote seems like type unification, if anything. as in, "assume the narrower type given the wider, because of the established context"
.tell masak the equivalent would be if 'my Any $x = 5; $x.VAR.of.say' printed (Int)
.tell masak as for the other direction, which is the interesting case, what i'd think workable there was a pragma that gave the user a lexical Any+{Numeric}, (or maybe a NumIntRat), which could be thought as subsuming the type, but it would also mean making all of Int, Num, Rat equivalent behind the scenes
.tell masak as in, any var declared as Num, Int or Rat actually has a .VAR.of of (IntNumRat) behind the scenes, which is polymorph with exactly those types
.tell masak s/has/would have given this pragma/
.tell masak, actually, i'm wrong about the relationship between c ∈ ℝ and p ∈ ℝ[X]
.tell masak actually, i'm wrong about the relationship between c ∈ ℝ and p ∈ ℝ[X]
.tell masak actually, i'm wrong about the relationship between c ∈ ℝ and p ∈ ℝ[X], which throws some of my argument out of the window... more thinking :)
.tell jnthn checking $cur_candidate<rwness> in Routine.analyze_dispatch seems to fail the parameter binding too early to still throw Parameter::RW, so i'm not sure where this check should happen
.tell pippo I just fixed it in https://github.com/azawawi/perl6-selenium-webdriver/issues/9 . Thanks for your report. Please reopen if it does not work for you.
.tell rabie welcome!
.tell azawawi Thank you! And thank you for this great module. :-))
.tell azawawi Found an asymmetric line in WebElement.pm6. In method "selected". Should the "element/$.id/selected" be "element/$($.id)/selected". Did not go through the code. Only asymmetry is bugging me. o/
.tell rarara__ I've completed GLRifying Str.split, but still need to look at a few spectest fails, will continue after some sleep
.tell japhb the truth? I cargo culted .CREATE without thinking that much about it. I had a look at IterationBuffer.push, saw that it just does nqp::push and thought that if we cannot inline that, we have much bigger problems. So I rather avoided breaking encapsulation.
.tell japhb The good news is, that indeed, it does not matter all that much. Using nqp::push directly would be about 3 % faster. My guess is that once spesh did it's work, they're equal.
.tell tokuhirom If you Thread.start, you can also pass :app_lifetime which will have the thread automatically killed at the end of the program
.tell azawawi Is there a way to tell Selenium::Webdriver::Firefox not to look for the prefs.json in the subdir it is executed from?
.tell azawawi I may have temporarily mislaid that code, I'll find it eventually
.tell psch That's my patch that does not help anything: https://gist.github.com/FROGGS/6f11befd8ca37b91fb4d
.tell jnthn Welcome back! Since it wasn't mentioned in the p6weekly, we've started work on implementing your CompUnit design in the curli branch. Progress is somewhat slow but steady. It's a good example of the best way to understand a design being to implement it :)
.tell jnthn use nqp; class A { method a is raw { nqp::list(1,2,3) } }; dd nqp::atpos(A.a,0) # is this failure intended, side effect or a NYI ?
.tell jnthn it works with my/our subs: not working with class method is holding back internal sub -> Rakudo::Internals migration
.tell lizmat Intended; we assume subs are in the same language and so will always return us a value that doesn't need hll-mapping, but for method calls we always hll-map (at the callee side, so "is raw" doesn't change anything)
.tell lizmat You can explicitly nqp::findmethod(A, 'a')(A) to avoid it. Alternatively, we could special-case calls on Rakudo::Internals to not code-gen a hllize, which would be the more pretty option in the code.
.tell leont is there anything wrong with my patch here? https://github.com/rakudo/rakudo/commit/6063886343
.tell jdv79 there is a .set_readonly method on Attribute, which probably helps
.tell psch i don't see that but i'm probably a few weeks old here. thanks.
.tell AlexDaniel you can use .Slip for the <foo bar baz> xx * thing to make it flat: <foo bar baz>.Slip xx * will give you a lazy list of these three elements repeated
.tell timotimo “azawawi: personally, i'd shell out to cp” – noooo… use “run”, you don't need the shell to call “cp“ command…
.tell masak hejki told us to say hi to you at EuroOSCON
.tell yoleaux define recursion
.tell jnthn No, there was no input from TimToady yet. Although I like my pull request the way it is, there are a couple of things to think about: “out” or “runout”, “runout” or “run-out”, and whether qx// should still exist with “no strict”.
.tell Ven RE learnxiny: any time :) I finished with the docs and submitted my PR (#1434), which got merged. The ones that aren't crossed out are still open. And I don't know a suitable answer :)
.tell lizmat shell(«echo "world hello"»); # I wonder if this problem is associated with other “cannot unbox to a native string” problems.
.tell lizmat not that it should work, but the error message is awful
.tell jnthn on your blog, http://jnthn.net/papers/2008-fpw-rakudo-slides.pdf is broken
.tell CurtisOvidPoe maybe the awaiterator is something for you ?
.tell timotimo Looks like the architecture underlying the online perl 6 is https://alexm.github.io/writing-tutorials-for-perltuts/#/6/4
.tell tadzik The answer to your question is probably import signal; signal.signal(signal.SIGINT, signal.SIG_DFL) # because Python is so user friendly
.tell leont why EVAL 'use' instead of require? isnt it basically the same?
.tell psch 'control exception without handler' is more about CX::WARN etc I think
.tell FROGGS yeah, they are. 'control exception without handler' is the new "Unknown control exception type %d"
.tell FROGGS apparently Exception.print_control doesn't deal correctly with compound control exception, e.g. 4104 is redo_label, but print_control only does == nqp::const::CONTROL_*, nothing bitwise
.tell FROGGS of course, those probably still shouldn't arrive there in the first place but properly control...
.tell lizmat it's gotten rid of the calling match on Any. What I orignally wanted was { not $rx.defined or $_ ~~ $rx }. But { not $rx or so $rx } now means { not $_ ~~ $rx or $_ ~~ $rx } # always true
.tell lizmat actually the 'so' is redundant it seems { not $rx or $rx } means the same thing.
.tell psch My "doesn't even warrant a comment" was highly sarcastic :) In fact I already have the comment you suggested in there.
.tell konobi how should I profile node.js applications (to see if there are any low hanging speedups for nqp-js)
.tell FROGGS it seems the syntax I was looking for was: try { EVAL q{ use Terminal::ANSIColor; &colored } } // sub ($text, $) { $text }
.tell colomon is very-broken-combinations in List still needd ?
.tell colomon I've removed the code with 987cdeec38
.tell llfourn commit 3c9c4591cf0f666607dd made my $rx = /./; say <one two three>.grep: { not $rx or so $rx } DWIM
.tell FROGGS https://github.com/rakudo/rakudo/commit/416b5aa612
.tell zostay some research suggests C# has a ?. operator, which means "if the LHS is not null, call the RHS as method on it"
.tell zostay the semantic difference, as i see it, is that we can have methods that work as class methods or instance methods but don't (neccessarily) know before we try to dispatch
.tell zostay whereas C# can say "ok this is{,n't} always an instance method" during compile time
.tell ugexe now i'm curious - what did you mean here exacltly?: http://irclog.perlgeek.de/perl6/2015-10-19#i_11401252 & http://irclog.perlgeek.de/perl6/2015-10-19#i_11401292
.tell konobi I'm not really sure one I put the various compiled files in the package.json containing directory, how should the files be loaded
.tell should the user npm install -g nqp-js and the use Foo will be translated to 'require("nqp-js/Foo")'?
.tell konobi should the user npm install -g nqp-js and the use Foo will be translated to 'require("nqp-js/Foo")'?
.tell n0tjack Talking to yourself makes you look crazy.
.tell TimToady: What kind of a name is TimToady:?
.tell YourMom to call me
.tell rindolf - oh, because your copy of the problem statement is missing formatting.
.tell jnthn i've submitted a PR for Grammar::Debugger to fix Grammar::Tracer for most recent rakudo build
.tell lizmat I feel like timotimo++ there. Supply.await not waiting for anything feels strange. What it does is more like a for-await, since what it gives you can be used with await. I'd rather call it .Promise, too.
.tell lizmat or if coercion is not the mechanism we're after (I'm undecided on that), something completely different. Maybe "waiter" ;)
.tell timotimo for some reason, your constants in gtk_cairo_shooter are.. undefined in the rest of the file..
.tell timotimo btw, `perl6 livecoding.p6` errors with "Internal error: Unwound entire stack and missed handler" on my computer :[
.tell lizmat pretty much everything I did this week is reflected in the git log
.tell szabgab you might find something like https://gist.github.com/jonathanstowe/c569f10659f13cb43abd is even more idiomatic
.tell szabgab but otherwise yeah great :)
.tell konobi I'll replace the build system for nqp-js with a saner one tommorrow
.tell cygx good catch!
.tell timotimo it is done. We now have a p6for desugar op. Hope it helps you :)
.tell jnthn could you add some information to https://rt.perl.org/Ticket/Display.html?id=112666 on what you think the actual bug is? "not doing the right kinda thing with arrays" doesn't tell me that much ;) Maybe I can do something with more info
.tell nine IIRC, it was .clone not being deep enough, but I don't remember exactly either :(
.tell nine Maybe not creating fresh Scalar containers or so
.tell TimToady http://irclog.perlgeek.de/perl6/2015-10-15#i_11381191 putting "Foo_" or "Foo-" would mean I'm reinventing namespacing for no reason. I want `::` to be about packages. the name is inside the package, the value is dynamically scoped
.tell psch I don't know what reposession is exactly, but what you describe sounds very much like it could be the cause for my strange bug in the bool_enum branch. Attribute and Bool both have strange objectids and both have a BEGIN .^compose
.tell lizmat > even though there are officially no words starting with ßhttp://paste.scsys.co.uk/500285
.tell timotimo I see in the backlog some complaints that perl6-bench is broken, but I'm not entirely clear how, given that you did post benchmark results -- and I don't see any new commits in the repo, either.
.tell lizmat Thing is that we aren't promised to have an IterationBuffer, but *something* you can .push to...
.tell timotimo When you're feeling better, please push your perl6-bench fixes. :-)
.tell Zoffix the other thing to check out, one step more removed from hiker is HTTP::Server::Router - https://github.com/tony-o/perl6-http-server-router
.tell awwaiid LREP's meta source-url is borked
.tell timotimo Thank you for the perl6-bench push. That second commit is a weird one. Is there an RT for the bug it fixes already? (I like to annotate workarounds with a comment pointing to an RT or irclog URL.)
.tell japhb i haven't taken the time yet to golf the exact thing, but it should be easy-ish to do. i'll do it at some point, or perhaps someone else will
.tell jnthn just taking a quick glance at NQP's regex stuff, I notice case-insensitive stuff uses uc and lc variants. Now that we have nqp::fc, would it be beneficial to have regexes use fc for :i and :ii ? Or do those modifiers explicitly require just uc/lc checking in spec somewhere (nothing suggesting such in S05)?
.tell ShimmerFairy The regex stuff doesn't use fc 'cus we only just implemented fc. :) We should use it instead of lc.
.tell n0tjack about your unpacking $/ question in the backlog that I don't think anyone answered: grammar G { token TOP { <digit> <alpha> } }; class A { method TOP((:$digit, :$alpha)) { say $digit; say $alpha; } }; G.parse('1a', actions => A)
.tell nine - please log out and log back in to RT.
.tell uruwi regarding Roguelike: I can recommend my own https://github.com/ab5tract/Terminal-Print
.tell uruwi it doesn't yet do the 'capture character without printing it to screen' via any API, but you have access to all of the tput commands that you could need, and a peg to hang more from if desired: https://github.com/ab5tract/Terminal-Print/blob/master/lib/Terminal/Print/Commands.pm6
.tell uruwi keep in mind though, that I'm currently working on a rewrite of the internals to use a multidimensional array and a react/whenever loop so that we can have multiple threads modifying the screen independently
.tell sergot just submitted a PR for the 303 redirection logic + preserve headers for HTTP::UserAgent. Thanks for your time.
.tell Zoffix it was the HTTP code 303 after all that caused the hanging. Now it is working :)
.tell jnthn couldn't we just not put a $no-sink in IterationBuffer.push ?
.tell Zoffix check out https://github.com/tony-o/perl6-hiker when you're sober
.tell daxim if you can give me a paragraph about why my statement re ß in the P6W was wrong, I will add it as an erratum next week
.tell [Coke] Can you _please_ fix my RT user (nine@detonation.org). All I get is http://niner.name/rt.perl.org.png and it's so frustrating to work with.
.tell [Coke] does it make sense to make somebody else an RT-admin too? I'd volunteer fwiw
.tell moritz that was the plan!
.tell lizmat It can be wise, yes...
.tell nine The "# Rakudo prohibits calling .accept in a different thread to the one opening the connection" bit is something I want to address pre-Christmas, I think. But I agree on the missing .close
.tell nine 86731df15f works for the anon case, but not the "two different lexical roles called A" case, I think.
.tell jnthn There is no spectest fallout whatsoever when removing "BEGIN Attribute.^compose;"
.tell pmurias see http://irclog.perlgeek.de/perl6/2015-10-11#i_11355209 for how to test getpid
.tell CurtisOvidPoe in case you missed it: the semicolon actually has a meaning in an argument list. It's for multi dimensional lists: perl6 -e 'sub foo(**@args) { say @args.perl; }; foo(1,2;2,3);' # [(1, 2), (2, 3)]
.tell skids add_dispatchee works when called at BEGIN time
.tell labster http://irclog.perlgeek.de/perl6/2015-10-11#i_11355913
.tell jnthn Iterator.push-exactly has a $no-sink catch, is that needed in all custom iterator methods that do $target.push ??
.tell jnthn I rejected https://rt.perl.org/SelfService/Display.html?id=125199 because I think it was just an error in the test script. Am I right?
.tell FROGGS http://irclog.perlgeek.de/perl6/2015-10-11#i_11356193
.tell [Coke] as the next release manager, please mark the 2015.10 release as the first Perl 6 Beta release in the announcement
.tell ZoffixW the Linux kernel sources use 8 spaces indentation
.tell lizmat I have a fix :)
.tell lizmat It's easy once you just give Array its own iterator method. I still have to fix a regression in t/spec/S32-array/delete.t. Deleting the last elements in an array no longer shortens the array. But have to go now.
.tell lizmat what fails is: my @a = 1, 2; @a[0]:delete; say @a; @a[1]:delete; say @a; # will give you [(Any)] because during iteration in say @a, the deleted position is assigned a container. @a[0]:delete; @a[1]:delete; will correctly shorten the array. Unfortunately I don't see a good way around that :/
.tell CurtisOvidPoe Native types are working (aside from some issues around sized/unsinged in certain contexts - but "int" is fine). But you generally need to use them consistently, and for now write in the "C" dialect of Perl 6. :) Your `for` example there is doomed to cause a lot of GC because $_ isn't native, so we box 40000 native ints into Ints for it.
.tell CurtisOvidPoe what jnthn++ didn't mention is that the performance of 'while' loops with native ints is crazy fast. much faster than perl 5 in this case. now, obviously nested while loops that only increment native integers are completely contrived and useless, I took it as a serious implication of the kinds of speedups we may be able to achieve under the hood, once the dust has fully settled on the implementation and performan
.tell nine I also wondered why Array didn't have it's own iterator
.tell szabgab There's a problem with Travis badges. Let me know if you need any help: https://github.com/perl6/modules.perl6.org/issues/12
.tell jnthn the MOP is fun btw
.tell jdv79 you probably want to check with _itz_ about inclusion in the pl6anet.org feed
.tell jdv79 (wrt your Blog post) Do you know about http://testers.perl6.org/ ?
.tell FROGGS Yes, that's exactly what settypecheckmode controls the behavior of. And you probably want to set the type check mode to the same thing SubsetHOW does, and implement and accepts_type method that just does nqp::isconcrete
.tell Ven In Rakudo it's exposed under Metamodel:: but in modules I've written that are MOP modules I've not tended to call that out in the module name.
.tell lizmat i did and i saw my inclusion PR get merged but still don't see my post on the site
.tell patrickz yes. i'd like to try to get cpants support though since that's more mature
.tell patrickz less work for all:)
.tell patrickz oh, seems cpants and cpantesters aren't the same thing. I mean the latter.
.tell thowe you can access it with .value for one: my $PoP = :name => <arg>; say $PoP.value
.tell jnthn please review https://github.com/rakudo/rakudo/commit/6643eb58c6
.tell jdv79 sorry for the deplay in adding your RSS feed, I've been away from the computer but it's added now
.tell jnthn my Int @a; @a[5] = 42; $_ = 666 for @a fails because it gets an IterationBuffer as target, not an ArrayReificationTarget
.tell the IterationBuffer doesn't have a descriptor
.tell jnthn I put the descriptor issue on RT #126312 , I think it needs deeper thoughts than I currently can muster
.tell timotimo https://gist.github.com/skids/7be38321eade492c3fd9
.tell FROGGS RT #126291 is aimed in your general direction
.tell skids a bigger MAST can result in better performance if our dynamic optimizer can understand it better, so that might be an explanation. ..
.tell lizmat is it possible that you wait working on smileys (implementation wise, not test wise) until I've merged the MOP stuff?
.tell jnthn does nqp::settypecheckmode affect nqp::istype?
.tell masak no, the -ME in CALL-ME is not frivolous (though admittedly a joke), because CALL is completely ambiguous about who doing the calling
.tell lizmat it is a recent change, aye
.tell FROGGS hope you agree with https://github.com/rakudo/rakudo/commit/58c391bf4e
.tell awawai I used to use Selenium but it's performance and stability were too abysmal, especially when trying to run test files in parallel. So I wrote a drop in replacement: https://metacpan.org/pod/WWW::WebKit and https://metacpan.org/pod/Test::WWW::WebKit
.tell ely-se I'm more likely to receive message under "ven", fwiw
.tell ely-se WRT comefrom in perl6 – maybe ask masak about it :)
.tell jnthn is there a runtime downside to a sub called from CORE, and a sub called from Rakudo::Internals:: ?
.tell jnthn if so, would it help to make the sub an only ?
.tell lizmat The startup speed improvement was due to a fix I did yesterday (2997e4db98)
.tell jnthn worth pointing that I've noticed @var := nqp::list() fails in main Perl 6 code, but works in regexes ( :my @var := nqp::list(); ). There's a good chance stuff like that is being handled by NQP rather than rakudo
.tell jnthn the initializer is now required... works on vars, attrs but not in sigs: https://github.com/rakudo/rakudo/commit/7f0e6a56ae
.tell lizmat can you adjust the weekly so that it states that 'my Int:D $b' is an compile time error?
.tell #perl6 gnight
.tell lizmat Pair does shallow immutability. You can't change its value, but if the value is a container, you can still assign to that. Just like List does post-GLR. Maybe that's a good fit for Bag, MixHash, ... as well?
.tell masak Enum's gone :) There's just Pair now.
.tell jnthn please try to break https://github.com/rakudo/rakudo/commit/8dd74406e6 :o)
.tell lizmat I'm not too happy about exposing MapIterator at the top level; I want to keep us free to evolve such things in the future. Please put it as Rakudo::Internals::MapIterator if you wish to share it between things (we'll want to take a pass through the setting for other leaking things to move there also).
.tell lizmat VM supported hashes are an implementation detail; nope.md is about language things
.tell lizmat I suspect we'll get around to doing that improvement sometime in 2016; we shouldn't have trouble rolling that out without anyone noticing anything, except hopefully a memory usage and performance improvement :)
.tell FROGGS I think we want to do it at MOP level in the future, if nothing else for speed.
.tell FROGGS I think we should force an initializer on :D'd things. .new is a bad default. Try this: `class C { has $.x = rand }; for ^5 { my C:D $foo; say $foo.x }`
.tell FROGGS also we totally drop the thing on the floor in some situations, like `my $x = Int:D; say $x`
.tell FROGGS That latter one is why I was more pondering a MOP-level solution: so they are first class.
.tell Zoffix http://perl6.org/getting-started/ seem to have CSS issues
.tell TimToady I'm curious to read your thoughts about &[o] being associative. It bugs me a bit that we can't define something like [o] &f xx *
.tell nine In 398f255659, the .^add_method and .^add_multi_method calls to Bool really must be in a BEGIN block, otherwise we'll most likely cause pre-comp bugs.
.tell nine Do we really have to key/value methods added in BOOTSTRAP?
.tell nine I'm not really happy about enums suddenly being augmentable - especially through "agument class"... I'd be more inclined to just toss the spectests that want to be able to do that.
.tell nine The enums support seems kinda marginal too...and allowing an alternative REPR is...odd but I guess I can live with that. But it'd have to be one that supports attributes.
.tell nine Uh, in last .tell I meant mixins support. :)
.tell moritz is there a way to nuke /online/ for perl6.org and restart mowyw from scratch? It's not re-generating files that were not touched during update, but since the header/footer %includes were changed, some pages are not properly refreshed: http://perl6.org/archive/
.tell domidumont I... cannot reproduce the problem you reported :o(
.tell domidumont I installed moarvm, nqp, and rakudo/fix-lib-installation-path, but it works here
.tell vendethiel http://repzret.org/p/repzret/
.tell atweiden look at method _ws in rakudo/src/Perl6/Grammar.nqp
.tell colomon http://smoke.perl6.org/report shows a T for IO::Notification::Recursive, even though that repo has no tests; should that be a P instead?
.tell jnthn should VM supported object hashes be added to nope.md ?
.tell skids I had to resolve a conflict with your commit on Array.pod. I think I did it correctly, but take a look to make sure I didn't mess it up.
.tell AlexDaniel the correct correction is m: my constant @fib := 0, 1, *+* ... *; @fib[^10].perl.say;
.tell gfldex I find it a bit messy, but you are probably right. I've changed it as you recommended
.tell lizmat Could do with some measurements rather than feeling...
.tell jnthn branch bool_enum in rakudo and roast is ready for review. Any input would be greatly appreciated :)
.tell jnthn looking at increasing parse times the past week while iterifying code: doesn't really get below 45 secs anymore :-(
.tell jnthn when it used to be around 32 not too many weeks ago
.tell jnthn flussence also notived: http://irclog.perlgeek.de/perl6/2015-10-02#i_11310569
.tell nine Will review tomorrow if I have energy, or Monday if not. You've kinda changed the nature of enums a bit in the MOP, but it may be OK...
.tell timotimo 1. I don't expect push-exactly to be called much, 2 if it is called, it is most likely *not* yet exhausted, so adding extra code for it seems like a waste to me
.tell moritz rakudo (via rakudobrew) needs to be upgraded to unbreak htmlify of the docs... I'd almost do it but the rakudobrew seems to be globally used... can I just continue?
.tell jnthn could you look at https://gist.github.com/lizmat/9f95a6f75f27cebecd65 and see if I made any obvious mistakes there ?
.tell jnthn it compiles/builds ok, seems to handle simple cases ok, but causes sever spectest fallout in weird ways
.tell such as Cannot invoke this object (REPR: Uninstantiable)
.tell jnthn documentation on nqp::handle would also be appreciated :-)
.tell jnthn is it correct that we cannot .Slip a container ?
.tell jnthn I get the feeling that any new class in the setting (like the anonymous once for iterators) make parsing the setting a lot more expensive
.tell jnthn possibly even O(n) :-(
.tell jnthn why will shaped arrays in future declared as 'my @a[3,3]' but used as '@a[1;1] = 42'? why not semicolons in the decl too?
.tell Skarsnik You'd declare the CStruct as 'class Foo is repr<CStruct> { has int32 $.bar }' and then 'say nativecast(Foo, $pointer)'
.tell timotimo http://irclog.perlgeek.de/perl6/2015-10-01#i_11301705 something like this, probably
.tell tony-o just sent you a little pull request for Slang::SQL for use nqp; there is another issue around the /is rw/ ish changes
.tell FROGGS because I thunko; fixed :)
.tell [Tux] hope I've been able to recoup some of the lost performance
.tell lizmat i wonder if push-exactly should check for "will we reach the end?" at the beginning and then perhaps use a tiny bit better code?
.tell jnthn thing is, @dest.push(@src.pop) is just wrong, wrong, wrong, because surprise; we really need to separate out the I-expect-to-push-a-list semantics to a different name, .pushem or some such
.tell jnthn no hurry :o)
.tell jnthn should a MoarVM upgrade invalidate precomps? Should a NQP upgrade ?
.tell lizmat MoarVM's backcompat should be strong enough that you don't need to invalidate on a MoarVM update. And from a development/debugging perspective, I'd really like to not cause a Moar update to invalidate also.
.tell lizmat NQP upgrade should, but that you already get for free with the compilation unit ID from in Perl6::Compiler
.tell lizmat what about different authors and same api? (I'm just curious)
.tell lizmat I think I can live with the api tag... it feels like engaging responsibility to dist authors
.tell timotimo https://gist.github.com/lizmat/d38a48beded67ab971ff causes an infiniloop in the optimizer
.tell timotimo may have something to do with calling a private method of class A from within class B (which lives inside class A)
.tell jnthn if you get the chance, can you run its test and give me a hint what went wrong? we need this for CURLI https://github.com/FROGGS/p6-Ser
.tell jnthn and that is about capturing to a lexical var (we talked about), what thinko do I do?: https://gist.github.com/FROGGS/55945f79a9fefb004a61
.tell FROGGS I'm really tired and about to sleep, so I'll look at those two tomorrow
.tell jnthn I agree with you on the exceptions, I wonder if the introduction of +args would let us roll back some of the exceptions. Needing for @$foo { ... } (or zen slice) for Scalar containers is particularly unfortunate to me :(
.tell pmurias I've installed a more up-to-date nodejs on hack. Have fun!
.tell ShimmerFairy no, tc is by definition only for initial caps; use tcuc if you want to uppercase everything
.tell lizmat Have blogged, if you're still summarizing. http://dhaperl6.blogspot.com/2015/09/im-back.html
.tell nine: A proto should be added with add_method since it's not a multi, but a proto :)
.tell nine A proto should be added with add_method since it's not a multi, but a proto :)
.tell dha I feel it would get better attention next week, instead of being in the barrage of blog posts of this week
.tell FROGGS added tie-breaking logic to https://gist.github.com/lizmat/f3807956c354c14902a3/revisions
.tell FROGGS is that something you can agree to?
.tell moritz I tried to install rakudo star with rakudobrew and panda install Task::Star. It failed to install Digest::Md5 because line 41 of MD5.pm reads "sub md5-block(@H is rw, @X) {" and the current rakudo does not like the "is rw". I forked and took out the "is rw" and pointed projects.json at my fork and Task::Star built OK. Could you take out the "is rw".
.tell moritz s/Could you takeout .../Could you please take out the "is rw"?/
.tell awwaiid --> belong in the signature because it enables return typing on lambdas
.tell mr_ron that's what the R* releases are for: they are snapshots where the version of rakudo and the modules match
.tell lizmat I commented on your comment on my comment :o) - https://gist.github.com/lizmat/f3807956c354c14902a3#gistcomment-1582671
.tell TimToady Happy Birthday! <oȏ> <-- should look like a hug if it is not obvious :o)
.tell [Tux] Tux/CSV/NLPW-2015/090-hooks.txt uses "@f is rw" in a signature (multiple times); please drop the "is rw"; newest rakudo disallows it on array params
.tell masak the visitor macros are something that I incidentally though about before falling asleep yesterday. Seems like something really useful for implementing something like LINQ and even more, for making Rakudo's optimizer readable.
.tell TimToady Happy Birthday!
.tell masak three-types-of-macros.md looks very promising. How much of that do you have working in 007 at this point?
.tell lizmat Do we need s/trait_mod/trait-mod/g too? I see a lot of trait_mod:<x> used.
.tell Timbus_ is/does/of/returns/ etc, see traits.pm
.tell nine Note that 663e71a4e0 and later in Moar require the change done in 44ad04a88 in Rakudo
.tell lizmat Read it, will ponder, thanks. :)
.tell lizmat I commented: https://gist.github.com/lizmat/f3807956c354c14902a3#gistcomment-1582671
.tell hoelzro I agree that there is whitespace missing afetr the #|, but why does the absence of the #| change anything?
.tell [Coke] I believe it's a mistake for you to reject RT #61602 -- it may not have a solution in the foreseeable future, but rejection should apply to tickets we _know_ are invalid, not tickets about the still-decided. 'stalled' is more appropriate for it, like it was
.tell jnthn using nqp i can make a reliable inlined-notinlined pair using a getlex to another frame
.tell jnthn i can't repeat the issue outside of the compiler yet, and can't see anything obviously wrong with it
.tell brrt Ugh...I think we may really have to catch the mis-lookup under the debugger to actually figure this one out, or just dump a crapload of debugging output
.tell jnthn I try to implement 'my $a; "a" ~~ /$a=[.]/' and fail to do that in P6::A... is that something I should be able to do in the actions?
.tell jnthn (poor jnthn for all the spam) i've created a gist with dynvar log results: https://gist.github.com/bdw/992dfd5b69b7d42f2239
.tell FROGGS I commented on your comment on https://gist.github.com/lizmat/f3807956c354c14902a3
.tell ugexe I hopefull answered your questions in https://gist.github.com/lizmat/f3807956c354c14902a3
.tell lizmat turns out adding 'is default' to an attribute's container descriptor was a 3-line patch :)
.tell nwc10 there is a perl6 'prove' module/bin out there called 'Green', can be installed with zef or panda.
.tell lizmat, i'm looking to fix either CURLI or CURLF so we can keep working on the modules we have. can you tell me whether the CURLF (returns CompUnit) or CURLI (returns an Array) is correct? this will tell me whether CURLI needs to be changed or whether CURLF needs to be fixed along with whatever is trying to call .load on the returned value.
.tell lizmat i'm looking to fix either CURLI or CURLF so we can keep working on the modules we have. can you tell me whether the CURLF (returns CompUnit) or CURLI (returns an Array) is correct? this will tell me whether CURLI needs to be changed or whether CURLF needs to be fixed along with whatever is trying to call .load on the returned value.
.tell jnthn the Slang.new failure started appearing in the range 94bc1a9..65129cf
.tell jnthn or...not. When I checkout 94bc1a9 and rebuild nqp/Moar I still get "Method 'new' not found for invocant of class '$?CLASS'". But with rakudo from this afternoon it worked.
.tell FROGGS that S26 example you posted that looked buggy is fine; you need a whitespace between '#|' and your comment
.tell tony-o please read https://gist.github.com/lizmat/f3807956c354c14902a3 for first stab at CURLI revival
.tell FROGGS please read https://gist.github.com/lizmat/f3807956c354c14902a3 for first stab at CURLI revival
.tell jnthn please read https://gist.github.com/lizmat/f3807956c354c14902a3 for first stab at CURLI revival
.tell lizmat does this mean that i'm open to putting whatever i want in a CURLI manifest file? how does CURLF store information about multiple modules with :auth and :ver? how do i handle *not* being able to write to a precomp directory, is that a total failure for installing the module? this doesn't seem to imply that a CURLF and CURLI should have the same interface, does the loader behave differently depending on which o
.tell lizmat left a comment on your gist, hope it helps! :)
.tell TimToady seems self ref inside gather is not GLR-proof now
.tell lizmat I'm not clear on what folks expect COMPOSE to do or when it runs. For roles, for example, the body of the role always runs at the time that role is being composed into the class, and has access to the target class through ::?CLASS
.tell patrickz i am slowly working on cpan stuff
.tell patrickz and it may be "done" by xmas, btw
.tell [Coke] I would CC perl6-compiler if I had the permission to do that in RT.
.tell jnthn just a reminder: if we start chomping on PIO level, we need eoffh to be reliable, otherwise we won't see the difference between an empty line and EOF
.tell jnthn got a diff for grep-index: https://gist.github.com/lizmat/bc7a10a695d361d94e71 the win does not seem to warrant the code bloat, do you agree?
.tell jnthn should the COMPOSE phaser be in nope or not?
.tell jnthn or maybe some way to export something into a class that will get run when a class is "finalized" at compile time
.tell jnthn thinking about something like class A is reaped {} to make objects run their DESTROY at global destruction
.tell lizmat re https://gist.github.com/li???zmat/b74af9a1d79a9f48bf8b, s/if $!todo/if $!todo >= 0/
.tell japhb Well, they're on the shortlist, yeah, but stuff figuring out the JIT issue that causes Panda explosions is higher priority... :)
.tell pmurias I added support for negative bitwise ops to node-bignum for nqp-js: https://github.com/justmoon/node-bignum/pull/61
.tell jnthn I agree with all points made on nope.md fwiw, though I bet there are more nopes out there
.tell jnthn I also think Bit/bit, a proper Complex and Cat are also quite nope
.tell FROGGS thanks, added those to https://gist.github.com/jnthn/040f4502899d39b2cbb4
.tell jdv79 IO::Socket::INET is too specific, but using the Raw IO is completely the wrong solution always and the alternative is to be implementation-specific, which might as well not even be in the standard
.tell labster any chance you could merge https://github.com/labster/p6-file-directory-tree/pull/5 soonish? It would help with the Rakudo Star release
.tell patrickz ok, I'll look into it :)
.tell FROGGS t/04-nativecall/13-cpp-mangling.t .... ok
.tell jnthn How hard would it be to allow rw attributes on CStructs?
.tell FROGGS i'm very interested to see what code has a JIT bug
.tell jnthn 57a7f6a6 triggered RT#125769 (I think) so now $ = Failure.new.flat[0] throws.
.tell [Tux] I tried bisecting your performance regression but could not find it. If anything, Rakudo seems to have become faster
.tell dha looks like search is working again
.tell patrickz https://github.com/MoarVM/dyncall/pull/2
.tell FROGGS: Thanks!
.tell FROGGS Thanks!
.tell lizmat if you're reliably seeing S17-supply/start.t passing now, then maybe https://rt.perl.org/Ticket/Display.html?id=125460 can be closed... I've not seen it fail since my recent fixes in Moar.
.tell lizmat I think the .push/.pop error improvements in List have busted make test (54-lib.t)
.tell tadzik you can merge the PR now. Did some more testing and fixing and am confident this is loads better than before.
.tell TimToady i think that @answers{@slice} = 42 xx * should be @answers[@slice] = 42 xx *
.tell nine I've reviewed the GMR branch and I'm happy with how it's looking overall. The only point of discomfort is the ".key => my $ = .value" pattern that is common enough to make me wish we had a better way to do it.
.tell nine Not sure I feel that's a merge blocker, though, and more in TimToady++'s hands to decide if we should do something about it :)
.tell lizmat I've merged the cu_load branch, we should perhaps focus now on getting precomp working again
.tell pmurias should I go ahead and complete that merge tonight?
.tell japhb because the META.json was broken
.tell zostay IO::Socket::INET seems a bit too specific
.tell flussence re: the performance of Test::Corpus, I imagine a great deal of it is related to slurping a bunch of files
.tell flussence but building a pipeline for doing concurrent processing would be very interesting as well
.tell meisl I completely agree :)
.tell ab5tract thx again: g'nite
.tell brrt oh-wow...
.tell brrt never had such a nice welcome - and such an immediate one!
.tell brrt I *am* interested in Aho-style tiling, will have a look.
.tell ab5tract I think it would help a lot if I could throw is() and the like inside of start{} blocks, and have confidence in the results coming out in a consistent-enough order. In other words, I'm doing it wrong. I'll leave that code as-is for the time being because slow beats segfaulting.
.tell timotimo just tried :op<postdec> - and it's the same as with stringify (so I was wrong on that) - but still: how come? (take, eg, reprname - that works with any :hll)
.tell TimToady one thing about 'is raw' is that it's just one letter (and visually similar) to 'is rw', and I'm not sure if having such different behaviors be so close in name is a good idea (even worse, 'a' neighbors 'w' on QWERTY, so accidental 'rw'->'raw' is possible too if your fingers slip a bit :P)
.tell masak I’ve got a pull request to get Perl6::Literate passing tests again.
.tell Util I’ve got a pull request for you, too. :)
.tell TimToady I guess our disagreement comes from me just not seeing the performance penalty. If I don't store a Seq into a variable and .cache (previously .list) it, all that changes is that an additional reference to the new List is stored in the Seq that's gonna be collected anyway in the same GC run as the list. Persisting the Seq however only makes sense if I intend to call .cache on it again later on.
.tell TimToady But I'll stop arguing now. It may still be a tiny bit faster to avoid storing the reference and I lack experience with the new semantics to back up any claims to lower usability. And it's not that important a topic anyway :)
.tell jnthn the gmr branch is now ready for a closer look.
.tell TimToady the gmr branch is now ready for a closer look.
.tell [Coke] https://rt.perl.org/Public/Bug/Display.html?id=122948 is fixed as result of the GLR
.tell [Coke] https://rt.perl.org/Public/Bug/Display.html?id=120861 is fixed as result of the GLR, too.
.tell [Coke] With https://rt.perl.org/Public/Bug/Display.html?id=111720 I'd argue, that the current behavior is correct due to the one item rule. Array.new(@a) essentially creates a copy of @a. Thus changing @a will not affect the new array.
.tell [Coke] I'm registered in RT as nine@detonation.org When you get tired of modifying tickets for me, just give me privileges :)
.tell [Coke] https://rt.perl.org/Public/Bug/Display.html?id=124082 seems to have been fixed in the meantime.
.tell [ptc] I've updated the rakudobrew on hack in /home/rakudobrew to a pots-glr rakudo (+modules); please check if the examples.perl6.org rebuild still works
.tell [Coke] https://rt.perl.org/Public/Bug/Display.html?id=123072 is fixed with commit e19c128
.tell [Coke] wrong ticket number. 123072 is still open, 124342 is fixed
.tell skids .oO ( s:g/sigilless variable/raw variable/? )
.tell usev6 thanks again for your tireless bug triage work!
.tell japhb done
.tell benzen just fixed the LAST issue with https://github.com/rakudo/rakudo/commit/0d47a436e6
.tell timotimo https://gist.github.com/FROGGS/d27a6db2039e08364828 is spectest clean... so if it improves your profile then please commit it
.tell FROGGS \o/
.tell think of Seq as an iterator. You can iterate it and when it's empty, it's empty. There's no magic saving of the values for repeated access. That's the whole point because saving the iterated list in a for foo() { } was quite costly. Now if foo() returns a Seq, we waste neither time nor memory storing values that you will never access anymore. Simplest and recommended way to store them is by assigning to an array. Another way is to ask the Seq to create a ca
.tell psch think of Seq as an iterator. You can iterate it and when it's empty, it's empty. There's no magic saving of the values for repeated access. That's the whole point because saving the iterated list in a for foo() { } was quite costly. Now if foo() returns a Seq, we waste neither time nor memory storing values that you will never access anymore. Simplest and recommended way to store them is by assigning to an array. Another way is to ask the Seq to create
.tell psch Another way is to ask the Seq to create a cache for you that you can repeatedly access.
.tell brrt in http://brrt-to-the-future.blogspot.fr/2015/09/wrapping-up.html there seems to be missing text around "I hereby promise that if any Oh". also, overnegation in "I will not maintain the illusion here that a register allocator is a nontrivial component" ?
.tell nine https://www.reddit.com/r/perl/comments/3k4r7t/larry_wall_presents_perl_6/cuwx9rh
.tell brrt what's "quite high-level talk, so I hereby promise that if any Oh, and I just " all about? %)
.tell jnthn I've documented the Iterator/Iterable interface to the best of my knowledge in perl6/doc; feel free to steal anything you like for S07.
.tell FROGGS if you're looking for a great WAT try the following three things on jvm:
.tell FROGGS_ 1) assign a <> quoted list of the int literals from 0 to 250 to an array
.tell FROGGS_ 2) assign a <> quoted list of the int literals from 0 to 251 to an array
.tell FROGGS_ 3) assign a <> quoted list of the int literals from 0 to 252 to an array
.tell FROGGS_ just to be clear, that is "<0 1 2 3 ... 248 249 250>" all typed (or generated of course :) ) literally in the program code
.tell FROGGS (the actual three things are .tell
.tell FROGGS .tell'd to FROGGS_ )
.tell nine re http://irclog.perlgeek.de/perl6/2015-09-12#i_11206412 there were more than 200 instances of .list in the pre-cache era that didn't actually need to set up the cache but did so accidentally, so it's a good thing for performance that .list no longer does that
.tell jnthn the specced syntax you were looking for is 'when * -> $a, $b, *@c { ... }' but that's not implemented yet
.tell jnthn no, I neglected to run make test. The good news is that I fixed this error for trait_mod:sym<is> already (just not 'repr', since it's a specially-handled case of 'is' that roast apparently doesn't catch). Unfortunately the same fix I tried before I had to go afk today didn't work, something about the dynamic var.
.tell hoelzro many-processes-no-close-stdin.t is explodey again on Windows, along with no-runaway-file-limit.t. I think I already fixed those two once...
.tell zostay paul evans on twitter was complaining that p6sgi is "as disappointing as the perl5 one" and lacks support for streaming of input data and response backpressure and "..."
.tell jnthn I experimented with making gather lazy by default. The spec test fallout was....sobering
.tell jnthn here is the current state of perl6-j, if you are curious: https://gist.github.com/FROGGS/3598992b921b34a1c6d5
.tell pmurias I'
.tell pmurias I've pushed my WIP branch for the JS merge here: https://github.com/perl6/nqp/tree/js-merge-wip
.tell psch yeah, I also get a SOE :o(
.tell psch seems to be about X::TypeCheck::Assignment
.tell [ptc] 99problems.t is more like 999glr-problems.t :)
.tell FROGGS your patch and the result makes me thing the jvm build is due to some oversight in the Binder, though i haven't found a place to place a BP to gain more insight, just fyi
.tell mohij I'd be delighted :) Can you send me a PR?
.tell psch thanks for the hint... now I just need to figure out what that means :o)
.tell nine I should have clarified further that my "sets are hashes, mmkay" feeling is deeply related to only ever using hashes for sets. This is surely a Perl-ish attitude. Anyway, I totally support efforts to make sets feel more natural to the people who actually have strong opinions about them
.tell lizmat why doesn't S22 root a dist archive with the dist+ver like a p5 one?
.tell lizmat will you look at Text::CSV/t/15_flags regarding the disappearing method?
.tell lizmat ignore: I found it «ok (@x[$_], "text") for 1 .. 5, 7, 19;» → «ok (@x[$_], "text") for flat 1 .. 5, 7, 19;»
.tell japhb Normally if you call a method on a role then we pun it into a class and call the method on the pun; there's a small list of exceptions.
.tell tadzik PR is out. Windows testing now...
.tell TimToady more interesting combinations http://tweag.github.io/HaskellR/
.tell FROGGS fwiw, the SOE golfs to 'unit class Foo; sub foo is export { }'
.tell FROGGS and the "unit" isn't even needed
.tell FROGGS the mentioned golf calls sink from EXPORT_SYMBOL, goes through a bunch of pull-, push-, and reify- methods and then ends in a new, new, bless, BUILDALL loop...
.tell ShimmerFairy I think $foo<bar> style things really do need resolving to strings at compile time, yes. But...why make another version of val()? Why not just look up $*W.find_symbol(['&val']) from the setting and call it? And if it's not defined yet, then just assume a Str is fine as a fallback.
.tell bbkr Saw your post; I think the deadlock will go away once I implement the smarter version of await that makes thread pool threads available to do other work while they're awaiting.
.tell jnthn: I thought about calling &val, I just wasn't sure if compile_time_eval was inefficient or otherwise bad (in the way that the inverse, EVAL, is usually a sign of needing to rethink your code). The Str fallback means it could skip val() on valid values in CORE, but then again I don't think CORE needs allomorphs :) (I already pushed the result of "another version" to the allomorphs branch, if you missed it)
.tell jnthn I thought about calling &val, I just wasn't sure if compile_time_eval was inefficient or otherwise bad (in the way that the inverse, EVAL, is usually a sign of needing to rethink your code). The Str fallback means it could skip val() on valid values in CORE, but then again I don't think CORE needs allomorphs :) (I already pushed the result of "another version" to the allomorphs branch, if you missed it)
.tell jnthn For the record, I'd be fine if we said that %h<foo bar> didn't go under val() (and perhaps don't do val() on colonpairs either, e.g. :foo<bar>). FWIW TimToady already said %h<42> wouldn't let you access Int keys, for example.
.tell hoelzro before merging in js into the master branch remember to run the tests for the jvm/moar backends to make sure our improved test suit doesn't uncover any bugs in those
.tell tadzik: I'm more or less done with putting *env functionality into rakudobrew. Most commands work including local, global and shell switching.
.tell tadzik I'm more or less done with putting *env functionality into rakudobrew. Most commands work including local, global and shell switching.
.tell tadzik I have only tested on linux so far. Will do some Windows testing soon. What do you think about merging?
.tell tadzik Tradeoff: Slight startup time decrease because the shims are perl and not bash anymore.
.tell jnthn I put japhb's code in val(), with minimum modification to make it work properly, and got marginal improvements (null program startup decreased by about .01s, profiling sorting line shows it went down ≈1.2s). It's of course better (so I'll keep it in ☺), but val()'s implementation seems to be a non-issue now
.tell jnthn I suspect having a version of val() in World.nqp, or perhaps even in NQP itself, for strings with compile_time_values would be the most helpful, considering how many constant strings in quotewords there are in CORE and such :)
.tell MadcapJake that's because the return value of $tap.done() is the callback itself
.tell MadcapJake try this example: `class Hap { has &.done }; my $f = Hap.new( done => { say "here we go"; 42 } ); my $b = $f.done(); $b.WHAT.say; $b().say`
.tell MadcapJake contrast that with replacing `my $b = $f.done()` with `my $b = &($f.done)()`. So the reason it is written this way is because the second option would be run time error if the tap did not define a done block
.tell japhb I'm unable to merge C++ support in rakudo until it got ported to jvm... and I cannot port it as long as the jvm build is broken
.tell TimToady looks like brokenness of Vampire-number/vampire-number.pl6 is also a @a := Seq issue
.tell bbkr: http://irclog.perlgeek.de/perl6/2015-09-06#i_11176345
.tell bbkr http://irclog.perlgeek.de/perl6/2015-09-06#i_11176345
.tell TimToady https://github.com/rakudo/rakudo/pull/525 is what everybody is talking about
.tell masak do you have the slides for you talk somewhere online? thank you
.tell jnthn multi sub foo(@array) { say @array }; foo("abc".comb) fails under GLR unles you remove the multi; not sure what we should do about that
.tell TimToady I suspect the multi-dispatcher was somehow not fixed up, but then I don't understand how the unpacking spectest was made to pass...will have to have a look. Please RT it or something. :)
.tell lizmat http://irclog.perlgeek.de/perl6/2015-09-04#i_11168004 http://design.perl6.org/S02.html#Undefined_types
.tell japhb I merged C++ stuff in moar, but have to port it to jvm before I can merge the rakudo/cpp3 branch... hopefully this happens this weekend
.tell mohij Wow, thanks man!
.tell timotimo I missed the GLR-prep work you did on perl6-bench last weekend. Thank you!
.tell TimToady that explanation makes perfect sense, and even though I may still say "I see no number", I can be content with the idea that Stringy nothing should lead to Numeric nothing :)
.tell TimToady: would you be fine with +" " (that is, numified non-empty 'blank' string) either die-ing like any other non-Numeric string, or at least warning about the return of 0 ?
.tell TimToady would you be fine with +" " (that is, numified non-empty 'blank' string) either die-ing like any other non-Numeric string, or at least warning about the return of 0 ?
.tell colomon Game Master. :-)
.tell skids thanks for fixing s/say/is/; it was intentional that the test aborts; after all it's a GLR regression. If the test is skipped, we won't notice it
.tell pmurias your wallet is found
.tell jnthn http://jnthn.net/papers/2015-spw-perl6-course.pdf is fantastic! Some variation on that needs to be part of a future "getting started" section on perl6.org.
.tell japhb locally I manually rebased cpp2/cpp... it builds but C++ tests are failing, I'll give you a status update later today
.tell japhb That sounds like some low hanging fruit indeed!
.tell japhb But someone must have come to the same conclusion, since in the glr branch there already is a multi method print(IO::Handle:D: str:D \x) {
.tell FROGGS will do so! Thanks!
.tell [Coke] wrt http://irclog.perlgeek.de/perl6/2015-09-01#i_11154524 : wasn't it the idea that we rename glr to master ?
.tell japhb all tests pass now on my linux box...
.tell FROGGS any ideas regarding https://github.com/perl6/DBIish/issues/17 ?
.tell moritz let me take a look :P
.tell lizmat I think that abort() is from libuv; why, I don't know, but at least I can reproduce it on OpenBSD
.tell ShimmerFairy I do understand, and thank you. :-)
.tell pmurias I've been trying to merge the js branch with master; is there code that is specific to how the MoarVM serialization process works?
.tell tadzik https://github.com/patzim/rakudobrew
.tell tadzik Supports shell local switching and dynamically determining the target version.
.tell moritz see roast/glr commit d6a9f7c
.tell zostay I think you can replace "Supply.on-demand(-> $a { ... })" construction with a supply block. https://gist.github.com/jnthn/a56fd4a22e7c43080078#supply-syntax-constructs. I find this latter construction more readable.
.tell tadzik I'm thinking about creating a plenv lookalike for Perl 6.Do you think it's a good idea to do it in perl5 (instead of bash)? Would it make sense to integrate this into rakudobrew or would a separate package be better?
.tell tadzik: Pros for perl: Works on Windows/BSD/..., that's what rakudobrew is written in. Pros for bash: Small startup time, same as all the other *env things.
.tell tadzik Pros for perl: Works on Windows/BSD/..., that's what rakudobrew is written in. Pros for bash: Small startup time, same as all the other *env things.
.tell lizmat look at the cu_load branch when you got some time... I fell pretty comfy with it
.tell ChoHag http://irclog.perlgeek.de/perl6/2015-08-30#i_11144152 looks like a bug to me, since .= is sugar for assignment, and assignment is supposed to be eager; please file a bug report, if you haven't already
.tell pierrot http://irclog.perlgeek.de/perl6/2015-09-01#i_11155377 is wrong. One must use a `?` or `!` for an assertion, eg `<?{...}>` is an assertion -- note the `?`. (I was right that `<{...}>` inserts the ... as a subrule.) (A plain `{...}` just tells P6 to do regular code (eg the debugging `say` that I used in http://irclog.perlgeek.de/perl6/2
.tell nine Good to know what caused the issue... :-)
.tell [Coke] about http://irclog.perlgeek.de/perl6/2015-08-29#i_11138242, I use for each arguments of a Bash command-line: sub escape-arg(Str $arg is copy) { if $arg ~~ s:g/([ ' ' | \' | \\ | <:Control> ])/{ $0.ord.fmt('\\u%04x') }/ { [~] <$'>, $arg, <'> } else { $arg } }
.tell lizmat Saw Yes in concert last night. For some reason thought of you when they played some Tormato songs. (Sorry to be far off topic.)
.tell jnthn when you're back, could you upload http://t.h8.lv/MoarVM-2015.08.tar.gz to moarvm.org?
.tell bronco_creek Years ago I came across a Santana album in which the liner notes consisted of a complex infographic of the changing band lineup, just so fans could get it straight.
.tell lizmat I figured out what's wrong with zip-latest.t! It's just that every way we tried to fix the issue hit an underlying bug. Array.clone re-uses the same $!reified buffer for the clone and List.from-iterator creates a new $!reified but uses the same scalar containers for the values. So they are still linked.
.tell hoelzro You added many-processes-no-close-stdin.t to spectest data. Is it supposed to pass? It passes neither on nom nor on glr here.
.tell FROGGS[mobile] do you by chance still have my micro USB cable? I seem to remember giving it to you on Wednesday
.tell FROGGS[mobile] the LAST phaser doesnt seem to fire when the last execution is finished with next, see "for ^3 {.say; next if $_ < 3; LAST {say "last"}}"
.tell FROGGS the LAST phaser doesnt seem to fire when the last execution is finished with next, see "for 1 {LAST {say "last"};next}"
.tell lizmat I fixed yer Hash.perls
.tell jnthn can you check why "say \(Hash) ~~ :(*@a)" and "say \(List) ~~ :(*@a)" die with exception "Invocant requires an instance of type Hash|List, but a type object was passed." in the binder?
.tell skids thanks for looking into it! I really appreciate it :)
.tell [Coke] email
.tell skids Ah, yes thanks! I'll have a look at it after breakfast. Now that I understand the problem it solves, I think it's a shame, your PR has not been merged yet.
.tell skids thank you for fixing @a[1, *-1]:delete :) I've had a look at this yesterday but my train arrived before I came to writing code. I really wonder how this worked in nom though. Couldn't find any code handling that case there.
.tell |Tux| i fixed up to test file 50_utf8.t, i'm now at 55_combi.t where the problem is trying to assign a list of chars (instead of Str) to both $!esc and $!quo. what did you mean to do?
.tell |Tux| i fixed 60_samples.t after skipping 55_combi.t, i got up to 90/114 tests of 77_getall.t passing, still needs a lot of work
.tell laben >>op<< is intended primarily for finite, equal-sized arrays/matrices/vectors; there's little point in duplicating Z's behavior here
.tell [ptc] examples.perl6.org appears to have stopped updating
.tell raiph Not to worry, mate. I just had to run, and am always bothered by a "then fix it" response to a (relatively) major language design discussion
.tell jnthn would be interested to know how you see Supply.emit being fixed so that it can take a single Range.new and *not* iterate over it
.tell jnthn *and* keep the \msg signature for so that we emit to the supply whatever is passed to the method verbatim
.tell FROGGS http://irclog.perlgeek.de/perl6/2015-08-23#i_11103936 ?
.tell lizmat I'd be tempted ot say that emit NEVER tries to iterate anything and just emits what it's given verbatim :)
.tell laben I fixed unary hypers so the tests don't die anymore. Now we can play around with HYPER more easily :)
.tell laben I went ahead and pushed my new HYPER implemenation. hyper.t passes now completely. Your implementation was very useful for figuring out the required semantics, so thank you very much for that!
.tell jnthn array.new takes *@values while Array.new takes **@values. Which one is right?
.tell nine I don't think the case of initializing an array with a single hash will arise all that often, so I'm willing to leave it as a DIHWIDT for simplicity
.tell TimToady @a = %h is a mere nuisance. This is the real issue: sub foo(*@a) { say @a.perl }; foo({:a(1), :b(2)}); prints: [:a(1), :b(2)]. This is hurting in real code, e.g. Inline::Perl5.
.tell jnthn I think there could be a way to ask a sequence generator how many items it would produce if fully iterated ( remove `.infinite` ) 「(1..1000).will-produce == 1000」 「(gather {...}).will-produce === Int | Mu」 「(gather {...} :will-produce(100)).will-produce == 100」 (that last one will work without a grammar change, as it already does work for :infinite ) There should be no guarantees that the value will always be accura
.tell FROGGS As far as I can see, qx// issue will require some deprecation, that's why I'd really like to see it being reworked before any major release. But I do understand that there are other issues. Thanks anyway.
.tell vendethiel the text right above explains why it's not ;) We don't let any of the code in a given supply/react instance be running on multiple threads, so there can never be two threads racing to read/write any state enclosed in the supply/react block
.tell b2gills While I agree there could be such a thing, I'd like to see more concrete use cases :)
.tell b2gills Not least because I was very glad to kill off the whole .infinite thing
.tell laben Of lists we know if they are lazy or not. Of lazy lists we may know that they are infinite or may be infinite. For example, what makes you think, that .lines is finite? It could be a stream of a webserver log that for all intents and purposes _is_ infinite.
.tell FROGGS I'm curious as to why you applied 9f581101ad to glr, when I reverted it later in nom
.tell ab6tract re http://irclog.perlgeek.de/perl6/2015-08-21#i_11096207 , .uniq looks like the Unix uniq command, but that actually works like .squish
.tell abstract when that was pointed out, TimToady decided to rename .uniq to .unique to mark its difference from the uniq program
.tell lizmat Ups, I just realized that it makes tests pass, that's why... and I havn't seen the revert, even not in the history of the affected file
.tell jnthn should the single arg rule really extend to Hashes just because they do Iterable? my @a = {:a(1), :b(2)}; gives [:a(1), :b(2)] and the same happens for sub calls
.tell lizmat what gives?: https://gist.github.com/anonymous/83b0780b59c40e77184e
.tell nine Good question. It feels a little odd may have to defer to TimToady++ on that one.
.tell TimToady should the single arg rule really extend to Hashes just because they do Iterable? my @a = {:a(1), :b(2)}; gives [:a(1), :b(2)] and the same happens for sub calls. for %hash {...} and %hash.map iterating over the pairs does asolutely make sense, but when passing a hash to a sub or method, one really expects it to stay a hash.
.tell jnthn It's looking now like the limiting factor for the awesomeness of your parallelism/asynchrony/concurrency talks is *the length of the talk*. I think we need to get you longer speaking slots. ;-)
.tell lizmat re commit 6b907ab9540de63941959252b3880fc6f67836c7, I'd be interested in _why_ we need those signatures now?
.tell AlexDaniel the qx//|run|shell issue is not a very big one on my list btw... there are more important issues we need to address
.tell jnthn looks like we have pow_i in MoarVM, but it never be used in nqp/rakudo
.tell jnthn ignore it, I make it being used now.
.tell [ptc] I've set some ulimits in perl6-examples' update-and-sync, and updated the checkout on hack; that was in a detached HEAD previously. If master sounds wrong to you, please use "git reflog" to restore the old state (and fix the issue otherwise)
.tell nine is it intented for .elems to consume a Seq? if it is, the code in src/core/metaops.pm line 388-389 will need to change. i dont think it's right for hypers to consume Seq multiple times
.tell nine both map and grep return Seq, but couldn't the generated Seq already know its number of elems? after all .map applies to every item while .grep knows wheter an item passes the test and then gets included or not
.tell RabidGravy ...
.tell ab6tract the touchstone of any language is whether you can write great software in it not whether the language is perfect. It's going to be great
.tell ab6tract I share your passion to get things right. If I upset you, that was the opposite of my intent and I apologize.
.tell nine good that there is a plan forward for that, i guessed it would be something like that :)
.tell nine because an Array is a bunch of Scalar containers, we know that nothing will ever flatten, so instead of type-testing everything against Iterable we simply just give back an iterator over the values (and if you use binding to defeact that and put an Iterable directly in there, on your own head be it)
.tell AlexDaniel I think timotimo meant the state we already had when we spoke last time
.tell laben can you please pull request that here? https://github.com/perl6-community-modules/testml-pm6/
.tell laben Or in case you accept the invitation I sent to you, you can push directly
.tell [ptc] a perl6-examples job on hack was running for 72 CPU hours before I killed it; please investigate (and add a CPU limit to all cron jobs)
.tell jnthn I am seriously loving https://gist.github.com/anonymous/6607717a5d201a9acf82 ... I'm using it for language bragging rights with various friends. Can't wait to be using the finished API. :-)
.tell [Coke] re https://github.com/perl6/roast/commit/04520b26ec4c5eda97a53140d3c1105bf2e7f183 I have *no* idea, I just reran the generate script
.tell [Coke] I assumed it to be a hash ordering thing
.tell jnthn lists should just match literally, and we should have an explicit list pattern type, or extend regex to cover Positional matching
.tell jnthn looks like you forgot to push the new S17-supply/syntax.t
.tell FROGGS I've been waiting for this! So how does it work now? “<timotimo> froggs changed things in order to make them work differently with regards to output grabbing”
.tell FROGGS I mean, qx// and run.
.tell FROGGS got a patch for TestML with a fix for latest nom, seems to work already on glr: https://gist.github.com/986ba2b9e63d1763601d
.tell [Coke] I remember you were a Tcl fan -- have you looked at http://wiki.tcl.tk/41658 ?
.tell jnthn what is .flat actually supposed to mean? Array has a flat method that does Seq.new(self.iterator) while inheriting .iterator from List. List itself on the other hand does not use its own iterator for .flat and inherits Iterable's instead.
.tell smls I see what the issue you were likely mentioning was, and fixed it. Turns out the tests in Pod::To::HTML were testing for the wrong result :)
.tell nine yeah, I think that test has to be bogus by now, thanks to the single item rule
.tell lizmat an immediate abort flag would be a huge pain for JIT compilation
.tell lizmat Re 9c5d5da1, I'm not sure if that deserves an extra entry in the interator API or not; after all, you could just do push-all and pass an object that, when you call .push on it, increments a counter...
.tell lizmat It really hinges on if there are more use cases than Seq.elems really
.tell Sgeo wrt http://irclog.perlgeek.de/perl6/2015-08-17#i_11067252 - I like clojure's namespaced dynamics, what do you think?
.tell jnthn is ([1,2] X~ <a b>), '1 2a 1 2b', '[] does not flatten'; cannot work with the nqp::istype(elem, Iterable) distinction between item and list because no matter how much you itemize [1,2], it will stay Iterable and thus be iterated over.
.tell jnthn could you look at the sanity of https://github.com/rakudo/rakudo/commit/9c5d5da13f ? :-)
.tell jnthn would it be possible to stick in a flag in the opcode loop that would cause an immediate abort (with stacktrace) if set? then we could set that from e.g. signal(SIGINT).tap{...} and have a control-C cause a stacktrace on where it is stuck in a loop
.tell jnthn I notice you're using anonymous classes to build iterators. With SupplyOperations you chose to use named classes. Is there a particular reason for either, or is this a case of progressing insight?
.tell TimToady i would like to ask you what do you think of restricting (multi) methods definitions of a class with the (multi/proto) methods signature of composited roles
.tell jnthn if nqp::unbox_i gets some overflow test/exception, I can remove as well some of the tests in functions I added recently
.tell FROGGS re #125796, it looks like EOF is not set in the same way for an IO::Handle coming from open or from run :out
.tell grondilu the sha256 function hangs in test sha.t of your Digest module, can you check it please?
.tell jnthn modified GLR Array.unshift PR (now PR#493) per comments on previous PR.
.tell smls is it a good idea - design-wise - to make the code samples "interactive on mouse-hover"?
.tell smls I just came across your mock-up, and I can't help but wonder why a redesign is necessary. I like perl6.org's design as it stands, so I strongly suggest not messing with it :)
.tell smls fwiw I wouldn't mind if more of perl6.org looked like docs.perl6.org (since I find that to be really nicely designed), what I'm against is a change in the theming, color choices, and so on :)
.tell jnthn unshift PR is now #494 due to later merge conflicts with .is-lazy work.
.tell TimToady yeah, that's completely understandable. I could see a possible nqp::p6with[out] and such for the version that Perl 6 expects, but I wouldn't worry about it unless/until people _really_ want to use nqp::with[out] in non-P6 contexts.
.tell jnthn tried my hand at GLR Array.unshift(**@) in PR#491 (sorry about the /msg, too tired)
.tell skids Left some comments on the PR
.tell jnthn looks like merging nom into glr loosed some commits, at least my one.
.tell flussence sub MAIN should certainly work inside unit module Foo, so it's just a plain old bug
.tell japhb thanks, very much appreciated :) It's really conference driven development at its best. I just want my message at YAPC::EU to be "you don't have to know much, just use it!"
.tell masak could you please accept the two PR for masak/ufo? it would make my life much easier, thanks :)
.tell hoelzro Regarding yesterday's backlog, the topic was github parsing .pod6 files and how to make your p6 module documentation available on github. Is there anything you needed to discuss with me about it?
.tell azawawi I just wanted to share my experience on the matter. Pod6 is a bit more complex than Pod, so adding support to GH could be somewhat difficult. Not that you shouldn't try, of course =) For now I've been generating my README.md via Pod::To::Markdown
.tell ShimmerFairy re http://irclog.perlgeek.de/perl6/2015-08-12#i_11042225 the problem with nqp::defined is that it treats Failure.new as defined, and 'with' needs to treat those as undefined
.tell jnthn https://gist.github.com/skids/edac2cebdab5c6bd7641 # did not get far -- but hey, actual error messages do help, right?
.tell jnthn maybe it's not either/or; perhaps Slip is a role that can be composed with Nil?
.tell TimToady Slip is just a subclass of List, and it really needs to be that way... I guess Nil could be a role maybe...
.tell timotimo another clue: <a b>».comb also breaks, and .comb like .ords maps (^self.chars) and uses nqp::substr in the mapping (not sure if one or both are contributing). And in a custom ords implementation, something as simple as assigning (_just_ assigning; it returns) the mapping to $ or @ gets you the right thing (albeit itemized/Array-ified)
.tell timotimo ah-hah! (1i, 2i)».roots(5) breaks too (the 5 doesn't matter); the problem seems to lie in mapping inside a deepmap. I think the problem lies in only binding (like := or bindpos) the kinds of maps Complex.roots and Str.ords return.
.tell gnosti test-yoleaux
.tell tadzik Are you working on File::HomeDir? I am interested in doing a full port of the p5 version. Please let me know if you can give me co-maint. thanks :)
.tell tadzik initial version with Travis CI and tests are in https://github.com/azawawi/File-HomeDir
.tell jnthn Any.join should have an optional or default separator
.tell jnthn I'm curious on your thoughts on the Stringy and Unicodey roles as mentioned in S15, I'd like to see them fleshed out finally :) (I have this S32::Str potential rewrite from some while ago featuring the two roles, if it helps: https://gist.github.com/lue/9941658 )
.tell timotimo NQP 808ce0fcb broke ("a","b")».ords for some reason.
.tell jnthn For the first time, I can run one of my highly-parallel programs reliably under r-m if I only turn it up part way. Still can't handle it when I turn it all the way up, though.
.tell jnthn (That was meant as a "Yay! Happy Day!" moment, BTW. :-) )
.tell AlexDaniel The message for "..." still has to be fixed; it is a separate issue ("..." implicity tries to "return" from the mainline code, not just sink a Failure) What was fixed was there is no longer a different backtrace when a Failure is sunk in the last statement.
.tell japhb What're the failure modes you're seeing of turning it up to 11?
.tell hoelzro Panda commit afd281a breaks panda on r-j, because it requires Proc::Async. Either panda should handle lack of Proc::Async, or r-j needs to learn how to Proc::Async. :-)
.tell jnthn regarding supply { }, how will the runtime know which supply to emit()/done() to? $*SUPPLY ?
.tell jnthn It looks to me like there is a mis-matched ")" at the end of line 72 in https://gist.github.com/jnthn/aa370f8b32ef98e4e7c9
.tell azawawi Ah, thank you for the Electron info!
.tell dha please merge your 5-to-6 docs into docs.perl6.org. Yesterday I would have had a use for it but couldn't find it.
.tell TimToady if you're serious about ifdef, we should probably revert the existence of Index before the next release
.tell TimToady or do you think they both have a reason of existence? (as in TIMTOWTDI)
.tell japhb re your discussion with timotimo++ about Electron. It is basically chrome + nodejs + API which we are accessing via JSON::RPC. We're setting up a nodejs jsonrpc server and using it via JSON::RPC and wrapping all into lovely p6 classes :)
.tell japhb examples are found here https://github.com/azawawi/perl6-atom-electron/tree/master/examples
.tell dmitri For .pm files, you can assume it's Perl 5 by default, and only Perl 6 if the first non-comment line starts with one of: use v6 unit module class
.tell jnthn your commit 56ae33ea0a5ac3d54a5fef2aa15eab34f9e9594b broke &?CALLER::ROUTINE: role Marker { }; sub foo { say &?CALLER::ROUTINE ~~ Marker; }; my $test = sub { foo(); }; $test(); $test does Marker; $test();
.tell jnthn I can workaround missing &?CALLER::ROUTINE with nqp::getcodeobj(nqp::ctxcode(nqp::ctxcaller(nqp::ctx)))
.tell ab5tract i'm unsure what classloading bit you're refering to. classloading happens for interop and "normal" runtime in different ways (BootJavaInterop.java and LibraryLoader.java respectively)
.tell ab5tract nqp commit d03863352f07a05fa68892997e417b62452cb34e simplifed the former significantly, and i suspect something similar should be possible for LibraryLoader.java too, but i haven't been able to dig in yet
.tell ab5tract as for non-jdk interop, you usually need to supply :jar<$jarfile> to the use statement
.tell ab5tract i'm not excluding the possibility that there might be something borked in CLASSPATH handling either, though, but i've been away from that bit quite a while...
.tell RabidGravy maybe something like https://gist.github.com/jdv/73275880d42c7b952892 but still needs trigger mechanism to maintain other state. not to mention the module seems messy in general.
.tell moritz I'm not sure, but I speculate the "Failure changes" were something to do with OKness or a similar idea. At this point, I'm no longer sure.
.tell azawawi it was felt that it was good to unify socket and IO handle
.tell azawawi the send() system call as specific semantics that our $socket.send doesn't follow, so it's better to not name our thing .send
.tell Sgeo_ you might be interested in timo's https://github.com/timo/adt , btw. The only thing missing is the ability to do multi dispatch based on that
.tell psch I'm quite keen to help, but want to make sure there isn't some other consideration that made you eschew ClassLoader stuff entirely
.tell abc-xyz Currently rakudo uses a grammar written in NQP that you can get at, but it's not called STD, and it's not fully bootstrapped in Perl 6. It may be bootstrapped in some future version, but for now it's more valuable to implement it in NQP as a portability layer.
.tell smls could you be super nice and fetch the newest dll files for gtk-simple for me to put onto hack? or maybe give me a script or instructions where they can be found, exactly? also, if you could grab gtksourceview-3 in addition to what we already have, that'd be swell :)
.tell lizmat why is .send deprecated? Any reason behind that? Thanks for all your hard work. https://github.com/rakudo/rakudo/commit/26589f2b72534870a6a4a996ae10d5ccd9d9b801
.tell [Coke] http://tux.nl/Files/uchar-nopro
.tell moritz Did you mean `use Perl6::Grammar:from<NQP>` (ie no space before `:from`)?
.tell jnthn seems http://jnthn.net/articles.shtml is in need of an update :-)
.tell FROGGS looking at debugging 'Proc::Async.new("perl6", "-e", "exit 2").start.result.perl.say'
.tell FROGGS it looks like the "done" callback is not being called, and thus the exit code is never set
.tell colomon smoke is stalled
.tell mdinger the way to think about it is that all assertions are about the current cursor, so <?after foo> means "is the cursor after foo?", and <?before baz> means "is the cursor before baz?"
.tell smls I commented on your binary parsing gist, JFYI.
.tell skids Thnks; I posted a reply.
.tell grondilu ELI5 => https://github.com/azawawi/perl6-atom-electron/blob/master/bin/electron_bridge_launcher
.tell meisl i have a (p5) initial implementation of aho-style tiling
.tell meisl check out https://github.com/MoarVM/MoarVM/blob/even-moar-jit/tools/tiler-table-generator.pl if you wish
.tell masak You offered to discuss parsing binary blobs, right? I wrote down some thoughts on it here: https://gist.github.com/smls/bc5d0fb42f199574e339
.tell masak the rakudo+nqp 2015.07.1 releases don't work for a star release: "The nqp-m binary is too old" (probably due to the missed version bumb
.tell jnthn It looks like the test for flussence's Test::Corpus makes a reliable concurrency segfault generator; as I added a bunch of say() calls all over lib/Test/Corpus.pm, it looks like it tries to start in parallel 50 copies of 'is &func($in.slurp), $out.slurp, $testcase;' but none of them actually complete the is() call; it segfaults on my box reliably after starting the 16th copy and producing no actual test output.
.tell jnthn My WAG is that it's unhappy about trying to do a pile of I/O operations with an exhausted thread pool.
.tell jnthn Although I suppose it could just be the general non-threadsafe qualities of Rakudo's Test module ....
.tell flussence I sent you a PR for Text-Tabs-Wrap which works around a Rakudo parsing bug and allows Text::Wrap to compile again.
.tell skids See around http://irclog.perlgeek.de/perl6/2015-07-24#i_10947364 but I suspect your recent improvements to error reporting may have regressed the reporting here
.tell masak did you use the p5 script for the contributors?
.tell masak the p6 version also looks at doc / examples / etc. contributions
.tell lizmat +1 from me on ! to indicate "is required"
.tell lizmat +1 from me as well on ! for 'is required'. I like the unification with parameter specifications.
.tell hoelzro RE RT#125657 the example test.pl overrides Exception.gist, which is what prints out backtraces, which is why you do not see backtraces. (override .message instead).
.tell japhb i like it, i'm playing devils advocate for a bit
.tell japhb it's an implicit assumption that everyone *can* be a positive, kind member, and that's not really true, e.g. the TempleOS guy
.tell meisl if you want to ask questions, i'm typically available between 07:00 UTC and 15:00 UTC :-)
.tell TimToady Wow, yes...also if we figure out what bits of the declaratively matched stuff we need not run procedurally. If you have a good idea how to represent that and get the NFA runner itself to collect the info, I can probably figure out how to pass the info on downwards...
.tell TimToady where "represent that" is the fates of the sublexers...
.tell jnthn Thanks
.tell El_Che I like the 'We are' variant at https://gist.github.com/nxadm/13c4817dd1b4b792a99f and I prefer "Community Guidelines" to both "Social Code" and "Code of Conduct" (the worst of those three IMO).
.tell flussence it's "avoid 'success at all cost'", the inner quotes are important :P. http://irclog.perlgeek.de/perl6/2015-07-21#i_10928473
.tell japhb i like that form of code-of-conduct, it's short, too the point, and human rather than policital
.tell TimToady S09 seems rather silent on what happens if you .map a multi-dim array, or .values, or .pairs, or... :) Also what happens if you iterate (which in turn I guess answers what things like map/grep/unique/squish are doing)
.tell TimToady Well, .map *is* iterating, of course... :) I'm guessing the answers to all these are related, anyways.
.tell raiph generally one of --ll-exception or set a breakpoint in Moar where it throws that if you need to dig deeper; trouble is that error is pretty much always telling you that some *other* thing is wrong
.tell jnthn on average, the lexers visit each character in the setting about 4.3 times, due to relexing at each level of proto/alternation (and that's not counting the extra pass to actually match the data), so I suspect we can speed up the parser considerably by not rerunning sublexers when a superlexer already determined how the sublexer would turn out
.tell jnthn S17 gist seems sane to me, but that's a pretty low bar today :)
.tell tadzik I think you broke Panda.pm with commit 0e2cda5ae9723920dd93103511a98419dd53e800 ($p is now undeclared in that method)
.tell tadzik PR'd you with a fix: https://github.com/tadzik/panda/pull/187
.tell jnthn Happened to see the link to your S17 supply/whenever proposal. I like it in general -- which is to say, I'd probably need to code a bit with it to find the holes if any.
.tell japhb (and/or skids) - I've fixed that URL problem in Text-Tabs-Wrap; the only thing blocking install now is a segfault in a test file...
.tell flussence Text-Tabs-Wrap seems rather unhappy: I can't install it with panda, and it seems to be failing quite a few tests.
.tell lizmat I'm going to revert your formatting patch, it introduces changed meaning (some bugs, one fix) mentioned here on irc
.tell FROGGS re http://irclog.perlgeek.de/perl6/2015-07-15#i_10898154 , yes that was intentional
.tell FROGGS since the error messages could also come from using the sub version, so the prefixing period could be misleading
.tell jnthn How would reverting my patch make things worse? It reverts fine afaixs
.tell FROGGS re http://irclog.perlgeek.de/perl6/2015-07-15#i_10898200 , the range info is just for display, so a string will do fine
.tell masak sub eval($a,$op,$c,@exc) &'{ $a &,$op $c or &@,@exc }
.tell masak sub eval($a,$op,$c,@exc) &`{ $a &,$op $c or &@,@exec }
.tell japhb I think the one at http://irclog.perlgeek.de/perl6/2015-07-11#i_10881271 should indeed DWYM; feel free to file a ticket on that
.tell jnthn Great, glad it makes sense to you too; I filed RT #125606 for the "Role requiring private method" issue.
.tell FROGGS Something weird is going on with -I and the REPL. If I `perl6 -Ilib -MSomeModule -e'use-the-module()'` it works. But if I `perl6 -Ilib -MSomeModule` and enter `use-the-module()` in the REPL, it fails. Examining @*INC in both cases shows 'file#lib' in the first case, but not the second!
.tell lizmat https://github.com/Tux/CSV/commit/6f3928344e1d499509bbea4df1930da0b5372e6c
.tell jnthn I think MVMExceptionBody needs an MVMObject *label, so the payload can be used for: LABEL.leave(42)
.tell lizmat I was referring to the fact that perl6's command line options don't seem to affect the REPL (or at least, not all of them). In my particular class, -I wasn't affecting @*INC in the REPL, and ugexe seemed to indicate --ll-exception was problematic as well.
.tell skids moritz is keeping https://github.com/moritz/perl6-all-modules
.tell [TuxCM] the semicolon in $^r<legs> < 8; is not needed
.tell cognominal `say True.'!'()` calls a method by its name at runtime ( think `$a."$b"()` parens are required ). Currently to call a prefix operator as a method: `say True.&prefix:<!>` ( any code reference would work `$b = &say; $a.$b` ) I think? S03 should be changed to match
.tell [Coke] c++ is an error because c is a constant, but c.succ gives 3 because c is really just a name for an integer
.tell kanl checking only one side of the bounds won't work for determining the "type" of the range
.tell kanl checking only one side of the boundary _will_ work if !$range.infinite
.tell TimToady fixed, thanks!
.tell Begi This is how I might have started: `loop {␤prompt('> ') ~~ /^ \h* $<d> = ['-'?\d+] \h* $<s> = <[CF]> \h* $/;␤given $<s> {␤when 'C' { say "$<d> °C = { $<d> * (9/5) + 32 } °F" }␤when 'F' { say "$<d> °F = { ($<d> - 32) * (5/9) } °C" }␤default { last }␤}␤}␤` ( What you have is perfectly fine as well )
.tell skids Looks like https://github.com/rakudo/rakudo/blob/nom/src/core/Block.pm#L307 will never be reached
.tell lizmat proceed resumes matching when clauses. Also that code is temporary and we'll just throw those once .assuming has burned it wrt ecosystem falout.
.tell [Coke] the conversation about years clearly ended with everyone agreeing that it should be a separate class
.tell hoelzro re RT #125574, obtaining a type object means committing to a REPR, meaning that I can't actually fix that...I should, however, make it tell you it's not going to work rather than silently fail. I'll do that.
.tell ab6tract - yes, I see that, it was clear. I obviously responded before backscroll completed, but does that mean I shouldn't have voiced my opinion, even if I had waited until I caught up?
.tell jnthn that it seems that the https://rt.perl.org/Ticket/Display.html?id=125408 has gone away at 2015.06-226-g01a60df built on MoarVM version 2015.06-88-g647df11
.tell jnthn "to implementing through implementing"?
.tell jnthn Could you have a look as to why f5ebbf480c5936 is causing S17-supply hangs
.tell jnthn empirically, cbff68a fixes the hanging S17-supply tests
.tell skids tbh, I'm not completely following what's happening in PR454, so am reluctant to merge
.tell brrt Ummm, what?
.tell lizmat looks like the range slicing behavior is/was intentional: https://github.com/rakudo/rakudo/commit/a8df1c96d9baf0c0aeda4e4d3c250fe6a5c92a04
.tell lizmat Re: my@a; @a[1,2..3] http://irclog.perlgeek.de/perl6/2015-06-16#i_10755209 if it helps figure out how the GLR will impact that.
.tell lizmat you're probably already aware of it, but PR#454 will prevent Parameter.perl from emitting "\%" and "\&"
.tell colomon could you have a look at https://github.com/perl6-community-modules/SmokeResults/pull/2?
.tell jnthn could you weigh in on http://irclog.perlgeek.de/perl6/2015-07-04#i_10848766 if you have some time?
.tell pmichaud I'm going to assume that, if you're prototyping the new efficient underpinnings as a module, I can safely work on removing most flatteners from the API, so we have more time to work out the programmer-visible gotchas (or in other words, Break All The Things sooner rather than later)
.tell FROGGS there's something weird going on with repeated qqx[], it seems
.tell FROGGS looking at failures in t/spec/S24-testing/line-numbers.t and t/spec/S32-io/IO-Socket-INET.t
.tell lizmat https://github.com/rakudo/rakudo/pull/457 fixes use lib:from<Perl5> and spectests fine.
.tell masak jnthn, timtoady, froggs, on unbound names / interface consistency: https://gist.github.com/raiph/84050de6bb3decb69937
.tell TimToady Was going through S09 in prep for working on multi-dim stuff and spotted various things that seem a little off or in need of review/decisions: https://gist.github.com/jnthn/fa6a9a3618ae322cb581
.tell DrForr Yes, use lib:from<Perl5> not working has bothered me for quite a while. It's tedious to have to resort to EVAL for that. I can't really see the point of use utf8:from<Perl5> though. use utf8 only tells perl that the source code is in utf-8. The only source that could affect is the one you give EVAL or run(). And if you do that you may as well include the use utf8; there.
.tell nine Silly point to make, but pragmas appear to not be run when declared as 'use utf8:from<Perl5>;' - I realize it's silly but something to think about.
.tell |Tux| 124298 is fixed :)
.tell jnthn I'm fine with the default FAILGOAL backtracking
.tell FROGGS looks like QX is severely broken on the JVM :-(
.tell tony-o I've realized that use of {(...)} entirely eliminates the problems ("fooling around with ending a block and restarting a block or whatever ... buffering crap into a temp str to use that as the return value")
.tell tony-o (Also, that the say-in-say approach will end in tears)
.tell tony-o I've updated https://github.com/tony-o/perl6-template-protone/issues/1
.tell jnthn you might want to have a look at why https://github.com/rakudo/rakudo/commit/acaeb17897 was needed to revive Proc::Status
.tell jnthn as an added datapoint, check why test 13 in t/spec/S17-procasync/basic.t (line 39) fails
.tell lizmat Re: the Block vs Routine/Any vs Mu issue: https://github.com/rakudo/rakudo/pull/447
.tell JimmyZ https://github.com/perl6/docker/pull/2
.tell hoelzro hi, please review/merge https://github.com/perl6/docker/pull/2 , thx
.tell hoelzro err, the right one is here https://github.com/perl6/perl6-docker/pull/1
.tell raiph thank you for the excellent GLR feedback! Comments / reactions posted to the gist.
.tell tony-o See my POC https://github.com/mj41/SP6/ :-)
.tell tony-o I think jnthn would appreciate a PR for the debugger/tracer fixes
.tell tony-o Might it be possible to have Data::Dump default to non-colorized when output is not going to a tty?
.tell pmichaud I had a couple of minor comments on glr-draft. See https://gist.github.com/perlpilot/0eb929474ad1c3888f7d
.tell mj41 i might use that instead of protone :-)
.tell DrForr i can make it default when $*OUT.t starts working. in the mean time, it shouldn't colorize output if you don't have Term::ANSIColor installed or if you use the flag
.tell japhb I don't :/ I don't know how to get them in the C code. Though I could probably pass those two to the init call and have NativeCall create the strings for me. But Python seems to know at least ENV anyway: perl6 -Ilib -e 'use Inline::Python; my $py = Inline::Python.new; $py.run(qq{import os\
print os.environ["HOME"]\
});'
.tell jnthn when you have a minute, could you glance over https://rt.perl.org/Ticket/Display.html?id=125480 ? I've been trying to fix it without breaking what *you* fixed there
.tell pmichaud GLR feedback https://gist.github.com/raiph/1dd0891cde8f1cbe78ce
.tell pmichaud I'm fine with args to X/Z not flattening by default, I think, as well as circumfix:<[ ]> (but postcircumfix:<[ ]> should still be a list of flattened lists for multi-dim slicing)
.tell [Coke] I'm okay for adding it as a toy, but maybe we want the ! modifier as someone suggested for sugar
.tell hoelzro what is your opinion regarding the use of panda in Travis builds? Should we retain panda and use panda-test, or remove panda support and just use a prove incantation?
.tell tony-o https://github.com/tony-o/perl6-template-protone/issues/1
.tell FROGGS may be of interest: pipe deadlock (dihwidt?): https://news.ycombinator.com/item?id=9753279
.tell lichtkind I found nothing wrong with the tablets.perl6.org cron job; please supply a more precise error description
.tell pmichaud What about Tuple as the name for the immutable List type instead of Parcel? There'd be precedent in other languages for the usage.
.tell pmichaud Does Perl 6 actually *need* a list type that is mutable but not an array? Having only List = immutable, Array = mutable & itemizes its elements could improve simplicity and orthogonality, lack of which is IMO making the pre-GLR design so confusing.
.tell TimToady in post-GLR, should arguments of cross/zip still flatten?
.tell Zhtwn You're making it too difficult trying to work around a bug. See http://irclog.perlgeek.de/perl6/2015-06-22#i_10784896
.tell moritz <lichtkind> can someone please check the tablets cronjob, it stopped working
.tell DrForr give Data::Dump a shot with the ABNF stuff, i think it turned out pretty well
.tell FROGGS would you agree that RT #125129 can be merged into RT #78676 (as a duplicate)?
.tell jnthn well, it looks to me as though initializers are already correctly parsing at i= prec, so it seems like it would be pretty easy to give adverbs a precedence "slightly tighter" than that as it says in S03:1533, maybe "i^=" or so
.tell TimToady While that helps the colon pair case, we run into problems with pairs, as in "my $a = 'foo' => 'bar'", because those are %item_assignment too. Also chained assignments to declarators seem to go wrong (e.g. my $a = $b = 2).
.tell TimToady I ended up doing https://github.com/rakudo/rakudo/commit/9ed8577888 which I suspect you'll want to review; as far as I can tell, STD is wrong for ages on these things and we never noticed.
.tell TimToady The Proc::Async-using thing seems to run reliably now (didn't see it crash at all in a bunch of attempts locally for my Windows port of it); would be interested to know if you see the same.
.tell jnthn Proc::Async works now on Linux, and I'm mostly going to be touring Grand Tetons/Yellowstone over next few days, but if I work on anything, will probably be dynvar cache rather than fates
.tell yoleaux I'm very confused as to why messages are going via you
.tell yoleaux good morning.
.tell andreoss could you have a look at euler/prob054-andreoss.pl please? It runs again, however gives 380 as the answer instead of 376, and I'm not sure why
.tell TimToady in STD, "my $exists = @foo[0]:exists" puts the adverb on the whole scope decl, because adverbs have item assignment precedence, put the initializer preclimits to item assignment. In Rakudo we wrongly had preclimit doing exclusive, not inclusive, checking, so we never noticed until now.
.tell TimToady s/put/but/. Also I don't immediately see a good fix; I suspect changing adverb's prec will have bad effects, but initializer doesn't feel like the right change either. Ideas welcome. :)
.tell smls see http://irclog.perlgeek.de/perl6/2015-06-17#i_10760273 for the real reason your expression wasn't lazy
.tell smls thing is, 1, [\*] 1..* is now considered 2 elements, and you asked for 10, so of course it was trying to completely evaluate the second element of your list, which happens to be infinite
.tell colomon you seem to have several cron-started smoker instances running on hack.p6c.org. Please use something like "flock -n smoker.lock -c /home/colomon/SmokeResults/smoke_test" to protect against multiple executions
.tell nebuchadnezzar do you mean to modify upstream sources in the `upstream` branch, or do you mean the upstream sources in the `master` branch?
.tell nebuchadnezzar I believe the terminology and branch names might be confusing me slightly...
.tell dha I sure hope you aren't trying to re-implement the Test::Builder module from Perl 5, which they are currently trying to replace with a better model
.tell nebuchadnezzar I've patched the files in the moarvm package so that debuild builds correctly, and pushed the changes to alioth. Just wanted to let you know :-)
.tell [ptc] Oh, I wasn't complaining about the general set of is-approx patches (dealing with very large or small numbers well is important to the use case), I was specifically saying that that particular commit seemed to have a couple bugs in it.
.tell smls La la la la, please make that a https://github.com/japhb/perl6-bench minibenchmark ... # re: http://irclog.perlgeek.de/perl6/2015-06-16#i_10757135
.tell [ptc] Your calculation for the implementation which takes a $tol parameter (the second one) will always fail if $expected == 0 and $tol < 1, because then $abs-diff == $abs-max == $got and $rel-diff == 1.
.tell [ptc] The implementation which takes a :$rel_tol and :$abs_tol (the third one) allows *either* tolerance to succeed, and there doesn't seem to be a way to require both; that may or may not matter. Also, using Numeric for the tolerances leaves me wondering about the exact behavior if the tolerances are Complex instead of Real.
.tell [ptc] Ok, now I figure out you are Paul Cochrane, I revert your patch on Configure.pl since it's forbidden to modify upstream directly and you arleady provided a patch for this
.tell skids your GLR in a nutshell is assuming that list assignment still flattens, which may not be what we end up with for a default
.tell masak one inaccuracy in the interview, somehow it seems to claim that import is not lexical in Perl 6, when it is. (Or at least primarily lexical, with a few symbols also copied to packages because they're type-like and usually want public names.)
.tell smls In post-glr, I'm expecting that if/unless blocks will return Slip on a false condition, so that list comprehensions work. E.g., @evens = ($_ * 2 if .odd for 0..100);
.tell cygx please test the three mingw32 branches if you have time... it should work without hacks
.tell FROGGS your branches work as expected (with the caveat that you have to set MVM_SPESH_DISABLE to compile the setting)
.tell FROGGS instead of looking for $ENV{VisualStudioVersion}, one could also try to detect if your Perl5 has been compiled using MinGW, eg by looking at $Config{ccname} or $Config{gmake}
.tell FROGGS the one thing that is not quite right is that the import library libmoar.dll.a ends up in /bin - it probably should go into /lib
.tell pmichaud In your new GLR design, will if/when/unless blocks return Nil or () or Slip on a false condition, and will this idiom continue to work: say "foo{'bar' if $verbose}baz"
.tell Ven you did not 'make install', right?
.tell cygx I was able to compile the setting without disabling spesh.... can you tell what windows/perl/gcc versions you have?
.tell cygx now it works in the windows sdk shell too
.tell lizmat i left some comments on cead6f13c7e537b7a6b16454a66e41d2d55dfcf0; there's a stray say or so to remove, and reliance on Int.new() that either needs implementation (moritz++) or changing
.tell ab5tract nice. A few small comments: 1) you should probe for the 'fmt' executable before using it. 2) I don't like interactive prompts much; maybe just show the docs for all matches (much as 'man less more' does)? 3) the routine/method distinction in the user interface is weird, because Method ~~ Routine
.tell dduncan the intention is that auth dominate version, such that each auth gets its own independent versioning scheme, and if two different auths match up their versions, it's by agreement or by accident, but not enforced
.tell smls just to clarify, http://irclog.perlgeek.de/perl6/2015-06-11#i_10735146 is not quite truthy enough to be true; assignment to @ does not enforce Positional, it merely coerces any non-positional to a list of one element
.tell moritz done, done, and done ;)
.tell moritz I pushed a 'choices' branch to doc.git for disambiguating, for instance, -f push
.tell [ptc] rakudo commit ba5fab6 sets a default for :$abs_tol = 0, but then immediately dies unless $abs_tol > 0. This seems unintentional. In fact, I don't see why either $abs_tol or $rel_tol == 0 is a problem; it's just the degenerate equality case, rather than approximation.
.tell tadzik could you review https://github.com/tadzik/rakudobrew/pull/42 when you get time please? It allows matching Rakudo/panda versions to be installed on Travis
.tell FROGGS I've started some panda work using openpipe3 so the smoker can tell output from warnings: https://github.com/hoelzro/panda/tree/dont-cross-the-streams
.tell moritz thanks for the github org invite! should I also be filling in some paperwork for TPF?
.tell FROGGS I would like to do that; I just wanted to get the basics done
.tell [ptc] Re: specs commit 5557888, I don't think the original meant "can be aliased also", I think it meant "can be the target of an alias", so the 'to' would be correct (though I recognize it's confusing wording all around)
.tell japhb moritz would have had the power to fix it. I guess it was more a problem of not knowing how I intended the setup to work.
.tell nine it appears camelia building needs to be kickstarted again
.tell TimToady should Rat.new(42,0) already fail or not ?
.tell nine we don't seem to have enough RAM on the camelia server to rebuild rakudo-jvm; any chance to get a bigger slice?
.tell moritz Odd. I thought I'd given camelia 4 GiB, but it saw only about 1 GiB. I explicitely virsh setmem 4G'd it now and free -m shows the memory
.tell moritz Btw. I added the VM's network (192.168.0.0/16) to bind's allowed networks in /etc/named.conf
.tell jnthn having tossed StrPos/StrLen, shouldn't StrPosRef be tossed as well from core ?
.tell lizmat No, despite the name overlap, that's something completely different
.tell jnthn Nevermind, a clean install did fix it. (Although that was a pretty weird error message...) Thank you very much.
.tell lizmat Hi, I just did a panda install Inline::Perl5 and all of the tests failed with "Can't locate Filter/Simple.pm". Installing the perl5 module Filter::Simple fixed the tests. Perhaps it should be documented as a prerequisite? -- BTW, thanks lizmat++ FROGGS++ niner++!
.tell jnthn I'm not worried about that particular list-to-remember, because nobody will bother to remember which functions will tell me I'm an idiot right off the bat, and which will let me flail about and figure out I'm an idiot slowly. It's really just another "this can't possible work, and we can tell so at compile time".
.tell FROGGS weird thing...'say EVAL "(:a(1):b(2))"' gives 'a => 1 b => 2' as expected, but the same with $*RESTRICTED set only gives 'a => 1'
.tell lizmat I get a failure on Windows in 55-use-trace.t; I thought it may just be line endings, but it looks like some weird path mangling issue... https://gist.github.com/jnthn/2b4565199f93e5f52cdd
.tell timotimo BTW, https://gist.github.com/Mouq/815d79940dd964711e90 is my solution, but maybe you can make it more DRY?
.tell Mouq #125312 can be closed
.tell [Tux] $=finish now works
.tell lizmat that i now know why we haven't implemented isatty yet :-P
.tell jaffa4 i found it a bit strange that you were using hashes for the bodies in your nbodies translation
.tell cognominal http://irclog.perlgeek.de/perl6/2015-06-04#i_10702538
.tell jnthn I think it would be sanest if submethods do not compose like methods, but have some mechanism for getting themselves all called at the same time as the corresponding class submethod in either build-ish or destroy-ish order as pseudo-parents located between this class and its actuall parents
.tell lizmat re: rakudo 0f627ce, this reminds me: Seems like every Perl code base I touch, I add something like this: sub _s($count, $plural='s', $singular='') { $count == 1 ?? $singular !! $plural }; .say for "tree{_s($plants)}", "box{_s($container, 'es')}", "{_s($birds, 'geese', 'goose')}";
.tell TimToady could you check https://github.com/rakudo/rakudo/commit/2f1960c7e9 for sanity ?
.tell raydiak if you'd use MoarVM/restricted, you could test EVALing code in safe mode by declaring a variable called '$*RESTICTED'
.tell raydiak like in: my $pairs = { my $*RESTICTED; EVAL '(:auth<bar>:ver(/\d+/))' }(); say v42 ~~ $pairs[1]<ver>
.tell raydiak I'm going to make that available as 'use restricted', and maybe even as EVAL(Str, :$restricted)...
.tell tony-o_ in general i'm okay with being pm'd by anyone at any time :)
.tell tony-o in general i'm okay with being pm'd by anyone at any time :)
.tell smls see http://irclog.perlgeek.de/perl6/2015-05-31#i_10681349
.tell hoelzro I think the Tab Completion example in the README.md for https://github.com/hoelzro/p6-linenoise is incorrect: it uses linenoiseHistoryAdd(), but shouldn't it use linenoiseAddCompletion() instead?
.tell hoelzro Same issue in the POD at the bottom of lib/Linenoise.pm
.tell hoelzro Looking at Buf.push(*@a), why isn't that just nqp::push_i(self,$_) for @values ?
.tell jnthn Congratulations! Where are you getting married? (Given your propensity to travel, I'm not ruling any countries out. :-)
.tell masak the NQP version https://gist.github.com/cygx/1e010facd65ddeb1065c#file-money-nqp runs in 1.3 *seconds*, whereas perl6 takes 36s to run that version on my machine
.tell jnthn This async code will work more often than not, but if I do it 20 times in a row, I can get fairly consistent blowups at some point in the run https://gist.github.com/ab5tract/2c618fa8accc70464952
.tell jnthn also, I expected the output to be relatively uniform across 'frames', but sometimes the delay values to sleep don't seem to be taking effect
.tell lizmat https://github.com/perl6/roast/pull/60/files ; it's my first commit to roast, so please sanity-check
.tell masak what of RT #109880?
.tell masak also what of RT #113040
.tell lizmat see an hour before now in the backlog, but I was wondering what you think of ''.IO being a failure with a message about 'use "." for the current dir'?
.tell lizmat I tried to make a PR to that effect for consideration, but for some reason with the change it just gobbles all my RAM on stage parse
.tell tony-o yeah, its not deprecations or warnings - its just too slow:(
.tell atweiden re http://irclog.perlgeek.de/perl6/2015-05-25#i_10653322 problem was fixed with 8693063
.tell smls re http://irclog.perlgeek.de/perl6/2015-05-25#i_10653489 assuming you mean instance attribute: has $!a; method a { $!a //= init code }
.tell masak Re memory leak in rakudo with regexes, reminds me of RT#123974 which I filed a while ago
.tell tony-o HTML::Parser::XML seems broken and/or super slow
.tell jdv79 i have 29s for parsing yahoo.com , it does seem excessive but it's quite possibly because the code was meant to get us by until we had libxml bindings (or if someone needed a PP parser)
.tell japhb i have these hilights in irssi doing what you're looking for, they could be improved but they work well enough (and you're right, it cleans up the channel quite a bit): https://gist.github.com/tony-o/968491d6430de41b3ae2
.tell froogs are you still looking at c++ name (un)mangling? this: https://github.com/kirbyfan64/unmangler might be interesting (even though it's in C)
.tell froggs are you still looking at c++ name (un)mangling? this: https://github.com/kirbyfan64/unmangler might be interesting (even though it's in C)
.tell LIZMAT foo
.tell LIZMAT ++
.tell jnthn typing "s" in the debugger gives me (with --ll-exception) this stack trace: https://gist.github.com/vendethiel/80b612785402162de022 . It also seems, when stepping (via enter) that the "grammar mode" (that shows which part matched already/didn't match yet) is not appearing anymore
.tell TimToady I've left a comment on your 2012 OKness proposal. Apologies if my comment is not OK. :)
.tell brrt interesting piece of JIT code in LuaJIT https://github.com/LuaDist/luajit/blob/master/src/lj_opt_narrow.c
.tell Ven thanks
.tell japhb i have this dimming dalek and camelia pretty well - /hilight -regexp -line -color %K ^rakudo-.*?\s[\d\w]{6}:
.tell japhb i have this dimming dalek and camelia pretty well - /hilight -regexp -line -color %K ^(m|r|p):
.tell japhb the commit states "round up to a multiple of"... maybe it is my bad English; if the biggest elem (perhaps an inlined struct) is bigger than 8 bytes (void* on x86_64), then it should allocate a multiple of 8 bytes
.tell japhb there is already that bit of code: https://github.com/MoarVM/MoarVM/blob/4102a25b1acea1d453d87f4e614d328ba0af8816/src/6model/reprs/CStruct.c#L242
.tell lizmat #125226 was my own fault, the 'please close this bug' message never made it, apparently.
.tell panda 1) please add curlies to package decls to File::Find, Shell::Command and JSON::Tiny
.tell panda 2) the 'build reverse deps feature' builds reverse deps of not yet installed modules, but it does not install their deps
.tell tadzik 1) please add curlies to package decls to File::Find, Shell::Command and JSON::Tiny
.tell tadzik 2) the 'build reverse deps feature' builds reverse deps of not yet installed modules, but it does not install their deps
.tell pmichaud FYI I'm intending to slaughter the $!flattens flag after this release since it makes @a,@a misbehave in non-flat list context, looks like we'll have to fix all the (foo,).flat.eager things scattered here and there too
.tell nine Is there a reason why nobody has added a "unit" statement to Inline::Perl5 to quiet the warnings?
.tell rjbs are you using 'will lazy' atm?
.tell jnthn do we want to destroy/clean-up the sc reader when we do scdisclaim? since we demand every object in the sc anyway
.tell someone Please port that module
.tell nine please see the PR on I::Py
.tell FROGGS the plural branch of my panda fork now supports --auth and/or --ver on each of the appropriate commands
.tell FROGGS except for revdep, because I wasn't sure about checking auth/ver info of a META.info dependency entry
.tell FROGGS but timotimo++ and I wonder if it wouldn't be better to support longnames on the command line the form of Foo:ver<1.0> and do away with --auth/--ver entirely
.tell FROGGS and that reduces the multispaghetti you'll see that I've added to...also the error reporting exists but needs improved...anyway TTYL :)
.tell timotimo jumplist (both JIT and interpreter) requires the alignment of goto's to stay constant over different codegen step; so you could replace goto's with noops, but i'm not sure how much it'd help
.tell hoelzro I've got a primitive callback example ready, easy enough to write but the C-specific stuff like FD_ZERO and select() needs thinking about.
.tell hoelzro It's a direct translation of the C code, look at examples/cb-echo.pl6
.tell jnthn see warning failure at http://irclog.perlgeek.de/perl6/2015-05-16#i_10612721
.tell jnthn the remaining problem on restart-concurrent looks like this: https://gist.github.com/anonymous/c733890dc297680e5ed3
.tell TimToady did something about the warning while printing exception bug
.tell skids re: subclassing DateTime -- .utc and .local seem fundamental enough that they belong in DateTime proper and so the timezone slicing they do (where what they return is forced to have an Int timezone) feels to me like it should be fixed, rather than overridden
.tell skids see https://github.com/cjepeway/p6-tz for what I'm trying to do.
.tell lizmat why did you remove that line? https://github.com/tadzik/panda/commit/0d32a4071963298fe5b396a14e46ae9d304af001#diff-75437f704a64195befc78c54b9be6da0L6
.tell lizmat nvm, did not spot it was just moved downwards :o)
.tell FROGGS reprs/NFA.c lines 567 and 568 looked wrong to me on a cursory read: 1) should be if act == on both lines and the second should have an && (g != ...). Or I totally don't get the code, which is possible.
.tell jnthn it occurs to me that explicit onlystars are getting optimized away before first call, but autogenned ones aren't (or I wouldn't have needed this CALLER patch), which seems a bit odd
.tell jnthn skipping onlystars on CALLER is probably adequate
.tell jnthn I got test failures attempting to panda install OO::Monitors, as of a fresh build Wednesday morning US/Pacific time. Known breakage?
.tell japhb i'm experiencing an extreme delay in both the compare and history subcommands of perl6-bench right now
.tell japhb perl with the analyze command is now using 720 mb res, which i gather is more than usual? it's at 6 minutes cpu time now for 10 checkouts of nqp-moar
.tell japhb on the other hand, it may have something to do with the fact that all those timing files are about 140 megabytes in size each
.tell lizmat https://github.com/rakudo/rakudo/blob/nom/src/core/CompUnit.pm#L138 If you don't pass in $out, this will always be true. If you do pass in $out and $out !~~ $?FILE.moarvm (like somewhere in blib/lib), then has-precomp will always be false (even if it precompiled) and .precomp-path will give you the wrong result. Should method precomp-path be an attribute instead and then have a $.precomp-path = $
.tell jnthn if there is no veto I'd like to merge the cunion branches of moar and rakudo this week
.tell jnthn could you try building moar+nqp on windows again
.tell brrt I was able build: perl6 version 2015.04-221-gfce74e1 built on MoarVM version 2015.04-105-gbec36ae
.tell brrt I can confirm it's foxed
.tell brrt I can confirm it's *fixed*
.tell nbdsp You might want to try .lines(:eager)
.tell nbdps it may very well be a lot faster to use the regex engine to do the work for you than to build a for loop; at least the regex engine doesn't have to provide for things like making next/last/redo possible and it might also be a tiny bit faster at "splitting into lines" in this case
.tell nbdsp it may very well be a lot faster to use the regex engine to do the work for you than to build a for loop; at least the regex engine doesn't have to provide for things like making next/last/redo possible and it might also be a tiny bit faster at "splitting into lines" in this case
.tell nbdsp try slurp('part-of-speech.txt').match(:g, /<-[\ \
]>+/)>>.Str.hash
.tell jnthn dynload might need patching: https://github.com/MoarVM/MoarVM/issues/214
.tell timotimo i don't see anything out of the box using a CUR but Pluggable is updated to work with the changes to the way @*INC reports CU*s
.tell FROGGS it seems to me that Foo::x doesn't scale well to multiple attributes, but I agree Foo{} is weird, so maybe we can think of something better
.tell sergot https://github.com/sergot/io-socket-ssl/pull/11
.tell [Coke] yes, there was an update on the pull request. that update didn't resolve all problems though.
.tell [Coke] a few 'RT #xxxxxx' were not moved inside 'reason' correctly and I had to resolve some other conflicts (like removing fudges for parrot and two other changes which happend to roast in the meantime)
.tell [Coke] also, there are still more than 300 fudged tests for rakudo without a RT number. I think they were missed because they are indented. (grep -r '#?rakudo' | grep -c -v 'RT')
.tell FROGGS CURLI is now effectively disabled as an installation method because @*INC only contains Str, which !.can('install')
.tell jnthn I've added the gdb backtrace to https://github.com/jnthn/grammar-generative/issues/1
.tell rjbs If only keys matter: 'enum Foo < Bar Baz Quux >;' or if you need to pick specific values, use pairs: 'enum Foo :Bar(-12), Baz(16), Quux(42);'
.tell rjbs (sorry, typo) If only keys matter: 'enum Foo < Bar Baz Quux >;' or if you need to pick specific values, use pairs: 'enum Foo :Bar(-12), :Baz(16), :Quux(42);'
.tell rjbs Then you can use the enum type in declarations: 'my Foo $choices;' or 'has Foo $subtype;'
.tell japhb I fixed the hang in 01-thread.t in NQP. Some tests now fail identically on JVM and Moar, but I think they're busted. yield is only a OS scheduler hint, it doesn't promise anything, so I feel the thread yield tests are bogus.
.tell rjbs "has $.fh will lazy { $file.IO.open }" at your service :-)
.tell lizmat Attribute isn't Rakudo-specific; think S12 mentions it
.tell adu https://github.com/andydude/p6-c-parser/issues/4
.tell lizmat i've added a question to https://gist.github.com/lizmat/c7f53fa206da900c2b42
.tell b2gills Bool.roll(*) should now know it's infinite, as any List.roll(*) now does
.tell FROGGS is there a reason we add $home/.perl6/$ver/lib as a CURLF *and* as a CURLI ?
.tell FROGGS feels to me like adding it as a CURLI would be sufficient ? You don't usually use such a dir for development ?
.tell FROGGS re https://github.com/rakudo/rakudo/commit/d24f30015c31bf4e8fea, shouldn't it be the responsibility of panda to create a directory in which to install?
.tell retupmoca https://github.com/retupmoca/P6-Compress-Zlib/pull/7
.tell cosimo https://github.com/cosimo/perl6-string-crc32/pull/5
.tell tadzik I sent you a pull request to Grammar::BNF that adds ABNF (popular in modern RFCs)
.tell [Tux] I have just posted a fairly awkward workaround if you are in a hurry, but it looks like jnthn and lizmat are looking into at least one of the underlying problems, so there is light at the end of the tunnel.
.tell nine would it be possible for me to get an Inline::Perl5 commit bit ?
.tell jnthn I don't there's any good reason to support placeholders in { $^a } for @list and not support lambdas; I'd rather lose blocks in loopless if than lose lambdas in list comprehensions
.tell jnthn *think (and placeholders make no sense in bare blocks, so that analogy is flawed anyway, plus there is RC code that depends on list comprehensions using lambdas)
.tell flussence panda does not know how to install dlls
.tell FROGGS thanks for the tip, that worked!
.tell FROGGS for the %?RESOURCE<lib/liblinenoise.so> suggestion, will %?RESOURCE contain Str values, or perhaps IO::Path ones?
.tell jnthn I've documented the Grammar::Generative segfault at https://github.com/jnthn/grammar-generative/issues/1 ...if it's not a very involved fix, more than zero people would like to play with it :)
.tell jnthn Something weird when inadvertently using $_: https://gist.github.com/lizmat/b005de9b024c73a10608
.tell jepeway I've changed/extended my commentary at https://gist.github.com/cjepeway/42215154aff709d3efd7
.tell japhb I'm sorry, I cannot reproduce the Inline::Perl5 test failure here with current rakudo
.tell nine_ On further rebuilds, the Inline::Perl5 test failure appears to be a flaky fault. I don't get it every time. :-/
.tell skids I'd love to merge a patch hooking perl5 pod into .WHY :) Making usage of Perl 5 modules in Perl 6 be more convenient than in Perl 5 would be just awesome
.tell eli-se echo "require-sandbox: True" >> ~/.cabal/config
.tell the video game i'm sinking so much time into these days is Disgaea 4. the bad thing is, it'll accept any amount of time you offer :)
.tell skids the video game i'm sinking so much time into these days is Disgaea 4. the bad thing is, it'll accept any amount of time you offer :)
.tell nine_ Please see http://irclog.perlgeek.de/perl6/2015-04-28#i_10520477 re: test failure during Inline::Perl5 install
.tell jepeway I've added a comment to your gist
.tell jnthn this may requires some attention: #124394
.tell moritz ss/need to much/need to know much/
.tell adu facts are facts
.tell jd79 Yes, Royal Garden. It's just across the street from the venue.
.tell jnthn Regarding M.pm6 - very useful and instructive, thanks!
.tell colomon ah, yes, I do not handle overloading at all, yet. Maybe I should have a look at that soonish.
.tell Ven: no, but I have a name picked out if you want to use it
.tell Ven no, but I have a name picked out if you want to use it
.tell Ven "Speculaas", if you want it
.tell jnthn why is while slower than gather while ??? https://github.com/rakudo/rakudo/commit/40a42410d2c9bdc9d2
.tell jnthn https://gist.github.com/skids/fd9fc80c545e76da7d29
.tell tadzik https://github.com/tadzik/panda/pull/154
.tell TimToady there isn't actually anything wrong with those Proc::Async tests themselves, is there? https://github.com/rakudo/rakudo/pull/412 fixes it for me
.tell skids Sounds worth wiring up
.tell hoelzro seems the tab-completion branch passed some sanity tests right now...
.tell hoelzro the three branches look good, so we can merge it right after release
.tell skids Yes, send along PRs, I'm 6-ing all day tomorrow so will take care of 'em then.
.tell moritz: see here , if you can stomach at&t syntax: https://gist.github.com/bdw/fef76ca07b7203e49fc2
.tell moritz see here if you can stomach at&t syntax https://gist.github.com/bdw/fef76ca07b7203e49fc2
.tell PerlJam can you check the permissions on the tarball you uploaded?
.tell nbdsp I did a quick MOP hack... https://gist.github.com/jnthn/d8c27741c7b0d25f340d
.tell lizmat i'd have to actually measure what the overhead of actually "generated" accessors would be; it'd have an impact on the core setting file on disk and the ram of a running program (plus having speshes for each individual instance of accessors etc etc)
.tell nbdsp you can set dbh attributes using the 4th argument to connect: DBI.connect('dbi:mysql:database=testDB;host=localhost;port=3306', 'user', 'password', {mysql_enable_utf8 => 1});
.tell lizmat actually, my patch to perl for use v6; support doesn't even require Inline::Perl6. It works as long as you have some perl6 binary in your $PATH
.tell FROGGS I'm curious how you ended up with a real NULL in the objects to serialize list...
.tell FROGGS Something seems a bit off there. Can't immediately tell what.
.tell brrt What I would like to see in your grant proposal is some indication to the maintainability of your proposed new code. What would it take for someone to take over maintenance, should you lose interest?
.tell andreoss .is-prime calls down to mp_prime_is_prime() in libtommath, so you're going to have no chance of beating it for speed using perl6 code.
.tell vendethiel https://gist.github.com/rightfold/5b5ac73aaaf0d9ccd8bd ;)
.tell jnthn I want to eradicate 'use' from the settings (we discussed this before, a long time ago)
.tell jnthn use Perl6::BOOTSTRAP would then become something like 'bootstrap-from-nqp Perl6::BOOTSTRAP'
.tell jnthn that would allow us to handle "use" / "require" / "need" etc completely from Perl6
.tell jnthn with associated flexibility and compile time pluggability
.tell jnthn allowing something like: "use Inline::Python; use FooLib<from:python>"
.tell lizmat that's odd. With current rakudo and your lazy @*INC patch, make test passes. Panda is still broken. File::Find tests successfully but Shell::Command fails with write string requires an object with REPR MVMOSHandle
.tell lizmat seems like commit 43db2d5bbe75be4cb842d43991248c29b4a1897a is responsible for the progress. Maybe because use nqp; no longer invokes any ModuleLoader?
.tell lizmat Shell::Command's tests fail with a precompiled Shell::Command, but not with the source version
.tell jnthn after successfully bootstrapping panda I try to install a dist, and then it explodes when serializing a null object: https://gist.github.com/FROGGS/c6d637b32e4665ec3882
.tell jnthn I believe this object is a string, the absolute path to the panda script that is currently running (aka $*EXECUTABLE)... is there something I need to take care of?
.tell jnthn I pushed to rakudo/jsoff in case you are curious
.tell timotimo I've got --profile-compile working, by replacing all the array concatenation with nqp::printfh. And then I ctrl+c'ed it an hour later, because it's written a gigabyte of JSON and shows no sign of stopping.
.tell flussence --optimize=off would cut out a gigantic part of the call tree, most likely, as the optimizer goes through almost the whole QAST tree that's generated for the core setting and will reflect the structure of the QAST tree almost 1:1 in its call stacks ... except it'll have an additional "walk_children" (OSLT) frame in between layers of nodes
.tell FROGGS the MoarVM fix for pipes did not affect flapping of Proc::Async tests
.tell nine thanks, for advise about CArray[int8]!
.tell nbdsp Inline::Perl5 is passing binary strings from Perl 5 to Perl 6 as CArray[int8] followed by manually copying to a Buf element by element. Sounds horrible but at least it works until NativeCall gets improved.
.tell tadzik https://gist.github.com/Tux/eb7cdda3079bcec5f8e7
.tell eli-se ruby symbols are GC'd
.tell ptc https://github.com/travis-ci/travis-ci/issues/2978#
.tell TimToady I think 'my @a; @a[^2] should say Any,Any, just like @a[0,1] does. Thoughts ?
.tell yoleaux .botsnack
.tell lizmat .botsnack
.tell masak #124321 - The minimal criminal appears to be monkeypatching of Pointer.parameterize.
.tell jnthn you have no messages!
.tell japhb Er, to not cache Rat literals? I don't think there are are that many common ones, unlike Ints.
.tell nine S22:235 specifies depends as "A list of run-time dependencies, specified as C<use> strings."
.tell nine so you can depend on a specific version / auth of a module
.tell supernovus is supernovus
.tell adu supernovus is supernovus
.tell moritz that doc.perl6.org is awesome. moritz++
.tell Mouq TOML doesn't have provides yet, FYI
.tell RabidGravy http://irclog.perlgeek.de/perl6/2015-02-14#i_10117483
.tell masak I see your point...
.tell TimToady thanks for fixing the print-nl problem in 2cb72b2141f2e37c0
.tell TimToady the alternative being always calling method say inside sub say, to completely hide that implementation detail, thoughts ?
.tell TimToady Since you were working on sequences recently, could you decide what https://rt.perl.org/Ticket/Display.html?id=114326 should do (and mebbe fix it? :))
.tell lizmat I'm not sure I think the second positional to tmpdir/homedir pulls its own weight. why not just construct the desired path object and pass it in as the first argument?
.tell ptc http://www.reddit.com/r/perl6/comments/326wat/examplesperl6org/cq8q0yq
.tell FROGGS Please undo removing MODE_UNBOX_STR_NOT_EMPTY_OR_ZERO; it's probably useful for, for example, v5.
.tell FROGGS Ooops you're innocent. Please try harder next time :-)
.tell FROGGS Guess what, Problem *still* Exists Between (my) Keyboard And Chair.
.tell jnthn any idea why the lasts I removed in 0354bb6 cause the JVM to puke?
.tell timotimo no, I didn't see your fast JSON parser yet, something to put in core ?
.tell timotimo feels to me it could use a few native arrays and native str in some places still
.tell timotimo Fast.pm L66:L82 can be a hash?
.tell TimToady Not immediately, no... :(
.tell lizmat shame on me for not thinking about using Inline::Perl6 :)
.tell adu __FILE__ and __LINE__ don't quite compare to querycodeinfo, because we already have $?FILE and $?LINE, and also it doesn't go via the stack at all, so you don't need a stack frame and you don't need to invoke the thing you want info about
.tell lizmat well, nqp::eqat is inconsistent with substr, it seems... Probably VM-level ops shouldn't be doing negatives magic with string offsets...
.tell lizmat otoh, we often like to throw typed exceptions for these things which probably means doing the check in Perl 6 code anyway.
.tell lizmat just to let you know: I currently have a real world use case where I need the same module (Crypt::RSA) in two different versions by two different authors in the same process. Too bad, that it's Perl 5 code :)
.tell nine the solution is simple: Inline::Perl6 -> Inline::Perl5 -> other version :-)
.tell jnthn that's what b6bc4ecd08b4792d73ab0ee9da01edac60a909c0 did (well, checking, not throwing, not sure what would be best in this case)
.tell jnthn perhaps an X::OutOfRange exception would be best, to stay in line with .substr
.tell FROGGS I'm not sure we want to keep cleanup, now that we have .resolve
.tell TimToady Making "try" does "use fatal" has...quite some effects; the patch is in try-does-use-fatal if you're curious to look at the kinds of test failures that result.
.tell lizmat just did a little bit more reviewing of newio. I do not think .pred and .succ on paths makes much sense.
.tell jnthn why dont we use assign_X at all? this makes RT124083 pass and I wonder why we just do not use assign_X... https://gist.github.com/FROGGS/c98f455874e50d39ff75
.tell abraxxa 'is rw' native int/num params are now supported, though unsinged ints are cames back as signed and therefore mangle their value
.tell lizmat do we want to move .cleanup from IO::Path to IO::Pathy? currently panda stumbles over IO::Dir.cleanup not being there
.tell jnthn I created a PR to fix RT #124204 (did not attempt to fix RT #124205 as by the comments of TimToady and masak the &with parameter of squish is not well-loved anyway). https://github.com/rakudo/rakudo/pull/400
.tell timotimo here is a more concise gist of the problem: https://gist.github.com/tony-o/ad52076865a21edec940
.tell lucasb Fixed it for ya: http://irclog.perlgeek.de/perl6/2015-04-06#i_10393460
.tell |Tux| FROGGS++ fixed the MoarVM regression that affected Inline::Perl5
.tell jnthn It might be worth talking to Karl Williamson <public@khwilliamson.com> about Unicode since he does most of the Unicode work on Perl 5, and may have some insight
.tell jnthn see the tests I added to S06-multi/type-based.t: there are 3 problems, 1) we need to set <constraint> or so on the candidate parameters that coerce (can emulate for now using 'where True'), 2) failed coercions fail hard rather than failing the bind, and 3) our current coercions are not suitable strict for pattern matching strings
.tell jnthn also been thinking about MAIN subcommands, which probably need to have a command-line processor that knows how to produce a list of captures (one for each sublevel) rather than just a single capture
.tell vendethiel I implemented sleep with Boost.Asio!
.tell jnthn My ++jnthn wish list, as requested: https://gist.github.com/japhb/a20fa0fc0423f11204bf
.tell masak Sorry about that then, buddy :)
.tell mj41 the docker folk have added an official repo for rakudo-star
.tell timotimo i think your problem with farabi6 is related to the new panda installation scheme (i.e. using CompUnitRepo). Please take a look at your share/site folder
.tell FROGGS I managed to fix farabi6 to use CompUnitRepo. Please see https://github.com/azawawi/farabi6/blob/master/lib/Farabi6.pm6#L182. FROGGS++
.tell TimToady TimToady++
.tell FROGGS would you be so kind to have another look at excluding reserved words like if/for/while/.. in Slang::Tuxic?
.tell lizmat We need to talk about CUR::Installation and the way that non-existent dirs trigger that CURs do not appear in @*INC... (I "fixed" it in a rather scary way and want to fix it properly)
.tell moritz https://github.com/moritz/svg/pull/2
.tell moritz also SVG::Plot is missing from projects.json though I haven't a clue why...errors.json is empty, and it's even still listed on modules.perl6.org atm
.tell vendethiel if expressions work!
.tell azawawi for some reason i had this change locally: $file-name .= subst('~', %*ENV<HOME>); → $file-name ~~ s/'~'/{%*ENV<HOME>}/; inside method open-file in Editor.pm6
.tell FROGGS what's up with cpandatesters not uploading its html files to www any more? didn't there use to be a cronjob that does that?
.tell BenGoldberg see http://irclog.perlgeek.de/perl6/2015-03-30#i_10360515 and following
.tell tony-o i have a problem with HTTP::Server::Async; if i set buffered to true, EventSource won't work because writing to the response will not give the browser any data
.tell tony-o but if i set it to false, waiting for a request's promise to signal that all the data has arrived takes a long time in which the server just waits ... maybe it doesn't handle content-length properly?
.tell tony-o i think i've switched the two around, though. but you know ...
.tell tony-o i don't expect making $.buffered rw on the response would be absolutely terrible. it was my first instinct to do that, but that caused an exception that didn't get printed due to SCHEDULER problems OSLT
.tell tony-o i'm wishing for something that'd let me know if the connection that belongs to a Response object gets terminated by the client
.tell FROGGS_ MoarVM HEAD gives a bit more info in the "On object at index..." errors, which may help track down what's going on.
.tell FROGGS_ I also see the "it works on second attempt"; you can cheaply re-produce by nuking the install dir and "make install" in all of moar/nqp/rakudo build dirs, at least.
.tell bbkr hey, you guys still using Rakudo-Parrot in your business?
.tell PerlJam re http://irclog.perlgeek.de/perl6/2015-03-27#i_10352333 support for named arguments was rather more involved than just an additional multi method p6_to_p5 since I first need to handle named arguments at all and then flatten them into the P5 argument list. This is the only case where arguments are not a 1:1 mapping.
.tell muraiki foo(bar => 1, baz => 2) works now as intended in Inline::Perl5
.tell tony-o like for example the timeout worker keeps closing connections over and over because they are not being thrown out of the pool
.tell pippo_ «perl6 --target=ast -e '/<[ab]>+/; /[a|b]+/' | grep QAST::Regex» explains that difference well; the [a|b] case creates slightly more code to run.
.tell grondilu now that [Zop] |lol is fixed, I've used that in the newest http://rosettacode.org/wiki/Longest_common_prefix#Perl_6
.tell raydiak can you add a test to roast for https://github.com/rakudo/rakudo/pull/395 ?
.tell flussence Thank you very much. That is interesting. Cheers.
.tell timotimo How about this as a rudimentary start? https://gist.github.com/smls/623a9831832a3f20f9e8
.tell azawawi the url is https://github.com/raydiak/Git-PurePerl though it's far from working yet :)
.tell nine_ I just rebuilt from scratch again this afternoon, and Inline::Perl5 installed perfectly. I don't know what changed, or if the problem is just plain flakey, but I'm happy to have it working now!
.tell raydiak install the newest Compress::Zlib, and then try: https://gist.github.com/retupmoca/5ea886e6d75f62d450b8
.tell FROGGS I successfully followed your msi build instructions (using strawberry perl), so they must be complete :)
.tell japhb I could not reproduce it with a freshly installed Ubuntu 14.04 LTS Server VM :( You're probably using the desktop version? I can try that, too, but have diminishing hopes of success. Could you maybe get me a backtrace? Might at least give me an idea what's going on.
.tell jnthn is STORE_AT_KEY supposed to be a public API or not ?
.tell nine_ Gah, OK, I'll see what I can do, thanks for trying!
.tell mj41 I created a repo under github.com/perl6/docker; just waiting on word from the Docker folks
.tell Ulti OK, I replied to your perl6-bench pull request.
.tell nine_ Yep, I get 'panic: MUTEX_LOCK (22) [op.c:697].' installing Inline::Perl5 on rakudo-moar-af6bd025a5e1028b4de047fdbf76da833e92d992 using Ubuntu LTS system perl5: 'This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi'
.tell japhb Cannot repor using the same perl and rakudo version. Will get me an Ubuntu 14.04 LTS VM and try it there.
.tell azawawi https://github.com/rakudo/star/blob/master/tools/star/windows-msi.pod
.tell vendethiel hello world works!
.tell japhb let me know if there is anything I can do to make this worthy of perl-bench https://github.com/japhb/perl6-bench/pull/23
.tell japhb I cannot reproduce your MUTEX_LOCK Inline::Perl5 failure. Can you give me some information like which exact Perl 5 version with which configuration options you're using and maybe a backtrace?
.tell Mouq t/spec/S32-num/real-bridge.t hangs for me on ok $zero == $zero.Complex, "0 == 0.Complex"
.tell Mouq these are the hanging tests: https://github.com/perl6/roast/commit/50d2fcb659
.tell moritz wrt 179d453cff1e91 , I don't read that PairMaps are ordered from the speculation, only that they are frozen
.tell moritz: so perhaps we should sort them?
.tell moritz so perhaps we should sort them?
.tell p6weekly Tux++ RFC7111 finished http://irclog.perlgeek.de/perl6/2015-03-20#i_10312704
.tell supernovus in HTTP::Easy and XML::Query, please replace at_pos by AT-POS
.tell japhb Inline::Python should work again
.tell grondilu look at this for inspiration: https://github.com/perl6/roast/blob/master/S10-packages/precompilation.t
.tell TimToady What do you think of this: http://i.imgur.com/CeF13gV.png
.tell TimToady My ulterior motive is the attempt to find a good color scheme for a redesigned perl6.org (for after the 6.0 beta release), that *both* fits Camelia *and* has colors that are pleasant enough to be used as the background of larger areas. Which I can't seem to do with the current Camelia colors.
.tell TimToady But it might also help end the recurring resistance to Camelia as Perl 6's mascot; because even though Camelias detractors don't always communicate the source of their dislike clearly, I think it has much to do with the colors.
.tell smls I think your Camelia looks like she didn't get enough sleep. :) And I think Camelia should be the accent on a page, not match the page.
.tell smls also, the colors are not meant to appeal to people who are too old to enjoy life anymore :)
.tell brrt could you look at what the code i added to the jit in moarvm's "jit_devirtualize_reprops" is doing wrong? it seems like the stable isn't getting passed properly. it ends up being 0 or something? not 100% sure. nqp build blows up with it.
.tell jnthn problem with num32: #124083
.tell jnthn problem with ininitialized num/num32/num64: #124084
.tell jnthn: I want to split off the int / num specific parts of t/spec/S09-typed-arrays/native.t into seperate test files, is that ok with you?
.tell jnthn I want to split off the int / num specific parts of t/spec/S09-typed-arrays/native.t into seperate test files, is that ok with you?
.tell perl6.org is mostly links and little content to deal with the problem of stale content. A redesign which includes more textual content must address the issue of staleness.
.tell smls perl6.org is mostly links and little content to deal with the problem of stale content. A redesign which includes more textual content must address the issue of staleness.
.tell Maxwell Here's a message.
.tell [Tux] Text::CSV_XS can now read from Perl 6 file handles :) Just be sure to open the file with chomp => False.
.tell |Tux| latest NQP has a fix for the profile dump bug
.tell Mouq Only worry is that while this fixes the slow-path binder used on Moar, it doesn't fix it for bind lowering (where we compile many common/simple signatures), nor JVM...and I wonder if we could patch it a different way that fixes the 3 at once.
.tell Mouq For example, adding a default closure that makes an appropriately typed array/hash when we construct the Parameter object in the first place.
.tell FROGGS I just noticed in SerializationReader on JVM, in the repossess method, there are a copule of /* XXX TODO */ that may explain some bug or two
.tell vendethiel: I also disallow mixed | and & without parens
.tell vendethiel I also disallow mixed | and & without parens
.tell jnthn I've already applied it as https://github.com/perl6/nqp/commit/9233615bb1
.tell Mouq Sorry I had to revert your commit, but I dont have enough brane to hunt the panda rebootstrap issue today :/
.tell tadzik https://github.com/rakudo/rakudo/commit/7b153f5c69c9a23124c5c608f697adf80e3dafba
.tell raiph 122892 and 122253 were about the same issue; I merged them, and then did the work needed to resolve them.
.tell FROGGS it may be a good idea to split the OS columns on cpandatesters by architecture (and also sanitize "64" vs "x86_64"), so that the humongous amount of orange results from armv7l don't count into the "linux" stats
.tell jnthn the outer of all evil: https://gist.github.com/FROGGS/5646d051dca96e3f879f (that fixes the jvm+uri issue)
.tell jnthn Yeah, shortly after I .asked you, someone (timotimo?) pointed out the workaround of setting uncaught_handler *after* creating the new $*SCHEDULER, because of the "BUILD from a composed Role gets smashed" problem.
.tell jnthn But even so, I'm unable to figure out how to *trigger* an uncaught exception that .uncaught_handler *does* catch.
.tell Mouq https://gist.github.com/Tux/3efcf2bbcb859a27ef6a <= RT#123888 is incomplete. reopen?
.tell eli-sde https://github.com/pixie-lang/pixie
.tell eli-se https://github.com/pixie-lang/pixie
.tell japhb No, I didn't attempt that (I wrote it in about 2 hours flat ;)). Please file a ticket, though, as it's a good idea.
.tell japhb You'd probably have to .cue code directly to get it to hit that; Promise.start will have the Promise itself catch the exception and store it.
.tell Ven I don't like it. :(
.tell |Tux| I seem to remember you expressing interest in passing file handles to P5 code. https://github.com/niner/Inline-Perl5/commit/c840b8d1bd may be of interest to you.
.tell jnthn OK, I filed a GHI for the inheritable monitors request
.tell [Coke] There's a bunch of JVM tickets that could be closed but I don't have permissions
.tell jnthn with NQP 2015.02-60-ga01002f I could bisect the performance regression down to 12cfe28 Code-gen native lexical/attr access as ref-taking.
.tell jnthn Profile before the regression: http://niner.name/profile-1425808785.84535.html and after: http://niner.name/profile-1425808872.44399.html shows a marked increase in interpreted frames
.tell moritz RE "your modules ncurses and net-curl declare a dependency on NativeCall", it is now fixed. Thanks for the notification and sorry for the delay :)
.tell jnthn We need to check for _WIN32 being defined instead of WIN32 in the nativecall tests
.tell FROGGS_ Feel free to fix it... :)
.tell azawawi your modules ncurses and net-curl declare a dependency on NativeCall, but that is now shipped with rakudo. Please remove it from the deps
.tell dagurval your module perl6-gd-raw declares a dependency on NativeCall, but that is now shipped with rakudo. Please remove it from the deps
.tell grondiulu your module openssl declares a dependency on NativeCall, but that is now shipped with rakudo. Please remove it from the deps
.tell PerlJam muraiki's segfault was caused by PERLINC pointing to modules for a different perl version. I guess your case is different?
.tell japhb $*SCHEDULER.uncaught_handler = -> $ex { #`( do something ) }
.tell donaldh seems like I fixed the JVM build
.tell nwc10: I heard you got/tried to get perl6 working an an aix machine? any success?
.tell nwc10 I heard you got/tried to get perl6 working an an aix machine? any success?
.tell |Tux| the performance regression is not caused by Inline::Perl5 but by Rakudo. I suspect it's jnthn++'s native work.
.tell ugator I have built it on IBM hardware, yes, but the machine is running Fedora (ie Linux)
.tell ugator I have tried building it on AIX. IIRC one or two of the dependecy libraries are a pain (not libuv). I don't think that dyncall supports AIX. IIRC libffi does - unless you know PPC assembler, I'd guess that the route of least resistance is actually to abstract the dynamic call stuff to be able to use dyncall or libffi. I think that would get us most of HP/UX too.
.tell ugator also, IIRC, the MoarVM build system annoyingly picks the GNU make specific Makefile, instead of the most generic "embedding" makefile
.tell mraynham looking awesome; mraynham++ ! I think my only suggestion is that, since rakudobrew is under Installing Rakudo Star, you could mention that once rakudo and panda are installed, you can do "panda install Task::Star" to install all of the star modules
.tell Mouq b57f1358abf seems to break the NativeCall sanity tests (make t/04-nativecall/*.t) , and later commits don't fix
.tell Mouq maybe we should revert those commits to not hurt the bleeding edge ecosystem too much ?
.tell lizmat Fixed what was breaking the tests, but we may still want to revert… Inline::Perl5's t/precomp.t currently dies because of some internal mishandling of the postcircumfix:<( )> error, it seems
.tell Kristien regexes http://www.perlmonks.org/?node_id=995856
.tell vendethiel nice :p
.tell japhb DIHWIDT. You've only allowed one processing thread, scheduled two pieces of work, and had the first block the thread. In the future, "await ..." instead of .result should be usable to resolve this; I think .result will always be the blocking thing.
.tell moritz re preceding backlog: Should we document coercers special-y in p6doc? I.e. on the type pages of the types they coerce *to*, rather than on Any's type page?
.tell smls ideally on both, and ideally automatically inserted in one place
.tell mohij .made is only for passing values up the parse tree, so a subrule does not inherit its parents .made; you can only read the .made of a subrule after you've parsed the subrule. To pass info downward, you can parameterize subrules like ordinary methods.
.tell japhb isn't that what you need to implement IO::Path.resolve ?
.tell Ulti re http://irclog.perlgeek.de/perl6/2015-03-03#i_10212738 , this is exactly the error why I can't make @*INC lazy yet
.tell Ulti @*INC should contain CompUnitRepo objects, strings are allowed atm, but will be phased out
.tell Ulti also, still not sure whether @*INC continues to be exposed, or would only be changeable with "use lib"
.tell lizmat yes, .pairup should interpolate hashes too, basically emulating list context, which means if we see an array at a key location, we should probably interpolate that too
.tell ugexe https://github.com/ugexe/Perl6-Text--Levenshtein--Damerau/pull/9
.tell retupmoca https://github.com/retupmoca/P6-XML-Canonical/pull/1
.tell dakkar re: http://irclog.perlgeek.de/perl6/2015-03-03#i_10215189 is this the sort of thing you wanted? sub foo(@list where Int ~~ all(@list.map({.WHAT}))) { say "YAY" }
.tell dakkar or maybe a bit simpler and efficient sub foo(@list where @list.grep({.WHAT !~~ Int}).elems == 0) { say "YAY"}
.tell jnthn It looks like nativeref broke the new IO::Path.resolve code; nqp::join of an nqp::list containing constants works, but nqp::push a single native str, and boom.
.tell jnthn See http://irclog.perlgeek.de/perl6/2015-03-02#i_10203236 . The existance of other elements is not essential; just a single native str element by itself will break.
.tell FROGGS i just force-pushed over an incomplete commit; you'll need to git reset origin/master in your cpandatesters.perl6.org checkout i'm afraid
.tell FROGGS and it seems like the lock for generating reports has gotten stuck :(
.tell FROGGS i forgot i got root access on that server so i just did it myself, you have to do nothing (except of course have a look at it and be happy :D )
.tell masak i've got a nice little pull request for Crypt :)
.tell colomon you have a job running on hack.p6c.org that's been eating 100% cpu for a LONG time now
.tell japhb re 9cb3d64faa, it's not that the param binding performance is different, but rather the assignment code-gen. Assign code-gen is done differently by SIGIL ($ = use container spec stuff, @/% = call STORE method). Without a sigil, we don't know, so emit code that checks which of the two should be done.
.tell japhb spesh should already be smart enough to do away with the check, but still better to generate smaller code in the first place...
.tell japhb re the behavior change, that's going to stay; it's consistent with non-native scalars, where you'd need the nqp::decont(...) on the thing you push. Better in your case is to do an explicit box (nqp::p6box_s), but best is probably to use nqp::list_s and nqp::push_s, to avoid the boxing altogether.
.tell japhb the behavior change is what lets stuff like "($native-a, $native-b) = 1, 2" now work, fwiw.
.tell japhb did you know I implemented nqp::readlink recently ?
.tell J-L you'll have to learn more about these various parts by reading docs and trying things out, but assuming cygwin does indeed provide termios, it is my understanding that you can use the cygwin dll by just including it with your script (maybe both 32 and 64 bit dlls) and calling it...everything else you can get from the installer is just if you want posix userland things like bash
.tell lizmat (key => 0).Bag must remove key or it violates the bag's contract; the whole point of a Bag with 0 items in it is that that is no different from an empty Bag
.tell lizmat Throwing info away is not our lowest ideal, or however you say that...
.tell TimToady it's a little pain with our one-passness, but I wonder if *%_ generation being triggered by the presence of a nextsame/callsame somewhere in the method body would do it.
.tell TimToady I've tended to consider .WHAT as an object-y operation, so even though it's macro-esque already and not in any sense a method call, it still compiles the thing it's operating such that it wants a boxed object. Thus I'd not expected it ever could return a native type. Is there anything in the design docs supporting any view besides mine? :)
.tell FROGGS can you put a cron job in that runs jobs/gen-recents.pl for cpandatesters so i can test my stuff?
.tell tadzik minor patch to fix another warning: https://github.com/tadzik/rakudobrew/pull/30
.tell timotimo unfortunately the require version wasn't working at all (errors with and without prove). The check needs to take place at compile time. Don't know what the best solution is though...
.tell J-L the cygwin dll could be included with your script like the termios module, then modify the termios module to check if it's on windows and nativecall the functions from the dll instead...might even be a change the author of the termios module would be interested in merging too, though I'm not familiar with cygwin's license terms wrt commercial distribution
.tell Kristien I heard you wanted to learn Pascal, so I put some Pascal in your haskell so you can learn pascal while you learn haskell... https://github.com/int-index/kalium
.tell lizmat .invert is not the opposite of .pairs, since invert is intended to do database inversion, so it must split positional values (which is NYI apparently)
.tell tadzik bugfix PR up for rakudobrew
.tell jnthn I fixed the S26 failures, but I didn't manage to get rid of the dummy stuff
.tell jnthn I think you and I will have to have a chat about the best way to do that
.tell colomon I don't understand how Compress::Zlib::Raw can fail for the smoker... see https://gist.github.com/FROGGS/229dffa2ef287aa08f83
.tell Kristien do you have something special in mind except for the obvious? - FROGGS: also have fun with union members!
.tell hoelzro Yay, spectest in native-ref now looks sehr gut. Thanks!
.tell moritz the No such method '' for invocant of type 'Foo' is not new. I've seen it appear in Inline::Perl5 as well but ever since I wanted to invest time into it, I've been unable to reproduce it.
.tell perl6_newbee I implemented (the first version of) the MAIN parser and USAGE generator, as close as I could manage to spec at the time. I am also one of the people that thinks we really should natively support subcommand interfaces, since I think that's actually what people expect now. I was overruled.
.tell pmurias, unfortunately, although I cloned all the necessary repos to my laptop for offline hacking this weekend, I neglected to install node =/
.tell pmurias unfortunately, although I cloned all the necessary repos to my laptop for offline hacking this weekend, I neglected to install node =/
.tell pmurias https://github.com/mgutz/execSync/issues/38
.tell TimToady why not use a Junction to define the valid keys/indices for hashes and (multi dimensional) arrays? my int @array[1|2, 3|4]; That would free up the comma for separating dimensions. I saw even you using comma instead of semicolon quite a few times. How are mere mortals supposed to get accustomed to that?
.tell grondilu (and raydiak) you can use Bool.pick instead of rand < 0.5 for code that's a lot faster
.tell retupmoca say nativesizeof(z_stream) / 8; # 112
.tell japh http://niner.name/talks/Leapfrogging the bootstrap/Leapfrogging the bootstrap.pdf is your best bet for now. Page 37 and following. Or have a look at the tests. They should be somewhat instructive. And feel free to ask me any time here.
.tell grondilu be sure to hit me up with the white noise thing when you're back, and tell me if using int32 instead of int fixes things
.tell grondilu you got "cannot modify an immutable TypedCArray blah" because you put a type object into the @points, rather than an instance
.tell andreoss Apologies for not getting back to you about the perl6-bench PR. OK, blocking problems: The change to minibenchmarks.pl changes every line in the file (do you have auto-reformat on in your editor?), and the merge-sort files are missing
.tell FROGGS please remove NativeCall as a dependency from Inline::C. kthxbye
.tell pmurias I'm interesting in trying my hand at implementing curlexpad; any pointers on how you want it done?
.tell btyler lots of articles sum up my point of view on go, http://tmikov.blogspot.fr/2015/02/you-dont-like-googles-go-because-you.html and http://yager.io/programming/go.html are pretty much on point
.tell japhb can we somehow get a test into perl6-bench that's very different from the other tests? i'm thinking of "maxrss used for starting up a repl and immediately killing it" and "maxrss used for 'say(1)'"
.tell lizmat It seems that it contains a lot of common things you can do on an IO handle (e.g. basic I/O things), so I wonder a little if a name more like IO::General or IO::ReadWrite or something might be fitting...
.tell lizmat I notice seek/tell ended up in that role, but iiuc sockets also do the role; maybe that wnats pulling out into an IO::Seekable?
.tell brrt Please look at that (I put you in there): https://docs.google.com/document/d/120zZBQ27glXUn0vbkQPMK3mNTMo2GtMFv8lqiMca6ls/edit
.tell [Coke] accessing members of an object as a Hash is very P5, isn't it? What.s wrong with $*PERL.version ??
.tell [Coke] reverting 39d7c52bb5db8b fixes failing tests for me on parrot
.tell jnthn could you add rakudo ChangeLog entries for the work you've done in the past month?
.tell jnthn on MoarVM, delete_f does not return any value, this makes nqp::unlink flaky afaics. Is there a reason for that ?
.tell jnthn wrt PIO role name, maybe it should be RIO (as in Rakudo Io Object)
.tell FROGGS_ alas, still the same errors :-(
.tell adu been at $dayjob all day so no direct hacking on it, just backlogged and read lizmat++'s suggestion about supplies, so I'm doing a bit of reading about it
.tell jnthn the PIO role is consumed by IO::Handle / IO::Socket / IO::Dup (the class handling $*IN and friends)
.tell jnthn fwiw, as I stated before, I'm fine with PIO, as it is the Perl Io Object
.tell lizmat path.IO.d // mkdir(path,|c) is prone to very hard to diagnose race conditions
.tell lizmat but even more curious is that infix:<(^+)> seems to break the parser in some really weird way. the operator is unusable when invoked from a file, or when used like (...).Bag (^+) (...).Bag from the repl
.tell nine_ do you have a suggestion on how to fix that race condition?
.tell ab5tract re https://github.com/rakudo/rakudo/pull/362 , I think colomon / TimToady should shine their light on that
.tell ab5tract I have merely implemented what colomon implemented in niecza
.tell nine Thinking about P6 concurrence and Inline::Perl5
.tell nine You might want to make sure that all Inline::Perl5 accesses are done from the same $*THREAD.id
.tell |Tux| what's the problem with IO::Handle.chomp and a loop with .get ? I don't see any problem
.tell jnthn I know you dislike the PIO role name, perhaps "Streamer" would be a better name? other suggestions?
.tell lizmat Hm, that doesn't quite strike me as correct either. The $!PIO attribute is really a handle...so something along those lines may fit better. I guess we already used IO::Handle...or did that change in newio, or does places with PIO overlap with that anyway? :)
.tell timotimo: http://nbviewer.ipython.org/github/zmughal/zmughal-iperl-notebooks/blob/master/IPerl-demos/20150209_IPerl_display_demo.ipynb
.tell timotimo http://nbviewer.ipython.org/github/zmughal/zmughal-iperl-notebooks/blob/master/IPerl-demos/20150209_IPerl_display_demo.ipynb
.tell masak http://www.theerlangelist.com/2014/07/understanding-elixir-macros-part-6.html more insight on elixir's macros with macro-at-compile-time..."stuff"
.tell masak http://www.theerlangelist.com/2014/07/understanding-elixir-macros-part-6.html more insight on elixir's macros with macro-at-compile-time..."stuff"
.tell jnthn Bug in .bind_pos? «my Int @a; @a[0] = "foo";» lives
.tell jnthn *@a[0] := "foo";
.tell Mouq Yes, surely a bug. Another one to address when I work some more on typed arrays, I guess :)
.tell nine sometimes i am getting back Bufs from Class::DBI, instead of strings. the column type is varchar with a utf8 character set
.tell nine which then makes it explode when trying to stringify
.tell pmurias I tried my hand at implementing isint and isnum; isint wasn't too bad, but I think isnum is going to be hard, because JS doesn't distinguish between number types
.tell moritz 32-bit star-RC build: all backends build. moar,parrot pass "make spectest". jvm/openjdk can't run most anything, OOM and stack overflows.
.tell jnthn <nwc10> origin/native-ref bad news - spectest fails, good new - not due to ASAN exploding
.tell hoelzro yes, isint/isnum is impossible unless we wrap either integers of doubles or infer the type somehow, it's a hard decision that might cost us some performance
.tell bartolin do you have an opinion to RT #123584?
.tell pmurias you said that the next bit of work is going to be around QASTNode; what exactly does that entail?
.tell pmurias "function foo(){}"
.tell ven re jscript, I'm not spending much effort right now towards compatiblity with it, but I think in the future it might be important
.tell vendethiel I decided to write a custom VM
.tell raydiak I just converted the compress/uncompress functions in Compress::Zlib to take Blobs - I probably just broke your code that was using ::Raw
.tell sergot I just made another PR for your openssl stuff...I'm really not trying to harass you, I promise!
.tell retupmoca awesome! thanks for the heads-up :)
.tell jnthn lizmat++ merged the [R~]= PR, fyi
.tell jnthn how do I do pipe stuff to a process in nqp?
.tell raiph maybe you could post jnthn++'s slides to reddit, or are you waiting for the videos
.tell jnthn is there a way to determine if a static block will be used while deserializing closures (as a clone template)
.tell Mouq t/spec/S32-exceptions/misc.t dies with "Could not find symbol '&Invalid'"; I suspect you were involved
.tell Mouq never mind, I mixed up branches
.tell pmurias Well, you can scan the closures table and see if it shows up in there...
.tell donaldh - if you can help me get a perl 6 eclipse plugin working, I can start implementing work build stuff in perl6. would be super nice.
.tell adu \o/ nicely done! I get three warnings about unknown condition in typedef, but it does run through to completion and gives a big parse back...I'll let you know how it goes when I have a chance to try actually using it...very exciting :)
.tell fil_ IMHO it's best practice to put each class that is publicly accessible into a separate class. As for rest, use your best judgement :-)
.tell nine http://www.reddit.com/r/perl/comments/2ubs24/transcript_of_todays_fosdem_talk_leapfrogging_the/co7sa9y
.tell retupmoca I added an nqp test file for locks, you should be able to find it in t/concurrency.
.tell FROGGS https://github.com/raydiak/MoarVM/commit/172048c53389581710bb741dfeff9d1845a85fe7 thoughts?
.tell FROGGS after that, this seems to work: https://github.com/raydiak/MoarVM/commit/e53d2cce7e1bcb22fc0588630a44d5db2b77e13c
.tell nine I've mucked a bit with camelia's service file, avoiding bash -i (it complained about inappropriate ioctl) and added some security features
.tell raydiak have you seen https://github.com/MoarVM/MoarVM/pull/173 and https://github.com/jnthn/zavolaj/pull/55?
.tell Kristien reading the backlog i notice it sounded like i was saying i prefer a syntax choice over an optimal solution -- that's only in golfing, if then :) this was just an example from the article i linked to in the comment. i thought it was cool that it's been stable syntax since 2009
.tell raydiak re DESTROY not working: that is exactly why I think it is a bad name
.tell raydiak because atm DESTROY only gets called on GC cleanups
.tell raydiak and if there isn't one, then it just won't get called
.tell japhb i'd like to have an integrated tool for perl6-bench that can build a version of a compiler and the version before it, or alternatively you could pass a little patchset and it'd build the things with and without the patchset, time all things and immediately spit out a comparison graph file that might even contain the diff
.tell fil_ soon meant 7 hours later :o) (I had no idea when I would get around to it, and what it would involve... happily it is just about setting a flag to true)
.tell timotimo That sounds eminently doable and a very good idea. GitHub Issue it and I'll try to get to it next time I'm not slammed by $day-job?
.tell timotimo Don't forget to GH-issue your perl6-bench feature request
.tell El_Che streams!! much excite, many popcorn. thanks for all the hard work!
.tell japhb i think https://github.com/japhb/perl6-bench/issues/13 should be fixed by the automatic timeout detection stuff we have
.tell timotimo Thank you! I've commented and closed it.
.tell skids thank you very much skids++, your help seems to have solved my problem: https://github.com/raydiak/Image-PNG-Portable/commit/89a900424c2ea85c78ead4bfaa544fc85471624d
.tell Mouq seems you're LoL patches broke t/spec/S02-types/multi_dimensional_array.t
.tell moritz Thank you for the commit bit and the encouragement. I did manage to update the documentation for SetHash. I might suggest a way to use SetHash to improve XML::Writer.
.tell andreoss See http://irclog.perlgeek.de/perl6/2015-01-29#i_10026518 and thereabouts. Let me know if you have questions.
.tell masak I took a minute to comment on https://github.com/masak/007/issues/13
.tell jnthn #123700
.tell Mouq re your [0;0] autoviv patches: didn't you lose all adverb handling on there by accident?
.tell jnthn bisecting of nqp tells me that your commit 98c0b61f8b5fee6e383b6ee03070139ebf04106f "Add parametricity bits to STable." causes the rakudo-parrot core compilation segfault
.tell jnthn the latest NQP bump broke parrot build with a segfault (On OS X)
.tell jnthn nqp 91f6f525b766 or earlier is bad
.tell japhb "The last statement in a module with more than one statement seems to have some extra-sinky context (because it supplies the return value of "use" I think). I just put 1; at the end of the module to prevent that."
.tell japhb well, maybe read the backlog before doing what I just said.
.tell raiph i apparently missed fixing marshalling of List-y types for non-overloaded methods. that's the error you're seeing with "method/update/([B)V"
.tell tadzik noticed I can't "rakudobrew switch moar-2014.12" :) https://github.com/tadzik/rakudobrew/pull/25
.tell itz what happened to szabgab's post on pl6anet.org ?
.tell raydiak my $a = "foo"; $a.substr-rw(2,1) = "x"; say $a # -> fox
.tell raydiak https://github.com/rakudo/rakudo/commit/6f79fcc296 implements it, tests welcome
.tell jnthn from an optimization point of view, would it make sense to move functionality like Str.substr(|c) to sub substr(Str, |c) ? as a sub call optimizes better ?
.tell jnthn could you tell me if there's something wrong with https://gist.github.com/lizmat/6176e1bfab8a9e5289c4
.tell jnthn it makes things siginificantly slower
.tell jnthn I guess having just a single method still beats MMD
.tell hoelzro I merged branch suggestion-cleanup. Thanks for the nice collaboration.
.tell boski: just ask... someone will reply, even when not immediately ( we even have ways of telling you later, like this for example )
.tell broski: just ask... someone will reply, even when not immediately ( we even have ways of telling you later, like this for example )
.tell broski just ask... someone will reply, even when not immediately ( we even have ways of telling you later, like this for example )
.tell timotimo I cannot recreate the rc-forest-fire problem you are seeing, with either rakudo-moar/nom or rakudo-jvm/nom.
.tell japhb i assume the perl5 part of perl6-bench is increasing the number of steps for the benchmark to do by 2x until it hits inf and then doesn't want to stop for some reason?
.tell perl6 .new() isn't like __init__ or __new__, it's like python's .frob or .blubber or .yoink; also, new calls bless calls BUILDALL calls BUILD unlike what geekosaur said, and skids wrongly wrote bless(*, ...), but the * as first argument is wrong nowadays
.tell adu perl6 .new() isn't like __init__ or __new__, it's like python's .frob or .blubber or .yoink; also, new calls bless calls BUILDALL calls BUILD unlike what geekosaur said, and skids wrongly wrote bless(*, ...), but the * as first argument is wrong nowadays
.tell adu see http://perlgeek.de/blog-en/perl-6/object-construction-and-initialization.html and http://doc.perl6.org/language/classtut#Constructors
.tell timotimo Try 7dbbb69 . :-)
.tell japhb now the log is filled with lines of Run command exited with exit status 1: install/bin/perl6 --optimize=3 /home/timo/oldhome/timo/perl6/bench/perl6/rc-forest-fire 16 16 inf
.tell ab5tract seems t/spec/S03-operators/mix.t is missing from roast ?
.tell ab5tract also, some Set/Bag interaction with (-) seems wrong: say (<a b c>.Set (-) <a b>.Bag).perl -> ("c"=>1).Bag
.tell lizmat check out https://github.com/perl6/roast/pull/52/files for the mix.t .. and checkout out https://github.com/rakudo/rakudo/pull/335 for what i think about `Set (-) Bag ~~ Set` ;)
.tell jnthn looks like nqp::mkdir on moar doesn't fail if the actual mkdir fails, it does on parrot and jvm
.tell jnthn or perhaps I'm not understanding fail() correctly :-(
.tell timotimo See the top of http://irclog.perlgeek.de/perl6/2015-01-10 for my replies.
.tell adu You are the coolest
.tell CurtisOvidPoe some thoughts on your MMD constraint example http://irclog.perlgeek.de/perl6/2015-01-10#i_9913936
.tell raiph jvm-interop has seen another update. check t/03-jvm/01-interop.t in the rakudo basedir for what works now
.tell japhb I updated the pull request.
.tell japhb i've put a few tell messages here that didn't go through. lookie here: http://irclog.perlgeek.de/perl6/2015-01-09#i_9913027
.tell japhb also, since the output of perl6-bench can be pretty darn verbose, maybe writing a log file automatically would be nice; otherwise i'd just get used to using tee
.tell japhb 02-lock.t passes on jvm when $l is locked before the final condsignalone and unlocked afterwards (as per stackoverflow.com/questions/15769220)
.tell japhb i don't know if that's how we want condvars to work on nqp though or if that should be abstracted away
.tell jnthn in #122896 it becomes evident that wrapping the sub in a traitmod on a Routine, segfaults on trying to run that routine in a precomped version
.tell jnthn this effectively bars things like "is cached" in the ecosystem
.tell jnthn re #122896 it feels like the original sub is not being serialized
.tell jntnn is there a reason why we can't optimize method dispatch:<!> away ?
.tell jnthn I was under the impression that it could basically become a sub call internally ?
.tell lizmat The optimizer (Perl6::Optimizer) already has logic for optimizing away the dispatch:<!> call in most cases.
.tell lizmat the cached precomp bug is #122896, the only difference between october and now being that it segfaults instead of giving the reported error message
.tell azawawi that sounds more like a rakudo bug :-)
.tell masak for no reason, if you want to see the code of CL::LOOP (in SICL), he it is: https://github.com/robert-strandh/SICL/tree/master/Code/Loop currently 4.5k lines, to be ~6k when finished
.tell tony-o https://github.com/tony-o/perl6-http-server-async/issues/7 is very strange since a sleep with non-zero value seems to break the implementation of .recv
.tell jnthn according to doc nqp::stat("path",nqp::const::STAT_ISDIR) returns -1 if an exception occurred processing
.tell jnthn what I see, is an exception being thrown if the path doesn't exist
.tell jnthn is that an implementation issue, or a documentation issue?
.tell adu FWIW, I have a tiny, incomplete lisp-like interpreter here: https://gist.github.com/Mouq/478533e8f37d2569ce08 though it's not slang-ified, and it's DEFINITELY not Scheme
.tell Ven I'm following AGDQ, but i'm not able to watch most of it live, more or less for the same reason why i can't do the weekly or do much perl6 coding
.tell moritz projects.json doesn't seem to have been finding new additions to the ecosystem since some time between December 7 and 27, even 007 isn't there yet
.tell raydiak the server was stuck on branch 'static', my fault
.tell japhb Did you want add README in both nqp and perl6? about benchmark repo
.tell lizmat I got it! One has to set an EXPORT object (like Metamodel::PackageHOW) _and_ an &EXPORT sub in WHO.
.tell lizmat while we can't serialize the lock state (held or not), serializing lock instances makes sense to me, I think.
.tell lizmat 7e95c05 in MoarVM should fix your reentrantmutex serialization woes.
.tell jnthn There's a hang on nqp-m (but not nqp-j) on the threading test I just added to NQP. See https://github.com/perl6/nqp/commit/96752368eb .
.tell lizmat maybe having a look at Inline::Perl5's t/precomp.t would be a good idea. It's very simple, but maybe it's just doing something wrong. Or maybe it can at least give you a hint why your commit doesn't work.
.tell lizmat precomp.t assigns to %*ENV<PERL6LIB> _after_ loading Inline::Perl5. Maybe that's messing up precomp?
.tell pmurias Have never tried that so probably serializing Python objects doesn't work. I also don't like having to initialize Python at BEGIN time, but I create a Python class for every Perl class that inherits from a Python class. And that's a very BEGIN time thing to do.
.tell jnthn is it correct that we cannot serialize any Lock objects
.tell jnthn if not, is that an omission? or is that something we Just Cannot Do™
.tell jnthn perl6 --ll-exception -e 'CompUnit.new("t/spec/packages/Example/A.pm").precomp' fails with 'Missing serialize REPR function for REPR ReentrantMutex' on Moar
.tell jnthn I would expected it to fail with Could not find Example::C in any of: .... Any ideas?
.tell bartolin ohh yes :o)
.tell nine I've moved the camelia.service to camelia@.service (template) and have started two instances, one for freenode, one for magnet
.tell jnthn please ignore: at_pos blocks, queuepoll doesn't
.tell FROGGS looks like I'm ready to run 'PANDA_SUBMIT_TESTREPORTS=1 panda smoke' on a daily basis. do you want to get all those data at testers.perl6.org?
.tell Timbus the issue with .item in a grammar is already ticketed, #77350. the example is with .any, but .item is a method on Mu as well
.tell hoelzro wrt to earliest on a single channel: what would be the value of a wait time then?
.tell FROGGS doing that at QAST level is absolutely wrong, I think. It will pessimize every loop that doesn't care for the rsults, and worse it'd be useless for Perl 6 which needs lazy execution. This ties into GLR's proposed LoopIter, and I think we likely want to leave it for that.
.tell moritz I updated http://rakudo.org/
.tell grondilu @a[0,2...*] works again in the latest rakudo
.tell lizmat maybe the problem is that Tap exposes those methods...
.tell lizmat +1 to Supply.for getting renamed; not entirely sure about from-list but I dont have a better idea. .for *should* exist on an instance of Supply and do .flat.map just as on a List.
.tell lizmat to be clear, I mean .flat and .map in Supply-land, that is, it's still push semantics.
.tell jnthn can you please take a look at that gist? line 28 triggers the shows error (I want to make `do while` work): https://gist.github.com/FROGGS/98e1a97434c3753dc081
.tell jnthn I don't see how those methods could not be public, unless you want to go all getattr ?
.tell raydiak https://github.com/rakudo/rakudo/commit/50ff378fb8b3390614fbe28b3b97028daabc548f
.tell andreoss re.last-index on Parcel/List: but they do? inherited
.tell mullagain you could check converting perl5 modules to perl6 modules with perlito, see the following link for how camelia does it here https://github.com/perl6/evalbot/blob/94f9effcd7c09369b8ca89f38e6886cfc044f8c9/evalbot.pl#L182
.tell jnthn I'm thinking about prefixing "on-" to all Tap attributes so that you get a better message when e.g. trying to emit on a tap
.tell jnthn manufactured case: m: Supply.new.tap.emit(42) # should complain about not having an emit method
.tell jnthn http://www.engadget.com/2014/12/22/the-problem-solver-beer-creativity/ # served / available in Copenhagen :-)
.tell moritz when I look at this non-validating Frankenstein of HTML 4 Transitional, XHTML 1 Strict, multiple p5 modules spitting out html from multiple layers and using shell commands to copy files, I just have to ask...is there any future in sight for pod6ify? :)
.tell lue weren't you working on pod6ify a while ago? how is that/where did it leave off? I'm giving design.perl6.org a makeover in the nearish future like I did for docs, so I'm wondering if we were close enough to consider finishing it before/with the redesign
.tell nine you can use service templates (file ends in @) and use the config file name as the template variable
.tell nine see for example https://wiki.archlinux.org/index.php/systemd#Using_units search for %i
.tell nige I've published your advent post (scheduled for tomorrow, 21st) today already, because today's post isn't written yet
.tell FROGGS I've moved your advent slot from today to tomorrow, to give you another day :-)
.tell lizmat I'll take care of the MoarVM release early afternoon; hope that fits well if your relesae planning...
.tell jnthn looks like https://github.com/rakudo/rakudo/commit/1785eaf676fca9159a79f33467ede801ec881446 unbreaks parrot and jvm
.tell andreoss well, the immediate reason is that Z appears not to be one of the operators that whatever-curries.
.tell Ulti http://irclog.perlgeek.de/perl6/2014-12-15#i_9806628 # in case you missed it
.tell jnthn qq:x is running clean for me on moar now :D
.tell pmurias maybe just leave me a message this way. :)
.tell pmurias we don't currently smoke nqp, just rakudo. I can see about setting up an nqp-only smoker, but the last time I tried to get nqp-js to work, I kept getting failures.
.tell smls thanks, i've corrected the description of the descriptor
.tell lizmat ^^ how do you think it?
.tell TimToady ^^
.tell psch «In our case this means “a method called update which takes a primitive byte and returns void“» --is this still correct after you updated to example to use 'method/update/(I)V'?
.tell jnthn fwiw, jarakudo tags 2013.11 and 2013.12 also die with boxing errors on the CRC32 example, so i don't know where to start bisecting from
.tell psch Well, bother. That means it bust ages ago :/
.tell pmurias I am unable to get nqp-js to run a test here. Happy to provide more info…
.tell timotimo Please see https://github.com/azawawi/farabi6/issues/59
.tell timotimo im currently busy a bit @ $work. Hopefully workload will lighten up a bit after December. The HTTP::Server::Async idea is great. Is EventSource possible with it?
.tell hoelzro I'd suggesting giving make_where_block a third optional argument, which defaults to QAST::Var.new( :name('$_'), :scope('lexical') ), and then pass in the QAST tree to make it do $_.signature where you are calling it.
.tell Ulti You can use this to convert pygmentize output to inline styles that are allowed on wordpress.com: https://github.com/smls/undef/blob/master/scripts/inline-pygments-styles.p6
.tell azawawi tony-o built a little "HiJacking" middleware that allows us to steal sockets at an early point so that we can do special things for websockets and eventsource. websockets are going to require some extra fiddling to get the protocol right, whereas eventsource is easy, but only one-way
.tell FROGGS sent you a PR for Inline::C, s:g/path/IO/
.tell tadzik sent you a PR for panda, s:g/path/IO/
.tell mayuresh https://github.com/BizarreCake/Arane is the previous project i mentioned. it's written in C++11 though, not C89
.tell timotimo to improve the quality of the embroidery you could try adding a backing material, perhaps using some water soluble fusible web. ( I don't know if the paper backed stuff would work on its own, or if you would have to fuse some fabric to the back )
.tell moritz Would this be suitable for a p6advent post? http://smls.co.nf/advent/data-munging-in-perl-6-vs-perl-5/
.tell ab5tract The subheadings in your advent post should all be demoted by one level (h2-->h3, h3-->h4), because the post title automatically becomes a h2, which makes h2 subheadings look slightly awkward on the post's own page, and *very* awkward on the front page which shows the most recent articles.
.tell smls takend care of :)
.tell TimToady thanks for the example :) i was puzzling over the \var syntax when I started digging into meta op declaration
.tell japhb a knowledgable friend tells me that OpenGL 3.3 Core is a good point to start from, as later versions in the 3 series mostly introduce advanced features you're not going to need as "a beginner" and mesa has some trouble with 4.0
.tell azawawi will you write a post on the advent calendar about farabi6?
.tell mvuets using .tell is more likely to get heard later.
.tell timotimo perl6 --profile -e 'my $n = 0; loop { $n = $n +1; if $n == 10000000 { last; } }' also will be nice to inline infix:<+> and infix:<==>, change assign to bind and it also call infix:<==>, I don't know why...
.tell FROGGS testers.perl6.org front-end seems to be down. :(
.tell timotimo perl6 --profile -e 'my int $n := 0; loop { $n := $n +1; if $n == 10000000 { exit; } }' has 10000001 Scalar Allocations, It will be nice to avoid it
.tell timotimo please igonre ':'
.tell timotimo and I see Exclusive Time on exit is 18446744073709.23ms ..
.tell masak I'm not sure I linked it before. https://github.com/jashkenas/coffeescript/pull/3171
.tell masak swift has something akin to your THUNK. http://stackoverflow.com/questions/24102617/how-to-use-swift-autoclosure – it's like a "call-by-name"
.tell ab5tract fixed the HTML::Parser::XML module, it works as expected and it works with the advent sample ugexe provided
.tell timotimo "Interviews by Denis Banovic during Austrian Perl Workshop with Larry Wall and Jonathan Worthington, in Salzburg (by the way, the article around it is nice too): http://www.tourismusbesprechungsraum.at/blog/perl-workshop-salzburg/" might be worth mentioning in the Perl 6 Weekly
.tell raiph: thanks. Of course there'll always be edge cases that need some workarounds. But from my practice using Perl 5's Inline::Python I can say, that there are always workarounds and most code does just fine
.tell raiph[3~: thanks. Of course there'll always be edge cases that need some workarounds. But from my practice using Perl 5's Inline::Python I can say, that there are always workarounds and most code does just fine
.tell raiph thanks. Of course there'll always be edge cases that need some workarounds. But from my practice using Perl 5's Inline::Python I can say, that there are always workarounds and most code does just fine
.tell chenryn 那个是匿名变量
.tell nine http://www.reddit.com/r/perl6/comments/2n27el/perl6_20141121_cool_just_opened_my_first_qt/cm9orki
.tell hoelzro https://github.com/github/linguist/issues/1680
.tell lizmat - if we're doing a 6.0 release in 2015, we might want to pull the trigger on any pending deprecations before then. (right now some of them are scheduled in Q3 of 2015)
.tell lizmat - this might mean updating the info in the release before we cut the release this week. (Not sure if any of these dates have gone out in a release yet.)
.tell jnthn When I try to use panda to install JSON::Path with my 2014/9 rakudo* on moarvm it fails a test.
.tell AlexDaniel https://github.com/lue/p6mode
.tell masak typo on your last blog post "Macro paramters/"
.tell raydiak https://github.com/raydiak/Math-Symbolic/issues/1
.tell raydiak (Found because of https://gist.github.com/Mouq/f36a4ccf9547947eec8e btw :)
.tell xenoterracide $*OUT = filehandle reassigns stdout, for what that's worth.
.tell timotimo Yes, we don't merge the dominance trees when inlining
.tell timotimo It's rather possible we should...EA will need it, at least...
.tell masak http://www.ccs.neu.edu/home/dherman/research/papers/esop08-hygiene.pdf
.tell froggs thank you for Tuxic, this slang stuff is getting interesting
.tell japhb i get "not expected output" for divide and conquer for 4 and timed out for 5, is that expected?
.tell lizmat is there a way to show deprecations as warnings in perl6 without running it? that is... perl6 -c
.tell azawawi don't think so, deprecations are basically runtime call to a special internal sub
.tell hoelzro can you figure this out? i seem to recall you've been working on this recently? or was that mouq?
.tell FROGGS Druid fails due to this exact bug above, but the reports, such as http://cpandatesters.org/report/dist/Druid/1006 do not show that error. why? is it because it goes to stderr or something like that?
.tell FROGGS to remind me to ask a favor of you tomorrow
.tell masak https://github.com/papers-we-love/papers-we-love/tree/master/macros
.tell moritz The irclog search data appears out of date -- searching for something I said in the last couple days gives no results, and even searching for my own nick shows results starting a few days ago
.tell jnthn `bench stress` and `bench diagnose` work now; try both with --verbose; html_plot output is missing, but others work (though html can be improved); you'll need IPC::Run in your perl5; let me know if you have problems. :-)
.tell tadzik it would be nice to have bin/script => bin/script.bat in win32 environment. This is one of the things that prevents the inclusion of farabi6 in Task::Star
.tell japhb there's two problems with the string escape benchmark that i may solve myself soon-ish: 1) you have to give it a string to escape via @*ARGS[0], 2) it's trying to get that string from @*ARGV[0], which doesn't exist %)
.tell Mouq Thank you for the note.
.tell japhb https://github.com/japhb/perl6-bench/blob/master/perl6/string-escape - the code says otherwise
.tell lucas_ pod is for writing documentation, yaml isn't. that isn't really a good comparison
.tell lizmat https://github.com/perl6/roast/commit/af40fcd065 - when marking a test skip because the todo pass is bogus, document that in the skip message, or some helpful roast cleaner will unskip it when they see it passes.
.tell b2gills I've commented on your pi blog post; it says it awaits your moderation
.tell timotimo thx for %target.push: %(<a b a b>.pairs).invert; I will use it in my port port of Algorithm::Diff.
.tell wollmers It looks like /:P5\X/ is post NFG... because right now "E\c[COMBINING GRAVE ACCENT]" ~~ /./ only matches 'E'
.tell lizmat getting a deprecation warning (in one of my in-production tools) for this line in the setting: https://github.com/rakudo/rakudo/blob/nom/src/core/Grammar.pm#L16
.tell azawawi i just sent out a pull request for HTTP::Easy that improves the time it takes to split a HTTP request into header and body by a factor of 300x, making the very first load of farabi6 much, much faster :)
.tell azawawi my $index-file = '/home/azawawi/rakudo/install/languages/perl6/site/bin/index.data';
.tell colomon For a fellow Perlish Forthwright: A Forth-in-Perl I wrote back in my Perl 5 days: http://www.broadwell.org/perl/ (gjbforth)
.tell masak http://www.reddit.com/r/programming/comments/2kowrd/status_of_perl_6/clne3aq :)
.tell japhb i didn't write p6doc-index, i just wanted to add a little feature and didn't want to rewrite the code like that :)
.tell timotimo In HTTP::Easy, $first-chunk can become Any after the recv loop on rare occasions while using the firefox browser
.tell azawawi "foo".path is deprecated, "foo".IO is not
.tell jnthn Finally a short stress test for Rakudo threading that fails many different ways, relatively quickly: http://irclog.perlgeek.de/perl6/2014-10-29#i_9579979
.tell pmichaud re http://irclog.perlgeek.de/perl6/2014-10-28#i_9577937 , I think that would be an excellent plan
.tell lizmat It looks like one of your uniq deprecations suggests uniq itself as a replacement.
.tell supernovus im getting install errors only with panda . the way it suggests testing passes if i clone your repo (just fyi)
.tell lizmat (isatty) well, you never call methods on $!PIO on jvm and moar, so that's pretty much certainly not gonna work. I suspect the functionality may be missing too... Though as a Windows guy I'm mostly like "so wtf is a tty" :P
.tell jnthn afaik is 'isatty' indicates whether there is someone looking, rather than input / output coming from / going to a file / pipe
.tell masak a tower build out of macros https://github.com/ckknight/gorillascript/blob/master/src/jsprelude.gs
.tell lizmat are you happy with IO::Handle.close-pipe?
.tell jnthn that's a real life report: http://froggs.de/perl6/cpantesters/ (though, statically put there for review)
.tell supernovous i'm trying to use xml::query and when i do .new(xml => $xml) i'm getting 'Cannot create an instance of that type', any clues? Tests are now failing when I install from panda as well
.tell supernovus i'm trying to use xml::query and when i do .new(xml => $xml) i'm getting 'Cannot create an instance of that type', any clues? Tests are now failing when I install from panda as well
.tell timotimo Actually, both before and after microoptimizations would be good to have, because that shows how much work the user is having to do that the compiler should be doing ... and how much better it performs with user assistance.
.tell ugexe You are working on something related to module installation tests? please ping me
.tell brrt i can't duplicate the moar segfault on yosemite, it built 3 times without failure -
.tell bbkr couldn't duplicate moar build segfault on yosemite. was able to reproduce your bug @ https://rt.perl.org/Public/Bug/Display.html?id=122803
.tell brrt sorry, previous message was meant for someone else ^^
.tell leont Would it be of any interest for you TAP::Harness that you can now read from a pipe and also get the exit code?
.tell raydiak in Math::ThreeD's Build.pm, $?FILE.path.absolute.parent.child('gen-libs.p6') is wrong. The absolute part needs to come last, because it generates a Str instead of a Path.
.tell jnthn could it be that $!PIO.isatty is NYI on jvm and moar ?
.tell jntn regarding the private method in role, seems we have #120919 for that already, added my failing code to the ticket
.tell lizmat It's better to do async communication with me these days than try and find a time we're both on IRC, I suspect. :) Just drop the code example that shows it or other stuff I need to reproduce it in a gist and .tell me it ;)
.tell azawawi i can run farabi6 when i clone it manually and run bin/farabi6
.tell azawawi i'm not really doing anything with farabi6, but it maxes out a single cpu on my machine :\
.tell jnthn suggestions about take failing on jvm? https://gist.github.com/lizmat/ab00347d5cc44a23c65b
.tell jnthn code is from src/core/Baggy.pm
.tell jnthn the gist with the sub/private method codegen issue: https://gist.github.com/lizmat/16382a07084c5bb33d19
.tell jnthn I think there is some codegen issue with private methods, contact me for an example
.tell jnthn I would not be surprised if this would be the source of a lot of flappines, specifically in async modules
.tell japhb < moritz> [Coke]: I'm slowly preparing a replacement for feather that should be beefy enough to also replace host08 :-)
.tell masak right. You kind of need to launch it to see the output for now
.tell FROGGS will be happy to review the patch
.tell FROGGS I filed RT #122971 re: the :nl parameter in IO.open.
.tell TimToady http://irclog.perlgeek.de/perl6/2014-10-13#i_9499127 might have been http://irclog.perlgeek.de/perl6/2014-08-15#i_9188841
.tell leont: so, did I understand you right that I would need to look deeper into how IO::Uncompress::Gunzip achieves platformability in P5?
.tell leont so, did I understand you right that I would need to look deeper into how IO::Uncompress::Gunzip achieves platformability in P5?
.tell brrt wrt 112678, the relevant line is S03:800 (just saw your question in the backlog)
.tell Mouq I finally installed your ssh key for perl6/doc - sorry that it took me so long
.tell BenGoldberg if you're thinking of take-task(), I asked about that after the talk, and jnthn++ explained that it was smarter than he initially let on -- meet-condition sets the condition *without* releasing the method lock, which only gets released at actual method exit, which is when other threads can notice the condition was met.
.tell timotimo My plan for getting to the hackathon venue is to take the train from the main station near us to Salzburg Aigen, which is the stop just past the venue, and then backtrack a couple blocks on foot.
.tell timotimo Takes about 11 minutes according to the schedule, running every half hour at :21 and :51 it looks like.
.tell PerlJam finally found an example @ https://github.com/perl6/roast/blob/master/S17-procasync/print.t . Thanks :)
.tell masak http://www.cs.cmu.edu/~aldrich/papers/ecoop14-tsls.pdf if you havn't read it
.tell BSc_tadzik https://gist.github.com/tony-o/b8eca866073128527c15
.tell jnthn apperently your commit 442a465a947fdad4d4d has borked rakudo build on at least OS X
.tell jnthn your last patch seems without problems on jvm and parrot
.tell lizmat well, good timing...I've not had thse happen on Windows at all, and so haven't had chance to hunt the thing down yet...provided there's decent debugging stuff on your laptop I might finally stand a chance :)
.tell Ven no mention of appending to or concatenating an array or a hash with the "operator ," in your guide
.tell Ven i think there's an error on the line where you exmplain list-associative property for binary operators. that or it needs a better explaination
.tell laben xml::query test fail is probably safe to ignore, the test is written strangely. https://github.com/supernovus/perl6-xml-query/blob/master/t/basic.t#L68
.tell laben if you rewrite that line as $xq(qw<.flagged .odd>) everything works fine
.tell tony-o dunno man, how recent is your rakudo? i get a failure at https://github.com/supernovus/perl6-xml-query/blob/master/t/basic.t#L14 which is problematic in my opinion
.tell woolfy1 Haven't been able to reach you this morning. Ping when you're back?
.tell pmurias it does through stuff like that: `expect(actual).to be > expected`
.tell pmurias or it abuses method_missing and operator overload to produce cute DSLs like Squeel I talked about earlier
.tell pmurias but the most interesting of those will probably be "wrong": https://github.com/sconover/wrong :-)
.tell masak In the list of "interesting stuff to look at", elixir is homoiconic has macros and an unified representation (for their AST and other stuff, basically {:+, {1, 2}} for 1+2, where {} is like "tuple")
.tell masak also, dylan is pretty interesting. It's a ... scheme/lisp in algol syntax
.tell pmurias stuff in ruby does that too :-). It's really amazing
.tell japhb i really need a tool or something to figure out what makes perl6-bench discard data ... i have done a benchmark set for lots and lots and lots of releases now and all i get is a row of 100.0 for all of them :(
.tell japhb the only relevant thing i see is --skip-incomplete, but it doesn't change anything :(
.tell nine on OpenBSD a sub with an empty return; hangs. p5_av_top_index should return -1 with an empty return; but is returning 4294967295. Something somewhere unsigned that should be signed?
.tell pmurias I'm fine with 4c5981159e being put in master
.tell daxim Please make sure that patch get manually applied to the libtommath that get bundled by opensuse
.tell jnthn shall we add detailed information to the ROADMAP entries? like pointing to an RT ticket or rakudo issue with open TODOs for each?
.tell FROGGS hmm, I think the idea of the ROADMAP file is more that you can quickly scan through it... Maybe can find a way to annotate the entries like (1) and then at the botom (1) See http://omg.its.rt/42 blah blah
.tell FROGGS seems the 5daa5de broke the parrot build
.tell japhb when we are fast enough or use a sufficiently high --enough-time, won't the benchmarks that do native integer loops overflow their counter and infinitely loop?
.tell japhb do you have a good idea for a design that'd let us cover moarvm rakudos before the configure.pl unification?
.tell something
.tell ilmari lunch
.tell colomon the Nonogram failure you see seems to be a genuine MoarVM spesh+inlining bug
.tell pmurias I'll explain my acmeist thoughts on translation tomorrow when you are about.
.tell jnthn this fixes the build breakage for me: https://github.com/rakudo/rakudo/commit/5d8eebfdc7
.tell raiph please read up on S11:01 and S22:01: basically each CompUnitRepo is responsible for its own installation management
.tell raiph in Perl 6, there is no global distribution management
.tell raiph anybody can write their own distribution manager (CompUnitRepo) as long as it adheres to the specced API
.tell jnthn that my interest in 'native' arrays is really cheap JIT access, and that i'd personally hapilly sacrifice safety for that
.tell jnthn that i think it'll be possible to find a compromise :-)
.tell masak I'm gonna make macros to join our `where`s and that: http://goto.ucsd.edu/~rjhala/liquid/haskell/blog/blog/2013/01/01/refinement-types-101.lhs/
.tell hoelzro I've added a comment following up on your bug reports at https://questhub.io/realm/perl/quest/52d6b4dcf6d3292b1a00007e
.tell raiph I'm not sure what this is. It's not mine anyway. Still, I notice this uses Parrot-specific code. If it can be shown that the pure P6 version is as least as good, it should prevail, shouldn't it?
.tell gtodd try it like this?
.tell rurban I was able to build parrot and perl6-p an OpenBSD 5.5. On NetBSD 6.1.4 I had two problems with dyncall. I just created a pull request which should fix these issues.
.tell rurban (The pull request is for nqp: https://github.com/perl6/nqp/pull/183)
.tell brrt when we have proper jit code production for invoking NativeCall stuff .. that could be super amazingly cool :)
.tell brrt i'm not sure if that'd end up super easy because we already have the code that emits regular calls to MVM_* functions, or if it's going to be harder because we have to be converting data types back and forth?
.tell masak I have a couple of PR's open for you (on Data::Pretty and Text::Markdown)
.tell masak for ya' release: https://gist.github.com/FROGGS/78c5203d0b145ca57196
.tell leont just because it's impossible doesn't mean I can't do it :)
.tell ingy https://github.com/ingydotnet/pig-latin-acme/pull/3
.tell timotimo i wanted to ask him about what he'd think would be the next step for the JIT. i want to refactor the params functions but this needs some work as i'll need to have a detailed map of coercions done by these
.tell Ven applied,thanks!
.tell Ven join #lingy
.tell pmurias vendethiel is me, home, ven is me either at work or on my laptop, and I also use vendethiel- sometimes :-)
.tell tony-o Here are your messages
.tell leont about the 9 revisions of the perl6-p bisect: git bisect log | grep -P '^#' | wc -l # 47 :o(
.tell raiph yes the code base was identical but 8-22 might have been without the JIT, which at the time made no difference to the execution time
.tell FROGGS feels like 4c7922850a is adding ~ .5 second to setting parsing
.tell lizmat: and true enough comes the morning I'm a bit more positive. Allowing - in identifiers is not the only incompatible change. Perl 5 doesn't support real named arguments for example so there's got to be some workarounds anyway. And one can always call $foo->call_method('perl6-method', ...) anyway...
.tell lizmat[3~: and true enough comes the morning I'm a bit more positive. Allowing - in identifiers is not the only incompatible change. Perl 5 doesn't support real named arguments for example so there's got to be some workarounds anyway. And one can always call $foo->call_method('perl6-method', ...) anyway...
.tell lizmat and true enough comes the morning I'm a bit more positive. Allowing - in identifiers is not the only incompatible change. Perl 5 doesn't support real named arguments for example so there's got to be some workarounds anyway. And one can always call $foo->call_method('perl6-method', ...) anyway...
.tell masak http://www.wilfred.me.uk/blog/2014/09/15/comparative-macrology/
.tell jnthn I'd like to merge the cglobal branches of MoarVM/nqp/zavolaj - please review :o)
.tell jnthn and I'd like to talk about how to write to such a global/piece of mem with you (design wise)
.tell tony-o i'm looking more into perl6-http-server-async and i'm not entirely sure how request.parse works. also, is it a good idea to try to re-parse the whole request string every time a new byte arrives?
.tell tony-o i get it now; this is just because i asked you to make data lazy, and since we still need to handle chunked encoding, that still has to run every time ...
.tell tony-o i think this is wrong, though: the chunked encoding thingie looks at %headers, but if $!headercomplete is set, it'll never assign anything to %headers. in fact, i see no code at all that assigns to %.headers in Request.pm6 ?!
.tell hoelzro that seems to work!
.tell lizmat The new INITIALIZE subs for $*{EXECUTABLE,PROGRAM}{,_NAME} don't make sense to me. The second sub of each pair uses the first, which initializes both, so you don't need to do any computation in the second of the pair. And for $*EXECUTABLE, it makes no sense to do .path.absolute twice on the same data.
.tell jnthn You've killed NativeCall! (rakudo/cc1965f makes it able to check the return type of { * }. There is a stub_instead NativeCall branch if that is the way to go)
.tell ingy I started a scala port of your stuff, and ended up fighting its regexps for around 3hours :d. they're so much better in 6 ;)
.tell grondilu PR to fix Digest tests please :) https://github.com/grondilu/libdigest-perl6/pull/3
.tell jnthn re "my $p; $p = start { await $p }; await $p" deadlock, maybe we should force waiting for a start promise to only be allowed in the originating thread ?
.tell jnthn My current biggest concurrency pain is that errors that occur inside a Promise will show a backtrace starting at the .result call -- so you can't see where the actual problem occurred, only where it was *noticed*.
.tell japhb I'll take a bit :-)
.tell hoelzro https://github.com/grondilu/clifford/blob/master/lib/MultiVector.pm6#L5 :(
.tell japhb http://www.flotcharts.org/ seems to be a quite nice plotting library for javascript and it seems to be in more active development than jqplot
.tell tony-o i'm going to play around with your HTTP::Server::Async for a bit :)
.tell tony-o it seems like your documentation and implementation disagree on the handling of the responsestack; your documentation says the sub should return True or False to influence further processing on the request, but the implementation seems to ignore the return value
.tell brrt i wonder why i didn't get any inlines at all in the previous instance i tried it, but now i do see inlines show up in the jitlog. maybe it only shows inlines if it has deopt points nearby?
.tell masak hey, I'm poking at RT 122319; would you have time to peek at clog around http://irclog.perlgeek.de/perl6/2014-09-01#i_9282046?
.tell japhb_ I'm still wondering why the benchmark plots don't disappear when there is 0 data at all, like the non-nqp-implemented benchmarks in a pure-nqp-comparison
.tell japhb_ i wonder when it'll be time to re-implement the perl5 portions of p6bench in pure perl6 :)
.tell mberends have these debian arm laptop special interest group looked closely at the Pyra? the Open Pandora successor? it'll be quite beefy indeed
.tell japhb_ i'm back (for 45 minutes or so)
.tell Mouq there are two operations you can do regarding the current routine's MVMCallCapture: usecapture and savecapture. The first populates a per-thread singleton and so is not reentrant. The latter saves a copy.
.tell Mouq both are worth avodiing on hot paths; savecapture has to allocate a GC-able, so it's the more expensive of the two.
.tell brrt if we could see "beginning of inlined frame for function $foobar" in the jit log, that'd be interesting
.tell brrt for example, i see !cursor_pass only jitted like 50% of the time, spesh'd the other 50%, but in the jit log i can only see successful jittings of that frame, so it's probably in-lined versions of that otherwise?
.tell masak you might think my "Map[K, V]" naming is unfortunate, but we can't type hashes.
.tell brrt Sorry I missed you, please ping me again when you're back
.tell raiph I'd say it's really made possible by NativeCall. As NativeCall does conversion of char* and int to Perl 6 types for me and converts all other pointers to OpaquePointer types, I didn't have to figure out how to create such objects on MoarVM. The parts where I had to create such objects for Perl 5 I took directly from Inline::Python's source and conerted it to Perl 6.
.tell coloman: why does the OpenSSL smoke test complain about LibraryMake when LibraryMake itself is green?
.tell colomon why does the OpenSSL smoke test complain about LibraryMake when LibraryMake itself is green?
.tell masak I'd love to see your suggestions for how best to code the second bit too. ( See http://irclog.perlgeek.de/perl6/2014-08-30#i_9268837 )
.tell jnthn NQPMatch objects are getting through add_inlining_info_if_possible in QAST::Want objects
.tell jnthn this is an odd one - https://gist.github.com/donaldh/f5502df973ec2b41a9c2 fixes it, but why?
.tell moritz I fixed up and checked the docs; they're fine now!
.tell jnthn Is this a bug, or am I grossly misunderstanding how S17 works? http://irclog.perlgeek.de/perl6/2014-08-28#i_9260839
.tell colomon I added added 'dump directly into P6 data structures' and made that behavior the default for 'from-json'. I'm debating tossing the heap of code for letting jansson objects kinda-sorta behave like P6 ones (that is, aside from what's needed to convert)
.tell colomon ok, I suppose the debate about whether to keep the emulation code was premature: on -really- big JSON blobs (~180M) keeping the data in jansson-land is radically faster (14 second parse time vs long enough that I gave up, around the 10 minute mark)
.tell hoelzro How do you imagine UA as a middleware? :)
.tell Mouq FYI, perl6/doc htmlify.p6 now needs latest rakudo + latest Pod::To::HTML
.tell psch could you check if HTTP::UserAgents works for you now?
.tell colomon I added a rough draft for encoding values to JSON::Jansson, next up is adding an option to parse JSON into perl6 data structures (rather than preserving them as jansson objects)...or something more pressing for your use case, if you have something in mind
.tell tadzik looking forward to seeing you
.tell jnthn Thanks for the slides link, thank you VERY much for the profiler, and also many thanks for the shout-outs to perl6-bench. :-)
.tell lizmat - had to fudge some of the new throws_like tests for parrot & jvm.
.tell cognome any updates for the FPW2014 talk videos :P?
.tell japhb it'll now be very interesting to be able to run benchmarks with nqp-m --profile (and perl6 --profile later when it works) with a given (or default (big)) work load
.tell TimToady do you know something about the status of perl6/rc-forest-fire in perl6-bench? i thought it was supposed to have a "warming" state
.tell micahjam97_ Look up Lingua::Romana::Perligata. Then quake in fear.
.tell lizmat On SEGV, maybe try bumping to latest MoarVM; I fixed a nasty bug that broke a GC invariant earlier today...uh, yesterday...
.tell japhb maybe the command i was thinking of could be called "testrun" and it could take either a component name if given, the system-wide "perl6/nqp/..." or a compiler by filename
.tell Mouq scalars can only be indexed with [0], and nothing else
.tell Mouq although I'm not sure where that is specced
.tell japhb it'd be kinda cool to have a way to tell perl6-bench to run all tests exactly once at a somewhat high workload number, so that i can collect a huge jit log or spesh logs or something
.tell timotimo mebbe https://gist.github.com/raiph/f20cec6ff47400c31fbb is helpful for p6weekly
.tell Mouq MoarVM HEAD fixes the htmlify grapheme iter crash
.tell sergot i've added a very basic error-printing to your OpenSSL module and the error message seems to points at something upstream (3rd file in https://gist.github.com/peschwa/c60c1c06a96781418d27; upstream discussion http://www.mail-archive.com/openssl-dev@openssl.org/msg32009.html)
.tell sergot i'm not sure that's actually the problem though; the discussion mentions AES-NI, which at least one of the machines i encounter that error doesn't support
.tell Mouq nice! and yes, this makes the Slangish module easier design wise...
.tell tadzik https://gist.github.com/ren1us/01d724255dd57bbaab31 # panda issues
.tell japhb -v and echo "" | perl6-m will not pull in the setting, but an empty program will
.tell sergot: you haven't posted to your blog about the gsoc for quite a while; isn't there some kind of requirement (possibly not strict) to have a public progress report on a biweekly basis?
.tell sergot you haven't posted to your blog about the gsoc for quite a while; isn't there some kind of requirement (possibly not strict) to have a public progress report on a biweekly basis?
.tell Mouq What do you mean by 'how'? <Mouq> FROGGS: How do you use the nqp_to_perl6 branch of v5?
.tell Mouq In case you meant build instructions I updated the README.md
.tell cognome I can explain what FOREIGN_LANG does
.tell sjn well, it actually needs rebasing
.tell ventica thanks for reminding me of the RC :)
.tell jnthn I haven't been able to test on multiple backends, but I get this running perl6/doc/htmlify.p6 and think it's MoarVM related: https://gist.github.com/Mouq/d81105012d86e04814f9
.tell Mouq yes, it is...that error should never happen.
.tell Ven PDF::Grammar README has been improved, added some usage notes and examples. Thanks for feedback Ven++
.tell japhb_ if you look at http://t.h8.lv/p6bench/2014-08-01-moar.html ... what could be the reason two implementations are missing in all (?) graphs?
.tell timotimo Reason for some implementations to be missing from most graphs: having run a limited test with some of the implementations and not the others. The default behavior is that running a new set of tests for a given compiler checkout will overwrite the timings for that compiler checkout, not combine with previously existing runs. This is because combining could too easily result in nonsense.
.tell timotimo So if your most recent run for each of the compared compiler builds did not specify the same tests, you're going to find that some/most of the plots will be missing some lines. You can see this if you do a simple text mode comparison; you'll see a lot of missing data.
.tell moritz: fyi, --git-protocol doesn't look like it's passed down to nqp, so nqp tries the default https://
.tell moritz fyi, --git-protocol doesn't look like it's passed down to nqp, so nqp tries the default https://
.tell yoleaux what kind of name is yoleaux?
.tell Mouq about broken links on doc.perl6.org, see http://irclog.perlgeek.de/perl6/2014-07-31#i_9113080
.tell japhb i really ought to pay close attention to the flags for the test runner when i do jvm benchmarks ... i should let it do fewer tests in a row or something ... or could we perhaps have an option that allows us to scale two steps at a time?
.tell pmurias I got NQP JS building after a rebase on the latest nqp: https://github.com/hoelzro/nqp/tree/nqp-js
.tell timotimo timotimo++ # p6weekly ... week 28 ... week 30+31 two weeks later ... should that be week 29+30?)
.tell jnthn
.tell jnthn st07:~/sandbox/perl6-roast-data/rakudo.parrot$
.tell [Coke] he is right here :P
.tell timotimo https://gist.github.com/raiph/c1202f874c2477b09d1f irc summary trawl
.tell itz thanks for the PR. what tests started failing on parrot 6.6.0? I think Rakudo 2014.07 used Parrot 6.6.0, so I wouldn't expect it to be that bad
.tell avuserow re R* announce; "This is the first Rakudo Star release with..." paragraph needs an update
.tell avuserow re R* announce; you have a pull request on your star branch
.tell timotimo https://gist.github.com/raiph/c1202f874c2477b09d1f done thru 21st, ie monday. (i think you should just do thru monday :)
.tell lizmat in some cases you can quote or escape paths, it does not work for all build systems but we should try
.tell japhb here is the test, I'd committed it if I could make a P5 version: http://paste.scsys.co.uk/409315
.tell timotimo https://gist.github.com/raiph/c1202f874c2477b09d1f i plan to do more tomorrow
.tell jnthn is this normal? i suspect it's part of inlining: https://gist.github.com/bdw/e5b606499aa6435f7e72
.tell jnthn Is that a valid patch about rooting? https://gist.github.com/FROGGS/534f320aa548e12f75c4
.tell Mouq I merged your pull request and did some changes. Today I'm going to make a lists render.
.tell lizmat Hello. Recently you add nice warn message if we use @array[-1] instead of [*-1]. Today I found that
.tell lizmat r: my @a = <1>; @a[*-1] = 2; say @a ~ ' ==> '; my @b = (); @b[*-1] = 2;
.tell atroxaper https://github.com/atroxaper/Pod-SAX/pull/1
.tell Mouq Actually I hope my solution would be better than current Pod::To::HTML. I would like you to look at my Pod::SAX and current Pod::SAX::Goes::HTML at https://github.com/atroxaper/Pod-SAX
.tell TimToady I hope all goes well with your eyes. Best wishes.
.tell colomon_ https://github.com/sorear/niecza/issues/191
.tell jnthn I think I found a supply bug. Does https://github.com/rakudo/rakudo/pull/286 make sense?
.tell jnthn that patch results in an issue where calling .close on one tap closes the source_tap for all taps; I'm not sure the best way to solve this
.tell timotimo just read yesterday's post. You made my day! atroxB<p>aper ;-)
.tell jnthn I tried to kill the SupplyOperation bug again: https://github.com/rakudo/rakudo/pull/287
.tell atroxaper like this
.tell lue hello, my not finished yet solution is https://github.com/atroxaper/Pod-SAX. You can see Pod::SAX::Reformer class and its test. Main feature that my Callees makes a calls for start of Pod object, end of Pod object, and 'in' Pod object that trigger if .content has not Pod object like String. And for each Pod type we can make many callbacks for many cases. Like only for L<> but not for C<>, I think it is more flexible and maintenanc[fu
.tell lizmat that feels weird: m: my %a = a => 1; my %b = b => 2; %a<b> = %b; %b = %a<b>
.tell jnthn I made you a test case (slightly smaller): http://paste.scsys.co.uk/407345
.tell lizmat is S03-metaops/hyper.t:659:#?rakudo skip 'EVAL(Buf)' easily fixable? (I tried unskipping it, no love)
.tell atroxaper just so you know, I've already followed that hint in Pod::To::HTML (here it is: https://github.com/lue/pod-walker), and AFAIK Mouq is using it to reimplement Pod::To::HTML too. I'll be interested in seeing what your solution to that hint is! :)
.tell jnthn Something is broken on the latest Moar such that htmlify.p6 no longer works, dieing with "Error while compiling op call: Local '__lowered_param_0' already declared"
.tell jnthn htmlify.p6 in perl6/doc, that is
.tell vendethiel Has http://scriptogr.am/vendethiel/post/and-perl-6-came-forth changed? Given other langs don't need sigils, your answer to "Why is it needed?" seems unsatisfying. Maybe "When is it needed?". My issue with "capture" was that it already has a different technical meaning in P6 (actually at least 2 entirely distinct technical meanings)
.tell atroxaper assuming L<foo> is a synonym for L<doc:foo> (S26 doesn't say anything about this explicitly), I could see a case for L<C<foo>> being equivalent to L<doc:foo> rather than L<doc:C<foo>>. However, I'd also say L<C<foo>> is wrong, and you deserve whatever broken output results :) You really should do either C<L<foo>> or L<C<foo>|foo>
.tell atroxaper https://github.com/perl6/Pod-To-HTML/commit/f70c57d29a4301b104f115a659417f07f013a947
.tell perltricks I would put EVAL where try/CATCH is, so P5er see how P5's eval became try *or* EVAL
.tell jnthn look at this weird patch, that helps a lot: https://gist.github.com/FROGGS/0c85c2e1363abb4a45c1
.tell vendethiel-- please look at http://blog.timbunce.org/2010/07/16/java2perl6api-java-to-perl-6-api-tranalation-what-why-and-whereto/
.tell vendethiel "Just enter submit to evaluate the code you typed." that "enter submit" sounds weird/wrong
.tell vendethiel i'm not sure if this is the right thing to tell a newbie, but the reason why { say "hello world!" } only outputs "hello world!" and not 1 (the return value of say) is because that piece of code wrote something to stdout and then the return value will not be printed
.tell thou Your blog says "Let me know" but I see no obvious way to comment. What I'm sure anyone reading it wants to know is what you found out about control of your grammar's backtracking.
.tell ren1us: pushing to a hash key autovivifies
.tell ren1us pushing to a hash key autovivifies
.tell reni1us m: my %h; %h<a>.push: 1; say %h.perl
.tell ren1us m: my %h; %h<a>.push: 1; say %h.perl
.tell ren1us m: my %hash; not %hash{"test"}:exists; %hash{"test"}:!exists; # two other ways
.tell timotimo YAPC::NA is now at day 2 of 3. so it's not over yet
.tell timotimo so s/happened/is happening/
.tell masak: Thanks for the nudge, I just blogged about Template::Mustache: http://ode-to-camelia.tumblr.com/
.tell masak Thanks for the nudge, I just blogged about Template::Mustache: http://ode-to-camelia.tumblr.com/
.tell newbiew_Perl6 about https://github.com/jnthn/grammar-generative
.tell timotimo New perl6-bench command `bench history` ought to interest you. Ping me if you need help. :-)
.tell timotimo html and html_plot versions coming when I get another good hack session.
.tell lizmat subbuf-rw is just a sub like substr-rw is only a sub, not a method
.tell lizmat this is the state of panda+CPAN: https://gist.github.com/FROGGS/197b7747f3594079712a - now I am going to port Archive::Tar
.tell TimToady S06:715 says "a loop as the final statement would be evaluated as a map"; this is now a fossil, right?
.tell moritz My old computer died; can you authenticate me for syncing doc.perl6.org again? ssh public key in PM
.tell kid51 Pending parrot-nyc-users request that I can't do anything with. it's been pinging me for a few days
.tell donaldh Thanks for perservering and getting the eval server stuff working for me. Having these tests run in a fraction of the time makes it much more usable.
.tell timotimo I tried gtk-simple, but on the latest MoarVM it dies with "Attribute $!gtk_widget not declared in class GTK::Simple::Switch at lib/GTK/Simple.pm6:535", which is a bogus error...
.tell timotimo Sorry I didn't get all the way to your request, but hopefully the changes today will be useful anyway. :-)
.tell mouq: I found the solution for http://irclog.perlgeek.de/perl6/2014-06-10#i_8850807 see http://irclog.perlgeek.de/perl6/2014-06-15#i_8873951
.tell mouq I found the solution for http://irclog.perlgeek.de/perl6/2014-06-10#i_8850807 see http://irclog.perlgeek.de/perl6/2014-06-15#i_8873951
.tell PerlJam I found the solution for http://irclog.perlgeek.de/perl6/2014-06-10#i_8850807 see http://irclog.perlgeek.de/perl6/2014-06-15#i_8873951
.tell FROGGS I'm starting to wonder whether %*CUSTOM_LIB should live in core at all
.tell lizmat is there another way to get your hands on the CURL of 'home', 'site', 'vendor' or 'perl'? I mean, on a specific one?
.tell FROGGS rurban wrote to the channel (I think it's directed at you): «I added now the missing parrot NameAliases. Do you want old abbrevations also, like "LINE FEED"? icu doesn't support this so I added a generated perfect hash (via gperf)»
.tell timotimo You might want to pull perl6-bench. :-)
.tell jnthn I can call that, but I cannot access the elems of the returned thing: sub sg_get_fs_stats(CArray[int]) returns CArray[sg_fs_stats] is native("libstatgrab") { * };
.tell rindolf I just seem to be zigging when you're zagging, but you can always leave a PM, you don't have to ask...
.tell ren1us see http://irclog.perlgeek.de/perl6/2014-06-12#i_8860068 and following regarding circular dependencies
.tell [Coke] the exception from
.tell [Coke] the exception from S04-phasers/in-loop.t fails outside of eval-server too. It's been around a while.
.tell Mouq no, not really. need to fix that
.tell lizmat perhaps yes... this way you could have a repo pointing to your usb stick
.tell donaldh rakudo.jvm only made it as far as S06-other/main.t this time. it worked fine with your first tweak but has failed on subsequent runs with later changes. Any ideas?
.tell donaldh This exception from the eval server look fixable? https://gist.github.com/coke/77a58d476a1008749362
.tell FROGGS does it make sense to have CUR::Local::File instances if which the directory does not exist ?
.tell FROGGS or CUR::Local::Installation for that matter ?
.tell moritz thanks re gh/perl6 repo message
.tell raiph re perl6/p5-modules: you could contact the authors of the invidial modules, tell them to fork the repo (or extract subdirs) if they're still interested
.tell raiph i've updated rakudo.de a bit
.tell masak Your "accept" operator sounds a lot like the "amb" nondeterministic choice operator. Take a look at <http://rosettacode.org/wiki/Amb#Perl>, in particular the first perl5 solution.
.tell xfix I'm trying to encourage a little cleanup of gh/perl6; http://github.com/perl6/bench-scripts; last update by xfix 1 year ago; does it make sense to move scripts into japb/perl6-bench then delete repo? if so, would you be willing to do that?
.tell pmichaud I'm trying to encourage a little cleanup of gh/perl6; please delete github.com/perl6/bench-scripts, /reports, and /nqpbook (for a bit more detail see https://questhub.io/realm/perl/quest/534571eabbd0bed24e00006d and http://irclog.perlgeek.de/perl6/2014-06-08#i_8840143)
.tell moritz I'm trying to encourage a little cleanup of gh/perl6; please search for 'moritz' in https://questhub.io/realm/perl/quest/534571eabbd0bed24e00006d TIA
.tell pmurias Do you have a todo list for rakudo-js?
.tell Coke re http://irclog.perlgeek.de/perl6/2014-06-06#i_8834904 I don't like the hardcoded port 5000 either. I plan to extract the port finding code from IO-Socket-INET.t into a separate package and use that.
.tell jnthn I made branches in nqp/rakudo called p6level_slangs if you want to poke it... run it as perl6-m -I. -e "use COBOL; 1"
.tell jnthn what if I create (and return) an NQPCursor in LANG2 after the call to the foreign statementlist?
.tell lizmat I need that to work for panda/eleven, and your last commit broke it: temp $*EXECUTABLE = "$*EXECUTABLE -MFoo"; shell(...)
.tell lizmat in general, why do you make things immutable at all?
.tell FROGGS I'm inclined to side with lizmat++ on this one; why would it ever make sense to violate the contract of an IO::Path by appending switches and turning it into a string? You need your own $*HOWTOINVOKE command or some such.
.tell lizmat nvm :o)
.tell lizmat yeah, would be nice to have a roundtripable @*INC
.tell FROGGS I'm also considering making @*INC an object with push/unshift/gist overloaded
.tell FROGGS so that a say @*INC will create a string that can be used with -I
.tell lizmat no, the replacement is fixed. but I'd need to generate stuff like <before "."x$len-1> ... stuff
.tell lizmat eleven is spectest clean
.tell jnthn does that seem sensible? https://gist.github.com/FROGGS/100079bd927d239e8ab2 I need it for binding to $*MAIN
.tell Timbus Ah, cool, I'll take a look!
.tell FROGGS It looks weird. Not least becuase you've got a QAST::VarWithFallback - and dn't actually specify a fallback!
.tell FROGGS I guess the fallback should be to complain about the dynvar not existing...
.tell 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
.tell bbkr blog added, will take a little while to show up in the feed.
.tell jnthn Any thoughts about how to implement cancel on an async server socket's supply? Could we return a new Supply but cancellable or something?
.tell donaldh to see how it works for Supply.interval; you just .close the tap.
.tell lizmat would it be okay if I change eleven to use @*INC for ordering instead of the .prio before we merge?
.tell FROGGS please use @*INC for ordering, note that it now lives in src/core/Inc.pm
.tell Mouq I'll add tests then
.tell FROGGS looks like your changes break t/spec/S16-filehandles/filetest.t , at least on moar
.tell FROGGS: "doesnotexist.t".IO ~~ :z dies rather than returning False
.tell FROGGS "doesnotexist.t".IO ~~ :z dies rather than returning False
.tell FROGGS other than the failures, good eye for optimization, those 40% will really mean a lot
.tell FROGGS .z is now fixed, but .s seems to always return 0
.tell timotimo that's wrong: If I understand correctly, the bug where MoarVM incorrectly turned nums into strings was fixed. Turns out it was forgetting about the ‘e’ inside scientific notation.
.tell when coercing to a string it lost trailing zero's for scientific notation, when it only should strip these for \d+.\d+ looking floats
.tell timotimo when coercing to a string it lost trailing zero's for scientific notation, when it only should strip these for \d+.\d+ looking floats
.tell timotimo there is at least one thing for the p6weekly: the v5 module does not require a patched rakudo anymore, and can be installed using its configure script + make...
.tell timotimo and I am working hard on making it a pandable module
.tell japhb DateTime sounds fine to me. I guess I got distracted by the attribute name
.tell backlash_jack Like this
.tell colomon woo for ganging up on panda with pull reqs to fix $*VM.name :)
.tell raiph Hi, are you still working on the script that parses mirrored.by, or should I use one of these as a base? https://gist.github.com/raiph/63508a5f4ade000acc7f / https://gist.github.com/raydiak/11382643
.tell tadzik: a couple of pull reqs on panda and ufo to change $*VM<name> to $*VM.name, when you have a moment
.tell lizmat I'm unable to fudge those failing S17 tests, the TODO markers seem to end up on unrelated tests; any idea what to do, except removing them from t/spectest.data?
.tell labster take a look at https://github.com/labster/perl6-File-Find-Duplicates/pull/2 when you get a chance :)
.tell lizmat does it make sense to point somebody from $*OS to $*DISTRO.OS when we do not yet have $*DISTRO?
.tell spider-mario maybe like this
.tell FROGGS yes, I do have nqp-m in my PATH (actually, I even have perl6-m)
.tell lizmat Supply itself should not be doing that kind of race protection. It does need putting somewhere, but not *there*. async_chars and async_bytes are not meant to use Supply directly in the end, for the reason you mentioned and also the other race between packets.
.tell lizmat in .Net there's some notion of Subject types whihc deal wiht this sort of problem; we absolutely do *not* want to steal that naming, but their semantics can be interesting to study.
.tell Mouq should List.rotor(1,0) not be just { self } ?
.tell Mouq and could you also transmogrify the S17-supply/rotor.t tests to handle List.rotor ?
.tell tadzik tried through the window again on a recent moar, and it runs playably on my craptop; might have tried jvm last time...figured you'd want to know its not as grim as it seemed
.tell BenGoldberg using 'my' instead of 'state' is not necessary, since the loop's closure is recloned at the same time the 'my' would have been, so the state resets on re-entry to the outer scope
.tell FROGGS Oh, eww. Thanks for letting me know. It seemed strange no one else was hitting it.
.tell raiph What you forget are that I make slides primarily for the purpose of supporing the presentation I'm giving. If you're interested in using hem as the basis for articles or some other more pleasant form for not-at-the-talk folks, feel free.
.tell jnthn Thanks for permission to edit/reuse your presentations. After an initial editing attempt I'm thinking you use a presentation build tool; if so, may I/we get permission and a pointer to use that too? Thanks again either way. :)
.tell FROGGS Just want to let you know I am working on a CPAN MIRRORED_BY grammar. My start is at https://gist.github.com/raiph/63508a5f4ade000acc7f
.tell daxim I have information about ß.uc... if you are interested please either read your privmsg or ping me
.tell jnthn I guess what I mean is that the PDF should at least mention that that first fragment is P5 code (though I'd prefer that the whole PDF was P6 code) so it works for folk who don't know or care about P5
.tell lue http://blog.gatunka.com/2014/04/25/character-encodings-for-modern-programmers/
.tell Ven FWIW, here is what I put together the last time I was creating html from perl6 code: https://github.com/Mouq/perl6-feast/blob/master/bin/feast.pl
.tell nwc10 jnthn and I found the problem that caused t/spec/S17-concurrency/promise.t to fail
.tell nwc10 the fix is going to need some thought in ThreadPoolScheduler
.tell lizmat bd9e2a3 seems to fix the done bug
.tell masak this might interest you: https://gist.github.com/lue/95084d5800a6d5328115
.tell xenoterracide type names are usually camel-cased, whereas trait names are typically lowercase. For me that's always been enough of a convention to know that I'm probably looking at inheritance. otoh, I tend to be a light user of inheritance these days, especially in Perl 6 where there are roles.
.tell Mouq seems your last patch introduces hangs in the advent2012, day 6/10, disabled them for now
.tell jnthn the problem with on -> EnumMap seems to have moved to the "done" section
.tell jnthn so subs seem to work ok now, but blocks seem to lose $res
.tell TimToady my discovery starts here, for reference: http://irclog.perlgeek.de/perl6/2014-04-18#i_8609501
.tell masak MoarVM release done, and at http://www.moarvm.org/releases/MoarVM-2014.04.tar.gz
.tell adu FWIW I use osx 10.9 and am not having issues (just built [rakudo|nqp|moarvm]-HEAD). Usually if the build segfaults, it's because I needed to reconfigure something, so you may want to doublecheck that
.tell pmichaud I've tweaked a rakudo.org link per average++'s comment at http://irclog.perlgeek.de/perl6/2014-04-12#i_8575582
.tell lizmat ftfy (orelse.t)
.tell TimToady Thinking about pack/unpack, I can't tell if making it a sublang (with unpack easily seen as "binary regex", pack being something else entirely) is preferable, or if we'd rather toss (un)pack and have equivalent operations be done with Bufs (with an additional method or two on Buf as necessary).
.tell jnthn Two r-m bugs: http://irclog.perlgeek.de/perl6/2014-04-02#i_8527156 and http://irclog.perlgeek.de/perl6/2014-04-02#i_8527351
.tell moritz Since I wasn't around when you announced it, congrats re: http://irclog.perlgeek.de/perl6/2014-03-31#i_8519218 :-)
.tell jnthn On a positive note, your r-j hang-on-exit fix did indeed work for me. :-)
.tell japhb yes, the panda p6doc thing is known to fail install on both JVM and MoarVM. It's not entirely clear why yet, but the failures are likely related.
.tell jnthn was the closure-o blorst fix supposed to fix the "p6captureouters target must be a CodeRef"?
.tell FROGGS https://github.com/rakudo-p5/v5/pull/1
.tell moritz What do you think ? https://github.com/perl6/roast/pull/37
.tell tadzik I updated lastest MoarVM and still got segfault
.tell tadzik ^^
.tell jnthn I golfed my Compress::Zlib::Raw compilation issue from the other day: https://gist.github.com/retupmoca/9744166 - I have not tested to see if this is NativeCall specific
.tell Mouq yeah, should probably allow :q to \ an opener, and if double angles allow #, it's more because that's how shells work than how Perl works :)
.tell arnsholt was "cmd: Rounded run time per iteration: 1.5828e+02 +/- 7.2e-01 (0.5%)", jastcompiler "cmd: Rounded run time per iteration: 1.457e+02 +/- 1.5e+00 (1.0%)"
.tell arnsholt works on "my" machine (jastcompiler, that is), did one run, but numbers look better.
.tell jnthn Segfault and oddness in perl6-debug-m; see http://irclog.perlgeek.de/moarvm/2014-03-19#i_8463775
.tell sisar i think the problem is that the classpath on windows expects ; instead of : and thus it doesn't find the jar files?
.tell Mouq I've given you a commit bit for rakudo/star
.tell moritz <http://irclog.perlgeek.de/perl6/2014-03-15#i_8439991>
.tell uvtc I've disabled wiki.perl6.org
.tell lue The current understanding is that this field is either set by pause/cpan or by panda when installing from github
.tell japhb the time related bits, debugging the parallel GC (yay fun :P) and then a whole bunch of safety/hardening.
.tell japhb__ the time related bits, debugging the parallel GC (yay fun :P) and then a whole bunch of safety/hardening.
.tell japhb__ I'll probably prioritize the nativecall bits though...and Star.
.tell jnthn I'm fine with something like the .vow semantics that would *enforce* the non-forking execution path.
.tell japhb__ We don't have such introspection yet, sadly. Agree its needed. Also at some point the scheduler should start tuning itself based on throughput...
.tell japhb__ It will not spin up a new thread for "then" if there's already a free one, though I guess the current doesn't count as free. The right API design is to make .then take a scheduler to use to schedule the then, though. Then you'd just pass it CurrentThreadScheduler and be done.
.tell colomon re: http://irclog.perlgeek.de/perl6/2014-03-12#i_8423436 There is https://github.com/perl-cldr/cldr-list-pm6/ by patch++, which solves half of your problem
.tell Ulti warn ^Inf # I love the idea of elegant golf with P6. For example, refusing to omit spaces when it would work but be ugly.
.tell jnthn A sample use case: I have an app that starts up chewing CPU in one or two cores, launches a bunch of tasks in different threads, they all start communicating with external processes, all cores max out briefly, some tasks finish, others go to low-CPU state and machine drops to only a core or two used for another 20 seconds before finishing. And now I want to know why. :-)
.tell Mouq: fwiw, .match does in fact work where ~~ m// doesn't :) I think the valuable lesson here is to not ever ever use $_ in regexes, for safety's sake :P
.tell Mouq fwiw, .match does in fact work where ~~ m// doesn't :) I think the valuable lesson here is to not ever ever use $_ in regexes, for safety's sake :P
.tell tadzik to see http://irclog.perlgeek.de/perl6/2014-03-04#i_8379034 (I get a segfault when perl6-m tries mkdir'ing a path it hasn't the permissions for. Should be creating ~/.perl6 instead anyway)
.tell tadzik looks like it's moar's fault, not panda's. Try mkdir /test on all three backends.
.tell smls And I can't say how much I love the mockup btw. I hope you don't mind if I've done the smallest amount of work getting the docs to look like it. The only thing I note on it is that Routine may need to be broken up into sub-categories
.tell pippo see http://irclog.perlgeek.de/perl6/2014-03-01#i_8370406 which is for you :)
.tell lue You need this: https://github.com/tadzik/panda/pull/69
.tell jnthn This bug may be at a level that needs your eyes: http://irclog.perlgeek.de/perl6/2014-02-26#i_8346638
.tell lostguy I'd recommend installing MSVC Express and rip out gmake/cygwin stuff if you can, this should work out. (perhaps use ActivePerl instead of strawberry also)
.tell diakopter I need a password reset on host06, as my keys stopped working today (and I promptly forgot the password once I had the keys setup)
.tell hoelzro I think https://rt.perl.org//Public/Bug/Display.html?id=119877 is fixed - please can you check?
.tell masak I filed #121296; plz lemme know if I could have done better
.tell jnthn I've narrowed it down to the 'frag' rule accidentally eating a closing > (but it doesn't do this on closing »), not yet sure exactly why that is.
.tell smls I changed the colors today, in case that affects anything you are/will be working on
.tell jnthn strangely, I can't seem to isolate the rule, or any of its parts, without it working on perl6-m :/
.tell smls That mockup looks really good. Aside from my general feeling that the green has been a bit too chartreuse for a while, I think it's excellent work. +1 to make it so.
.tell smls I think you did an awesome job, though I also would consider a different book icon. also, the colors are still up in the air, so feel free to play more with them. many people don't like the current combinations, and I'm not very sold on them myself. make sure you get moritz++'s input too. smls++!
.tell smls as for the structure, layout, etc, my first impression is that it is quite well-considered :)
.tell jnthn doing s:g/regex/token/ (as well as removing useless backslashes in single-quoted things) makes it not eat memory on perl6-m anymore, *but* perl6-m doesn't catch nearly as many hits as perl6-p and perl6-j from the parsed files (-p and -j still work as before with the changes)
.tell jnthn for example, the test string "# L<S82/With Frag/QQW LIST-LIKE>" works on perl6-p and perl6-j, but not perl6-m
.tell raydiak I've made some mockups showing how I think the structure and design of doc.perl6.org could be improved further: http://imgur.com/a/y1dHo -- What do you think?
.tell btyler I did a little work on using ufo with different backends; let me know if you encounter any surprises
.tell pippo Yeah, I was fearing that running the loop would cause this... So we possible would just need to root it, but my gut feeling says that this issue is part of a bigger problem
.tell FROGGS: replaced 'handle->body.encoding_type' with '1' on line 652 of MoraVM/src/io/fileops.c and now it works.
.tell FROGGS replaced 'handle->body.encoding_type' with '1' on line 652 of MoraVM/src/io/fileops.c and now it works.
.tell FROGGS could be related to the fact that my terminal has LANG=en_US.UTF-8?
.tell pippo: the probles it that handle is NULL and then trying to access handle->body explodes on line 652
.tell pippo the problem it that handle is NULL and then trying to access handle->body explodes on line 652
.tell pippo so you just worked around that NULL pointer bug
.tell FROGGS after some testing with gdb. It appears that replacing 'handle->body.encoding_type' with 'body->encoding_type' on line 652 solves the problem.
.tell FROGGS It appears that on line 649, uv_run(tc->loop, UV_RUN_DEFAULT), is resetting 'handle' to 0x0. But 'body' maintains the address of the data structure.
.tell smls Revised http://rosettacode.org/wiki/Brace_expansion#Perl_6 so it now passes all the tests I know about
.tell psch Please be a little more careful to update test plans.
.tell pmichaud Congratulations to @child[1], and good luck to @child[0]!
.tell FROGGS http://irclog.perlgeek.de/perl6/2014-02-03#i_8221286 has a ZERO WIDTH SPACE in the middle of the 2014 for some reason; any idea's why?
.tell masak "program transformation, optimization, instrumentation, etc [by] generating and rewriting ASTs ... can become tedious and hard to maintain ... . On the other hand, concrete syntax provides a natural and simpler representation of programs" (from https://www.lrde.epita.fr/dload/papers/demaille.09.sac.pdf); I assume similar issues apply to
.tell TimToady "a direct translation to Haskell": http://www.reddit.com/r/readablecode/comments/1w6exe/p6_crosswalk_braceexpansionparses/cf229at
.tell grondilu Can you explain why you replaced the scalar parameter with a a sigil-less one at http://rosettacode.org/wiki/Averages/Simple_moving_average#Perl_6 ? What difference does it make (other than making the last line "P R/ [+] @a;" look slightly obfuscated)?
.tell skids re "described backslashing behavior does not match bash": Well, Bash does several things together: 1) word splitting 2) brace expansion 3) wildcard and tilde expansion 4) backslash stripping. The rosetta task is exclusively about brace expansion...
.tell Mouq I think you had some work on some of the other missing typed exceptions, besides the couple I just did? Would get a few more passes... :)
.tell ?
.tell raydiak re: http://irclog.perlgeek.de/perl6/2014-01-21#i_8152416 , yes I've done a bit of work on the vector lib, just getting vector-vector and vector-scalar operations in place. The code for similar operators is generated from template to avoid repetition and obscure copy-pasta errors affecting only one variation of one op somewhere.
.tell raydiak The code needs some massaging to make it sane to work on together, but if you're up for it, I can find some tuits to throw at that.
.tell jnthn r: .foo # triple fail
.tell raiph why did you point that QH quest out to me?
.tell hoelzro http://questhub.io/realm/perl/quest/52bca72af6d329e15d0000ca
.tell pmurias just your your question about PDF::Grammar. In it's present form its a a grab-bag of parsing rules for different PDF elements. Doesn't handle compression, which happens with most real world PDFs
.tell Mouq I've only just noticed your rakudobrew pull requests, dunno why I didn't get memo on them before. Thanks, much appreciated!
.tell jaffa4 because you didn't pass a :actions(...), which is required
.tell Mouq The bootstrap loop is closed on NQP on Moar now, and there's an m-bootstrap-files target. So it should be possible to do the sigspace updates for it also. :)
.tell Mouq awesome work on stdsigspace Mouq++
.tell jnthn I dunno how right or wrong this is... you'd need config/config/config, and create a stage0
.tell lue I need your github name :)
.tell lizmat just got this deprecation error: "Method gimme (from List) called at: lib/Panda/App.pm, line 54 Please use 'tc' instead." Wat?
.tell TimToady http://www.drdobbs.com/mobile/facebook-adopts-d-language/240162694
.tell stevan http://www.infoworld.com/print/228905
.tell jnthn I haz change to nqp, but I no haz push bit. halp? :) [the specific change is the removal of the "redundant \h* line" from earlier]
.tell [Coke] changed my mind. If not too late, please use grondilu instead of my real name
.tell timotimo re: slow dir (http://irclog.perlgeek.de/perl6/2013-10-17#i_7727089), see the discussion starting at http://irclog.perlgeek.de/perl6/2013-10-16#i_7719713 . Go far enough down in a slow path/filesystem operation, and you'll probably end up at canonpath, which is very slow.
.tell [Coke] that the release announcements states it is the september release in the first line...
.tell ssutch FYI: In case you don't watch emails from github, I sent you a pull request for p6-pb. More to come, I hope.
.tell LlamaRider an array with a declared type of Str only takes strings; you're probably expecting semantics more like the specced but not-yet-implemented Str() type, which would coerce to Str
.tell TimToady I guess the interesting question is which operations should do type-coercion by default (if any). In my example, @string_array.push($0) really feels like coercing to Str would be the DWIM behaviour.
.tell moritz: simply adding "is default" didn't work (Could not find sub &infix:<does>). too tired now to try doing mixins by hand
.tell moritz simply adding "is default" didn't work (Could not find sub &infix:<does>). too tired now to try doing mixins by hand
.tell jnthn Thoughts on http://irclog.perlgeek.de/perl6/2013-10-06#i_7677518 through http://irclog.perlgeek.de/perl6/2013-10-06#i_7677853 very much appreciated.
.tell jnthn In particular, I *think* much of the problem in this space can be summarized by http://irclog.perlgeek.de/perl6/2013-10-06#i_7677850 .
.tell fglock TimToady doesn't like $*OS: http://irclog.perlgeek.de/perl6/2013-09-07#i_7555053
.tell FROGGS lol @ nqp/cursless 927729b :) I like it much better than what I wanted to do; create a simple QLang for NQP with :cclass and reorganize the code in NQP and Rakudo to reflect this :p
.tell Mouq About Q-lang for nqp: I think that is stilll needed to do it right
.tell TimToady The only thing that would be what grammars are to regexes is a template engine for sprintf/pack
.tell TimToady Even when I like Template Toolkit, I really don't like that is yet another scripting language inside it: http://template-toolkit.org/docs/tutorial/Web.html#section_Generating_Static_Web_Content
.tell TimToady Would be cool if we could have a template engine where you just write perl6...
.tell timotimo Spectest run doesn't look that bad, mind that there are changes in nom that we don't have atm: https://gist.github.com/FROGGS/0acdc051d455d9766bd8
.tell jnthn I was somehow able to solve that sanity check fail by converting my pointy blocks to inner subs. The pointy blocks that manipulate the DB still work as intended though.
.tell timotimo on rakudo/parrot these tests fail too: Unexpected named parameter 'exists' passed
.tell timotimo the env test for example
.tell TimToady why does quantifier:sym<{N,M}> start with an LTM-busting {} ooc? It prevents the LTM-er from seeing "no quantifier here" and so results in that rule being called everywhere there could be a quantifier...
.tell FROGGS Ok, the over-eager 'for' bug has been rakudobugged :)
.tell [Coke] looks like too many open files is killing my irssi
.tell lizmat The remove the phaser thing is a premature opt. I've only been saying as much for the last week. :(
.tell lizmat Not to mention that working to make *deprecated* things faster feels odd. The point is for people to stop using them; "they're an iota slower 'cus of the deprecation warning" is a motivator to stop using 'em.
.tell BenGoldberg This issue might need to go to RT (via rakudobug@perl.org) https://github.com/rakudo/star/issues/31
.tell moritz I've been around + check the IR Clogs, I'm just busy with school and cross country
.tell jnthn S06-other/main-usage still fails on rakudo@parrot on my linux box using TEST_JOBS=4, and an earlier test killed my windows7 running in a virtualbox vm
.tell jnthn when this murderer-test runs, I almost can't move the mouse (I can move it physically, yes (haha!) but the cursor, well, you know)
.tell TimToady the .getc is just a NYI yet; it's in my list of failing tests to triage already
.tell [Coke] thanks for looking into it, but no luck. It fails with: http://sprunge.us/fVAH. I'm unfamiliar with the build process, but I thought that invoking '--gen-parrot' would automaticall build nqp too.
.tell colomon If you're interested in a mathy one on JVM, see the rakudo.jvm fudge in rounders.t :)
.tell [Coke] the method2sub branch started using .can in SLICE_MORE in Any.pm, maybe .can is borked on jakudo ?
.tell jnthn Grammar::Debugger seems to be completely broken. :(
.tell jnthn tried to make is DEPRECATED do something sensible, but got stuck in strange error: https://gist.github.com/lizmat/6675289
.tell jnthn I guess it's too early in the core setting somehow
.tell lizmat I can see the argument for exists_key/exists_pos; otoh I really don't feel like breaking all the code out there using .exists... Of course, can always have both :P
.tell lizmat I think from reading other backlog you figured the hangs; lemme know if not
.tell jnthn Also, I don't think Trigometric is a word. (Slide 173)
.tell jnthn in method2sub, my @a; @a[1..*] hangs because, most likely, the whatever cannot see the .elems of the object anymore
.tell jnthn please have a look at the method2sub branch and tell me why this makes perl6 -e '\01' hang on parakudo and eat all memory
.tell JimmyZ Thank you very much! :)
.tell JimmyZ Here's the result of branching and making a pull request: https://github.com/BenGoldberg1/libtommath/commit/49642b6dbb2d86cf3f1e93f501faad17bdf8c31a
.tell jnthn the fact that we can't make a generic 'at' instead of .at_key and .at_pos (because an object might do both)
.tell jnthn doesn't that mean that we should separate .exists into .exists_key / .exists_pos as well
.tell jnthn and .delete into .delete_key and .delete_pos ?
.tell masak would you consider mergint awesome_bindattr before cutting the release today?
.tell jnthn why is NQPRegex defined twice? (as a knowhow in the setting, and as a class in the regex lib)
.tell pmurias I'm just using a shotgun here. Feel Free to fix any of my stupids. (esp in re: the _I variants which I know are wrong)
.tell pmurias - slight reorg to your document, pushing ops down to h2s.
.tell jnthn when I set %*LANG<Perl5> is explodes due to reblessing the CURSOR in token statement like: "P6opaque only supports type changes where the MRO of the original type is a suffix of the MRO of the new type"
.tell FROGGS that looks more like a job for an is parsed macro.
.tell Mouq Yes, according to S05:45 niecza is corret and rakudo incorrect on http://irclog.perlgeek.de/perl6/2013-09-15#i_7590246
.tell FROGGS "Message for you, sir!"
.tell jnthn http://act.useperl.at/apw2013/main # Registration open
.tell lizmat I'm kind of dressed like a bald priest.
.tell Ulti MacPorts does not build as root and can't write outside the build area
.tell jnthn is assoc<list> works, but not in settings :-(
.tell lizmat The attr-param-role-fix branch should fix the bug; it needs spectesting and a spectest adding to cover it, but I don't have time right now as I gotta go to GBG...if you've time, feel free to look at it :)
.tell masak please don't do anything mathematically interesting like p6cc2011::t4 again. My mind is mulling it over *again*.
.tell masak :)
.tell donaldh if you can, please fill out and submit http://www.perlfoundation.org/contributor_license_agreement (it's a prerequisite for getting a rakudo commit bit)
.tell pmurias MARKER and MARKED log a position under a key, then allow it to be checked against the current position later. If you can compile the methods, they should Just Work (that is, in JVM and MoarVM ports, I didn't have to treat them specially)
.tell jnthn Are the changes to ACCEPTS alright? moarvm doesn't like it: https://github.com/perl6/nqp/commit/0f1be31feeeaf43ee4e77d11f57306001b7c93f1#L3L821
.tell jnthn So this was needed, and might hurt us later: https://github.com/MoarVM/MoarVM/commit/7dfbabf794
.tell Mouq tr/a..c/A..C/ parsefails on rakudo; want to investigate?
.tell lizmat S02-names/is_default.rakudo.jvm aborted 114 test(s)
.tell [Coke]: I have no idea: 114 is *all* tests. on parakudo it says: Files=1, Tests=114, 3 wallclock secs ( 0.03 usr 0.00 sys + 2.75 cusr 0.17 csys = 2.95 CPU)
.tell [Coke] I have no idea: 114 is *all* tests. on parakudo it says: Files=1, Tests=114, 3 wallclock secs ( 0.03 usr 0.00 sys + 2.75 cusr 0.17 csys = 2.95 CPU)
.tell masak this is the evil: parrot/src/io/io_private.h:120:#define PIO_BUFFER_MIN_SIZE 2048 /* Smallest size for a block buffer */
.tell maska hmmm, maybe not, but it has an effect ...
.tell masak unexpected in rakudo: say so "a" x 1_0 ~~ /a ** 1_0/ says False
.tell donaldh does ./perl6 work on windows at all? https://github.com/perl6/roast/commit/c5c0a6879f
.tell pmurias yes, I have
.tell diakopter pvip isn't quite running perl6, from what I can tell. "./pvip -e "say 3"", e.g. outputs:
.tell diakopter (statements (funcall (ident "say") (args (int 3))))
.tell Mouq What if <unsp> unspaces more than one char? It could unspace \s+, wouldn't that be better?
.tell TimToady What if <unsp> unspaces more than one char? It could unspace \s+, wouldn't that be better?
.tell [Coke] that FRA is about 15 minutes from central Frankfurt by train, and HNH is 124km away by road.
.tell [Coke] FRA and yes
.tell [Coke] no need to worry about accommodation
.tell jnthn also, if implicit method new is a no-op wrapper around .bless, we can probably just poke the .bless routine in under the name of .new to call it directly
.tell timotimo I've pulled and pushed all your changes to perl6-bench, and made a few minor tweaks on top of them (plus one spot where you appear to have accidentally made the perl6 version algorithmically different). One remaining question: Why the different handling of capture {} and the segfault check between the two halves of timeall:time_command()?
.tell timotimo (... made the perl6 version of one microbenchmark ...)
.tell timotimo I meant, why do you use capture { eval system ... } in one place, and just capture { system ... } in the other place, and why do you check both out and err for segfault messages in one place, but only one of those in the other?
.tell popl a good test for a UTF-8 terminal is perl -Mcharnames=:full -CS -wle 'print "\N{EURO SIGN}"'
.tell colomon Only one nqp::sprintf / Hash.fmt issue left: https://github.com/perl6/roast/blob/master/integration/advent2009-day02.t#L23
.tell jnthn I thikn we need to move the entire threading support to nqp, because the scheduler needs to start earlier and all actual code need to move to one of the scheduled threads, otherwise we won't be able to switch context in the main thread
.tell timotimo I'm merging your JVM changes to perl6-bench (plus updating to the latest rakudo-jvm build instructions) in my local tree, but the testing is taking a while. After I push just that, I'll start looking through your other improvements.
.tell jnthn trying to fix "is default" trait mod with $what.^mro.first( { !nqp::p6bool(.HOW.is_mixin($_)) } ), does not work :-(
.tell lizmat scalar-from-desc branch is ready for triage :)
.tell lizmat Think scalar-from-desc is good to merge now; will let you give it a look/spectest also
.tell sorear please see http://irclog.perlgeek.de/perl6/2013-08-18#i_7467343
.tell lizmat please read http://irclog.perlgeek.de/perl6/2013-08-17#i_7462070
.tell pmurias I noticed I was highlighted re: startup time issues with perl6-bench -- Thanks to pmichaud++, perl6-bench goes through some pains to determine both the global *interpreter/VM* startup time, measured by running an empty program many times, and *compile/init* startup time for each scalable test individually, measured by running the test at SCALE=0, as timotimo says. This resulted in much more reliable and comparable results.
.tell jnthn For a regex like / a | b | c /, we could evaluate the three branches in parallel, right? I think this could speed-up parsing a lot...
.tell pmichaud happy birthday
.tell jnthn I tried to use a custom ModuleLoader for v5, but something with the context went wrong so that I'm unable to `require` a script and use its subs via indirect lookup
.tell jnthn so I still need to "hack" rakudo... https://github.com/rakudo-p5/v5/blob/master/rakudo.patch
.tell lizmat the Jugendherberge in frankfurt has no vacancies left ó.ò
.tell celesta if you would write your compiler in nqp, yuo would have parrot, JVM and MoarVM as backends...
.tell diakopter Oop, I didn't see that you had offered to and did add me. Thank you!
.tell diakopter if you can't stand the heat, don't go into the kitchen!
.tell TimToady should the name of a slang be lowercase in general? like in use A:from<perl5>, use B:from<java>, eval( "\ \s\
", :lang<bf> ) ? I think the name of the slang is about the language, not the interpreter/binary, and should there be like Perl5, Java, C, ...
.tell yoleaux I'd sure like to get my hands on IRC bot technology clever enough to read its messages.
.tell masak yoleaux will tell you now
.tell colomon I started integrating Set/Bag changes from Niecza, but am now blocking on naming special operators like ⊆,∈,∋,∪ to texan. Suggestions?
.tell ruoso the next/last handlers for while loop are emitted as part of code generation, that is a QAST::Op while (and until, repeat_while and repeat_until) gets them "for free". MapIter handles them for for loops and contains a Parrot-specific version as well as a generic version of the looping code that JVM uses.
.tell moritz please check df814a2, it was needed to fix many spectests, but fear it is not the solution you had in mind
.tell Mouq ah, okay. good to know. thanks for doing that! :)
.tell jnthn spectests are clean on https://github.com/rakudo/rakudo/commit/f8e970b1b9 , I can hardly believe it
.tell colomon I've reimplement classify/categorize and wonder how your code would be faring with these versions
.tell moritz 50% of the $*W & $/ problem solved
.tell moritz: wrt to $*W and $/ in Perl6 world: maybe we should add $*W and $/ to the trait mod signature?
.tell moritz wrt to $*W and $/ in Perl6 world: maybe we should add $*W and $/ to the trait mod signature?
.tell jnthn … if gather / take on long lists is a problem, is it also affecting lines()?
.tell crab2313 this might fix your issue: https://github.com/MoarVM/MoarVM/commit/351339dfdc
.tell jnthn: after nuking nqp/parrot and install dir and rebuilding from that, I still get a segfault when building RESTRICTED.setting
.tell jnthn after nuking nqp/parrot and install dir and rebuilding from that, I still get a segfault when building RESTRICTED.setting
.tell jnthn seems to be changes in nqp that cause this, rolling back last 2 commits in nom doesn't fix the problem
.tell grondilu Rakudo assumes UTF-8 as default encoding. Having another Unicode encoding in your environment isn't good enough.
.tell lizmat These days Nil is considered the best way to indicate "missing information"
.tell jnthn If the two sides are semantically different (utf8 vs buf8), it should fail; if they're merely unit-sized differently (blob8 vs blob16) ops like ~ still fail but integer-based ops like ~& are allowed ot upgrade both sides to 16 bits
.tell jnthn "my Buf $a = "asdf".encode" fails with "Type check failed in assignment to '$a'; expected 'Buf' but got 'utf8'"
.tell jnthn "my Buf $a = "asdf".encode" fails with "Type check failed in assignment to '$a'; expected 'Buf' but got 'utf8'"
.tell jnthn faliing IO tests in rebug branch: https://gist.github.com/lizmat/6050073
.tell jnthn: it feels to me that in some cases List.infinite is being called on a Iterable object
.tell jnthn it feels to me that in some cases List.infinite is being called on a Iterable object
.tell jnthn when judging by the code, it should call Iterablle.infinite
.tell jnthn could this have to do with the fact that Iterable.infinite returns Mu ?
.tell FROGGS http://www.hanselman.com/blog/MakingABetterSomewhatPrettierButDefinitelyMoreFunctionalWindowsCommandLine.aspx
.tell yoleaux gtfo
.tell raiph here you go :D
.tell jnthn Your problems are because you're initializing the JVM interop module in the setting blocks, which means it initializes on every run. Because the JVM interop leaks memory (this can be fixed) and is slow to start (this probably can't), I'd really rather we didn't start it every time the setting loads
.tell jnthn We should either have the threads stuff do initialize-on-first-use, or evict it to a module which is loaded only when needed
.tell sorear well, how was I to know the interop engine was too inefficient to bind a few types at startup :/
.tell sorear I've done initialize on first use, hopefully it helps.
.tell mst http://perlcabal.org/syn/S02.html#Slangs
.tell masak When you get a chance, could you take a look at my CSV pull request?
.tell jnthn https://gist.github.com/sorear/5947073 # collected thoughts on Rakudo JVM interop sugar (not discussing strictly internal implementation details, only user-visible aspects)
.tell raiph I have no context
.tell colomon here's a bug for you: https://gist.github.com/coke/5948500
.tell raiph promoted to cult leader, eh?
.tell augustus example of grammar dynamically building grammar: http://rosettacode.org/wiki/Parse_EBNF#Perl_6
.tell colomon https://github.com/perl6/nqp/commit/98e5e6ad10
.tell colomon Let me know what you'd like to see examples of in there.
.tell jnthn $global_install probably needs to be dealt with in your thread safety pass
.tell sorear I'm not seeing any Rakudo regressions
.tell sorear for ^64 X ^64 -> $i, $j { $i + $j } seems to generate a stack overflow, even though METAOP_CROSS (src/core/metaops.pm) is using an iterative, not recursive, algorithm. Could it be something with gather/take?
.tell sorear it does appear to be a huge number of the block that does nqp::continuationinvoke piled up on the stack, having dug a little further.
.tell masak I suspect it's some form of http://en.wikipedia.org/wiki/Anterograde_amnesia
.tell raiph I have never heard of a perl6 implementation without 100% lazy gather/take. Your questions are weird.
.tell sorear I'm being harassed about P6. Fwiw I meant strictly lazy (100%) vs mostly lazy (batched).
.tell jnthn I think the problem is that the default default is not set in the ContainerDescription
.tell jnthn in Actions.nqp, between lines 1943 and 1951 we need to add a default_value key to %cont_info, but I have no idea where to get that from :-(
.tell jnthn scratch that last one: container_type_info is doing that already
.tell jnthn fperrad has confirmed that "My future goal is to add a TvmJIT backend to https://github.com/perl6/nqp/"
.tell jnthn TvmJIT being more or less LuaJIT (but with s-expression syntax)
.tell TimToady if we're going to put Nil outside of Any, things like this will break, as they now break with Mu: my $a; say $a === Mu
.tell lizmat If we put Nil outside of Any, we probably need a .is-nill primitive, or some way of training people to use =:= when they try to use ===
.tell lizmat A STD.pm6 commit message of "Same change as in rakudo" is not very informative when I do 'git log' :P
.tell lizmat The biggest practical difference between Mu and Nil is that Mu.ACCEPTS($x) is always true, and Nil.ACCEPTS($x) is always false
.tell masak I am working on v5's pack/unpack right now, we obviously need the intsize there too... I am thinking of providing %Config<intsize>, which defaults to 4, and can be overridden by setting %Config and by the precision argument to sprintf
.tell masak I'm not sure if this can be passed to the "i" (un)pack token somehow
.tell masak Hey, any interest in adding a csv-file-write routine to Text::CSV? See https://gist.github.com/thundergnat/5891406 Could do a pull request (with appropriate testing) if interested.
.tell sorear sounds fajn
.tell masak did you see http://www.youtube.com/watch?v=oo-gA9Z9SaA
.tell sorear your voice is there
.tell daxim ho hum.
.tell raiph learn to write better copy - http://www.useit.com/articles/inverted-pyramids-in-cyberspace/ - in long texts, put the conclusions first
.tell jntһn this is madness too
.tell this is madness as well
.tell sorear PASS ALL THE SANITY TESTS! \o/
.tell jnthn nqp-moar-cc.nqp:68 and MASTTesting.nqp:11 seem to be using a Windows specific command (the same one) without some OS-based conditional, leading to "sh: del: command not found" occurring in temp.output
.tell jnthn I'm still able to use nqp-moar-cc.nqp though, so it doesn't seem to immediately break things, at least to me.
.tell diakopter again, they are hard, like surgery is hard, but it is doable
.tell jnthn so uh.. does take have to be a control exception? because supporting continuation operations within an exception handler = </3. also I'm not immediately seeing how to catch the take exception
.tell jnthn observation: Perl6/Grammar.class has nearly 100x as many bytes of serialized objects as Perl6/Actions.class. Possibly worth looking into?
.tell jnthn Mission accomplished! https://github.com/sorear/rakudo/commit/ec48e7 # I'd like to know if I can do without p6handletake
.tell timotimo_: class Dog { has Str $.mouth; has Str $.tail; }; my Str ( :$mouth, :$tail ) := Dog.new( :mouth<drooly>, :tail<fluffy> ); say $mouth; say $tail;
.tell timotimo_ class Dog { has Str $.mouth; has Str $.tail; }; my Str ( :$mouth, :$tail ) := Dog.new( :mouth<drooly>, :tail<fluffy> ); say $mouth; say $tail;
.tell jnthn (I'm trying to make something Dancer-like called Capoeira that generates a grammar (to do the routing) from the paths, and uses singature introspection in the actions to bind the placeholders to the signature of the response Callable)
.tell jnthn I'm not sure I understand this __6MODEL_CORE__ bootstrap SC stuff... why aren't the bootstrap CodeRefs included in it?
.tell pmichaud Maybe it is an idea to have a 2nd optional parameter to .classify|.categorize to indicate the hash to classify/categorize into?
.tell lizmat creating typed hashes via Hash[TVal,TKey].new now works.
.tell jnthn FYI, I wrote a couple of comments about auto-close
.tell FROGGS Mmm, a trait-based version of futures might be interesting with a syntax more like: my Int $answer is async( calculate_from( <life universe everything> ) )
.tell Froggs (thunking the inside of the async trait_mod, of course, which would make it the kind of thing hygenic macros could implement)
.tell eternaleye I was thinking more like: my Int $answer is async = calculate_from( <life universe everything> ) or my Int $answer = async calculate_from( <life universe everything> )
.tell sorear (conditional) partly that but also because the stack must be empty around a try/catch, which may also occur inside different branches of the conditional.
.tell sorear The lack of spilling in nqp::chain appears to be an oversight on my part. It should spill.
.tell sorear noa = "no optional arguments". It is possible to pass extra arguments to an indy bootstrap method. But I ran into a JVM bug when doing this. :( So went back to just passing those things on the stack...and trusting the JIT to be smart enough (which it probably is...)
.tell sorear PushSelf confused me at first; I thought of Perl 6 "self", e.g. that it was pushing "this". Seems it pushes the handle of the current method...maybe there's a better name. JAST::PushCurMeth perhaps...
.tell sorear I'd initially planned to have one exception handler catching the save state exception per qb_NNN method, rather than one per call. That woulda involved keeping a local tracking the save index (updating it just before each call), probably giving smaller code (or at least, smaller exception tables). Maybe it breaks even on performance, though...hard to guess.
.tell eternaleye Future[Int] is a type, for me a proper p6ification would be a trait
.tell jnthn where I stand so far: https://gist.github.com/sorear/5747025
.tell brrt frankly, I think those project types are actually superhuman, at least in the attention to detail and skill and training required, if not actual code size
.tell sorear the proposal looks good. Concern is mostly naming of the nqp:: ops. Unfortuantely, a name with "cont" puns badly with ops like nqp::iscont (which refers to containers).
.tell sorear given these ops are probably only used in a handful of places, we could just spell out "continuation" in the name; it's huffmanly OK to do that.
.tell sorear lexotic gather/take will need to be supported at some point, though Rakudo doesn't do that yet today so if we don't have it from the start it's not a regression compared to Rakudo on Parrot.
.tell [Coke] Try this: < masak> nwc10: http://tinyurl.com/notestneeded
.tell FROGGS Sorry for taking so long, but futures and promises can be thought of as 'handles' to asynchronous computation. In C++, for instance, a future is a container-ish-thing, which you get the value from like joining a thread, and the default implementation is done with a thread pool.
.tell FROGGS Examples: http://www.justsoftwaresolutions.co.uk/threading/multithreading-in-c++0x-part-8-futures-and-promises.html
.tell FROGGS rough p6ification: Future[Int] answer = async do_foo(); other_stuff(); say answer.get() # Returns Int
.tell FROGGS I read this as "async do_foo will give me an Int in the Future. In the meantime, I'll do other_stuff, then wait until I get the answer"
.tell FROGGS Actually, a parameterized Future role as the return value of async might work pretty well.
.tell FROGGS no, that doesn't look familiar...
.tell frogs ll exception gives me 💈 ./perl6 --ll-exception -e 'use v6;'
.tell FROGGS ll-exception gives me : https://gist.github.com/coke/5721191
.tell sorear well, given it actually boils down to nqp:: ops and all NativeCall does is provide nice sugar, you could do native calls in CORE.setting through those already. But I'm pretty sure I don't want us to be doing that...
.tell [Coke] I can imagine that this fails: https://github.com/rakudo/rakudo/blob/jvm-support/src/Perl6/Actions.nqp#L4924
.tell [Coke] maybe you add a debug line right after that to check if $v has something in it
.tell masak this one was written for you, I believe: http://www.redblobgames.com/grids/hexagons/
.tell sergot_ Please rewrite your crontab so that when the load average is 25 and single perl6 jobs take hours, you don't start MORE JOBS
.tell jnthn that there is already a fix for .exists on typed hashes: it's called https://github.com/rakudo/rakudo/pull/147
.tell lizmat_ I wonder if the Mu \key shouldn't be TKey \key
.tell jnthn I did the suggested change and it spectested ok. I also removed the ::?CLASS:D: as the other methods taking a key didn't have that either
.tell labster that the fail goes away if I comment out a single line of the test file >.<
.tell moritz: I'm not sure how those changes got mixed in: I did do the git reset --hard origin/nom after creating the new branch
.tell moritz I'm not sure how those changes got mixed in: I did do the git reset --hard origin/nom after creating the new branch
.tell jnthn that the spectest worked out ok, so that his patches fixed the autoviv pb on typed hashes
.tell sorear "git reset --hard orgin/master" gave "fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree."
.tell donaldh you might find this interesting: http://irclog.perlgeek.de/perl6/2013-05-17#i_7082019
.tell moritz: your solution worked, and indeed :delete has a similar issue
.tell moritz your solution worked, and indeed :delete has a similar issue
.tell donaldh the runner seems to work fine on Windows
.tell au we found the real disk hog, no rush to clean up.
.tell moritz I *love* the collapsed join/part msgs; nice!
.tell au - so far, you have the biggest directory on feather and we're tight on space. Anything you can clean up?
.tell TimToady - can we get a ruling on https://rt.perl.org/rt3/Ticket/Display.html?id=93978 and https://rt.perl.org/rt3/Ticket/Display.html?id=77146 so I don't have to migrate the ticketds?
.tell masak please respond on https://rt.perl.org/rt3/Ticket/Display.html?id=78316
.tell grondilu re your text matrix->hash of hashes gist: https://gist.github.com/Ayiko/5547016 (yes I'm late)
.tell pmichaud like this, maybe?
.tell lizmat (Hash2.new multimethod fail) the problem appears to be that Rakudo's Hash.new method isn't declared 'multi'.
.tell donaldh thanks for the PR; I need to tweak it a bit before I can apply it, as it seems spaces instead of tabs got into the Makefile and the .bat needs updating as well as the .sh runner. Otherwise seems fine...will get to it tomorrow
.tell jnthn beware: I want to talk about the 'underlying problem' with you *g*
.tell jnthn I'm not seeing how transposing "EXPORTHOW::<grammar> = TracedGrammarHOW;" to overriding "Mu::new" lexically would work
.tell jnthn I found S12:2516 about Custom Meta-Objects
.tell jnthn YOLO
.tell lizmat you want to subclass ClassHOW, I expect. You then write a role with the new functionality you want in, and then arrange for it to be mixed in to every class automatically (easiest is probably method compose($obj) { self.add_role($obj, YourRolewithNewIn); nextsame; }
.tell adu I might can tell you about how to switch to a different slang...
.tell jnthn I get an error building rakudo/jvm-support on an installed nqp/rak-jvm-support. cannot find symbol public static SixModelObject booleanize(int x) { ...
.tell tadzik yes, I'm changing IO::Path stringification, but it hasn't caused any test failures for Shell::Command
.tell moritz yes, that makes the failure go away, but it seems to sweep it under the rug. If that behavior is really platform dependant, it shouldn't be in roast, and if it's not, we should open a ticket.
.tell jnthn Don't forget to change the README for rakudo, so people know that the jvm is now supported :)
.tell timotimo re: http://irclog.perlgeek.de/perl6/2013-04-22#i_6733138 you might be able to co-opt some of the logic perl6-bench uses to build multiple versions of each compiler. It puts special effort into keeping only *one* network-updated clone of each repo (rakudo, nqp, parrot, etc.), and doing carefully-handled local clones to make it really fast to create and build a new, independent rakudo that can coexist with the others.
.tell daxim re: http://irclog.perlgeek.de/perl6/2013-04-19#i_6723489 , it's strange that when you mouse over a small glyph image, it zooms without improving resolution (I end up looking at a blur of large pixels). Otherwise, very nice indeed.
.tell labster Sorry that I broke "my own" module... Havn't thought of it.... glad you fixed it though. labster++
.tell timotimo I think the changes in QAST::Compiler about $ops.push might be wrong, because it a PIRT::Ops and might really have that method... (have a look at QAST::Operations #295)
.tell isBEKaml done. resurrected the coe (sort of) from b.
.tell isBEKaml *code
.tell supernovus i didn't see llamarider commit any TZ changes
.tell lue there's a pull request for Lingua--EN--Numbers--Ordinal
.tell masak https://github.com/masak/csv has test failures
.tell [Coke] your patch didn't work - I'll investigate some more before I crash tonight.
.tell jnthn never mind my last remark, I can't even reproduce that anymore. :(
.tell [Coke] feel free to take up that ACCEPTS thing. I don't think I'll be able to do it tonight.
.tell isBEKaml roger, will look this evening.
.tell BenGoldberg I am aware that File::Spec::Case sucks, but compared to the Perl 5 version which is always wrong on my computer, it's still an improvement. One of the main reasons I wanted to yank it out of File::Spec is because it's little-used and broken.
.tell sorear I beat you to it :-)
.tell tangentstorm Since it looks like no one responded -- yes, it's intended that you can treat a file as both a module and a program. MAIN should only be called when the file is being run as the top-level program, so you can define a MAIN in your module to allow it to do something useful when run directly.
.tell jnthn that I can "require PATH" now (pushed), but can't import subs
.tell jnthn I've got this patch locally applied, test file is there too: https://gist.github.com/FROGGS/a9ef1432e1f9d37e9770
.tell jnthn won't write tests now, but will go deeper into the rabbit hole
.tell lizmat that v5's spectest fudging works now, FROGGS the prat had local changes to the fudge script and hasn't seen it because of about hundred changed testfiles -.-
.tell lizmat you need to update nqp/rakudo to make it work though (jnthn is refactoring stuff, and I needed to pull in his changes)
.tell jnthn yes.
.tell japhb it's not so simple as nqp::usecapture 'cus it hllize's arguments and handles natives too. I suspect it may stay as an op and we just implement it in the set of extra ops we'll add for JVM, so it'll get an nqp::p6arglist op or so (should not say RPA in nqp:: op names).
.tell japhb CCLASS_PRINTING being missing is just an oversight; should be converted too
.tell japhb other things may use Q:PIR and pir:: outside of Rakudo, so that can live a bit longer, but we may want to make it require a pragma and spend a while warning if the pragma ain't there.
.tell timotimo Here's the actual error message from the failing copy operation: Failed to copy '/home/geoff/git/panda/ext/File__Tools/README' to '/home/geoff/git/rakudo/install/lib/parrot/5.2.0-devel/languages/perl6/site/panda/src/File__Tools/README': No such method 'copy' for invocant of type 'OS'
.tell timotimo (You'll only see that error if you work around the fail/for/sink bug by putting something after the copy operation in the loop near the end of .../panda/lib/Panda/Fetcher.pm ($_.IO.copy("$where/{$_.name}"); )
.tell kresike thanks for all the "happy"s. :-)
.tell masak, 1600-2000 hrs UTC sounds alright to me, though I'm not sure I can last the entire session. Thanks for doing the workshop!
.tell pmurias: 'use v5' itself is not a problem, but after doing it, the Perl6::Grammar.statement rule is still the active one, _that_ is a problem because it means a slang cant have its own statement rule
.tell pmurias 'use v5' itself is not a problem, but after doing it, the Perl6::Grammar.statement rule is still the active one, _that_ is a problem because it means a slang cant have its own statement rule
.tell japhb dunno: r: say «««»»».DUMP
.tell diakopter same problem I'm dealing with re: DUMP(\()) -- it works its way down to a Hash, and then recurses infinitely. I'm betting a Parrot or NQP Hash is getting wrapped in a Perl 6 Hash somehow, and it when it tries to examine the Perl 6 Hash's $!storage and $!descriptor ... 10 GOTO 10.
.tell diakopter Maybe this way?
.tell FROGGS Hi!
.tell Coke hi.
.tell [Coke] hi.
.tell TimToady welcome back! :) \o/
.tell diakopter foo
.tell dpk nice name
.tell masak https://github.com/masak/zarah/blob/master/zarah.pl#L1069 - it should be m[\A/me\s+(.*)]
.tell sirrobert or * + * for the anonymous function you want
.tell lizmat_ I found the culprit of my 'Can not invoke this object! 'PROCESS::' is null in the deserialized closure, this "BEGIN { temp PROCESS::; -> { note } }();" works.
.tell jnthn: I suggest disabling the JIT by default on the reframe branch
.tell skids ec52cce does indeed seem to have fixed RT #126527
.tell jnthn it looks like I can have a "multi foo" in a role in the settings without having to specify a proto (see 2a20197)
.tell jnthn it works, I'm just surprised that it can and if it points to some kind of bug lurking somewhere
.tell jnthn is there reason why we don't have a nqp::splice_i/n/s ?
.tell jnthn reason I'm asking is that using nqp::splice in inarray.STORE(int @a) is 2x as slow as using a handmade loop with bindpos_i
.tell timotimo you can't do arithmetic with void pointers legally
.tell Zoffix that the usual way is to look at the JIT log and find the 'bail' entry corresponding to the JIT log of that frame
.tell lizmat p6firstflag has no thread-related handling, though for the sake of hyper/race we should only really be setting it in one thread anyway, I'd think
.tell timotimo yo. Teach a man to fish. How do I unbust the coverage branch when new ops are added?
.tell jnthn how threadsafe is nqp::p6firstflag ?
.tell timotimo d=… thingy is done. See https://github.com/perl6/whateverable/wiki/Bloatable
.tell MasterDuke I'm not getting any SIGABORTS in t/spec/S17-supply/supplier-preserving.t. You haven't forgotten to turn off --full-cleanup by any chance?
.tell jnthn the intermittent test failure in t/spec/S17-supply/supplier-preserving.t can be removed by placing a short 'sleep' before the closing of the channel. Dunno if that's the right way to fix it though.
.tell jnthn the bug found yesterday, invalid reads, was promptly fixed by timotimo++. I believe it only affected 32 bit systems.
.tell jnthn re https://gist.github.com/jnthn/6a80a9712fb38b32537f9f0e46fca6d7 , it occurred to me by adding a maximum size option to ConcBlockingQueue (so it will block when trying to push when it's full) would also automatically give Channels backpressure
.tell jnthn I left some comments with https://gist.github.com/lizmat/b76e88519b74667c8433190941bb6e6a
.tell jnthn a new gist: https://gist.github.com/lizmat/1c80d2210aeb4239810d7818fca7e575
.tell jnthn this version created R:It.(Hyper|Race)Actions iterators, that take a list of method => capture pairs to execute: so no special casing needed anymore
.tell jnthn from where I sit, we only need to fix the syntactic sugar for transforming .hyper.map(foo).grep(bar) to R:It.HyperActions( , (map => \(foo), grep => \(bar) )
.tell jnthn some comments here https://irclog.perlgeek.de/moarvm/2017-03-17#i_14279344 if they get lost in your backscroll
.tell samcv it appears using nqp::getstrfromname in Rakudo broke the JVM build: Stage jast : Error while compiling op getstrfromname (source text: "nqp::getstrfromname(nqp::atpos(names, $i).trim)"), no registered operation handler
.tell samcv fyi, heaptrack says MVM_unicode_name_to_property_code is leaking with the code i was testing with: `my ($x,$y,$i) = (0,1,1); while ($i < 200000) {$y += $x ; $x = $y - $x ; $i += 1 } ; say $y;`
.tell MasterDuke_ it's a one day job
.tell brrt fyi, if you're interested in the JIT bug, there's a bunch of discussion here: https://irclog.perlgeek.de/moarvm/2017-03-03#i_14196620
.tell brokenchicken the test would involve creating directories with invalid names...what if one would not be able to delete these? # RT#127671
.tell puddu we can have a reasoned argument about whether synchronicity 'sucks' or not. fwiw, it was just a realizaiton on my part how limiting and arbitrary synchronicity really is
.tell jnthn i applied nine's patch and then changed the conditional to `if (bits > 63 || (!sign && bits == 63)) {`, but that broke a bunch of tests. i looked at some of the breaking tests in S02-types/int-uint.t and they seemed a little suspect, but this is really pushing the boundaries of stuff i'm confident in
.tell jnthn i then got distracted by the spesh bug i/Zoffix++ found with EVAL and div, so i'm not sure i'll come up with a solution anytime soon
.tell jnthn fyi, spesh/eval/div discussion starts around here https://irclog.perlgeek.de/perl6-dev/2017-02-26#i_14168641
.tell bttr UNIX is not optimized for 2017? What if all syscalls would be synchronous a part of one, clone, which is also synchronous but let you implement all kind of multiprocessing you want?
.tell IOninja The advance notice looks sensible overall. I think we'll need to evaluate the changes for impact on a case-by-case basis, and preferably - like we did with lexical module loading - try the out against ecosystem modules to understand their impact "in the wild".
.tell IOninja The link argument order change I think we need to be cautious on, in so far as I fear that we could turn running code into something that causes data loss. Wouldn't the failure mode be replacing the target to link to with a link to nowhere? So may want to explore alternatives there.
.tell dogbert17 I'm told you like hunting SEGVs: https://irclog.perlgeek.de/perl6/2017-02-24#i_14155509
.tell samcv that yes, to correctly step in a C-language program, you need to compile with --optimize=0
.tell jnthn well, after some distractions, i'm currently trying to get Parameter.named_names to be useful. i can't `for @!named_names { }`, which isn't surprising, but i also can't `my $i := nqp::iterator(@!named_names); while $iter { nqp::shift_s($iter)) }`, which is
.tell jnthn i'm probably just not thinking because it's late, with that i'm off...
.tell MasterDuke Just use nqp::elems and loop over indices
.tell timotimo that get_label_for_obj is the mechanism I've used to assign a label to data objects (to pointers, really)
.tell TimToady %?LANG is there for the sake of EVAL. I consider this as just another example of what we see in `EVAL 'say $x'; my $x = 42` - that is, by runtime certain things exist at block-level, even if the compiler had a finer-grained view of them earlier.
.tell japhb that probably happened because you are not added to the rt list or something. send an email to That one was waiting in human moderation because you're not subscribed to the list. email perlbug-admin@perl.org and they can add you
.tell japhb otherwise takes human moderation for it to go through
.tell jnthn what also leaks (at least indirectly) is the memory for the extension ops in the JIT
.tell jnthn the solution for that (and a bunch of other things) is to have a data segment and stash the extension ops memory there, which is something i've been meaning to implement
.tell nine, no, we don't use that information currrently
.tell brrt so as we're talking about a JIT, do you actually have some information about runtime behavior accessible in the register allocator? I.e. does it have an idea how often loops may run?
.tell brrt I'd attack whatever is keeping others from contributing to the exprejit
.tell jnthn I think the tests in t/spec/S12-construction/destruction.t are bogus in such a way that we can never reliably test it
.tell bartolin got it, pinged on 6-dev, someone will add you shortly.
.tell jnthn rewrite is gonna be great. to access the binary properties all you will need mybitfield[10].NFG_QC
.tell samcv keep in mind that bitfield structs will still be 4 bytes wide at least
.tell japhb there are some things left before i can call the register allocator 'fully functional'
.tell japhb specifically, i need to test handling PHI resolution, and i need to implement the magic that does call argument setup, preferably in a cross-platform way
.tell jnthn Mandatory reviews are not only good for QA but also help distributing knowledge around the team and grooming new developers. They might help MoarVM becoming less dependent on you.
.tell jnthn so i found the code for qt's ascii and utf-8 decoder https://code.woboq.org/qt5/qtbase/src/corelib/codecs/qutfcodec.cpp.html
.tell jnthn Oh man, that's even weirder than I expected. Thank you for the bug hunting. :-)
.tell jnthn Excellent bug destruction! I'll rebuild and confirm on my side later, but very happy to hear a golfed version is now in roast.
.tell brrt Google's philosophy is that baseline SWE (SoftWare Engineer) requirements are the same across all subdisciplines, and then some jobs require additional skills. But baseline SWE is expected to have algorithms experience, solid coding in at least one language, architectural design skills, and so forth. Which is why it takes most of a day to interview for it -- and then why we do phone pre-interviews first. :-)
.tell jnthn have a question about synthetic codepoints. How are they generated, deterministically? we will need to have synthetic graphemes for things like Emoji and such, can be like 5 or 6 codepoints for one grapheme
.tell samcv About test-gen.p6 it was iirc written before some fairly major changes (including the Great List Refactor), and it's entirely possible the generator script is busted as a result. It was run against UCD 8.0 originally, so certainly produced passing tests against that. So I suggest "use UCD 8.0 and fix it to prdouce the same output first" would be one way to go.
.tell samcv Will try and catch up with your MoarVM PR and other Unicode bits that may want my input soon too; getting some much-needed rest these last days. :-)
.tell notviki Depends which optimizer you're talking about. If the Perl6::Optimizer than that is really nothing more than a tree re-writer - it walks the QAST tree recursively, remembers various things, and uses them to guide transformations. If spesh in MoarVM, some reading on basic blocks and SSA form (what it is more than how to compute it) will stand you in a good place to read graph.h - the data structure that all spesh hangs off.
.tell jnthn as a datapoint: t/spec/S11-modules/nested.t very occasionally flaps (no tests seen) for me (like less then 1/20)
.tell jnthn new ASAN barfage from spectest6: http://paste.scsys.co.uk/540350
.tell lizmat How are you determining that? :) When I run it under `time` then I get fairly little variance in the overall runtime.
.tell lizmat and in the profile it came out as spending 20%, 22%, 22%, 21% of time in there over 4 runs also
.tell notviki I believe method ^name() {} is in S12 as being a way to override a MOP method; STD parsed it also. So that's standard. What is less standardized is the exact set of methods on the MOP, though a number of them appear in the spectest and so we are committed on that part of the API.
.tell lizmat Can you show me some code on the floor thing? :)
.tell niner I've reverted f777352 so people can continue on, see backlog
.tell nine I've reverted f777352 so people can continue on, see backlog
.tell nine: I see.... I can elucidate it a bit more if you want.
.tell nine I see.... I can elucidate it a bit more if you want
.tell brrt nice advent calendar post! Though I have to admit that I do not yet fully understand the tile syntax. There are many "reg"s and in the explanation I'm not sure to which ones you refer. Also "the expression" is quite ambiguous.
.tell jnthn I have now created the two 'spectest fails with small nursery' issues that were discussed yesterday, issues 449 and 450
.tell jnthn It looks as if https://github.com/rakudo/rakudo/commit/58cdfd80b30444ba4755bb3fa0992f0f449f8a9e breaks t/spec/S17-procasync/no-runaway-file-limit.t. Is it ok with you if we revert that fix?
.tell jnthn some HARNESS_TYPE=6 failures: https://gist.github.com/lizmat/0bd1a0668a7dd7f3c5c75ac6dffac399
.tell brrt No fair asking me questions via PM and then going offline. Ah well, ping me when you're back online again.
.tell nebuchadnezzar can we somehow put /usr/share/perl6/site/bin in PATH?
.tell nebuchadnezzar forget what I said :o)
.tell nebuchadnezzar Is there anything else I can do for you? otherwise I'd leave it in this state: https://gist.github.com/FROGGS/9c06ac23b493be80e305d7aa1687a43c
.tell domidumont Is there anything else I can do for you? otherwise I'd leave it in this state: https://gist.github.com/FROGGS/9c06ac23b493be80e305d7aa1687a43c
.tell domidumont here is the status of my debian VMs, I'll update it continuously: https://gist.github.com/FROGGS/9c06ac23b493be80e305d7aa1687a43c
.tell nebuchadnezzar here is the status of my debian VMs, I'll update it continuously: https://gist.github.com/FROGGS/9c06ac23b493be80e305d7aa1687a43c
.tell nebuchadnezzar nqp and rakudo pass their tests on mips64el, it just takes ages to build and test
.tell nebuchadnezzar MoarVM builds fine on mips64el, but is rather unusable it seems: https://gist.github.com/FROGGS/05195d5426cbda9882a9dd00f684de72
.tell lizmat I suspect that shouldn't fail at all, but just end the iteration
.tell FROGGS num16 is supposed to be this: https://en.wikipedia.org/wiki/Half-precision_floating-point_format -- 'half' or 'binary16' FP format
.tell nine Hmmm, thank you re: My:: --> GLOBAL:: hint.
.tell japhb done
.tell Zoffix Thanks!
.tell brrt this might be interesting for you http://www.brendangregg.com/perf.html#JIT_Symbols :)
.tell jnthn Regarding your discussion with brrt above, I coincidentally came across an article today which may or may not be of interest to you: http://blog.rocana.com/golang-escape-analysis
.tell jnthn Oh, and the article has a link to an Escape Analysis paper for Java. You may already have read it :-)
.tell brrt We might want to make a list of the things that do need to know, so we can get an overview of them.
.tell FROGGS thanks - I'll wait until nwc10 is around
.tell brrt libuv-1.8 branch builds and spectests all clear here, except advent2013-day14 but that was already flapping
.tell mst That strange function rakudobrew injects into the shell is there to allow rakudobrew to modify an environment variable in the current shell (needed for the "shell" subcommand). It's a direct rip off of plenv. If you don't use that feature you don't need that function.
.tell brrt no bots here
.tell timotimo you are probably asleep by now. Just poking you for benchmarks :D. No rush.
.tell jnthn shaved 8% off CORE compilation by writing the idx after looking it up in interp.c http://i.imgur.com/WX35mFe.png
.tell brrt if we can somehow know which nodes have a "size" parameter (and which one it is), we could put it into the same node in the tree so that things get a little less cluttered
.tell timotimo no bot here
.tell jnthn I think we have a problem with nqp::readlinechompfh : if the last line in a file is empty, nqp::eoffh is 1 and nqp::chars=0
.tell I wouldn't expect eoffh to be true until the next read
.tell Hotkeys I didn't actually change how \ behaves yet, just did the groundwork. Also, unless you're building a MoarVM at HEAD, rather than the version Rakudo will pick by default, you'll not have any of my changes yet anyway.
.tell brrt +1 on the blog post from me
.tell brrt
.tell brrt in the blog "To make manners more difficult" ==> matters
.tell [ptc] Oh, I wasn't complaining about the general set of is-approx patches (dealing with very large or small numbers well is important to the use case), I was specifically saying that that particular commit seemed to have a couple bugs in it.
.tell FROGGS I integrated your 2 patches, my package is waiting approval of my mentor dod++
.tell FROGGS I think quite a few things rely on you only having writes to one register, and it being the first one.
.tell brrt interesting piece of JIT code in LuaJIT https://github.com/LuaDist/luajit/blob/master/src/lj_opt_narrow.c
.tell timotimo that a): the JIT (and the interpreter) both require alignment of basic blocks, moreso than having goto's in basic blocks
.tell brry that there appears to be no bot
.tell jnthn is there a bug at line 377 of src/6model/containers.c -- should that HASH_ADD_KEYPTR() call be inside the if (!entry) block?
.tell brrt I was able build: perl6 version 2015.04-221-gfce74e1 built on MoarVM version 2015.04-105-gbec36ae
.tell jnthn dynload might need patching: https://github.com/MoarVM/MoarVM/issues/214
.tell abraxxa 'is rw' native int/num params are now supported, though unsinged ints are cames back as signed and therefore mangle their value
.tell timotimo something that you might be good at - figure out why this code `nqp::rindex("rakudo", "do", 5)` causes an out of bounds read (whcih ASAN finds - probably valgrind will too)
.tell brrt I think that one is actually still todo...
.tell [Coke] afaik the OSX heisenbugs were cleared up; can https://github.com/MoarVM/MoarVM/issues/154 be cloesd now?
.tell FROGGS no, we do the symbol merging in normal code, not inside of the VM, since the rules are down to the language. See merge_globals or so in the Perl 6 module loader, or NQPs one. Also, if there are deserialization conflicts, the language's module loader can resolve them too, which is the thingy timotimo pointed you at; that's separate.
.tell JimmyZ_ if we manage to get the number of superfluous set instructions that are created from QASTCompilerMAST down a little, we'll get benefits all over the whole system: fewer temp register means smaller frame objects, smaller facts database in spesh, fewer registers kept alive because they have to survive until they hit a deopt point, ...
.tell FROGGS I've put the .tar.gz you msg'd me in place on moarvm.org now; thanks!
.tell brrt about that email banning guy. Why don't you agree with his reasoning?
.tell lizmat - had to fudge some of the new throws_like tests for parrot & jvm.
.tell brrt I did various extop things that should make things a bit better from the JIT side.
.tell jnthn Is that a valid patch about rooting? https://gist.github.com/FROGGS/534f320aa548e12f75c4
.tell jnthn I made you a cut down test case: http://paste.scsys.co.uk/407344
.tell jnthn i can't actually find a case wherin sp_p6oget_vc is actually called
.tell masak that moarvm actually does this, it's sp_6oget_ and sp_6obind_, and i've implemented the non-vivifying ones in JIT this week :-)
.tell jnthn that i hadn't considered that, that it is a good point (i.e. the inliner needing the effective bytecode, which is impossible if i've replaced it with magic jit bytecode)
.tell jnthn I was referring to problems with the output of https://github.com/japhb/perl6-bench/blob/master/nqp/rc-forest-fire
.tell brrt spesh for inlining needs to have access to the specialized bytecode; I suggest the jitcode is hung off just the ->effective_bytecode of the frame, but the bytecode slot of spesh_cand is left as it is (I'm assuming since the bug exists, it's being hung off spesh_cand).
.tell jnthn if he could, would he care to test moar-jit on win64
.tell brrt it appears the JIT works out nicely on win64 \o/
.tell timotimo that only a really simple frame would be compiled, but spesh /should/ try to compile a frame that is invoked enough times
.tell jnthn that i can see how macro's would work, and that for x64 it would mean a matter of preprocessing
.tell brrt Looking at http://luajit.org/dynasm_examples.html could dynasm's macros be of any help in this?
.tell Coke: re http://irclog.perlgeek.de/perl6/2014-06-06#i_8834904 I don't like the hardcoded port 5000 either. I plan to extract the port finding code from IO-Socket-INET.t into a separate package and use that.
.tell Coke re http://irclog.perlgeek.de/perl6/2014-06-06#i_8834904 I don't like the hardcoded port 5000 either. I plan to extract the port finding code from IO-Socket-INET.t into a separate package and use that.
.tell brrt feel free to factor that out, if it makes the code easier for you to work with. :)
.tell brrt the registers/locals are just a blob of memory hanging off ->work in the current frame. That memory also contians an args buffer.
.tell brrt I'm on target to have the initial code available on Tuesday
.tell brrt On your proposal, the bytecode graph building part will be done by the time you get there, I think. Possibly some of the type stuff too.
.tell brrt I think your intermediate set will want some things that can't exist in regular MoarVM bytecode too - unsafe things that we prove the correctness off.
.tell jnthn Segfault and oddness in perl6-debug-m; see http://irclog.perlgeek.de/moarvm/2014-03-19#i_8463775
.tell brrt yes, I think it will be possible to get something interesting done in a summer :)
.tell jnthn I think that if an MVMCompUnitBody gets promoted to the 2nd gen, it can end up with elements of scs[] still being in the nursery, and hence not properly marked at the next nursery-only sweep
.tell jnthn 80f8b533e9 seems not needed, since it's already flatten in MVM_string_concatenate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment