Raku Conference Day 2 on Youtube: www.youtube.com/watch?v=BL9-XdC9WYI 🦋 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 14 August 2022. |
|||
00:07
reportable6 left
00:10
reportable6 joined
00:44
Kaipei joined
00:46
Kaiepi left,
Sgeo joined
00:48
Kaipei left
|
|||
Geth | Raku-Steering-Council/main: 1186586459 | (Nick Logan)++ (committed using GitHub Web editor) | minutes/20220903.md Add RSC meeting minutes for 2022-09-03 |
01:17 | |
01:35
bigdata joined
01:45
razetime joined
02:45
greppable6 left,
nativecallable6 left,
linkable6 left,
unicodable6 left,
coverable6 left,
committable6 left,
tellable6 left,
quotable6 left,
bisectable6 left,
sourceable6 left,
evalable6 left,
statisfiable6 left,
shareable6 left,
benchable6 left,
bloatable6 left,
releasable6 left,
squashable6 left,
reportable6 left,
notable6 left
02:46
reportable6 joined,
unicodable6 joined,
statisfiable6 joined,
tellable6 joined
02:47
sourceable6 joined,
committable6 joined,
benchable6 joined,
evalable6 joined
02:48
greppable6 joined,
nativecallable6 joined,
releasable6 joined,
quotable6 joined,
notable6 joined,
coverable6 joined,
shareable6 joined,
squashable6 joined,
linkable6 joined,
bisectable6 joined,
bloatable6 joined
02:50
Kaiepi joined
03:50
reportable6 left,
greppable6 left,
quotable6 left,
shareable6 left,
nativecallable6 left,
squashable6 left,
bisectable6 left,
bloatable6 left,
statisfiable6 left,
committable6 left,
coverable6 left,
benchable6 left,
linkable6 left,
evalable6 left,
tellable6 left,
sourceable6 left,
releasable6 left,
unicodable6 left,
notable6 left,
sourceable6 joined
03:51
unicodable6 joined,
quotable6 joined,
nativecallable6 joined,
coverable6 joined,
benchable6 joined,
statisfiable6 joined
03:52
squashable6 joined,
greppable6 joined,
evalable6 joined,
bloatable6 joined,
bisectable6 joined,
linkable6 joined,
tellable6 joined
03:53
committable6 joined,
releasable6 joined,
shareable6 joined,
notable6 joined,
reportable6 joined
03:56
ioh joined
04:32
ioh left
04:42
frost joined
05:02
Colere left,
dutchie left,
timo left,
mexen_ left,
elcaro left,
tejr left,
destroycomputers left,
kaskal left,
sjn left,
phogg left,
tib left,
pierrot left,
dpk left,
rba left,
spacekookie left,
tadzik left,
andrea[m]1 left
05:03
bdju left,
[Coke] left,
ilogger2 left,
pjs_ left,
Woodi left,
lucs_ left,
ingy left,
Voldenet left,
Kaiepi left,
m_athias left,
vrurg left,
Matthew|m left,
rypervenche left,
corwin left,
samebchase left,
jast left,
samebchase- left,
daxim left,
pjlsergeant left,
CIAvash left,
AlexDaniel left,
crystalfrost[m] left,
japhb left,
ugexe left,
mjgardner left,
solitario left,
broquaint left,
Tirifto left,
sivoais left,
razetime left,
Sgeo left,
axmed99 left,
epony left,
JRaspass left,
HvszrStykp left,
Geth left,
lizmat left,
jjatria left,
gugod left,
oodani_ left,
gabiruh_ left,
Sevalecan left,
justache left,
djerius_ left,
_________ left,
silug left,
Scotteh left,
moritz left,
merpaderp left,
xkr47 left,
perlmaros left,
reportable6 left,
notable6 left,
shareable6 left,
committable6 left,
tellable6 left,
linkable6 left,
bisectable6 left,
evalable6 left,
squashable6 left,
benchable6 left,
nativecallable6 left,
unicodable6 left,
sourceable6 left,
p6steve left,
human_blip left,
ProperN[out] left,
andinus left,
DarthGandalf left,
samcv left,
ecocode left,
bd3i left,
renormalist left,
donpdonp|z_ left,
tobs left,
perryprog left,
coleman left,
dustinm` left,
hexology left,
greppable6 left,
tbrowder left,
Util left,
kybr left,
dg left,
amenonsen left,
sevvie left,
jdv left,
esh left,
releasable6 left,
bloatable6 left,
statisfiable6 left,
coverable6 left,
quotable6 left,
perlbot left,
MitarashiDango[m left,
tonyo left,
maettu left,
SmokeMachine left,
eof left,
Juerd left,
PotatoGim_ left,
synthmeat left,
dcx left,
goblin left,
patterner____ left,
frost left,
patterner____ joined,
eof joined,
dustinm` joined,
coleman joined,
goblin joined,
dcx joined,
hexology joined,
esh joined,
SmokeMachine joined,
perryprog joined,
sivoais joined,
Tirifto joined,
broquaint joined,
jdv joined,
solitario joined,
mjgardner joined,
sevvie joined,
tobs joined,
maettu joined,
donpdonp|z_ joined,
synthmeat joined,
renormalist joined,
bd3i joined,
ugexe joined,
tonyo joined,
samebchase- joined,
jast joined,
samebchase joined,
japhb joined,
ecocode joined,
amenonsen joined,
corwin joined,
samcv joined,
Voldenet joined,
DarthGandalf joined,
andinus joined,
lucs_ joined,
ingy joined,
Woodi joined,
pjs_ joined,
perlmaros joined,
xkr47 joined,
merpaderp joined,
moritz joined,
ilogger2 joined,
Scotteh joined,
silug joined,
[Coke] joined,
bdju joined,
_________ joined,
rypervenche joined,
djerius_ joined,
dutchie joined,
timo joined,
mexen_ joined,
elcaro joined,
tejr joined,
destroycomputers joined,
kaskal joined,
sjn joined,
phogg joined,
tib joined,
pierrot joined,
dpk joined,
rba joined,
spacekookie joined,
justache joined,
crystalfrost[m] joined,
andrea[m]1 joined,
tadzik joined,
MitarashiDango[m joined,
AlexDaniel joined,
CIAvash joined,
Matthew|m joined,
Colere joined,
Sevalecan joined,
gabiruh_ joined,
pjlsergeant joined,
ProperN[out] joined,
PotatoGim_ joined,
oodani_ joined,
human_blip joined,
Juerd joined,
gugod joined,
dg joined,
kybr joined,
jjatria joined,
Util joined,
lizmat joined,
Geth joined,
vrurg joined,
HvszrStykp joined,
JRaspass joined,
tbrowder joined,
daxim joined,
p6steve joined,
m_athias joined,
epony joined,
perlbot joined,
axmed99 joined,
Sgeo joined,
razetime joined,
Kaiepi joined,
sourceable6 joined,
unicodable6 joined,
quotable6 joined,
nativecallable6 joined,
coverable6 joined,
benchable6 joined,
statisfiable6 joined,
squashable6 joined,
greppable6 joined,
evalable6 joined,
bloatable6 joined,
bisectable6 joined,
linkable6 joined,
tellable6 joined,
committable6 joined,
releasable6 joined,
shareable6 joined,
notable6 joined,
reportable6 joined,
frost joined
05:05
frost left,
frost joined
05:06
Colere left,
dutchie left,
timo left,
mexen_ left,
elcaro left,
tejr left,
destroycomputers left,
kaskal left,
sjn left,
phogg left,
tib left,
pierrot left,
dpk left,
rba left,
spacekookie left
05:07
Colere joined,
dutchie joined,
timo joined,
mexen_ joined,
elcaro joined,
tejr joined,
destroycomputers joined,
kaskal joined,
sjn joined,
phogg joined,
tib joined,
pierrot joined,
dpk joined,
rba joined,
spacekookie joined,
tadzik left,
andrea[m]1 left,
bdju left,
[Coke] left,
ilogger2 left,
pjs_ left,
Woodi left,
lucs_ left,
ingy left,
Voldenet left
05:08
Kaiepi left,
m_athias left,
vrurg left,
Matthew|m left,
rypervenche left,
corwin left,
samebchase left,
jast left,
samebchase- left,
daxim left,
pjlsergeant left,
CIAvash left,
AlexDaniel left,
crystalfrost[m] left,
japhb left,
ugexe left,
mjgardner left,
solitario left,
broquaint left,
Tirifto left,
sivoais left
05:09
reportable6 left,
notable6 left,
shareable6 left,
committable6 left,
tellable6 left,
linkable6 left,
bisectable6 left,
evalable6 left,
squashable6 left,
benchable6 left,
nativecallable6 left,
unicodable6 left,
sourceable6 left,
p6steve left,
human_blip left,
ProperN[out] left,
andinus left,
DarthGandalf left,
samcv left,
ecocode left,
bd3i left,
renormalist left,
donpdonp|z_ left,
tobs left,
perryprog left,
coleman left,
dustinm` left,
hexology left
05:10
greppable6 left,
tbrowder left,
Util left,
kybr left,
dg left,
amenonsen left,
sevvie left,
jdv left,
esh left,
releasable6 left,
bloatable6 left,
statisfiable6 left,
coverable6 left,
quotable6 left,
perlbot left,
MitarashiDango[m left,
tonyo left,
maettu left,
SmokeMachine left,
eof left,
greppable6 joined,
tbrowder joined,
Util joined,
kybr joined,
dg joined,
amenonsen joined,
sevvie joined,
jdv joined,
esh joined,
releasable6 joined,
bloatable6 joined,
statisfiable6 joined,
coverable6 joined,
quotable6 joined,
perlbot joined,
MitarashiDango[m joined,
tonyo joined,
maettu joined,
SmokeMachine joined,
eof joined,
Juerd left,
PotatoGim_ left,
synthmeat left,
dcx left,
goblin left,
patterner____ left
05:11
tadzik left,
Juerd joined,
PotatoGim_ joined,
synthmeat joined,
dcx joined,
goblin joined,
patterner____ joined
05:12
Kaiepi joined,
m_athias joined,
vrurg joined,
rypervenche joined,
corwin joined,
samebchase joined,
jast joined,
samebchase- joined,
bdju joined,
[Coke] joined,
ilogger2 joined,
pjs_ joined,
Woodi joined,
ingy joined,
lucs_ joined,
Voldenet joined
05:13
squashable6 joined,
daxim joined,
pjlsergeant joined,
AlexDaniel joined,
japhb joined,
ugexe joined,
mjgardner joined,
solitario joined,
broquaint joined,
Tirifto joined,
sivoais joined,
razetime left,
Sgeo left,
axmed99 left,
epony left,
JRaspass left,
HvszrStykp left,
Geth left,
lizmat left,
jjatria left,
gugod left,
oodani_ left,
gabiruh_ left,
Sevalecan left,
justache left,
djerius_ left,
_________ left,
silug left,
Scotteh left,
moritz left,
merpaderp left,
xkr47 left,
perlmaros left,
ProperNoun joined,
hexology- joined,
reportable6 joined,
notable6 joined,
shareable6 joined,
committable6 joined,
tellable6 joined,
linkable6 joined,
bisectable6 joined,
evalable6 joined,
benchable6 joined,
nativecallable6 joined,
unicodable6 joined,
sourceable6 joined,
p6steve joined,
human_blip joined,
ProperN[out] joined,
andinus joined,
DarthGandalf joined,
samcv joined,
ecocode joined,
bd3i joined,
renormalist joined,
donpdonp|z_ joined,
tobs joined,
perryprog joined,
hexology joined,
coleman joined,
dustinm` joined,
hexology left,
DarthGandalf left,
ProperN[out] left,
Some-body_ joined
05:14
razetime joined,
Sgeo joined,
axmed99 joined,
epony joined,
JRaspass joined,
HvszrStykp joined,
Geth joined,
lizmat joined,
jjatria joined,
gugod joined,
oodani_ joined,
gabiruh_ joined,
Sevalecan joined,
justache joined,
djerius_ joined,
_________ joined,
silug joined,
Scotteh joined,
moritz joined,
merpaderp joined,
xkr47 joined,
perlmaros joined,
Geth left,
Geth__ joined
05:16
Some-body_ is now known as DarthGandalf
05:18
razetime left
05:19
AlexDaniel left,
MitarashiDango[m left
05:20
razetime joined
05:24
razetime left,
razetime joined
05:27
CIAvash joined
05:31
razetime left
05:32
razetime joined
05:54
andrea[m]1 joined
06:06
reportable6 left
06:07
reportable6 joined
06:37
AlexDaniel joined
06:49
crystalfrost[m] joined
07:08
discord-raku-bot left,
discord-raku-bot joined,
axmed99 left
07:18
Woodi left,
Woodi joined
07:24
MitarashiDango[m joined
07:29
tadzik joined
08:02
Matthew|m joined
08:10
razetime left
08:14
razetime joined
08:16
Sgeo left
08:19
razetime left
08:21
razetime joined
08:29
MoC joined
08:35
razetime left
08:36
razetime joined
08:42
razetime left
08:43
razetime joined
08:59
frost left
09:05
razetime left
09:06
razetime joined
09:11
razetime_ joined,
razetime left
09:37
epony left
09:38
frost joined
09:41
razetime joined,
razetime_ left
09:47
razetime left,
razetime joined
09:52
razetime left
09:55
razetime joined
10:03
razetime left
10:05
razetime joined
10:10
Xliff joined
10:11
epony joined
10:46
razetime left
10:47
razetime joined
11:04
Xliff left
|
|||
Geth__ | doc: mreitinger++ created pull request #4106: Update concurrency.pod6 |
11:35 | |
11:38
Geth__ left,
Geth joined
11:42
Geth left,
Geth joined
11:46
Geth left,
Geth joined
12:03
MoC left
12:07
reportable6 left
12:09
reportable6 joined
12:13
squashable6 left
12:15
squashable6 joined
12:35
razetime left
13:35
linkable6 left,
evalable6 left
13:36
evalable6 joined
13:37
linkable6 joined
|
|||
gfldex | lolibloggedalittle: gfldex.wordpress.com/2022/09/04/as...tionality/ | 13:53 | |
stevied | I'm seeing some really weird behavior: stackoverflow.com/questions/735996...5_73599629 | ||
anyone have any inkling on what the issue might be? | |||
probably has something to do with garbage collection maybe? | 14:07 | ||
14:19
perlbot left
14:21
perlbot joined
14:30
xinming left,
frost left
14:32
xinming joined
|
|||
nine | stevied: what happens when you set MVM_SPESH_DISABLE=1 ? | 14:36 | |
tellable6 | nine, I'll pass your message to stevied | ||
stevied | @nine, thanks, I'll give it a shot. | 14:38 | |
I discovered that if I get rid of the loop entirely and manually call the win api function, everything works perfectly. | 14:39 | ||
but let me try that magic setting there now | |||
nine: yup! that did the trick. holy cow. what does that tell us? | 14:47 | ||
nine | That there is a spesh or JIT bug :/ Can you please try again with MVM_JIT_DISABLE=1 instead of MVM_SPESH_DISABLE=1? | 14:48 | |
stevied | ok | 14:49 | |
give me a sec, not familiar with env variables in powershell | |||
14:53
axmed joined
|
|||
nine, with SPESH removed and JIT added to env, the problem has returned | 14:53 | ||
Nemokosch | > my &unique-char = { (once $str.comb.BagHash»--){$_}:!exists } | 14:57 | |
damn, it's still readable | |||
can we obfuscate it further? | 14:58 | ||
😄 | |||
stevied | nine should I report this bug? Is there any kind of workaround for my code that would make it work without the env variable setting? | 15:02 | |
nine I found a workaround | 15:27 | ||
If I move the RegEnumKeyExW from outside the loop and into the loop, it works perfectly. | 15:28 | ||
see stackoverflow.com/a/73600441/1641112 | 15:30 | ||
thanks for helping me troubleshoot this. was driving me crazy. | |||
ugexe | well if its a JIT issue you can only rely on that its worked around on your specific computer at this specific instance | 15:31 | |
15:34
p6steve left
16:00
andrea[m]1 left
16:02
MoC joined
|
|||
nine | It's a spesh issue and definitely worth reporting. | 16:03 | |
stevied | ok, thanks. will do | 16:42 | |
16:47
Sgeo joined
16:53
ProperNoun left
16:54
bigdata left,
ProperNoun joined
17:17
mexen_ left
17:19
epony left
17:20
epony joined
17:39
axmed left
18:06
reportable6 left,
reportable6 joined
18:42
euandreh left
18:43
euandreh joined
19:43
linkable6 left,
evalable6 left
19:44
linkable6 joined,
evalable6 joined
19:52
sena_kun joined
19:55
axmed joined
|
|||
Nemokosch | I saw something interesting | 20:51 | |
20:52
Nemokosch joined
|
|||
Nemokosch | . | 20:52 | |
tellable6 | 2022-09-02T18:08:24Z #raku <p6steve> nemokosch: I imagine something like this ... interesting | ||
Nemokosch | m: (1, 2) >>~>> ' ' <<~<< <a b c> andthen .raku.say | ||
camelia | ("1 a", "2 b", "1 c") | ||
Nemokosch | I don't mind that it works the way it does but it would be nice to know the reason | 20:53 | |
Nemokosch | m: (1, 2) >>~<< <a b c> | ||
camelia | Potential difficulties: Useless use of >>~<< in sink context at <tmp>:1 ------> (1, 2) ⏏>>~<< <a b c> Lists on either side of non-dwimmy hyperop of infix:<~> are not of the same length while recursing left: 2 elements, r… |
||
Nemokosch | so yeah, this wouldn't work, "non-dwimmy" and all | 20:54 | |
but "transitively" it did work | |||
20:55
Nemokosch left
|
|||
guifa | The arrows are one of those things I forget exactly how they work, even though I know there is a logic to them haha | 20:55 | |
21:01
Nemokosch joined
|
|||
Nemokosch | I can make it worse... | 21:01 | |
Nemokosch | m: (1, 2) <<~<< ' ' <<~<< <a b c> andthen .raku.say | ||
camelia | Lists on either side of non-dwimmy hyperop of infix:<~> are not of the same length while recursing left: 2 elements, right: 1 elements in block <unit> at <tmp> line 1 |
||
Nemokosch | could someone put it into words what happened here? | 21:05 | |
as opposed to the >>~>> ' ' <<~<< case | |||
21:16
MoC left
21:21
Nemokosch left
21:33
Xliff joined
22:21
sena_kun left
|
|||
gfldex | `(1, 2) <<~<< ' '` the LHS got 2 elements and the RHS 1. So the arrows point in the wrong direction. | 22:33 | |
22:43
Nemokosch joined
|
|||
Nemokosch | m: (1, 2) <<~<< ' ' andthen .say | 22:43 | |
camelia | Lists on either side of non-dwimmy hyperop of infix:<~> are not of the same length while recursing left: 2 elements, right: 1 elements in block <unit> at <tmp> line 1 |
||
Nemokosch | not exactly: | 22:45 | |
m: (1, 2) <<~<< (' ',) andthen .say | |||
camelia | (1 ) | ||
Nemokosch | Actually I wonder if there isn't an issue for stuff like `(1, 2) <<~<< ' '` to work | 22:46 | |
anyway, didn't buy the explanation, this is not about length | |||
gfldex | m: (1, 2) «~» ' ' andthen .say | 22:48 | |
camelia | (1 2 ) | ||
Nemokosch | the hyper meta-operator isn't documented too well, we already know that | 22:51 | |
> They apply a given operator enclosed (or preceded or followed, in the case of unary operators) by « and/or » to one or two lists, returning the resulting list, with the pointy part of « or » aimed at the shorter list. | 22:52 | ||
this is simply not true - you can aim towards the longer list as well and that also seems to have a pretty clear semantics | |||
the direction of the arrow determines the direction of the data flow, somewhat like with the feed operator | 22:54 | ||
> Single elements are turned to a list, so they can be used too. | 22:55 | ||
This is something that didn't happen in the first example: ' ' wasn't turned into a list, and if it were, the same call would have succeeded | |||
so two subsequent statements are wrong in two different ways: in the first case, the actual behavior is more reasonable than the docced behavior; in the second case, it's vice versa | |||
22:58
nopy joined
|
|||
nopy | hello. For C++ project I want to use a simpler, probably dynamic language to develop front-ends. Would you recommend Rakudo for that? | 22:59 | |
Previously I've used Python but that turned out to be a massive headache :( | 23:00 | ||
Nemokosch | hence the name, right? :D | ||
nopy | Python is easy, but it is a trap really | 23:01 | |
Nemokosch | Hi good sir. In fact, Rakudo is the name of the state-of-art Raku compiler, not the language itself. Also, I don't know why you struggled with Python as your scripting language - if it was too heavyweight, then I'm afraid Raku has no chance to be a better option | ||
nopy | It wasn't too heavy weight. But a ton of little problems needed hacks and that is just a massive time sink | 23:03 | |
Like little GUI freezes because of the GIL that is really hard to work around | |||
gfldex | C++ bindings are not well supported by NativeCall. You may end up with C-shims. If that is fine for you, Rakudo might be worth a shot. | 23:04 | |
nopy | where you have to call into C, unlock the GIL, do the threading in C, call from C back to python and so on | ||
I've seen that already and I don't think that would be a problem. | 23:05 | ||
Are there any good GUI bindings available? | 23:06 | ||
gfldex | see: raku.land/?q=gnome | 23:08 | |
Nemokosch | Leon had that interesting idea about integrating with Gnome objects... | 23:12 | |
now we know one person who would be interested :D | |||
nopy | ty | 23:14 | |
Can Rakudo be embedded? | 23:15 | ||
nvm. just seen the moarvm code ^^ | 23:16 | ||
the gtk bindings are really good and comprehensive. wow | 23:23 | ||
guifa | That's mostly all Xliff's work, IIRC. EXtremely thorough work | 23:24 | |
nopy | how can pass around integer arrays of sizes non-native to raku like int16_t* ? | 23:26 | |
ugexe | Detected: Program:Win32/Bearfoos.B!ml, Affected items: C:\rakubrew\bin\rakubrew.exe | 23:41 | |
heh | |||
23:58
evalable6 left,
linkable6 left
|
|||
nopy | is it normal that rakudo is that ram/cpu intensive? | 23:58 | |
23:59
linkable6 joined
|
|||
nopy | my html/JS front-end has about ~20k LOC. I generated a raku script with 20k LOC but that eats 800 MB ram and takes 20 secs to parse. | 23:59 |