[00:00] <[Coke]> looks like it was completely missed since at least the rename [00:02] Yup [00:02] *** reportable6 left [00:28] <[Coke]> lizmat: Happy to do more work cleaning up examples if we can get it deploying again. [00:35] *** berber44 joined [00:37] ¦ examples/master: 5 commits pushed by Coke++ [00:37] ¦ examples/master: bd3f97ece0 | fix IRC channel link [00:37] ¦ examples/master: 1c4e543452 | Remove note about other compiler versions. [00:37] ¦ examples/master: 70e97c26fe | remove (old) note about Artistic 1.0 [00:37] ¦ examples/master: f58047f29c | Remove unused Text::Levenshtein module. [00:37] ¦ examples/master: 52de88cd63 | Remove unused Pod::To::Perl module [00:37] ¦ examples/master: review: https://github.com/Raku/examples/compare/5cf55a3dba58...52de88cd638d [00:37] <[Coke]> duff++ :| [00:38] [Coke] s/freenode/libera.chat [00:40] ¦ examples: c5d99fe100 | Coke++ | README.md [00:40] ¦ examples: Actually fix irc link [00:40] ¦ examples: [00:40] ¦ examples: perryprog++ [00:40] ¦ examples: review: https://github.com/Raku/examples/commit/c5d99fe100 [00:40] <[Coke]> thanks [00:40] <[Coke]> I had fixed it elsewhere, didn't realize this was a new instance. [00:41] *** linkable6 joined [00:41] I'm imagining that "you'll be welcome" as a threat [00:41] "oh you'll be welcome you joined" [00:42] <[Coke]> PR to update welcome. :) [00:43] <[Coke]> I WELCOME IT [00:43] <[Coke]> :) [00:43] <[Coke]> (in my mind it sounded like the old sinistar game from the 80s) [00:43] <[Coke]> ... like, from the arcade. where you'd go to. [00:44] never heard of it [00:44] an arcade, that is [00:45] <[Coke]> :P [00:47] * [Coke] hurls https://youtu.be/xcyBtVwAsfg?t=59 [00:49] oh so like those joke retro games people used to make, huh [00:54] ¦ examples: f5c3e073cd | Coke++ | categories/euler/README.md [00:54] ¦ examples: add a note about the first 100 [00:54] ¦ examples: review: https://github.com/Raku/examples/commit/f5c3e073cd [00:56] <[Coke]> https://youtu.be/0cSW6qhLwio [00:58] *** berber44 left [00:59] ha that means ur old [01:01] <[Coke]> Born at least a decade before Sinistar came out. [01:02] holy moley [01:02] born decades /after/ Sinistar came out... [01:02] <[Coke]> I am not the oldest here, either, youngling. [01:03] I've played some MUDs where there are people there who have been playing the same game I am, continuously, since before I was born [01:03] the internet is weiiird [01:10] *** frost joined [01:11] *** frost left [01:11] <[Coke]> I'm honestly surprised you know what a MUD is, so good on you. :) [01:12] <[Coke]> heading afk, see you later. [01:13] Hard to match the depth that any good (sadly usually commercial) MUD has in terms of world detail, roleplay-ability, and while simultaneously having a rich player combat system. I don't know of any MMORPGs that really do that combination in the way that most MUDs do. [01:58] *** melezhik left [02:04] *** reportable6 joined [02:07] *** frost joined [03:07] *** linkable6 left [03:07] *** squashable6 left [03:07] *** greppable6 left [03:07] *** reportable6 left [03:07] *** coverable6 left [03:07] *** bloatable6 left [03:07] *** committable6 left [03:07] *** benchable6 left [03:07] *** releasable6 left [03:07] *** shareable6 left [03:07] *** statisfiable6 left [03:07] *** evalable6 left [03:07] *** quotable6 left [03:07] *** tellable6 left [03:07] *** bisectable6 left [03:07] *** benchable6 joined [03:07] *** committable6 joined [03:08] *** releasable6 joined [03:09] *** shareable6 joined [03:10] *** reportable6 joined [03:16] hello, how can I convert any length of byte string into an integer according to byte order in Raku? [03:55] frost: Blob.read-(u)bits, perhaps [04:07] *** squashable6 joined [04:08] *** bloatable6 joined [04:08] *** statisfiable6 joined [04:09] *** quotable6 joined [04:24] *** MasterDuke left [04:42] %lx [05:09] *** greppable6 joined [05:38] *** anser joined [06:02] *** reportable6 left [06:08] *** tellable6 joined [06:08] *** coverable6 joined [06:24] *** abraxxa joined [06:28] *** abraxxa left [06:29] *** abraxxa joined [06:33] *** a3r0__ joined [06:33] *** Summer_ joined [06:34] *** Od1n1 joined [06:34] *** a3r0_ left [06:34] *** Summer left [06:34] *** xkr47 left [06:34] *** Od1n left [06:34] *** japhb left [06:34] *** Summer_ is now known as Summer [06:35] *** japhb joined [06:35] *** xkr47 joined [06:45] good *, <#633753286209699870> )) [07:04] *** reportable6 joined [07:07] *** linkable6 joined [07:07] *** bisectable6 joined [07:08] *** evalable6 joined [07:19] *** patrickb joined [07:36] *** Sgeo left [07:46] *** abraxxa-home joined [07:49] *** abraxxa-home left [07:49] *** patrickb left [07:50] *** patrickb joined [07:55] *** silug1 left [07:55] *** silug joined [07:56] *** no-n joined [08:08] *** abraxxa-home joined [08:12] *** no-n left [08:29] *** abraxxa-home left [08:31] *** abraxxa-home joined [09:26] *** abraxxa-home left [09:30] *** squashable6 left [09:33] *** squashable6 joined [09:40] I'm trying to get single keypresses from stdin. The docs have this "Using getc to get a single keypress from a terminal will only work properly if you've set the terminal to "unbuffered". " [09:40] but what does this mean? In bash i just do "read -n1". How can i achieve the same in Raku? [09:43] I would assume `read` does the unbuffering itself. [09:44] I don't know but the meaning is rather clear: stdin is typically more greedy than waiting for sole characters, it has a buffer and that buffer is filled whenever you are asked for input [09:45] There are various ways to control the chunk size in Linux [09:45] one way is the unbuffer command from expect [09:45] Manifest0: it is a pain. You must mess with ioctls [09:46] Another is stdbuf from coreutils [09:46] I suggest looking at Term::termios [09:46] Manifest0: https://github.com/krunen/term-termios [09:47] is "read" bash-exclusive or a program? [09:47] its part of bash [09:47] well meh, then I'm not sure if it would work with qx [09:47] * Manifest0 checking Term::termios [09:48] is github down? :-( [09:49] It's just you [09:49] just you, can confirm 😄 [09:50] "No server is currently available to service your request. Sorry about that. Please try refreshing and contact us if the problem persists." [09:51] it works from the german proxy [09:53] *** Qwnavery joined [10:06] *** ef4 joined [10:07] *** ef4 left [10:34] *** Altai-man joined [11:06] *** cialandro joined [11:10] Does raku accept any unicode symbols for the fat right arrow used to create a pair? [11:10] *** abraxxa left [11:10] or just the 2 ascii subset characters [11:15] mfiano: this is the list: https://docs.raku.org/language/unicode_ascii#Other_acceptable_single_codepoints [11:15] I don't see => among them [11:16] Ok thank you [11:36] *** mahafyi joined [11:50] m: say (a ⇒ 'b') [11:50] rakudo-moar 33296d406: OUTPUT: «5===SORRY!5=== Error while compiling ␤Bogus term␤at :1␤------> 3say (a 7⏏5⇒ 'b')␤ expecting any of:␤ argument list␤ infix␤ infix stopper␤ postfix␤ prefix␤ statement…» [11:50] :( [11:53] I see a lot of raku scripts written with a shebang line to rake and a "use v6;" line. The v6 line seems redundant or am I missing something? [11:53] Just a "use v6" is redundant nowadays [11:53] use v6.c, use v6.d, use v6.* use v6.e.PREVIEW [11:54] are meaningful though, as they indicate a language level version [11:54] Got it. Thank you. [12:02] *** reportable6 left [12:12] *** abraxxa joined [12:17] *** abraxxa left [12:20] *** abraxxa joined [12:25] *** abraxxa left [12:26] *** abraxxa joined [12:28] *** abraxxa left [12:29] *** cialandro left [12:39] *** Maylay left [12:48] *** Maylay joined [13:05] *** reportable6 joined [13:10] *** xinming_ left [13:12] *** xinming_ joined [13:27] *** frost left [13:43] *** patrickb left [13:44] *** patrickb joined [14:18] *** ikarus joined [14:19] *** ikarus left [14:21] *** Sgeo joined [14:47] <[Coke]> I know there's discussion (from a while back) about ditching examples.raku.org, but in the meantime, where is the site hosted? I am happy to do some backend work to try to regen the site. [14:48] <[Coke]> (looks like it's basically using the old doc site method) [14:58] rba, ping? [14:58] *** ingy joined [15:00] Does the file extension of a module matter? Reading an older book before the rename that recommends .pm or .pm6 [15:01] mfiano, should not, but using new ones is understandably preferred. [15:01] I'm not sure what is new [15:01] I have never used Perl before [15:01] <[Coke]> one sec: [15:01] <[Coke]> this ain't perl. [15:02] <[Coke]> (it was, but now it isn't) [15:02] It was [15:02] Right [15:02] at the very least, .pm will bring you some issues with Comma [15:02] for a module a recommended one is .rakumod [15:02] Comma doesn't even work on my computers (neither does Idea) [15:03] <[Coke]> https://docs.raku.org/language/intro [15:03] Ah cool thanks [15:03] <[Coke]> (that says RAKULIB is NYI - it is now, isn't it?) [15:03] <[Coke]> also someone should s/recent// on that page. [15:05] <[Coke]> RSC (lizmat/codesections et al.) https://github.com/Raku/examples/issues/82#issuecomment-944343475 [15:06] <[Coke]> Altai-man's point there sounds like the RSC might want to opine on examples.raku.org now that we have an RSC. [15:07] *** anser left [15:07] [Coke], yes, that's one possible way to proceed. I hope the solution won't be to create an examples team to delegate. :P [15:08] <[Coke]> Altai-man: can you submit that branch as a PR for examples? [15:09] <[Coke]> Altai-man: I assume the end result is we get nice examples somewhere, so let's update them in place for now, and if they end up in docs, fine. [15:09] [Coke], sure, note it's only half baked (the web bit migration needs more tinkering). [15:09] <[Coke]> ah [15:10] <[Coke]> it may be difficult to incorporate then. I'll see what I can do. I think I want to get the site generating again (at least once by hand), then we can pull in those bits. Thanks, looks like you did a lot of stuff already. [15:10] *** avar left [15:10] no PR needed then? [15:10] *** avar joined [15:11] <[Coke]> if it still has more work, I'll see about going the other way and rebasing the branch on master. [15:11] <[Coke]> then we can get the branch to a decent merge point. [15:11] <[Coke]> looks like a lot of good stuff so far, though, thanks. [15:11] ¦ examples: Altai-man++ created pull request #89: Enhance [15:11] ¦ examples: review: https://github.com/Raku/examples/pull/89 [15:12] <[Coke]> (y) [15:12] [Coke], opened one, feel free to tinker one. [15:12] <[Coke]> Thanks! [15:12] <[Coke]> Sorry if I'm stepping on toes. I just wanted to fix the Euler issue and then yak shaving started. [15:13] no-no, I know how it goes [15:13] it's a long story though [15:13] the thing is, my main concern about this repo is the website looking silly [15:14] <[Coke]> Agreed, could use a facelift just on styles (but also a bunch of other stuff) [15:14] it's not about contents being outdated or something, it just looks very 2009 and IMO does the opposite to attracting new users. creates a negative image? maybe this fits [15:14] <[Coke]> I think it's the same as an older version of docs. [15:14] so I wanted to completely remake it, did some work [15:15] <[Coke]> Is that in this branch? [15:15] [Coke], we don't have a "new" version of docs, it's exactly the same design. :P [15:15] [Coke], no, no UI changes in my branch, only content. [15:15] But then people said "Oh, why bother with this, just improve the docs". [15:16] So I went and re-imagined the docs website, fixing the silly UI, broken search, added modern features etc [15:17] then it was ditched with insults and bikeshedding [15:17] thus we have docs from 2009 and examples from 2009 [15:17] but what I think is that if we have it this way [15:18] then fixing docs tickets (like missing documentation bits! please, write docs, folks) is more efficient towards users [15:18] *** vrurg left [15:18] just my 100 cents on this [15:21] <[Coke]> I've done most of what I'm doing with docs. I also had meta issues there. [15:21] *** patrickb left [15:22] <[Coke]> Altai-man: Between the two of us, maybe we can make some progress on both fronts. [15:30] *** melezhik joined [15:30] . [15:31] . [15:32] *** melezhik left [16:03] This is the third day I spent all day reading Raku literature, and at this point I got a pretty good idea of the language. I just want to take this time to express my intense excitement over this wonder language. Thanks to the team and community! [16:04] <[Coke]> ... I'm glad you're still here after three days of that. :) [16:04] <[Coke]> We're glad to have you. [16:05] I'm old and have used several dozen languages over the years. I can honestly say I have only been this excited over 2 languages before. [16:05] Thanks :) [16:14] *** MasterDuke joined [16:14] mfiano: I thought I recognized your name. You're one of the Lispers, yeah? [16:17] RaycatWhoDat: Yeah, for a long time. [16:18] o7 [16:28] *** monkey_ joined [16:28] There is only 1 thing I don't agree with about the language so far, but that may change. [16:30] Normally languages that have multiple dispatch do not associate methods with classes...they are separate toplevel constructs. I can't see would want to couple behavior to state like this, as it is much less flexible. [16:30] mfiano, there is no need to associate methods with classes. [16:31] There is no need to even allow it is my point. [16:31] ah [16:31] *** djerius left [16:31] With multimethods, classes only need to contain state (their instances' attributes) [16:32] *** djerius joined [16:32] m: my &m = method ($a) { say self + $a }; m(42, 42).say [16:32] rakudo-moar d6d90f41e: OUTPUT: «84␤True␤» [16:32] method dispatch selection determines which classes are involved [16:32] at least this is possible if I understood what you mean [16:32] you can also have multi subs [16:34] I'll keep this oddity in my mind while I continue reading more about the language. It was just 1 thing that stuck out at me, being familiar with several languages with multiple dispatch [16:57] *** RaycatWhoDat left [17:08] *** melezhik joined [17:08] . [17:10] *** Altai-man left [17:30] *** monkey_ left [17:39] *** monkey_ joined [18:02] *** reportable6 left [18:04] *** reportable6 joined [18:51] *** Geth left [18:51] *** Geth joined [18:52] *** RakuIRCLogger joined [19:00] the new logs server is now live: https://logs.liz.nl/home.html [19:18] *** sena_kun left [19:35] *** sena_kun joined [19:42] *** monkey_ left [19:42] *** Qwnavery left [20:01] *** melezhik left [20:06] *** vrurg joined [20:11] what happened with Rakudo.js ? Last publish 2 years ago... [20:11] small bus factor and lack of time I guess [20:14] clear. Thanks ) [20:48] *** RakuIRCLogger left [20:49] *** RakuIRCLogger joined [20:50] *** berber44 joined [20:52] mfiano: could you name the language with multiple dispatch methods as top constructs? I want to study more about it. [20:55] As for the Raku's binding methods to classes, I think that just because most users are accustomed to this, since this how things are in the top 5 or more languages [21:07] *** melezhik joined [21:14] my understanding is that you meant CLOS or maybe Julia [21:17] what is Rakudo.js anyway? [21:22] *** m6locks joined [21:25] it's a port of rakudo and nqp to javascript. it compiles nqp and raku code to javascript, and has a runtime to make all of it work [21:26] *** pony joined [21:28] lizmat - the log server has a very nice design! [21:28] thank you :-) [21:28] if this a permanent url? [21:28] I will pass it on to the designer :-) [21:28] no, it's still in beta [21:28] ah, ok [21:28] until I really think it's production ready, I will be more vocal about it [21:29] and it will probably get a URL under raku.org or raku.rocks [21:29] logs page also looks really neat [21:29] ooh that "gist" feature is cool [21:29] it's kind of an evolution of the summary feature from ilbot2? [21:29] I guess :-) [21:30] instead of storing it on the server, you just edit the URL with the data in it with the buttons [21:30] though it's easier in the summary mode since there you turn on checkboxes for every line and need one click per line instead of two [21:30] oh, it's even has a calendar, all the bells and whistles ... )) [21:32] menu spills out [21:33] https://cdn.discordapp.com/attachments/633753286209699870/898684885521289216/unknown.png [21:33] if you find any issues, please make an issue for it on: https://github.com/lizmat/App-Raku-Log/issues [21:34] timo: yes, I know... above my current layout paygrade I'm afraid [21:34] it was quite a journey from me doing HTML seriously for the first time in 15 years, coming from HTML 0.9 basically :) [21:35] yeah, html is never easy thing ))) [21:36] https://logs.liz.nl/raku/live.html works fine ... cool [21:36] server restart to fix search options on home page in mobile mode [21:38] there's a max-height: 450px rule for dropdown content [21:38] that's what makes the box too small [21:39] with "overflow: hidden scroll" you can get a scrollbar for up/down scrolling and keep the maximum size [21:39] not sure if a maximum size in actual pixels is a good choice, no clue how that interacts with hidpi and the like [21:43] timo++ # added that to the CSS, and put live. A reload should now give you scrollbar [21:45] "scrollbar" interpreted as german kind of translates as "scrollable" [21:47] * lizmat calls it a day [21:48] keep those issues and PRs coming in https://github.com/lizmat/App-Raku-Log/issues :-) [21:48] & [22:15] *** linkable6 left [22:16] *** linkable6 joined [22:18] lizmat: great work (and lots of it) on the historical irc logs! [22:33] *** timo left [22:53] *** berber44 left [23:12] *** pony left [23:12] *** pony joined [23:38] how to call C lib function? [23:39] https://docs.raku.org/language/nativecall [23:39] Nativecall [23:39] Yeah, that [23:40] where can I find examples? [23:41] I mean, that page has quite a bit of working code [23:45] Thanks! ) [23:45] https://gist.github.com/RayMPerry/90da6c767d2327678d33a80fa3c2248c [23:45] The code there is really 80% of what you need [23:47] exactly what i need! thanks again ))