»ö« 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:10
wamba left
|
|||
Geth | ecosystem: 9e3848dc54 | (Timo Paulssen)++ | META.list SDL2::Raw now has its home on CPAN. |
00:25 | |
TimToady | Xliff_: do you have an enum that defines 'next' somewhere? | 00:29 | |
00:30
evalable6 left,
statisfiable6 left,
bisectable6 left,
benchable6 left,
releasable6 left,
unicodable6 left,
greppable6 left,
coverable6 left,
bloatable6 left,
evalable6 joined
00:40
Merfont joined
|
|||
AlexDaniel_ | .tell TimToady maybe you can take a look at RT #125596 ? It feels like it can be changed to .panic, but maybe you know a good reason why it has to be a sorry. The spectest seems to be clean with .panic but I don't trust it that too much. | 00:40 | |
yoleaux | AlexDaniel_: I'll pass your message to TimToady. | ||
synopsebot | RT#125596 [new]: rt.perl.org/Ticket/Display.html?id=125596 [LTA] error message with if; and unless; without conditions | ||
00:43
Mrofnet left
00:46
Rawriful left
00:47
greppable6 joined,
ChanServ sets mode: +v greppable6,
bisectable6 joined,
coverable6 joined,
bloatable6 joined,
benchable6 joined,
releasable6 joined,
unicodable6 joined,
ChanServ sets mode: +v benchable6,
ChanServ sets mode: +v releasable6,
ChanServ sets mode: +v unicodable6,
statisfiable6 joined,
jameslen_ joined
00:48
atroxaper joined
00:49
jameslenz left
00:52
atroxaper left
00:54
zakame joined
|
|||
zakame | good morning! o/ | 00:55 | |
00:56
troys is now known as troys_
|
|||
AlexDaniel_ | zakame: o/ | 00:56 | |
Geth | rakudo: MasterDuke17++ created pull request #1181: Suggest enum values as types |
00:59 | |
squashable6 | 🍕 MasterDuke17++ opened pull request “Suggest enum values as types”: github.com/rakudo/rakudo/pull/1181 | ||
🍕🍕🍕 First contribution by MasterDuke17++! ♥ | |||
00:59
purcell joined
|
|||
Xliff_ | TimToady: Um. I don't think so. Not in my code, but it might be a module, somewhere. | 01:13 | |
use Mojo::DOM:from<Perl5>; | 01:14 | ||
^^ The only module I am using in the script, ATM | |||
01:19
evalable6 left,
evalable6 joined,
ChanServ sets mode: +v evalable6
01:20
Zoffix joined
|
|||
Zoffix | Xliff_: we have Perl 6 version of that module, tho. | 01:20 | |
eco: DOM::Tiny | |||
buggable | Zoffix, DOM::Tiny 'Very small, self-sufficient DOM parser manipulator': github.com/zostay/p6-DOM-Tiny | ||
cxreg | conf.researchr.org/event/dls-2017/...ual-typing | 01:21 | |
"in Typed Racket, some partially typed programs are 1000X slower than the untyped or fully typed version of the same program" | |||
squashable6 | 🍕 zoffixznet++ merged pull request “Suggest enum values as types”: github.com/rakudo/rakudo/pull/1181 | ||
🍕 zoffixznet++ wrote a comment on “Suggest enum values as types”: github.com/rakudo/rakudo/pull/1181...-334901223 | 01:22 | ||
Geth | rakudo/nom: 12774237a6 | (Daniel Green)++ | src/Perl6/World.nqp Suggest enum values as types Implements RT #123926, e.g., `enum E <Foo Bar>; sub x(Floo) {}` now says `Invalid typename 'Floo' in parameter declaration. Did you mean 'Foo'?` |
||
synopsebot | RT#123926 [new]: rt.perl.org/Ticket/Display.html?id=123926 [BUG] LTA error message without Levenshtein distance suggestion when mistyping enum value in signature in Rakudo | ||
rakudo/nom: f62ae60c48 | (Zoffix Znet)++ (committed using GitHub Web editor) | src/Perl6/World.nqp Merge pull request #1181 from MasterDuke17/RT123926 Suggest enum values as types |
|||
01:24
Cabanossi left
01:26
eliasr left,
Cabanossi joined
01:34
purcell left
01:37
Ven`` left
01:40
Ven`` joined
|
|||
SmokeMachine | about the language name discussion, didd anyone think about "Camelia Perl 6"? | 01:41 | |
01:44
Ven`` left
01:46
ilbot3 left
01:47
zakame_ joined,
zakame_ left,
Ven`` joined
01:49
zakame left
|
|||
Zoffix | Yes, several people did. | 01:53 | |
01:54
ilbot3 joined,
ChanServ sets mode: +v ilbot3,
Cabanossi left
01:56
Cabanossi joined
|
|||
Zoffix | Lots of people liking TimToady's "psix where p is silent if you want to" suggestion. "6lang" is ded, looks like (not many people supporting it and several pointed out the "slangs in Slang" sounds iffy... there's also S-lang already) | 01:56 | |
Also, it was pointed out to me the TimToady's "psix" thing referenced en.wikipedia.org/wiki/Psmith | 02:00 | ||
AlexDaniel_ | MasterDuke: maybe you should update rt.perl.org/Ticket/Display.html?id=123926 | ||
well, it does not have to be pronounced as “slang” | 02:02 | ||
02:02
atroxaper joined,
ryn1x joined
|
|||
AlexDaniel_ | not sure how many people will see the Psmith reference | 02:03 | |
Zoffix | I like 6lang, but I'll take psix any day over nothing :) The one common suggestion I really dislike is "P6" as name | ||
TEttinger | Peesix | ||
Zoffix | Feels like an abbreviation that doesn't really solve the problem this whole thing is trying to solve. | 02:04 | |
AlexDaniel_ | yea, and psix.org is registered so take psix.xxx instead… | ||
TEttinger | sixuality, to compete with engines like unity | 02:05 | |
AlexDaniel_ | SmokeMachine: however! Even though there's no final decision, people have started thinking into the right direction | ||
Zoffix | and psix.party gives back the alliteration I had with perl6.party and was missing with rakudo.party and 6lang.party :) | ||
.oO( clearly we should call the language "party" :P ) |
|||
TEttinger | Hecate, a greek goddess of witchcraft and I think the origin of the word "hex" meaning a curse | 02:06 | |
02:06
atroxaper left
|
|||
TEttinger | any six-armed god or goddess | 02:06 | |
Zoffix | squashable6: status | ||
squashable6 | Zoffix, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈9 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
Zoffix, Log and stats: gist.github.com/c224c7f7fba1623750...9e52ed2b40 | |||
AlexDaniel_ | m: " | 02:08 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Unable to parse expression in double quotes; couldn't find final '"' at <tmp>:7 ------> 3<BOL>7⏏5<EOL> expecting any of: double quotes term |
||
Zoffix | We should name it "ytrap" :) | ||
AlexDaniel_ | locally “Unable to parse expression in double quotes; couldn't find final '"' (corresponding starter was at line 1)” | ||
Zoffix invisions a glorious "ytrap.party" logo | |||
AlexDaniel_ | and this resolves… half of the ticket… :S | 02:09 | |
ryn1x | What is the best way to make a GUI application with Perl6 right now? I see there is a GTK::Simple and GTK::Simpler... or maybe use a Perl5 modue? | 02:10 | |
HoboWithAShotgun | its a non issue, i deleted the crash comment and all is fine | 02:14 | |
MasterDuke | i love Wodehouse. Psmith, Jeeves & Wooster, the golf stories...all of them | 02:15 | |
i made a silent "p" Tintin reference, but nobody seemed to catch it either | 02:16 | ||
AlexDaniel_: yeah, will update the RT, just trying to figure out if tests went in roast or rakudo | |||
02:19
mr-fooba_ joined
02:21
mr-foobar left
02:25
kerframil joined,
Cabanossi left
02:26
Cabanossi joined,
Ven`` left
|
|||
Geth | rakudo: skids++ created pull request #1182: Warn on typical precedence errors with infix:<..> (RT#127279) |
02:27 | |
squashable6 | 🍕 skids++ opened pull request “Warn on typical preceden…”: github.com/rakudo/rakudo/pull/1182 | ||
🍕🍕🍕 First contribution by skids++! ♥ | |||
synopsebot | RT#127279 [new]: rt.perl.org/Ticket/Display.html?id=127279 [BUG] Infinite loop with |"a".."z" | 02:28 | |
02:30
zakame joined
02:35
nadim_ left
|
|||
Geth | rakudo/corresponding-starter: 279bae08a5 | (Aleks-Daniel Jakimenko-Aleksejev)++ | src/Perl6/Grammar.nqp Mention corresponding starter in <, <<, « subscripts Resolves part of RT #125641. Wordy descriptions were substituted with actual symbols to make it more consistent with other error messages. Also, this way the error message is much shorter. |
02:35 | |
synopsebot | RT#125641 [new]: rt.perl.org/Ticket/Display.html?id=125641 [LTA] error messages when right bracket is missing: $<> , <>, () and so on | ||
rakudo/corresponding-starter: 6542bb8032 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files Mention corresponding starter for most of the things This should handle quotes, parens, brackets, subscripts and many other things. Resolves part of RT #125641. Unfortunately I don't know how to print the actual starter, but as long as the line number is mentioned it's alright. |
|||
squashable6 | 🍕 AlexDaniel++ opened pull request ““corresponding … was at” RT #125641”: github.com/rakudo/rakudo/pull/1183 | ||
rakudo: AlexDaniel++ created pull request #1183: “corresponding … was at” RT #125641 |
|||
02:40
noganex_ joined
02:42
mr-fooba_ left,
atroxaper joined
02:44
noganex left
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on ““corresponding … was at” RT #125641”: github.com/rakudo/rakudo/pull/1183...-334905362 | 02:44 | |
🍕 AlexDaniel++ edited pull request ““corresponding … was at” RT #125641”: github.com/rakudo/rakudo/pull/1183 | 02:45 | ||
synopsebot | RT#125641 [new]: rt.perl.org/Ticket/Display.html?id=125641 [LTA] error messages when right bracket is missing: $<> , <>, () and so on | ||
02:47
atroxaper left,
mr-foobar joined
|
|||
Geth | roast: 3014999fcd | (Daniel Green)++ | S32-exceptions/misc.t Add test for suggesting enum values as types For RT #123926. |
02:52 | |
synopsebot | RT#123926 [new]: rt.perl.org/Ticket/Display.html?id=123926 [BUG] LTA error message without Levenshtein distance suggestion when mistyping enum value in signature in Rakudo | ||
HoboWithAShotgun | class foo { }; sub EXPORT( $tag ) { require ::("bar"); return {}; }; | 02:59 | |
and then in a script: use foo <tag> croaks with | |||
Cannot find method 'EXISTS-KEY': no method cache and no .^find_method | |||
squashable6 | 🍕 AlexDaniel++ synchronize pull request ““corresponding … was at” RT #125641”: github.com/rakudo/rakudo/pull/1183 | 03:00 | |
Geth | rakudo/corresponding-starter: a462d0a26e | (Aleks-Daniel Jakimenko-Aleksejev)++ | src/Perl6/Grammar.nqp Cache some line numbers MasterDuke++ irclog.perlgeek.de/perl6-dev/2017-...i_15269029 |
||
synopsebot | RT#125641 [new]: rt.perl.org/Ticket/Display.html?id=125641 [LTA] error messages when right bracket is missing: $<> , <>, () and so on | ||
HoboWithAShotgun | bar is just an empty class | ||
03:00
mr-foobar left
03:07
mr-foobar joined
03:10
skids left
|
|||
HoboWithAShotgun | actually that should be : require($tag) | 03:10 | |
03:12
atroxaper joined
|
|||
HoboWithAShotgun just realized it's 5 am and he has been sitting here all night | 03:18 | ||
03:22
atroxaper left
|
|||
Geth | rakudo: MasterDuke17++ created pull request #1184: Use cached line numbers for token label |
03:23 | |
squashable6 | 🍕 MasterDuke17++ opened pull request “Use cached line numbers for token label”: github.com/rakudo/rakudo/pull/1184 | ||
03:23
Aaronepower left
03:39
HoboWithAShotgun left
03:52
Cabanossi left
03:55
Cabanossi joined
|
|||
AlexDaniel_ | .tell TimToady cursor issue, maybe you know something about it (see my comment). RT #125674 | 04:02 | |
yoleaux | AlexDaniel_: I'll pass your message to TimToady. | ||
synopsebot | RT#125674 [new]: rt.perl.org/Ticket/Display.html?id=125674 [LTA] error message prints wrong eject position (if True if { };) | ||
04:12
konsolebox left
04:15
konsolebox joined
04:23
Cabanossi left
04:25
Cabanossi joined
|
|||
AlexDaniel_ | m: say ‘hello’ ~~ / <?before $<x>=h> {say $<x> } .*/ | 04:32 | |
camelia | Nil 「hello」 |
||
AlexDaniel_ | is it possible to pull matched data from <before > somehow? | ||
04:33
BenGoldberg left
04:34
troys_ is now known as troys
|
|||
u-ou | hi | 04:35 | |
AlexDaniel_ looks at github.com/ShimmerFairy/grammar-parsefail | 04:40 | ||
04:54
evalable6 left,
evalable6 joined,
ChanServ sets mode: +v evalable6
|
|||
ryn1x | Has anyone tried using perl6 on codechef.com? I can't get it to not timeout on me. | 04:55 | |
First problem on the site: www.codechef.com/problems/C00K0FF | 05:06 | ||
05:14
evalable6 left,
evalable6 joined
05:24
Cabanossi left
05:25
Cabanossi joined
05:27
committable6 left,
committable6 joined,
ChanServ sets mode: +v committable6
05:47
evalable6 left,
evalable6 joined
05:55
kaare_ joined
06:05
troys left
06:14
AlexDaniel_ left
06:22
ryn1x left,
Cabanossi left
06:25
ryn1x joined,
Cabanossi joined
06:29
mudman joined
|
|||
mudman | squashable: next | 06:31 | |
squashable6 | mudman, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈5 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
mudman, Log and stats: gist.github.com/2e7ab37b410429b600...75c353b5cf | |||
06:33
hoffentlichja joined
06:34
ryn1x left
|
|||
squashable6 | 🍕 mryan++ self-assigned issue “Investigate absence of tests for :dba adverb”: github.com/perl6/roast/issues/238 | 06:40 | |
🍕🍕🍕 First contribution by mryan++! ♥ | |||
06:40
Wiertek joined
07:00
statisfiable6 left,
committable6 left,
bloatable6 left,
releasable6 left,
coverable6 left,
quotable6 left,
squashable6 left,
unicodable6 left,
greppable6 left,
bisectable6 left,
evalable6 left,
nativecallable6 left,
benchable6 left
07:01
quotable6 joined,
ChanServ sets mode: +v quotable6,
benchable6 joined,
ChanServ sets mode: +v benchable6,
coverable6 joined,
committable6 joined,
greppable6 joined,
nativecallable6 joined,
releasable6 joined,
ChanServ sets mode: +v releasable6,
bisectable6 joined,
evalable6 joined,
bloatable6 joined,
ChanServ sets mode: +v bisectable6,
ChanServ sets mode: +v evalable6,
ChanServ sets mode: +v bloatable6,
unicodable6 joined,
ChanServ sets mode: +v unicodable6,
squashable6 joined,
statisfiable6 joined
07:04
mcsnolte left
07:06
margeas joined
07:09
domidumont joined
07:10
wamba joined
07:14
domidumont left
07:15
domidumont joined
07:18
robertle joined
07:21
bwisti left
07:32
ryn1x joined
07:40
domidumont left,
domidumont joined
07:41
konsolebox left
07:45
darutoko joined
07:51
lancew joined
07:54
Merfont left
07:55
r3m left
07:56
HoboWithAShotgun joined
08:03
okl joined
08:05
ryn1x left
08:09
mudman left
08:12
okl left
08:19
mudman joined
08:33
smls joined
08:37
hankache joined
08:38
parv joined
08:39
hankache_ joined
08:41
mudman left,
konsolebox joined,
hankache_ left
08:42
hankache left
08:43
domidumont left
08:47
hankache joined
|
|||
buggable | New CPAN upload: IRC-Client-Plugin-Github-0.1.2.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...1.2.tar.gz | 08:52 | |
tyil | \o/ | 08:53 | |
08:53
nadim_ joined
08:56
mudman joined
|
|||
tyil | samcv: since youre co-author on Hash::Merge, which I'm gonna add to CPAN, you should request a PAUSE ID so I can give you maintainer rights | 09:02 | |
buggable | New CPAN upload: Config/Config-1.2.1.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...2.1.tar.gz | ||
09:03
ryn1x joined
09:06
lancew left
09:10
hlafarge joined
|
|||
buggable | New CPAN upload: Config-Parser-toml/Config-Parser-toml-1.0.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...0.0.tar.gz | 09:12 | |
New CPAN upload: Config-Parser-yaml/Config-Parser-yaml-1.0.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...0.0.tar.gz | |||
New CPAN upload: Hash-Merge/Hash-Merge-0.1.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...1.0.tar.gz | |||
New CPAN upload: MPD-Client/MPD-Client-0.1.2.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...1.2.tar.gz | |||
smls | m: say "abc" ~~ / :r || abc /; | 09:19 | |
camelia | 「」 | ||
smls | ^^ Is it intended that a branch containing nothing but a modifier, is considered a non-forbidden null regex? | 09:20 | |
i.e. neither throws a "null regex forbidden" exception, nor treats it like / || abc / ? | 09:21 | ||
09:23
Cabanossi left
09:24
hlafarge left
|
|||
tyil | anyone working on github.com/perl6/roast/issues/118 yet? | 09:24 | |
09:25
Cabanossi joined
09:28
profan left
09:29
mudman left
09:30
mephinet left,
reu left
09:34
ryn1x left
|
|||
squashable6 | 🍕 Tyil++ opened pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | 09:36 | |
🍕🍕🍕 First contribution by Tyil++! ♥ | |||
Geth | roast: Tyil++ created pull request #342: WIP: Expand file tests |
||
09:38
lancew joined
|
|||
squashable6 | 🍕 Tyil++ synchronize pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | 09:45 | |
09:52
hlafarge joined
09:53
Cabanossi left,
xinming joined
09:55
Cabanossi joined
10:09
domidumont joined
10:10
flatwhite joined
10:11
domidumont left,
domidumont joined
10:13
andrzejku joined,
kerframil left
10:14
flatwhite is now known as kerframil
10:20
lancew left
10:21
hoffentlichja left
10:26
hoffentlichja joined,
leont joined
10:31
ryn1x joined
10:36
thou joined
|
|||
squashable6 | 🍕 Tyil++ synchronize pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | 10:38 | |
🍕 lizmat++ merged pull request “Warn on typical preceden…”: github.com/rakudo/rakudo/pull/1182 | 10:41 | ||
Geth | rakudo/nom: 26bdc95c78 | skids++ | 2 files Warn on typical precedence errors with infix:<..> (RT#127279) Alerts user to potential accidental use of prefix:<|> or prefix:<~> on a range start value, when they are usually intended to apply to the entire range, and encourages use of parens. |
||
synopsebot | RT#127279 [open]: rt.perl.org/Ticket/Display.html?id=127279 [BUG] Infinite loop with |"a".."z" | ||
rakudo/nom: cb9d2e040d | lizmat++ (committed using GitHub Web editor) | 2 files Merge pull request #1182 from skids/rt127279 Warn on typical precedence errors with infix:<..> (RT#127279) |
|||
thou | Is it possible to define new named character classes, to allow something like: / <- forbidden - space > / # Custom class `forbidden` | 10:43 | |
10:44
zakame left
|
|||
thou | I found method definitions for xdigit, punct, etc. in nqp/src/QRegex/Cursor.nqp , but that doesn't look to be an extensible mechanism, and I'm not sure it's what's used for character classes | 10:45 | |
10:48
hlafarge left
|
|||
Zoffix | You can define your own regexes. Don't know about character classes | 10:57 | |
m: my regex forbidden { <-[meow]> }; say "foomebarowzziimeow" ~~ m:g/<forbidden>/ | |||
camelia | (「f」 forbidden => 「f」 「b」 forbidden => 「b」 「a」 forbidden => 「a」 「r」 forbidden => 「r」 「z」 forbidden => 「z」 「z」 forbidden => 「z」 「i」 forbidden => 「i」 「i」 forbidden => 「i… |
||
Zoffix | m: my regex forbidden { <-[meow]> }; say "foomebarowzziimeow".subst: /<forbidden>/, '', :g | 10:58 | |
camelia | oomeowmeow | ||
Zoffix | AlexDaniel: I only know of a really hackish way: irclog.perlgeek.de/perl6/2017-09-25#i_15213470 | 11:00 | |
11:04
ryn1x left
|
|||
Zoffix | :/ target parse is now in the 90s on this box :\ | 11:07 | |
11:07
thou left
11:10
rindolf joined
11:12
eliasr joined
|
|||
Zoffix | Hm. One thing modules site really needs is CPAN parser to fish out repo URL and make a button for it... | 11:13 | |
(fish out from META) | |||
squashable6 | 🍕 Tyil++ synchronize pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | 11:14 | |
11:16
BenGoldberg joined
11:17
thou joined
11:23
Cabanossi left
11:25
Cabanossi joined
|
|||
squashable6 | 🍕 zoffixznet++ submitted a review on pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342#pu...w-67831081 | 11:26 | |
🍕 zoffixznet++ wrote a comment on a review for “WIP: Expand file tests”: github.com/perl6/roast/pull/342#di...r143328676 | |||
🍕 zoffixznet++ edited a review on pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342#pu...w-67831081 | |||
Zoffix | sure, sure, betray that I clicked the wrong button, robot. | 11:27 | |
I know where your sources are! | |||
timotimo | .o( betrayable ) | 11:28 | |
11:30
TEttinger left
11:31
llfourn left
|
|||
squashable6 | 🍕 Tyil++ synchronize pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | 11:34 | |
Zoffix | .tell AlexDaniel FWIW jnthn++ said we'll likely make ». autothread only is pure routines, so no shuffling is really needed: rt.perl.org/Ticket/Display.html?id...et-history | 11:36 | |
yoleaux | Zoffix: I'll pass your message to AlexDaniel. | ||
thou | Zoffix, thanks. Maybe named character classes are a rare case of something that isn't easily added to! I don't see any mention of it in S05 either, so it wasn't a desired feature or it was rejected for good reason. | 11:38 | |
11:39
grondilu left
|
|||
Zoffix | m: my regex forbidden { <-[meow]> }; say "foobar" ~~ /<[\w] -digit -space>/ | 11:40 | |
camelia | 「f」 | ||
Zoffix | m: my regex forbidden { <-[meow]> }; say "foobar" ~~ /<[\w] -forbidden -digit -space>/ | ||
camelia | No such method 'forbidden' for invocant of type 'Match' in block <unit> at <tmp> line 1 |
||
Zoffix | thou: I bet the code that goes out to look for lexical regexes just needs to be trained to look for them in ^ this case too. This will work in a grammar, for example | 11:41 | |
m: grammar { token TOP { <[\w] -forbidden -digit -space>+ }; regex forbidden { <-[meow]> } }.parse("kwak").say | 11:42 | ||
camelia | Nil | ||
11:42
leont left
|
|||
Zoffix | m: grammar { token TOP { <[\w] -forbidden -digit -space>+ }; regex forbidden { <-[meow]> } }.parse("kak").say | 11:42 | |
camelia | Nil | ||
squashable6 | 🍕 Tyil++ synchronize pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | ||
Zoffix | fine, be that way | ||
tyil | Zoffix: I added the Test::Util and use lib <> as you suggested, but when trying to run the test locally it fails due to no Test::Util | 11:43 | |
Zoffix | tyil: how are you running it locally? | 11:44 | |
tyil | perl6 S32-io/file-tests.t | ||
do I need a -I to the dir containing Test::Util? | |||
HoboWithAShotgun drools in chocolate peach cake and will keep all for himself | 11:45 | ||
MasterDuke | -I packages i think | ||
timotimo | look at the other files that use Test::Util | ||
they all have a "use lib" i believe | |||
Zoffix | tyil: the usual way is to run from from rakudo's checkout where it clones the roast into t/spec, so you'd run tests with `t/fudgeandrun t/spec/S32-io/file-tests.t` and it'd find the file. | ||
11:45
thundergnat joined
|
|||
tyil | MasterDuke: with -I packages works | 11:45 | |
Zoffix | ZOFVM: Files=1277, Tests=152587, 179 wallclock secs (22.37 usr 3.36 sys + 3423.69 cusr 187.30 csys = 3636.72 CPU) | 11:46 | |
That's still with the stress.t slowdown, so looks like it got better (or maybe just varies) | |||
11:47
xtreak joined,
wamba left
|
|||
tyil | hmm | 11:47 | |
with the new tempfiles, 3 tests are failing in .s | 11:48 | ||
thundergnat | .tell Xliff_ re: "Useless use of constant value next..." Are you possibly using an old version of Inline::Perl5? See: github.com/niner/Inline-Perl5/issues/92 | ||
yoleaux | thundergnat: I'll pass your message to Xliff_. | ||
Geth | rakudo/nom: 4868e9271a | (Zoffix Znet)++ | 2 files Remove dead code for `use v5` Dies while complaining about missing `Perl5` module. A thought occured to make it load Inline::Perl5, but felt like useless magic, so I removed the code entirely and just make it complain there's no compiler for v5, like it'd do for `use v6.z` Fixes RT#130834: rt.perl.org/Ticket/Display.html?id=130834 |
11:50 | |
synopsebot | RT#130834 [open]: rt.perl.org/Ticket/Display.html?id=130834 Is `use v5` still a thing? | ||
Zoffix | tyil: which ones? | 11:53 | |
11:53
Rawriful joined
|
|||
Zoffix | tyil: `zero => make-temp-file,` <= this doesn't create the actual file. Only if you give it `:chmod` or `:content` | 11:54 | |
tyil | ah | ||
Zoffix | (empty content with :content('') will work) | ||
tyil | :content() also seems to work | 11:55 | |
squashable6 | 🍕 Tyil++ synchronize pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | 11:56 | |
tyil | these tests seem to all work | ||
MasterDuke | Zoffix: i'm envious of your times: Files=1214, Tests=75453, 621 wallclock secs (20.32 usr 2.71 sys + 3844.24 cusr 163.04 csys = 4030.31 CPU) | 11:59 | |
Zoffix | $ lscpu | grep 'CPU(s):' | 12:00 | |
CPU(s): 24 | |||
MasterDuke | that would make a difference | ||
thou | Zoffix, I think it's tricky because (naively, to me) it seems it shouldn't allow general regexes that could match other than exactly one grapheme. my regex badclass { 'abc' }; / <- badclass >+ / # Doesn't make sense | 12:01 | |
12:01
ryn1x joined
|
|||
Zoffix | thou: ah, right | 12:01 | |
MasterDuke | but still, spectest is now about twice as slow as it used to be | ||
12:03
leont joined
|
|||
lizmat | MasterDuke: if you run the spectest with MVM_SPESH_DISABLE=1, you'll see it is much faster again | 12:04 | |
Zoffix | 'cause there's a deficiency in the new nursery resizer | ||
12:04
xtreak left
|
|||
squashable6 | 🍕 Tyil++ synchronize pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | 12:04 | |
Zoffix | Was part of the same bunch of issues that made lock.t hang | ||
tyil | Zoffix: I want to add tests for .modified, .accessed, .changed and .mode | 12:05 | |
MasterDuke | lizmat: ah, i saw your comments with jnthn, but forgot. trying that now | ||
tyil | .mode should be easy, but is there a way I can set the modified, accessed and changed time from within the tests? | ||
12:05
hankache_ joined
|
|||
Zoffix | tyil: no idea; I think some systems won't update those values all the time. There should be _some_ tests for those methods, so `grep -FR '.modified`` and see how those tests do it. | 12:06 | |
Zoffix & # breakfsast | |||
12:06
hankache left
|
|||
tyil | alright | 12:06 | |
12:08
parv left
12:09
hankache joined
12:10
hankache_ left
12:11
kaare_ left
|
|||
tyil | filestat already tests if they update correctly, so I could get away just testing if they return the correct types and whether they die | 12:11 | |
12:16
hankache left
|
|||
Zoffix | tyil: IIRC they should be failing, not dieing. That Test::Util module has `fails-like` routine. It's the same as `throws-like` except it also checks the tested code returns a Failure instead of throwing | 12:18 | |
tyil | neat | ||
I used throws-like because thats what the rest of the tests in here were using | 12:19 | ||
I'll update them all to use fails-like | |||
Zoffix | tyil++ | ||
Geth | rakudo/full-make-test: 50 commits pushed by (Zoffix Znet)++, skids++, (Elizabeth Mattijsen)++, (Jonathan Worthington)++, (Patrick Spek)++, (Samantha McVey)++, (Daniel Green)++ review: github.com/rakudo/rakudo/compare/c...54d5096732 |
12:20 | |
Zoffix | heh, looks like squashable counted those as new contributions :) | 12:21 | |
Geth | modules.perl6.org/complain_travis_build-panda: 78b69a5143 | (Timo Paulssen)++ | lib/ModulesPerl6/DbBuilder/Dist/PostProcessor/p30METAChecker.pm complain if the travis config contains "rakudobrew build panda" |
12:22 | |
Zoffix | .tell AlexDaniel squshable's log made need pruning. It counted 50 commits were added, when I just synced a branch: gist.github.com/Whateverable/ccfa0...le-log-L73 | 12:23 | |
yoleaux | Zoffix: I'll pass your message to AlexDaniel. | ||
Geth | modules.perl6.org: timo++ created pull request #86: complain if the travis config contains "rakudobrew build panda" |
||
Zoffix | s/made/may/; | ||
12:23
Cabanossi left
12:25
Cabanossi joined
|
|||
MasterDuke | with MVM_SPESH_DISABLE=1: Files=1214, Tests=75453, 561 wallclock secs (18.99 usr 2.81 sys + 3467.57 cusr 108.76 csys = 3598.13 CPU) | 12:25 | |
Zoffix | timotimo: does that work? I'd expect travis files to be there | 12:26 | |
*not be there | |||
timotimo | ? | ||
if there's no travis file it just returns | |||
Zoffix | timotimo: only readme is fetched: github.com/perl6/modules.perl6.org...Fetcher.pm | ||
timotimo | aha! | ||
i was looking for a place that decided what to fetch | |||
so that'd be another http request? | 12:27 | ||
12:27
RabidGravy joined
|
|||
RabidGravy | BOO! | 12:27 | |
yoleaux | 29 Aug 2017 15:24Z <Zoffix> RabidGravy: does HTTP::UserAgent support socks5 proxy? I see some mention of HTTP proxy in source and nothing in docs and nothing about socks proxies | ||
Zoffix | timotimo: yeah. Or as japhb suggested, we could just keep local versions of dists and rake those | ||
timotimo | hm, that doesn't go via pithub, that just straight up webrequests | ||
huh. that sends our github token to whatever url the file is from? | 12:28 | ||
Zoffix | timotimo: oh and all the dirs you saw in /tmp. That sounds like a bug, probably in CPAN dist source that creates a temp dir to process each dist... but I thought it was meant to auto-remove them (via File::Temp) | ||
timotimo: yeah, without token, github cuts it off; says too many requests | 12:29 | ||
timotimo | well, yeah, but we might also be fetching readme files from cpan or something? | ||
nice to see you RabidGravy :) | |||
lizmat | RabidGravy o/ | ||
RabidGravy | eh up! | ||
I have a very weird thing here, as recently as 6 August github.com/jonathanstowe/Sofa/blob...fa/Item.pm worked fine | 12:30 | ||
Zoffix | timotimo: yeah, that's a bit LTA, but IIRC only GitHub dist source fills that out: github.com/perl6/modules.perl6.org...#L113-L116 | 12:31 | |
timotimo: FWIW, this ass-backwards business with DataFetcher postprocessor is to save on GitHub requests and another reason to switch to local checkouts of dists | |||
RabidGravy | now if I do e.g. "perl6 -Ilib -e'use Sofa::Item; class Foo is sofa-path("_foo") { }'" it gives "===SORRY!=== | 12:32 | |
Cannot find method 'Sofa::Item::MetamodelX::ClassHOW' on object of type Sofa::Item::MetamodelX::ClassHOW" | |||
Zoffix is getting distracted from squashathon again :) | |||
timotimo | Zoffix: a local cache and proper use of "If-Modified-Since" or what should make things a bunch better already? | ||
sorry! | |||
it was a bad time for me to start doing stuff to modules.perl6.org :) | |||
Zoffix | hehe | ||
Zoffix & | |||
12:32
Zoffix left
|
|||
RabidGravy | and if I remove the attribute from the class I get "Unhandled exception: Cannot find method 'submethod_table' on object of type NQPClassHOW" | 12:33 | |
lizmat | RabidGravy: could you gist a full stack trace ? | ||
MasterDuke | so MVM_SPESH_DISABLE=1 is 80s faster, but i'm pretty sure a spectest used to take ~330s, so it's still about 3m slower now | 12:34 | |
RabidGravy | lizmat the former case doesn't give a stack trace at all | ||
lizmat | :-( | ||
12:34
ryn1x left
|
|||
MasterDuke | btw, anybody mind committing github.com/rakudo/rakudo/pull/1184 ? | 12:35 | |
RabidGravy | lizmat, the latter case is gist.github.com/jonathanstowe/9724...bc536dd042 | 12:36 | |
lizmat | :-( that doesn't ring a bell with me :-( | 12:37 | |
MasterDuke | we should be able to bisect that with bisectable | 12:39 | |
RabidGravy | Oh wait, it does give a stack trace with --ll-exceptiion | ||
just updated the gist | |||
12:41
rba_ joined
|
|||
MasterDuke | oh hm, maybe not, i don't see Sofa in moritz's perl6-all-modules | 12:41 | |
RabidGravy | it's not released as yet, I've been too slack to write the POD ;=) | ||
dogbert2 | lizmat: could it be some BUILDALL regression? | 12:42 | |
lizmat | yeah, that's why I was looking at it | ||
but the stack trace doesn't point in that direction | |||
or does it? | |||
hmmm | |||
dogbert2 | did you check the second file | ||
12:42
rba left
|
|||
lizmat | yeah | 12:43 | |
squashable6 | 🍕 Tyil++ synchronize pull request “WIP: Expand file tests”: github.com/perl6/roast/pull/342 | ||
dogbert2 | from gen/moar/stage2/NQPCORE.setting:521 (/home/jonathan/.rakudobrew/moar-nom/install/share/nqp/lib/NQPCORE.setting.moarvm:BUILDALL) | ||
lizmat | yeah, but that's an NQP BUILDALL | 12:44 | |
squashable6 | 🍕 Tyil++ edited pull request “Expand file tests”: github.com/perl6/roast/pull/342 | ||
lizmat | auto-generated BUILDALL only live in HLL | ||
RabidGravy | I remember ages ago someone suggesting that putting attributes in Metaclass things wasn't a good idea, but I can't remember why | ||
squashable6 | 🍕 Tyil++ edited pull request “Expand file tests”: github.com/perl6/roast/pull/342 | ||
12:44
lancew joined,
ShalokShalom_ joined
|
|||
dogbert2 | and that's not what you've been working on, my bad then | 12:44 | |
12:44
itaipu joined
|
|||
lizmat | dogbert2: well, maybe things leak into each other | 12:45 | |
12:45
nadim_ left
|
|||
lizmat | hmmm... I don't seem to have a gen/moar/stage2/NQPCORE.setting ?? | 12:46 | |
12:47
rba joined
|
|||
dogbert2 | MasterDuke: wrt spectest, there are a couple of tests that bring down the speed of the entire process quite a bit due to a bug | 12:47 | |
lizmat | dogbert2: which bug? | ||
12:47
ShalokShalom left
|
|||
dogbert2 | only mentioned on irc, not officially reported though | 12:48 | |
Geth | rakudo/full-make-test: 6757f93473 | (Zoffix Znet)++ | t/02-rakudo/01-is_approx.t Fix up t/02-rakudo/01-is_approx.t tests The author of planck tests wrote them without any regard to `e-34` part of the number and adjusted the numbers in the decimal portion alone, expecting changes to be of 1e-5 magnitude when they were actually of 1e-39 magnitude. Fix by shifting the original value by expected differences instead. |
||
dogbert2 | lizmat: but it involved the speed of this test: t/spec/S17-promise/lock-async.t | ||
12:49
rba_ left
|
|||
dogbert2 | it should only take a few seconds | 12:51 | |
MasterDuke | dogbert2: ah right, you noticed something about the number of locks or threads or something causing the change? | ||
squashable6 | 🍕 zoffixznet++ merged pull request “Expand file tests”: github.com/perl6/roast/pull/342 | ||
Geth | roast: 4f224ec562 | (Patrick Spek)++ (committed by Zoffix Znet) | S32-io/file-tests.t Expand file tests (#342) * Use subtests * Add tests for .d * Add tests for IO.l ... (34 more lines) |
12:52 | |
dogbert2 | yes, changinf the 'xx' lines to say 2 improves things considerably at least on my system | ||
squashable6 | 🍕 zoffixznet++ wrote a comment on “Expand file tests”: github.com/perl6/roast/pull/342#is...-334933131 | 12:53 | |
dogbert2 | I think total spectest time went down ~20s | ||
12:54
Cabanossi left
|
|||
tyil | .tell zoffix thanks for the tip :> | 12:55 | |
yoleaux | tyil: I'll pass your message to zoffix. | ||
12:55
Cabanossi joined
12:58
domidumont left
12:59
Skarsnik joined
|
|||
Geth | rakudo/full-make-test: 0d5bb9097a | (Zoffix Znet)++ | t/02-rakudo/dump.t Fudge failing tests Not sure there's any point in fixing this, since it's not part of the language and we already got `dd` and language-wise we got `.perl` |
12:59 | |
rakudo/full-make-test: 93c4555db3 | (Zoffix Znet)++ | t/02-rakudo/dump.t Unfudge now-passing test |
13:00 | ||
13:01
rba_ joined,
wamba joined
|
|||
RabidGravy | Anyhow I've worked round the above weirdness by making it a role with an explicitly defined accessor for the attribute | 13:02 | |
13:03
rba left
|
|||
lizmat | RabidGravy: please rakudobug :-) | 13:03 | |
13:10
ChoHag left
13:14
mephinet joined
|
|||
Geth | roast: c4d7af0c4d | (Zoffix Znet)++ | 2 files Toss is_run_repl helper routine It's not used anywhere and all but the basic sanity REPL tests have been moved to rakudo's test suite |
13:15 | |
13:16
lancew left
|
|||
dogbert2 | Zoffix: RT #125170 seems to have been fixed, do you think it happened during your IO grant work? | 13:16 | |
synopsebot | RT#125170 [new]: rt.perl.org/Ticket/Display.html?id=125170 [BUG] Cannot read from a file opened with open(:rw) in Rakudo | ||
13:16
thou left,
reu joined
13:17
rba joined,
pilne joined
13:19
rba_ left
13:24
Cabanossi left
|
|||
Geth | rakudo/full-make-test: 78eca2141d | (Zoffix Znet)++ | 2 files Start making repl tests work |
13:25 | |
13:25
Cabanossi joined
13:26
lancew joined
13:27
skids joined
13:28
piojo joined
13:31
ryn1x joined,
rba_ joined
13:34
rba left
|
|||
RabidGravy | I can tell how vastly popular the GDBM module was as I released it without the required "resources" entry and no-one noticed ;-) | 13:34 | |
timotimo | RabidGravy: your module was the first time i heard about this database thing | 13:35 | |
RabidGravy | it was all the rage before memcached came along ;-) | 13:36 | |
you yoofs have never lived | |||
timotimo | hah, yeah | ||
13:37
zakame joined
|
|||
lizmat remembers GDBM :-) | 13:41 | ||
also that it wasn't threadsafe (at least then) | |||
timotimo | tyil: will you throw the cpanified dists out of the ecosystem META.list? | 13:45 | |
13:45
smls_ joined
|
|||
tyil | timotimo: sure :> | 13:46 | |
robertle | does anyone understand the implications of GPL-licensed libraries on e.g. perl6 code that binds to them? | ||
tyil | timotimo: is it a problem if I do that later today? | ||
Skarsnik | LGPL or GPL? | ||
robertle | GPL, just wondering because of GDBM... | ||
13:46
rba joined
|
|||
timotimo | tyil: of course not :) | 13:47 | |
13:47
piojo left
|
|||
timotimo | i suddenly got obsessed with the modules.perl6.org update process taking too long | 13:47 | |
Skarsnik | I think the GPL faq has something for that. if I remember correclty using the API mean your code should be GPL or compatible | ||
13:47
piojo joined
13:48
smls left
|
|||
robertle | Skarsnik: that''s what I think too, also based on the fact that the libstdc++ has a special clause to allow dynamic linking against it without making the software using it GPL | 13:49 | |
13:49
rba_ left
|
|||
robertle | which could mean that a perl6 module that provides GDBM bindings would need to be GPL as well | 13:49 | |
not sure | |||
13:50
cdg joined
|
|||
Skarsnik | GPLv3 FaQ is very complete | 13:51 | |
13:53
Cabanossi left,
itaipu left
|
|||
RabidGravy | lizmat, #132236 | 13:53 | |
synopsebot | RT#132236 [new]: rt.perl.org/Ticket/Display.html?id=132236 Possible regression in Meta object construction | ||
lizmat | RabidGravy: thanks | ||
13:55
Cabanossi joined
|
|||
lancew | Hi all, what repo is the target for squashathon? | 13:56 | |
Skarsnik | rakudo | 13:58 | |
13:58
Wiertek left
13:59
kaare_ joined
|
|||
Skarsnik | squashable6, info | 13:59 | |
squashable6 | Skarsnik, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈21 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
Skarsnik, Log and stats: gist.github.com/b5d4f1466ca13b411d...5f343c2da5 | 14:00 | ||
RabidGravy | I also suspect that gdbm isn't particularly threadsafe | ||
14:00
tushar_ joined
|
|||
RabidGravy | I probably haven't help much with the wrapper I made | 14:00 | |
HoboWithAShotgun | how do i know the current line separator? what say appends to its argument | 14:01 | |
14:01
rba_ joined
|
|||
timotimo | m: say $*OUT.nl-out | 14:01 | |
camelia | |||
timotimo | that should be it | 14:02 | |
Geth | roast: skids++ created pull request #343: Add tests for new range precedence worries (RT#127279) |
||
squashable6 | 🍕 skids++ opened pull request “Add tests for new range …”: github.com/perl6/roast/pull/343 | ||
synopsebot | RT#127279 [open]: rt.perl.org/Ticket/Display.html?id=127279 [BUG] Infinite loop with |"a".."z" | ||
squashable6 | 🍕 skids++ merged pull request “Add tests for new range …”: github.com/perl6/roast/pull/343 | ||
Geth | roast: 9d56ba1e58 | skids++ | S03-operators/range.t Add tests for new range precedence worries (RT#127279) |
||
roast: 6e9bab5de4 | skids++ (committed using GitHub Web editor) | S03-operators/range.t Merge pull request #343 from skids/rt127279 Add tests for new range precedence worries (RT#127279) |
|||
14:02
|oLa| joined
14:03
Zoffix joined,
tushar_ left
|
|||
Zoffix | lancew: rakudo/rakudo (tickets at fail.rakudo.party/ ), MoarVM/MoarVm, perl6/nqp, and perl6/roast. It's really just rakudo/rakudo, but since all the other repos are part of it more or less, they also count this month. | 14:04 | |
buggable: tag LHF | |||
buggable | Zoffix, There are 7 tickets tagged with LHF; See fail.rakudo.party/t/LHF for details | ||
Zoffix | buggable: tag TESTNEEDED | ||
buggable | Zoffix, There are 53 tickets tagged with TESTNEEDED; See fail.rakudo.party/t/TESTNEEDED for details | ||
14:04
rba left,
tushar_ joined
|
|||
Zoffix | lancew: ^ some easy tickets as well as tickets that are already fixed and just need a test added to roast | 14:04 | |
14:05
ryn1x left
|
|||
lancew | Thanks Zoffix, looking now | 14:07 | |
Xliff_ | .tell thundergnat Thanks for the suggestion. I will upgrade, but I thought I had done that, recently. | 14:10 | |
yoleaux | 11:48Z <thundergnat> Xliff_: re: "Useless use of constant value next..." Are you possibly using an old version of Inline::Perl5? See: github.com/niner/Inline-Perl5/issues/92 | ||
Xliff_: I'll pass your message to thundergnat. | |||
squashable6 | 🍕🍕🍕 First contribution by usev6++! ♥ | 14:11 | |
Geth | roast: e3e1f75cc5 | usev6++ | 6 files [jvm] Remove fudges for RT #126524 Proc::Async has been implemented for the jvm backend; jnthn++. Unfortunately, some of the fudged tests still fail. I updated the fudge reasons accordingly. |
||
synopsebot | RT#126524 [open]: rt.perl.org/Ticket/Display.html?id=126524 [JVM] Proc::Async NYI | ||
Xliff_ | .tell thundergnat I am on Inline::Perl5 0.26 and am still getting the error. | 14:12 | |
yoleaux | Xliff_: I'll pass your message to thundergnat. | ||
RabidGravy | there is a precedence problem with NativeCall.pm line 337, that manifests as not recognizing parameters on methods with named variables | ||
thus leading to github.com/perl6/DBIish/issues/104 | 14:13 | ||
Geth | rakudo/nom: f59b2887ad | (Zoffix Znet)++ (committed using GitHub Web editor) | lib/NativeCall.pm6 Fix precedence error; RabidGravy++ |
14:14 | |
squashable6 | 🍕 jonathanstowe++ wrote a comment on commit f59b2887adfc: github.com/rakudo/rakudo/commit/f5...t-24827366 | 14:15 | |
🍕🍕🍕 First contribution by jonathanstowe++! ♥ | |||
timotimo | good catch, RabidGravy! | ||
14:16
rba joined
|
|||
RabidGravy | that's been bugging me for days | 14:17 | |
14:18
ChoHag joined
14:19
rba_ left
|
|||
RabidGravy | I've so got to get a new laptop, building rakudo is getting slower by the day | 14:22 | |
14:24
Cabanossi left
|
|||
timotimo | me, too ... ever since i broke 8 of my 12 gigs it's hard to use it for any meaningful rakudo dev | 14:25 | |
14:25
Cabanossi joined
14:27
tushar_ left
14:28
SCHAPiE left,
ryn1x joined
|
|||
HoboWithAShotgun | tyvm timi | 14:29 | |
14:31
rba_ joined
|
|||
HoboWithAShotgun | *timo | 14:31 | |
14:33
SCHAPiE joined,
ryn1x left
|
|||
Zoffix | RabidGravy: how can I trigger that error? I'd like to write a test covering that bug | 14:34 | |
14:34
rba left
14:35
markldevine joined
14:37
pecastro left
14:38
markldevine left
|
|||
Geth | ecosystem: Tyil++ created pull request #372: Remove scriptkitties modules, now released through CPAN |
14:38 | |
ecosystem: eae29ebbdd | (Patrick Spek)++ (committed by Zoffix Znet) | META.list Remove scriptkitties modules, now released through CPAN (#372) |
14:39 | ||
Zoffix | tyil: you should accept your perl6 org invite so you could commit stuff to most of the org's repos yourself: github.com/perl6/ | 14:40 | |
14:41
xinming left
|
|||
tyil | ah, I didnt see I got one :'D | 14:41 | |
I dont remember any notification on github telling me about it | |||
RabidGravy | Zoffix, it's basically "method something(Str $foo) is native(...)" where the C func something takes two arguments the first being a CPointer or CStruct which the method is a member of | 14:42 | |
but I am suspicious that hasn't fixed what I am seeing | |||
14:43
ChoHag left,
xinming joined
|
|||
Zoffix | m: use NativeCall; class { method foo(Str $foo) is native {} }.new | 14:43 | |
camelia | ( no output ) | ||
Zoffix | c: HEAD~10 use NativeCall; class { method foo(Str $foo) is native {} }.new | ||
committable6 | Zoffix, ¦HEAD~10: «» | ||
Zoffix | don't seem to be it | ||
c: HEAD~10 use NativeCall; class { method foo(Str $foo) is native {} }.new.foo | 14:45 | ||
committable6 | Zoffix, gist.github.com/52a6c5f1a1b21df2f3...2889dc855b | ||
Zoffix | k | ||
14:45
lancew left
14:46
rba joined
|
|||
Zoffix | ain't gonna write tests; dunno how | 14:47 | |
RabidGravy | I'll gist one in a bit | 14:48 | |
14:49
rba_ left
14:50
xinming left
14:51
skids left
|
|||
RabidGravy | Zoffix, ah it also has the same bug in line 400 of NativeCall.pm :-( | 14:51 | |
Geth | nqp: c20643c97c | (Samantha McVey)++ | docs/ops.markdown [docs] Document `ordbaseat` op in docs/ops.markdown |
14:52 | |
nqp: 0bed230bda | (Samantha McVey)++ | src/HLL/Grammar.nqp Improve error message when space with combiners is encountered New message: q ̌̌(hi) Whitespace character ‘SPACE’ (0x20) with 2 combining characters is not allowed as a delimiter at line 2, near " ̌̌(hi)\n" |
|||
rakudo/nom: ba2d858fb2 | (Zoffix Znet)++ (committed using GitHub Web editor) | lib/NativeCall.pm6 Fix precedence error; RabidGravy++ |
|||
14:52
Geth left
14:53
Geth joined,
wander4096 left
|
|||
RabidGravy | right that seems to work now, DOUBLES ALL ROUND | 14:53 | |
14:55
cog__ left,
cog__ joined
|
|||
Geth | nqp: 108db21525 | (Zoffix Znet)++ | src/HLL/Compiler.nqp Remove trailing whitespace |
14:58 | |
14:59
HoboWithAShotgun left
15:02
rba_ joined,
pecastro joined
15:04
rba left
15:08
yht joined
|
|||
RabidGravy | Zoffix, actually the test at line 123 of t/04-nativecall/18-routine-sig-sanity.t would probably do it if the parameters were given named $variables and the method was actually called | 15:14 | |
15:15
bitrauser joined,
haxmeister joined
|
|||
Zoffix | ok, I'll give it a go | 15:15 | |
bitrauser | good evening everyone | ||
haxmeister | I heard a rumor that cpan6 has been released and perl6 has now achieved lvl 5 badassery | 15:16 | |
is this correct? | |||
15:17
rba joined,
ryn1x joined
|
|||
Zoffix | bitrauser: \o | 15:17 | |
haxmeister: uhh.. partially. Nothing's been "released". modules.perl6.org added support for Perl 6 dists on CPAN, completing the final piece of work to have usable workflow for having dists on CPAN. zef already looked for dists on CPAN months ago and that's the tool to install them, not "cpan6" | 15:19 | ||
15:19
rba_ left
|
|||
Zoffix | haxmeister: 6lang.party/post/CPAN6-Is-Here | 15:19 | |
15:19
grumble2 joined,
grumble left
|
|||
Geth | nqp: c38cfe87f5 | (Zoffix Znet)++ | src/HLL/Compiler.nqp Implement --force-stdin-eval-mode command line arg - Takes 'interactive' and 'non-interactive' as valid values - Provides the means to switch between REPL and plain eval STDIN without depending on whether STDIN is a TTY or not. At the very least, this lets us easily write REPL tests. |
15:21 | |
15:21
ryn1x left
|
|||
15:22
ryn1x joined
15:23
Cabanossi left
|
|||
bitrauser | I wanted to join in to squash some bugs :) Hope I'm not too late | 15:23 | |
Zoffix | squashable6: status | ||
squashable6 | Zoffix, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈20 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
Zoffix, Log and stats: gist.github.com/94ceaf418b741c8d16...cb5f01382d | |||
timotimo | not too late :) | ||
Zoffix | bitrauser: still 20hours :) | ||
buggable: tag LHF | |||
buggable | Zoffix, There are 7 tickets tagged with LHF; See fail.rakudo.party/t/LHF for details | ||
Zoffix | buggable: tag TESTNEEDED | ||
buggable | Zoffix, There are 53 tickets tagged with TESTNEEDED; See fail.rakudo.party/t/TESTNEEDED for details | ||
RabidGravy | It's never too late to squash some bugs | ||
15:24
smls_ left
|
|||
bitrauser | Any specific recommendation for a beginner? | 15:24 | |
Zoffix | bitrauser: ^ some of easy tickets to do as well as tickets that are already fixed and just need tests written. This month's SQUASHathon is about rakudo/rakudo repo ( open tickets: fail.rakudo.party/ ) and since it depends on other repos, perl6/nqp, MoarVM/MoarVM, and perl6/roast repos also part of it | ||
15:25
Cabanossi joined
|
|||
ryn1x | I am trying to get perl6 working on codechef.com. Can anyone see why this submission: pastebin.com/vpMy9G2q would timeout for: www.codechef.com/problems/C00K0FF ? I assume it might not like my i/o... | 15:27 | |
15:28
grumble joined
15:31
yht left,
grumble2 left
|
|||
bitrauser | Thanks, gonna take a look | 15:31 | |
15:32
rba_ joined
|
|||
Zoffix | ryn1x: says timelimit is 1 second. Is it possible it's running on really crappy box where our slower startup is running out the timeout? | 15:33 | |
15:33
cdg left
|
|||
Zoffix | ryn1x: also, are you sure the input comes from STDIN? | 15:33 | |
15:34
rba left
|
|||
Zoffix | (yeah, other entries read from STDIN) | 15:34 | |
timotimo | it supposedly gives you 100000 tests all in all? | 15:35 | |
it could very well be we're not fast enough to make it? | 15:37 | ||
Zoffix | right | ||
Just the sample entry runs .34s on my box | |||
ryn1x | If anyone can pass the test I would love to know how you did it! I have tried refactoring a few times with no luck. That would be interesting if they implemented perl6 without really testing it... | ||
timotimo | right, how about concatenating the tests 10x and upping the first line to 30, how much slower does it get? | ||
Zoffix | ryn1x: do you got full input sample? | 15:38 | |
ryn1x | Zoffix: No I don't.. | ||
timotimo | should be easy to generate some example input | 15:39 | |
c: say 10_000; for ^10_000 { my $count = ^15 .pick; say $count; .say for <cakewalk simple easy easy-medium medium medium-hard hard>.roll($count) } } | 15:41 | ||
committable6 | timotimo, Seems like you forgot to specify a revision (will use “v6.c” instead of “say”) | ||
timotimo, ¦v6.c (23 commits): «04===SORRY!04=== Error while compiling /tmp/uQ_nK603rKUnexpected closing bracketat /tmp/uQ_nK603rK:1------> 03medium medium-hard hard>.roll($count) } 08⏏04} «exit code = 1»» | |||
timotimo | oops | ||
c: say 10_000; for ^10_000 { my $count = ^15 .pick; say $count; .say for <cakewalk simple easy easy-medium medium medium-hard hard>.roll($count) } | 15:42 | ||
committable6 | timotimo, Seems like you forgot to specify a revision (will use “v6.c” instead of “say”) | ||
Zoffix | c: HEAD say 10_000; for ^10_000 { my $count = ^15 .pick; say $count; .say for <cakewalk simple easy easy-medium medium medium-hard hard>.roll($count) } | ||
timotimo | ryn1x: it looks like it's also acceptable to have more than one of each required kind | ||
see the third example in the exercise description | |||
15:44
xinming joined
|
|||
committable6 | Zoffix, gist.github.com/735558c6470806c7e7...646a2d62d2 | 15:45 | |
timotimo, gist.github.com/11792b43af67471767...e5591629b4 | |||
timotimo | here's a file for your downloading pleasure | ||
Skarsnik | that was slow | ||
timotimo | just have to throw out the very first line | ||
if i output to /dev/null on my machine it finishes in under a second | 15:46 | ||
oh, same for a text file | |||
15:46
rba joined,
HoboWithAShotgun joined
|
|||
timotimo | cool. i can run the program ryn1x wrote on that in just under a second for the 10k lines input | 15:47 | |
so we're close | |||
heh. 18.8% of time spent looking up $*IN over and over | 15:48 | ||
Zoffix tries a hand at this | |||
15:48
rba_ left,
wamba left
|
|||
Zoffix | heh, atom chokes on that input file :) | 15:48 | |
timotimo | say @results.join("\n") is a lot faster than .say for @results | 15:49 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/wmqCfTCo3y Variable '@results' is not declared at /tmp/wmqCfTCo3y:1 ------> 03say 08⏏04@results.join("\n") is a lot faster than |
||
timotimo | haha thanks evalable6 | 15:50 | |
using an if/elsif instead og given/when is another nice win | 15:51 | ||
Zoffix | On my box it runs in 1.34s | ||
timotimo | i need a bigger file :) | 15:52 | |
Zoffix | hm, my version with a bag runs 1.84s :( | ||
git it looks pretty: gist.github.com/zoffixznet/0a67ad4...3b9cd28e05 | 15:53 | ||
s/git/but/; | |||
timotimo | with 100_000 input tests i get 27% time spent in write-internal to get the results out :D | ||
it takes 2.4s to do the whole thing | |||
Zoffix | hm | 15:54 | |
timotimo | 78% cpu usage :D | ||
Zoffix | 1.73user 0.06system 0:01.67elapsed 107%CPU (0avgtext+0avgdata 102556maxresident)k | 15:55 | |
timotimo | it spends about 6% in _int_free and 5% in _int_malloc | ||
15:57
ryn1x_m joined
15:58
KotH left
|
|||
ryn1x_m | I have to run my wife to the airport, but am on mobile and watching the logs. I’ll test all your guys’ suggestions when I get home. | 15:58 | |
16:01
rba_ joined
|
|||
ryn1x_m | Looks like if the runtimes are borderline though then it may not be possible depending on what box codechef has perl6 running on though? ... | 16:01 | |
timotimo | neat, i have a little performance improvement | ||
in the core | 16:03 | ||
16:03
rba left
|
|||
timotimo | Int went from 9.17% (238.2ms) to 7.76% (195.6ms) | 16:05 | |
(and from only speshed to jitted) | |||
hah, one fewer GC run over the course of the program, too | 16:06 | ||
16:07
kaare_ left
|
|||
Geth | rakudo/nom: 5f6896bde8 | (Timo Paulssen)++ | src/core/Str.pm use nqp::codes op to speed up Int not a vast improvement, but having one allocation less is a nice bonus. |
16:09 | |
Zoffix | \o/ | 16:12 | |
timotimo | letting the value fall out of the final statement instead of using return explicitly is also a little improvement, but barely noticable | 16:13 | |
16:13
BenGoldberg left
|
|||
Zoffix | Is there an nqp op to convert native str to native int? | 16:14 | |
timotimo | there is smart numify, perhaps there's also smart intify | ||
16:14
ChoHag joined
|
|||
Zoffix | m: use nqp; my int $x = nqp::fromstr_I('42', Int); say $x | 16:15 | |
camelia | 42 | ||
Zoffix | There's this but the box-unbox kinda meh | ||
16:16
rba joined
|
|||
timotimo | the fast path here uses radix_I | 16:16 | |
which i assume is faster because it doesn't support 0x and friends | |||
Zoffix | ah, k | 16:17 | |
m: use nqp; my int $x = nqp::radix(10, '42', 0, 0); say $x | |||
camelia | This representation (VMArray) cannot unbox to a native int (for type BOOTArray) in block <unit> at <tmp> line 1 |
||
timotimo | needs _I, doesn't it? | ||
Zoffix | m: use nqp; my int $x = nqp::atpos(nqp::radix(10, '42', 0, 0),0); say $x | ||
camelia | 42 | ||
timotimo | ah, it splits into pre- and post-dot? | 16:18 | |
Zoffix | timotimo: nah, there's just more info: github.com/perl6/nqp/blob/master/d...down#radix | ||
timotimo | ah, i see | ||
16:18
rba_ left
|
|||
timotimo | with a bunch of smarts in the jit, we could get around the array allocation ... at some point :) | 16:19 | |
16:21
AlexDaniel_ joined
16:22
piojo left
|
|||
timotimo | m: <cakewalk simple easy easy-medium medium medium-hard hard>.map(*.chars).sort.say | 16:22 | |
camelia | (4 4 6 6 8 11 11) | ||
timotimo | damn, that doesn't help in the slightest | 16:23 | |
Geth | rakudo: jonathanstowe++ created pull request #1185: Add tests to cover a common NC usage |
16:24 | |
squashable6 | 🍕 jonathanstowe++ opened pull request “Add tests to cover a common NC usage”: github.com/rakudo/rakudo/pull/1185 | ||
Zoffix | :S | ||
Rewrote this crap in nqp ops.... and that made it .3s slower | |||
timotimo | (i put a check for line length first | ||
oh wow | |||
16:24
BenGoldberg joined
|
|||
RabidGravy | there ☝ | 16:25 | |
Zoffix | Maybe I did something wrong: gist.github.com/zoffixznet/ef3a219...4d0c1c6770 | ||
Zoffix returns to working on code that actually matters :D | |||
16:25
kaare_ joined
|
|||
RabidGravy | not exactly the most extensive test but it covers the actual failure | 16:25 | |
timotimo | very good! | ||
squashable6 | 🍕 zoffixznet++ merged pull request “Add tests to cover a common NC usage”: github.com/rakudo/rakudo/pull/1185 | ||
🍕 zoffixznet++ wrote a comment on “Add tests to cover a common NC usage”: github.com/rakudo/rakudo/pull/1185...-334947318 | 16:26 | ||
Geth | rakudo/nom: d8a20d1134 | (Jonathan Stowe)++ | 2 files Add tests to cover a common NC usage C functions that consistently take some struct or pointer as the first argument are declared as methods of that CStruct or CPointer |
||
rakudo/nom: 64d41ffa11 | (Zoffix Znet)++ (committed using GitHub Web editor) | 2 files Merge pull request #1185 from jonathanstowe/nom Add tests to cover a common NC usage |
|||
TimToady | m: grammar { token TOP { <[\w] -forbidden -digit -space>+ }; regex forbidden { <+[meow]> } }.parse("kak").say | ||
yoleaux | 00:40Z <AlexDaniel_> TimToady: maybe you can take a look at RT #125596 ? It feels like it can be changed to .panic, but maybe you know a good reason why it has to be a sorry. The spectest seems to be clean with .panic but I don't trust it that too much. | ||
camelia | 「kak」 | ||
yoleaux | 04:02Z <AlexDaniel_> TimToady: cursor issue, maybe you know something about it (see my comment). RT #125674 | ||
synopsebot | RT#125596 [new]: rt.perl.org/Ticket/Display.html?id=125596 [LTA] error message with if; and unless; without conditions | ||
RT#125674 [new]: rt.perl.org/Ticket/Display.html?id=125674 [LTA] error message prints wrong eject position (if True if { };) | 16:27 | ||
TimToady | Zoffix: you double negatived it ^^^ | ||
Zoffix | Ohhh | ||
hehe :D | |||
16:27
ryn1x_m left
|
|||
timotimo | Zoffix: your use of nqp::decode causes the jit to bail out, that could be a major factor | 16:27 | |
(it's not anything special about how you use it, it's just NYI) | 16:28 | ||
(but doesn't have to be that way for long) | |||
Zoffix | Ah | ||
OK. | |||
Changing it to my $lines := nqp::split("\n",$*IN.slurp); does shave off a bit of time, making it run in 1.8s | 16:30 | ||
16:30
KotH joined
|
|||
AlexDaniel_ | o/ | 16:31 | |
Zoffix | \o | ||
AlexDaniel_ | squashable6: status | ||
squashable6 | AlexDaniel_, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈19 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel_, Log and stats: gist.github.com/c30b184f86697c05d6...c9c2e02fd0 | |||
16:31
rba_ joined
|
|||
Zoffix | AlexDaniel_: you have robo message under AlexDaniel | 16:31 | |
AlexDaniel | . | ||
yoleaux | 11:36Z <Zoffix> AlexDaniel: FWIW jnthn++ said we'll likely make ». autothread only is pure routines, so no shuffling is really needed: rt.perl.org/Ticket/Display.html?id...et-history | ||
12:23Z <Zoffix> AlexDaniel: squshable's log made need pruning. It counted 50 commits were added, when I just synced a branch: gist.github.com/Whateverable/ccfa0...le-log-L73 | |||
timotimo | Zoffix: with an active profiler, it goes from 2343.4ms to 2246.5ms when decode is jitted | 16:32 | |
that said, you're not treating the gc very well it seems | 16:33 | ||
AlexDaniel_ | Zoffix: so <a b c d>».say should not be discouraged? Interesting | ||
16:33
rba left
|
|||
Zoffix | .ask samcv Do tests need to be adjusted to accomodate ornate stuff? I'm getting failures in t/spec/S02-lexical-conventions/comments.t | 16:33 | |
yoleaux | Zoffix: I'll pass your message to samcv. | ||
Zoffix | AlexDaniel_: well, that's based on an off-hand comment in IRC chat. Not a final design descision :) | 16:34 | |
But I image there's a ton of code that uses » as if it were a simple, linera map | |||
*linear | |||
AlexDaniel_ | this kinda makes sense | 16:35 | |
16:36
Ptolemarch left
|
|||
Geth | roast: 5f64bc0c6e | (Zoffix Znet)++ | S03-operators/range.t Fix missing `use lib` |
16:36 | |
AlexDaniel_ | Zoffix: what do you think about github.com/rakudo/rakudo/pull/1183 ? | ||
timotimo | Zoffix: constructing an nqp::list_s and push_s into it then joining it at the end is massively faster than concating over and over | 16:37 | |
down to 1.57s | |||
TimToady | » is supposed to be an explicit promise that you don't care about order, and there are lots of places that are not marked pure that are nevertheless effectively pure | ||
Zoffix | AlexDaniel_: when I saw it this morning I thought "why doesn't he just commit directly". ... Dunno anything about that code path | 16:38 | |
16:38
Ptolemarch joined
|
|||
Geth | rakudo/nom: 4 commits pushed by (Aleks-Daniel Jakimenko-Aleksejev)++ | 16:39 | |
squashable6 | 🍕 AlexDaniel++ merged pull request ““corresponding … was at” RT #125641”: github.com/rakudo/rakudo/pull/1183 | ||
synopsebot | RT#125641 [new]: rt.perl.org/Ticket/Display.html?id=125641 [LTA] error messages when right bracket is missing: $<> , <>, () and so on | ||
AlexDaniel_ | Zoffix: alright then we'll see how it goes | ||
16:43
domidumont joined
|
|||
Geth | roast: 85b9380acd | (Zoffix Znet)++ | S02-lexical-conventions/comments.t Remove incorrect test Per samcv++ from github.com/perl6/nqp/commit/02a426e0e6 Remove support for ornate parenthesis from quoting constructs Reasons: * These are not recognized by Unicode as being brackets ... (6 more lines) |
16:43 | |
AlexDaniel_ | ah, so the tests are being finally removed | 16:44 | |
Zoffix: this needs to be cherry-picked to errata, right? | |||
Geth | roast/6.c-errata: d78ab87a65 | (Zoffix Znet)++ | S02-lexical-conventions/comments.t Remove incorrect test Per samcv++ from github.com/perl6/nqp/commit/02a426e0e6 Remove support for ornate parenthesis from quoting constructs Reasons: * These are not recognized by Unicode as being brackets ... (6 more lines) |
||
AlexDaniel_ | Zoffix++ | ||
Zoffix | .tell samcv nevermind. Found the commit with reasonings and tossed the incorrect tests from master and 6.c-errata in github.com/perl6/roast/commit/85b9380acd and github.com/perl6/roast/commit/d78ab87a65 | ||
yoleaux | Zoffix: I'll pass your message to samcv. | ||
16:45
zakame left
|
|||
AlexDaniel_ | I thought that this was removed weeks ago… :) | 16:45 | |
Geth | rakudo/nom: 9ce896d8bf | (Zoffix Znet)++ | tools/build/NQP_REVISION Bump NQP |
16:46 | |
rakudo/nom: version bump brought these changes: github.com/perl6/nqp/compare/2017....5-gc38cfe8 20518454ef | (Zoffix Znet)++ | src/Perl6/Compiler.nqp Since recently-ish, if STDIN is not a TTY, we've treated STDIN as simply a file with code to eval, without starting REPL. |
|||
16:46
ken joined
|
|||
Zoffix | \o/ bot spam \o/ | 16:46 | |
16:46
ken is now known as Guest99662
|
|||
RabidGravy | can anyone think of a good way of testing what happens when a program is exec'd by something that fdreopen its stdin to a socket? | 16:47 | |
16:47
HoboWithAShotgun left
|
|||
timotimo | Zoffix: i *think* the $lines array upsets the GC a little bit. i wonder how best to rewrite this so it grabs stuff line-by-line instead | 16:48 | |
16:48
Guest99662 left
|
|||
RabidGravy | I think this is key to understanding why FastCGI::Native doesn't work with apache mod_fcgid in the way I think it should do | 16:48 | |
16:48
thunktone joined
|
|||
timotimo | RabidGravy: were you able to get an strace or something? | 16:49 | |
16:49
nadim_ joined
|
|||
timotimo | that should show what moar's trying and in what way it fails | 16:49 | |
i'm afk for a bit, but i'd look at a trace for you later | |||
AlexDaniel_ | .tell lizmat something was bisected to your commit. Maybe you want to take a look RT #132236 | 16:50 | |
yoleaux | AlexDaniel_: I'll pass your message to lizmat. | ||
RabidGravy | it's tricky but the mod_fcgid dicks around with all the STDIO file descriptors in such a way that debugging is awkward | ||
synopsebot | RT#132236 [open]: rt.perl.org/Ticket/Display.html?id=132236 [REGRESSION] Meta object construction | ||
AlexDaniel_ | e: ( | 16:51 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/X4WAtjPGjt Unable … |
||
AlexDaniel_, Full output: gist.github.com/48ba440330b1e21b2b...be054daba7 | |||
16:51
domidumont left
16:54
stux|RC-only joined
|
|||
TimToady | m: say 42 if ; | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing semicolon at <tmp>:1 ------> 3say 42 if 7⏏5; |
||
TimToady | that's obviously wrong | ||
16:56
thunktone left
|
|||
TimToady | should probably say "Missing expression" or so | 16:56 | |
timotimo | :D | ||
AlexDaniel_ | TimToady: isn't it the eject position that is wrong? | ||
TimToady | well, kinda | 16:57 | |
m: say 42 if # comment | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing semicolon at <tmp>:1 ------> 3say 42 if # comment7⏏5<EOL> |
||
TimToady | it's wrongish there, fer shure | ||
probably wants a .PRECURSOR or so | |||
16:58
thunktone joined
|
|||
AlexDaniel_ | I think that's exactly what RT #125674 is about | 16:58 | |
synopsebot | RT#125674 [new]: rt.perl.org/Ticket/Display.html?id=125674 [LTA] error message prints wrong eject position (if True if { };) | ||
TimToady | it's okay to me that it only is sorry about the missing whitespace, since it's falling through to the (currently wrong) missing semicolon message | ||
which is more explanatory than missing whitespace | |||
but I thought we dedupped sorry messages... | 16:59 | ||
*deduped | |||
the multiple messages might also indicate unexpected backtracking somewhere | |||
in any case, the final message should certainly be more like "Statement modifier requires an expression" | 17:01 | ||
AlexDaniel_ | TimToady: there are backtraces on how it gets there four times. I didn't really understand what's going on there, but maybe it's something about EXPR | ||
TimToady | I can maybe look at that in a bit, but gotta go to a wedding of a friend who neglected to take the squashathon into account, unaccountably... | 17:03 | |
AlexDaniel_ | :) | ||
17:03
rba joined
|
|||
Geth | rakudo/nom: 5c7bbea0a9 | (Zoffix Znet)++ | src/Perl6/Compiler.nqp Add --force-stdin-eval-mode opt to usage msg |
17:04 | |
17:05
rba_ left
|
|||
Geth | doc: 532cfc2982 | (Zoffix Znet)++ | doc/Programs/00-running.pod6 Document --force-stdin-eval-mode opt Impl: github.com/rakudo/rakudo/commit/9ce896d8bf github.com/perl6/nqp/commit/c38cfe87f5 |
17:05 | |
bitrauser | I guess I'll take a shot at writing some tests, how do I determine whether they belong in `rakudo/t/` or `roast`, and in which subcategory? Taking RT#125466 as an example. I'd assume that one would go to `perl6/roast/S03-operators/bit.t`? | 17:08 | |
synopsebot | RT#125466 [open]: rt.perl.org/Ticket/Display.html?id=125466 [MATH] bitwise shift is inconsistent on int | ||
17:09
stux|RC-only left,
HoboWithAShotgun joined
|
|||
AlexDaniel_ | bitrauser: that one goes to roast | 17:09 | |
Zoffix | bitrauser: roast contains stuff that defines the language, rakudo/t contains all the other tests. To find file where to write the test to, I usually do something like `tree -f | grep -i some-term` where some term is the stuff I want to test ("bit" or "bitshift" in this case). If nothing comes up, I use `grep -FR 'some term'` to find a file that mentions stuff. What you picked is a good choice for that test. | 17:11 | |
17:11
stux|RC-only joined
17:12
domidumont joined
|
|||
bitrauser | I see, thanks for the clarification | 17:13 | |
17:13
rba left,
rba joined
17:14
cdg joined
17:18
bitrauser_ joined,
bitrauser left
17:19
cdg left
|
|||
AlexDaniel_ | uhh, splitting tickets is painful | 17:22 | |
I guess it's the fact that you cannot edit the text that makes it so hard | |||
17:24
Cabanossi left
17:25
Cabanossi joined
17:27
kerframil left
17:32
Xliff_ left
17:35
thunktone left,
Ptolemarch left
17:37
thunktone joined
17:40
wamba joined
|
|||
timotimo | encoding "Yes\n" and "No\n" once into Buf objects, then appending it into a result Buf[uint8] and $*OUT.write'ing it is a bit faster still | 17:41 | |
1.38 for my version of p6.p6 and 2.25 for my version of parse-blah.p6 | |||
i lied. it's slower | 17:43 | ||
Geth | doc: 5c846222bd | (Zoffix Znet)++ | doc/Programs/00-running.pod6 Revert "Document --force-stdin-eval-mode opt" This reverts commit 532cfc2982eb3d9a408589b84fd88377ca5e0d19. Pending better name for the option |
||
AlexDaniel_ | Zoffix: maybe you know how to answer this question? github.com/timo/json_fast/issues/1...-334953062 | 17:44 | |
17:44
stux|RC-only left
|
|||
Zoffix | AlexDaniel_: the dists are version tho. ugexe or tony-o would know where the versions-to-commit-sha map is at | 17:45 | |
*versioned | |||
pretty sure zef uses it, so maybe it's listed in its sauce | 17:46 | ||
It's some JSON file somewhere | |||
17:48
BenGoldberg left
17:49
stux|RC-only joined
|
|||
timotimo | maybe under the ecosystem-api.p6c.org or what it's called? | 17:49 | |
Zoffix | (also modules.perl6.org can be taught to use that file and link to specific versions of p6c dists) | 17:50 | |
squashable6: status | 17:51 | ||
squashable6 | Zoffix, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈18 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
Zoffix, Log and stats: gist.github.com/23b44a65055c72d95e...8a4c3c1024 | |||
Zoffix | buggable: pizza me | ||
buggable | Zoffix, enjoy this slice of Deluxe pizza, my friend! Yummy 🍕 | ||
Zoffix | 18 hours eh... 'nuf time to relax, take a nap, and then squash some more \o/. | 17:52 | |
AlexDaniel_ | Zoffix++ | 17:53 | |
17:56
Wiertek joined
18:05
xinming left
18:09
xinming joined
18:15
HoboWithAShotgun left
18:16
pilne left
18:22
HoboWithAShotgun joined
18:23
Cabanossi left
18:25
Cabanossi joined
18:31
darutoko left,
andrzejku left
|
|||
AlexDaniel_ | github.com/torvalds/linux | 18:34 | |
“∞ contributors” | |||
that's a very interesting interpretation of infinity | 18:35 | ||
huf | "the number would be too wide and would mess up our css" | 18:44 | |
18:51
evalable6 left,
evalable6 joined
|
|||
AlexDaniel_ | huf: source? There's so much empty space around that field… | 18:52 | |
geekosaur | more likely "the stat would be too expensive to compute so we spiked it" I suspect | ||
18:58
wamba left
19:18
evalable6 left,
evalable6 joined
19:22
Cabanossi left
19:24
lizmat left
19:25
Cabanossi joined
19:26
lizmat joined
|
|||
squashable6 | 🍕🍕🍕 First contribution by TimToady++! ♥ | 19:28 | |
Geth | roast: 34577134e0 | TimToady++ | S32-exceptions/misc.t overspecific test disallows eject in correct spot |
||
19:32
domidumont left
|
|||
Geth | rakudo/nom: 5747bc7121 | TimToady++ | src/Perl6/Grammar.nqp deconfuse statement modifier errors Catch missing expressions on statement modifiers earlier so that the tests eat_terminator are only for statement controls. Also, move the cursor to the front of the cursor controls to indicate where the semicolon is actually perceived to be missing if we report that. Additionally, we change the kok check to use .panic instead of .sorry to avoid multiple errors resulting from repeated terminator checks that use statement modifier keywords for terminators. Fixes #125596 and #125674. |
19:35 | |
synopsebot | RT#125596 [new]: rt.perl.org/Ticket/Display.html?id=125596 [LTA] error message with if; and unless; without conditions | ||
RT#125674 [new]: rt.perl.org/Ticket/Display.html?id=125674 [LTA] error message prints wrong eject position (if True if { };) | |||
19:36
wamba joined
19:37
someuser joined
|
|||
Geth | roast: a0b678199c | (Moritz Lenz)++ | S32-num/rat.t RT #126101: Another test for 0.9999... |
19:41 | |
synopsebot | RT#126101 [open]: rt.perl.org/Ticket/Display.html?id=126101 [BUG] 0.lotsof9s badly approximated | 19:42 | |
19:42
eliasr left
19:45
Merfont joined
19:50
committable6 left,
committable6 joined,
ChanServ sets mode: +v committable6
19:52
kaare_ left
19:54
kaare_ joined,
hoffentlichja left
19:58
thunktone left
20:00
kaare_ left
20:01
kaare_ joined
20:02
nowan left
20:03
committable6 left
20:04
committable6 joined,
ChanServ sets mode: +v committable6
|
|||
El_Che | samcv: cheers for the grant completion! | 20:07 | |
Geth | roast: afa1f74636 | (Moritz Lenz)++ | S03-operators/repeat.t RT #121327: tests for scoping bug in xx |
20:08 | |
synopsebot | RT#121327 [open]: rt.perl.org/Ticket/Display.html?id=121327 [TESTNEEDED] Scoping bug with `xx` | ||
20:08
kaare_ left,
kaare_ joined
|
|||
Geth | roast: 005b4f76f7 | (Moritz Lenz)++ | S32-str/comb.t RT #130186: $/ inside comb |
20:11 | |
synopsebot | RT#130186 [new]: rt.perl.org/Ticket/Display.html?id=130186 Match object inside .comb is weird (‘789’.comb(/ . {say $/} <!> /)) | 20:12 | |
Geth | rakudo/nom: 5144216f6e | (Elizabeth Mattijsen)++ | 2 files Cache types we always need in the CompilerServices - this appears to make the setting compilation a bit faster - but getting timings on that is always difficult :-( |
20:14 | |
20:16
Wiertek left
20:22
Wiertek joined
20:23
Cabanossi left
20:25
Cabanossi joined
|
|||
Geth | nqp/jvm_killprocasync: 11ef6ea37d | usev6++ | 10 files [jvm] Update stage0 for modified op killprocasync |
20:28 | |
nqp/jvm_killprocasync: 7ca352fdf5 | usev6++ | 3 files [jvm] Primitive implementation of killprocasync |
|||
20:30
someuser left
20:34
cdg joined,
notostraca joined
|
|||
Geth | rakudo/nom: a09f5f2194 | (Elizabeth Mattijsen)++ | 4 files Set up Builtin encodings at setting compile time - so we don't need to do this each time on startup - only saves maybe 1 msec of startup - but it makes future optimizations opening STDIN/OUT/ERR easier |
20:34 | |
20:34
Aaronepower joined
|
|||
20:36
Wiertek left
20:38
kaare__ joined,
cdg left
20:40
kaare_ left
|
|||
Geth | doc: W4anD0eR96++ created pull request #1590: Can find implementation of Slang in rakudo |
20:42 | |
roast: 31506095f1 | usev6++ | 2 files [jvm] Update fudge messages: killprocasync NYI |
20:45 | ||
20:52
dogbert17 left
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Try harder to diagnose p…”: github.com/rakudo/rakudo/pull/565#...-334965048 | 20:53 | |
🍕 AlexDaniel++ merged pull request “Try harder to diagnose p…”: github.com/rakudo/rakudo/pull/565 | |||
Geth | rakudo/nom: c7a82d451d | usev6++ (committed by Aleks-Daniel Jakimenko-Aleksejev) | src/Perl6/Grammar.nqp Try harder to diagnose problem instead of reporting 'Malformed my' Fixes RT #125902 |
||
synopsebot | RT#125902 [open]: rt.perl.org/Ticket/Display.html?id=125902 [LTA] error message “Type 'Str' is not declared” (my Str where 'foo' $test;) | ||
TreyHarris | Anyone heard of a design pattern where an input document is "put out for bids" to a number of possible instantiators (all of the same supertype), and the class that wins instantiates it? I feel like I've read about this but web searching is getting me nowhere. | 20:57 | |
AlexDaniel_ | buggable: tag LHF | ||
buggable | AlexDaniel_, There are 7 tickets tagged with LHF; See fail.rakudo.party/t/LHF for details | ||
ugexe | strategy pattern? | 20:58 | |
TreyHarris | ugexe: yes! Thanks, I thought there was an auction-like process to select the algorithm, that's why I wasn't turning anything up | 21:00 | |
21:00
Morfent joined
|
|||
TreyHarris | strategy + abstract factory together is I think the example I was thinking of | 21:02 | |
21:03
Merfont left
21:11
Skarsnik left
|
|||
ugexe | m: role Impl { method bid { ... }; method foo { ... }; }; class Impl1 does Impl { method bid($x) { $x < 10 ?? 100 !! 10 }; method foo($x) { 1 } }; class Impl2 does Impl { method bid($x) { $x >= 10 ?? 100 !! 10 }; method foo($x) { 2 } }; class StrategyClass { has Impl @.strats = Impl1.new, Impl2.new; method foo($x) { @!strats.sort({ .bid($x) }).tail.foo($x) }; }; StrategyClass.new.foo($_).say for 1, 100 | 21:14 | |
camelia | 1 2 |
||
21:19
dogbert17 joined
|
|||
AlexDaniel_ | m: /a/ | 21:19 | |
camelia | ( no output ) | ||
AlexDaniel_ | c: all my Str where 'foo' $test; | 21:22 | |
committable6 | AlexDaniel_, gist.github.com/d02d501b6cd640987a...95511dd6da | 21:23 | |
AlexDaniel_ | bisect: old=2015.10 new=2015.11 my Str where 'foo' $test; | ||
bisectable6 | AlexDaniel_, Bisecting by output (old=2015.10 new=2015.11) because on both starting points the exit code is 1 | ||
AlexDaniel_, bisect log: gist.github.com/c5c278222e5fd1fead...59fb4bf960 | 21:24 | ||
AlexDaniel_, (2015-11-06) github.com/rakudo/rakudo/commit/e1...733b03b1c2 | |||
TreyHarris | ugexe: perfect, thanks. | ||
21:39
evalable6 left,
evalable6 joined
21:40
wamba left
|
|||
Geth | doc: 563e45b2ef | (Alex Wander)++ (committed using GitHub Web editor) | doc/Language/variables.pod6 Can find implementation of Slang in rakudo github.com/rakudo/rakudo/blob/8ff7...e/Slang.pm |
21:45 | |
synopsebot | Link: doc.perl6.org/language/variables | ||
Geth | doc: 50e3df0697 | (Patrick Spek)++ (committed using GitHub Web editor) | doc/Language/variables.pod6 Merge pull request #1590 from W4anD0eR96/patch-1 Can find implementation of Slang in rakudo |
||
TreyHarris | From the recent commits to ecosystem, it seems migration to CPAN is now underway? I missed the boat on that, is there a doc I can read about what I need to know as a module author? | 21:46 | |
lizmat | 6lang.party/post/CPAN6-Is-Here perhaps ? | ||
yoleaux | 16:50Z <AlexDaniel_> lizmat: something was bisected to your commit. Maybe you want to take a look RT #132236 | ||
synopsebot | RT#132236 [open]: rt.perl.org/Ticket/Display.html?id=132236 [REGRESSION] Meta object construction | ||
TreyHarris | lizmat: indeed! guess I missed the boat by one day, that's not bad :-D | 21:48 | |
thanks | |||
21:48
rindolf left
|
|||
timotimo | news.perlfoundation.org/2017/10/sep...votes.html - my grant made it into existence! | 21:49 | |
lizmat | timotimo++ # whee! | ||
21:50
Mrofnet joined
|
|||
squashable6 | 🍕 jonathanstowe++ wrote a comment on “Try harder to diagnose p…”: github.com/rakudo/rakudo/pull/565#...-334968141 | 21:51 | |
21:52
kaare__ left
|
|||
AlexDaniel_ | timotimo: yay \o/ | 21:53 | |
21:53
Merfont joined,
kaare__ joined
21:54
Morfent left
21:55
Morfent joined
21:56
Mrofnet left,
thou joined
21:58
Merfont left
|
|||
Geth | rakudo/nom: ac97a40161 | (Aleks-Daniel Jakimenko-Aleksejev)++ | src/Perl6/Grammar.nqp Fix complaints about existing types Call typo_typename only if <typename> or <value> failed, not if something else went wrong. Resolves ½ of RT #127100. |
21:58 | |
synopsebot | RT#127100 [new]: rt.perl.org/Ticket/Display.html?id=127100 [LTA] error message when specifying return type before parameters ( --> Bool, Int $x, Int $y ) | ||
22:03
cdg joined
22:07
cdg left
|
|||
timotimo | now i only need to get all the stuff working | 22:09 | |
[Coke]: somehow the formatting of the vote results are ... messed up? | 22:11 | ||
oh, there's multplication signs there that were interpreted as italic | |||
Geth | rakudo/nom: bb5583aeb7 | (Elizabeth Mattijsen)++ | src/core/io_operators.pm Streamline initialization of $*IN/$*OUT/$*ERR - do as much as possible during setting compilation - only plug in the handle/encoder/decoder at runtime - shaves off about 1.5% from bare startup time |
22:12 | |
timotimo | cool | ||
these add up! | |||
AlexDaniel_ | that's a lot actually | ||
lizmat hopes so | |||
AlexDaniel_ | is it like 2 or 3 ms? | 22:13 | |
lizmat | almost 2 msecs for me | ||
timotimo | damn. that's good | ||
lizmat | it's all pretty much near noise though | ||
AlexDaniel_ | that's like 75% of the perl5 startup time | ||
lizmat | I mean, the variance I have on bare startup is much larger than that | ||
AlexDaniel_ | well, the whole perl5 startup time is noise, so… :) | 22:14 | |
timotimo | AlexDaniel_: ideally we'd be as fast as perl5 completely without modules :P | ||
lizmat | the measurement is really from putting an nqp::time_n and nqp::say combo in the mainline | ||
AlexDaniel_ | lizmat: how did you know that it was this thing that was taking so much time? How to get a detailed breakdown of the startup time? | ||
lizmat | well, I know that IO::Handle.open is a *BIG* resource eater | 22:15 | |
I remembered that from the newio branch :-) | |||
AlexDaniel_ | :S | 22:16 | |
lizmat | BTW, for me, about 15 msecs is needed for running the mainline of the setting at startup | ||
the rest (about 120 msecs) is apparently MoarVM starting up | |||
timotimo | lizmat: what if we plug in utf8 encoding and decoding and replace it if we happen to have to use some other encoding/decoding on startup? | ||
i mean plug in utf8 during setting compilation | 22:17 | ||
and replace it if needed during startup | |||
lizmat | I don't think we ever need to replace that at startup | 22:18 | |
there's no way to set another encoding, afaics | |||
but e.g. the decoder depends on $is-win | |||
and that is runtime | |||
perhaps the encoder could be compiletime as well | 22:19 | ||
but that's maybe for tomorrow | 22:20 | ||
RabidGravy | byeeeeee | ||
22:20
RabidGravy left
|
|||
lizmat | AlexDaniel_: re RT #132236 , I found the issue | 22:20 | |
synopsebot | RT#132236 [open]: rt.perl.org/Ticket/Display.html?id=132236 [REGRESSION] Meta object construction | ||
lizmat | AlexDaniel_: the buildplan format between NQP and Rakudo have diverged | ||
AlexDaniel_ | oops | ||
lizmat | and somehow the NQP buildplan is being executed by Perl6, or vice-versa | 22:21 | |
will look at that tomorrow | |||
AlexDaniel_ | sure | ||
lizmat | good night, keep on squashing! | ||
AlexDaniel_ | .pizza lizmat | ||
buggable: pizza lizmat | |||
buggable | lizmat, enjoy this slice of Hawaiian pizza, my friend! Yummy 🍕 | ||
timotimo | lizmat: wait, can our code be moved to is-win without issue? | 22:22 | |
good night lizmat :) | |||
what i meant to say is: | |||
can we precomp under is-win being true and run that under is-win being false? | |||
lizmat | I don't know, I think technically you could ? | 22:23 | |
if not, then we could make an $?IS-WIN | |||
but for now, getting some shuteye :-) | 22:24 | ||
timotimo | sleep well! | ||
22:35
kaare__ left
|
|||
Geth | rakudo: dwarring++ created pull request #1186: implement typed pointer increment and array dereference salortiz++ |
22:36 | |
squashable6 | 🍕 dwarring++ opened pull request “implement typed pointer …”: github.com/rakudo/rakudo/pull/1186 | ||
🍕🍕🍕 First contribution by dwarring++! ♥ | |||
22:36
kurahaupo_ joined,
kurahaupo_ left
|
|||
squashable6 | 🍕 dwarring++ edited pull request “implement typed pointer …”: github.com/rakudo/rakudo/pull/1186 | 22:36 | |
22:36
kurahaupo_ joined,
kurahaupo_ left
22:37
kurahaupo_ joined,
kurahaupo_ left,
kaare__ joined
22:38
Cabanossi left
22:39
kurahaupo left
22:40
thou left,
Cabanossi joined
|
|||
AlexDaniel_ | TIL | 22:40 | |
m: sub foo ($x; $y;; --> 42) { }; say foo(50, 60) | |||
camelia | 42 | ||
22:40
thou joined
|
|||
Geth | rakudo/nom: 64b001a146 | (Aleks-Daniel Jakimenko-Aleksejev)++ | src/Perl6/Grammar.nqp Awesome error message for RT #127100 If you can do this: sub foo($x, --> 42) {} Then why not this? ... (6 more lines) |
22:49 | |
synopsebot | RT#127100 [new]: rt.perl.org/Ticket/Display.html?id=127100 [LTA] error message when specifying return type before parameters ( --> Bool, Int $x, Int $y ) | ||
22:52
yht joined
|
|||
buggable | New CPAN upload: Config/Perl6/Config-1.2.1.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...2.1.tar.gz | 23:02 | |
New CPAN upload: Config-Parser-toml/Perl6/Config-Parser-toml-1.0.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...0.0.tar.gz | |||
New CPAN upload: Config-Parser-yaml/Perl6/Config-Parser-yaml-1.0.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...0.0.tar.gz | |||
New CPAN upload: Hash-Merge/Perl6/Hash-Merge-0.1.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...1.0.tar.gz | |||
New CPAN upload: MDP-Client/Perl6/MPD-Client-0.1.2.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...1.2.tar.gz | |||
AlexDaniel_ | buggable: tags | 23:05 | |
buggable | AlexDaniel_, Total: 1639; 6.D: 2; 9999: 10; @LARRY: 26; ANNOYING: 9; BOOTSTRAP: 4; BUG: 596; BUILD: 12; CONC: 47; DOCS: 1; EXOTICTEST: 1; FLAP: 1; GLR: 3; IO: 22; JVM: 48; LHF: 7; LTA: 178; MATH: 4; META: 2; MOAR: 2; MOLD: 233; NATIVECALL: 22; NYI: 57; OO: 13; OPTIMIZER: 8; OSX: 2; PARSER: 5; PERF: 26; POD: 19; PRECOMP: 15; REGEX: 46; REGRESSION: | ||
AlexDaniel_, 36; REPL: 6; RFC: 63; RT: 2; SECURITY: 1; SEGV: 26; SINK: 1; SITE: 1; SPESH: 1; STAR: 7; TESTCOMMITTED: 10; TESTNEEDED: 57; TODO: 13; UNI: 28; UNTAGGED: 276; WEIRD: 2; WINDOWS: 3; See fail.rakudo.party/ for details | |||
timotimo | the last modules.perl6.org rebuild took only 40 minutes | ||
23:08
thou left
|
|||
AlexDaniel_ | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhh… | 23:10 | |
23:11
zakharyas joined
|
|||
AlexDaniel_ | that sweet moment when you realize what's the problem is | 23:12 | |
timotimo | oh? | 23:14 | |
what's this about? | |||
AlexDaniel_ | timotimo: nothing interesting, just yet another LTA ticket | 23:15 | |
timotimo | oh, ok | ||
it occurs to me: | |||
we don't really have anything like coverage for regexen | |||
i don't have any idea how to do this well | 23:16 | ||
AlexDaniel_ | timotimo: I use google for Grammar.nqp coverage… | ||
timotimo | what :) | ||
AlexDaniel_ | if some error message was never observed then it's probably dead code | ||
if it did, you'll probably see what makes it happen | |||
timotimo: maybe we're talking about different coverage though | 23:17 | ||
23:17
notostraca is now known as TEttinger
|
|||
timotimo | yeah, i was wondering more like "did this branch of that alteration ever match anything while running this particular piece of code?" | 23:17 | |
23:18
yht left
|
|||
timotimo | imagine a coverage tool that could tell you "you forgot to handle ; and ;; cases in signatures" | 23:18 | |
AlexDaniel_ | oh | 23:19 | |
timotimo: that sounds wonderful | |||
timotimo | doesn't it? now make it for me! >:) | ||
Zoffix | timotimo++ # congrats on the grant :) | 23:22 | |
timotimo | thanks :3 | 23:23 | |
23:23
Cabanossi left
|
|||
AlexDaniel_ | timotimo: well, if you think that this should be in core, then maybe submit a ticket first? :) | 23:24 | |
timotimo | doesn't need to be in core | ||
AlexDaniel_ | huggable: most wanted | ||
huggable | AlexDaniel_, nothing found | ||
AlexDaniel_ | huggable: most wanted :is: github.com/perl6/perl6-most-wanted...modules.md | ||
huggable | AlexDaniel_, Added most wanted as github.com/perl6/perl6-most-wanted...modules.md | ||
AlexDaniel_ | timotimo: then submit it here? ↑ :) | ||
timotimo | maybe if i haven't forgotten about it tomorrow | 23:25 | |
i'll go to bed soon | |||
23:25
Cabanossi joined,
nowan joined
23:28
HoboWithAShotgun left
23:29
nowan left
23:31
nowan joined
|
|||
AlexDaniel_ | m: use nqp; say so nqp::istype(True, Int); nqp::rebless(True, Int) | 23:38 | |
camelia | True Incompatible MROs in P6opaque rebless for types Bool and Int in block <unit> at <tmp> line 1 |
||
AlexDaniel_ | so istype is true but I can't rebless it | ||
why not? | |||
Zoffix | stage parse went down 5s for me... 65s now on my VM, used to be in low 70s | ||
timotimo | maybe it's just a wrong error message, and the problem is you can't rebless a type object? | ||
AlexDaniel_ | Zoffix: but why? | 23:39 | |
timotimo | AlexDaniel_: i want to nominate "Not the bees!" for whateverable error messages | ||
timotimo sleepytime | |||
Zoffix | AlexDaniel_: who cares! It's faster! | 23:40 | |
squashable6: status | |||
squashable6 | Zoffix, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈12 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
Zoffix, Log and stats: gist.github.com/ee5e635547603fecc4...49f717e9d7 | |||
23:42
ryn1x left
|
|||
AlexDaniel_ | Zoffix: well, if we knew what did it, maybe we could do a bit more of it… :) | 23:43 | |
Geth | nqp: 943f7f757c | (Zoffix Znet)++ | src/HLL/Compiler.nqp Rename `--force-stdin-eval-mode` command line opt To `--repl-mode` |
||
rakudo/nom: 93e599dbf2 | (Zoffix Znet)++ | tools/build/NQP_REVISION Bump NQP |
|||
rakudo/nom: version bump brought these changes: github.com/perl6/nqp/compare/2017....6-g943f7f7 de0533c4d4 | (Zoffix Znet)++ | src/Perl6/Compiler.nqp To incorporate renaming of `--force-stdin-eval-mode` command line opt to `--repl-mode` |
|||
rakudo/full-make-test: 19 commits pushed by (Aleks-Daniel Jakimenko-Aleksejev)++, (Zoffix Znet)++, (Timo Paulssen)++, (Jonathan Stowe)++, TimToady++, (Elizabeth Mattijsen)++, usev6++ review: github.com/rakudo/rakudo/compare/7...87dc51f514 |
|||
AlexDaniel_ | what's full-make-test? | 23:46 | |
Geth | doc: 16a20c0087 | (Zoffix Znet)++ | doc/Programs/00-running.pod6 Document `--repl-mode` cmd opt Impl: github.com/rakudo/rakudo/commit/93e599dbf2 github.com/perl6/nqp/commit/943f7f757c |
23:47 | |
Zoffix | `make test` that runs all the files in rakudo's test suite | ||
AlexDaniel_ | c: all use nqp; say so nqp::istype(True, Int); nqp::rebless(True, Int) | 23:48 | |
committable6 | AlexDaniel_, gist.github.com/0bfb5a45f9ff924b86...d308692445 | ||
AlexDaniel_ | m: say True.^mro | 23:49 | |
camelia | ((Bool) (Int) (Cool) (Any) (Mu)) | ||
AlexDaniel_ | j: use nqp; say so nqp::istype(True, Int); nqp::rebless(True, Int) | 23:50 | |
camelia | Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10. | ||
AlexDaniel_ | sure | ||
m: class Foo is Int {}; use nqp; my $x = Foo.new(2); say so nqp::istype($x, Int); nqp::rebless($x, Int) | 23:52 | ||
camelia | True Incompatible MROs in P6opaque rebless for types Foo and Int in block <unit> at <tmp> line 1 |
||
AlexDaniel_ | so MRO is incompatible for all subclasses? | 23:53 | |
AlexDaniel_ looks at github.com/MoarVM/MoarVM/blob/d274...ue.c#L1194 | |||
Zoffix | Why are you reblessing it anyway? | 23:54 | |
AlexDaniel_ | I can try without rebless | 23:55 | |
but it's here: github.com/rakudo/rakudo/blob/5144....nqp#L3629 | |||
yea, that doesn't compile | |||
and the type is checked here: github.com/rakudo/rakudo/blob/nom/....nqp#L4621 | 23:57 | ||
so I'm looking at RT #127775 | 23:58 | ||
synopsebot | RT#127775 [new]: rt.perl.org/Ticket/Display.html?id=127775 [LTA] error message when trying to declare enums incorrectly (enum Foo <<:Bar(1) :Baz>>) | ||
AlexDaniel_ | and basically it can be golfed to | ||
m: enum Foo (:Bar(1), :Baz(True)) | |||
camelia | ===SORRY!=== Incompatible MROs in P6opaque rebless for types Bool and Foo |
||
AlexDaniel_ | it should either “istype” it to False and bail out with an error message, or rebless should work… | 23:59 | |
and without rebless I have no idea how to make it work |