🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:00 patrickb left 00:30 Chi1thangoo left 00:44 Chi1thangoo joined 00:47 MilkmanDan left 00:48 MilkmanDan joined 01:06 molaf left 01:19 molaf joined 01:20 Chi1thangoo left 01:33 BenGoldberg joined
moon-child vrurg: got it, thanks 01:58
cpan-raku New module released to CPAN! Font::FreeType (0.3.6) by 03WARRINGD 02:08
02:11 mid_home left 02:12 aborazmeh joined, aborazmeh left, aborazmeh joined 02:20 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 02:23 molaf left 02:28 perryprog left, perryprog joined 02:35 molaf joined 03:11 gabiruh left 03:12 gabiruh joined 03:18 skids left 03:44 Sgeo left 03:50 aborazmeh left 03:51 Sgeo joined 04:00 aborazmeh joined, aborazmeh left, aborazmeh joined 04:13 Sgeo left 04:15 Sgeo joined 04:20 BenGoldberg left 04:28 grep0r joined, grep0r left 04:31 maggotbrain left 04:32 aborazmeh left 04:37 maggotbrain joined 04:41 unicodable6 left 04:42 quotable6 left, bloatable6 left, shareable6 left 04:43 frost-lab joined 05:07 orinthe7 joined, orinthe left, orinthe7 is now known as orinthe 05:23 frost-lab left, frost-lab joined 05:24 parabolize left, greppable6 left, nativecallable6 left, statisfiable6 left, bisectable6 left, notable6 left 05:25 bisectable6 joined, notable6 joined, statisfiable6 joined, greppable6 joined, nativecallable6 joined 05:26 sena_kun joined, cpan-raku left 05:27 cpan-raku joined, cpan-raku left, cpan-raku joined 05:29 bocaneri joined 05:38 unicodable6 joined 05:39 bloatable6 joined, Doc_Holliwood joined, BenGoldberg joined, shareable6 joined 05:40 quotable6 joined 05:44 sjm_uk joined 05:56 bootleg-ghost left 06:14 BenGoldberg left 06:29 vgrato_ left 06:30 sena_kun1 joined
brass tyil: Yeah? 06:39
06:39 sena_kun1 left 06:45 andrzejku joined 07:09 jmerelo joined 07:31 patrickb joined 07:40 Doc_Holliwood left 07:56 andinus`` left, andinus joined 08:02 domidumont left
tyil brass: have you looked into building R* on Mac any further? 08:10
08:19 wamba joined 08:33 andrzejku left 08:38 perryprog_ joined, skaji_ left, skaji_ joined 08:40 perryprog left 08:41 rjeli left 08:42 dylanwh left 08:43 dylanwh joined, rjeli joined 08:46 lucs joined 08:50 natrys joined 09:04 BenGoldberg joined 09:10 Sgeo left 09:21 Altai-man joined 09:23 sena_kun left 09:27 RobRaku left 09:38 BenGoldberg left 09:41 sjm_uk left 09:43 andrzejku joined 09:45 domidumont joined 09:48 domidumont left 10:25 jmerelo left 10:36 rindolf joined 10:50 Geth left, Geth joined 10:56 k-man_ joined 10:57 k-man left 10:58 xinming_ left, xinming_ joined 10:59 andrzejku left, andrzejku joined 11:07 k-man__ joined 11:09 k-man_ left 11:26 aborazmeh joined, aborazmeh left, aborazmeh joined 11:29 rindolf left 11:31 Black_Ribbon left 11:39 xinming_ left, xinming_ joined 11:40 rindolf joined 11:41 rindolf left 11:43 rindolf joined
El_Che moon-child: you're missing your umask 12:13
12:20 aborazmeh left, mowcat joined 12:29 BenGoldberg joined 12:31 wamba left 12:32 andrzejku left 12:35 patrickb left
El_Che patrickb: habe you seen this when runnig make for moarvm: travis-ci.org/github/nxadm/rakudo-...4305#L1094 12:35
tellable6 El_Che, I'll pass your message to patrickb
El_Che patrickb: only on he newly released ubuntu 20.10 12:36
tellable6 El_Che, I'll pass your message to patrickb
12:42 bootleg-ghost joined 12:48 sjm_uk joined 12:49 jmcgnh left
El_Che fun, I only have the problem on travis 12:54
12:56 jmcgnh joined 12:57 mid_home joined 13:02 mowcat left, mowcat joined 13:03 BenGoldberg left
rindolf hi all! timings for raku vs. perl5 vs. cpython3 vs. pypy3 : paste.centos.org/view/c6678045 ; for projecteuler.net/problem=313 13:04
raku takes about a second which is acceptable, but not as good as the others which are south of 100ms 13:06
13:07 Doc_Holliwood joined
lizmat rindolf: where does the code live for the raku solutions ? 13:12
rindolf lizmat: here: paste.debian.net/1168532 13:15
lizmat: i only have one solution for every prog lang
13:21 sjm_uk left 13:22 sena_kun joined 13:23 Altai-man left
El_Che (*grumbling* found it, bug between docker and the latest coreutils, downgrading coreutils and the build continues...*grumble*) 13:29
(*grumble2* it's docker only bug because podman (not root docker alternative) had no problems) 13:30
13:38 mowcat left 13:43 frost-lab left 13:55 Chi1thangoo joined 14:15 codesections left
rindolf El_Che: viva le small difference 14:17
lizmat: any comment?
14:22 wamba joined
lizmat rindolf: not yet, was working on github.com/rakudo/rakudo/pull/3982 14:36
rindolf lizmat: ah, ok 14:37
14:39 Doc_Holliwood left
lizmat rindolf: ah, it seems I need a primesieve library for that to test 14:43
rindolf lizmat: yes, what is your OS? 14:44
lizmat MacOS Mojave 14:45
14:47 parabolize joined
rindolf lizmat: ah, which package manager are you using ? 14:47
lizmat none
rindolf lizmat: i see: then do the wget + cmake + make install dance. :) 14:48
lizmat the benchmark is not about libprimesieve is it? 14:49
14:51 andrzejku joined
rindolf lizmat: i use libprimesieve in all the codes; well - its bindings 14:52
14:55 patrickb joined
lizmat I've just build an Iterator class on top of nqp::isprime_I 14:55
rindolf: instead of squar($x) do $x * $x 15:02
instead of assigning, you could use binding, so: 15:03
while ( ( my $x := $gen.pull-one ) < $top )
that makes it about 8% faster for me
rindolf lizmat: ah, let me see 15:05
lizmat also: instead of ( ( $maxstart - 1 ) / 6 ).floor()
do: ( ( $maxstart - 1 ) div 6 )
that's another few percent has that doesn't need Rat creation / handling 15:06
*as
dogbert17 can't the return statements be thrown away as well 15:07
lizmat well, yes, but if sub square is not called, then there's only the final return in calc_needed, which wouldn't make a dent :-) 15:10
dogbert17 true :-) 15:11
lizmat ah, and also: $ret = $ret + foo is faster than $ret += foo
dogbert17 the 'int trick then, i.e. declaring all vars in the while loop as int
lizmat that *could* probably work, but then it wouldn't for bigger values 15:12
so that would be changing the semantics, I'd say
dogbert17 there's a risk involved but in this example it does actually work 15:13
lizmat true, but that feels like cheating ?
I mean, it could be written in NQP as well, and be faster :-)
dogbert17 all true :-) 15:14
lizmat: btw, thanks for closing #3378
lizmat yw
dogbert17 lizmat: another thing, while browsing through the cases a noticed a report where jnthn have suggested a solution, but alas it has never been implemented 15:20
lizmat which one? 15:21
dogbert17 G#3027
argh, which lesster should it be
*letter
R#3027 15:22
linkable6 R#3027 [open]: github.com/rakudo/rakudo/issues/3027 [regression] Infinite loop when passing a pair with a junction in the key to a sub with destructuring
15:55 BenGoldberg joined 15:56 Sgeo joined
rindolf lizmat: dogbert17 : "div" and ":=" do seem to make a difference - about 0.87s now 15:59
lizmat yeah, that prevents having to create Rat intermediate results 16:00
16:09 Doc_Holliwood joined 16:20 andrzejku left 16:22 andrzejku joined
rindolf lizmat: another small improvement: www.youtube.com/watch?v=FDpvzCzwHjk 16:23
lizmat I guess? 16:24
rindolf lizmat: oh, sorry = wrong paste 16:26
lizmat: paste.debian.net/1168547/ 16:27
16:31 grep0r joined, mowcat joined 16:32 grep0r left 16:50 wamba left 16:51 patrickb left 16:53 wamba joined 17:00 Doc_Holliwood left 17:10 Doc_Holliwood joined 17:12 skids joined
[Coke] can you block anonymous users in a particular subreddit? 17:21
17:21 Altai-man joined 17:24 sena_kun left, perryprog_ is now known as perryprog
xinming_ !paste 17:38
17:39 aborazmeh joined, aborazmeh left, aborazmeh joined
xinming_ SmokeMachine: paste.debian.net/1168553/ <-- Here, How do I fix this issue? If module and app are in the same file, the relationship works fine. But when I extract the DB thing into a module, and use that module, Red will try to load the model with the model name. 17:40
if the relation model is DB::B, We must have a file named DB/B.rakumod to fix the issue, as Red will try to require once 17:41
I tracked down, the issue is in `class ReferencesProxy does Callable {` within file Red::Column module, But I don't have much clue on how it should be fixed. 17:42
SmokeMachine You can use `:require<module::to::load>` to fix that 17:43
xinming_: in this case: www.irccloud.com/pastebin/dohTlVy9/ 17:50
`has Int $.a-id is referencing(*.id, :model<DB::A>, :require<DB>);`
El_Che weekly: updated rakudo-pkg and support for Ubuntu 20.10 17:52
notable6 El_Che, Noted! (weekly)
brass tyil: I haven't really, I only use a Mac for work, so I haven't been playing around with R* on it too much 18:02
SmokeMachine xinming_: it seems you are using Red and Cro together (is that the case?) have you seen that? github.com/FCO/Cro-HTTP-Session-Red 18:03
18:13 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 18:19 andrzejku left, patrickb joined 18:21 natrys left 18:22 bocaneri left 18:38 xi- joined, xi- left
patrickb .tell El_Che I hadn't noticed. Do you have a lead what's going on? 18:39
tellable6 patrickb, I'll pass your message to El_Che
El_Che patrickb: yes, coreutils bug when using them in Docker 18:40
patrickb :-D
El_Che++
El_Che patrickb: it's using containers iself, as the problem does no occur with podman
one of those crazy bugs that take a long time to find because they make no sense at all :) 18:41
patrickb Did you have a look at the azure configuration? It's a giant collection of workarounds for this kind of problems... I can empathize a lot! 18:42
El_Che no, but that's a good diea for next time
19:02 tejr left 19:03 tejr joined 19:11 vgrato_ joined 19:17 patrickb left, patrickb joined 19:20 klebs96 joined, klebs96 left 19:32 andrzejku joined 19:52 cpan-raku left 19:53 cpan-raku joined, cpan-raku left, cpan-raku joined 20:00 rindolf left 20:03 aborazmeh left 20:13 mowcat left
tyil brass: ah I see 20:14
20:32 Kaiepi left
Geth doc: patrickbkr++ created pull request #3672:
Document `%*SUB-MAIN-OPTS<bundling>`
20:33
20:33 Kaiepi joined 20:36 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 20:38 mowcat joined 20:43 Kaiepi left 20:44 Kaiepi joined 20:49 Kaiepi left 20:51 Kaiepi joined 20:57 mowcat left 21:19 aborazmeh joined, aborazmeh left, aborazmeh joined 21:22 sena_kun joined 21:23 patrickb left 21:24 Altai-man left 21:25 Black_Ribbon joined 21:31 mowcat joined 21:43 Kaiepi left 21:44 Kaiepi joined
El_Che 2020.10 is out? 21:47
github.com/rakudo/rakudo/releases/tag/2020.10
Let see how they build: travis-ci.org/github/nxadm/rakudo-.../738627135 21:52
sena_kun El_Che, is out. 21:53
El_Che sena_kun: yeah, pushed a build on pkg-rakudo in a branch to test it
(but travis has been slow to start jibs lately) 21:54
sena_kun El_Che, how much does it take?
It is pretty late here, but I'd still like to know if I have to cry or not before going to sleep. :S
El_Che normally it starts right away and it build 4 targets in parallel 21:55
eacht take around 11 to 12 minutes
I have 22 targets with distro+version+arch combinations
21:56 patrickb joined 22:00 andrzejku left
El_Che I feel build times are going up, but i don't know if itś because of travis or because of rakudo/moarvm/nqp 22:03
22:03 Doc_Holliwood left 22:12 Kaiepi left 22:13 Kaiepi joined 22:15 patrickb left 22:19 maggotbrain left 22:20 patrickb joined 22:23 sena_kun left 22:39 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 22:42 sena_kun joined
sena_kun NOOOOOOOOOOOOOOOOOOOOO 22:43
El_Che no?
22:47 sena_kun left 22:48 aborazmeh left
El_Che there seem to be flippers 23:13
faild this on ubuntu 20.04: t/02-rakudo/11-deprecated.t 23:14
and this one on Fedora 31: t/02-rakudo/08-slangs.t
(while ubuntu 20.10 and fedora 32 built fine)
23:23 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg
El_Che Ubuntu passed now, certainly a flipper test 23:25
same with fedora 23:27
23:53 oodani left 23:54 oodani joined