🦋 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:02 pecastro left, wildtrees left 00:05 wamba left, Doc_Holliwood left 00:08 mowcat left 00:11 hungrydonkey left, rbt left 00:12 aborazmeh joined, aborazmeh left, aborazmeh joined, rbt joined 00:16 bronco_creek left 00:52 patrickz joined 00:56 patrickb left 00:58 ensamvarg joined 01:03 lichtkind left
timotimo well, sometimes the specializer got unhappy with code in the mainline 01:04
01:05 xi left, patrickz left 01:07 xi joined 01:20 sena_kun joined 01:22 Altai-man_ left 01:30 xelxebar left, Celelibi joined 01:31 xelxebar joined 01:42 oneeggeach joined 01:59 oneeggeach left 02:02 xelxebar left 02:04 xelxebar joined 02:07 aborazmeh left, molaf left 02:20 molaf joined 02:52 kybr left 02:54 kybr joined 03:19 Altai-man_ joined 03:21 sena_kun left 04:21 greppable6 left, notable6 left, squashable6 left, committable6 left, sourceable6 left, statisfiable6 left, shareable6 left, linkable6 left, tellable6 left, bloatable6 left, quotable6 left, benchable6 left, unicodable6 left, nativecallable6 left, coverable6 left, releasable6 left, evalable6 left, reportable6 left, bisectable6 left 04:22 evalable6 joined, reportable6 joined, linkable6 joined, coverable6 joined, squashable6 joined, benchable6 joined, tellable6 joined 04:23 greppable6 joined, bloatable6 joined, nativecallable6 joined, notable6 joined, sourceable6 joined, quotable6 joined, unicodable6 joined 04:24 statisfiable6 joined, bisectable6 joined, releasable6 joined, committable6 joined 04:25 shareable6 joined 04:43 regreg left 05:14 sauvin joined 05:20 sena_kun joined 05:22 Altai-man_ left 05:42 Doc_Holliwood joined 06:15 guifa left 06:16 guifa joined 06:19 xelxebar left 06:22 xelxebar joined 07:18 xelxebar left 07:19 xelxebar joined, Altai-man_ joined 07:22 sena_kun left
Geth doc: 2e977ec163 | Tinmarino++ | doc/Language/objects.pod6
Object: Inheritance: Add parent direct call with $obj.Parent::method
07:36
doc: 11af5202e2 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/objects.pod6
Merge pull request #3270 from tinmarino/merge_super

Object: Inheritance: Add parent direct call with $obj.Parent::method
linkable6 Link: docs.raku.org/language/objects
07:37 huf left
Geth doc: f3af1a04f8 | (Stoned Elipot)++ | doc/Type/Any.pod6
Explicitly mention min/max/minmax()'s :by argument
07:37
doc: c9317ce382 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Any.pod6
Merge pull request #3269 from Raku/any-minmax-by

Explicitly mention min/max/minmax()'s :by argument
linkable6 Link: docs.raku.org/type/Any
07:45 stoned75 left 07:46 stoned75 joined
Geth doc/buf-blob-list-return-type: 5105747581 | (Stoned Elipot)++ | 2 files
remove unneeded elaboration

  ... on Buf.list() and Blob.list() return value's type
07:48
08:00 natrys joined 08:01 Black_Ribbon left
Geth doc: 08b4a058ca | (Stoned Elipot)++ | 2 files
clarify Buf.list() and Blob.list() return value's type

As discussed in #3266
08:06
doc: 5105747581 | (Stoned Elipot)++ | 2 files
remove unneeded elaboration

  ... on Buf.list() and Blob.list() return value's type
linkable6 DOC#3266 [open]: github.com/Raku/doc/issues/3266 Buf.list() and Blob.list() return type
doc: f3c69b3344 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files
Merge pull request #3267 from Raku/buf-blob-list-return-type

clarify Buf.list() and Blob.list() return value's type
08:10 wamba joined, stoned75_ joined 08:29 rindolf joined 08:44 mojca left 08:46 mojca joined 09:03 holli__ joined 09:07 Doc_Holliwood left 09:08 Doc_Holliwood joined 09:09 holli__ left 09:10 holli__ joined
MasterDuke timotimo: right. jnthn had a similar thought about that nqp optimization of prefix + on lists, but it turned out not to be the problem there either 09:10
09:12 Doc_Holliwood left, Doc_Holliwould joined 09:14 [Sno] left 09:15 holli__ left 09:16 [Sno] joined 09:18 Doc_Holliwould left, Doc_Holliwould joined 09:20 sena_kun joined 09:21 holli__ joined, Altai-man_ left 09:23 Doc_Holliwould left 09:24 chloekek joined, Doc_Holliwould joined 09:26 holli__ left 09:27 holli__ joined 09:28 pmurias left 09:29 Doc_Holliwood joined, Doc_Holliwould left 09:32 holli__ left, holli__ joined 09:35 Doc_Holliwood left, Doc_Holliwould joined 09:36 AlexDaniel left 09:37 holli__ left, holli__ joined 09:39 regreg joined 09:40 Doc_Holliwould left, wamba left, Doc_Holliwood joined 09:42 holli__ left 09:43 holli__ joined 09:46 Doc_Holliwood left, Doc_Holliwould joined 09:48 holli__ left 09:51 Doc_Holliwould left, Doc_Holliwould joined 09:55 holli__ joined 09:56 Doc_Holliwould left 09:57 Doc_Holliwould joined 09:59 holli__ left 10:00 holli__ joined 10:03 Doc_Holliwould left, Doc_Holliwood joined 10:05 holli__ left, holli__ joined 10:07 Doc_Holliwood left 10:08 Doc_Holliwood joined, stoned75_ left, stoned75 left
tbrowder .tell lizmat no notice from bot but my new module published yesterday on cpan is shown in modules list: Draw2D::Furniture 10:09
tellable6 tbrowder, I'll pass your message to lizmat
lizmat . 10:10
I saw it on twitter.com/raku_cpan_new, so no worries :-)
tbrowder++
10:10 holli__ left 10:11 holli__ joined
tbrowder thnx 10:11
10:13 Doc_Holliwood left, Doc_Holliwould joined, wamba joined 10:16 holli__ left
cpan-raku New module released to CPAN! Gnome::Glib (0.17.0.2) by 03MARTIMM 10:16
New module released to CPAN! Gnome::Gtk3 (0.26.2) by 03MARTIMM
New module released to CPAN! Gnome::Gio (0.4.1) by 03MARTIMM
New module released to CPAN! Draw2D::Furniture (1.0.0) by 03TBROWDER
New module released to CPAN! Gnome::N (0.17.1.3) by 03MARTIMM
New module released to CPAN! Gnome::Glib (0.17.0.1) by 03MARTIMM
New module released to CPAN! EventSource::Client (0.0.2) by 03JSTOWE
New module released to CPAN! Ujumla (0.0.1) by 03JSTOWE
New module released to CPAN! Tomty (0.0.9) by 03MELEZHIK
10:19 Doc_Holliwould left, Doc_Holliwould joined 10:24 Doc_Holliwould left 10:25 Doc_Holliwood joined 10:28 huf joined 10:30 Doc_Holliwood left, Doc_Holliwould joined 10:35 Doc_Holliwould left, Doc_Holliwood joined 10:37 eseyman left 10:38 holli__ joined 10:40 Doc_Holliwood left 10:41 Doc_Holliwould joined 10:43 holli__ left 10:44 holli__ joined 10:47 Doc_Holliwould left, Doc_Holliwould joined 10:48 AlexDaniel joined, AlexDaniel left, AlexDaniel joined 10:49 eseyman joined, holli__ left 10:50 holli__ joined 10:51 Doc_Holliwould left 10:52 Doc_Holliwood joined 10:55 holli__ left 10:56 holli__ joined 10:57 Doc_Holliwood left 10:58 Doc_Holliwould joined 11:00 holli__ left 11:01 holli__ joined 11:02 Doc_Holliwould left 11:04 wamba left 11:05 holli__ left 11:19 Altai-man_ joined 11:22 wamba joined, sena_kun left 11:37 pecastro joined 11:55 AlexDaniel left 12:01 regreg left 12:03 regreg joined 12:12 aborazmeh joined, aborazmeh left, aborazmeh joined 12:15 mowcat joined, mowcat left, mowcat joined 12:19 natrys left, natrys joined 12:35 chloekek left 12:59 kensanata joined 13:16 rindolf left 13:20 epony left, sena_kun joined 13:22 Altai-man_ left 13:30 rindolf joined 13:37 foo222 joined 13:43 kensanata left 13:49 Itaipu_ left 13:55 Itaipu joined 13:56 epony joined 13:57 foo222 left, Itaipu left 13:59 Itaipu joined 14:03 Itaipu left
cpan-raku New module released to CPAN! P5caller (0.0.8) by 03ELIZABETH 14:03
New module released to CPAN! ObjectCache (0.0.3) by 03ELIZABETH
New module released to CPAN! Math::Libgsl::Matrix (0.1.2) by 03FRITH 14:04
New module released to CPAN! Math::Libgsl::Constants (0.0.4) by 03FRITH
New module released to CPAN! Termbox (0.0.1) by 03JJATRIA
New module released to CPAN! Lumberjack::Application (0.0.8) by 03JSTOWE
New module released to CPAN! Lumberjack (0.0.10) by 03JSTOWE 14:05
New module released to CPAN! Audio::Libshout (0.0.12) by 03JSTOWE
New module released to CPAN! PDF::Class (0.4.2) by 03WARRINGD
14:05 Itaipu joined
cpan-raku New module released to CPAN! Gnome::Gdk3 (0.15.3.1) by 03MARTIMM 14:05
New module released to CPAN! Gnome::Gtk3 (0.26.1) by 03MARTIMM
New module released to CPAN! Gnome::Gio (0.4.0) by 03MARTIMM
New module released to CPAN! Gnome::Gtk3 (0.25.3.1) by 03MARTIMM
New module released to CPAN! Gnome::GObject (0.15.13) by 03MARTIMM 14:06
New module released to CPAN! Gnome::Gdk3 (0.15.3) by 03MARTIMM
New module released to CPAN! Gnome::N (0.15.8) by 03MARTIMM
New module released to CPAN! Gnome::Gtk3 (0.25.3) by 03MARTIMM
New module released to CPAN! Gnome::N (0.16.0) by 03MARTIMM
New module released to CPAN! Gnome::Glib (0.16.1) by 03MARTIMM
New module released to CPAN! Gnome::Glib (0.16.0) by 03MARTIMM
New module released to CPAN! Gnome::GObject (0.15.14.2) by 03MARTIMM
New module released to CPAN! Gnome::Gtk3 (0.26.0) by 03MARTIMM
New module released to CPAN! MessageStream (0.1.1) by 03MLDEVINE
New module released to CPAN! POSIX::getaddrinfo (0.1.2) by 03MLDEVINE 14:07
New module released to CPAN! KHPH (0.1.1) by 03MLDEVINE
New module released to CPAN! Async::Command (0.1.1) by 03MLDEVINE
New module released to CPAN! Sparrow6 (0.0.17) by 03MELEZHIK
New module released to CPAN! Sparrow6 (0.0.19) by 03MELEZHIK
New module released to CPAN! Sparrow6 (0.0.16) by 03MELEZHIK
daemon yeekes
the M's are busy
cpan-raku New module released to CPAN! Sparrow6 (0.0.18) by 03MELEZHIK
14:08 Redfoxmoon left 14:10 Itaipu_ joined, Itaipu left 14:11 rbt left 14:12 rbt joined 14:15 Itaipu_ left 14:16 Itaipu joined 14:18 aborazmeh left, Itaipu left 14:21 Itaipu joined 14:22 Redfoxmoon joined, Redfoxmoon left, Redfoxmoon joined 14:24 chloekek joined 15:16 grayrider joined 15:19 Altai-man_ joined 15:22 sena_kun left, grayrider left 15:23 grayrider joined 15:35 rindolf left 15:44 rindolf joined 15:58 rindolf left 16:00 rindolf joined 16:13 wamba left 16:14 wamba joined 16:31 AlexDaniel joined, AlexDaniel left, AlexDaniel joined 16:48 wildtrees joined 16:58 molaf left
wildtrees using DBIish and the .prepare and .execute method, how do I pass in array for an insert in a postgres database? the documentation for DBIish doesn't have an example 17:00
rbt I was wondering that yesterday myself. 17:05
Specifically, it would be nice to be able to do: WHERE foo = ANY($1), and pass in an array for $1. 17:08
wildtrees I kind of just want to insert arrays for starters, the documentation is parse 17:11
17:19 natrys left 17:20 sena_kun joined
rbt I don't see an example in the regression tests. 17:20
17:21 Altai-man_ left 17:28 wamba left
wildtrees rbt, found this after a small amount of digging, github.com/raku-community-modules/...le.pm6#L71 I have the arrays being created, but they have one value in them instead of the correct array 17:29
17:46 wamba joined
Geth doc: c2a234c730 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod6
Add 'C' formatting code
18:08
linkable6 Link: docs.raku.org/language/pod
18:22 ensamvarg left 18:28 rindolf left 18:34 rindolf joined 18:36 jacquescitron joined 18:37 Black_Ribbon joined 18:42 rindolf left 18:54 rindolf joined 19:19 Altai-man_ joined 19:21 oneeggeach joined, sena_kun left 19:25 rindolf left 19:26 kent\n joined 19:31 oneeggea_ joined 19:34 oneegge__ joined 19:35 oneeggeach left 19:38 oneeggea_ left 19:43 oneeggeach joined 19:45 oneeggea_ joined 19:47 oneegge__ left 19:48 oneegge__ joined, oneeggeach left 19:52 oneeggea_ left 19:53 Doc_Holliwood joined 19:59 cpan-raku left 20:00 cpan-raku joined, cpan-raku left, cpan-raku joined, oneegge__ left 20:01 regreg left 20:10 rindolf joined
rypervenche This is probably a stupid question, but up until now I've been using Text::CSV to write a CSV file from an array of hashes. I'd like to change that to an array of objects, although I'm not sure how to do that or even if it's possible. I suppose I could manually create a CSV by simply doing a loop of the array's objects and have it it output the desires attributes into a delimited string. Does anyone 20:27
know of a better way to do this? Or if using objects is pointless here?
20:30 pilne left
lizmat rypervenche: in Raku everything's an object... 20:30
rypervenche lizmat: I just thought it might be more efficient, as you said in your latest talk about how you should be using objects instead of hashes since they were currently faster. 20:31
20:31 pilne joined
guifa For most things yes, but you can always write a .Hash method for your object to create the format needed by Text::CSV 20:32
lizmat if you have a custom class, all you need is to add a .Str method to make it stringify
m: class A { multi method Str(A:D:) { "foo" } }; put A.new 20:33
camelia foo
lizmat the A:D: is to make sure that A.Str will fall back to the default stringification of type objects
rypervenche Ooooh, I'll do that then. Thank you. 20:35
Is there documentation for the the :D: thing anywhere? 20:37
guifa rypervenche: yes, lemme go look it up for you
basically :D = defined, :U = undefined (type)
But what lizmat++ was getting at is more than by using A: , you allow for fallbacks 20:38
lizmat and don't forget the multi :-)
guifa If you have an undefined A, it won’t match A:D, so it falls back to Mu, and specifically Mu:U if it makes a distinction (dunno if Mu does) 20:39
(Although you could specify an A:D and an A:U if you wanted)
lizmat m: class A { method Str() { "foo" } }; put A 20:41
camelia foo
lizmat m: class A { has $.a; method Str() { "foo: $!a" } }; put A 20:42
camelia Cannot look up attributes in a A type object
in method Str at <tmp> line 1
in block <unit> at <tmp> line 1
lizmat m: class A { has $.a = 42; method Str() { "foo: $!a" } }; put A.new
camelia foo: 42
20:56 woolfy left 20:57 mowcat left 20:58 xelxebar left 21:00 rindolf left, jacquescitron left 21:20 sena_kun joined 21:21 Altai-man_ left 21:23 oneeggeach joined, oneeggeach left 21:24 kensanata joined 21:27 guifa_ joined 21:29 guifa left, guifa_ is now known as guifa 21:41 chloekek left 21:42 kensanata left 21:51 orinthe joined 22:02 silug0 joined 22:04 silug left, silug0 is now known as silug 22:19 molaf joined 22:44 Itaipu_ joined 22:45 Itaipu left 22:51 xinming_ left, xinming_ joined 22:53 MasterDuke left 23:01 Doc_Holliwood left 23:09 wamba left 23:11 huf left 23:12 MasterDuke joined 23:21 pecastro left 23:22 sena_kun left 23:24 sena_kun joined 23:47 vike left 23:50 vike joined 23:54 guifa left 23:55 guifa joined