🦋 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.
guifa tonyo: no issues since I figured out the cause of the problem! 00:28
tellable6 2022-11-28T18:47:55Z #raku <tonyo> guifa any issues with uploading on that branch?
tonyo good news 01:41
need to figure out how git applies that gitignore, it seems like the glob is applied in each folder so `*.DS_Store` matches in subdirs as well but i think the way i have it in fez matches what git does 01:42
guifa git-scm.com/docs/gitignore it's fairly complicated. if you can't get something figured out this week, I can try to come up with something for you next week 02:08
Geth ecosystem/main: 79484a9b9b | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Array::Shaped::Console → zef

The squashatons thing, simply deleted. Probably does not make a lot of sense any more.
11:38
ecosystem/main: 57cfabcac9 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Also moved

I think I was working with the wrong version all the time...
11:39
ToddAndMargo Windows 11Pro 22H2.  Tearing my hair out here.  Can someone tell me what is wrong with this code?  It just exits.  No error code; no complaining.  vpaste.net/kzbdA 11:42
Geth ecosystem/main: 95d2e50493 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
I have no idea what this was doing here

It wasn't even correct.
11:55
Nemokosch XD these messages 11:57
ToddAndMargo I think what I may be doing wrong is not defining LPDWORD and LPSTR correctly: 12:27
constant BYTE     := uint8;
constant LPDWORD  := uint64;        # long pointer to a DWORD
constant LPSTR    = CArray[BYTE];   # long pointer to a string
I am giving it data structures instead of pointers 12:31
Figured it out.  I forgot teh "rw" in 12:47
   LPSTR   $lpBuffer is rw,
   LPDWORD $nSize is rw
Nemokosch please publish as much of this kind of code as possible, without violating your business interests at least 12:54
because this is very niche stuff within Raku folks from what I know
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/11/29/2022-...assy-core/ 14:04
Geth ecosystem/main: 1d85115efa | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Another one goes to zef
14:22
SmokeMachine Hi lizmat. Sorry for keep asking you questions about rak, but I really like that tool and how would be a better person to ask about that than you? 14:27
lizmat: I'm trying to list all aws_instances on a group of terraform files. My last try was this one: `rak '/resource <.ws> \"aws_instance\" <.ws> \"<( .* )>\"/' --extensions=tf --/show-filename --file-separator-null --trim` 14:29
but it adds an empty line between each line, shows the line number and shows the whole line instead on only the <( )> part (but only highlights that part). Would that be possible? 14:31
Nemokosch by the way, there is a raku-rak IRC channel 😛 14:36
SmokeMachine :+1 14:37
👍
I don't know it that's related to the version, but I've updated rak and now I found the option `--matches-only`that made it 1 step closer to what I want... 14:38
ok --/show-item-number (I was searching for something related to line...). Now only removing the empty lines is missing... 14:40
Nemokosch btw pretty sure I managed to git rid of the empty lines, they are a feature. I don't know which option it was 14:43
no-group-matches? does that help? 14:53
[Coke] It is unclear to me who is "non core" for the rainbow thing. 16:25
s/thing/award/
[Coke] I wonder if next year we might want a way to surface people who have already been nominated so that people can say "oh, yes, Elsie did do a lot and I should vote for her." 16:27
[Coke] I assume non-core means "doesn't commit to the big 3 repos and is not on the RSC"? 16:29
Geth ¦ doc: coke self-assigned Explanation on thread issues with hashes github.com/Raku/doc/issues/4143 16:35
El_Che [Coke]: there is core and hard-core 16:38
tonyo art core is modules that don't work but have beautiful interfaces 16:58
El_Che nice 17:01
[Coke] coke is almost core 17:03
Nemokosch [Coke]: agreed, it's good for voting, and frankly, it would be also good to not re-nominate the same people over and over. Frankly, I wouldn't want to nominate somebody for an nth time, either. Administrative-ish stuff is too frustrating to do for no actual use... 17:08
[Coke] m: +("coke".comb.kv (-) "core".comb.kv) 17:09
camelia WARNINGS for <tmp>:
Useless use of "+" in expression "+(\"coke\".comb.kv (-) \"core\".comb.kv)" in sink context (line 1)
[Coke] m: say +("coke".comb.kv (-) "core".comb.kv) 17:10
camelia 1
[Coke] ah, that's not doing what I think it is. 17:11
Nemokosch what did you want it to do? 17:12
[Coke] take positions into account.
m: say +("coke".comb.kv (-) "koce".comb.kv) 17:13
camelia 0
[Coke] but it's probably just matching up 0, 1, 2, 3, c, o, k, e and the positions will ALWAYS match if the words are the same length
m: say +("coke".comb.pairs.map(*.join) (-) "coek".comb.pairs.map(*.join)) # there we go 17:14
camelia 2
[Coke] m: say +("coke".comb.pairs.map(*.join) (-) "core".comb.pairs.map(*.join)) # there we go
camelia 1
[Coke] Someone golf that. :) 17:15
Nemokosch what does this actually do?
[Coke] doing a simplistic hamming distance. 17:17
how many changes are there (substutions only) between those two words. (coke vs. croke is probably technically a distance of 1 (1 insertion) but this would report that as 4, probably. 17:18
m: say +("coke".comb.pairs.map(*.join) (-) "croke".comb.pairs.map(*.join)) # there we go
camelia 3
Nemokosch m: ('coke', 'core')>>.comb.reduce(* Zne *)>>.Int.sum.say 17:19
camelia 1
tellable6 2022-11-28T20:21:53Z #raku <[Coke]> nemokosch: it could be, but I don't see "NYI(" in roast
Nemokosch m: ('coke', 'coek')>>.comb.reduce(* Zne *)>>.Int.sum.say 17:20
camelia 2
Nemokosch like this?
[Coke] m: ('coke', 'core')>>.comb.reduce(* Zne *).sum.say 17:21
camelia 1
El_Che I think the rainbow butterfly is a trick to make people questioning themselves if they are core or not :P
[Coke] ^^ you can just sum up booleans.
El_Che: Thankfully I was never going to nominate myself so I didn't have to answer that question. :) 17:22
I did nominate someone, hopefully within the latest window
Nemokosch not sure it's a good idea to further obfuscate the code with boolean summing 17:23
[Coke] I disagree that that's the obfuscating part there. :) 17:27
Nemokosch Well I think it is but it's rather tautological. 17:32
[Coke] wonders if this is worth a module. 18:04
[Coke] notes you can also rewrite the reduce:
m: <coke core>>>.comb.reduce(&[Zne])).sum.say
camelia ===SORRY!=== Error while compiling <tmp>
Unexpected closing bracket
at <tmp>:1
------> <coke core>>>.comb.reduce(&[Zne])⏏).sum.say
[Coke] m: <coke core>>>.comb.reduce(&[Zne]).sum.say 18:05
camelia 1
[Coke] (oh, right: github.com/thundergnat/Text-Levenshtein) 18:07
melezhik o/ 18:58
tellable6 2022-11-28T04:24:03Z #raku <tonyo> melezhik: that's awesome
melezhik hi! if someone is willing to automate a module publishing using fez upload here the way - raku.land/zef:melezhik/SparrowCI-S...ox?v=0.0.2
^^ tonyo 18:59
tonyo ++ 19:00
tbrowder i just spent WAY too much time editing my raku advent article on that [expletives deleted] so-called editor on Wordpress. Santa, please send us a new (and suitable) Raku Advent blog site!! 19:18
tbrowder with tonyo's article on apache/cro websites in hand, surely someone is willing to self-host a decent, Rakupod/Markdown Raku Advent blogging site. i know it will take a bit of time, but, for a once-a-year event, it shouldn't take that much time compared to wasted hours on WP. and i'm willing to donate to the Raku Foundation to get it started. 19:25
couldn't Raku servers be used? 19:26
[Coke] I am not sure there *are* "raku servers" 19:30
Nemokosch could be that there are "raku servers" but then they are people xD 19:32
[Coke] I mean to say, I don't think it's like we have capacity sitting around unused, I think everything is bespoke. 19:41
I also don't know if we want to add to infrastructure when there are commercial options because devops/infra staff is a limited resource, even more than hosting $$. 19:42
Geth ecosystem/main: 6fd62ba697 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Removes from ecosystem
19:46
[Coke] for the rainbow award, is the plan to just announce the winner? anyone nominated? 20:31
melezhik .tell tbrowder writing posts in Wordpress is PAIN 20:53
tellable6 melezhik, I'll pass your message to tbrowder
melezhik medium is MUCH easier however maybe it could be not a good fit for raku advents even 20:54
tbrowder i’m talking about whatever powers our raku.org and such 20:55
tonyo i could host it. 22:40
but i have no software for blogging so there'd probably need to be some consensus for what to use
coleman static site generator? 22:41
tonyo if you use that then you could just make an org for the advent in github and use that 22:44
Nemokosch I mean yeah, tbh if people are so dissatisfied with Wordpress, what about simply using a Jekyll site on github? 22:56
lizmat [Coke] there are nominations, and the RSC is still mulling about the selection process / results :-) 23:05
El_Che lizmat: are we allowed to make "Stop the steal" jokes? :) 23:09
lizmat yes
El_Che are the bots allowed to vote, you know vox populi, vox dei? 23:10
lizmat no, the only people allowed to vote, are the RSC members :-)
and I think we will exclude RSC members from the roster :-) 23:11
maybe next time it will be different... it was a sorta last minute thing, really
El_Che good luck! 23:12
Nemokosch Hm, hopefully they don't need to toss a coin, and then maybe it's less about luck 😄 23:22