🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
tbrowder ref my class stub problem earlier: i got it fixed by "unstubbing" the classes, but i think the docs may need tweaking a 00:54
bit by an expert. when i get a chance i'll try to get the smallest example i can to show "my problem" for the folks here to consider 00:56
tonyo i was looking at cross platform masked input, not surprised that doesn't exist in moar now 01:27
japhb tonyo: What do you mean by "cross platform masked input"? 05:37
samebchase Where can I find out the package pq:ver<5>:from<native> 05:38
what is it?
can't seem to find anything in raku.land
Is it github.com/lib/pq ? 05:39
japhb samebchase: I think it's the Postgres client library. If you are sure you have it installed, you can probably ignore it at `zef install` time. 06:13
samebchase Filed github.com/FCO/Red/issues/542 , and closed it shortly after. 06:24
I was on an old version of PG, upgrading it and reinstalling libpq using homebrew worked
Thanks! 🙏 06:26
rir In the source for the Raku docs, I'd like to link to the glossary entry for the 'adverbial pair' from _another_ file. Since that entry does not have a header like entries I've found, I'm unsure of syntax for the link. 15:05
[Coke] adverbial pair does have a header and an X<> entry in the glossary. 15:23
Skarsnik Could be nice to provide zef with the rakudo windows build x)
[Coke] glossary links are like: 314:L<val|/routine/val> routine converts it to L<allomorph|/language/glossary#Allomorph>.
Skarsnik ho nvm
it's in the share/perl6/ x) 15:24
[Coke] so L<Adverbial Pair|/language/glossary#Adverbial Pair> probably?
rir Thanks, Coke. 15:51
Skarsnik gah, install cro on windows does not work since lot of native lib try to be build ~~ 16:08
hm, is that a zef issue? 16:25
===> Searching for missing dependencies: Digest, TinyFloats:ver<0.0.3+>
Enabled fetching backends [git path curl wget] don't understand git://github.com/sergot/datetime-parse.git
You may need to configure one of the following backends, or install its underlying software - [pswebrequest]
ugexe no its a raku issue. the logic to fire that warning is just github.com/ugexe/zef/blob/7d6b48db...od#L71-L73 16:30
it happens randomly to people
if you run it again it will almost certainly work 16:31
MasterDuke also, isn't the git: protocol now disabled by github?
ugexe i dunno if its disabled yet, but yeah 16:32
that wouldn't affect that error message though 16:33
Skarsnik zef seems to hangout/stuck installing stuff now ~~ 16:35
Geth doc: 0rir++ created pull request #4014:
Mention adverbial pair in 5to6
17:32
Geth doc: eb0b0e8964 | rir++ (committed using GitHub Web editor) | doc/Language/5to6-perlop.pod6
Mention adverbial pair in 5to6 (#4014)
18:47
linkable6 Link: docs.raku.org/language/5to6-perlop
tonyo japhb: preventing an echo from a keystroke 23:13
japhb tonyo: If you're talking about entering a password, with either no echo, or some random character(s), Terminal::LineEditor can do that. If you're talking about reading individual keystrokes, there are a couple modules with that capability (including the intermediate-level classes within Terminal::LineEditor). 23:24
tonyo how does terminal::lineeditor do that?
fez does it, it's a trivial problem between modern win/osx/linux but it's not necessarily trivial beyond that 23:25
also, talking about grabbing individual chars
japhb Oh, as soon as it starts accepting input, it is in "raw" input mode, so that it can handle any keystrokes and map them appropriately. So choosing to print something different from the key pressed is trivial. 23:26
The code in Terminal::LineEditor is based on my work in github.com/ab5tract/Terminal-Print...wInput.pm6 and github.com/ab5tract/Terminal-Print...dInput.pm6 23:27
though somewhat modernized
tonyo where is the bit that actually prevents echo?
japhb I am also continuing to work on that in order to make it easier to subclass -- I now have a version locally that allows a combination of mouse input, keyboard input, and CLI and full-screen TUI interfaces. 23:28
tonyo: As soon as you go raw. Here, lemme find the lines
github.com/ab5tract/Terminal-Print...ut.pm6#L16 23:29
Term::termios's makeraw helper
tonyo oh, so it's Term::termios
need to interview someone, going to look trace that down afterwards
that rpg demo is cool 23:30
japhb OK. Here's the newer variation of the code, in the following two methods: github.com/japhb/Terminal-LineEdit...kumod#L272
:-) You should see the current version. :-) 23:31
tonyo this is what i was looking for 23:37
github.com/krunen/term-termios/blo...myhelper.c
japhb Ah, OK. Interesting. 23:42
elcaro I can't seem to make an `our` scoped variable a Proxy. Is this a known limitation? 23:48