Perl 6 language and compiler development | Logs at colabti.org/irclogger/irclogger_log/perl6-dev | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm
Set by Zoffix on 27 July 2018.
Geth rakudo: vrurg++ created pull request #2915:
Resolve a problem with executable name on OpenBSD
00:28
vrurg What would be the best way to declare a $? constant in a CORE.setting? 00:32
Incomplete question. The constant value must depend on what CORE.<revision>.setting is loaded. 00:35
Geth rakudo: 55fdc78bff | (Vadim Belman)++ | 5 files
Merge branch 'master' of github.com/rakudo/rakudo into build-revamp
01:44
rakudo: 79629bde67 | (Vadim Belman)++ | src/vm/moar/runner/main.c
Get executable name before mangling with argv

This fixes getting of executable name on OpenBSD.
rakudo: 352465fc17 | (Vadim Belman)++ (committed using GitHub Web editor) | src/vm/moar/runner/main.c
Merge pull request #2915 from vrurg/build-revamp

Resolve a problem with executable name on OpenBSD
05:08 vrurg left 05:58 ufobat joined 06:03 vrurg joined 06:08 vrurg left 06:23 vrurg joined 06:34 vrurg left 07:08 robertle joined 07:09 vrurg joined 07:22 vrurg left 07:25 nebuchad` joined 07:28 nebuchadnezzar left 07:33 nebuchad` is now known as nebuchadnezzar 07:47 discord6 left
lizmat Files=1262, Tests=107956, 399 wallclock secs (28.39 usr 6.78 sys + 2833.77 cusr 241.34 csys = 3110.28 CPU) 07:47
07:52 vrurg joined 08:13 vrurg left 08:46 vrurg joined
|Tux| Rakudo version 2019.03.1-428-g352465fc1 - MoarVM version 2019.05-11-g248e2980a
csv-ip5xs0.699 - 0.709
csv-ip5xs-205.717 - 5.865
csv-parser20.927 - 22.212
csv-test-xs-200.422 - 0.434
test6.433 - 7.005
test-t1.650 - 1.681
test-t --race0.762 - 0.813
test-t-2027.576 - 28.081
test-t-20 --race9.089 - 9.251
09:01
09:07 |Tux| left 09:10 vrurg left 09:12 |Tux| joined
Geth rakudo: 4a576aa9f1 | (Elizabeth Mattijsen)++ | lib/Profile.pm6
Some tweaks in the Profile WIP
09:26
09:41 vrurg joined
Geth rakudo: 5a3745b08a | (Elizabeth Mattijsen)++ | lib/Profile.pm6
Add support for object information
09:59
10:04 vrurg left 10:21 travis-ci joined
travis-ci Rakudo build failed. Elizabeth Mattijsen 'Add support for object information' 10:21
travis-ci.org/rakudo/rakudo/builds/536192800 github.com/rakudo/rakudo/compare/4...3745b08a7d
10:21 travis-ci left
lizmat can't be anything I did 10:22
restarted the one failing job
jnthn
.oO( famous last words )
10:24
(But yes, agree :)) 10:25
10:40 vrurg joined
lizmat all green now 10:43
11:11 vrurg left 11:44 vrurg joined
lizmat jnthn: could this ever cause two different types being output: 11:45
note object.^name;
nqp::bindattr(object,Profile::Object,'%!threads',%!threads);
die object.^name;
I get: Profile::Object and Hash
looks like object becomes %!threads in this case 11:47
that feels wrong to me
timotimo bindattr returns the %!threads 12:13
but it shouldn't change the object variable
12:14 vrurg left
lizmat that's what I thought 12:26
I guess I should try to golf this and make it an issue :-) 12:27
timotimo can you gist up some more surrounding context?
Geth rakudo: f874d790d7 | (Elizabeth Mattijsen)++ | lib/Profile.pm6
Some progress on Profile

  - added Object object
  - made storage of objects/threads in Profile a Hash, for easier access
  - added some missing fields in objects
  - added recursive all-callees method for fetch all callees
12:34
jnthn lizmat: Sure you dn't need to nqp::decont(object) in the bindattr? 12:38
lizmat checks 12:39
timotimo it *should* complain about the attribute not matching up 12:41
but it's possible that it somehow does typecheck correctly and ends up assigning %!threads into the same slot that the scalar has to store the contents
that would explain how that weirdness could theoretically happen
lizmat yeah, the decont fixes it, jnthn++ 12:42
timotimo damn! 12:43
Geth rakudo: e421e6387c | (Elizabeth Mattijsen)++ | lib/Profile.pm6
Turns out we needed a decont
12:47
12:49 vrurg joined 13:19 vrurg left 13:29 robertle left 13:30 vrurg joined 13:32 robertle joined 13:47 pamplemousse joined 13:55 skids joined 14:22 robertle left 14:25 robertle joined 14:45 robertle left 14:48 MasterDuke left 15:59 robertle joined 16:34 pamplemousse_ joined 16:38 pamplemousse left 16:52 brrt joined 17:38 epony left
Geth rakudo/tadzik/fix-2916: e943f3ebe5 | (Tadeusz Sośnierz)++ | src/core/Dateish.pm6
Make Date.truncate-to('day') a no-op

Fixes GH-2916
17:44
rakudo: tadzik++ created pull request #2917:
Make Date.truncate-to('day') a no-op
17:45 pamplemousse_ is now known as pamplemousse
Geth rakudo: e943f3ebe5 | (Tadeusz Sośnierz)++ | src/core/Dateish.pm6
Make Date.truncate-to('day') a no-op

Fixes GH-2916
17:46
rakudo: ca36c65b96 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/core/Dateish.pm6
Merge pull request #2917 from rakudo/tadzik/fix-2916

Make Date.truncate-to('day') a no-op
rakudo: f7bcbb7066 | (Elizabeth Mattijsen)++ | lib/Profile.pm6
Produce minimal report in sink context
17:53
18:14 epony joined 18:26 brrt left 18:29 epony left, epony joined 18:50 pamplemousse left 18:55 pamplemousse joined 19:11 pamplemousse_ joined 19:15 pamplemousse left 19:43 pamplemousse_ left 20:01 ggoebel left
Geth rakudo: b51acee605 | (Elizabeth Mattijsen)++ | lib/Profile.pm6
Make default report more usable

  - show frames / inlined / JITted / OSRed
  - remove CallGraph class, it is just a Callee really
  - make *all* outward facing methods using snake_case
  - remove superfluous named params from TWEAKs
  - Object class now named Type (they weren't object refs, but type refs)
20:03
rakudo: 3910042a0c | (Elizabeth Mattijsen)++ | lib/Profile.pm6
Only show threads with actual frames being called
20:07
ugexe seems like Telemetry and Profile should be combined. also it seems poor form to use `Profile` in the core -- its seems like a useful name to use outside of rakudo 20:08
20:09 ufobat_ joined
timotimo use Profile:auth<rakudo> :) :) 20:09
well, at least Profile is kind of moarvm-centric; at the moment at least 20:10
lizmat it is very MoarVM centric
also: use in Perl 6 is lexical, so you can do a "use Profile" very locally 20:11
timotimo i don't think that's what ugexe meant?
ugexe whats important is what people use (which is not the full namespace) especially for core module names
because an ntalled Profile will be before rakudos 20:12
timotimo it's fine to have "use lib", because it's not likely anybody would build a "lib" themselves
ugexe so behavior will change once a lib/Profile.pm6 is installed
lizmat so what would be a good name ?
ugexe and this *is* the purpose of auth of course. but im not sure auth<> is going to play well with core/dual life modules
timotimo mhm
Rakudo::Profiler could be okay? 20:13
hm. what if we give it a lowercase name instead?
normally modules you install have capitals in them
but pragmata don't (except MONKEY-related ones)
ugexe will it ever work with something other than MoarVM? if not then MoarVM::Profiler or MoarVMProfiler
20:14 ufobat left
ugexe if the intention is to work on other backends one day then Rakudo::Profiler or some such 20:14
timotimo it's theoretically possible to get some of the same info from other backends, but things like "how many calls happened into speshed code" don't make sense outside of moarvm
and not all backends will actually have GC pauses, like a jvm with an incremental garbage collection strategy
lizmat yeah... I think MoarVM::Profiler would be best then
each backend can have its own :-) 20:15
ugexe even just `Profiler` is better than `Profile` imo
lizmat MoarVM::Profiler then ?
ugexe i wont complain as long as its not just `Profile` 20:16
timotimo Proffile
lizmat ShedColor::Profile :-)
ugexe pRoFiLe
lizmat anyways, I'll make it MoarVM::Profiler
timotimo hmm 20:17
could be a good april first thing
implementing a :shedcolor part of module identity
ugexe m: use Test:shedcolor<Foo>; # :P
camelia ( no output )
Geth rakudo: 28ce83a06f | (Elizabeth Mattijsen)++ | 2 files
Move Profile to MoarVM::Profiler
20:23
rakudo: a70a82ea4d | (Elizabeth Mattijsen)++ | lib/MoarVM/Profiler.pm6
Finalize move to MoarVM::Profiler
20:29
rakudo: fefe6ded98 | (Elizabeth Mattijsen)++ | tools/build/install-core-dist.p6
Make sure MoarVM::Profiler gets installed
20:39
21:03 skids left
Geth rakudo: 51c6e585b7 | (Elizabeth Mattijsen)++ | lib/MoarVM/Profiler.pm6
Also show number of garbage collections in default report
21:22
vrurg github.com/perl6/problem-solving/issues/31 - looking for opinions. 21:28
21:31 MasterDuke joined, MasterDuke left, MasterDuke joined
Geth rakudo: 19c74bd047 | (Elizabeth Mattijsen)++ | lib/MoarVM/Profiler.pm6
Add type lookup by name

Also added some comments
22:09
rakudo/master: 4 commits pushed by (Vadim Belman)++ 22:56
rakudo/master: 5 commits pushed by (Vadim Belman)++ 23:06