»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
00:00
reportable6 left,
jaldhar left,
jaldhar joined
00:03
reportable6 joined,
ChanServ sets mode: +v reportable6
00:30
pecastro left
00:41
aborazmeh joined,
aborazmeh left,
aborazmeh joined
00:52
jaldhar left,
jaldhar joined
00:56
jaldhar left,
jaldhar joined
01:03
aborazmeh left
01:05
aborazmeh joined,
aborazmeh left,
aborazmeh joined
01:08
jaldhar left,
jaldhar joined
01:22
jaldhar left,
jaldhar joined
01:34
jaldhar left,
jaldhar joined
01:36
jaldhar left
01:37
jaldhar joined
02:01
Manifest0 left
02:02
Manifest0 joined
02:19
khisanth_ left
02:23
Cabanossi left
02:24
vrurg left
02:29
pilne left
02:32
Cabanossi joined
02:36
khisanth_ joined
02:43
vrurg joined,
vrurg left,
Black_Ribbon joined,
vrurg joined
|
|||
nine | vrurg: pong | 03:00 | |
03:17
irced left
03:20
Cabanossi left
03:32
Cabanossi joined
03:34
aborazmeh left
03:36
kaare_ left,
kaare_ joined
03:47
pamplemousse joined
03:53
kst` joined
03:54
pamplemousse left
04:39
adu left
04:43
go|dfish left
04:48
go|dfish joined
05:00
cpup left
05:01
cpup joined
05:11
go|dfish left
05:16
go|dfish joined
05:28
pamplemousse joined
05:40
robertle left
05:47
eseyman left
05:54
eseyman joined
05:56
pamplemousse left
06:00
reportable6 left,
reportable6 joined,
ChanServ sets mode: +v reportable6
06:28
sena_kun joined
06:29
sjm_uk joined,
sena_kun left
06:43
reach_satori left
06:49
quester left
06:51
sena_kun joined,
robertle joined
06:55
sena_kun left
07:22
dolmen joined,
reach_satori joined,
noisegul joined
07:24
reach_satori_ joined
07:27
reach_satori left
07:29
Sgeo_ joined
07:32
dolmen left,
Sgeo left
07:43
rindolf joined
07:49
chloekek joined
07:50
zakharyas joined
07:51
rindolf left
07:54
rindolf joined
07:58
lizmat joined,
rindolf left
07:59
lizmat_ joined
08:00
lizmat left
08:19
dolmen joined
08:21
epony left
08:25
[particle] joined
08:27
[particle]1 left,
lizmat_ left
08:30
lizmat joined,
rindolf joined,
[particle]1 joined
08:33
[particle] left
08:34
antoniogamiz joined
08:36
rindolf left
|
|||
Geth | rakudo.org: 2939c1bf66 | (Roman Baumer)++ | 4 files Revert "Temporary Fix no 2 to get downloads working. Needs to be reverted when new infra is up and running" This reverts commit ae783a93a569ec0c485cf44edc15f8d5eef3cb3e. |
08:40 | |
rakudo.org: ce1fc37025 | (Roman Baumer)++ | 5 files Revert "Temporary Fix to get downloads working. Needs to be reverted when new infra is up and running" This reverts commit 39034f316ec14dd7c74d9b075eb323d7d3cee0b5. |
|||
08:42
jaldhar left,
jaldhar joined
08:46
rindolf joined
08:59
lizmat left
09:00
ravenousmoose left,
lizmat joined
09:02
ravenousmoose joined
09:03
veesh1 joined
09:10
lizmat left
09:11
lizmat joined
09:12
rindolf left
09:18
kst` is now known as kst
09:19
pat_js joined
|
|||
lizmat | weekly: perl6.eu/word-wrapped-weekends.html | 09:25 | |
notable6 | lizmat, Noted! (weekly) | ||
09:27
MasterDuke left
|
|||
lizmat | weekly: rage.powered.ninja/2019/07/29/best-months.html | 09:28 | |
notable6 | lizmat, Noted! (weekly) | ||
09:30
ravenousmoose left
09:31
ravenousmoose joined,
lizmat left
09:32
lizmat joined
09:33
antoniogamiz left
09:34
antoniogamiz joined
09:35
Black_Ribbon left
09:36
[Sno] left
09:41
lizmat left,
lizmat joined
09:42
epony joined
09:44
rindolf joined
|
|||
Geth | doc: ed6dbdf23a | Antonio++ (committed using GitHub Web editor) | doc/Language/community.pod6 Update community.pod6 |
09:45 | |
synopsebot | Link: doc.perl6.org/language/community | ||
09:49
no-n joined
09:50
harmil left
09:58
[particle] joined
09:59
[particle]1 left
10:03
pat_js left
10:09
reach_satori_ left
10:12
ravenousmoose left
10:13
rindolf left
10:14
rindolf joined
10:18
marcel_ joined
10:20
lizmat left
10:23
pmurias joined
|
|||
pmurias | Elronnd: looking into it | 10:23 | |
10:23
pmurias left,
pmurias joined
10:24
lizmat joined
10:59
ab6tract joined
|
|||
ab6tract | o/ all :) | 10:59 | |
long time since i've been around, hope everyone is doing well! | |||
i'm wondering if it is possible to define an infix:<'> operator that somehow has tighter precedence than quoting | 11:00 | ||
The issue is that I'm not sure how to refer to the q/Q operator when calling the is tighter() trait | 11:01 | ||
and/or that it might very well not be possible to get tighter than the quote parser | 11:04 | ||
lizmat | wouldn't you need a postcircumfix operator ? | 11:05 | |
or actually, a circumfix operator ? | |||
pmurias | ab6tract: why would you want to do that? | 11:06 | |
ab6tract | no, it's to pass arguments to a constructor.. the idea is that 5'6 would be a call to sub infix:<'> ($min,$sec) { CoordDetails.new: :$min, :$sec } | 11:08 | |
then i could create a tighter infix:<°> operator that would take (Int, CoordDetails) as arguments | 11:09 | ||
and return a Coord object | |||
it might be a better approach to just make it a proper DSL using grammars but i thought there might be a way to do it with operators and export | 11:10 | ||
11:12
lizmat_ joined
|
|||
pmurias | ab6tract: this seems like something that will work beyond horrible with syntax highlighting | 11:13 | |
11:13
lizmat left
11:14
pamplemousse joined
|
|||
ab6tract | good point, but that's not a major concern for this project | 11:15 | |
11:16
molaf joined
|
|||
ab6tract | if it were a DSL, there would be no rule for quotation other than this infix representation | 11:17 | |
pmurias | ab6tract: what are you creating? | 11:18 | |
ab6tract | i'd rather keep that a bit quiet for the moment, if you don't mind :) | ||
it's meant to be an interactive environment where you are exploring geometric relationships between objects | 11:19 | ||
pmurias | ok, will it be unveiled later on? | ||
ab6tract | based on command-line inputs | ||
pmurias: very much so, yes | |||
the use case for this DSL is sort of an interactive terminal application, using Terminal::Print | |||
"DSL" .. it's just meant to be a way to quickly create objects without having to use quotation marks | 11:20 | ||
pmurias | by DSL you mean short snippets of Perl 6 with notation shortcuts? | 11:21 | |
snippets being relatively simple expressions? | |||
rba | rakudo.org is running on the nine-server now. let me know if there are any issues. | ||
11:22
dolmen left
|
|||
rba | timotimo: May you have a look in the access log if you still have requests on the temp-server? | 11:22 | |
ab6tract | pmurias: right, I'm thinking of these operators as a "constructor chain" that slowly builds it's arguments from right to left.. first CoordDetails, then Coord, then Position, etc, which in the end returns an object that is fed into yet another operator, this time an infix to compare it with another Position object | 11:24 | |
antoniogamiz | m: enum A <b>; say so A::b; | 11:25 | |
camelia | False | ||
ab6tract | 5°43'54 | ||
antoniogamiz | why enums evaluates to False? | ||
ab6tract | 5°43'54 => Position.new: :degree(5), minute(43), :second(54) | ||
sorry, that fat arrow is meant to imply 'returns this object' | 11:26 | ||
11:26
lizmat_ left
|
|||
Geth | rakudo.org: 838adbc882 | (Roman Baumer)++ | templates/docs.html.ep change doc.perl6.org to docs.perl6.org |
11:26 | |
ab6tract | one way to do it would be to use a slang, i assume | 11:27 | |
11:30
lizmat joined
|
|||
ab6tract | but this approach seemed sort of elegant, in a weird way | 11:30 | |
using custom operators and precedence | 11:31 | ||
but honestly, i don't think it will work anyway because custom ops want whitespace | 11:32 | ||
antoniogamiz | should I report this kind of errors in rakudo? => ===SORRY!===No such method 'Str' for invocant of type 'NQPMu' | 11:35 | |
11:37
ravenousmoose joined
|
|||
SmokeMachine | how can I `-n` a non utf8 file? | 11:39 | |
ab6tract | antoniogamiz: those are compiler erroys (whenever you see SORRY!) | 11:40 | |
in this case telling you that there is a definedness issue | |||
antoniogamiz | mm but the code I'm writing should compile | 11:41 | |
11:41
zakharyas left
|
|||
antoniogamiz | gist.github.com/antoniogamiz/a8d4b...7924e77107 | 11:42 | |
11:54
antoniogamiz left
11:58
whybee joined
12:00
reportable6 left,
reportable6 joined
12:02
cpan-p6 left
12:03
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined,
lizmat_ joined
12:05
dolmen joined
|
|||
pmurias | Elronnd: what's your java version? | 12:07 | |
12:07
lizmat left
|
|||
lizmat_ | weekly: news.ycombinator.com/item?id=20613090 | 12:09 | |
notable6 | lizmat_, Noted! (weekly) | ||
12:11
ab6tract left
12:15
cygx joined
12:19
pat_js joined
12:27
whybee left,
crella joined
|
|||
crella | my Int $a = 1; my Str $b = 'c'; How should I code to convert $a to string and set $b as the string? | 12:27 | |
cygx | m: my Int $a = 1; my Str $b = 'c'; $b = ~$a; say $b | 12:29 | |
camelia | 1 | ||
cygx | crella: ^ | ||
12:32
lizmat joined,
MilkmanDan left
|
|||
crella | It seems not right. For example, when $a = 1,I want to set $b='1'; when $a = 77, I want to set $b = '77' | 12:33 | |
I haven't found enough docs to solve this problem... | |||
12:34
lizmat_ left
|
|||
timotimo | the code cygx gave you should be doing that, what issue are you seeing? | 12:35 | |
m: my Int $a = 1; my Str $b = 'c'; $b = ~$a; dd $b # dd will output some extra info, such as the type and variable name | |||
camelia | Str $b = "1" | ||
12:37
MilkmanD1n joined
|
|||
crella | [code] while $a <= 10 { $b ~= $a;$a += 1;print $b~' ';dd $b;} | 12:37 | |
[output] c1 Str $b = "c1" | 12:38 | ||
c12 Str $b = "c12" | |||
c123 Str $b = "c123" | |||
timotimo | oh, the issue is probably using the $b ~= $a, which is short-hand for $b = $b ~ $a where you really wanted $b = ~$a | 12:39 | |
cpan-p6 | New module released to CPAN! Gnome::Glib (0.14.1) by 03MARTIMM | 12:41 | |
crella | ok, solved ,thanks | 12:42 | |
chloekek | p6: my $a = 1; $a .= Str; say $a; | ||
camelia | 1 | ||
chloekek | p6: my $a = 1; $a ~=; say $a; | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing required term after infix at <tmp>:1 ------> 3my $a = 1; $a ~=7⏏5; say $a; expecting any of: prefix term |
||
chloekek | p6: sub postfix:<~=>($x is rw) { $x .= Str; }; my $a = 1; $a ~=; say $a; | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing required term after infix at <tmp>:1 ------> 3 is rw) { $x .= Str; }; my $a = 1; $a ~=7⏏5; say $a; expecting any of: prefix term |
12:43 | |
12:44
veesh1 left,
cygx left
|
|||
chloekek | p6: sub postfix:<~=>($x is rw) { $x .= Str; }; my $a = 1; $a~=; say $a; | 12:45 | |
camelia | 1 | ||
12:49
no-n left
12:57
lizmat left,
lizmat joined
12:58
robertle left
13:00
robertle joined
|
|||
Xliff | \o/ | 13:03 | |
Wow! | |||
Latest verison of rakudo cut off 800 seconds from last GTK compile! | |||
pmurias | did NFA stuff change in the last months in NQP? | ||
getting some bitrot in CODEPOINT_I_LL handling in nqp.js | 13:04 | ||
Xliff | July 17th - real 3991.98 / Last night - real 3194.54 | ||
13:09
john_parr left
13:13
john_parr joined
13:20
john_parr left
13:27
zakharyas joined
13:32
ravenousmoose_ joined
13:34
ravenousmoose left,
vrurg left,
lizmat_ joined
13:35
john_parr joined,
lizmat left
13:37
vrurg joined
13:53
pamplemousse left
|
|||
cpan-p6 | New module released to CPAN! String::Fold (0.2.0) by 03TYIL | 13:57 | |
13:59
lizmat joined,
lucasb joined
14:00
lizmat_ left
14:08
crella left
14:22
pamplemousse joined
|
|||
SmokeMachine | vrurg: Can I close that issue? | 14:27 | |
vrurg: Sorry, forget about that... I just saw I've closed... :) | 14:29 | ||
14:30
pmurias left,
antoniogamiz joined
14:31
pmurias joined
14:35
lizmat left,
lizmat joined
|
|||
vrurg | SmokeMachine: which one? ;) I'm trying to get the testing done on 2019.07.1 for the private methods. No idea what's wrong with travis. | 14:37 | |
SmokeMachine | I think it's related to the docker image used on the test... | 14:38 | |
14:39
chloekek left
|
|||
SmokeMachine | vrurg: I've run the tests on your MR on my machine, and it passed... | 14:40 | |
vrurg: yes, when I run with `docker run -v $PWD:/code fernandocorrea/red-tester` it breaks! | 14:41 | ||
vrurg: I'll try to rebuild the image... | |||
vrurg | Good. Hope it solves. | 14:42 | |
vrurg is afk for a while | |||
timotimo | vrurg: github.com/MoarVM/MoarVM/issues/1154 | 14:46 | |
you asked for a ticket for this feature a long time ago, i finally wrote it | |||
i'm particularly hoping it'll help make visible how the profiler sees the call graph evolve, so i can better figure out "profiler lost sequence" error messages | 14:52 | ||
14:57
pmurias left
|
|||
jdv79 | how does one profile something nowadays? | 14:58 | |
14:59
lizmat left
|
|||
jdv79 | hmm, ...--profile=foo... ends in Segmentation fault (core dumped) :( | 15:00 | |
15:00
lizmat joined
15:06
zakharyas left
15:07
sena_kun joined
15:12
marcel_ left
|
|||
SmokeMachine | vrurg: running on the last Rakudo version haven't fixed that... | 15:13 | |
15:22
robertle left
15:23
jaldhar left
15:30
lizmat_ joined
15:31
lizmat left
15:32
sena_kun left
|
|||
timotimo | jdv79: are you on latest moarvm and such? | 15:34 | |
15:47
antoniogamiz left
15:58
antoniogamiz joined
16:04
lizmat_ left
|
|||
jdv79 | timotimo: latest rakudo, whatever that pulls in. | 16:08 | |
after 5 tries i was able to get a html output | |||
but then chrome crashed trying to render it:( | |||
on one of the tries there was also a panic about GC something... | 16:09 | ||
16:10
pat_js left
16:11
mowcat joined,
marcel_ joined,
mowcat left
16:12
mowcat joined
|
|||
timotimo | the very latest rakudo didn't yet get a bump for nine's incredible bug-fixing spree i don't think | 16:12 | |
jdv79 | cool | 16:13 | |
timotimo | if the html output is too massive, you can ask it to output an .sql file and get moarperf from my github | 16:14 | |
github.com/timo/moarperf/ | |||
Comma also uses the sql format for its builtin profiling UI | |||
16:21
robertle joined
|
|||
timotimo | maybe the profiler output should figure out if the html file ends up over like 50 megs and interactively offer to output sql instead/in addition | 16:23 | |
16:29
lizmat joined
16:33
john_parr left
16:35
john_parr joined
|
|||
jdv79 | idk. but devel::nytprof manages to pump out html that's not killer like that:) | 16:41 | |
ugexe | in the profiler some tabs (like the default one) would crash if kept running but other tabs would immediately show their data | ||
jdv79 | maybe just kill the html output if it only works for trivial code sizes | ||
arm chair critiquing is too easy though | 16:42 | ||
timotimo | it's still extremely valuable, since moarperf is quite a dependency | 16:43 | |
i would say moar's profiler has a lot more information that nytprof (though it doesn't do per-line like nytprof does) | 16:44 | ||
i wonder if giving the json hashes in the output single-letter keys would help at all | |||
or using lists everywhere instead of maps | 16:45 | ||
if anybody would like to prototype that ... :) | |||
jdv79 | cool. for me devel::nytprof is gold | ||
statement level has been invaluable to get some really perf sensitive code opti'd | 16:46 | ||
maybe p6 won't need those sorts of optis in the future so maybe not needed | 16:47 | ||
vrurg | timotimo: is your plan to integrate tracy into moar? I've only looked at the frontpage yet. | ||
16:47
dolmen left
|
|||
timotimo | vrurg: yeah, put tracy start/end points all over the code | 16:47 | |
but integrating the code with our current build system frightens me a little | |||
vrurg | Hm... Not sure how much helpful can I be. I've got involved with nqp/rakudo for the reason I needed 6.e and I knew what I want from the result. But Moar – I've never been deep into it. | 16:49 | |
timotimo | well, i heard you can do perl5 code :D | ||
vrurg | Need to carefully consider if it's be more help or damage if I try. ;) | ||
timotimo | the fun thing is that the whole rest of moar is built with C, and this is now C++ code | 16:50 | |
vrurg | timotimo: not much, just ~20 years of it... | ||
timotimo | i hope we can get this done in under a year | ||
vrurg | How I wish it could be at least nqp... Perl5 regexes are so much out of the stone age to me now... | 16:51 | |
jdv79 | get what done in < 1y? | 16:52 | |
timotimo | jdv79: build and link tracy in moarvm's build | 16:53 | |
jdv79 | is that some sort of best of bread profiler type thing? | 16:54 | |
timotimo | i don't know what "best of bread" means | ||
jdv79 | oh, breed | 16:55 | |
best of its ilk | |||
timotimo | hm. really more of a "good" profiler? | ||
vrurg | timotimo: as a coincidence, I was looking into profiling lately too, with no success too. But still wonder how useful it would be in locating memory leaks on rakudo level? I.e. my code was relocating ~70k records from a .txt and .csv and ending up bloated to 6-7Gb. | ||
timotimo | it probably can't compete with Rad Game Tools's Telemetry | ||
vrurg: we have the moarvm heapanalyzer for that :) | 16:56 | ||
16:57
lizmat left,
lizmat joined
|
|||
timotimo | moarvm already has "telemeh", which is slightly similar to tracy, but crucially there's no visualization tool, which makes it basically useless | 16:57 | |
vrurg | timotimo: moar-ha failed to read the dump for me. Can't remember details, something about unexpected uint size or alike. I'm gonna give it another try later and create a ticket if needed. | 16:59 | |
jdv79 | what led to the decision to build a webapp to do the profiler? | 17:00 | |
why not just static html files? | |||
17:01
lizmat_ joined
|
|||
vrurg is preparing for diving into the dark waters of moar's configure... | 17:01 | ||
17:01
lizmat left
|
|||
timotimo | vrurg: the moar heapanalyzer currently requires the program to shut down gracefully, maybe that didn't happen in your case | 17:02 | |
jdv79 | installing the deps for moarperf might be worse than for $work and i thought that was the worst i'd ever seen:) | 17:03 | |
rba | Please help us to check if static generated docs on docs.p6c.org are looking fine before we make it available under docs.perl6.org | ||
timotimo | in the future i'm hoping to just distribute finished js bundle files for that part of the whole | ||
vrurg | timotimo: could be. | ||
jdv79 | both the p6 and the js took a while | 17:04 | |
but that would help | |||
timotimo | vrurg: if that's the case, you can also "use Telemetry" and then whenever you want a heapsnapshot to be made "snap :heap" | ||
rba | docs.p6c.org | ||
17:04
MasterDuke joined,
Black_Ribbon joined
|
|||
vrurg slaps own forehead. | 17:04 | ||
MasterDuke | vrurg: heaptrack is also good for finding memory leaks | ||
vrurg | Telemetry, of course! | 17:05 | |
MasterDuke: noted, thanks! | |||
timotimo | vrurg: to be fair, that is a new feature of that module | ||
jdv79 | moarperf seems to not work:( | ||
timotimo | many cases of memory leaks in perl6 code are from where your program actually holds on to data for too long, which means it's not actually leaked | ||
jdv79 | i get a blank page | ||
timotimo | jdv79: oh no! can you get output from the javascript console in the "inspect element" thingie? | ||
dev tools the experts call it i believe | 17:06 | ||
jdv79 | [ERROR] 403 /js/main.js - 127.0.0.1 | 17:07 | |
timotimo | did you "npm run build"? | ||
vrurg | timotimo: 6Gb is still too much. Besides, I suspect it's something in DB::Pg where nothing like this should happen. But, anyway, I have to process the information collected here so far first. :) | ||
timotimo | vrurg: of course. i just mean it's not a leak that a regular c-level heap tracker like heaptrack or massif would figure out | 17:08 | |
jdv79 | oh, forgot to after waiting for hte deps. oops. | ||
timotimo | it would make a lot of sense for moarperf to actually figure out when that happens | ||
it's a nightmare to build already with all the different moving parts | 17:09 | ||
gotta run! bbl! | |||
vrurg | timotimo: o/ | 17:10 | |
17:15
john_parr left
17:24
lizmat joined
17:25
lizmat_ left
17:31
lizmat_ joined
17:32
lizmat left
|
|||
vrurg | SmokeMachine: I tested my patch on a Mint VM. All tests are ok. I'm totally confused and no idea what breaks travis. Is it only my PR which fails? | 17:39 | |
17:40
zakharyas joined
17:42
Kaiepi left,
Kaiepi joined
17:45
lucasb left
|
|||
cpan-p6 | New module released to CPAN! Gnome::Gtk3 (0.17.12) by 03MARTIMM | 17:46 | |
17:52
zakharyas left
17:54
[particle]1 joined
17:55
[particle] left
18:00
reportable6 left
18:01
lizmat joined
18:02
nepugia joined
18:03
antoniogamiz left,
reportable6 joined
18:05
eythian left,
kent\n left,
kentnl joined,
eythian joined,
eythian left,
eythian joined,
lizmat_ left
18:07
chloekek joined
18:11
nepugia left
18:15
wildtrees joined
18:27
john_parr joined
18:28
sauvin left
18:29
MilkmanD1n is now known as MilkmanDan
18:32
lizmat_ joined
18:33
lizmat__ joined
18:36
lizmat left,
lizmat_ left
|
|||
chloekek | .seen jmerelo | 18:50 | |
El_Che | chloekek: he's being famous at perlcon-eu | 18:56 | |
chloekek | Aha :) | 18:57 | |
Did some more think(er)ing about distribution versions and realised that this problem was already solved before and therefore nothing new. | 18:59 | ||
19:06
empee0 joined
19:08
molaf left
|
|||
tadzik | huh, #perlcon-eu is a thing? | 19:10 | |
El_Che | tadzik: I'll use my right to remain silent :) | 19:11 | |
jdv79 | chloekek: what was wrong with dist vers? | 19:21 | |
chloekek | Running the same installation command at different times can give in different results. | 19:22 | |
Geth | doc: 67aefcde93 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod6 add note on string constraint an empty string is not valid as a pod config key |
19:23 | |
synopsebot | Link: doc.perl6.org/language/pod | ||
19:26
chloekek left
19:30
aindilis left
19:33
aindilis joined,
lizmat__ left
19:34
lizmat joined
19:44
lizmat left
19:50
lizmat joined
19:57
reach_satori_ joined
19:58
pecastro joined,
lizmat left
20:03
[Sno] joined
20:07
marcel_ left
20:09
Cabanossi left
20:11
yqt joined,
Cabanossi joined
20:15
pamplemousse left
|
|||
Kaiepi | m: class Foo { my class Bar { has $.baz }; has Bar %.bar }; my Foo $foo .= new; $foo.bar{$_} .= new: baz => $_ for 'a'...'z'; say none($foo.bar.values).baz eq 'A' | 20:16 | |
camelia | none(False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False) | ||
Kaiepi | m: class Foo { my class Bar { has $.baz }; has Bar %.bar }; my Foo $foo .= new; $foo.bar{$_} .= new: baz => $_ for 'a'...'z'; say so none($foo.bar.values).baz eq 'a' | 20:17 | |
camelia | False | ||
Kaiepi | m: class Foo { my class Bar { has $.baz }; has Bar %.bar }; my Foo $foo .= new; $foo.bar{$_} .= new: baz => $_ for 'a'...'z'; say so any($foo.bar.values).baz eq 'a' | ||
camelia | True | ||
20:19
lizmat joined
|
|||
Kaiepi | m: class Foo { my class Bar { has $.baz }; has Bar %.bar }; my Foo $foo .= new; $foo.bar{$_} .= new: baz => $_ for 'a'...'z'; say so none($foo.bar)>>.value.baz eq 'a' | 20:20 | |
camelia | No such method 'value' for invocant of type 'Foo::Bar'. Did you mean 'values'? in block <unit> at <tmp> line 1 |
||
Kaiepi | m: class Foo { my class Bar { has $.baz }; has Bar %.bar }; my Foo $foo .= new; $foo.bar{$_} .= new: baz => $_ for 'a'...'z'; say so none($foo.bar)>>.baz eq 'a' | ||
camelia | True | ||
Kaiepi | oh sweet i don't need to use .values | 20:21 | |
20:21
sjm_uk left
20:24
pmurias joined
20:27
lizmat left
|
|||
Kaiepi | m: say %(a => 1, b => 2, c => 3) ∖ %(a => 1, b => 4, c => 9) | 20:27 | |
camelia | set() | ||
20:27
noisegul left
|
|||
Kaiepi | m: say %(a => 1, b => 2, c => 3) ∖ %(a => 1, b => 4, c => 9, d => 16) | 20:27 | |
camelia | set() | ||
Kaiepi | m: say %(a => 1, b => 4, c => 9, d => 16) ∖ %(a => 1, b => 2, c => 3) | 20:28 | |
camelia | set(d) | ||
MasterDuke | hm, docs.perl6.org shows `Generated on 2019-08-01T15:34:46Z`. we haven't had a rebuild since the squashathon? | 20:29 | |
timotimo | docs.p6c.org/ - Generated on 2019-08-04T05:53:39Z [Debug: off] | 20:34 | |
20:40
rindolf left
20:41
nepugia joined
20:43
DarthGandalf joined
|
|||
Kaiepi | i haven't checked to see what's going on with RAKUDO_MODULE_DEBUG yet, but what would make a group of about a dozen modules take over 10 minutes to compile? | 20:46 | |
20:47
Kaiepi left
20:49
patrickb joined
20:52
Kaiepi joined
20:53
patrickb left
20:54
rindolf joined
|
|||
Kaiepi | ok can my internet not go to shit right after asking something | 20:54 | |
timotimo | i answered on discord because that keeps messages around even when you're offline | 20:56 | |
Kaiepi | ah | 20:58 | |
timotimo | hm, since release has been a while, why not Just Merge It™ | ||
20:59
pmurias left
|
|||
Kaiepi | ? | 21:01 | |
timotimo | nested_stagestats | ||
21:01
pmurias joined
21:02
pecastro left
21:06
pecastro joined
|
|||
timotimo | whew, my computer is freezing up | 21:07 | |
21:13
pamplemousse joined,
cpup left,
cpup joined
21:21
pmurias left
21:22
pmurias joined
21:30
donaldh joined
21:34
discord6 left,
discord6 joined
21:58
donaldh left
|
|||
timotimo | oh no | 22:01 | |
reproducible builds test fails | |||
nooooo it passes without my changes | 22:08 | ||
22:09
yqt left,
lucasb joined
22:32
rindolf left
|
|||
vrurg | timotimo: speaking of profiling: "fish: perl6 -I ../perl6-cache-async/l…” terminated by signal SIGSEGV (Address boundary error) | 22:33 | |
timotimo | wheee | 22:34 | |
vrurg | And on top of it – perhaps ulimit was reset as it leaving me no coredumps. | 22:35 | |
timotimo: 0 libmoar.dylib 0x0000000106bf65a0 MVM_profile_heap_take_snapshot + 816 | 22:42 | ||
timotimo | is that with --profile=heap or with Telemetry? | 22:43 | |
vrurg | --profile=heap | ||
Still no core dump but have crash report from macOS. Perhaps this is for a moar ticket? | |||
MasterDuke | that should be a regular profile written to a file named `heap` | 22:44 | |
22:47
mowcat left
|
|||
vrurg | MasterDuke: ?? I mean, SIGSEGV should've been accompanied with a core file but my system ignores 'ulimit -c unlimited' and creates none. | 22:47 | |
MasterDuke | vrurg: i don't know anything about the crash, i just meant that --profile=foo now means the filename to write to. if you want a heap snapshot you have to use --profile-kind=heap | 22:48 | |
vrurg | MasterDuke: ah, I see. It was just a shortcut. for profile-kind. ;) | 22:49 | |
22:50
pmurias left
|
|||
MasterDuke | (y) | 22:51 | |
22:51
pecastro left
22:55
discord6 left,
discord6 joined
23:11
[Sno] left,
[Sno] joined
23:13
vike left
23:18
vike joined
|
|||
timotimo | repl.it/talk/announcements/dollar-...rl-6/17263 oooooh | 23:21 | |
weekly: repl.it/talk/announcements/dollar-...rl-6/17263 oooooh | |||
notable6 | timotimo, Noted! (weekly) | ||
23:22
randy80 joined
23:33
vike left
|
|||
randy80 | p6: sub MAIN( :$input ) { my $input //= 1; } | 23:33 | |
camelia | ===SORRY!=== Cannot find method 'default' on object of type NQPMu |
||
randy80 | I know there's a lot wrong with that line of code, but it's a line that I accidentally wrote, and the error message had me stumped. | 23:34 | |
Should I report that as a bug? If so, where? I'm in the very early stages of learning Perl 6. | 23:35 | ||
timotimo | yeah that's totally worth a bug | 23:36 | |
jdv79 | i never got why people have such an issue with sigils | 23:37 | |
timotimo | i basically started with QBASIC, so ... :) | 23:38 | |
jdv79 | maybe cause i learned p5 ver early, maybe my 3rd lang or so. | ||
nice | |||
timotimo | i was young and i didn't know what i was doing | ||
after that came VB5 :) | |||
jdv79 | im trying to remember. maybe qbasic, php, p5, js, cf... | 23:43 | |
all meh langs | 23:44 | ||
ugexe | glad i never read that cold fusion book back when i was looking at learning my 3rd language | 23:45 | |
jdv79 | duringbthe dot bomb times $work used it... | ||
23:47
xi- left
23:49
xi- joined
23:52
randy80 left,
nepugia left
23:55
pamplemousse left,
pamplemousse joined,
wildtrees left
|