»ö« 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:14
adadas joined
|
|||
Geth | doc: b6cd77bae8 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Array.pod6 Document .splice can take $elems larger than available |
00:17 | |
synopsebot | Link: doc.perl6.org/type/Array | ||
00:18
adadas left
00:20
f_ joined
|
|||
f_ | hello. im looking for materials and code using NN and ML in Perl. Anyone know something what should be useful? | 00:21 | |
i need it for school project to predicting petrol price | 00:22 | ||
input are financial values | 00:23 | ||
AlexDaniel | .seen DrForr | 00:29 | |
yoleaux | I saw DrForr 13 Apr 2018 14:25Z in #perl6: <DrForr> My head isn't in that space right now otherwise I'd look for possible examples... | ||
AlexDaniel | f_: maybe ask DrForr? It seems like he did this presentation not a long ago: www.youtube.com/watch?v=GI9DmIbNXrM | 00:32 | |
f_ | nice thanks | 00:34 | |
its about tensor... i dunno it will be to advanced for begineer | 00:36 | ||
i havent any idea about it | |||
only basics about neurons and these all schema how it work | |||
00:37
comborico1611_ left
00:38
itaipu left
00:41
markong left
00:45
wolfshield joined
|
|||
wolfshield | hi, i'm trying and failing to get DBIish working in the official latest rakudo star docker | 00:45 | |
keep getting DBIish: DBDish::mysql needs 'mysqlclient', not found | 00:46 | ||
have tried advice from googling, installing default-libmysqlclient-dev, without success | 00:48 | ||
buggable | New CPAN upload: p6-time-repeat-0.01.tar.gz by ARNE cpan.metacpan.org/authors/id/A/AR/....01.tar.gz | 00:52 | |
MasterDuke | wolfshield: what os? i think i saw some issue recently with libmysql vs libmariadb | 00:54 | |
wolfshield | it is debian 9 | 00:55 | |
MasterDuke | have you seen github.com/perl6/DBIish/issues/99 ? | 00:56 | |
wolfshield | yes, but apt-get install libmysqlclient20 did't find anything, and installing the mariadb-compat didn't help | 00:59 | |
i think i just found the ticket -- creating the right symlink in debian 9, as per stackoverflow.com/questions/501751...cker-image | 01:00 | ||
MasterDuke | good. i don't use DBIish myself, so you'd reached the end of any help i could give | ||
wolfshield | do you talk to dbs with perl6? | 01:01 | |
MasterDuke | nope. my perl6 is all for fun, and that hasn't involved dbs yet | 01:02 | |
wolfshield | gotcha, thanks. | ||
MasterDuke | (i do enjoy dbs, and used to use DBI in perl5 for $work years ago, just hasn't come up in perl6 yet) | 01:03 | |
01:04
f_ left
01:05
zachk left,
molaf left
01:12
wolfshield left
01:17
f_ joined,
Kaiepi joined
01:18
molaf joined,
comborico1611 left
01:27
comborico1611 joined
01:36
comborico1611 left
01:42
n0tjack left
01:47
ilbot3 left
01:56
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:03
molaf left
02:16
molaf joined
02:47
araraloren_ joined
02:57
eliasr left
03:04
softmoth left
03:07
raynold joined
03:19
lizmat left
03:25
pilne left
03:35
lizmat joined
03:45
f_ left
03:50
kaare_ joined
04:13
araraloren_ left,
araraloren_ joined
04:23
kurahaupo left
04:30
APic left
04:31
kurahaupo joined
04:32
kurahaupo left,
espadrine_ left,
kurahaupo joined
04:33
Summertime joined
04:34
kurahaupo left,
kurahaupo joined
04:36
kurahaupo_ joined
04:38
kurahaupo_ left,
kurahaupo left
04:39
kurahaupo joined,
APic joined
04:40
shareable6 left
04:55
Birdman joined
05:01
Birdman_ joined
05:05
Birdman_ left
05:13
Birdman left
05:15
Jay__ joined
|
|||
Jay__ | Who am I supposed to be chatting with? | 05:17 | |
05:23
f_ joined
05:30
Jay__ left
|
|||
TimToady | .oO("Not I, said the pig.") |
05:36 | |
05:37
shareable6 joined
|
|||
donpdonp | Not I, said the caterpillar. | 05:42 | |
05:52
isBEKaml left
06:42
jmerelo joined
07:05
raschipi joined
07:14
Aceeri_ joined
07:23
labster joined
07:24
wamba joined
07:25
kaare__ joined,
kaare_ left
07:31
raschipi left
|
|||
jmerelo | Another study of the repo: issue age, closed or not, including boxplot github.com/JJ/TPF-Grant/blob/maste...sorted.png | 07:34 | |
no-label issues are closed fastest, on median on 1/10th of a day. Next go "build", which take 10 days. "Wishlist" are rarely closed, and they are on average 500 days | 07:37 | ||
Data, perl 6 script to extract it, R script to plot it, and everything are in the repository. | 07:39 | ||
07:39
darutoko joined
07:40
rindolf joined
07:51
domidumont joined
07:58
domidumont left,
domidumont joined
08:28
rindolf left
08:35
rindolf joined
|
|||
Geth | doc: JJ self-assigned Docs homepage needs banner linked to perl6.org github.com/perl6/doc/issues/1954 bf32becfb3 | (JJ Merelo)++ | 2 files This is less than issue #1954 requested, a banner, but we have the banner linked to the documentation homepage already and this would imply a major redesign, which is not right now in the plans (AFAIK). Closes #1954 |
08:39 | |
09:09
pmurias joined
|
|||
pmurias | random though about infix:div, why does it round down not towards 0? | 09:10 | |
jmerelo | pmurias: I guess div does not round, it returns the integer part of the result | 09:22 | |
p6: say -4 div 3 | |||
camelia | -2 | ||
jmerelo | pmurias: Hum. That's an error. | 09:23 | |
p6: say 4 div 3 | |||
camelia | 1 | ||
jmerelo | Although it behaves according to spec: localhost:3000/routine/div | ||
Sorry, that would be docs.per6.org instead... | 09:24 | ||
Python behaves in the same way... | 09:25 | ||
09:27
kurahaupo_ joined
|
|||
jmerelo | And ruby... | 09:28 | |
09:29
kurahaupo left
09:30
kurahaupo joined
09:31
rindolf left,
kurahaupo_ left
|
|||
jmerelo | p6: say -(4 div 3) | 09:32 | |
camelia | -1 | ||
09:32
kurahaupo_ joined
09:35
kurahaupo left
09:38
isBEKaml joined
|
|||
jmerelo | pmurias: asked in StackOverflow stackoverflow.com/questions/504334...round-down | 09:39 | |
pmurias | I'm mostly asking about this because it rounds to zero in JavaScripts new BigInt implementation and I have to explicitly implement the round down | 09:44 | |
version | |||
jmerelo | pmurias: so not every language behaves that way. | ||
09:44
lizmat left
09:48
kurahaupo joined
09:50
kurahaupo_ left
09:53
kaare__ is now known as kaare_
|
|||
pmurias | and % round towards 0, this is to match well-established computer conventions | 10:12 | |
a quote from the JavaScript BigInt proposal | |||
Guido has wrote a blog post why Python rounds down | |||
jmerelo | pmurias: python-history.blogspot.com.es/2010...loors.html | 10:19 | |
pmurias: it has some vague references to Python arithmetic | |||
pmurias: but the argument he uses about dates before 1970 is patently false. You divide a negative epoch by number of seconds, you'll round the number of days up, not down. | 10:20 | ||
10:21
kurahaupo_ joined
|
|||
Geth | doc: d5d51fe6ac | (JJ Merelo)++ | doc/Type/Mu.pod6 Clarifies relationship between does and isa and ~~ This closes #1556. Actually erases the equivalence between isa and ~~, because it's simply not true. |
10:21 | |
synopsebot | Link: doc.perl6.org/type/Mu | ||
10:22
kurahaupo left
10:23
kurahaupo joined
10:25
kurahaupo_ left
10:28
shareable6 left
10:42
HaraldJoerg joined
10:43
ChoHag left
10:44
raynold left,
ChoHag joined
10:45
isBEKaml left
10:47
lizmat joined
11:01
markong joined
11:02
Aceeri_ left
|
|||
buggable | New CPAN upload: P5fc-0.0.5.tar.gz by ELIZABETH modules.perl6.org/dist/P5fc:cpan:ELIZABETH | 11:02 | |
New CPAN upload: P5fileno-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/P5fileno:cpan:ELIZABETH | 11:12 | ||
New CPAN upload: P5getgrnam-0.0.5.tar.gz by ELIZABETH modules.perl6.org/dist/P5getgrnam:cpan:ELIZABETH | |||
New CPAN upload: P5getnetbyname-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/P5getnetbyna...:ELIZABETH | 11:22 | ||
11:26
shareable6 joined,
rindolf joined
|
|||
buggable | New CPAN upload: P5getpriority-0.0.4.tar.gz by ELIZABETH modules.perl6.org/dist/P5getpriorit...:ELIZABETH | 11:32 | |
New CPAN upload: P5getprotobyname-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/P5getprotoby...:ELIZABETH | |||
11:39
jmerelo left
|
|||
Geth | doc: 8a6e2df28a | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod6 add example of a multi-line comment |
11:39 | |
synopsebot | Link: doc.perl6.org/language/pod | ||
11:44
lizmat left
11:51
espadrine_ joined
|
|||
buggable | New CPAN upload: P5getpwnam-0.0.4.tar.gz by ELIZABETH modules.perl6.org/dist/P5getpwnam:cpan:ELIZABETH | 11:52 | |
11:54
wamba left
12:08
slayergames joined
12:18
pilne joined
12:30
slayergames left
12:43
slayergames joined,
eliasr joined
12:51
espadrine_ left
13:01
slayergames left
13:02
shareable6 left
13:09
lizmat joined
13:11
HaraldJoerg1 joined
13:12
HaraldJoerg left
13:13
atroxaper joined
|
|||
f_ | any one interesing in writing trading bot with machine learning strategy and TA indicator for cryptocurency exchnge? | 13:18 | |
13:19
espadrine_ joined
13:23
wamba joined
|
|||
moritz | you need to add "big data" to be fully buzzword compliant :-) | 13:25 | |
tadzik | and "secured by blockchain" :P | 13:29 | |
13:29
lizmat left
|
|||
moritz | that's implied by cryptocurency, no? | 13:30 | |
13:30
mcmillhj joined
|
|||
tadzik | hm, I guess | 13:32 | |
13:32
kaare__ joined
13:33
kaare_ left
|
|||
moritz | I guess you could have a centralized crypto currency without a blockchain | 13:33 | |
13:41
amishProg joined
|
|||
hahainternet | at that point you just have SSL certificates | 13:41 | |
and some number assigned to it | |||
El_Che | have perl6 emulate a quantum computer | 13:48 | |
that should speed the mining (and breaking) up | |||
MasterDuke | but first you need to write the perl6 compiler in rust, it'll be safer and faster | 13:50 | |
14:00
shareable6 joined,
ChanServ sets mode: +v shareable6
14:01
amishProg left
|
|||
pmurias | MasterDuke: MoarVM could have been theoretically written in Rust | 14:03 | |
MasterDuke: not encouraging that as it's a ton of effort with little promise of any super awesome results | 14:04 | ||
14:05
kaare__ is now known as kaare_
|
|||
El_Che | pmurias: promise of safety | 14:06 | |
rust looks more like a C++ competitor than a C one | |||
14:07
lookatme left
14:08
lookatme joined,
ExtraCrispy left
14:10
mcmillhj left
|
|||
MasterDuke | i don't have any particular interest in using rust, and there are lots of jokes to be made about the rust evangelism squad, but it does seem like a pretty decent language for what it's targeting | 14:13 | |
pmurias | El_Che: what I mean MoarVM-in-rust would be basically more with different tradeoffs for development, when there are other Perl 6 backends I (and others) could spend time on | 14:15 | |
El_Che: the js backends will be able to put Perl 6 in some new interesting places, a GraalVM potentially overs very likely super good performance and easy interop with JVM-stuff and other dynamic languages | 14:17 | ||
El_Che | yes | 14:18 | |
rust made sense as in replacing the C backend, not in addition | |||
MasterDuke | pmurias: speaking of GraalVM, do you have any particular plans for it? | ||
El_Che | things like JS provides advantages as it's an other platform | 14:19 | |
f_ | data from blockchain is unusable ;p | 14:20 | |
pmurias | MasterDuke: I have a branch in nqp that can run 'nqp::say("Hello World")' on it | 14:21 | |
MasterDuke: github.com/perl6/nqp/tree/truffle | 14:22 | ||
MasterDuke: I plan to explore it some more, and see if/how I can get people exited enough to help | 14:23 | ||
MasterDuke: not sure how I'll split efforts towards it and the js one (but working on it when I'm stuck on the js one instead of just getting discouraged towards everythings seems like one strategy) | 14:24 | ||
MasterDuke | pmurias: cool. are there any clean next steps? | 14:28 | |
pmurias | MasterDuke: getting sub calls working is the next big step, a low hanging one would be adding the simple ops, like: nqp::print, nqp::add_i etc. | 14:33 | |
MasterDuke: the most important step would be figuring a strategy how to have the effort be easy/fun to get involved with | 14:34 | ||
MasterDuke | i kind of hate to say this because documentation usually isn't that fun, but is anything written up about how to start contributing? e.g., software/environment prerequisites | 14:36 | |
pmurias | MasterDuke: not yet, but I feel too that's what's I should start working on | 14:39 | |
will start writing something up | 14:41 | ||
MasterDuke | pmurias++ | 14:42 | |
masak | I have a favor to ask #perl6 | 14:44 | |
could someone make a quine in 007? | |||
I'd prefer a minimal one, but I'll take any, really. it oughtn't be empty -- I can make that one myself | |||
it's not a contest, but whoever does this stands to be immortalized in the examples/ directory | 14:45 | ||
oh, and I'm also explicitly not asking for it to print itself out using any Qtree trickery; just a regular qune | |||
quine* | 14:46 | ||
14:51
ExtraCrispy joined
|
|||
pmurias | github.com/perl6/nqp/issues/445 # First lowest hanging of fruits truffle issue | 14:56 | |
MasterDuke: I have to get afk to visit grandparents | |||
MasterDuke | pmurias++ | 14:57 | |
14:57
skids joined
|
|||
masak | I couldn't resist making a quine myself: gist.github.com/masak/f626003cffa6...ee98c36fb4 :) | 15:05 | |
but I'll happily take suggestions on how to improve it. I basically just ported the Java version that was on the Wikipedia page. | |||
the main difficulty was avoiding the " character anywhere except for quoting the nested program | 15:06 | ||
I'll give it a day or so, then I'll add this one to the 007 repository | 15:07 | ||
15:15
wamba left
15:17
wamba joined
15:28
dogbert11 left
15:34
sena_kun joined
|
|||
AlexDaniel | masak: is it possible to do something like | 15:39 | |
m: BEGIN {use nqp;put nqp::getlexdyn(‘$/’)} | |||
camelia | BEGIN {use nqp;put nqp::getlexdyn(‘$/’)} | ||
15:43
araraloren_ left
15:47
dogbert11 joined,
mcmillhj joined
15:50
MilkmanDan left
15:51
MilkmanDan joined
16:10
mcmillhj left
16:20
DeepIO joined
|
|||
skids ponders the interaction of arglist adverbs and semilists | 16:25 | ||
m: sub foo (|c) { c.perl.say }; foo(1,2,3;4, :d :e, :f) # what's that *supposed* to do? | 16:26 | ||
camelia | \((1, 2, 3), (4,)) | ||
16:29
jmerelo joined
16:56
atroxaper left
|
|||
Geth | doc: efa99e6413 | (JJ Merelo)++ | doc/Language/pod.pod6 Revised multi-line comment example Already done by @tbrowder in 8a6e2df28a4bba1a0b. This would close #2035 if it's OK with everyone. |
17:00 | |
synopsebot | Link: doc.perl6.org/language/pod | ||
17:00
xinming_ joined
17:03
xinming left
|
|||
tbrowder_ | jmerelo: i think the pod declarator block needs a multi-line example in file pod.pod6. i will add one in a while after i test the example uness someone beats me to it. | 17:10 | |
17:10
epony left
|
|||
tbrowder_ | jmerelo: i don’t think your last commit closes #2035 | 17:13 | |
17:14
cognominal left
|
|||
tbrowder_ | actually, i don’t see where “#” followed by a back-tic is documented as a legal declarator block, but i need to check S26, roast, and the grammar. | 17:19 | |
jmerelo | tbrowder_: you are probably right. But I seem to remember there's some issue with the backtick, maybe not specced. | 17:21 | |
tbrowder_: besides that, what else would be missing? | 17:22 | ||
tbrowder_ | i’ll fiddle with that problem... | ||
jmerelo | tbrowder_: there's something here github.com/perl6/doc/blob/c4422658...yntax.pod6 | 17:23 | |
tbrowder_ | i don’t know of anything else, but i’ll dig a bit deeper, first into Damian’s mind, i.e., S26 | 17:24 | |
jmerelo | tbrowder_: Damian's mind... there be dragons... | ||
tbrowder_ | yepper! | ||
jmerelo | tbrowder_: I'll add references to the embedded comments. They are all over the place, but where they belong. I'll reopen the issue | ||
tbrowder_ | cool | 17:25 | |
so far, in roast, i’ve only found “#|” and “#=“ (but no grep yet) | 17:32 | ||
jmerelo | tbrowder_: it's used all over the place in the docs: git grep '#`' | 17:33 | |
tbrowder_ | yep, but is it correct...checking S26 now... | 17:34 | |
17:38
epony joined
|
|||
tbrowder_ | i see NO reference in S26 to any valid declarator block start other than “#|” (leading) and “#=“ (trailing). in fact, “#=“ may be speccd wrong since S26 says it refers to the line immediately before it. | 17:39 | |
(i.e., no blank line) | 17:40 | ||
17:40
epony left
|
|||
jmerelo | tbrowder_: I am not sure those are proper pods. Running perl6 --doc over them produces nothing. | 17:40 | |
17:41
epony joined
|
|||
tbrowder_ | that’s my guess, and that checks with S26, i still need to look at grammar... | 17:41 | |
17:41
mcmillhj joined
|
|||
tbrowder_ | oops, which pods are you talking about? roast or docs? | 17:42 | |
jmerelo | tbrowder_: #` blocks. | 17:44 | |
tbrowder_ | i see “# backtick” in grammar, but i don’t know how it got there...i would remove it if it were up to me | 17:47 | |
17:48
lucasb joined
|
|||
jmerelo | tbrowder_: Probably there's no difference between comments and pod blocks. Only there are some blocks that produce output when run through --doc, some don't | 17:48 | |
17:48
mcmillhj left
|
|||
tbrowder_ | the grammar is confusing to me, so i need to defer to experts. if valid, need a good example and roast tests... | 17:49 | |
Geth | doc: b996242d6a | (JJ Merelo)++ | doc/Language/pod.pod6 Adds some documentation on backtick blocks. Goes towards #2035, please @tbrowder revise and add stuff or close issue when you consider it worthy. |
17:50 | |
synopsebot | Link: doc.perl6.org/language/pod | ||
lucasb | what? #`(...) is an embedded comment, right? not a POD thing | ||
jmerelo | tbrowder_: there goes the documentation. | ||
lucasb: POD are just fancy comments. | |||
tbrowder_ | lucasb: does embedded mean something like Z<>? | 17:52 | |
jmerelo | lucasb: anyway,#`[] is now commented in syntax and in pod. This one is a bit better. You want to move it around, feel free. | ||
lucasb | tbrowder_: it means something like standard C comment: CODE /*...*/ CODE | ||
tbrowder_ | thnx | ||
lucasb | say #`(hi) 42 | ||
evalable6 | 42 | ||
tbrowder_ | ah! | 17:53 | |
jmerelo | tbrowder_: that was the issue I linked from your issue, which was closed with this text docs.perl6.org/language/syntax#Mul...d_comments | 17:55 | |
17:56
shareable6 left
|
|||
tbrowder_ | now i see...so we still need an example of the multi-line pod declarator block, correct? | 17:57 | |
17:58
shareable6 joined
|
|||
tbrowder_ | and maybe some words per lucasb on the diff between embedded comment and pod declarator block | 17:59 | |
jmerelo | tbrowder_: using #|, you mean? | ||
tbrowder_ | yes, that and “#=“ | 18:00 | |
note that “Z<>” is the embedded comment INSIDE | 18:03 | ||
inside pod while “#backtick” is an embedded comment inside code—both should result in a zero space during p6 parsing | 18:04 | ||
Geth | doc: c6159f8697 | (JJ Merelo)++ | 2 files Adds example of (unintended) numification of lists Which would probably close #1664. |
||
jmerelo | tbrowder_: that would be the embedded metacomment... | 18:05 | |
tbrowder_ | roger | ||
jmerelo | tbrowder_: OK, I'll move what I have inserted back to syntax and provide something that I hope is OK for everyone. | 18:07 | |
AlexDaniel | jmerelo: “What?” – hehe, that's very non-academic :) | ||
Geth | doc: JJ self-assigned pod.pod6 needs an example of a multi-line pod declarator block github.com/perl6/doc/issues/2035 be25007bb0 | (JJ Merelo)++ | 3 files This would close #2035 |
||
18:07
lizmat joined
|
|||
jmerelo | AlexDaniel: I'm a very non-academic academician, I guess... | 18:07 | |
AlexDaniel: at least it's not WTF???? | 18:08 | ||
tbrowder_ | thanks, jmerelo, i’m not very energetic today so i appreciate you | ||
jmerelo | tbrowder_: no problem, my pleasure (and I guess my grant too :-) ). Feel free to ping me whenever you need something. | 18:09 | |
tbrowder_ | i think you’ve earned your grant! | ||
AlexDaniel | jmerelo: by the way, what's the right link to your May report? | 18:10 | |
or whatever month that was… | |||
there was a blog post on blogs.perl6.org I think but the link was broken | 18:12 | ||
ah, April that was | |||
news.perlfoundation.org/2018/05/gra...rl-6-.html | |||
jmerelo | AlexDaniel: right, it's linked to StackOverflow :-) That might explain a lot... | 18:13 | |
AlexDaniel: it's right here jj.github.io/TPF-Grant/ | 18:14 | ||
The rest of the stuff I'm doing can be found more directly in the repo | |||
tbrowder_: thanks, I really appreciate that. | |||
AlexDaniel: direct link to April report: jj.github.io/TPF-Grant/April.html | |||
18:16
lizmat left
|
|||
AlexDaniel | jmerelo: I'd say main contributions are not very documented in that report | 18:17 | |
tbrowder_ | AlexDaniel: do i remember correctly that we can move bugs from rt.perl to github issues, at least in some cases? | ||
AlexDaniel | graphs are cool but even “Other contributions” section is more valuable for me as a reader | 18:18 | |
tbrowder_: usually that happens when a duplicate is created on github (we then close RT ticket and leave GH ticket open) | |||
tbrowder_: if you want to move some specific ticket, feel free to | |||
but generally, yes, github is the main tracker now | 18:19 | ||
but we're not forcefully moving any tickets | |||
tbrowder_ | ok, i’m thinking of moving some major pod issues (major to me, at least) from rt to github. | 18:20 | |
AlexDaniel | if that would make life easier to you, feel free to do it | 18:21 | |
tbrowder_ | thnx | ||
jmerelo | AlexDaniel: should I move it upwards maybe? | 18:22 | |
AlexDaniel | jmerelo: I was thinkig about a section like “most notable documentation tickets resolved” | ||
or something like that | |||
jmerelo | AlexDaniel: Can you please issue that on the repo? I'll do my best. Also for next month (which is not so far away) | 18:23 | |
AlexDaniel | jmerelo: which repo? doc repo? | ||
ah | |||
found the repo | |||
jmerelo | AlexDaniel: right, the Grant repo. | 18:24 | |
18:25
sena_kun left
18:27
retupmoca left,
jsimonet left,
pierrot left,
jast left,
geekosaur left
|
|||
18:27
jast joined,
retupmoca joined,
jsimonet joined,
pierrot joined,
Sgeo left,
ambs left,
eythian left,
rjbs left,
Juerd left,
ttkp6 left,
ambs joined,
eythian joined,
eythian left,
eythian joined,
Juerd joined
18:28
Sgeo joined
18:29
unicodable6 left,
shareable6 left,
darutoko left
18:30
geekosaur joined,
reportable6 left,
coverable6 left,
bloatable6 left,
releasable6 left,
statisfiable6 left,
squashable6 left
18:32
rjbs joined
18:43
lizmat joined,
jsimonet left,
Geth left
18:44
mniip left,
samebchase1 left,
mirlur[m] left,
tadzik left,
cgfbee left,
syntaxman left,
domidumont left,
samebchase1 joined,
jsimonet joined,
Geth joined,
ChanServ sets mode: +v Geth
18:45
cgfbee joined,
mniip joined
18:47
committable6 left,
Mithaldu left,
committable6 joined
18:49
syntaxman joined
18:50
grumblr joined,
grumble left
18:51
grumblr is now known as grumble,
Mithaldu joined
18:53
mirlur[m] joined,
tadzik joined
19:02
DeepIO left,
DeepIO joined,
DeepIO left,
DeepIO joined
19:03
DeepIO left
19:18
Khisanth left
19:24
imcsk8 left,
imcsk8 joined
19:26
enheh left
19:27
bloatable6 joined,
coverable6 joined,
releasable6 joined,
ChanServ sets mode: +v coverable6,
ChanServ sets mode: +v releasable6,
unicodable6 joined,
reportable6 joined,
statisfiable6 joined,
shareable6 joined
19:28
eythian left
19:29
eythian joined,
eythian left,
eythian joined
19:31
lucasb_ joined
19:32
Khisanth joined,
lucasb left
19:42
HaraldJoerg1 left
19:43
ChoHag left
|
|||
jmerelo | notable6: "We need your help with the Perl 6 documentation" dev.to/jj/we-need-your-help-with-t...ation-1e82 | 19:45 | |
notable6 | jmerelo, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Notable | ||
jmerelo | notable6: weekly "We need your help with the Perl 6 documentation" dev.to/jj/we-need-your-help-with-t...ation-1e82 | ||
notable6 | jmerelo, Noted! | ||
19:50
jmerelo left
|
|||
Geth | doc: ronaldxs++ created pull request #2036: grammar_totorial.pm6 clarification of extending grammars with roles |
19:52 | |
19:53
torbjorn joined
|
|||
torbjorn | I'm struggling with a Grammar. I'm parsing the output of the command 'pactl list', whose head is pasted here: paste.fedoraproject.org/paste/y4QV...~RTT29U~kw | 19:54 | |
This is what I have: paste.fedoraproject.org/paste/n5xc...NzuWvVabNA | 19:55 | ||
problem is it doesn't match the lines where the <key>: <value> parameter doesn't have a value | 19:56 | ||
I mean't for the multiline-record token to capture that, with its variable <multiline-value> quantifier | 19:57 | ||
oh wait it does work im just not able to grok what the tracer outputs. nothing to see here. | 20:00 | ||
AlexDaniel | .tell jmerelo “better ways so say something” *to* say something? ;) | 20:01 | |
yoleaux | AlexDaniel: I'll pass your message to jmerelo. | ||
AlexDaniel | torbjorn: rubber duck debugging? :) | 20:02 | |
🦆 | |||
El_Che | .tell jmerelo You shoud s/Perl Documentation/Perl 6 Documenation/ in the dev.to article if you don't have to start a civil war | 20:05 | |
yoleaux | El_Che: I'll pass your message to jmerelo. | ||
20:05
slayergames joined
20:07
enheh joined
|
|||
torbjorn | AlexDaniel: always works | 20:09 | |
buggable | New CPAN upload: PDF-Class-0.2.1.tar.gz by WARRINGD modules.perl6.org/dist/PDF::Class:cpan:WARRINGD | 20:12 | |
20:13
rindolf left
20:14
HaraldJoerg joined
|
|||
MasterDuke | torbjorn: fwiw, if you aren't already aware, the tracer sometimes causes problems with code that would work when run normally (assuming you're talking about Grammar::Tracer) | 20:15 | |
buggable | New CPAN upload: P5getservbyname-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/P5getservbyn...:ELIZABETH | 20:22 | |
20:25
lizmat left
20:33
slayergames left
20:36
dct joined
21:00
lucasb_ left,
molaf left
|
|||
masak | AlexDaniel: [re nqp::getlexdyn(‘$/’)] not possible at present, no. and I'm not really looking for clever shortcuts like that, either :) | 21:07 | |
AlexDaniel | :) | ||
masak | AlexDaniel: but you did make me think of what should be the standard 007 way to ask "what's the program text of the current compunit?" | ||
21:07
ChoHag joined,
kaare_ left
21:23
Sgeo_ joined
21:24
Sgeo left
|
|||
Kaiepi | o/ | 21:25 | |
masak | \o | 21:28 | |
Kaiepi | can anyone think of some weird examples where == would return true for operands of different types? | 21:37 | |
so far i have {a => 1} == 1 | 21:38 | ||
timotimo | m: say <a b c>> == 3 | 21:39 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Preceding context expects a term, but found infix == instead. at <tmp>:1 ------> 3say <a b c>> ==7⏏5 3 |
||
timotimo | m: say <a b c> == 3 | ||
camelia | True | ||
21:40
squashable6 joined
|
|||
Kaiepi | thanks | 21:47 | |
21:48
comborico1611 joined
21:50
comborico joined,
benjikun joined,
comborico left
|
|||
Kaiepi | agh i keep forgetting to use u00a0 instead of a space when typing out perl 6 | 21:58 | |
AlexDaniel | m: say "5" == 5 | 22:01 | |
camelia | True | ||
AlexDaniel | m: say 5.0 == 5e0 | ||
camelia | True | ||
AlexDaniel | all these are weird in some way :) | 22:02 | |
timotimo | m: sub infix:<==>($a, $b) { return "lol" }; say 4 == 5 | ||
camelia | lol | ||
AlexDaniel | m: say 2 == SIGINT | 22:03 | |
camelia | True | ||
AlexDaniel | m: quietly say 0 == Nil | ||
camelia | True | ||
AlexDaniel | m: say 3 == 5..7 | 22:05 | |
camelia | True | ||
benjikun | AlexDaniel: why does the last one work? | 22:06 | |
AlexDaniel | m: say 4 == Thread.start({ say ‘heh’; sleep ∞ }) | ||
benjikun | because it's 3 items in the array? | ||
camelia | (timeout)True | ||
AlexDaniel | benjikun: yes, 3 items in the range | ||
benjikun | I see | ||
AlexDaniel | it's not exactly an array though, a Range object is just two endpoints | 22:07 | |
m: say +(1..99999999999999999999999) | |||
camelia | 99999999999999999999999 | ||
benjikun | weird | ||
22:07
pmurias left
|
|||
AlexDaniel | ↑ here there's no need to reify all these elements, we can know the amount of them anyway | 22:07 | |
Kaiepi: IMO Thread is the weirdest one :) | 22:08 | ||
benjikun | what does `Thread.start()` return | ||
why does it succeed | |||
AlexDaniel | it returns the thread id | ||
ok, well, not exactly | 22:09 | ||
it returns a Thread object | |||
but .Numeric method on that returns its id | |||
m: say Thread.start({ say ‘heh’; sleep 1 }) | |||
camelia | heh Thread #4 |
||
AlexDaniel | m: say Thread.start({ say ‘heh’; sleep 1 }).Numeric | ||
camelia | 4 heh |
||
benjikun | so sleeping indefinitely forces it to be thread #1s omehow? | ||
AlexDaniel | m: say Thread.start({ say ‘heh’ }).Numeric | ||
camelia | 4 heh |
||
AlexDaniel | you don't need to sleep :) | 22:10 | |
I guess 3 (or 4?) threads are used internally for something else | 22:11 | ||
so the new one ends up being 4th | |||
22:11
g- left
|
|||
benjikun | I see | 22:11 | |
We should update the readme for LWP::Simple and recommend using HTTP::UserAgent instead | 22:15 | ||
AlexDaniel | benjikun: go for it. What's your github handle? | 22:19 | |
benjikun | It's `ijneb` | 22:20 | |
Benji backwards | |||
AlexDaniel | timotimo: can you invite github.com/ijneb to github.com/orgs/perl6/people ? | 22:21 | |
timotimo | invite sent, but i noticed just after clicking "send" that the checkbox for the right group didn't stay checked for some reason | 22:23 | |
benjikun | Ty :), I joined | ||
timotimo | ok, you're in the "perl6" team now, too | 22:24 | |
Geth | perl6-lwp-simple: 50fe33dc19 | benji++ (committed using GitHub Web editor) | README.md HTTP::UserAgent recommendation for newer users |
||
Kaiepi | AlexDaniel, what do you mean? | ||
AlexDaniel | m: say 4 == Thread.start({ say ‘heh’ }) | ||
camelia | True heh |
||
Kaiepi | i'm writing a node.js nutshell guide, i want to keep the examples simple since i'm only at the operators section | ||
AlexDaniel | Kaiepi: ↑ | ||
oh yeah, definitely don't put that as an example :) | 22:25 | ||
22:25
dct left
|
|||
Kaiepi | this is what i have so far hastebin.com/axucifogem.rb | 22:26 | |
there's a lot to talk about when it comes to the equality operators | |||
especially ~~ | 22:27 | ||
timotimo | calling ~~ an equality operator is a bit of a stretch, IMO | ||
22:27
dct joined
|
|||
Kaiepi | i know, i'm not sure how to categorize it though | 22:28 | |
AlexDaniel | .oO( ~~lity ) |
||
Kaiepi | .oO? | 22:29 | |
AlexDaniel | it's like 💬 | 22:30 | |
Kaiepi | that shows up as a square for me | ||
AlexDaniel | or 🗩 | ||
Kaiepi | i need to change the font on hexchat | ||
AlexDaniel | does it render here? irclog.perlgeek.de/perl6/2018-05-20#i_16187244 | ||
Kaiepi | nope | 22:31 | |
i have x set up to use inconsolata and noto emoji | |||
er | |||
urxv | |||
s/$/t | |||
AlexDaniel | actually, this one is more accurate: 💭 | ||
u: 💭 | |||
unicodable6 | AlexDaniel, U+1F4AD THOUGHT BALLOON [So] (💭) | ||
Kaiepi | that renders | ||
AlexDaniel | \o/ | 22:32 | |
other ones are actually incorrect | |||
u: 🗩💬 | |||
unicodable6 | AlexDaniel, U+1F5E9 RIGHT SPEECH BUBBLE [So] (🗩) | ||
AlexDaniel, U+1F4AC SPEECH BALLOON [So] (💬) | |||
AlexDaniel | .oO() is thoughts, not speech |
||
Kaiepi | maybe i could put operator overloading under the same section i put 💭 | ||
since there's no equivalent in node.js unless you fuck around with makefiles or use a custom version of node | |||
anyone know any monospace fonts with good unicode support? | 22:34 | ||
i don't like the noto monospace one | |||
s | |||
oh weird it shows up in vim but not hexchat | 22:35 | ||
TEttinger | how much unicode? | ||
Kaiepi | as much as possible | ||
TEttinger | Inconsolata is nice, it handles all of Latin/Greek/Cyrillic in some variants (not the normal version) | 22:36 | |
AlexDaniel | what about emoji? | ||
AlexDaniel is asking important questions | 22:37 | ||
TEttinger | I like Iosevka, which also handles LGC and some unusual parts of unicode but I don't think it covers the vietnamese accented vowels or any non-European scripts | ||
Kaiepi | yeah, it's one of my favouri🤔 | ||
nah emoji doesn't show up | |||
nor in vim | |||
or in urxvt | |||
most unicode codepoints do display though | 22:38 | ||
TEttinger | also, github.com/be5invis/Sarasa-Gothic | ||
this one's huge | |||
Kaiepi | i have my locale set up for en_us.UTF-8 in my .profile | ||
so most show up | |||
TEttinger | 73.9 MB TTF in a .7z archive | 22:39 | |
Kaiepi | nice | 22:40 | |
why do people keep using node as if it were python or perl? | |||
after having to write ipc in node i never want to use that for general scripting again | |||
there's no equivalent to .lines like in perl 6, you have to buffer messages sent yourself | 22:42 | ||
go and perl make it really easy | |||
benjikun | I don't like javascript-only developers really | ||
Kaiepi | i used to be one | ||
TEttinger | well I don't think there's a TTF generating lib i python or perl | 22:43 | |
*in | |||
that's probably why they use it... | |||
Kaiepi | can't install sarasa-gothic, missing some dependencies but they're not available on openbsd | ||
TEttinger | releases | ||
benjikun | building a lot of stuff for openbsd is a pain | 22:44 | |
Kaiepi | oh perfect | ||
yeah, especially with node-gyp | |||
benjikun | are you on a laptop? | ||
Kaiepi | i have to do CC=egcc CXX=eg++ CPP=ecpp npm install every time i need to install something that uses node-gyp because it keeps trying to use the ancient default version of gcc | ||
yeah | 22:45 | ||
benjikun | what laptop | ||
Kaiepi | t470p | ||
benjikun | ah | ||
I want a newer laptop soon | |||
Kaiepi | thinkpads are pretty great | ||
i don't like how the newer releases make it such a pain in the ass to replace the keyboard though | 22:46 | ||
i broke the right arrow key replacing it | |||
benjikun | I don't much like the newer thinkpads | ||
but I love the old models | |||
Kaiepi | i don't mind the newer ones | ||
except for that prtsc placement | |||
what were they thinking? | 22:47 | ||
timotimo | oh god yes | ||
my cat loves stepping on that exact spot; at least in xfce that causes a hundred thousand screenshot tool windows to show up | |||
Kaiepi | thankfully i have it mapped to nothing | ||
scrot -d 5 is good enough for me | 22:48 | ||
benjikun | lol | 22:51 | |
my cat(s) like laying on my entire keyboard | |||
Kaiepi | what do you call operators like +, -, /, div, %, %%, etc.? | 22:52 | |
benjikun | numeric? | 22:53 | |
when they're inbetween two terms, they're infixed | 22:54 | ||
Kaiepi: is that not what you were looking for :P | 22:57 | ||
22:59
tharkun left
|
|||
Kaiepi | it's not? | 22:59 | |
Summertime | binary operators? | ||
El_Che | Kaiepi: pick something from here: en.wikipedia.org/wiki/Operation_(mathematics) | 23:02 | |
jnthn | The Perl 6 terms for operators are prefix (like ~$x), infix (like $x ~ $y), and postfix (like $x++) | ||
benjikun | arithmetic/numeric, binary, infix (sometimes) | ||
not sure what else | |||
jnthn | In terms of syntactic position, at least. | ||
MasterDuke | is circumfix considered separate? | 23:05 | |
Summertime | maybe the question is literal? "plus, minus, slash, div, mod, divisible" :p | ||
El_Che | Summertime: maybe the question was rethorical and we need to shut up :P | 23:06 | |
23:06
wamba left
|
|||
jnthn | MasterDuke: Circumfixes are kinds of term rather than operator | 23:07 | |
23:07
cpage left
|
|||
jnthn | A postcircumfix is a case of postfix | 23:07 | |
MasterDuke | huh, didn't know they were terms | 23:08 | |
Kaiepi | when is the =:= useful? doesn't === also work? | 23:09 | |
m: my %a = {}; my %b = %a; %a === %b | |||
camelia | Potential difficulties: Useless use of hash composer on right side of hash assignment; did you mean := instead? at <tmp>:1 ------> 3my %a = {}7⏏5; my %b = %a; %a === %b WARNINGS for <tmp>: Useless use of "===" in expression… |
||
Kaiepi | m: my %a = {}; my \b = %a; %a === b | 23:10 | |
camelia | Potential difficulties: Useless use of hash composer on right side of hash assignment; did you mean := instead? at <tmp>:1 ------> 3my %a = {}7⏏5; my \b = %a; %a === b WARNINGS for <tmp>: Useless use of "===" in expression … |
||
Kaiepi | m: my %a; my \b = %a; %a === b | ||
camelia | WARNINGS for <tmp>: Useless use of "===" in expression "%a === b" in sink context (line 1) |
||
Kaiepi | m: my %a; my \b = %a; say %a === b | ||
camelia | True | ||
Kaiepi | m: my %a; my \b := %a; say %a === b | ||
camelia | True | ||
Kaiepi | is there an equivalent to bitwise not? | 23:14 | |
like in node i'd do ~1 to get -2 | 23:15 | ||
MasterDuke | Kaiepi: docs.perl6.org/language/operators#...n_operator | 23:17 | |
Kaiepi | perfect | 23:18 | |
thanks | |||
MasterDuke | i don't think there's a section just for bitwise operators, the operators are grouped by precedence | ||
El_Che | I wouldn't be surpised if jmerelo wrote one while you were typing that :) | 23:20 | |
Kaiepi | i can't find the operator equivalent to XOR | ||
like 1 ^ 1 === 0 | |||
oh found it | 23:21 | ||
m: say 1 +^ ` | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing required term after infix at <tmp>:1 ------> 3say 1 +^7⏏5 ` expecting any of: prefix term |
||
Kaiepi | m: say 1 +^ 1 | 23:22 | |
camelia | 0 | ||
tobs | m: say 5 +^ +^5 # I guess it's hard to invert all bits in a bigint | ||
camelia | -1 | 23:23 | |
23:23
raschipi joined
23:24
espadrine_ left
23:25
dct left
|
|||
tobs | Ah, it says two's complement. All good. | 23:28 | |
Kaiepi | ffs updating node broke my node install again | 23:31 | |
s/node broke/npm broke | |||
buggable | New CPAN upload: p6-time-repeat-0.0101.tar.gz by ARNE cpan.metacpan.org/authors/id/A/AR/...101.tar.gz | 23:32 |