🦋 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 Manifest0 left, snonux left, rypervenche left, TieUpYourCamel left, mtj left, jgaz left, tonyo left, rjbs left, zups left, lucs left, zmoment left, perryprog left, lucs joined, snonux joined, reportable6 left, jgaz joined, rypervenche joined, rjbs joined, Manifest0 joined, TieUpYourCamel joined, tonyo joined, rypervenche left, rypervenche joined 00:01 mtj joined, zups joined 00:02 perryprog joined 00:03 reportable6 joined, zmoment joined 00:11 jpn joined 00:15 jpn left 00:24 jgaz left, jgaz joined 00:44 lichtkind__ joined 00:47 lichtkind_ left 01:04 Manifest0 left 01:28 tejr left 01:50 MasterDuke left 02:14 jpn joined 02:19 jpn left 02:23 teatwo left, teatwo joined 02:55 lichtkind__ left, camelia left 02:59 camelia joined 03:06 tejr joined 03:42 tea3po joined 03:46 teatwo left 04:46 unicodable6 left, sourceable6 left, greppable6 left, committable6 left, notable6 left, squashable6 left, notable6 joined 04:47 committable6 joined 04:48 unicodable6 joined, greppable6 joined, sourceable6 joined, squashable6 joined 05:48 quotable6 left, benchable6 left, linkable6 left, tellable6 left, bisectable6 left, releasable6 left, evalable6 left, greppable6 left, statisfiable6 left, shareable6 left, bloatable6 left, unicodable6 left, coverable6 left, committable6 left, squashable6 left, reportable6 left, nativecallable6 left, notable6 left 05:49 shareable6 joined, notable6 joined, bloatable6 joined, releasable6 joined, unicodable6 joined, evalable6 joined, greppable6 joined 05:50 benchable6 joined, squashable6 joined, coverable6 joined, quotable6 joined 05:51 tellable6 joined, linkable6 joined, reportable6 joined, nativecallable6 joined, bisectable6 joined, statisfiable6 joined, committable6 joined 06:00 reportable6 left 06:01 reportable6 joined 07:01 coverable6 left, reportable6 left, linkable6 left, nativecallable6 left, bloatable6 left, tellable6 left, releasable6 left, committable6 left, bisectable6 left, unicodable6 left, tellable6 joined 07:02 unicodable6 joined, committable6 joined, bloatable6 joined 07:03 releasable6 joined, nativecallable6 joined 07:04 reportable6 joined, coverable6 joined, bisectable6 joined, linkable6 joined 07:41 jpn joined 08:10 sena_kun left 08:52 jpn left 09:52 linkable6 left, evalable6 left 09:53 linkable6 joined 09:54 evalable6 joined 10:26 Sgeo left 10:40 Manifest0 joined 10:43 lichtkind__ joined 10:44 jpn joined 10:49 jpn left
SmokeMachine is there something missing to make this GitHub action (github.com/Raku/setup-raku) work for 2023.05? it seems rakudo.org/dl/rakudo is not returning a linux (or a non src) platform. I'm not sure where that's coming from... 10:49
11:40 sena_kun joined 12:00 reportable6 left 12:01 reportable6 joined 12:28 squashable6 left 12:29 squashable6 joined 13:10 guifa left 13:11 guifa joined
CIAvash I've been waiting for the binary release, but it seems it has not happened yet rakudo.org/downloads 13:28
tellable6 2023-03-27T14:16:38Z #raku <tbrowder__> CIAvash i'm trying to fork Pod::Contents but I can't get an account on your git repo (no email sent to me). i'm trying to download it and will establish my "fork" on github for now.
ugexe Does anyone know much about make on OpenBSD? It appears that makefiles with `%` in a file path get turned into a different character and thus the make file won't work -- github.com/ugexe/zef/issues/457#is...1586021352 13:30
lizmat CIAvash: nxadm.github.io/rakudo-pkg/ seems to have them? 13:43
13:43 euandreh joined 13:45 jgaz left 13:47 jgaz joined
CIAvash I update my AUR repo based on rakudo.org binaries, rakudo-pkg is built from source by nxadm using GitHub Actions if I'm not mistaken 13:48
lizmat that's my understanding as well, El_Che ?? 13:50
CIAvash rakudo.org's binaries are built by patrickb, I think 14:04
patrickb There is a yet unsolved issue with building the Linux binaries... 14:14
14:21 tea3po left 14:22 tea3po joined 14:45 derpydoo left 15:45 evalable6 left, linkable6 left 15:47 gfldex left, evalable6 joined 15:48 linkable6 joined 16:25 perlbot left 16:27 simcop2387 left 16:29 perlbot joined 16:30 simcop2387 joined, eseyman left 16:32 derpydoo joined 16:53 manu_ joined 16:57 manu_ is now known as eseyman
tonyo , 17:22
17:33 teatime joined 17:34 breadboi28 joined 17:38 teatime left 17:40 breadboi28 left 18:00 reportable6 left, reportable6 joined 18:13 PipStuart joined 18:18 gfldex joined
librasteve Tirifto: sorry for the slow reply, my initial sense is that the line sub getnstr(Str,int32) returns int32 is native(&library) is export {*}; in the raku NCurses module will not work as set out in the ncurses docs 18:47
I think that the module needs to provide for a C pointer to be passed to the library with somthing like this 18:49
use NativeCall; # C prototype is void create_object(void **object) sub create_object(Pointer is rw) is native('foo') { * } my Pointer $p = Pointer.new(); create_object($p); # pointer is set by create_object
from the raku NativeCall docs docs.raku.org/language/nativecall#...f_pointers
I suggest that you raise an issue on the module site as this looks like a bug to me ... it seems that there was some activity in Sept 22 so hopefully it is actively supported 18:53
18:58 ProperNoun left 19:01 ProperNoun joined 19:03 dextercd joined 19:14 abraxxa-home joined, Sgeo joined 19:16 MasterDuke joined
Tirifto @librasteve, thank you! I might try and play around with it some more once done with my current project. I have found a set of similar libraries more native to Raku for the meantime. :-) 19:20
19:22 abraxxa-home left 19:26 abraxxa-home joined
japhb Tirifto: Out of curiosity, what are you using now? 19:42
japhb has interest in terminal libraries ....
leont I think I got my async database stuff at a point now where I feel confident writing a presentation about it. 20:02
Tirifto japhb, at least for the time being, I’ve settled on Terminal::Print for printing characters on screen, Terminal::LineEditor for reading strings, and Terminal::ReadKey for key presses. 20:05
They don’t seem quite as complete or versatile as NCurses, but they should be enough for my needs. 20:06
Oh hey, you’re the author of Terminal::LineEditor, right? :D 20:09
And Terminal::Print co-author. Thought I had seen the name recently. xP 20:10
Thank you for working on those! Terminal::LineEditor was not behaving exactly as I needed, but it was fairly easy to change that in the source code. I found it pretty nice to read and navigate, as someone who doesn't do that very often. ^ ^ 20:16
20:26 linkable6 left, evalable6 left 20:27 evalable6 joined 20:29 linkable6 joined 20:30 sena_kun left 20:32 derpydoo left 21:07 japhb left, abraxxa-home left 21:08 japhb joined 21:13 japhb left 21:14 japhb joined 21:37 derpydoo joined 21:48 dustinm` left 22:06 jpn joined
japhb Tirifto: Sorry, lost connectivity for a bit there. Glad you like T::P and T::LE. I'm working on more Terminal:: modules as well, but it turns out doing this stuff "right" involves shaving A LOT of yaks. 22:07
Glad to hear that T::LE was easy enough to fix. Is your fix something general? Happy to accept a PR. :-) 22:08
Tirifto Probably not. One change was to replace two Unicode signs (for horizontal scrolling) with ASCII ones (due to certain limitations on my side), and another was not to jump to the next line after reading input by default. 22:10
22:11 jpn left 22:12 euandreh left, jpn joined, euandreh joined
Tirifto I guess one or the other might be nice as on-demand customisation options; in such case I might see if I could make a patch later. But I am fairly clueless when it comes to the internal workings of terminals. Which makes these modules all that more valuable. x) 22:12
22:17 jpn left 22:18 dustinm` joined 22:24 euandreh left 22:25 euandreh1 joined 22:27 euandreh1 is now known as euandreh 22:30 euandreh left, euandreh joined 22:34 euandreh left 22:35 euandreh joined
japhb Tirifto: The module suite I am currently working on, Terminal::Widgets, will include symbol set fallbacks. Probably not a bad idea to backport that technique to T::LE as well. :-) 22:38
Current WIP of terminal capabilities representation: github.com/japhb/Terminal-Widgets/...es.rakumod
22:39 euandreh left 22:40 euandreh joined
japhb Tirifto: Oh, and if your ASCII limitation is because you are using an assistive device such as a Braille terminal, raw console, or physical TTY, I'm very interesting in supporting such assistive devices better. (By coincidence, I literally spent the afternoon trying to understand what Debian-parented distributions support out of the box for assistive support.) 22:48
Tirifto Oh, it’s nothing like that, so I unfortunately shan’t be able to assist there. x) 22:49
japhb For the curious, it seems that Debian has decent support for assistive devices in the original installer and in the boot menu and such, but then after that, it varies depending on desktop variant between "Not too bad" and "OMG AUGGGH". Sounds like GTK 4 was a major regression after GTK 2 and GTK 3. :-( 22:51
Tirifto: Well, let me know how I can help anyway. :-)
23:01 jpn joined 23:05 jpn left