Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2016-06-11

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:11 kid51 joined #perl6
00:21 mr-foobar joined #perl6
00:32 notbenh joined #perl6
00:38 Hotkeys well that's angry http://i.imgur.com/RvCzxLu.png
00:40 kid51 joined #perl6
00:40 sortiz Yep, and worse 'cus then you loose the REPL, I've seen that.
00:42 geekosaur yeh, that's a known bug in the repl
00:59 bjz joined #perl6
01:04 kalkin- joined #perl6
01:10 TimToady joined #perl6
01:22 bjz joined #perl6
01:47 ilbot3 joined #perl6
01:47 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
02:01 |2321 joined #perl6
02:22 huggable joined #perl6
02:32 noganex_ joined #perl6
02:51 araujo joined #perl6
03:16 ssotka joined #perl6
03:24 Herby_ joined #perl6
03:24 Herby_ Evening, everyone!
03:24 Herby_ o/
03:32 ssm joined #perl6
03:37 Herby_ \o
03:50 Herby_ \o/
04:06 setty1 joined #perl6
04:19 Cabanossi joined #perl6
04:56 RabidGravy joined #perl6
05:00 kaare_ joined #perl6
05:03 cpage_ joined #perl6
05:24 araujo_ joined #perl6
05:27 araujo_ joined #perl6
05:42 RabidGravy normally if I'm awake at this time on a Saturday, the cat is to blame, this morning it is the neighbours "repairing" something with a large hammer
05:43 sortiz grrr!
05:45 RabidGravy sortiz, just the man,!
05:46 RabidGravy (as you know just about as much about DBIsh as anyone right now)
05:47 kurahaupo joined #perl6
05:47 RabidGravy is there any support for one or both of "columns" type binding or binding "array datatypes" ?
05:47 sortiz RabidGravy, right now I'm hacking on FROGGS's XML::LibXML :-)
05:48 RabidGravy that is in the first case column name => $value pairs, and the second passing a list as a bind value
05:49 RabidGravy also (hacking on FROGGS's XML::LibXML)++  # top job
05:49 RabidGravy the existing XML library works quite well, but really slOooooOOooow
05:50 sortiz Only PostgreSQL has support for Array datatypes.
05:51 RabidGravy okay, so probably *do* want to support generating SQL and bind values for that in "the thing that sorta does what SQL::Abstract does" I'm working on at the moment
05:53 konobi RabidGravy: had a look at postgres's FDW functionality at all?
05:53 sortiz I should see that SQL::Abstract module.
05:54 RabidGravy I don't even know what FDW functionality is in the general case ;-)
05:55 konobi Foreign Data Wrappers
05:56 RabidGravy sortiz, the WIP is https://github.com/jonathanstowe/Squirrel but very rough at the moment
05:56 konobi https://wiki.postgresql.org​/wiki/Foreign_data_wrappers
05:57 RabidGravy it started off as an experiment to see how easy it would be to brute force port the module and then I got all obstinate
05:58 RabidGravy konobi, so a bit like remotes or whatever they are called in SQL Server or Oracle
05:58 RabidGravy I've done that stuff in both of the above
06:00 konobi but you can also use it to interact with the db on a more reflective level
06:06 wamba joined #perl6
06:09 rurban joined #perl6
06:10 rurban1 joined #perl6
06:22 huggable joined #perl6
06:39 Actualeyes joined #perl6
06:45 sortiz RabidGravy, I dunno if a pure-abstract approach worth the effort, but right now DBDish::Pg can do some introspection in the DB, via $dbh.table-info and $dbh.column-info, allowing you to validate the column names and allowed types.
06:45 CIAvash joined #perl6
06:46 CIAvash o/
06:47 RabidGravy Oh that part is up to some other piece of software, the sql abstraction is a completely separate pre-requisite for a whole class of other modules
06:47 sortiz Btw, the SQL quote style used by identifiers vary from one engine to another.
06:48 RabidGravy yes
06:49 RabidGravy (having worked with nearly every database engine known I know this too well)
06:50 RabidGravy however again, that is the responsibility of another piece of software
06:50 RabidGravy I just haven't implemented the quoting part there properly yet
06:52 rurban joined #perl6
06:52 rurban2 joined #perl6
06:52 rurban3 joined #perl6
06:53 rurban4 joined #perl6
06:53 RabidGravy that is identifying the quoting style to be used and telling the module which quotes to use is the responsibility of another software
06:53 RabidGravy I don't do monolithic
06:54 sortiz OTOH, On the syntax side (now a Capture), I think that Perl6 can do some too much powerful with a specialized grammar or slang.
06:54 rurban5 joined #perl6
07:06 raoulvdberge joined #perl6
07:13 darutoko joined #perl6
07:15 cognominal joined #perl6
07:20 RabidGravy well, that stuff is just for transitional support, there are better ways to do that in Perl 6, it's just sugar to make it easier to port existing P5 code, no point in introducing a lot of machinery
07:21 aries_liuxueyang joined #perl6
07:22 kurahaupo joined #perl6
07:31 RabidGravy see also the variations of
07:32 RabidGravy m: say { 'whatever', 1 }.().hash
07:32 camelia rakudo-moar 5b4470: OUTPUT«{whatever => 1}␤»
07:33 RabidGravy which is totally dumb, but transitional support for people that might not realise that { 'whatever' => 1 } and { 'whatever', 1 } are not the same thing
07:44 firstdayonthejob joined #perl6
07:57 rindolf joined #perl6
08:10 domidumont joined #perl6
08:10 domidumont joined #perl6
08:12 rurban_ joined #perl6
08:15 domidumont joined #perl6
08:15 ocbtec joined #perl6
08:19 mr-foobar joined #perl6
08:30 _mg_ joined #perl6
08:38 rindolf joined #perl6
08:50 AlexDaniel joined #perl6
08:52 AlexDaniel m: say(
08:52 camelia rakudo-moar 926f1d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/pQOjrMhVBY␤Unable to parse expression in argument list; couldn't find final ')' ␤at /tmp/pQOjrMhVBY:1␤------> 3say(7⏏5<EOL>␤    expecting any of:␤        argument list␤»
08:56 girafe joined #perl6
09:00 TakinOver joined #perl6
09:01 cognominal joined #perl6
09:04 RabidGravy off out to get some large plant pots, toodles
09:07 TEttinger I read that as pot plants at first
09:10 AlexDaniel who has access to camelia?
09:11 * moritz
09:11 moritz AlexDaniel: as does nine
09:12 AlexDaniel moritz: I think that there are some custom modifications currently that prevent the pull to succeed
09:12 AlexDaniel moritz: “versione” command reports 600617 but it should be at least af272a7
09:12 AlexDaniel version*
09:13 AlexDaniel e600617*
09:21 boegel left #perl6
09:21 moritz evalbot control restart
09:21 camelia joined #perl6
09:23 AlexDaniel m: say(
09:23 camelia rakudo-moar 926f1d: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Unable to parse expression in argument list; couldn't find final ')' ␤at <tmp>:1␤------> 3say(7⏏5<EOL>␤    expecting any of:␤        argument list␤»
09:24 AlexDaniel 20 chars saved ;)
09:26 AlexDaniel moritz: there's some problem with colors in irclog http://irclog.perlgeek.de/p​erl6/2016-06-11#i_12647114
09:26 AlexDaniel thanks, by the way
09:30 moritz AlexDaniel: I know; it's a very hairy issue with no really good solution
09:31 moritz mostly because it ties into the hairy encoding issues
09:33 dalek doc: ad4e2d7 | (Jan-Olof Hendig)++ | doc/Type/Baggy.pod:
09:33 dalek doc: Added docs for Baggy.values
09:33 dalek doc: review: https://github.com/perl6/doc/commit/ad4e2d7547
09:43 maybekoo2 joined #perl6
09:52 tbrowder joined #perl6
09:53 tbrowder mornin' p6 people; someone please consider doc pull request <https://github.com/perl6/doc/pull/585>
09:53 AlexDaniel tbrowder: “maye”?
09:54 tbrowder ??
09:54 AlexDaniel “Approximate numeric comparisons maye be tested” :)
09:58 tbrowder duh!! thanks
09:58 tbrowder fixed
09:58 BenGoldberg joined #perl6
09:59 AlexDaniel I don't know enough about is-approx so can't really comment on the rest
10:00 tbrowder basixally I extracted the pertinent parts from the Test module (one var name change: s/^got$/value/) so the exact way the test truth is calculated is clear
10:01 FROGGS joined #perl6
10:01 tbrowder too early: basically
10:02 tbrowder I would have added an example for the third version but haven't come up with a good one yet
10:18 FROGGS o/
10:21 dalek doc: e734e1a | (Jan-Olof Hendig)++ | doc/Type/Baggy.pod:
10:21 dalek doc: Added docs for Baggy.kv
10:21 dalek doc: review: https://github.com/perl6/doc/commit/e734e1a57f
10:22 huggable joined #perl6
10:43 dalek evalbot: 5c175f2 | moritz++ | freenode.org.conf:
10:43 dalek evalbot: Remove some dead channels
10:43 dalek evalbot:
10:43 dalek evalbot: we will see if anybody complains
10:43 dalek evalbot: review: https://github.com/perl6/evalbot/commit/5c175f240a
10:54 donaldh joined #perl6
11:06 tbrowder joined #perl6
11:07 tbrowder please consider doc pull request <https://github.com/perl6/doc/pull/586>
11:08 kid51 joined #perl6
11:08 dalek doc: 98eea13 | (Tom Browder)++ | doc/Language/unicode_texas.pod:
11:08 dalek doc: correct unicode values
11:08 dalek doc: review: https://github.com/perl6/doc/commit/98eea132da
11:08 dalek doc: 21b112d | lizmat++ | doc/Language/unicode_texas.pod:
11:08 dalek doc: Merge pull request #586 from tbrowder/unicode
11:08 dalek doc:
11:08 dalek doc: correct unicode values
11:08 dalek doc: review: https://github.com/perl6/doc/commit/21b112d95b
11:26 cognominal joined #perl6
11:49 _mg_ joined #perl6
11:54 Zero_Dogg joined #perl6
11:55 rindolf joined #perl6
12:12 eyck joined #perl6
12:18 rindolf joined #perl6
12:24 Emeric joined #perl6
12:27 rkr joined #perl6
12:31 rkr joined #perl6
12:37 donaldh joined #perl6
12:41 dalek doc: 71c5100 | (Tom Browder)++ | doc/Language/testing.pod:
12:41 dalek doc: document the third is-approx signature\ntry to improves description of all three versions
12:41 dalek doc: review: https://github.com/perl6/doc/commit/71c51004da
12:41 dalek doc: 6eb252e | (Tom Browder)++ | doc/Language/testing.pod:
12:41 dalek doc: correct typo
12:41 dalek doc: review: https://github.com/perl6/doc/commit/6eb252ed65
12:41 dalek doc: 36b9299 | RabidGravy++ | doc/Language/testing.pod:
12:41 dalek doc: Merge pull request #585 from tbrowder/test-doc
12:41 dalek doc:
12:41 dalek doc: document the third is-approx signature
12:41 dalek doc: review: https://github.com/perl6/doc/commit/36b9299081
12:51 RabidGravy does anyone know who wrote the Perl 6 article in https://gb.zinio.com/magazine/Coding-Academy-2015​/pr-501000630/cat-cat1960026#/covercarousel/?id=0 ?  It didn't seem to be credited
12:51 kid511 joined #perl6
12:51 RabidGravy (it covers a LOT of ground in about four pages)
12:55 cognominal joined #perl6
12:56 aries_liuxueyang joined #perl6
12:58 Zoffix joined #perl6
13:02 cpage_ joined #perl6
13:08 rindolf joined #perl6
13:11 Zoffix tbrowder, would you think I'm a total dick were I to revert this? https://github.com/perl6/doc/pull/585  tbrowder, there are actually several bugs with that subroutine and it's unpollished. There were several attempts to fix it but they kinda drowned in decision paralysis. I finally wrote down a plan for what it's supposed to work like and Larry gave me a plausible excuse to at least submit a PR. With the documentation and tests lacking for the
13:11 Zoffix "extra" functionality, it'd be easier to bikeshed what the sub should do, which is why I want to exclude it from the docs for now, lest someone actually uses it. Lastly, the rel/abs tol version in your docs is incorrect. Those are named args, not positionals.
13:20 CIAvash joined #perl6
13:22 KillBill joined #perl6
13:23 maybekoo2 joined #perl6
13:33 KillBill I want to replace file's content with it name; using dir() and hyper-op:   dir».spurt("how I can get filename here?")
13:34 skids joined #perl6
13:36 AlexDaniel KillBill: well, dir».&{.spurt($_)} is going to work for sure
13:36 KillBill p6: dir».spurt(*.basename)
13:36 camelia rakudo-moar 915f45: OUTPUT«Cannot resolve caller spurt(IO::Path: WhateverCode); none of these signatures match:␤    (IO::Path:D $: Blob $contents, :$bin, |c is raw)␤    (IO::Path:D $: Cool $contents, :$bin, |c is raw)␤  in block <unit> at <tmp> line 1␤␤»
13:37 AlexDaniel but that's not very readable, right?
13:38 KillBill AlexDaniel: agree
13:40 AlexDaniel hmmm dir».&{spurt $_, $_}
13:41 AlexDaniel KillBill: I'd probably just use for then
13:41 AlexDaniel or leave it this way ↑
13:44 rurban_ joined #perl6
13:45 kurahaupo joined #perl6
13:50 b2gills joined #perl6
13:53 stmuk_ RabidGravy: http://t2mh.com/magazines/Coding%​20Academy%20-%202015%20%20UK.pdf doesn't feature perl 6
13:53 stmuk_ is the 2016 one?
13:53 RabidGravy oh yeah the 2016 one, I thought that was the one I posted
13:55 stmuk_ there was something odd about the link which was actually to the 2015 one although it showed the cover for 2016
13:56 RabidGravy https://www.myfavouritemagazines.co.​uk/tech-gadgets/coding-academy-2016/
13:58 dalek doc: 74e96d7 | (Jan-Olof Hendig)++ | doc/Type/Baggy.pod:
13:58 dalek doc: Added docs for Baggy.total
13:58 dalek doc: review: https://github.com/perl6/doc/commit/74e96d7292
13:58 stmuk_ RabidGravy: is that buy link a physical mag or pdf?
13:59 RabidGravy dunno, I saw the physical in Sainsburys this morning
14:00 stmuk_ cheers I'll look for it
14:01 cdg joined #perl6
14:08 stmuk_ A wild guess might be the author is Nigel Hamilton, since he's UK based. He's giving a talk at London.pm talk meet on perl 6 on Weds night and I'll ask him then
14:13 stmuk_ s/talk meet/tech meet
14:16 RabidGravy could be
14:17 RabidGravy Dave Cross writes articles for them but he hasn't taken the p6 kool-aid yet
14:18 stmuk_ yes I noticed his name in the sketchy looking pdf link to the previous edition
14:20 RabidGravy apparently they recycle articles from all across their estate for those things
14:22 huggable joined #perl6
14:23 stmuk_ also Nigel is Bath based as Future Publishing is
14:23 stmuk_ and I don't think he IRCs much (?)
14:24 masak no, not much
14:24 masak I've seen him on IRC, but it's rare
14:25 stmuk_ what's his nick?
14:25 masak nige
14:31 stmuk_ ah that rings a bell
14:37 dogbert17 o/ #perl6, is everyone watching soccer?
14:38 teatime ahoy dogbert17.  I don't really do sports.
14:39 dogbert17 teatime: well, you're not missing much atm anyway (watches Switzerland - Albania with one eye)
14:40 timotimo i find soccer rather boring
14:40 timotimo and the infatuation the rest of the germans have with soccer makes me even more fierce in my anti-soccer stance
14:41 teatime I was listening to NPR today, and they had a bit where they described the German practice of setting up outdoor TVs (in like, every neighborhood, apparently), and they all come out and drink beer and watch the Germany matches.
14:41 teatime that sounds like a lot of fun.
14:41 mst "soccer"
14:41 timotimo until you realize you'll be with soccer fans at those things :)
14:41 teatime haha
14:41 mst this is the word we use around people who mistake football for the american rugby-with-padding thing
14:42 spider-mario joined #perl6
14:42 AlexDaniel timotimo: is there any sport that you find non-boring?
14:43 timotimo handball
14:43 timotimo that's pretty cool
14:43 teatime is that similar to raquetball or squash?
14:43 timotimo it doesn't feature anything like raquets
14:43 teatime oh, well I guess I could have deduced that from the name.
14:43 timotimo it consists of the ball beind held in your hands
14:44 timotimo much like in football where you hold the ball with your feet, clearly
14:44 teatime raquetball/squash is about my favorite cardio workout
14:44 timotimo also, bball isn't bad
14:44 teatime so much more entertaining than e.g. running
14:44 timotimo in general, i think i prefer games where the scoring system results in somewhat big numbers, rather than single-digit numbers :)
14:45 timotimo there's much more back-and-forth that way
14:45 timotimo on the other hand, i don't get baseball at all
14:45 teatime heh, any specific questions?
14:46 timotimo oh. i don't mean it in the "understand" way, but the other "understand" way
14:46 teatime baseball is v. boring to watch imo
14:46 teatime kindof like golf
14:47 mst running is boring. football is fun if you're bad at it, but once people get good at it the scores go down and I get bored
14:47 mst playing football for the fun of it with a bunch of other people who aren't that good is fun, watching competente people not so much
14:47 mst the only sports I actually *liked* playing were rounders and rugby though
14:47 AlexDaniel yea, especially when they're paid for it :D
14:47 timotimo i don't know what rounders is :)
14:48 teatime can we count pool as a sport?  or auto racing.  those are the only two I ever got into seriously.
14:48 mst baseball family
14:48 mst I don't particularly like watching it either though
14:48 timotimo my dad's big into formula 1
14:48 mst teatime: I was running with the cardio theme, but I think we can for the watching question
14:49 teatime I meant playing.  I don't really watch pool or racing.
14:49 mst to watch, badminton's good
14:49 mst I play the occasional game against friends on a pub's pool team
14:49 timotimo i never played badminton regularly, so never got any good at it at all
14:49 mst actually, I used to quite like watching snooker while thinking about stuff
14:49 teatime I remember badminton being really fun in high school gym class.
14:50 teatime mst: sometimes pool can be entertaining, but it's rarely televised here.
14:51 pierrot joined #perl6
14:51 teatime the trick-shot competitions are also a lot of fun to watch.
14:51 mst yeah, if I watch pool, it's because I happen to be bored in a pub where their team's playing a match
14:53 BenGoldberg joined #perl6
14:54 timotimo i watch commentated video game matches every now and then
14:54 dogbert17 that can be fun
14:56 khw joined #perl6
14:56 timotimo it usually requires you to know the game in question a bit, though. maybe more so than soccer would
14:59 dogbert17 btw, I have a new boring doc gist for Baggy.roll here: https://gist.github.com/dogbert17​/cb137b3fa751b853bda38f5750540ce0
15:00 dogbert17 most of text was taken from S32 so there might be a chance that the information is obsolete
15:01 * dogbert17 match is over and Albania lost 0-1 to Switzerland
15:04 cdg joined #perl6
15:13 Zoffix Just one goal in what... 90 minutes? Sounds like a fun thing to watch :P
15:14 dogbert17 Zoffix: wasn't the best game ever I'm afraid :)
15:18 kid51 joined #perl6
15:23 mohae joined #perl6
15:27 RabidGravy it seemed like it was actually two albanian teams playing for a bit
15:34 yqt joined #perl6
15:41 firstdayonthejob joined #perl6
15:49 pomJ joined #perl6
15:55 ssotka joined #perl6
16:01 buharin joined #perl6
16:11 * stmuk_ buys Coding Academy 2016 (with Perl 6) online having failed to find in 3 shops
16:19 tbrowder Zoffix: please revert, and I'm interested in the fix because I'm using those funcs in a module I'm working on!!
16:28 dalek doc: db08426 | (Zoffix Znet)++ | doc/Language/testing.pod:
16:28 dalek doc: Temporarily revert 71c51004da1201c3d84bb287bbb8ac389298ec6e
16:28 dalek doc:
16:28 dalek doc: Pending PR for changes/improvements/bug-fixes for is-approx. See http://irclog.perlgeek.de/p​erl6/2016-06-11#i_12647647
16:28 dalek doc: review: https://github.com/perl6/doc/commit/db084268c2
16:29 Zoffix tbrowder, thanks. I already wrote all the code, now I just need to write tests and should be done
16:29 Zoffix (today)
16:32 tbrowder Zoffix: my time line is not as speedy as yours, so take your time as far as I'm concerned!
16:38 Emeric joined #perl6
16:38 rindolf joined #perl6
16:44 donaldh joined #perl6
16:53 dalek doc: 510d6a7 | (Jan-Olof Hendig)++ | doc/Type/Baggy.pod:
16:53 dalek doc: Added docs for Baggy.roll. Most text from S32
16:53 dalek doc: review: https://github.com/perl6/doc/commit/510d6a775a
16:58 domidumont joined #perl6
17:00 Actualeyes left #perl6
17:12 dalek doc: 3b52b50 | (Jan-Olof Hendig)++ | doc/Type/Baggy.pod:
17:12 dalek doc: Fixed broken link
17:12 dalek doc: review: https://github.com/perl6/doc/commit/3b52b509b2
17:16 ssotka joined #perl6
17:30 pmurias_ joined #perl6
17:30 pmurias joined #perl6
17:30 pmurias hi
17:31 Zoffix \o
17:34 ruoso hi
17:34 ruoso so... what is the state of calling java code from rakudo-j these days?
17:35 Zoffix .oO( was that ever a goal...? )
17:36 geekosaur it's a fiuture goal, I don't think anything has actually been done yet though
17:36 ruoso well, if I wanted to write a web app on rakudo-j, I better implement the servlet interface
17:37 yqt joined #perl6
17:40 pmurias it was possible to call java code from rakudo-js in the past, I'm not sure what the current state is
17:45 stevieb joined #perl6
17:46 pmurias ruoso: you should build rakudo-j and run the interop tests
17:47 pmurias ruoso: they are in rakudo/t/03-jvm
17:48 ruoso ah, thanks... let me take a look
17:48 TimToady m: class A { method sink() { print "sunk " } }; my @a = gather for ^10 { take A.new }; say @a[0]
17:48 camelia rakudo-moar 915f45: OUTPUT«A.new␤»
17:49 TimToady m: class A { method sink() { print "sunk " } }; my @a = gather for ^10 { (take A.new).sink }; say @a[0]
17:49 camelia rakudo-moar 915f45: OUTPUT«sunk sunk sunk sunk sunk sunk sunk sunk sunk sunk A.new␤»
17:49 TimToady something must be annotating take with :nosink or so
17:49 AlexDaniel moritz: hi! What are you concerns about https://github.com/perl6/doc/pull/573 exactly?
17:49 TimToady m: class A { method sink() { print "sunk " } }; my @a = gather for ^10 { take A.new; 42 }; say @a[0]
17:49 camelia rakudo-moar 915f45: OUTPUT«WARNINGS for <tmp>:␤Useless use of constant integer 42 in sink context (line 1)␤sunk sunk sunk sunk sunk sunk sunk sunk sunk sunk A.new␤»
17:50 TimToady no, it's just failing to propagate the sink on the for into the block
17:51 TimToady strainge that it knows the 42 is in sink context, but not a take by itself
17:51 TimToady *ange
17:51 ruoso pmurias: I guess it no longer works, the test dies right away
17:51 AlexDaniel moritz: I mean, your comment sounded very scary, but the patch itself is really harmless. Am I missing something?
17:52 TimToady m: class A { method sink() { print "sunk " } }; my @a = gather for ^10 { take A.new; take 42 }; say @a[0]
17:52 camelia rakudo-moar 915f45: OUTPUT«sunk sunk sunk sunk sunk sunk sunk sunk sunk sunk A.new␤»
17:52 TimToady so yes, it's a problem with take as well
17:52 stevieb joined #perl6
17:52 moritz AlexDaniel: well, I just don't want it to break links, as has often happened when I changed some of the linking ode
17:52 moritz *code
17:53 moritz AlexDaniel: if it's not scary to you, please merge
17:53 stevieb finally got around to setting up a perl6 doc dev environment per CONTRIBUTING. w00t!
17:53 moritz I'm just old and scared
17:53 * TimToady is old and not scared enough
17:53 * lizmat is old and not scarred enough
17:54 AlexDaniel moritz: I ran the link checker and didn't see any increase in the output, so I think that it's fine.
17:54 AlexDaniel ok then
17:54 dalek doc: 979b368 | (Josh Soref)++ | htmlify.p6:
17:54 dalek doc: htmlify: do not escape :: in site local links
17:54 dalek doc: review: https://github.com/perl6/doc/commit/979b368473
17:54 dalek doc: 85bf119 | (Aleks-Daniel Jakimenko-Aleksejev)++ | htmlify.p6:
17:54 dalek doc: Merge pull request #573 from jsoref/escape
17:54 dalek doc:
17:54 dalek doc: htmlify: do not escape :: in site local links
17:54 dalek doc: review: https://github.com/perl6/doc/commit/85bf1194b0
17:56 AlexDaniel timeless++
17:57 TimToady lizmat: I'm thinking that push and take should not, by default, "dup" values, and that maybe we should have explicit variants for that behavior
17:57 lizmat TimToady: looks like take returning its parameters, is intentional:
17:57 lizmat https://github.com/rakudo/rakudo/​blob/nom/src/core/control.pm#L72
17:57 TimToady yes, it was intentionally designed that way, but from a performance standpoint it looks like a botch
17:58 lizmat ok, I'll see what breaks with take returning Nil
17:58 cognominal joined #perl6
17:58 TimToady unless we can come up with some way of efficiently returning provisional values that are simply thrown away instead of sunk
17:59 TimToady but that probably entails knowing things at compile time that we can't know
17:59 TimToady especially with late-bound methods
17:59 TimToady (like .push)
17:59 lizmat yup  :-(
18:00 TimToady so I think we have to change the default on push and take, and possibly break some code down the road
18:02 lizmat perhaps that's something we want to do in 6.d ?
18:02 TimToady nodnod
18:03 TimToady till then, maybe an explicit nosink contextualizer that we can put on hotspots
18:06 dalek doc: 8480024 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/ (8 files):
18:06 dalek doc: Change all wikipedia links from http to https
18:06 dalek doc:
18:06 dalek doc: Wikipedia is now redirecting all http requests to https. This means that any
18:06 dalek doc: current link causes an unnecessary (permanent) redirect when the user clicks
18:06 dalek doc: on it.
18:06 dalek doc:
18:06 dalek doc: The link checker also complains about it, so it is going to help with #561
18:06 dalek doc: a bit.
18:06 dalek doc: review: https://github.com/perl6/doc/commit/8480024110
18:09 AlexDaniel hehe, commit sha starts with 10 digits
18:11 mst is this *your* lucky number?
18:12 firstdayonthejob joined #perl6
18:15 xtreak joined #perl6
18:18 kaare_ joined #perl6
18:21 Zoffix m: 1e-5 .Rat.nude.say
18:21 camelia rakudo-moar 0ef135: OUTPUT«(1 99999)␤»
18:21 Zoffix m: 1e-10 .Rat.nude.say
18:21 camelia rakudo-moar 0ef135: OUTPUT«(0 1)␤»
18:21 Zoffix t' bad
18:22 a3r0 joined #perl6
18:22 huggable joined #perl6
18:31 kaare_ joined #perl6
18:32 ssotka joined #perl6
18:42 timotimo m: 1e-10 .Rat(1e-12).nude.say
18:42 camelia rakudo-moar 6a6ea4: OUTPUT«(1 10000000000)␤»
18:42 timotimo Zoffix: ^
18:42 kaare_ joined #perl6
18:43 Zoffix m: 1e-30 .Rat(1e-30).nude.say
18:43 camelia rakudo-moar 6a6ea4: OUTPUT«(0 1)␤»
18:43 Zoffix m: 1e-30 .Rat(1e-31).nude.say
18:43 camelia rakudo-moar 6a6ea4: OUTPUT«(1 999999999999999879147136483328)␤»
18:43 Zoffix Cool. Thanks.
18:49 tbrowder_ joined #perl6
18:51 a3r0 joined #perl6
18:53 timotimo yw
18:55 labster joined #perl6
18:56 Zoffix m: my $res = 1e-307 .Rat(1e-308).nude; say now - INIT now; say $res
18:56 camelia rakudo-moar 3d276a: OUTPUT«0.0014081␤(1 1000000000000000110771079106176446000223558748615​0467667406698508044529291764770372322278832331501​7823851077132899677962323824504705616308190496951​1661143497271306559270901287857258544550169416310​269916879799370916936813489325651442821434713…»
18:56 Zoffix m: my $res = 1e-308 .Rat(1e-309).nude; say now - INIT now; say $res
18:56 camelia rakudo-moar 3d276a: OUTPUT«0.00158261␤(1 1000000000000000010979063629440455417404923096773​1184633681068290315758540491149153716332897849468​8899061249669721172515611590283743140088328307009​1981460460312716645029330271856974896995885590433​38384466165001178426897626212945177628091195…»
18:56 Zoffix m: my $res = 1e-309 .Rat(1e-310).nude; say now - INIT now; say $res
18:56 timotimo m)
18:56 timotimo thanks for that
18:56 Zoffix ?
18:56 camelia rakudo-moar 3d276a: OUTPUT«(timeout)»
18:56 Zoffix Thanks for what.
18:57 Zoffix m: 1e-325 .Rat(1e-325).nude.say
18:57 camelia rakudo-moar 3d276a: OUTPUT«(0 1)␤»
18:57 Zoffix Everything in between takes forever to run (haven't waited long enough to see how long)
18:58 cognominal joined #perl6
18:58 Zoffix :o well that's a first for my box. All of spectest passed
18:59 timotimo there's an algorithm to build the rat from the num
18:59 rurban_ joined #perl6
19:02 tbrowder_ joined #perl6
19:03 rurban joined #perl6
19:06 kaare_ joined #perl6
19:06 edehont joined #perl6
19:07 _mg_ joined #perl6
19:13 tbrowder_ joined #perl6
19:20 lizmat not sure this was mentioned here before, but if you have questions for the Q&A session with TimToady at YAPC::NA:
19:20 lizmat https://docs.google.com/forms/d/1khj-weGLFmQvXBA8​SrH6i9vlLnflVCuqgfGUFyWTbBw/viewform?c=0&amp;w=1
19:25 tbrowder_ joined #perl6
19:31 girafe joined #perl6
19:34 rurban joined #perl6
19:35 rurban joined #perl6
19:36 rurban joined #perl6
19:39 BenGoldberg joined #perl6
19:46 BenGoldberg joined #perl6
19:51 Zoffix tbrowder, it's unmerged yet, but if you're curious of the behaviour my changes to is-approx bring, it's here: https://github.com/rakudo/rakudo/pull/783
19:54 zacts joined #perl6
19:54 jjido joined #perl6
19:56 rurban joined #perl6
20:03 AlexDaniel Zoffix++
20:06 nchambers joined #perl6
20:16 rurban1 joined #perl6
20:16 AlexDaniel hehe, well, that's better: https://github.com/perl6/doc/issues/561
20:22 yqt joined #perl6
20:28 rurban joined #perl6
20:32 raoulvdberge joined #perl6
20:46 rurban joined #perl6
20:49 dogbert17 dramatic Russian equalizer during overtime
20:52 dalek doc: 11d00c5 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/ (4 files):
20:52 dalek doc: Fix some links
20:52 dalek doc:
20:52 dalek doc: This is going to help with #561 a bit.
20:52 dalek doc:
20:52 dalek doc: There are probably better ways to fix these links, but that's good enough.
20:52 dalek doc: review: https://github.com/perl6/doc/commit/11d00c5d19
20:52 literal should performance issues be reported to rt.perl.org, or are they expected still?
20:53 lizmat literal: such as ?
20:53 literal &foo.assuming() is really slow
20:53 lizmat ah, yes, was looking at that code the other day
20:54 lizmat basically, it's slow because it's using EVAL internall  :-(
20:55 literal I see
21:02 lizmat literal: wouldn't mind seeing an RT ticket for it, because that would need to be solved sooner or later
21:04 literal alright
21:05 mr-foobar joined #perl6
21:10 jjido joined #perl6
21:21 rurban joined #perl6
21:22 rurban joined #perl6
21:22 dalek doc: ae610cb | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/ (3 files):
21:22 dalek doc: Fixed some links (underscores instead of spaces)
21:22 dalek doc:
21:22 dalek doc: I am not sure why this cannot be done automatically, but this change actually
21:22 dalek doc: fixes some links (and therefore the link checker will complain less).
21:22 dalek doc: review: https://github.com/perl6/doc/commit/ae610cbe10
21:30 pmurias joined #perl6
21:32 AlexDaniel aw dammit, didn't notice that timeless++ already fixed wikipedia links
21:37 AlexDaniel timeless: are you here?
21:38 AlexDaniel timeless: my question is why change C<nl-in> to L<nl-in>?
21:38 AlexDaniel whoops, L<nl-in> to C<nl-in>
21:40 timotimo the IO::Handle page doesn't have docs for nl-in or nl-out
21:40 timotimo or much of anything
21:40 timotimo that could be a/the reason
21:41 AlexDaniel but just because something is not documented does not mean that we should remove the link? :)
21:41 AlexDaniel there's a ticket by the way: https://github.com/perl6/doc/issues/484
21:41 timotimo oh, i see
21:43 AlexDaniel OK then I'll just cherry-pick the rest
21:47 parabolize I'm not very familiar with PODs but could we have the link in the text below the code? Something like `Here, we are calling method L<IO::Handle#nl-in>`. This was one of the first pages I read after the intro and the `$*IN.ln-in` confused me pretty good.
21:48 AlexDaniel parabolize: sure, feel free to do that
21:49 dalek doc: a638675 | (Josh Soref)++ | doc/Language/5to6-nutshell.pod:
21:49 dalek doc: update perlito5 link
21:49 dalek doc: review: https://github.com/perl6/doc/commit/a6386750c6
21:49 dalek doc: d083172 | (Josh Soref)++ | doc/Type/ (3 files):
21:49 dalek doc: consistently use =head1 Methods
21:49 dalek doc: review: https://github.com/perl6/doc/commit/d083172d82
21:49 dalek doc: e120434 | (Josh Soref)++ | doc/Language/setbagmix.pod:
21:49 dalek doc: fix (.) infix link in setbagmix
21:49 dalek doc: review: https://github.com/perl6/doc/commit/e1204346e2
21:49 dalek doc: 28a028a | (Josh Soref)++ | doc/Language/faq.pod:
21:49 dalek doc: Fix linkchecker warning for rakudo-star
21:49 dalek doc:
21:49 dalek doc: This assumes that star will always be a directory, but that seems reasonable
21:49 dalek doc: review: https://github.com/perl6/doc/commit/28a028a9a1
21:50 AlexDaniel hm, somehow I feel like there was a better way to do that
21:58 kalkin- joined #perl6
21:58 Zoffix What's the warning? :)
21:59 AlexDaniel ?
22:00 rurban joined #perl6
22:00 Zoffix [17:49:08] <dalek> doc: 28a028a | (Josh Soref)++ | doc/Language/faq.pod: [17:49:09] <dalek> doc: Fix linkchecker warning for rakudo-star
22:00 Zoffix I figured you were talking about that....
22:01 * Zoffix goes back to killing people....
22:01 AlexDaniel Zoffix: no, but just in case you're wondering: the warning was about no trailing /
22:03 niceperl joined #perl6
22:05 dalek doc: 5e8cf95 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/5to6-nutshell.pod:
22:05 dalek doc: Link NYI
22:05 dalek doc: review: https://github.com/perl6/doc/commit/5e8cf95c88
22:12 donaldh joined #perl6
22:19 dalek doc: 89d368d | (Josh Soref)++ | doc/Language/5to6-nutshell.pod:
22:19 dalek doc: Links to speculations
22:19 dalek doc: review: https://github.com/perl6/doc/commit/89d368d3fa
22:22 huggable joined #perl6
22:22 AlexDaniel .tell timeless This leaves us with no open pull requests from you :) Time to submit new ones, perhaps? Thank you for your efforts!
22:22 yoleaux AlexDaniel: I'll pass your message to timeless.
22:22 masak 'night, #perl6
22:23 Zoffix night
22:36 dalek doc: 707e63e | (Zoffix Znet)++ | doc/Language/testing.pod:
22:36 dalek doc: Fully document is-approx from Test.pm6
22:36 dalek doc:
22:36 dalek doc: This updates tbrowder++ effort to document this sub, to reflect the new behaviour
22:36 dalek doc: of is-approx merged in Rakudo commit bb165a577d63e8c669c0bd19fee575e6be12776f
22:36 dalek doc: review: https://github.com/perl6/doc/commit/707e63e082
23:01 DarthGandalf joined #perl6
23:30 RabidGravy yawn
23:33 labster joined #perl6
23:37 dalek doc: 8079e0b | util++ | doc/ (6 files):
23:37 dalek doc: Fix typos.
23:37 dalek doc: review: https://github.com/perl6/doc/commit/8079e0bfbb
23:42 dalek doc: e0c5bd6 | util++ | doc/ (2 files):
23:42 dalek doc: Fix more typos.
23:42 dalek doc: review: https://github.com/perl6/doc/commit/e0c5bd6fe1

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

Perl 6 | Reference Documentation | Rakudo