🦋 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.
00:00 reportable6 left 00:01 reportable6 joined 00:02 jgaz left 00:39 destroycomputer- left 00:48 Homer_Simpson joined 01:21 Averna left 01:23 Xliff left 01:29 jjido left 01:50 razetime joined 02:02 squashable6 left, squashable6 joined 02:09 ab5tract left 03:09 sourceable6 left, reportable6 left, quotable6 left, committable6 left, nativecallable6 left, bloatable6 left, coverable6 left, benchable6 left, shareable6 left, releasable6 left, squashable6 left, unicodable6 left, linkable6 left, greppable6 left, tellable6 left, statisfiable6 left, evalable6 left, bisectable6 left, notable6 left, unicodable6 joined, shareable6 joined, evalable6 joined 03:10 sourceable6 joined, releasable6 joined, linkable6 joined, committable6 joined, coverable6 joined, greppable6 joined, tellable6 joined, bisectable6 joined 03:11 bloatable6 joined, nativecallable6 joined, statisfiable6 joined, squashable6 joined, reportable6 joined, quotable6 joined 03:12 notable6 joined, benchable6 joined 03:13 Averna joined 04:04 Homer_Simpson left 04:39 razetime left 04:42 Kaipei left 05:42 squashable6 left, notable6 left, shareable6 left, evalable6 left, tellable6 left, committable6 left, coverable6 left, linkable6 left, quotable6 left, unicodable6 left, sourceable6 left, statisfiable6 left, bisectable6 left, greppable6 left, releasable6 left, nativecallable6 left, reportable6 left, quotable6 joined 05:43 coverable6 joined, shareable6 joined, statisfiable6 joined, releasable6 joined, nativecallable6 joined, committable6 joined, notable6 joined 05:44 sourceable6 joined, squashable6 joined, bisectable6 joined, evalable6 joined, reportable6 joined 05:45 greppable6 joined, tellable6 joined, linkable6 joined, unicodable6 joined 06:00 reportable6 left 06:03 reportable6 joined 06:26 razetime joined 07:26 bloatable6 left, benchable6 left, greppable6 left, sourceable6 left, releasable6 left, reportable6 left, shareable6 left, squashable6 left, coverable6 left, unicodable6 left, bisectable6 left, statisfiable6 left, quotable6 left, nativecallable6 left, evalable6 left 07:27 coverable6 joined, evalable6 joined 07:28 nativecallable6 joined, squashable6 joined, bisectable6 joined, benchable6 joined, greppable6 joined, bloatable6 joined, sourceable6 joined, statisfiable6 joined 07:29 releasable6 joined, reportable6 joined, quotable6 joined, unicodable6 joined, shareable6 joined
jaguart So as the Pod::Loader etc. seem in flux... I've switched to my $handle = CompUnit::Loader.load-source-file( $source-file.IO ); 07:35
and I can get the Pod directly from the $handle.unit without having to tweak the source and EVAL it...
which seems nice, fast and simple... just one issue - if I load a module before doing this, and then attempt to get the pod for that module... 07:36
I get a compile 'Redeclaration of symbol 07:37
is there a way to get the compile() to skip the merge into GLOBAL:: ? or to get it to merge into a transient Stash? 07:38
08:30 linkable6 left, evalable6 left 08:31 linkable6 joined 08:33 evalable6 joined
gfldex I wrote the author of buttondown.email/hillelwayne/archi...languages/ an e-mail with a Raku program. :-> 09:09
09:23 tgt joined
tgt Hi. Just asked a question in #raku-beginner about installing modules using zef, but then thought maybe that channels more for language 09:37
09:47 jjido joined 10:07 jjido left 10:29 Kaipei joined 10:34 Sgeo left 10:35 sena_kun left
nine jaguart: counterintuitively load-source-file may be too low level. I'd try $*REPO.load instead 10:43
10:44 razetime left 10:46 sena_kun joined 11:46 linkable6 left, evalable6 left, linkable6 joined, evalable6 joined 12:00 reportable6 left 12:02 reportable6 joined 12:18 jpn joined 12:37 jpn left 12:51 razetime joined 13:12 tgt left 13:37 alfonsox joined 13:38 tgt joined 13:45 jpn joined 14:07 tgt left 14:25 jpn left 14:31 jpn joined 14:34 alfonsox left 15:07 jpn left 15:29 jpn joined 15:45 jpn left 15:52 jpn joined 16:04 jgaz joined 16:48 jpn left 16:55 Averna left 17:25 abraxxa-home joined 17:28 abraxxa-home left 17:30 abraxxa-home joined 17:31 jgaz left 18:00 reportable6 left 18:02 reportable6 joined 18:09 jpn joined 18:14 bigdata joined 18:19 jgaz joined 18:30 jpn left, razetime left 18:33 abraxxa-home left 18:50 bigdata left 19:07 xinming joined
xinming SmokeMachine: ping 19:08
SmokeMachine: when we try to load column data with Blob column type from Pg, We'll get the error termbin.com/dsip 19:10
Nemokosch reminder for those who are interested: Rakudo Development class is starting in less than an hour. www.reddit.com/r/rakulang/comments...session_2/
xinming SmokeMachine: that's the test script, here is the error log 19:11
19:23 Kaipei left 19:29 jpn joined 19:35 Kaipei joined 19:44 jpn left 19:48 bigdata joined 19:50 bigdata left 19:55 Sgeo joined
xinming SmokeMachine: add additional inflate for Bloc fixed the issue. multi method inflate(Blob $value, :$to!) { $to.new: $value } 19:56
19:57 jgaz left 20:19 jpn joined 20:27 ab5tract joined 20:31 jpn left 20:33 epony left 20:36 ProperNoun left 20:43 dcx left 20:46 dcx joined 20:50 ab5tract left 21:03 ab5tract joined
jaguart nine: $*REPO works a treat - many thanks :)) 21:03
21:05 grondilu joined
grondilu Trying to draw a triangle with GLFW/OpenGL bindings, without relying on the glBegin/glEnd thing, which I'm told is obsolete : gist.github.com/grondilu/754822601...1af81e6574 21:06
21:07 ab5tract left
grondilu it fails but with no error, and the window shows up, with the correct bg color. 21:07
I suspect the issue is with a Pointer I set at some point.
what is NativeCall's equivalent to C<(void *)0> ? Pointer.new? 21:08
21:45 ProperNoun joined, sena_kun left 21:47 sena_kun joined 21:57 grondilu left, grondilu joined 21:58 grondilu left 22:14 jpn joined
moritz Any, maybe? 22:15
22:19 jpn left 22:32 epony joined
SmokeMachine m: say "/bin/ls".IO.slurp(:bin).^name 23:06
camelia Failed to open file /bin/ls: Permission denied
in block <unit> at <tmp> line 1
SmokeMachine m: say $*PROGRAM.IO.slurp(:bin).^name 23:07
camelia Buf[uint8]
23:10 jpn joined 23:30 jpn left