🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
El_Che lo 08:36
Geth ecosystem/main: 566f30adc0 | (Elizabeth Mattijsen)++ | META.list
Remove Getopt::Advance, it also lives on CPAN
09:29
ecosystem/main: 3512954e95 | (Elizabeth Mattijsen)++ | META.list
Also remove App::Findsource and Terminal::Table

These also live on CPAN
09:32
grondilu m: say blob64.new: (0.4, 0.7).map({ ($_ *2**64).Int }) # not sure why this fails 11:25
camelia Cannot unbox 64 bit wide bigint into native integer
in block <unit> at <tmp> line 1
grondilu m: say blob64.new: (0.4,).map({ ($_ *2**64).Int }) 11:26
camelia Blob[uint64]:0x<6666666666666666>
grondilu m: say blob64.new: (0.7,).map({ ($_ *2**64).Int })
camelia Cannot unbox 64 bit wide bigint into native integer
in block <unit> at <tmp> line 1
grondilu m: say my uint64 $ = (0.7 * 2**64).Int; 11:27
camelia 12912720851596686131
grondilu 🤨
m: blob64.new: 12912720851596686131 11:28
camelia ( no output )
grondilu m: put blob64.new: 12912720851596686131
camelia Stringification of a Blob[uint64] is not done with 'Str'. The 'decode'
method should be used to convert a Blob[uint64] to a Str.
in block <unit> at <tmp> line 1
grondilu m: dd blob64.new: 12912720851596686131
camelia Blob[uint64].new(12912720851596686131)
grondilu m: say (0.7 * 2**64).Int
camelia 12912720851596686131
grondilu wth
m: say blob64.new: constant @ = (0.7,).map({ ($_ *2**64).Int }) 11:29
camelia Cannot unbox 64 bit wide bigint into native integer
in block <unit> at <tmp> line 1
grondilu m: say blob64.new: (0.7,).map({ my uint64 $ = ($_ *2**64).Int }) 11:30
camelia Cannot unbox negative bigint into native unsigned integer
in block <unit> at <tmp> line 1
grondilu 🤷
m: say (0.7,).map({ my uint64 $ = ($_ *2**64).Int }) 11:33
camelia (-5534023222112865485)
grondilu 😲
m: say my uint64 $ = (.7 *2**64).Int
camelia 12912720851596686131
grondilu how does that make any sense? 11:34
m: say (0.7,).map({ my uint64 $ = ($_ *2**64).Int }).WHAT
camelia (Seq)
grondilu m: say (0.7,).map({ my uint64 $ = ($_ *2**64).Int })[0].WHAT
camelia (Int)
grondilu m: say (my uint64 $ = (.7 *2**64).Int).WHAT 11:35
camelia (Int)
grondilu m: say { my uint64 $ = ($_ *2**64).Int }(.7)
camelia -5534023222112865485
grondilu m: say { my uint64 $ = ($_ *2**64).Int }(.7) > 0
camelia False
grondilu m: say sub { my uint64 $ = ($^x *2**64).Int }(.7) > 0 11:38
camelia False
grondilu m: say sub { return my uint64 $ = ($^x *2**64).Int }(.7) > 0
camelia True
grondilu using return or not affects the results?! 🤨 11:40
m: say sub { (my uint64 $ = ($^x *2**64).Int) }(.7) > 0
camelia False
grondilu m: say sub { return (my uint64 $ = ($^x *2**64).Int) }(.7) > 0
camelia True
grondilu seems like a bug tbh 11:41
Geth App-Rakubrew: 2048c084c5 | (Nick Logan)++ (committed using GitHub Web editor) | lib/App/Rakubrew/Build.pm
Update zef default branch
12:22
App-Rakubrew: fcc95747d6 | (Patrick Böker)++ (committed using GitHub Web editor) | lib/App/Rakubrew/Build.pm
Merge pull request #58 from Raku/zef-update-default-branch

Update zef default branch
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/09/12/2022-...re-videos/ 12:29
Geth App-Rakubrew: c5e97193a1 | (Patrick Böker)++ | 2 files
Fix `build-zef` with upgraded rakudobrew installations

If zefs new main branch isn't found then fetch.
12:52
App-Rakubrew: 3f5d110841 | (Patrick Böker)++ | 3 files
Version 30
tonyo . 15:36
tonyo tbrowder: i think you introduced a typo and that's why you're libcsv isn't building on GA.. your src/csvwrap.c differs from mine on line 4 (see github.com/tony-o/perl6-libcsv/blo...wrap.c#L4) 15:51
your^ 15:52
yours has this one github.com/tbrowder/text-csv-libcs...vwrap.c#L4 15:55
which reads `intoptions` rather than `int options`
tbrowder oh, good catch, caught by ff and bad eyesight again! sorry about the noise... 17:45
melezhik o/ 22:31
I've started to play with Rakusta - Rakudo build tool for variety of platforms - github.com/melezhik/rakusta - maybe someone would take in interest ...