»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! Set by moritz on 22 December 2015. |
|||
00:03
zachk joined
00:06
cozachk left
00:10
cozachk joined
00:14
zachk left
00:21
mcmillhj joined
00:26
mcmillhj left
00:31
AlexDaniel left
00:34
mcmillhj joined
00:37
rindolf left
00:38
mcmillhj left
00:44
aborazmeh joined,
aborazmeh left,
aborazmeh joined
00:49
mcmillhj joined
00:54
mcmillhj left
01:08
mcmillhj joined
01:10
Relampago joined
01:11
Relampago left,
pharv left
01:12
Relamp joined
01:13
mcmillhj left,
comborico1611 left
01:15
Relamp left
01:18
simpleseeker left
|
|||
Geth | doc: Kaiepi++ created pull request #1941: Document NativeCall explicitly-manage subroutine |
01:18 | |
01:20
zachk joined
01:22
cog__ joined
01:23
lizmat_ joined,
lizmat left,
cozachk left
01:25
cog_ left
01:44
pilne left
01:46
ilbot3 left
01:54
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:01
mcmillhj joined
02:03
zachk left
02:06
mcmillhj left
02:07
Actualeyes left
02:45
mcmillhj joined
02:49
ufobat_ joined
02:50
mcmillhj left
02:51
vcv joined
02:52
ufobat left
02:53
vcv left
02:56
mcmillhj joined
02:59
eliasr left
03:00
aborazmeh left
03:01
mcmillhj left
03:13
mcmillhj joined
03:18
mcmillhj left
03:26
w_richard_w1 joined
03:27
pharv joined
03:28
mcmillhj joined
03:29
w_richard_w left
03:32
pharv left
03:33
mcmillhj left
03:47
mcmillhj joined
03:48
releasable6 left,
releasable6 joined,
ChanServ sets mode: +v releasable6
03:52
mcmillhj left
03:57
wamba joined
03:58
Actualeyes joined
04:06
mcmillhj joined
04:11
mcmillhj left
04:16
khw left
04:18
mcmillhj joined
04:22
mcmillhj left
04:29
mcmillhj joined
04:34
mcmillhj left
04:40
mcmillhj joined
04:45
mcmillhj left
04:49
xtreak joined
04:50
espadrine left
04:59
xtreak left
05:02
xtreak joined
05:10
mcmillhj joined
05:11
xtreak_ joined
05:13
wamba left
05:14
xtreak left
|
|||
Geth | ecosystem/mryan-new-module: e2de21b6ee | (Martin Ryan)++ (committed using GitHub Web editor) | META.list Added Slang-AltTernary Playing with Slangs by adding an alternative ternary operator |
05:14 | |
05:15
mcmillhj left
|
|||
Geth | ecosystem: mryan++ created pull request #394: Added Slang-AltTernary |
05:15 | |
geekosaur | alt-tern-ative? | 05:20 | |
05:23
espadrine joined
05:25
sauvin joined
05:26
lalitmee joined
05:28
pharv joined
05:29
mcmillhj joined
05:32
pharv left
05:35
mcmillhj left
05:44
mcmillhj joined
05:48
mcmillhj left
05:58
mryan50 joined
06:00
mryan50 left
06:01
mryan joined,
notostraca joined,
mcmillhj joined
06:02
wamba joined,
TEttinger left,
domidumont joined
06:03
notostraca is now known as TEttinger
|
|||
Geth | doc: 50f17e4357 | (Ben Davies)++ | doc/Language/nativecall.pod6 Document NativeCall explicitly-manage subroutine |
06:03 | |
doc: 1d3855e503 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/nativecall.pod6 Merge pull request #1941 from Kaiepi/explicitly-manage Document NativeCall explicitly-manage subroutine Thanks all! |
|||
synopsebot | Link: doc.perl6.org/language/nativecall | ||
06:07
mcmillhj left
06:08
domidumont left
06:09
domidumont joined
06:15
espadrine left
|
|||
mryan | geekosaur: I guess you could put it that way | 06:17 | |
06:18
mcmillhj joined
06:23
mcmillhj left
06:33
mcmillhj joined
|
|||
mryan | Is someone here able to help me with getting my module into the ecosystem? | 06:36 | |
06:37
mcmillhj left
|
|||
El_Che | I am on the train (so connection is spotty, but shoot) | 06:38 | |
moritz | mryan: if you tell us where you're stuck, we can try | 06:39 | |
mryan | I was trying to follow zoffix’s instructions here: github.com/zoffixznet/perl6.party/...hursday.md | 06:40 | |
I stupidly failed to put a source_url in META6.json, so travis told me: travis-ci.org/perl6/ecosystem/builds/368478241 | 06:41 | ||
So, I updated META6.json, pushed to github and now …. ?? | |||
06:45
domidumont left,
domidumont joined
06:46
mcmillhj joined
|
|||
moritz | now we merge the PR | 06:46 | |
Geth | ecosystem: 2a28e0fbe5 | (Martin Ryan)++ (committed by Moritz Lenz) | META.list Added Slang-AltTernary Playing with Slangs by adding an alternative ternary operator |
||
moritz | unfortunately travis doesn't pick up on your changes because it's in different repo | 06:47 | |
06:48
darutoko joined
06:50
mcmillhj left
06:56
mcmillhj joined
|
|||
mryan | ok.. so, there’s nothing I need to do? | 06:58 | |
moritz | check in two hours or so if the module shows up on modules.perl6.org | 06:59 | |
07:01
mcmillhj left
|
|||
mryan | Many thanks. | 07:03 | |
moritz | in fact, it shows up already | 07:06 | |
07:09
mcmillhj joined
07:14
mcmillhj left
|
|||
mryan | \o/ How do I classify it into the ‘slang’ category | 07:14 | |
moritz | mryan: you can put tags somewhere in the META6.json | 07:15 | |
docs.perl6.org/language/modules.html search for "tags" | |||
including the quotes | |||
07:21
lalit joined
07:23
lalit left,
robertle joined,
lalit joined
07:24
lalitmee left
07:25
lalit is now known as lalitmee
07:26
dakkar joined
07:28
mcmillhj joined
07:29
pharv joined
07:32
mcmillhj left
07:34
pharv left
07:41
mcmillhj joined
07:45
Guest629 joined,
AlexDaniel joined
07:46
mcmillhj left
07:49
mryan left
08:00
mcmillhj joined
08:01
lalitmee left
08:05
mcmillhj left,
avalenn left
08:07
avalenn joined
08:11
noganex left,
zakharyas joined
08:19
mcmillhj joined
08:20
zakharyas left
08:24
zakharyas joined
08:25
rindolf joined,
mcmillhj left
08:28
noganex joined
08:30
wamba left
08:36
mcmillhj joined
08:39
xtreak_ left
08:40
mcmillhj left
08:54
mcmillhj joined
08:59
mcmillhj left
09:05
john_parr left
09:09
xtreak joined
09:13
mcmillhj joined
09:15
pecastro_ joined
09:17
mcmillhj left
09:18
pecastro left
|
|||
buggable | New CPAN upload: List-SomeUtils-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/List::SomeUt...:ELIZABETH | 09:18 | |
09:20
pmurias joined
09:21
markong joined
09:23
scimon joined
09:27
mcmillhj joined
09:32
mcmillhj left
09:33
w_richard_w1 left
09:36
domidumont left
09:37
domidumont joined
09:42
mcmillhj joined
09:47
mcmillhj left,
wamba joined
09:51
TEttinger left
09:59
mryan joined
10:01
mcmillhj joined
10:05
mcmillhj left
|
|||
jkramer | How would I go about implementing this in Perl 6? open PAGER, "| $ENV{PAGER}"; say PAGER rand(10000) for(1..20) | 10:10 | |
I tried it like this but it doesn't work the same way. paste.pound-python.org/raw/YjOdQHt...Hkj4GsOuT/ | |||
That is, less should be run and display whatever I write to its pipe, then when quitting less the program should continue as normal. | 10:11 | ||
I also tried Proc with :in(True) and writing to $p.in, but it seems like that is blocking completely until the Proc finished, so I can't even write to its pipe after starting it, is that correct? | 10:12 | ||
Oh wait I think I got it | 10:14 | ||
This seems to work: paste.pound-python.org/raw/jMvBRpA...y5RZVOs4t/ | 10:15 | ||
10:16
mcmillhj joined
10:17
mryan left
10:21
mcmillhj left
|
|||
Geth | doc: 928050cb09 | (JJ Merelo)++ | doc/Language/modules-core.pod6 Adds information on Installation And, along with it, some other `CompUnit` classes in the same source file. This would do with yet another 3-figures issues, closes #502 |
10:21 | |
synopsebot | Link: doc.perl6.org/language/modules-core | ||
10:24
jmerelo joined
|
|||
jkramer | m: say shell('cat', :in(True)).in.WHAT | 10:25 | |
camelia | shell is disallowed in restricted setting in sub restricted at src/RESTRICTED.setting line 1 in sub shell at src/RESTRICTED.setting line 15 in block <unit> at <tmp> line 1 |
||
jkramer | Meh | ||
Shouldn't that be an IO::Pipe? That line above says (Pipe), which I can't find docs for | |||
jnthn | .WHAT shows the short name; use .WHO to get the full one | 10:26 | |
AlexDaniel | try this: my $p = Proc::Async.new: ‘less’, :w; start { sleep 2; await $p.put: ‘hello world’; $p.close-stdin }; react { whenever $p.start { say ‘pager closed’ } } | ||
evalable6 | hello world pager closed |
||
AlexDaniel | oh lol evalable6 | ||
xD | |||
xDD | |||
jkramer | jnthn: Ah thanks, silly me | 10:27 | |
AlexDaniel | I added “try this:” on purpose thinking it will not compile :D | ||
try this: say 42 | 10:28 | ||
evalable6 | 42 | ||
AlexDaniel | heh | ||
10:28
brrt joined,
mcmillhj joined
|
|||
AlexDaniel | jkramer: so, does that work? ↑ | 10:31 | |
jkramer | AlexDaniel: Oh sorry I didn't try yours, I figured out a solution with Proc: paste.pound-python.org/raw/jMvBRpA...y5RZVOs4t/ | 10:32 | |
AlexDaniel | huggable: pager :is: my $p = Proc::Async.new: ‘less’, :w; start { sleep 2; await $p.put: “hello world $_” for ^50; sleep 3; $p.close-stdin }; react { whenever $p.start { say ‘pager closed’ } } | ||
huggable | AlexDaniel, Added pager as my $p = Proc::Async.new: ‘less’, :w; start { sleep 2; await $p.put: “hello world $_” for ^50; sleep 3; $p.close-stdin }; react { whenever $p.start { say ‘pager closed’ } } | ||
jkramer | Although now I'm having different proglems :) | ||
m: IO::Pipe.new.close | |||
camelia | IO::Pipe is disallowed in restricted setting in sub restricted at src/RESTRICTED.setting line 1 in method new at src/RESTRICTED.setting line 32 in block <unit> at <tmp> line 1 |
||
jkramer | Argh | ||
brrt | say, what's the perl6 way to specify a character class | 10:33 | |
jkramer | That tells me "Required named parameter 'on-close' not passed" but there's no such parameter here: docs.perl6.org/type/IO::Pipe#method_close | ||
jnthn | brrt: <[0..9A..Fa..f]> | ||
AlexDaniel | jkramer: please use `run` instead of `shell` at least | ||
jkramer: otherwise you'll have shell injection through SHELL env variable | |||
10:34
mcmillhj left
|
|||
jnthn | jkramer: Are you sure it's not IO::Pipe.new's constructor that's getting unhappy? | 10:34 | |
AlexDaniel | not necessarily worse than being able to point it to any other executable, but still | ||
jkramer | AlexDaniel: Yeah I know, for now I'm just trying to make it work somehow :) | ||
jnthn | I'm pretty sure just creating an IO::Pipe instance directly won't do anything useful | ||
jkramer | jnthn: That was just to reproduce the problem, the original code that causes this is: dpaste.com/37ZEW0P.txt | 10:35 | |
Aaaaaah ok | 10:37 | ||
brrt | thanks jnthn | ||
jkramer | No wait. Well it should be $.close, not .close. But even with that fixed I'm getting the same error | ||
Apparently it has nothing to do with the .close call after all. -_- | 10:39 | ||
Geth | doc: JJ self-assigned Rules for escaping characters in enumerated character classes could be clearer github.com/perl6/doc/issues/1146 751d7c273b | (Jonas Kramer)++ | doc/Type/Any.pod6 |
10:41 | |
brrt | I was kind-of sceptical of perl6 grammars; having actually used them in the last week or so, they are a wonderful feature | ||
jkramer | m: class Oi { method DESTROY { say "destroyed" } }; my $x = 123; { temp $x = Oi.new; say $x }; say $x; | ||
camelia | Oi.new 123 |
||
jkramer | Doesn't temp $x not get destroyed when it leaves the scope/gets reset to its earlier value? | 10:42 | |
timotimo | it does, but only when GC runs | 10:43 | |
Altreus | isn't that what happened? ;s | ||
oh, no "destroyed" I see | |||
jkramer | Hmm, is there a different method I can use that gets run when leaving the objects scope? | 10:44 | |
timotimo | you can use a LEAVE phaser or a "will leave" trait | ||
10:45
jmerelo left
10:50
MasterDuke left
|
|||
jkramer | The LEAVE phaser has to be in the block, not in the object right? | 10:51 | |
10:52
wamba left
|
|||
jkramer | "will leave" seems to be run as soon as the variable originally leaves its original scope | 10:54 | |
11:10
zakharyas left
|
|||
timotimo | that's right | 11:11 | |
we don't do reference counting - which would allow timely destruction - among other things because getting good performance in a multithreaded setting is extremely hard to do if you have to modify every object you touch every time you shuffle it around in memory | 11:12 | ||
jkramer | Hmm so there's no way to automatically close the handle as soon as it leaves the scope? | 11:20 | |
timotimo | github.com/zoffixznet/perl6-Trait-IO | 11:21 | |
see if this helps your use case | |||
jkramer | That actually looks exactly like what I need :) | 11:22 | |
Oh wait, probably not. I guess that also closes the handle in the scope where it was created? | 11:23 | ||
timotimo | yes, just like a LEAVE phaser | 11:24 | |
if you need a different scope, you can always declare the variable in another place from where you assign to it | |||
not sure how auto-close deals with leaving the scope when you didn't assign to the variable yet, though | |||
masak | there's only one way to find out! :D | ||
jkramer | Well what I actually want to do is this: paste.pound-python.org/raw/9OijmFE...tQU8D2yg7/ | 11:28 | |
But I guess it's not possible without having the user taking care of stuff themseves | 11:29 | ||
+l | |||
timotimo | i would recommend having your user pass a closure to your pager sub | ||
11:29
Actualeyes left
|
|||
timotimo | then you can also set $*OUT for them | 11:30 | |
11:30
pharv joined,
wamba joined
|
|||
jkramer | Hmm year that would be an option | 11:31 | |
11:35
pharv left
11:37
HaraldJoerg joined
|
|||
synopsebot | Link: doc.perl6.org/type/Any | ||
11:40
brrt left
|
|||
timotimo | or you could ask the user to give a supply, which you can use in a react block and close the process/handle when it finishes | 11:42 | |
11:46
mryan joined
11:47
Guest629 left
11:52
xtreak left
11:53
wamba left
11:57
giraffe left
11:58
wamba joined,
wamba left
12:08
brrt joined
|
|||
jkramer | I'll figure something out tomorrow, my head is disfunctional today :( | 12:08 | |
12:11
giraffe joined
12:19
HaraldJoerg left,
HaraldJoerg1 joined
12:27
zakharyas joined
12:50
mcmillhj joined
12:58
athenot joined
13:00
vcv joined
13:06
wamba joined
13:07
athenot_ joined
13:08
athenot left
13:11
lizmat_ left
13:13
lizmat joined
13:14
scimon left
13:15
scimon joined
13:22
Herby_ left
13:26
araraloren joined
13:28
HaraldJoerg1 left
13:29
vcv left
13:30
vcv joined
13:31
Herby_ joined
|
|||
Herby_ | o/ | 13:31 | |
13:31
zacts left
|
|||
timotimo | o/ | 13:31 | |
13:32
scimon left
13:34
Kaffe_ is now known as Kaffe
|
|||
Herby_ | timotimo: how goes it? | 13:35 | |
timotimo | eh, could be better. how about you? | ||
Herby_ | trying to wake up, haven't had any coffee yet | ||
timotimo: other than perl 6, what other languages do you enjoy working with? | 13:37 | ||
are you a p5 guy by trade? | |||
unclechu | hey guys, is any compilation to javascript available for today? is there some tutorial? | ||
timotimo | i used to be a pythonista before i came over directly to perl6 | 13:38 | |
knowing perl6 well tends to ruin your enjoyment of other languages :D | |||
13:38
lizmat left
|
|||
timotimo | unclechu: there's perlito6 which has very limited language support, and there's the rakudo-js project that's getting better and better all the time; i think it's mostly tested with nodejs rather than in-browser code, though? | 13:39 | |
Juerd | timotimo: How was your journey into timtowtdi land? | 13:43 | |
timotimo | wondrous | ||
i went from "lol perl executable line noise silly language for prehistoric coders" to "holy crap this perl 6 stuff is gold" in a manner of days | 13:44 | ||
Juerd | Perl 5 is pretty good too, but Perl 6 is so much fancier. | 13:45 | |
timotimo | yeah, i haven't touched perl 5 yet | ||
from the "how to get from perl 5 to perl 6" documents i don't think i actually want to touch perl 5 any time soon :P | |||
Juerd | I come from Perl 5, and still write Perl 5 for production purposes because Perl 6 doesn't fit my needs yet, but I'm patiently waiting until that happens :) | 13:46 | |
timotimo | i hope you'll be able to give us regular reports on what is holding you back | ||
Juerd | Perl 5 and Python are on par, so if you know one and don't have to work with the other, it'd be a waste of time. | ||
Memory use and sheer performance, basically. In every single one of the projects where I get to choose the language, those are vital. | 13:48 | ||
araraloren | And even better we can use Perl5 module in Perl6 :) | ||
Juerd | timotimo: I've taken a completely passive approach to Perl 6 because I lack time and skills to improve things myself, but I keep running my own canary to see the progress :) | 13:50 | |
Its been at 5.7 seconds for a long time though. It'll scoot ahead when someone starts working on regex performance :D | |||
13:51
mryan left
|
|||
Juerd | The Perl 5 equivalent is at 0.3 seconds | 13:51 | |
s/Its/It's/ | |||
13:51
scimon joined
|
|||
timotimo | can you make public the regexes and test data you have? | 13:53 | |
13:53
sharksoft joined
|
|||
sharksoft | does anybody know if there's a P6 interface to the GSL laying around somewhere? | 13:54 | |
araraloren | I think we don't have one | 13:57 | |
sharksoft, instead, I recommend you using Inline::Perl5 | 13:58 | ||
Juerd | timotimo: It is already. It's t/regex.t in github.com/Juerd/p6-mqtt | ||
timotimo | ah, mqtt | ||
Juerd | regex.t doesn't do any network stuff | 13:59 | |
timotimo | that's the one that takes 5.7 seconds? | ||
Juerd | Yep | ||
The function that converts an mqtt pattern into a regex can probably be made faster by doing that in a different way, but I'd consider using nqp or ugly index/substr scanning a form of cheating because I'd never bother with that in other code either | 14:00 | ||
github.com/Juerd/p6-mqtt/blob/mast...pm#L15-L38 # definitely not the fastest implementation :) | |||
timotimo | have you tried EVAL instead of /<$regex>/? | 14:09 | |
14:13
FROGGS joined
|
|||
timotimo | that seems slower somehow | 14:13 | |
ah, my moar was unoptimized | 14:14 | ||
4.9s instead of 5.6s; not as much as i had hoped | 14:16 | ||
the profiler is extraordinarily unhappy with this code :| | 14:22 | ||
14:23
Actualeyes joined
|
|||
mspo | is anyone working on istrumenting traces for moarvm via eBPF? | 14:25 | |
I think they would be similar to being DTrace friendly | |||
14:29
Juerd_ joined,
khw joined
14:31
Juerd_ is now known as Juerd
|
|||
moritz | maybe ask in #moarvm? | 14:33 | |
14:39
FROGGS left
14:46
stux|away left
14:55
john_parr joined
14:57
araraloren left
15:04
MilkmanDan left
15:06
brrt left,
brrt joined
15:16
domidumont left
15:24
|Sno| left
15:27
sno joined
15:29
wamba left,
sharksoft left,
vcv left
15:31
brrt left
15:35
lizmat joined
15:40
robertle left
15:41
vcv joined
15:44
scimon left
|
|||
gtodd | is big-oh notation uhh something developers do all the time - like in heir sleep? | 15:48 | |
moritz | I do a rough Big-o estimtion of code as I'm writing it | 15:50 | |
*estimation | |||
gtodd | I mean I get the idea of "decomposing" an algorithm into some kind of simpler notation for assessing its efficiency but it sometimes seems like something computer science degrees like to do for other reasons | ||
sort of like lawyers tossing out a bit of Latin :-D | 15:51 | ||
moritz | when I'm writing nested loops, I ask myself how big the input lists are, and like, for two nested loops, if they are likely to be larger than 100 or so, I might start to worry | 15:52 | |
when the levels are thre, I worry earlier | |||
gtodd | moritz: ok ... so I just think of it as a way of imagining/estimating different algorithmic approaches to some problem ... I mostly get it wrong but things work out anyway :) | ||
moritz | etc | ||
gtodd | ok | 15:53 | |
I mean O(k) | 15:54 | ||
15:54
[Sno] joined,
|oLa| joined
|
|||
ufobat_ | i am about to release github.com/ufobat/p6-I18N-LangTags on cpan, updating the POD is my last todo, i think. I am looking for some feedback :) | 15:55 | |
15:58
sno left,
[Sno] left
16:00
mcmillhj left
16:02
mcmillhj joined
16:03
jmerelo joined
|
|||
Herby_ | ufobat_: I'm not too familiar with the topic but the library looks great from the point of a layman :) | 16:05 | |
Only bit of feedback I have is to toss in an Installation blurb, for those new to perl 6 | |||
ufobat_ | Herby_, you mean how to install the module should be part of the POD / README.md ? | 16:08 | |
lizmat | ufobat_: I created a PR :-) | ||
Herby_ | ufobat_: yep! | ||
ufobat_ | lizmat, that was manwars job ;-p but thank you! | 16:09 | |
Herby_, i dont know, most modules dont contain information about the installation, i think. what do you think about that jmerelo | 16:10 | ||
Herby_ | ufobat_: i was just thinking a simple: zef install I18N::LangTags | 16:11 | |
a lot of the older modules still have installation instructions using pandas | |||
ufobat_ | it woudn't hurt, right? :-) | ||
Herby_ | for rookies like me, explicit usually beats implicit :) | 16:13 | |
16:16
dakkar left
16:18
brrt joined
16:24
mcmillhj left
16:25
robertle joined
16:33
comborico1611 joined,
simpleseeker joined
16:40
mcmillhj joined
16:41
wamba joined
16:44
mcmillhj left,
sno joined
16:46
mcmillhj joined
16:48
stmuk joined
16:51
stmuk_ left
16:53
sno left
16:55
vcv left
16:56
vcv joined
16:59
domidumont joined
17:00
zakharyas left
|
|||
jmerelo | ufobat_: sorry, lost me here. What's the context? | 17:03 | |
If you are talking about describing CompUnit::Repository::Installation I just pushed this small description this morning docs.perl6.org/language/modules-co...classes%29 | 17:05 | ||
CompUnit (rakudo classes) is also now in the index | |||
17:14
pilne joined
17:19
lalitmee joined
17:21
brrt left
|
|||
Herby_ | jmerelo: the context was regarding feedback to put a "how to install this module" blurb in his README.md | 17:28 | |
something along the lines of: zef install <module-name> | 17:29 | ||
I suggested that because there are some older p6 modules floating about with installation instructions for pandas, and I figured it would avoid confusion for newcomers | |||
My first p6 module is just about ready to upload and be added to the ecosystem | 17:36 | ||
is there a good set of instructions aimed at beginners to accomplish this? | 17:37 | ||
a google search sends me to this page, which basically states this method will be deprecated: docs.perl6.org/language/modules#Up...ule_to_p6c | |||
i'm a dummy, disregard the above... | 17:38 | ||
17:45
lizmat left
17:46
lizmat joined
17:48
FROGGS joined
|
|||
jmerelo | Herby_: no, it's not going to be deprecated. That should have been fixed. It's basically doing a PR to add your module to the list. It undergoes some checks, we accept the PR, and that's it. | 17:49 | |
Just give it a go, I'll give you a hand in the PR review if needed. | |||
17:51
pharv joined
|
|||
Herby_ | jmerelo: sounds good, thanks! | 17:51 | |
jmerelo | Herby_: Zoffix had removed some false information on deprecation, but apparently not all. I'll remove that. Thanks for letting me know. | 17:52 | |
Geth | doc: 4ba024e9ae | (JJ Merelo)++ | doc/Language/modules.pod6 Removed deprecation notice for p6c |
17:54 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
jmerelo | Herby_: I also added something like that the other day. Let me check... | 17:57 | |
Yep, here docs.perl6.org/language/modules#Lo...g_modules. | |||
Herby_: that was done in the last few days, so if you looked before that it wasn't there... | 17:58 | ||
Herby_: let me know if it's OK or more is needed. | |||
Herby_ | jmerelo: will do | ||
jmerelo | Herby_: thanks :-) | 18:00 | |
ufobat_ | jmerelo, do you considder linking to docs.perl6.org/language/modules#Lo...g_modules. better then adding a small "do a zef install my::Module" to the readme.md of a module? | 18:05 | |
ufobat_ is having a sushi overdose :D | |||
jmerelo | ufobat_: no, of course not. But there was no such thing on the modules doc, so I just added it. | ||
ufobat_: anyway, it's the module's author call. It's her repository and module, after all :-) | 18:07 | ||
El_Che | jmerelo: the modules that are needed to test doc, you you always need to last version, or is the version released at rakudo monthly release date ok? | 18:08 | |
jmerelo | El_Che: the second. | ||
El_Che | do you have a list of the needed modules handy? | ||
jmerelo | El_Che: they are in the META6.json file | 18:09 | |
El_Che | of what? | ||
jmerelo | El_Che: of perl6/doc | ||
El_Che | thx | 18:10 | |
Geth | doc: Grinnz++ created pull request #1942: Fix modules link |
18:11 | |
18:12
Ven`` joined
|
|||
Geth | doc: 3e2c12e2d8 | (Dan Book)++ (committed using GitHub Web editor) | doc/Language/modules.pod6 Fix modules link |
18:12 | |
doc: bc912a3843 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/modules.pod6 Merge pull request #1942 from Grinnz/patch-1 Fix modules link That was one dumb error (mine). Thanks for fixing it! |
|||
synopsebot | Link: doc.perl6.org/language/modules | ||
Herby_ | dir | 18:16 | |
whoops | |||
18:17
pharv left
18:18
pharv joined
|
|||
ufobat_ | jmerelo, aye :-) | 18:22 | |
18:25
sno joined
18:27
sauvin left
18:32
sno left
18:36
patrickz joined
18:39
d3mon joined
18:40
Ven`` left,
d3mon left
18:42
sftp joined
18:46
domidumont left
18:48
simpleseeker left
18:49
darutoko left
18:51
jmerelo left
18:54
Ven`` joined
|
|||
El_Che | oh jmerelo is gone | 18:55 | |
19:05
simpleseeker joined
19:07
Ven` joined,
Ven`` left,
Ven`` joined
19:08
pharv left,
pharv joined
19:09
Ven`` left
19:11
lizmat left,
Ven` left
19:15
committable6 left
19:16
committable6 joined,
ChanServ sets mode: +v committable6
19:20
simpleseeker left
|
|||
comborico1611 | m: my $dashes = "+ ", "- " x 4, "+"; $dashes; | 19:22 | |
camelia | WARNINGS for <tmp>: Useless use of $dashes in sink context (line 1) Useless use of constant string "+" in sink context (lines 1, 1) Useless use of "x" in expression "\"- \" x 4" in sink context (line 1) |
||
comborico1611 | Anyways. I'm wondering why REPL only prints + when $dashes entered. | 19:23 | |
19:23
zakharyas joined
|
|||
geekosaur | I think those warnings told you | 19:25 | |
$dashes got the "+ ", the rest dropped out | |||
El_Che | mmy $dashes = "+ " ~ "- " x 4, "+"; $dashes; | 19:26 | |
m: my $dashes = "+ " ~ "- " x 4, "+"; $dashes; | |||
camelia | WARNINGS for <tmp>: Useless use of $dashes in sink context (line 1) Useless use of constant string "+" in sink context (lines 1, 1) |
||
El_Che | m: my $dashes = "+ " ~ "- " x 4, "+"; say $dashes; | ||
camelia | WARNINGS for <tmp>: + - - - - Useless use of constant string "+" in sink context (lines 1, 1) |
||
comborico1611 | For some reason I didn't get an error in my REPL. Some typo or something I don't understand. | 19:27 | |
geekosaur | you are trying to assign three things to one variable. two of them go nowhere | 19:34 | |
my <listthing> = <listthing> | |||
timotimo | the repl prints the result of the whole statement; your statement parenthesizes to be equivalent to (my $dashes = "+"), "- " x 4, "+" | 19:35 | |
so when the repl prints it, you get the content of dashes, followed by four dashes and finally a + | |||
comborico1611 | timotimo: I see! | ||
So would parens be the solution to wrap them all under $dashes? | 19:36 | ||
Eh. I'll figure it out. | 19:37 | ||
Thanks for the responses! | |||
~ the book told me : -( | 19:41 | ||
19:46
MasterDuke joined
19:48
bazzaar joined
|
|||
bazzaar | o/ perl6 | 19:50 | |
19:52
dustinm` left
|
|||
Herby_ | \o | 19:52 | |
bazzaar | I've taken an objective look at the new rakudo.org website, I like it very much, however I have a list of modifications that I feel could improve it. I'm wondering how best to convey this feedback. | 19:55 | |
moritz | start by not labeling your opinion "objective" :-) | 19:56 | |
19:56
dustinm` joined
|
|||
bazzaar | moritz: well it was objective for me, I wasn't trying to cast any aspertions by that | 19:57 | |
MasterDuke | bazzaar: probably opening an issue here github.com/perl6/rakudo.org | 19:58 | |
20:00
vcv left
|
|||
bazzaar | MasterDuke: thanks for the link, I will do that. As with a lot of these visual types of things, I was thinking a conversation might be the easiest way. | 20:01 | |
20:03
vcv joined
|
|||
El_Che | "well it was objective for me" is a contradiction in terminis :) | 20:03 | |
bazzaar: if you want to discuss it with the webdev, zoffix is often around | 20:04 | ||
20:04
zachk joined
|
|||
El_Che | bazzaar: otherwise you could comment on the ticket of the migration | 20:04 | |
20:04
zachk left,
zachk joined
20:05
Ven`` joined
|
|||
El_Che | bazzaar: actually, if you type Zoffix 3 times in a row he shows up | 20:05 | |
20:07
Zoffix joined
|
|||
bazzaar | El_Che: thanks for the advice (and for the genie-like command :-)) | 20:07 | |
El_Che | there you go :) | ||
Zoffix | bazzaar: what was it? | 20:09 | |
bazzaar: "objective" means something that isn't influenced by your tastes and opinions. I think you meant "subjective" :) | |||
El_Che | I think he rather meant "dettached" | 20:10 | |
bazzaar | Zoffix: I just worked through the pages of the rakudo.org and have some suggestions | ||
I'm a slow typer, guys | |||
Zoffix | typist :) | ||
Sure, go ahead with your suggestions. | 20:11 | ||
20:11
phdphil joined
|
|||
bazzaar | ok, ok :-) | 20:11 | |
El_Che | bazzaar: I am watching rakudo tests on travis. I am sure you're faster :) | ||
bazzaar | haha | ||
phdphil | p6: "Aab" | ||
camelia | WARNINGS for <tmp>: Useless use of constant string "Aab" in sink context (line 1) |
||
phdphil | p6: "Aab"~~m:i/(.).*$0|\d/ | ||
camelia | ( no output ) | ||
bazzaar | Zoffix: here? | 20:12 | |
phdphil | p6: ?"Aab"~~m:i/(.).*$0|\d/ | ||
camelia | ( no output ) | ||
phdphil | p6: ?"aab"~~m:i/(.).*$0|\d/ | ||
Zoffix | bazzaar: I guess | ||
camelia | ( no output ) | ||
phdphil | p6: ?("aab"~~m:i/(.).*$0|\d/) | ||
camelia | WARNINGS for <tmp>: Useless use of "?" in expression "?(\"aab\"~~m:i/(.).*$0|\\d/)" in sink context (line 1) |
||
Zoffix | phdphil: you need a `put` or `say` or something that emits some output | ||
phdphil | p6: say ?("aab"~~m:i/(.).*$0|\d/) | 20:13 | |
camelia | True | ||
phdphil | p6: say ?("Aab"~~m:i/(.).*$0|\d/) | ||
camelia | False | ||
phdphil | At last | ||
20:13
vcv left
|
|||
phdphil | Failing to understand why those two have different results, in a case-insensitive match? | 20:13 | |
bazzaar | ok, home page : insert "Rakudo Perl6" after the japanese symbol in the menu bar, that way it's in the heading of each page | 20:14 | |
home page: Remove the word "Compiler" | |||
20:15
vcv joined
|
|||
bazzaar | how am I doing? | 20:15 | |
Zoffix | poorly | ||
bazzaar | ok, if I may I'll carry on | 20:16 | |
El_Che | he has a point | ||
20:16
vcv left
|
|||
El_Che | it's not because it's a comiler that it has to be in the title | 20:16 | |
geekosaur | phdphil, because $0 means "match the exact same string", not "try to figure out what regex it would represent and match that" | ||
Zoffix | I saw no arguments for those proposals. Why do those things? | 20:17 | |
bazzaar | menu bar: change Posts to News, Files to Download, Bugs to Feedback, People to Community | ||
I'm only trying to help | 20:18 | ||
20:18
pharv left,
pharv joined
|
|||
phdphil | @geekosaur: How then to do a case insensitive match for something like A...a? Or is the only option to normalise case first? | 20:19 | |
bazzaar | Posts (News) page: change Posts to News in page body | ||
Zoffix | phdphil: looks like a bug; at least Perl 5 matches as you expect it to. I filed a bug; maybe moritz++ would know better what's going on: R#1749 | ||
synopsebot | R#1749 [open]: github.com/rakudo/rakudo/issues/1749 [regex] :i is ignored when matching capture | ||
[Coke] | p6: say ?("Aab"~~m:i/(.).*{lc $0}\d/) | 20:20 | |
camelia | False | ||
phdphil | Thank you, much appreciated | ||
[Coke] | p6: say ?("Aab"~~m:i/(.).*{uc $0}\d/) | ||
camelia | False | ||
timotimo | [Coke]: { } doesn't do any matching on its "return value", it only runs code | ||
bazzaar: i think zoffix will want not only a suggestion, but also a rationale for a proposed change | 20:21 | ||
japhb | bazzaar: Don't forget to explain *why* you think these are important changes. | ||
20:21
lalitmee left
|
|||
bazzaar | Posts (News) page: in the release announcement docs, the first paragraph has a link that takes the reader to the old files page, maybe change the link | 20:21 | |
Zoffix | bazzaar: write those down in an Issue github.com/perl6/rakudo.org/issues/new and explain why you want those changes. "Remove compiler": well, ok, why should it be removed when it's exactly that? For menu items, as I recall, longer versions made the nav too wide on smallers screens. | 20:22 | |
20:23
Zoffix left,
sno joined
|
|||
bazzaar | Zoffix : ok I'll do that, my rationale is purely to make it as user-friendly and internally consistent as possible, whilst pushing Rakudo Star to the fore. | 20:25 | |
20:25
zakharyas left
|
|||
phdphil | p6: say log(1000,10) | 20:32 | |
camelia | 2.9999999999999996 | ||
20:32
vcv joined
20:33
athenot_ left,
athenot joined
|
|||
El_Che | bazzaar: thx for the input. I think an issue is the way to go so other people can comment | 20:34 | |
bazzaar | El_Che: thanks to everyone for their input, I can see that a collaborative way is best, it's just I don't have much experience with that. I am just about to create the ticket. | 20:37 | |
El_Che | bazzaar: no, thank you. It's the way forward | 20:39 | |
20:42
pharv left,
pharv joined
20:45
simpleseeker joined
20:48
Zoffix joined
|
|||
Zoffix | phdphil: filed that one as R#1750 It's just doing log_e(1000)/log_e(10) and probably can be improved, as I don't see that precision noise in C/Perl 5. | 20:49 | |
synopsebot | R#1750 [open]: github.com/rakudo/rakudo/issues/1750 [math] &log10(x) is just a log_e(x)/log_e(10) | ||
Zoffix | phdphil: if you spot any more such things, just file a new Issue: github.com/rakudo/rakudo/issues/new I don't think this channel is monitored by devs 24/7, so some of the stuff you find might get missed. | 20:50 | |
20:50
mcmillhj left
|
|||
Zoffix | Oh, I filed the log10. I guess log(1000, 10) is meant to produce that answer :P | 20:53 | |
yeah | 20:54 | ||
20:55
Ven`` left
20:56
epony left,
ufobat_ left
20:57
rindolf left,
Ven`` joined,
wamba left
20:58
wamba joined
21:02
vcv left
|
|||
phdphil | @Zoffix: Cheers! | 21:03 | |
21:04
pharv left,
pharv joined
21:05
mcmillhj joined
|
|||
pmurias | unclechu: I'm working on the js backend, it passes a lot of tests on node.js but it's not really usable for running inside the browser just yet | 21:07 | |
21:08
patrickz left
|
|||
pmurias | unclechu: I plan on switching to making it usable for playing around with very soon (that includes a tutorial) | 21:08 | |
21:08
pharv left,
pharv_ joined
|
|||
timotimo | <3 | 21:09 | |
21:10
mcmillhj left,
releasable6 left
21:11
releasable6 joined,
|oLa| left
21:14
TEttinger joined,
lizmat joined
21:18
espadrine joined
21:20
alpha6 left,
alpha6 joined
21:21
simpleseeker left,
simpleseeker joined
21:22
mcmillhj joined
21:24
Actualeyes left
21:27
mcmillhj left
21:31
committable6 left,
committable6 joined
21:36
mcmillhj joined
21:41
HaraldJoerg joined,
mcmillhj left
21:43
simpleseeker left
|
|||
japhb | ++pmurias | 21:43 | |
21:47
mryan joined
21:50
mcmillhj joined
21:52
committable6 left
21:53
committable6 joined,
wamba left
21:54
unicodable6 left,
quotable6 left,
benchable6 left,
statisfiable6 left,
evalable6 left,
undersightable6 left,
reportable6 left,
releasable6 left,
greppable6 left,
committable6 left,
shareable6 left,
nativecallable6 left,
bisectable6 left,
coverable6 left,
squashable6 left,
bloatable6 left,
notable6 left
21:55
albongo left,
mcmillhj left
21:56
telex left,
albongo joined,
albongo left,
albongo joined
21:59
phdphil left,
gregf_ left,
telex joined,
simpleseeker joined,
epony joined
22:00
mcmillhj joined
22:05
epony left,
mcmillhj left
|
|||
Geth | museum-items: ae07c69121 | raiph++ (committed using GitHub Web editor) | 0000-Multi-Year/Apocalypses, Exegeses, and Synopses.md Create Apocalypses, Exegeses, and Synopses.md |
22:06 | |
22:06
epony joined
22:11
Ven`` left
|
|||
bazzaar | hi, for anyone who was following the rakudo.org discussion earlier, I posted this issue github.com/perl6/rakudo.org/issues/7 | 22:11 | |
El_Che | \o/ | 22:12 | |
Herby_ | bazzaar++ | ||
22:16
mcmillhj joined
22:17
Ven`` joined
22:20
mryan left
|
|||
Geth | museum-items: 8c246be91d | raiph++ (committed using GitHub Web editor) | 0000-Multi-Year/Apocalypses, Exegeses, and Synopses.md Rewrite summary w/ links to nice archive indices. |
22:20 | |
22:24
mcmillhj left
22:27
mcmillhj joined
22:33
mcmillhj left
|
|||
Zoffix | (FWIW, I'm gonna sit bazzaar's issue out; if anyone else wants to take care of it) | 22:33 | |
22:33
pmurias left
22:36
BenGoldberg joined
22:43
mcmillhj joined
22:48
mcmillhj left
22:53
mryan joined
22:54
greppable6 joined,
quotable6 joined,
bloatable6 joined,
ChanServ sets mode: +v greppable6,
ChanServ sets mode: +v quotable6,
ChanServ sets mode: +v bloatable6,
reportable6 joined,
unicodable6 joined,
benchable6 joined,
ChanServ sets mode: +v reportable6,
releasable6 joined,
ChanServ sets mode: +v unicodable6,
ChanServ sets mode: +v benchable6,
squashable6 joined,
shareable6 joined,
nativecallable6 joined,
bisectable6 joined,
committable6 joined,
notable6 joined,
evalable6 joined,
coverable6 joined
22:55
undersightable6 joined,
ChanServ sets mode: +v undersightable6,
statisfiable6 joined,
ChanServ sets mode: +v statisfiable6
23:06
Kaiepi left
23:10
mryan left
23:15
HaraldJoerg left
23:17
mryan joined
23:20
Bowlslaw left
23:31
mcmillhj joined
23:36
mcmillhj left
23:38
bazzaar left
23:45
mcmillhj joined
23:47
w_richard_w joined
23:50
mryan left,
mcmillhj left
23:51
pharv_ left
23:53
pharv joined,
Ven`` left
23:54
Kaiepi joined,
simpleseeker left
23:57
pharv left
23:58
markong left
23:59
pharv joined
|