🦋 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:03 reportable6 joined
tbrowder__ how so? 00:15
m: 27 div 7
camelia WARNINGS for <tmp>:
Useless use of "div" in expression "27 div 7" in sink context (line 1)
tbrowder__ m: say so (27 div 7) 00:16
camelia True
tbrowder__ m: say (27 div 7)
camelia 3
tbrowder__ m: say (27 mod 7) 00:17
camelia 6
01:03 linkable6 left, evalable6 left, evalable6 joined 01:04 xinming left, linkable6 joined 01:06 xinming joined 01:12 jpn joined 01:17 jpn left
[Coke] m: say 27.polymod: 7 01:19
camelia (6 3)
01:27 simcop2387 joined 01:29 perlbot joined 01:48 eseyman left 02:00 eseyman joined
coleman is there an online playground website that can do what the camelia bot does? 02:17
lucs glot.io/new/raku 02:20
Not sure how current it is (I knew it existed, just googled for it). 02:21
02:28 volare joined
coleman This suffices, thank you 02:29
02:49 TieUpYourCamel left
tonyo tbrowder__: just clicking around on it, it has the same feel to it as old field manuals and other bits i have somewhere 02:54
03:00 jpn joined 03:05 jpn left, razetime joined 03:46 razetime left 04:02 rf left 04:22 razetime joined 04:39 jpn joined 04:44 jpn left 04:51 nort joined 04:57 derpydoo left 05:29 Sgeo left 05:32 Sgeo joined 05:46 derpydoo joined 06:00 reportable6 left, reportable6 joined 06:28 jpn joined 06:31 razetime left 06:33 Sgeo left, jpn left 06:36 Sgeo joined 06:49 teatwo left, teatwo joined 06:58 razetime joined 07:11 razetime left 07:35 Sgeo left 07:56 jpn joined 08:01 jpn left 08:12 razetime joined 08:15 jpn joined 08:22 jpn left 08:38 jpn joined 08:50 abraxxa joined 08:54 jpn left 09:00 jpn joined 09:05 jpn left 09:06 jpn left 09:12 dakkar joined 09:31 sena_kun joined 10:19 jpn joined 10:24 jpn left 10:31 jpn joined 10:33 QhpAptyj9hj0RQwM joined 11:14 jpn left 11:21 ProperNoun left 11:22 razetime left
tbrowder__ .tell tonyo yep, in early feb 14 of us cs-24, usafa ‘65 still alive had a mini-reunion in cocoa beach, fl. it was a good mix of old (and musty) and new. at the air museum we saw a c-47, still flyable, that flew in ww 2. 11:28
tellable6 tbrowder__, I'll pass your message to tonyo
11:41 jpn joined 11:45 ab5tract left 11:50 sarna left 11:51 sarna joined 11:53 sarna left 11:54 sarna joined 12:00 reportable6 left 12:02 reportable6 joined 12:03 volare left 12:31 jpn left 12:43 derpydoo left 13:34 jpn joined 13:37 sarna left, sarna joined 13:42 jgaz joined 13:48 QhpAptyj9hj0RQwM left 13:52 rf joined
rf Morning folks 13:52
14:02 sarna left 14:03 sarna joined 14:37 razetime joined 14:49 Sgeo joined 15:01 sarna left 15:02 sarna joined 15:08 corwin left, corwin joined
tonyo tbrowder__: wow. i worked on a lot of fa18s, migs, f22/35s, ea6bs, and the like. i always thought the old stuff seemed like more fun 15:10
tellable6 2023-03-23T11:28:45Z #raku <tbrowder__> tonyo yep, in early feb 14 of us cs-24, usafa ‘65 still alive had a mini-reunion in cocoa beach, fl. it was a good mix of old (and musty) and new. at the air museum we saw a c-47, still flyable, that flew in ww 2.
15:31 derpydoo joined
rf tonyo: When you say worked on do you mean mechanics? 15:59
tonyo yea, avionics. most of it was fa18s (all of the models the marine corps flies), mostly radar, HUDs, navigational components, all electronics/wiring
was also an engineer for a while but that was mostly just trying to not get run over by heavy equipment operators and setting up tents 16:00
and living off of water delivered in car sized balloons in the desert 16:01
rf Wow, thats impressive! I have a friend who works on CF-18s always thought it was a very interesting career
tonyo oh! we actually got to work with some of the canadians in 2006, they came down to check out the benches we used 16:02
quickly followed was an order that me and another guy that grew up close to canada had to stop doing canadian accents 16:03
rf Lol! That's really cool
16:04 japhb left 16:09 japhb joined 16:17 jgaz left 17:02 japhb left 17:03 jpn left 17:06 japhb joined
tonyo fez dist will no longer shell out to pax/tar/gzip .. i'm sure there'll be a few bumps but hopefully fewer once those are smoothed out 17:17
(but will require the zlib library to be available)
17:33 dakkar left 17:35 razetime left 18:00 reportable6 left 18:02 derpydoo left 18:03 reportable6 joined 18:04 derpydoo joined 18:39 japhb left 18:41 japhb joined 18:49 abraxxa left 18:55 volare joined 18:58 teatwo left, teatwo joined 19:06 MasterDuke joined 19:07 volare left 19:16 clarkema left 19:21 clarkema joined 19:22 derpydoo left 19:54 raiph joined 20:10 raiph left
It looks good!
and scary
Nemokosch Lmao
perryprog Though I liked how the old one had a static TOC. I think. Or maybe I'm still scared.
20:20 QhpAptyj9hj0RQwM joined
rf Is there a nice way to go from a Array[Int] to CArray[int]? 20:35
m: use NativeCall; my @foo = [12,3,4,5]; say CArray[int].new(|@foo); 20:39
camelia NativeCall::Types::CArray[int].new
rf I guess that works
21:07 tejr left 21:09 tejr joined 21:35 sena_kun left 21:36 jpn joined 21:37 QhpAptyj9hj0RQwM left 21:39 sena_kun joined 21:40 japhb left 21:50 jgaz joined 21:52 japhb joined 21:56 jpn left 21:57 jpn joined
tonyo m: use NativeCall; my @foo = [12,3,4,5]; say CArray[int].new(|@foo).elems; 21:57
camelia 4
rf I don't think it's particularly fast though... 22:03
22:09 sena_kun left 22:12 tg57 joined 22:15 tejr left 22:17 jpn left
lucs @lizmat: Is irclogs.raku.org/ implemented with App::Raku::Log as mentioned at the bottom of the pages, or is it actually with App::IRC::Log? 22:25
The latter appears to set up colors, but the former, not so much.
22:25 tejr joined
lucs (Those yellow on white strings are unreadable.) 22:26
22:28 jpn joined 22:35 jpn left 22:40 Sgeo_ joined 22:43 jgaz left, Sgeo left 22:46 Sgeo joined
rf github.com/rawleyfowler/Sort-Fast Attempting to sort numeric values at lightspeed, I have yet to big time benchmark this but I think it should be much faster than the default `.sort` 22:47
22:48 Sgeo_ left
lizmat lucs: App::IRC::Log is the generic module to set up a site with IRC logs 22:49
App::Raku::Log is the module that uses that for the irclogs.raku.org site 22:50
23:01 Sgeo left 23:04 jpn joined 23:08 jpn left 23:09 Sgeo joined
lucs lizmat: Hmm... So if the color handling (no yellow on white!) is fixed in App::IRC::Log, that will affect the rendering in App::Raku::Log? 23:12
lizmat is this about the coloring of nicks?
lucs Exactly. I just can't read some. 23:14
And it's precisely the one I was looking for comments from, eh.
lizmat each channel keeps a map of nick -> colors and these are selected the first time they're encountered 23:15
now, that selection is a bit random 23:16
actually, very random
I would welcome PRs to fix :-)
lucs Sure, and that's why I'm asking which module handles it :) 23:17
lizmat I think atm its line 43 in App/IRC/Log
yeah, I think it's using the default one 23:18
23:18 tg57 left
lucs Yeah, I saw about where it happens, but App::Raku::Log doesn't appear to be involved with App::IRC::Log. 23:18
So my question again: 23:19
lizmat its META/depends says so
lucs If the color handling (no yellow on white!) is fixed in App::IRC::Log, that will affect the rendering in App::Raku::Log?
lizmat :q
lucs Ah, I only looked at the code, not the META.
lizmat not 100% sure, but yeah, think so
check bin/raku-logs-server 23:20
lucs Will do, thanks -- sorry, have to get back to what's cooking (not code, food!) 23:21
lizmat: I looked quickly, yeah, I see it. 23:22
23:34 tejr left, tejr joined 23:58 jpn joined