»ö« 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.
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«No such method 'Buf' for invocant of type 'Parcel'␤ in block at /tmp/tmpfile:1␤␤» 00:00
TimToady r: say ascii.new;
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Undeclared routine:␤ ascii used at line 1. Did you mean '&asin'?␤␤»
TimToady I guess we don't have that one yet
to go with utf8
jnthn I didn't realize we were meant to have that one :)
00:01 jnap left
grondilu or maybe the same kind of output we get with 'cat -v' 00:01
lue My issue is that Buf acts like a string with some array semantics, instead of a StrArray that I'd expect.
jnthn S02 doesn't mention an ascii type. 'course, it's easy enough to add, I think :) 00:02
lue e.g. Buf[0..3].Buf fails, but Buf.subbuf(0,3).Buf works. But I don't want to think of/use Buf as a funny string, I want to use it as a binary array.
TimToady senses a repeat in the force
jnthn r: say "force" ~~ /x/ 00:03
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«Nil␤»
jnthn Nope, no repeat in force :P
TimToady r: say 'the force' ~~ /(.).*$0/ 00:04
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«「e force」␤ 0 => 「e」␤␤»
lue TimToady: yeah, but that's just because I still don't like how Buf is designed :)
00:04 stevan__ left
lue
.oO(If Array[uint8] actually worked...)
00:04
00:05 rurban joined 00:06 miseria joined
miseria "la esclavitud la reemplazo un pobre salario minimo, el jornalero es victima de explotacion y tirania de la oligarquia" bienvenidos: castroruben.com *temo_a_un_ser_sin_rival* 00:06
00:06 miseria left
TimToady do we have a way of removing spam lines from the irclog? 00:07
00:12 dmol1 left
jnthn Time for some rest...should have a good tuit supply tomorrow :) o/ 00:17
TimToady \o/ \o 00:18
00:24 Sqirrel left
colomon \ 00:28
\o
00:30 denis_boyun left 00:31 kbaker joined
clsn So what's to be the deal with openers and closers from Unicode tables? It seems we can get opens/closes from BidiBrackets.txt for mirrored brackets; (﴾ ﴿ are a special case, according to the file, so we can just include them); but what about all the various Pi/Pf pairs? You can and do have multiple openers for the same closer. Are those to be all just special-cased? 00:36
I mean, I guess we can guess with Pi/Pf by what's before what in Unicode, and then have a list of exceptions to fine-tune that.
Actually, I count maybe 11 pairs of Pi/Pf, so maybe it isn't such a big deal. 00:38
Just that they're important: «», ‹›, “”, etc.
00:39 rurban left
lue clsn: perlcabal.org/syn/S02.html#Bracketing_Characters 00:41
00:41 btyler left
lue All non-Ps/Pe/Pi/Pf from BidiMirroring, then we picked the lowest-numbered Pe/Pf for every Ps/Pi 00:42
clsn Ah, OK, so it is spelled out in more detail than I thought...
lue s/picked/pick/
00:42 hypolin joined
clsn Was going to write a script to take/download the files and generate the code for Grammar.nqp or whatever. 00:42
lue it's already in NQP IIRC
nqp/src/HLL/Grammar.nqp 00:43
00:44 ajr_ left 00:45 hypolin left
clsn Yeah, but that isn't current. 00:46
We need to track Unicode as it evolves.
00:47 kbaker left
clsn irclog.perlgeek.de/perl6/2014-01-31#i_8201464 00:50
TimToady irclog.perlgeek.de/perl6/2014-01-31#i_8201492 :) 00:51
00:51 kbaker joined
clsn Yeah, I just noticed that... So not pulling from files, but use the props directly. 00:51
Much better.
TimToady well, you don't want to slow down startup, to the extent you can pre-analyze 00:52
00:52 raiph left
TimToady it can be recalculated whenever we know the props changed, and cached in an easy-to-load format 00:53
00:53 kivutar left
clsn Yeah... Do the work up-front if at all possible. 00:53
TimToady 2nd best is do it lazily like P5 does
well, depends on how much you value startup time in the absence of Unicode-isms 00:54
lue I think pre-generated list is the fastest option. 00:55
clsn Ideally up-front in the sense of "at time of compiling perl6 in the first place"
Currently std has them as a big hash and a big string-list. No reason we can't generate the same string at compile-time, is there?
TimToady well, modulo bootstrapping issues 00:56
lue as long as the underlying VM provides a way to poke its unicode tables for specific character categories, maybe.
clsn Yeah, depending on how much power we have by the time we're doing it. And if we can't poke categories, we're back to square one. 00:57
lue U+1F574 "MAN IN BUSINESS SUIT LEVITATING" can't wait :) 00:59
01:00 kbaker left 01:01 thou left
segomos all people are inherently good 01:05
01:05 thou joined
TimToady but these hipsters are going to promote Unicode to its level of incompetence 01:05
segomos TimToady: nice peter principle 01:06
TimToady One of my goals in life is to peter principle the peter principle. 01:10
segomos how would that look? 01:11
geekosaur dilbert? 01:12
segomos observational astronomy 01:15
TimToady wonders what non-observational astronomy would consist of... 01:18
geekosaur simulations, mostly
grondilu theory, as well 01:19
(though that's probably cosmology)
TimToady and the simulations are just physics :)
grondilu everything but maths is physics :)
geekosaur there is theory involved to the extent that they're still trying to understand key parts of how stars, galaxies, black holes, etc. are formed
and it's kinda hard to watch live 01:20
segomos i'm watching the nye and ham debate on youtube 01:21
grondilu quite dpressing, isn't it? 01:22
segomos i find it pretty funny
TimToady it's even more depressing for us theists :/
segomos i think ham just isolates creationists, not really all theists 01:23
lue I genuinely curious as to why people like that can't just say "I guess God made everything via evolution." 01:24
s/I/I'm/
grondilu because that's not what is Written, so that would make them feel uncomfortable, I guess. 01:25
TimToady there are just way too many Christians who are way too willing to tell God how he must've meant Genesis 1
segomos lue: i'm also curious why they don't just cling to that too
TimToady is happy with however God did it. :)
colomon +1
lue IIRC Genesis only says "made animals/grass/etc.", it doesn't say "made with a magic wand" or anything specific.
segomos +1 01:26
lue +1 as well :)
colomon lue: I think we can all agree that evolving them from single-cell creatures in one 24-hour period is probably a bit much. ;)
grondilu well, it does says a few things about clay or something
that's just ass weird as a magic wand 01:27
*as
lue has not actually read the Bible </disclaimer>
TimToady clay is, oddly, right in the mix of biogenesis theories :)
01:27 thou left
lue colomon: you know who could make evolution happen in 24 hours? God. :P 01:28
TimToady what you mean is, if anyone is allowed to cheat, it's God
colomon TimToady surely knows more about this than I do, but my impression is that if you take Genesis 1 literally you immediately run into continuity issues with Genesis 2.
TimToady but I think it's a bit out of character :)
jercos lue: "And God said, Let the earth bring forth [...]" so doesn't even really say he did anything, just that he said it should happen 01:29
TimToady well, the structure of Gen 1 is obviously a poem, or perhaps a worship chant
jercos Emperor Norton ordered the bay bridge built, but he didn't build it :|
segomos jercos: it's a translation
TimToady it's obviously not a scientific text
lue TimToady: for some definition of his character, at least :P (that whole "how can evil exist" thing IIRC) 01:30
TimToady is particularly sensitive to young-earth creationists, because he used to be one
then he started actually looking at the evidence
(was raised in that culture)
well, even most atheists look at creation and would rather that it exist than not exist 01:31
some in some sense they believe "It was all very good."
segomos i went to catholic school
TimToady we all have to start thinking for ourselves at some point, or let someone else tell us what to think 01:32
lue TimToady: "The creation of the universe made a lot of people very angry and was widely regarded as a bad move."
:)
jercos I still think digital watches are pretty cool.
colomon Adams++
geekosaur colomon: I can't really speak to various Christian interpretations but the typical Jewish one is that Gen 1 describes man-as-animal and Gen 2 describes the fashioning of his soul
segomos lue: lmao
geekosaur but the Jewish view on souls is ... complex
TimToady as it should be
segomos i went to jewish service when i was in boot camp 01:33
i liked judaism
rjbs speaks no ill of the people who brought us klezmer.
TimToady well, pretty much everyone mixes up their culture with their religion at some point, and we tend to be blind to our own layers of cultural interpreation 01:35
lue Huh, I didn't know these were things God supposedly couldn't do: lie, be tempted by evil, or quit :)
TimToady *interpretation
no, but apparently he's allowed to send a lying spirit to someone :) 01:36
geekosaur G-d can be misleading though :p this is in fact more or less necessary since mortals can't understand reality as G-d understands it
01:36 daxim left
lue Now that I know that, I kinda want to see what it would look like if God just quit. 01:36
TimToady well, that's sort of deism 01:37
geekosaur Aristotle's unmoved prime mover?
(that can't-understand is more or less how I reconcile Torah with the real world; it speaks directly to the comprehension of its time with hints at the reality embedded within, some of which we time-bound mortals will never understand) 01:39
01:39 vmspb left
segomos vampires 01:40
01:41 daxim joined
segomos i don't know, this debate was pretty funny to me. religious debates hardly ever end with 'i see your point' 01:41
TimToady well, most religious debates end up being cultural debates, alas 01:42
clsn Or wars.
TimToady well, that's a kind of debate :)
but we're very much into cross-culturalism in Perl-land
segomos wars are usually about something other than religion, they just use religion 01:43
TimToady not just wars :)
01:44 lue left
segomos it'd be cooler if the leaders of warring countries just had a wrestling match, no holds barred sans weapons 01:44
01:44 rurban joined
segomos and then they just got up and shook hands the loser quit doing or started doing whatever 01:44
then i guess dwayne johnson would just make other countries pay the US tribute and we could all twatter about it 01:45
jean claude van damme would move back to belgium and ernesto hoost would rule the dutch and the us would slowly lose world domination as we realize football players and WWF actors aren't real badasses 01:47
01:48 skids left, pmurias left
segomos back to work.. 01:49
01:56 lue joined 02:08 skids joined 02:09 rurban left 02:10 xenoterracide left 02:11 xenoterracide joined 03:17 bjz left
colomon Do we have a simple p6 way to get N equally spaced samples from A to B? 03:20
I'm imagining something like "4.5 .. 8 take 6" giving you 4.5 5.2 5.9 6.6 7.3 8 03:22
I'm always needing that in C++, and I've managed to once again lose the (clumsy but better than nothing) function to hide everything needed to make that work. 03:23
raydiak r: .say for 1, 3 ... 7 03:24
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«1␤3␤5␤7␤»
raydiak r: .say for 1.1, 1.3 ... 1.7
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«1.1␤1.3␤1.5␤1.7␤»
TimToady perhaps rosettacode.org/wiki/Numerical_inte...ion#Perl_6 will be helpful
raydiak oh, I see...to give a number of samples, instead of a step size 03:26
TimToady it's straightforward as long as you keep it in Rats 03:27
03:30 rurban joined 03:31 rurban left
TimToady note that for six samples you want to do (8 - 4.5) / 5, since there are only five gaps 03:35
b^_^d timotimo: I really like your post on the new blog. i know it is wordpress, but pearlbee was just released. :D 03:39
03:42 xenoterracide left, xenoterracide joined, pdcawley left 03:46 pdcawley joined
cognominal rjbs, do you know Krakauer and Abraham's Inc? I discovered it thx to rgs, it is a mix of klezmer with a lot of things 03:48
rjbs Nope!
cognominal: thanks, I've markde them to listen to on spotify tomorrow 03:49
03:50 bjz joined 03:51 thou joined 03:54 araujo joined, araujo left, araujo joined
cognominal rjbs, I forgot to paste the link vimeo.com/33788388 03:57
rjbs cool
04:02 kbaker joined 04:15 berekuk joined 04:24 kbaker left 04:32 berekuk left, rurban joined
clsn perl6: multi sub one (Int $x) { $x*10 }; multi sub one (Str $x) { callwith(6) }; say one("abc"); 04:47
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«Nil␤» 04:48
..niecza v24-109-g48a8de3: OUTPUT«Potential difficulties:␤ $x is declared but not used at /tmp/tmpfile line 1:␤------> (Int $x) { $x*10 }; multi sub one (Str ⏏$x) { callwith(6) }; say one("abc");␤␤Unhandled exception: No next function to call!␤ at /ho…»
clsn I'm pretty sure that isn't right... Oh well.
TimToady probably isn't pessimizing some optimization 04:49
and what if the candidate was rejected earlier, should it restart at the top? 04:50
the semantics are a bit unclear 04:51
but if you wanted to restart from the top, why not just call one(6) instead? 04:52
clsn I could use the sub name (I did in the code I was writing), but I thought it would be better to use one of the next* things; more generic. 04:53
TimToady perl6: multi sub one (Str $x) { callwith(6) }; multi sub one (Int $x) { $x*10 }; say one("abc");
camelia niecza v24-109-g48a8de3: OUTPUT«Potential difficulties:␤ $x is declared but not used at /tmp/tmpfile line 1:␤------> multi sub one (Str ⏏$x) { callwith(6) }; multi sub one (Int ␤␤Unhandled exception: No next function to call!␤ at /home/p6eval/niecza/…»
..rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«Nil␤» 04:54
TimToady order doesn't appear to matter
perl6: multi sub one (Str $x where /./) { callwith(6) }; multi sub one (Int $x where .so) { $x*10 }; say one("abc");
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«Nil␤»
..niecza v24-109-g48a8de3: OUTPUT«Potential difficulties:␤ $x is declared but not used at /tmp/tmpfile line 1:␤------> multi sub one (Str ⏏$x where /./) { callwith(6) }; multi sub␤␤Unhandled exception: No next function to call!␤ at /home/p6eval/niecza/…»
TimToady even with constraints 04:55
clsn Apparently not.
TimToady so I'm guess the candidate list was already weeded down
r: multi sub one (Int $x where * !%% 2) { callwith(6) }; multi sub one (Int $x where * %% 2) { $x*10 }; say one(7); 05:00
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«Nil␤»
TimToady r: multi sub one (Int $x where * !%% 2) { nextwith(6) }; multi sub one (Int $x where * %% 2) { $x*10 }; say one(7);
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«Nil␤»
TimToady nah, just broke 05:01
05:05 PZt left 05:06 rurban left 05:22 [Sno] left 05:23 PZt joined 05:30 stevan_ joined 05:35 stevan_ left 05:45 Mouq joined
Mouq raydiak++ immediate, aweseome doc.perl6.org search 05:46
*# 05:47
TimToady o/
Mouq o/
05:48 aindilis left
Mouq That looks weird without marking it as a 'comment', even though marking comments as 'comments' is kind of weird in the first place 05:48
05:48 aindilis joined
TimToady you might be interested in the bug at irclog.perlgeek.de/perl6/2014-02-11#i_8267511 05:50
since it works in niecza but not in rakudo
and has to do with the regex parser
Mouq TimToady: Whoa, :my token… :D I'd never concieved of that, that's pretty awesome 05:51
TimToady well, just falls out of the other rules
Mouq TimToady: True 05:52
TimToady: I'll at least look at it, I just noticed a bug with the search for doc.perl6.org I was hoping to fix quick 05:53
05:53 stevan_ joined
TimToady np, just an idear 05:53
don't want you neglecting school, after all 05:54
05:54 stevan_ left 06:00 SamuraiJack_ joined
Mouq r: say "_language/operators#infix+X".substr(1).match(/(.*?)#(.*)/).join: '.html' 06:01
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Regex not terminated␤at /tmp/tmpfile:1␤------> str(1).match(/(.*?)#(.*)/).join: '.html'⏏<EOL>␤ expecting any of:␤ …»
Mouq r: say "_language/operators#infix+X".substr(1).match(/(.*?)'#'(.*)/).join: '.html'
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«language/operators#infix+X␤»
Mouq r: say "_language/operators#infix+X".substr(1).match(/(.*?)'#'(.*)/).list.join: '.html'
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«language/operators.htmlinfix+X␤»
Mouq r: say "_language/operators#infix+X".substr(1).match(/(.*?)('#'.*)/).list.join: '.html'
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«language/operators.html#infix+X␤»
Mouq r: say "_language/operators#infix+X".substr(1).match(/(.*?)('#'.*)/)[].join: '.html' 06:02
camelia rakudo-parrot 260cd7, rakudo-jvm 260cd7, rakudo-moar 260cd7: OUTPUT«language/operators.html#infix+X␤»
Mouq Cooool
Oh, wait that won't work 06:03
Because I'm dumb
06:06 rurban joined
dalek c: bea4d5c | Mouq++ | htmlify.pl:
Fix bug with search JSON containg URLs like "language/operators#infix+X.html"
06:08
c: df4cae5 | Mouq++ | htmlify.pl:
Fix bug caused by Mouq--
06:12
06:13 BenGoldberg left
Mouq shouldn't be pushing commits while sick 06:16
TimToady has been sick for 16 days now...
at least I stopped running a fever
Mouq TimToady: :( I'm glad you're at least getting better 06:17
TimToady: I hope you get well soon
TimToady likewise
Mouq thanks 06:19
06:33 Vlavv left 06:35 rurban left 06:39 [Sno] joined 06:48 salv0 left, woosley joined
Mouq waits to push his fix for #121229 until he sees if the issue can be fixed in NQP too 06:50
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=121229
Mouq nqp-j: gist.github.com/Mouq/8950902
camelia nqp-jvm: OUTPUT«Unrecognized regex modifier :my at line 3, near " token SIG"␤ in panic (gen/jvm/stage2/NQPHLL.nqp:378)␤ in (gen/jvm/stage2/NQPP6QRegex.nqp:391)␤ in mod_ident:sym<oops> (gen/jvm/stage2/NQPP6QRegex.nqp:391)␤ in !protoregex (gen/jvm/stage2/QRegex.nqp:784)…» 06:51
Mouq Oh, wait... 06:52
nqp: my token Anything { shouldnt work }
camelia nqp-parrot: OUTPUT«Confused at line 2, near "my token A"␤current instr.: 'panic' pc 15952 (gen/parrot/stage2/NQPHLL.pir:5947) (gen/parrot/stage2/NQPHLL.nqp:425)␤»
..nqp-moarvm: OUTPUT«Confused at line 2, near "my token A"␤ at gen/moar/stage2/NQPHLL.nqp:369 (/home/p6eval/rakudo-inst-2/languages/nqp/lib/NQPHLL.moarvm:panic:120)␤ from gen/moar/stage2/NQP.nqp:917 (/home/p6eval/rakudo-inst-2/languages/nqp/lib/nqp.moarvm:comp_unit:346)␤ fro…»
..nqp-jvm: OUTPUT«Confused at line 2, near "my token A"␤ in panic (gen/jvm/stage2/NQPHLL.nqp:378)␤ in comp_unit (gen/jvm/stage2/NQP.nqp:922)␤ in TOP (gen/jvm/stage2/NQP.nqp:820)␤ in parse (gen/jvm/stage2/QRegex.nqp:1289)␤ in parse (gen/jvm/stage2/NQPHLL.nqp:1377)␤ in…»
Mouq Yup, ok, well…
dalek kudo/nom: 0d2b68f | Mouq++ | src/Perl6/Grammar.nqp:
Fix bug #121229 using MAIN's statement terminator
06:53
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=121229
TimToady Mouq++ 06:54
06:57 salv0 joined
Mouq is happy to help 07:00
o/ TimToady, #perl6
TimToady night 07:01
07:02 darutoko joined 07:05 Mouq left 07:08 logie_ left 07:28 pdcawley left, woosley left 07:29 pdcawley joined, pdcawley left 07:31 dmol joined 07:32 kivutar joined 07:35 FROGGS joined 07:39 Vlavv joined 07:42 yakudza left 07:53 virtualsue joined 07:59 virtualsue left 08:01 zakharyas joined 08:07 lizmat joined 08:09 thou left 08:11 lizmat_ joined 08:12 lizmat left, lizmat_ is now known as lizmat 08:13 raydiak left 08:14 raydiak joined
lizmat good *, #perl6 from the other side of our little pond 08:15
FROGGS hi lizmat
yoleaux 11 Feb 2014 23:10Z <pippo> FROGGS: after some testing with gdb. It appears that replacing 'handle->body.encoding_type' with 'body->encoding_type' on line 652 solves the problem.
11 Feb 2014 23:10Z <pippo> 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.
lizmat FROGGS o/ 08:16
FROGGS .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 08:17
yoleaux FROGGS: I'll pass your message to pippo.
08:25 PZt left 08:26 skids left 08:27 salv0 left, skids joined, salv0 joined
raydiak just noticed that run doesn't seem to ever work for him, but shell does 08:28
has anyone else had that problem? 08:31
FROGGS no, it works very well for me 08:32
raydiak I've tried it on jvm on two machines and moar on one of the same machines 08:33
r: say run "echo" # if this isn't somehow disabled for security 08:34
camelia rakudo-jvm 0d2b68: OUTPUT«Proc::Status.new(exit => 0, pid => Any, signal => 0)␤»
..rakudo-parrot 0d2b68, rakudo-moar 0d2b68: OUTPUT«run is disallowed in restricted setting␤ in sub restricted at src/RESTRICTED.setting:2␤ in sub run at src/RESTRICTED.setting:8␤ in block at /tmp/tmpfile:1␤␤»
raydiak I wonder what I'm doing to cause that
(by "that" I mean my original problem, of course, not the restricted setting) 08:35
FROGGS I dunno
and have sadly no time atm (being in a call for a few hours)
raydiak it causes the docs to silently fail to generate images when I htmlify, which caused the images to all get broken on doc.perl6.org when I synced yesterday, which they still are 08:36
didn't notice until an hour or two ago, and have been trying to track down the precise problem since 08:37
raydiak will just change that line to use "shell" for now, and re-run it 08:38
(though I kinda expect a funky character somewhere will break that) 08:41
08:45 nsh joined
raydiak hooray, cleaned up my mess :P 08:47
08:49 pecastro left, ruoso left
timotimo o/ 08:53
lizmat timotimo /o 08:54
lizmat notes test failures in nqp after pulling last changes: t/serialization/01-basic.t ............ Failed 464/1355 subtests 08:55
FROGGS lizmat: for which backend?
lizmat moar 08:56
FROGGS hmmm, it should require latest moar which is supposed to pass these tests
lizmat needs to signoff now
FROGGS o/
lizmat I'll try again later
08:56 lizmat left 08:57 ruoso joined, skids left 08:59 skids joined 09:01 fhelmberger joined
dalek c: dc734bf | raydiak++ | / (7 files):
Move templates and parts into a 'template/' subdir
09:02
c: 26dfd06 | raydiak++ | htmlify.pl:
Fix typo in path
c: 05fc6de | raydiak++ | htmlify.pl:
Merge github.com:perl6/doc
09:06 Alula left 09:07 Alula joined
moritz raydiak++ # gving doc some love 09:10
raydiak raydiak-- # gving doc some breakage for the past 24-36 hours 09:12
moritz raydiak++ # gving doc some loving breakage :-) 09:13
09:14 sqirrel joined
raydiak haha there's a terribly inappropriate joke in there somewhere 09:15
moritz is sure there is
fwiw doc.perl6.org seems to have around 7k visitors per month 09:16
timotimo that's not unique visitors, though? 09:17
raydiak r: say 7e3/30
camelia rakudo-jvm 0d2b68: OUTPUT«233.33333333333334␤»
..rakudo-parrot 0d2b68, rakudo-moar 0d2b68: OUTPUT«233.333333333333␤»
moritz en.wikipedia.org/wiki/Mu_%28negativ...ite_ref-23 09:18
timotimo oh, haha
moritz timotimo: each combination of day+IP+referrer is counted as one visitor, afaict
and (www.)perl6.org has about 24k visitors per month 09:20
timotimo crawlers filtered out already? 09:21
moritz perl6.org/page-stats/ has all the details
timotimo: yes (those that play by the rules, at least)
raydiak moritz: is there any "maximum width" for the generated images? I noticed the typegraph image for Cool is wider than the width of the body set in the css 09:22
which you don't notice until you go trying to wrap them in something visible, like on p6doc.cyberuniverses.com/type/Cool
timotimo wow, there is a noticable difference between weekend and weekday visitors
moritz raydiak: I don't think so; iirc japhb_++ created those images, maybe he has a good idea for how to fix it
09:22 denis_boyun joined
timotimo 226 hits to /compilers/features/github.com/mj41/Perl-6-GD/raw/mast...rt/Summary - Compilers' feature... 09:23
%)
moritz raydiak: fwiw I'm not sold on the white-and-blue layout; if you have better ideas, feel free to change it 09:24
though I do prefer black text on white background for the main copy
raydiak moritz: the images are graphviz-generated, so I can always adjust it on way or another, or adjust the width of the template (since I'll end up replacing it entirely anyway) 09:26
*one way or another
I was just trying to make my copy a little less heinous while I figure out what to *actually* do with the template 09:27
moritz loves how he can create some content, and folks from the community make awesome layouts for it 09:28
has happened to the IRC logs, perl6.org, the feature matrix
raydiak polish all the shinies! 09:29
have been trying to figure out what I can do to be more directly useful, doc.perl6.org looks like a good place to start 09:30
moritz aye
raydiak are we going to want other content on that site besides what is directly generated from the Pods? and if so, do we want that "other stuff" to be handled within the htmlify script? 09:31
moritz raydiak: what "other stuff" are you thinking about? 09:32
raydiak moritz: I am not sure if I have a specific, concrete idea atm, am just trying to determine the scope of the project 09:34
moritz raydiak: atm I don't have plans for other files
but it's not really a question I've thought much about 09:35
raydiak we could have the synopses mirrored there, for one...of course those are pod too I assume, so that's not a very good example
I guess I'd just like to see more of the various official resources tied together so you don't have to jump around from site to site so much when you're looking things up in various ways 09:37
but maybe that'd be better handled by just making the docs better instead of tying a bunch of other stuff into the website
moritz aye
the synopses aren't meant for users 09:38
and we only link to them that often because we don't have anything better for users
raydiak good to know, that definitely makes some difference to the optimal look and feel 09:39
09:40 denis_boyun left
moritz for example at doc.perl6.org/type/List#combinations I try to give examples (and sometimes use cases), much more than the specs (which often deals with edge cases) 09:40
09:41 CABE360 joined
raydiak I see 09:42
dalek c: fcaca11 | moritz++ | lib/List.pod:
Fix heading (or lack thereof)
09:44
moritz github.com/blog/1778-webhooks-level-up # woah, cool 09:45
timotimo not bad! 09:47
raydiak slick
okay, my thought processes are starting to feel like one of those fish I read about that swim in circles b/c by the time it gets back to where it started, it forgets it has already been there 09:59
so...g'night #perl6 :)
moritz good night raydiak, dream of non-cyclic, pretty p6 docs
FROGGS gnight raydiak 10:01
raydiak moritz: will do...exact shape of the pretty template is the main question I'm submitting to my subconcious tonight...sometimes it does my work for me while I sleep
masak antenoon, #perl6 10:02
raydiak really bed this time &
moritz \o masak 10:03
10:03 itz_ left 10:04 itz_ joined 10:05 matthiash joined
tadzik sjn: arn<TAB><TAB>: beer next tuesday? 10:08
10:09 pecastro joined
jnthn morning, #perl6 10:09
10:22 pmurias joined
pmurias moritz: re synopses aren't meant for users, will there be a user oriented spec? 10:23
10:23 mavcunha left
moritz pmurias: doc.perl6.org aims to be that 10:23
tadzik should a spec be user oriented? :) doc.perl6.org is, I think
pmurias doc.perl6.org seems to be a mixture of more introductory material and a method reference 10:29
as a user of other languages I find reading the spec usefull to the full way how things are supposed to behave 10:30
10:31 dakkar joined
jnthn pmurias: You are not a typical user. 10:33
Or at least, I've had my share of blank looks from other devs when a language question comes up and I say, "let's check the language spec". :) 10:34
(In languages besides Perl 6, I should add...) 10:35
10:36 kbaker joined
jnthn will happily go find answers in language specs, but it doesn't seem to be a typical thing 10:36
moritz also most users ask themselves questions like "I have the list and what turn it into a string; are there any handy methods for that?" 10:38
so a user-oriented doc should include methods from superclasses and roles (at least as links) 10:39
those aren't interesting for an implementor
and stuff like perlcabal.org/syn/S04.html#When_is_..._a_closure simply isn't for users :-) 10:42
pmurias one thing that could be usefull is to have links in the more user oriented docs to the relevant synopsis parts 10:47
moritz agreed
10:50 mtk left, mtk0 joined 10:53 sqirrel left 10:58 ens_ joined 11:00 ens left 11:07 mavcunha joined 11:36 kbaker left
tadzik ooh! p6weekly.wordpress.com/ 11:39
timotimo++
11:41 Alula left 11:42 Alula joined, denis_boyun joined 11:44 rindolf joined, kbaker joined
colomon timotimo++ 11:44
11:45 PZt joined
tadzik perfect for coming up with changelogs for release announcements :P 11:47
mathw timotimo++ that is an excellent summary 11:50
colomon and an interesting summary, too. I learned stuff. 11:56
12:20 mtk0 left 12:23 mtk joined 12:25 yakudza joined 12:34 nsh left
timotimo thanks :) 12:38
tadzik: though i used the existing changelog entries as a starting point :P 12:39
tadzik heh :) 12:41
timotimo well, i'm glad you people like it. that'll make it more likely that i'll continue working on this :P 12:50
12:52 skids left 13:02 kurahaupo_mobile joined 13:06 SamuraiJack_ left 13:08 benabik left 13:12 kaare_ left, nsh joined 13:16 Adriaaan joined, Adriaaan left
Ven moritz: meh. I see what you say, but really, having to read a bit of doc is not that bad 13:37
you do need tutorials, that's for sure, and perl advent is a good thing in that sense 13:38
13:41 kbaker left
Ven timotimo++ # p6weekly is *great*, and it's very nice to have as a newcomer 13:44
13:49 pecastro left 13:51 pecastro joined 13:59 nsh left, molaf joined
timotimo GlitchMr++ # deserves a big part of the praise for inspiring me 13:59
moritz [Coke]: could you please add p6weekly.wordpress.com/ to planeteria.org/perl6/ ? kthx. 14:01
14:03 Ven left 14:09 Ven joined, daxim left, guru joined 14:10 guru is now known as Guest57458, Guest57458 is now known as ajr_, kbaker joined 14:24 daxim joined, araujo left 14:25 rurban joined, araujo joined 14:30 bluescreen10 joined 14:31 skids joined 14:33 FROGGS left 14:35 pdcawley joined
Ven /j #faytest 14:35
14:35 pdcawley left 14:39 kbaker left 14:47 kbaker joined 14:48 logie_ joined 14:50 rurban left 14:53 btyler joined 14:58 raiph joined
moritz TIL that not all people have fingerprints: www.nytimes.com/2011/08/09/science/...print.html 15:06
15:09 rurban joined, pdcawley joined 15:10 pdcawley left, pdcawley joined 15:11 treehug88 joined 15:15 pdcawley left
timotimo indeed. those who don't are clearly genetically engineered to be terrorists 15:18
15:21 nsh joined, nsh left, nsh joined 15:24 thou joined
cognominal www.nytimes.com/2014/02/11/science/...wanted=all 15:28
15:29 FROGGS joined
colomon cognominal: …. that seem like some dodgy logic to me. I mean, I have no problem accepting that the Bible has been told and retold and meddled with. But the idea that the closest they've come to finding camels in the periods depicted in the Bible is "decades" sounds extremely weak. 15:33
cognominal I don't know the accuracy of radiocarbon dating 15:37
FROGGS <mudler> i think there is an error on the wiki, the Allomorphic Types in Rakudo 6 it's pointing to Google-at-Home github page 15:41
this is about wiki.enlightenedperl.org/gsoc2014/ideas
does somebody have the correct link?
15:43 salv0 left 15:44 cbk left
TimToady well, arguments from ignorance are always a bit dodgy; also, there might have been an intermediate stage where camels were kept in herds but used mainly for meat and such--people don't ride goats much either... 15:45
but anyway, I'm not largely invested in the exact historicity of Genesis
15:46 salv0 joined, fhelmberger_ joined 15:47 salv0 left
TimToady I tend to rate the historicity as inversely proportional to the age inflation of the patriarch in question :) 15:47
15:47 d4l3k_ joined, bjz_ joined 15:48 rurban1 joined, molaf left, salv0 joined, mattp__ joined, ens joined, Ven left 15:49 Shozan joined 15:51 treehug8_ joined, grondilu_ joined, sunnavy_ joined
TimToady in any case, it's certain that megayear of ice in Antarctica did not float away recently 15:51
15:51 amkrankr1leuen joined
colomon realizes he misread -- "centuries after the patriarchs." 15:51
15:51 rom1504_ joined 15:52 japhb__ joined, pmurias_ joined
colomon also realizes his elaborate math formula for $work is founded on something that simply will not work. :\ 15:53
TimToady and people who think hydrological sorting accounts for the fossil record are just in complete denial about the evidence 15:54
15:56 kbaker left
masak read a bit too quickly and was disappointed when he realized "hydrological sorting" wasn't a new sorting method, like bogosort 15:56
15:56 treehug88 left, rurban left, ens_ left, pmurias left, fhelmberger left, bjz left, xenoterracide left, dayangkun left, grondilu left, dalek left, mattp_ left, ingy left, sunnavy left, amkrankruleuen left, japhb_ left, SHODAN left, rom1504 left 15:57 d4l3k_ is now known as dalek
moritz I thought it was a new sorting method (like lexicographic), not a new sorting algorithm :-) 15:57
15:59 Psyche^_ joined, araujo left 16:00 xenoterracide joined
TimToady well, it's a sort of analog computing algorithm, but it's rather sloppy as these things go 16:01
16:01 raiph left 16:03 Psyche^ left, sftp_ left, ingy joined 16:09 guru joined, ajr_ left, guru is now known as Guest19618, Guest19618 is now known as ajr_ 16:10 jnap joined, pdcawley joined 16:15 pdcawley left 16:16 sftp joined 16:18 nsh left 16:22 telex left 16:24 telex joined 16:26 fhelmberger_ left 16:30 [Sno] left 16:32 daniel-s left 16:33 rindolf left, fhelmberger joined 16:34 fhelmberger left 16:37 daniel-s joined 16:38 denis_boyun left, matthiash left
rjbs cognominal: listening to abraham inc, thanks :) 16:47
japhb__ raydiak: re: irclog.perlgeek.de/perl6/2014-02-12#i_8271967 I did try to tune the basic heuristics to give a reasonable type graph at a readable size in most cases (just about any type graph you check should at least be *useable* if not ideal), but I didn't try to do an iterative algorithm like checking the output from graphviz, noticing it produced oddly proportioned results, and then tweaking the inputs. 16:48
My one request if you decide to tweak the coloring of the typegraphs is that it work well for color blind people like myself, and try not to be excessively showy. I tend to like clear, clean, and subtle if possible (but I'm not a designer, so I can't do an ideal job myself). 16:51
hoelzro: re: gist.github.com/anonymous/8901287 , it might help to format the OK/NOT OK list at the bottom with a two column table, so the NOT OK stand out better. 16:54
16:55 dayangkun joined 16:58 nsh joined, nsh left, nsh joined 17:10 ens_ joined 17:11 ens left, pdcawley joined 17:15 sisar joined 17:16 pdcawley left 17:21 denisboyun joined 17:27 sisar left 17:31 molaf joined 17:32 pecastro left 17:37 nsh left, zakharyas left 17:42 [Sno] joined 17:43 molaf left 17:44 spider-mario joined 17:51 denis_boyun joined, denisboyun left 17:55 revdiablo left, revdiablo joined 18:01 simcop2387 left 18:02 ajr_ left, sunnavy_ left 18:03 denis_boyun left, sunnavy joined 18:04 simcop2387 joined 18:06 rjbs left 18:07 rjbs joined 18:08 pdcawley joined 18:09 dakkar left 18:12 Sqirrel joined 18:13 pdcawley left
FROGGS hehe 18:23
googling for "recursion" is kinda funny :o)
masak .oO( did you mean 'googling for "recursion" is kinda funny'? ) 18:24
re-curse means "to curse again", doesn't it?
18:25 guru joined 18:26 guru is now known as Guest60767, Guest60767 is now known as ajr_
FROGGS masak: did you see the "did you mean" thingy? 18:27
I like it :o)
18:30 benabik joined
masak FROGGS: did you mean 'did you see the "did you mean" thingy?'? 18:34
18:38 darutoko left
FROGGS >.< 18:45
jnthn m: sub re-curse() { say 'shit'; re-curse }.() 18:46
camelia rakudo-moar 0d2b68: OUTPUT«(timeout)shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤shit␤sh…»
jnthn
.oO( somebody had to... )
FROGGS m: class timeout { }; sub re-curse() { say timeout; re-curse }.() 18:47
camelia rakudo-moar 0d2b68: OUTPUT«(timeout)(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeout)␤(timeou…»
hoelzro japhb__: it's a WIP; I wanted to get the results out before I left for vacation 18:49
I'll adjust it after I return
18:51 SamuraiJack_ joined
TimToady FROGGS: I think you wanted a print there instead of a say 18:54
well, you might need a .gist then 18:55
FROGGS yepp
TimToady either that or hack camelia to put a ␤ after (timeout) :) 18:56
FROGGS I decided it is good enough this way :o)
TimToady yeah, the perfect being the enemy of the good, the bad, and the ugly... 18:57
18:57 vendethiel left 19:04 SamuraiJack_ left 19:09 pdcawley joined
FROGGS 15110 pts/3 R+ 2:21 /home/froggs/dev/nqp/install/bin/moar [...]/perl6.moarvm --target=mbc --output=blib/lib/Panda/Ecosystem.moarvm lib/Panda/Ecosystem.pm 19:11
hmmm
19:13 pdcawley left 19:20 thou left 19:30 kaare_ joined 19:31 panchiniak joined
tadzik oh! 19:40
FROGGS tadzik: it seems to get stuck in rakudo's module loader 19:42
already debugging it
19:42 rurban1 left 19:48 stevan__ joined 19:51 bjz_ left 19:55 bjz joined 20:00 Shozan is now known as SHODAN, nsh joined 20:01 kbaker joined 20:03 treehug8_ left 20:05 nsh left, nsh joined 20:07 treehug88 joined 20:09 pdcawley joined 20:14 pdcawley left 20:21 stevan__ left 20:22 denis_boyun joined 20:29 kurahaupo_mobile left 20:32 thou joined 20:33 Rotwang joined 20:37 kbaker left 20:43 vendethiel joined 20:44 jnthn left, jnthn joined 20:50 xinming_ left
dalek kudo-star-daily: faf55ee | coke++ | log/ (5 files):
today (automated commit)
20:58
rl6-roast-data: ba78c39 | coke++ | / (4 files):
today (automated commit)
20:59
grondilu_ rosettacode.org/wiki/Grayscale_image#Perl_6 does not work on Rmoar: "length out of range" 21:00
raydiak japhb__: I do intend to strike an appropriate balance for a documentation site, though everyone has a different idea of what "appropriate balance" means, so please do let me know if the end result is not adequately accessible for color-blind people, or those with an aversion to shininess :)
21:00 grondilu_ is now known as grondilu
raydiak good afternoon, #perl6 21:00
21:00 grondilu left, grondilu joined 21:02 Adriaaan joined 21:06 kbaker joined 21:08 Alula left 21:09 Alula joined 21:10 pdcawley joined 21:14 pdcawley left
masak 'night, #perl6 21:23
raydiak \o masak
21:24 virtualsue joined
btyler hi all. trying to get panda going on moarvm: just running 'bootstrap' runs into the hang that FROGGS++ noted earlier while compiling Ecosystem.pm. I can get past that by using a moar-hacked ufo to makefile compile/install panda's deps (JSON, File::Find, Shell::Command), and then using a ufo makefile to make panda. however! panda compiles up until "Panda.pm" and I get 'STable conflict detected during deserialization; probable att 21:30
timotimo aaw :( 21:32
21:33 nebuchadnezzar left
btyler my ufo changes were basically just s/pir/mbc|moarvm/, which seems to do the trick 21:33
21:35 xinming joined, spider-mario left 21:41 nebuchadnezzar joined 21:43 Sqirrel_ joined 21:44 araujo joined 21:46 Sqirrel left, Sqirrel joined 21:49 mavcunha left, Sqirrel_ left 21:53 Adriaaan left 21:54 Sqirrel_ joined, Sqirrel left 21:55 lizmat joined
sjn tadzik: sure, I'm up for a beer! :) 21:59
22:00 simcop2387 left 22:01 geekosaur left 22:02 simcop2387 joined, sjohnson left
itz btyler: I was trying something similar 22:03
22:03 simcop2387 left 22:04 simcop2387 joined, skids left, bluescreen10 left 22:05 sunnavy left 22:06 sunnavy joined
tadzik sjn: awesome :) I should arrive around 17-18 I guess 22:06
22:06 simcop2387 left, simcop2387 joined, simcop2387 left, simcop2387 joined, geekosaur joined
btyler itz: did you run into the same blocker, or is there a way past the STable conflict? 22:06
22:06 sjohnson joined, bluescreen10 joined
sjn tadzik: sounds good. you coming by yourself? 22:07
tadzik sjn: aye 22:09
well, the company sends me :)
22:11 pdcawley joined, pdcawley left 22:12 pdcawley joined 22:14 nebuchadnezzar left 22:15 nebuchadnezzar joined
itz btyler: you got further than me! although I hadn't tried for a few days 22:16
btyler: I have a ufo fork on github although there is another with more changes 22:17
22:17 pdcawley left 22:23 Rotwang left
sjn tadzik: allright, let's have a beer or three :) 22:23
tadzik: I *may* have to leave early though; Job gathering in Hamar on wednesday, and I'm assuming I'll have to jump on a train not too late 22:27
on tuesday evening
22:29 kbaker left 22:31 xinming_ joined 22:34 rurban joined, xinming left 22:38 lizmat left 22:39 beastd joined, ajr_ left 22:40 mavcunha joined
btyler itz: drat! I was hoping I was just doing something wrong. cool re ufo fork - presumably its a little more flexible about different backends? 22:41
22:42 denis_boyun left, dmol left
btyler github.com/hoelzro/ufo looks like the most recently updated fork, with exactly that 22:43
22:44 lizmat joined
daxim I have a problem with nqp 2014.01. when building with NQP_LIB_DIR set, then running nqp-j will output "Error: Could not find or load main class nqp" 22:51
timotimo that seems more like a classpath piece missing
that error probably happens way before anything that'd look at NQP_LIB_DIR 22:52
daxim no, even when I explicitly export CLASSPATH=/usr/share/java, it will have the same error 22:53
my build conf is at build.opensuse.org/package/view_fi...c?expand=1 22:54
23:02 regreg2 joined
itz btyler: yes thats the one I meant 23:05
daxim no idea? okay, let's skip jvm for now. when building rakudo, the configure/make cannot find the NQP_LIB_DIR either: paste.scsys.co.uk/304372
23:06 regreg left
daxim it says /usr/languages/nqp/lib/*.{moarvm,jar}, but correct is /usr/lib/nqp/*.{moarvm.jar} 23:06
timotimo yeah, that does look wrong 23:07
23:12 pdcawley joined 23:17 virtualsue left 23:19 Sqirrel joined 23:20 benabik left 23:21 Sqirrel_ left 23:23 btyler left 23:26 raiph joined, mtk left 23:29 mtk joined 23:32 beastd left 23:43 rurban left 23:45 jeffreykegler joined 23:49 Sqirrel_ joined, Sqirrel left 23:50 FROGGS left 23:54 Sqirrel_ left, rurban joined, skids joined 23:57 jeffreykegler left
grondilu totally unrelated to P6: www.youtube.com/watch?v=Ptxe_3hJyx0 23:59
23:59 rom1504_ left