🦋 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:01
reportable6 joined
00:18
epony left
00:24
lichtkind_ left
|
|||
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? | ||
00:46
Kaiepi left
00:52
razetime joined
01:17
perlbot left
01:19
perlbot joined
|
|||
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 | |
02:19
evalable6 left,
linkable6 left
02:20
evalable6 joined
02:21
linkable6 joined
02:33
epony joined
02:36
Bocaneri joined,
Bocaneri is now known as Guest965
02:39
Sauvin left
02:50
euandreh joined
03:47
Kaiepi joined
04:07
jetchisel left
04:12
derpydoo left
04:28
Guest58 left
04:48
jetchisel joined
05:35
bioexpress joined
05:36
bioexpress left
06:00
reportable6 left
06:02
reportable6 joined
06:09
ToddAndMargo joined
06:24
ToddAndMargo left
07:21
Guest965 is now known as Sauvin
07:57
Sgeo left
08:27
lichtkind_ joined
08:36
abraxxa joined
08:59
holyghost left
09:00
linkable6 left
09:02
linkable6 joined
09:11
sena_kun joined
09:12
dakkar joined
09:14
sena_kun left
09:42
sena_kun joined
09:54
Kaiepi left
10:46
sgrs joined
10:57
Kaiepi joined
11:07
sgrs left
|
|||
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 | ||
11:40
ToddAndMargo joined
|
|||
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 | |
11:58
rinkydink joined
11:59
tirnanog left
12:00
reportable6 left
12:01
reportable6 joined
12:03
ToddAndMargo left,
ToddAndMargo joined
|
|||
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 | |||
13:03
evalable6 left,
linkable6 left
13:04
linkable6 joined
13:05
evalable6 joined
13:19
ToddAndMargo left
13:23
sgrs joined
13:28
sgrs left
13:48
derpydoo joined
|
|||
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 | ||
14:42
derpydoo left
|
|||
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 | |
14:44
razetime left
14:45
razetime joined
14:53
Sgeo joined
|
|||
no-group-matches? does that help? | 14:53 | ||
15:02
lichtkind_ left
15:07
Kaiepi left
15:15
sgrs joined
15:30
lichtkind_ joined
15:42
euandreh left
15:48
abraxxa left
16:02
razetime left
16:05
derpydoo joined
|
|||
[Coke] | It is unclear to me who is "non core" for the rainbow thing. | 16:25 | |
s/thing/award/ | |||
16:26
Kaiepi joined
|
|||
[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 | |
16:27
xinming joined
|
|||
[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 | |
17:01
m_athias left
17:02
m_athias joined
|
|||
[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 | ||
17:19
Nemokosch joined
|
|||
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 | |
17:36
dakkar left
18:00
reportable6 left
18:02
reportable6 joined
18:04
sena_kun left
|
|||
[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 | ||
18:06
sena_kun joined
|
|||
[Coke] | (oh, right: github.com/thundergnat/Text-Levenshtein) | 18:07 | |
18:08
Nemokosch left,
Nemokosch joined
18:32
abraxxa-home joined
18:33
jgaz joined
18:36
abraxxa-home left
18:37
abraxxa-home joined
18:50
squashable6 left
18:53
squashable6 joined
18:58
melezhik joined
|
|||
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 | |
19:01
perlbot left,
simcop2387 left
19:04
simcop2387 joined
19:06
perlbot joined,
melezhik left
|
|||
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 | |
19:23
sgrs left
|
|||
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 | |
19:32
sena_kun left
19:33
sena_kun joined,
Guest11 joined
19:35
Kernspin left
19:36
Kernspin joined
19:39
Guest11 left
|
|||
[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 | ||
19:43
abraxxa-home left
|
|||
Geth | ecosystem/main: 6fd62ba697 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list Removes from ecosystem |
19:46 | |
19:51
abraxxa-home joined
19:53
Grass joined
19:54
Grass left
20:02
abraxxa-home left
20:05
abraxxa-home joined
20:07
Nemokosch left
|
|||
[Coke] | for the rainbow award, is the plan to just announce the winner? anyone nominated? | 20:31 | |
20:36
perlbot left
20:37
simcop2387 left,
perlbot joined,
simcop2387 joined
20:52
melezhik joined
|
|||
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 | |
20:55
melezhik left
21:02
epony left
21:05
abraxxa-home left
21:40
sena_kun left
21:41
sena_kun joined
21:58
abraxxa-home joined
22:07
abraxxa-home left
22:09
abraxxa-home joined
22:12
abraxxa-home left
22:13
abraxxa-home joined
22:17
abraxxa-home left
22:18
abraxxa-home joined
22:22
abraxxa-home left
22:23
abraxxa-home joined
22:37
lichtkind_ left
22:39
epony joined
22:40
jgaz left
|
|||
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 | |
22:58
sena_kun left
23:03
sena_kun joined
23:04
deoac joined
|
|||
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 | |
23:13
abraxxa-home left
23:15
euandreh joined
23:21
sortiz joined
|
|||
Nemokosch | Hm, hopefully they don't need to toss a coin, and then maybe it's less about luck 😄 | 23:22 | |
23:27
a3r0 left,
a3r0 joined
23:28
sgrs joined
23:50
sena_kun left
23:59
sgrs left
|