»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org | UTF-8 is our friend!
Set by sorear on 25 June 2013.
00:02 jnap1 left 00:07 ajr_ left 00:13 grep0r joined 00:15 grep0r left 00:18 kurahaupo joined, jnap joined 00:30 kivutar left 00:33 colomon_ joined 00:34 colomon left, colomon_ is now known as colomon 00:39 colomon left 00:40 colomon joined 00:41 hoverboard joined 01:19 dayangkun left, kbaker joined 01:23 jnap left, aindilis left 01:24 aindilis joined 01:35 jnap joined 01:38 grondilu left, lizmat joined 01:57 baest left 01:58 japhb left 01:59 japhb joined 02:04 baest joined 02:07 grondilu joined
grondilu r: say 0.0001 * 2.83e-16 02:07
camelia rakudo-parrot ffa572: OUTPUT«2.83e-20␤»
..rakudo-jvm ffa572: OUTPUT«2.83E-20␤»
..rakudo-moar ffa572: OUTPUT«2.83e-2␤»
grondilu r: say 0.0001 * 2.83e-16 > 1e-5 02:08
camelia rakudo-parrot ffa572, rakudo-jvm ffa572, rakudo-moar ffa572: OUTPUT«False␤»
grondilu m: say $_ * 2.8e-16 for 0.1, 0.01, 0.001, 0.0001; 02:11
camelia rakudo-moar ffa572: OUTPUT«2.8e-17␤2.8e-18␤2.8e-19␤2.8e-2␤»
grondilu m: say 2.8e-20;
camelia rakudo-moar ffa572: OUTPUT«2.8e-2␤»
BenGoldberg r: say 2.8e-19 02:14
camelia rakudo-parrot ffa572, rakudo-moar ffa572: OUTPUT«2.8e-19␤»
..rakudo-jvm ffa572: OUTPUT«2.7999999999999995E-19␤»
BenGoldberg r: say 2.8e-20 <=> 2.8e-5 02:15
camelia rakudo-parrot ffa572, rakudo-jvm ffa572, rakudo-moar ffa572: OUTPUT«Less␤»
grondilu it's just the display that's messed up apparently
BenGoldberg A sprintf bug, I suppose. 02:16
02:16 lustlife joined 02:19 baest_ joined, baest left
grondilu it seems that my complain earlier about half_pi was not the issue. The glitch I saw was rather because of this bug. My bad. 02:20
grondilu was generating a polar graph with P6 and viewing the result with Gnuplot. There was a dicontinuity around pi/2. 02:22
02:26 xragnar left 02:28 xragnar joined 02:30 btyler joined
grondilu will use round before feeding anything to Gnuplot from now on. 02:34
02:36 pdcawley left 02:41 klapperl_ joined 02:44 FROGGS_ joined 02:45 klapperl left 02:48 FROGGS left 02:51 kbaker left 02:59 kurahaupo left, hoverboard left 03:33 woosley joined 03:44 jnap left 04:04 BenGoldberg left 04:09 SamuraiJack joined 04:13 molaf__ left 04:15 jnap joined 04:20 jnap left 04:30 thou left 04:37 rurban1 left 04:52 rurban1 joined 05:16 jnap joined 05:20 jnap left 05:32 renormalist joined 05:46 kaare_ joined 05:51 rurban1 left 06:03 slavik left 06:12 dmol joined 06:17 jnap joined 06:19 lizmat left 06:20 lizmat joined 06:22 jnap left, rurban1 joined 06:24 kaleem joined 06:26 rurban1 left 06:43 dayangkun joined 06:49 btyler left 06:51 denisboyun joined 06:52 baest_ is now known as baest 07:09 kaare_ left 07:17 darutoko joined 07:18 jnap joined 07:22 jnap left 07:23 rurban1 joined, denisboyun left 07:27 rurban1 left 07:38 kaare_ joined
lizmat is considering reverting timotimo++ 's last commit as it makes the spectest hang 07:40
07:44 zakharyas joined
moritz + if nqp::isstr(@error[0]) { 08:10
+ nqp::die(@error[0]);
+ } else {
+ @error[0].throw();
+ }
that looks dangerous
might be better to say if nqp::can(@error[0], 'throw') { @error[0].throw(); } else { nqp::die(@error[0]); } 08:11
08:12 xfix joined
moritz lue: which test hangs? 08:12
sorry, meant lizmat 08:13
08:15 broquaint joined 08:18 jnap joined 08:19 dayangkun left
FROGGS_ moritz: IIRC jnthn proposed it that way yesterday 08:21
08:22 woosley left 08:23 jnap left
moritz feels validated 08:24
... and a bit stupid for not backlogging :-)
08:33 slavik joined
lizmat moritz: t/spec/S02-literals/listquote.t test #6 08:40
is the first one
08:40 pdcawley joined
lizmat it looks to me that line 246 in src/Perl6/Metamodel/BOOTSTRAP.nqp is causing an exception itself 08:41
$error[0] := nqp::atkey(%ex, 'X::TypeCheck::Binding')($oval.WHAT, $nom_type.WHAT, $varname); 08:42
08:42 terrencehan joined
moritz still hangs with my patch 08:42
sergot morning o/ 08:43
FROGGS_ morning
lizmat morning all! 08:44
maybe nqp::atkey(%ex, 'X::TypeCheck::Binding') does not contain what everybody think it contains?
:q
hugme hugs lizmat, good vi(m) user!
08:45 woosley joined
moritz %c_ex{'X::TypeCheck::Binding'} := sub ($got, $expected, $symbol?) is hidden_from_backtrace { 08:46
X::TypeCheck::Binding.new(:$got, :$expected, :$symbol).throw;
};
that's the initialization 08:47
I wonder if that needs some Mus
m: sub f($x) { say $x.^name }; f Mu
camelia rakudo-moar af8d42: OUTPUT«(timeout)»
moritz now I get 08:51
Type check failed in binding $a; expected 'Any' but got 'Junction' 08:52
jnthn Uh...I thought that it was meant to construct the exception but leave it for the binder to throw?
moritz well, that's not the approach we took in parrot land
where the P6EX comes from 08:53
jnthn I know most P6EX things don't look that way.
moritz so I guess that timotimo++ copy&pasted it like that, or something
jnthn I wasn't saying they all should. I was saying this one should, if we're binding it into $error[0]
Maybe, yeah. 08:54
moritz agreed
jnthn Anyway, note that the binder will run to bind the call to that sub.
08:54 fhelmberger joined
jnthn And so if it fails, it will recursviely call it, and so on... :) 08:54
moritz yes, I figured
in parrot land, we mostly passed type names 08:55
jnthn *nod*
moritz which is why we got away with not typing them as Mu
jnthn Makes sense.
dalek kudo/nom: 0ff5ff6 | moritz++ | src/ (2 files):
more robust error reporting

If a thing is not a string it is not automatically an Exception, so check nqp::can($possible_ex, throw)
Also be more liberal in what the subs in P6EX accept. In parrot land, we mostly passed around type names, but in moar we use actual types, so the signatures must accept Mu
Junction authothreading still seems broken; I hope timotimo++ fixes it.
08:57
moritz [Coke]: I havne't done a full spectest, but it fixed the one hang you mentioned 08:58
vendethiel Also, I wanted to ask. What's `sub stuff(T $o:, $otherparam)` ? The signature an `is export` would have ?
If `sub stuff(T $o: $otherparam)` was the base signature?
lizmat moritz: pulled, building and then spectest 09:00
09:00 rindolf joined 09:01 dayangkun joined
jnthn That signature doesn't make much sense on a sub... 09:03
lizmat but it fixes the hang 09:04
vendethiel jnthn: might be a method, then.
lizmat oops, wrong reference :-)
jnthn vendethiel: On a method, it means you want self to also be bound into $o, and that it'd better have type T.
vendethiel: Typing the invocant explicitly is a very weird thing to be doing, though. 09:05
vendethiel I remember it from the last synopsis, I think
well, from S32
` multi method does ($self:, $type --> Bool ) {...}` 09:06
jnthn Taht's just saying "put self into $self also"
That extra , after the : is probably a syntax error.
lizmat moritz: ok, the spectest does not hang anymore, but there are *many* more test failures
vendethiel jnthn: That's from S32/Basics, if that matters 09:07
jnthn You did remove the .throw, yes?
lizmat more specifically: t/spec/S02-literals/listquote.t now fails
vendethiel also that ` multi method clone (::T $self --> T --> Any )`
moritz jnthn: I did not, because rakudo-p needs it
jnthn Because if not...well yeah, you're gonna bust auto-threading, 'cus it relies on *not* throwing until later.
moritz right, I just turned the bust into a bust that returns instead of hanging :-)
lizmat seems like there is an #if parrot 09:08
jnthn *nod*
lizmat needed
moritz not necessary
jnthn Oh, there's a better way to do this I think
moritz for one we could just have another hash entry
jnthn Don't build the exception *at all* at the point things go wrong
$error[0] := { closure that builds it };
And then nqp::isinvokable(...) to decide whether to throw it
Then it can still .throw 09:09
And we don't pay the cost of constructing the exception in the junction fail-over case.
moritz I'm going offline for a few hours; I might try that (but don't wait for me, Argentina) 09:13
FROGGS_ moritz: is today the day or tomorrow? 09:14
09:19 daniel-s joined, jnap joined 09:24 jnap left, rurban1 joined 09:29 rurban1 left 09:33 dakkar joined 09:38 Alina-malina left, Alina-malina joined
dalek kudo/nom: de78943 | (Elizabeth Mattijsen)++ | src/Perl6/Metamodel/BOOTSTRAP.nqp:
Delay throwing of error, as suggested by jnthn++
09:38
lizmat this fixes the bust, and returns to previous levels of errors in spectest 09:39
preparing for commute to Hannover
jnthn lizmat++ 09:42
09:50 zakharyas left, denis_boyun joined 09:51 dayangkun left 09:52 zakharyas joined 09:55 rindolf left 10:02 dayangkun joined 10:06 slavik left, slavik joined 10:08 rindolf joined
dalek ast: e81b345 | (Elizabeth Mattijsen)++ | S05-mass/charsets.t:
Unfudge now passing test on parrot
10:09
lizmat verified spectest on parrot was also ok and found a passing todo
10:20 jnap joined, sqirrel_ joined
lizmat commute to Hannover& 10:25
10:25 jnap left, lizmat left, rurban1 joined
tadzik two steps from hangover :) 10:25
one, even 10:26
10:26 SamuraiJack left 10:30 rurban1 left 10:36 kivutar joined 10:38 woolfy1 left 10:42 aborazmeh joined
timotimo i copypasted wrong? =o 10:47
tadzik you did?
FROGGS_ where am I? 10:48
tadzik what is love?
FROGGS_ is jnthn just a four letter word?
tadzik why are polar bears left handed? 10:49
FROGGS_ why do have octopus a favourite arm? 10:50
timotimo oh! 10:51
d'oh!
P6EX has a .throw inside it
>_<
tadzik Has Anyone Really Been Far Even as Decided to Use Even Go Want to do Look More Like?
timotimo good question, has anyone really ever used Go? 10:52
tadzik yep
at work even
timotimo that would clearly explain how what i did was wrong 10:53
10:53 cognominal joined
timotimo the only thing i can think of is to pass a closure to $error[0] and call that 10:55
so i can close over the parameters i want to pass
otherwise i'd have to pull out the .throw; or alternatively $error[0] := try %ex<foobar>($args)
not sure how to go on 10:57
10:58 salv0 left
jnthn timotimo: lizmat already did it in github.com/rakudo/rakudo/commit/de789437a2 11:02
11:05 terrencehan left 11:06 kaleem left, kaleem joined 11:10 woosley left
timotimo i don't think i understand 11:17
isn't the problem that the subs that are assigned to P6EX will already call .throw?
and thus $error[0] := %ex<foo::bar> will immediately throw rather than assign the exception?
11:19 kurahaupo joined 11:21 jnap joined
jnthn timotimo: The patch wraps the thing assigned to $error[0] in a closure, so we run itlater on if needed. 11:22
timotimo oh! 11:24
oops :)
thank you in any case!
11:25 jnap left, sqirrel_ left 11:26 rurban1 joined 11:28 daniel-s left 11:30 rurban1 left 11:35 aborazmeh left 11:56 skids left 11:59 telex left 12:00 telex joined 12:14 brrt joined 12:21 jnap joined 12:26 jnap left 12:27 rurban1 joined 12:29 grondilu left 12:31 zakharyas left, rurban1 left 12:34 zakharyas joined 12:40 jnap joined 12:42 guru joined, guru is now known as Guest22435 12:43 Guest22435 is now known as ajr_ 12:46 kbaker joined 12:52 Alina-malina left 12:53 Alina-malina joined 13:15 skids joined 13:17 kurahaupo left 13:19 kurahaupo joined 13:27 rurban1 joined 13:30 sjn left 13:32 rurban1 left 13:33 sjn joined 13:40 colomon left 13:47 kaleem left 13:49 btyler joined 13:50 jnap left 13:51 kivutar left
[Coke] [A 13:52
13:52 sjn left
timotimo quantifier quantifier sonthing 13:54
[Coke] screen reconnect session whoopsie
13:59 bluescreen10 joined 14:00 colomon joined 14:03 jnap joined 14:06 thou joined 14:08 sjn joined
dalek kudo-star-daily: ee45f04 | coke++ | log/ (5 files):
today (automated commit)
14:22
14:28 salv0 joined
[Coke] daily eval server based run failing tests again today. 14:28
14:28 [Sno] joined
[Coke] looks like it started with S10-packages/basic.rakudo.jvm, passed 2 more after than, then aborted every test from that point on. 14:29
and it's not even failing fast at this point. :| 14:33
It's taking 1.33GB and 1.75 CPUs to spin. 14:34
Anyone have any diagnostic suggestions? 14:35
timotimo diagnose java using killall -KILL KILL KILL!!!! 14:43
[Coke] that... is not entirely helpful. 14:44
[Coke] is trying to spin up jvisualvm.
... as soon as he reinstalls X.
jnthn What version, ooc? 14:45
Normally when I've seen this it's 'cus it hit an out of memory conditoin.
*condition
But 1.33GB doesn't sound like that.
[Coke] $ java -version 14:46
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
(out of memory), yes, I've seen that in the past. if the tests run individually but not via the eval server, that indicates a memory leak in the eval server, neh? 14:47
jnthn It'd suggest so, though normally I saw it due to running many tests in parallel 14:48
[Coke] jnthn: i'm running one job at a time. 14:49
(to preserve test ordering in output.)
jnthn [Coke]: Yeah, that's what makes it a little more surprising. 14:50
14:51 fhelmberger left
[Coke] wow, is it slow to jvisual vm to the roast machine. 14:57
s/to/from/
I'm not going to be able to do this from dayjob. too slow.
15:11 bluescreen10 left
timotimo :( 15:13
i thought recently we got a nice fix in place for the out of memory condition for the evalserver 15:14
15:22 woolfy joined 15:23 risou is now known as risou_awy, risou_awy is now known as risou 15:24 kurahaupo left 15:27 FROGGS_ is now known as FROGGS 15:29 lizmat joined
FROGGS tries to write something committable since the slides do not want to improve any further 15:30
lizmat made it to the hotel in Hanover 15:31
FROGGS lizmat: are you far away from the venue? 15:36
lizmat ~12 km
FROGGS ohh wow
lizmat it was *hard* to get a hotel this late
all fully booked or a place we didn't want to go to 15:37
FROGGS yes, hannover is always like thaht
that*
lizmat and with public transport on strike, we need to take the car to the social / venue tomorrow 15:39
the last 20km today took us ~ 1 hour
so that's at least a 30 minute drive 15:40
15:40 SamuraiJack joined
lizmat ah welll... 15:40
there are worse things :-)
FROGGS are you talking about the wifi? :o) 15:41
lizmat since Lyon, I've decided to use my 3G connection all the time
at 10 euro / 500 MB, that's ok
FROGGS yeah 15:42
15:42 woolfy left
lizmat no hassle, always works 15:42
(well, almost)
15:42 Alina-malina left
FROGGS I have no problem this time too, because I have mobile broadband in germany :o) 15:42
okay, I try to convince my brane now to continue to work on PAUSE :/ 15:43
lizmat projects good thoughts about PAUSE your way
15:43 Alina-malina joined 15:44 bbkr joined, Alina-malina left
FROGGS it is not that hard in theory, I just have to put some information from the tarball and META6.json into a database table 15:44
lizmat going off to see some of Hanover before the social&
15:44 lizmat left
FROGGS (have fun) 15:45
15:45 Alina-malina joined 15:46 Alina-malina left 15:48 Alina-malina joined 15:49 Alina-malina left 15:50 Alina-malina joined 15:56 jnap left 16:00 kaare_ left 16:01 jnap joined
hoelzro github.com/showcases/projects-that-power-github 16:04
I like which one's at #1 =P
16:07 denis_boyun left, vendethiel left 16:16 [Sno] left
segomos github emoji 16:17
16:18 vendethiel joined
xybre I think the order changes because the first one here is "linguist". 16:18
hoelzro yeah, I was being facetious =) 16:26
I find it amusing how linguist ends up at #1
not that it's a bad library, but they don't listen to contributors at all
16:29 jnap1 joined
dalek p: 8ccf96b | moritz++ | src/ (2 files):
First shot at Match.prune
16:29
p: e952c7c | moritz++ | src/ (3 files):
prune some matches in Actions.pm
p: e183e7b | moritz++ | src/ (4 files):
Merge branch 'match-prune'

Speeds up compilation of Rakudo's Actions.nqp on the MoarVM backend by 1.8%
nwc10 moritz++ # hacking 16:30
moritz timotimo: the day was meant to be tomorrow, but it's postponed by another week
16:30 jnap left
nwc10 so who is going to the German Perl Workshop, other than FROGGS (speaking), daxim_ (speaking about other things) timotimo, wendy, liz and me? 16:31
Ulti is %hash.exists($key) now meant to be %hash<$key>:exists ? 16:35
jnthn no 16:36
%hash{$key}:exists
Ulti k k thank
s
16:36 kivutar joined
FROGGS nwc10: quite a few others I know, but nobody from this channel 16:38
jnthn Ulti: The <...> form is fine for literal keys. 16:39
[Coke] <> would work if you have a literal key, ay?
nwc10 quite a few others *I* know too :-)
[Coke] ... too slow!
16:39 brrt left
xybre hoelzro: you mean because there's so many open issues? 16:40
nwc10 boards
hoelzro yeah
FROGGS nwc10: but will you enjoy talks given in german?
hoelzro and they don't respond to PRs/issues
I've had a PR open for 2 months
and there's the time I added Perl 6 support...
[Coke] points at rakudo's RT queue.
hoelzro I think that was open for 4/5
[Coke] we are in no position to throw stones. 16:41
ObLHF: Help us prune the RT queue! don't need to be a Perl 6 expert, feel free to ping me with questions about what to look at!
16:43 guru joined, guru is now known as Guest78731 16:46 ajr_ left 16:49 jnap1 left, jnap joined, jnap left 16:50 jnap joined 17:03 adu joined 17:05 Guest78731 left 17:14 klapperl_ left 17:16 klapperl joined
[Coke] kills and restarts a daily run without the eval server. 17:25
17:25 raiph joined
colomon [Coke]: you're killing and then running? what is this, the Fugitive? 17:30
raiph p6: lines.say # are parrot and niecza right (ie this is supposed to work)? 17:32
camelia rakudo-moar de7894: OUTPUT«(timeout)»
..rakudo-parrot de7894, niecza v24-109-g48a8de3: OUTPUT«There were three men came out of the West Their fortunes for to try And these three men made a solemn vow John Barleycorn must die They've ploughed, they've sewn, they've harrowed him in Threw clouds upon his head And these thre…»
..rakudo-jvm de7894: OUTPUT«␤»
raiph (well, work ignoring stripping of \n) 17:34
jnthn The stripping is right too; it auto-chomps
17:34 ajr joined 17:35 ajr is now known as Guest51912
jnthn No idea why it does a (timeout) on Moar; if I pipe a file into it here things work out. 17:35
17:35 Guest51912 is now known as ajr_ 17:36 adu left, zakharyas left, denis_boyun joined, [Sno] joined
raiph p: .say for lines # Is this the canonical P6 idiom for reading from stdin and printing lines? 17:37
camelia rakudo-parrot de7894: OUTPUT«There were three men came out of the West␤Their fortunes for to try␤And these three men made a solemn vow␤John Barleycorn must die␤␤They've ploughed, they've sewn, they've harrowed him in␤Threw clouds upon his head␤And these three men made …»
moritz raiph: yes 17:42
raiph jnthn, moritz: thx
vendethiel remembers asking that exact same question 2 months ago. time flies 17:43
17:47 adu joined 17:53 btyler left
vendethiel r: lines.map: .say 17:54
camelia rakudo-jvm de7894: OUTPUT«Nil␤Unhandled exception: Method 'count' not found for invocant of class 'Bool'␤ in (gen/jvm/CORE.setting:7454)␤ in reify (gen/jvm/CORE.setting:7453)␤ in (gen/jvm/CORE.setting:7365)␤ in reify (gen/jvm/CORE.setting:7337)␤ in gimme (gen/jvm/…» 17:55
..rakudo-parrot de7894: OUTPUT«Nil␤Method 'count' not found for invocant of class 'Bool'␤current instr.: '' pc 336406 (src/gen/p-CORE.setting.pir:141436) (gen/parrot/CORE.setting:7458)␤called from Sub 'reify' pc 336252 (src/gen/p-CORE.setting.pir:141357) (gen/parrot/CORE.setting…»
..rakudo-moar de7894: OUTPUT«Nil␤Unhandled exception: Method 'count' not found for invocant of class 'Bool'␤ at <unknown>:1 (/home/p6eval/rakudo-inst-1/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm::4294967295)␤ from src/gen/m-CORE.setting:7511 (/home/p6eval/rakudo-inst-1/languag…»
vendethiel r: lines.map: { .say }
Although the error really is weird
camelia ( no output )
..rakudo-parrot de7894: OUTPUT«There were three men came out of the West␤Their fortunes for to try␤And these three men made a solemn vow␤John Barleycorn must die␤␤They've ploughed, they've sewn, they've harrowed him in␤Threw clouds upon his head␤And these three men made …»
..rakudo-moar de7894: OUTPUT«(timeout)There were three men came out of the West␤Their fortunes for to try␤And these three men made a solemn vow␤John Barleycorn must die␤␤They've ploughed, they've sewn, they've harrowed him in␤Threw clouds upon his head␤And these three me…»
17:55 dakkar left
vendethiel does it try to .count to get the arity ? 17:55
masak r: say { .say }.count 17:56
camelia rakudo-parrot de7894, rakudo-jvm de7894, rakudo-moar de7894: OUTPUT«1␤»
masak yes, I think so.
masak wonders if there will ever be an implementation that can constant-fold the above '1' :)
vendethiel links ?SufficientlySmartCompiler 17:57
masak :)
PerlJam "ever" is a really long time :) 17:58
vendethiel PerlJam: sure, but I think languages that died in 1980 don't have compilers with JIT like we have now ;à)
moritz masak: constant-folding that doesn't seem that impossible 17:59
vendethiel well.
PerlJam vendethiel: If there are people keeping Atari and Commodore 64 alive, there's probably someone somewhere keeping "langauges that dies in 1980" alive as well. :) 18:00
vendethiel r: class A { sub { say { .say; method foo { say "a"; } }.count; } }; A.new.foo;
camelia rakudo-parrot de7894, rakudo-jvm de7894, rakudo-moar de7894: OUTPUT«a␤»
PerlJam s/dies/died/
vendethiel which might be why we can't have nice things :)
18:00 SamuraiJack left
masak that doesn't change the arity of the block, though. 18:03
dalek p: cb90f08 | moritz++ | src/NQP/Actions.nqp:
more parse tree pruning
18:08
PerlJam heh, I was expecting the commit message to read "constant fold block arity" or something :) 18:09
vendethiel masak: but it can't be constant-folded as early 18:10
PerlJam What does $/.prune do exactly?
vendethiel tree-shaking I guess?
18:11 btyler joined
masak .oO( it's a bit like $/.plum ) 18:12
18:13 jnap left
vendethiel (what's plum ? tree-sleeping ?) 18:14
18:17 jnap joined
masak :) 18:22
geekosaur growing perhaps 18:23
FROGGS n: say 3 != 3 18:24
camelia niecza v24-109-g48a8de3: OUTPUT«False␤»
FROGGS O.o
moritz PerlJam: currently it deletes the cursor reference from a Match object
PerlJam: but in future I want it to do more (discard submatches, for example)
FROGGS ahh, S03 says that != is short for !== 18:26
rindolf .seen fglock 18:27
yoleaux I haven't seen fglock around.
dalek p: 73721c4 | moritz++ | src/ (2 files):
erase captures in $/.prune
18:28
masak .seen around 18:33
yoleaux I haven't seen around around.
FROGGS .seen tuit
yoleaux I haven't seen tuit around.
FROGGS damn
masak .seen haven't
yoleaux I haven't seen haven't around.
PerlJam .seen yoleaux
yoleaux I'm right here.
PerlJam :)
FROGGS .seen lately
yoleaux I haven't seen lately around.
masak .seen myself 18:34
yoleaux I haven't seen myself around.
PerlJam .seen flying pigs
yoleaux I haven't seen flying pigs around.
adu .seen me 18:38
yoleaux I haven't seen me around.
masak .seen sense 18:40
yoleaux I haven't seen sense around.
PerlJam If only NQP had time-traveling vars like Damian made for P5, then you wouldn't need to call prune because it will have already been done.
18:42 btyler left 18:43 sftp_ joined 18:44 sftp left
geekosaur mmm, tying the knot 18:57
18:59 klapperl left, kivutar left 19:00 klapperl joined
vendethiel damn, I switch to #haskell only to see geekosaur again 19:04
huf there are only 117 people alive on earth, so dont be surprised.
geekosaur :p
vendethiel huf: did you count them one by one ? 19:05
huf no need, i was born with the knowledge.
19:13 darutoko left 19:16 spider-mario joined 19:24 Sqirrel joined
jnthn OK, I haz a tuits... 19:24
And...an NQP build segfault :/ 19:26
moritz jnthn: if you go back to 9ef5690691c9191f5780450be09904f0f40ccd96, does it still segfault? 19:31
FROGGS Segmentation fault (core dumped) 19:35
make: *** [CORE.setting.moarvm] Fehler 139
retupmoca moritz: going back to cb90f0814292427e02dd94b246ede96293447ac7 fixes the segfault for me 19:36
FROGGS I can continue building when just doing make install again 19:37
ohh, hmmm, no
that helped for nqp but not for rakudo-m's setting
jnthn moritz: Well, going back some MoarVM commits helps 19:38
FROGGS does a gdb run 19:39
jnthn I knew the GC opt put in earlier today was buggy but I thought my patch would fix it.
FROGGS Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79d0731 in MVM_gc_root_gen2_cleanup (tc=tc@entry=0x603500) at src/gc/roots.c:256
256 while(gen2roots[i]->flags & MVM_CF_GEN2_LIVE)
jnthn oh, hang on...
it's missing a guard
FROGGS here a bt, Justin Case: gist.githubusercontent.com/FROGGS/...tfile1.txt 19:40
jnthn
.oO( Phew, not Justin Bieber... )
19:41
FROGGS *g*
jnthn Trying another patch
That backtace is in exactly the place 19:42
FROGGS k
jnthn If all the things in the gen2roots ended up alive it'd just go reading BS memory...
yeah, patch seems to help NQP 19:43
trying Rakudo
FROGGS .oO( Bounded Serialization, I always said this is black magic!! ) 19:44
jnthn Latest MoarVM seems better 19:45
FROGGS: OK, so, that frame_inc bug...
Got the reproduce url handy?
FROGGS yeah?
jnthn: github.com/FROGGS/frame_inc 19:46
jnthn Had the info on my laptop... :)
Thanks
FROGGS you're welcome
jnthn <= lazy :)
FROGGS we're hackers
jnthn yah, I see it SEGVs. 19:48
oh, I wonder.. 19:49
Hm. 19:50
FROGGS I think it was an invocation of getoutersomthing2 in Perl6::World around line 1717? 19:52
can't remember
jnthn yup
I think it's over-trying to do fixing up 19:53
FROGGS is this about the fixups happening for the lexpads in roles/macros? 19:54
jnthn For roles at least, yeah. 19:57
Think I got a fix. 19:58
FROGGS cool!
jnthn And it doesn't regress the thing I put in that fixup stuff to fix in NativeCall.
FROGGS I did almost nothing today :(
jnthn Running a spectest
19:59 labster left 20:02 labster joined
jnthn Hm, I get a couple of failures in Unicode props related tests 20:05
FROGGS O.o
jnthn oh 20:06
"Invalid code-point U+00FFFE"
hah 20:07
FROGGS ? 20:08
jnthn The tests that explode are skipped on both Parrot and JVM
So, I think we may have contradictory spectests.
FROGGS that is why I compare against roast_test_data or what it is called 20:09
(just to see if there is a regression) 20:10
it is hard to spot for ~50 failures
jnthn perl6: "\x[FFFE]" 20:11
camelia ( no output )
..rakudo-parrot de7894: OUTPUT«===SORRY!===␤Invalid character for UTF-8 encoding␤␤»
..rakudo-jvm de7894: OUTPUT«===SORRY!===␤Invalid code-point U+0FFFE␤»
jnthn perl6: say chr(0xFFFE)
camelia niecza v24-109-g48a8de3: OUTPUT«\x{FFFE}␤»
..rakudo-jvm de7894: OUTPUT«Invalid code-point U+0FFFE␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-moar de7894: OUTPUT«Error encoding UTF-8 string near grapheme position 0 with codepoint 65534␤ in method print at src/gen/m-CORE.setting:13575␤ in method print at src/gen/m-CORE.setting:13573␤ in sub say at src/gen/m-CORE.setting:13374␤ in block at /tmp/tmpfile:1…»
..rakudo-parrot de7894: OUTPUT«Invalid character for UTF-8 encoding␤␤ in block at /tmp/tmpfile:1␤␤»
FROGGS m: charname("\x[FFFE]") 20:12
camelia rakudo-moar de7894: OUTPUT«===SORRY!=== Error while compiling /tmp/xaC3rZkbBD␤Undeclared routine:␤ charname used at line 1␤␤»
FROGGS m: uniname("\x[FFFE]")
camelia ( no output )
FROGGS m: say uniname("\x[FFFE]")
camelia rakudo-moar de7894: OUTPUT«<unassigned>␤»
lue FFFE and FFFF are non-charachters, as are 1FFFE and 1FFFF, 2FFFE and 2FFFF ... (www.unicode.org/faq/private_use.html#nonchar4) 20:13
jnthn On latest MoarVM, we also refuse to parse \x[FFFE] like on JVM 20:15
Saying it's an invalid codepoint.
Well, I guess technically it's not parse, but rather "make the string constant for"
We could do with a ruling on whether that should be allowed I guess. Currently JVM and Parrot disallow it. 20:16
And HEAD Moar has a patch to disallow it
But we didn't bump to it yet.
Which is why I see the failures.
lue though, www.unicode.org/faq/private_use.html#nonchar7 (and the next few questions) and www.unicode.org/versions/corrigendum9.html indicate we shouldn't die on noncharacters, perhaps.
dalek kudo/nom: 15ece87 | jnthn++ | src/vm/moar/ops/perl6_ops.c:
Don't try to fix up to a NULL frame on Moar.
20:17
FROGGS recompiles
jnthn FROGGS: That seems to fix your frame_inc bug reports
FROGGS we will see if it fixes v5 as well :o) 20:18
lue perl6: say "\x[FFFE]"
camelia niecza v24-109-g48a8de3: OUTPUT«\x{FFFE}␤»
..rakudo-parrot de7894: OUTPUT«===SORRY!===␤Invalid character for UTF-8 encoding␤␤»
..rakudo-moar de7894: OUTPUT«Error encoding UTF-8 string near grapheme position 0 with codepoint 65534␤ in method print at src/gen/m-CORE.setting:13575␤ in method print at src/gen/m-CORE.setting:13573␤ in sub say at src/gen/m-CORE.setting:13374␤ in block at /tmp/tmpfile:1…»
..rakudo-jvm de7894: OUTPUT«===SORRY!===␤Invalid code-point U+0FFFE␤»
jnthn lue: On HEAD MoarVM it gives exactly the same as JVM now. 20:20
lue If I understand the FAQ and corrigendum 9 correctly, rakudo is just wrong there. (I couldn't say if niecza is totally right though)
jnthn OK. Will give TimToady++ a chance to weigh in too. 20:23
Will need to do something about both Moar and JVM if we're not to reject them.
FROGGS jnthn++ # it fixes v5 \o/
jnthn \o/
20:26 kaare_ joined
[Coke] AAIIIIGH accidentally killed the manual daily run. 20:27
[Coke] restarts it, just from the jvm on.. 20:28
FROGGS >.<
20:48 baest left 20:53 baest joined 20:57 sivoais left 20:58 baest left, baest joined 21:02 skids left 21:03 baest left 21:04 baest joined, sivoais joined 21:08 REPLeffect left
[Coke] java run waiting slowly at S02-types/mixhash.rakudo.jvm....................... 21:17
timotimo so, when should i arrive in hannover for GPW tomorrow? 21:22
21:24 baest_ joined 21:25 baest left
timotimo oh wow. 21:26
i seriously thought hannover was frankfurt 21:27
"cool, it's not far, i can go there by car"
nope. 500km.
moritz 500km by car are doable. Just ask our friends from the US :-) 21:28
timotimo yeah, but i'ven't grown up there
i'm kind of capable of doing the ride home to my parents in one sitting, just about. and that's just ~350km
moritz most people havent :-)
masak .oO( way hannover there )
timotimo i'll take a train for that distance 21:29
should probably find something useful to hack on during the train ride, too
21:33 Vlavv left, spider-mario left
perigrin even by US standards 500KM is a long drive ... 21:34
like half of Florida.
timotimo okay, so if i catch the train at 9:03, i can get there by 1400 21:39
moritz, i'm confused about your highlight at 1730 today 21:41
moritz timotimo: ah, because I answered a question that FROGGS asked, not you. Sorry. 21:42
irclog.perlgeek.de/perl6/2014-03-25#i_8488648
so, let's try again 21:43
FROGGS: the day was meant to be tomorrow, but was postponed a week
21:44 Vlavv joined, rindolf left 21:50 dmol left 21:58 lizmat joined
vendethiel is there a function composition operator in perl6 defined by default ? I don't think I've seen one 21:58
lue vendethiel: wouldn't it just be f(g(x)) ? :) 21:59
vendethiel lue: that's not a composition operator
unless Perl6 has lazy evaluation now ;) ? 22:00
lue looks like it to me: en.wikipedia.org/wiki/Function_composition
vendethiel lue: you're not getting a function back from that, you can't store it in a variable for later use 22:01
lue sub Z(x) { f(g(x)) } :)
vendethiel yes, that's why I talked about lazily evaluated it
jnthn Well, I think the question is "I want something where I give it f and g and it gives me back a function where if I do thingy(x) it does f(g)x))
"
vendethiel exactly jnthn
jnthn And I think the answer is "no, there ain't one, but it's easy to add operators" :)
{ f(g($_)) } # is quite short, though :) 22:02
TimToady rosettacode.org/wiki/Function_composition#Perl_6
jnthn shoulda guessed rosettacode would have one :P 22:03
vendethiel That's why I asked "defined by default"
22:03 lustlife left
jnthn *nod* 22:03
vendethiel well, I'd like to have it by default, but probably not with unicode 22:04
TimToady++
lue vendethiel: there isn't a default composition operator, because Perl 6 already has the stuff to do it :) .
jnthn lue: Well, it has the stuff to do a lot of things we gave operators to :P
adu TimToady++
vendethiel likes point-free style
TimToady well, it doesn't do argument currying like Haskell does, but that's not something mere mortals can grok anyway
vendethiel ... up to a certain extent
"argument currying" is something "mere mortals can't grok" ? really ? 22:05
lue vendethiel: I thought the ring operator was the only way to represent function comp. What ASCII-based repr is there that isn't { f(g($_)) } ?
adu TimToady: are you saying that Haskellers are some kind of gods?
vendethiel lue: haskell has Prelude.(.)
lue adu: the first Perl 6 was written in Haskell, so... :P
adu lue: Pugs?
lue yep. 22:06
vendethiel au is a great dev
adu I still think that's blasphemous
vendethiel what is ?
TimToady adu: maybe not gods, but certainly space aliens :) 22:07
vendethiel TimToady: currying is like ... The easy part of haskell. The bottom
adu TimToady: oh ok :)
vendethiel if you came and said, hey, let's not add semirings, arrows and comonads to Perl6, I'd agree. Not so much on currying ...
TimToady by currying I don't mean partial function application
vendethiel you mean 1-arg functions ? 22:08
adu vendethiel: yeah, try understanding like monadic arrow-based state transformer lifters
vendethiel: I just made that up, BTW
vendethiel adu: hahaha, I do haskell, so I still have one clue left
but I agree this is hard
lue vendethiel: point is, P6 does have function composition, but no dedicated ring operator for it. You can make such an operator if necessary :) 22:09
22:09 kaare_ left
vendethiel TimToady: what do you mean by "currying" if it's not 1-arg-functions ? 22:09
adu vendethiel: I should write a monad tutorial 22:10
TimToady yes, the 1-arg stuff
vendethiel adu: please :p
TimToady: that's not hard to grok, really, just a different view.
I was pretty surprised when I first looked at perl5 "function arguments" (and still am)
adu vendethiel: my tutorial is really short: bind = (overriding ;), return = (overriding return) 22:11
vendethiel adu: that's just trolling
adu vendethiel: oh, sorry
22:12 kbaker left
vendethiel will define a macro to get `curried sub foo($bar, $baz) {}` 22:12
vendethiel when perl 6 will be able to do so
adu but I still think that's the best model of monads, as a tool to make (;) do something else 22:13
vendethiel don't feed the troll
adu *sigh* ok
TimToady is only paying attention with one ear, 'cuz we're madly packing for Beijing 22:14
22:14 skids joined
TimToady (CSDN/OSDC this weekend) 22:15
*OSTC
adu how is the JVM port coming along? 22:16
jnthn vendethiel: You can write that today but the optimizer's arg checker over-zealously gets upset 22:19
vendethiel well, it can have the same arity, but have made the args optional 22:20
jnthn vendethiel: gist.github.com/jnthn/9772688
vendethiel: Run with --optimize=off
vendethiel jnthn++
and, of course, Perl6++
That's really neat. I'll keep that gist. 22:21
jnthn I think I probably should teach the optimizer not to whine on compile-time wrapped things. 22:24
It knows it can't inline them.
But it should really not get upset over the args not matching.
vendethiel links that gist to people 22:25
adu jnthn! long time no see
jnthn o/ adu 22:27
adu: JVM port - nicely. Even has NativeCall support these days :)
adu TimToady: ostc.csdn.net/?
jnthn TimToady: So, when is my deadline for fixing this pesky work-passing bug... :)
adu jnthn: wow
22:27 xenoterracide left
adu jnthn: I honestly want to do more to help, but it's hard to contact you when your timezone is different than mine 22:28
jnthn adu: Well, there's email if that's easier...
adu 拉里 · 沃尔? 22:29
it might be
lizmat timotimo: if you get to the GPW at 14:00, you will have missed most of the Perl 6 presentations :-( 22:35
22:50 BenGoldberg joined 22:55 hoverboard joined 22:59 Alina-malina left 23:01 woolfy joined
[Coke] 500 km gets you from my house to niagara falls! 23:08
BenGoldberg wonders how long it would take him to bike to niagara falls... too long ;) 23:09
jnthn Hey, it's even harder to bike it from here :P
[Coke] ... up to S06!... *sigh* 23:12
BenGoldberg What's 414 miles, in kilometers? 23:14
jnthn r: say 414 * 1.6
BenGoldberg ^ that's how far I am from Niagara Falls, NY 23:15
camelia rakudo-jvm 15ece8: OUTPUT«(timeout)»
..rakudo-parrot 15ece8, rakudo-moar 15ece8: OUTPUT«662.4␤»
[Coke] BenGoldberg: I'm just north of Hudson. You?
BenGoldberg In Port Chester, NY
jnthn In Europe :P
I really should visit Niagra Falls sometime, though :) 23:16
[Coke] jnthn: +1
let me know if you ever do a US tour. :)
BenGoldberg I went once as a kid. It was pretty cool.
[Coke] anyone have a URL to an article that describes a compiler release that targets the JMV? 23:20
*JVM
colomon sees the Falls every time he goes to New York. Admittedly that's only once every five years or so. 23:21
[Coke] man, it takes a long time for wikipedia to email you a password reset
simula67 suspects bailador is not working because it does not send the conncetion: close HTTP header 23:24
23:29 adu left
[Coke] hurls en.wikipedia.org/wiki/List_of_JVM_..._languages 23:30
23:31 ajr_ left
jnthn [Coke]++ 23:33
en.wikipedia.org/wiki/Rakudo_Perl_6 doesn't mention that it targets MoarVM, fwiw
[Coke] on it. 23:34
jnthn simula67: Yeah, that's required in HTTP/1.1 if you don't support keep-alive, iirc.
[Coke] done 23:35
23:37 xenoterracide joined 23:47 denis_boyun left 23:49 woolfy left, woolfy joined 23:53 Alina-malina joined
jnthn Time for some rest...'night o/ 23:54
23:57 woolfy left