🦋 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. |
|||
01:02
Guest93 joined
01:25
Guest93 left
01:28
Guest42 joined
01:35
Guest42 left
02:30
hulk joined,
kylese left
03:15
hulk left,
kylese joined
03:31
zetaaaa left
04:57
dutchie__ joined
05:01
dutchie left
05:03
dutchie__ is now known as dutchie
05:18
guifa left
05:50
Aedil joined
06:07
Aedil left
06:11
Aedil joined
06:22
ACfromTX left
06:42
sjn left
07:18
ACfromTX joined
|
|||
Geth | App-Rakubrew/init-clarifications: 701cdf9ac2 | (Patrick Böker)++ | 4 files Hopefully improve PowerShell detection |
08:32 | |
App-Rakubrew/init-clarifications: c0d25d95ca | (Patrick Böker)++ | 2 files Tell users which shell hooks are available during init |
|||
09:02
dakkar joined
|
|||
Geth | App-Rakubrew/main: 701cdf9ac2 | (Patrick Böker)++ | 4 files Hopefully improve PowerShell detection |
09:04 | |
App-Rakubrew/main: 296f866254 | (Patrick Böker)++ | 3 files Tell users which shell hooks are available during init |
|||
App-Rakubrew/main: af1d248e83 | (Patrick Böker)++ | 3 files Version 42 |
09:05 | ||
09:07
Sgeo left
09:24
sjn joined
09:30
dakkar left
10:19
sena_kun joined
13:06
guifa joined
13:12
Xliff left
13:26
guifa left
13:31
dmvrtx left,
dmvrtx_ joined
13:32
sftp left,
constxd left,
guifa joined,
constxd joined,
El_Che left
13:34
sftp joined,
El_Che joined
|
|||
SmokeMachine | Have anyone here ever player with eventsource/cqrs in raku? | 13:55 | |
s/player/played/ | 13:56 | ||
antononcube | I looked up "eventsource" -- haven't used it ever. | 14:06 | |
jdv | nope. in general, yes. | 14:09 | |
SmokeMachine | I’ve been planing writing some kind of “Durable Object” using event source and raku… but it would be so many classes for the commands and the events… than I had an idea I don’t know if genius or just stupid… | 14:11 | |
github.com/FCO/Entity | 14:13 | ||
When I run the example on README, this is the output: usercontent.irccloud-cdn.com/file/...641793.JPG | 14:16 | ||
librasteve | i’m pretty sure cro offers a set of supply connectors - would be cool to run your supplies over that | 14:17 | |
14:17
dutchie left
|
|||
SmokeMachine | But the idea is to define all the commands and events as methods inside the entity class… that way, you can define your whole eventsource in a single class… | 14:17 | |
librasteve | ok - sorry | 14:18 | |
SmokeMachine | librasteve: that module (if I continue playing with that) I plan to be generic to be able to use snitching with that… | 14:19 | |
But the “durable object” I plan to write, I’ll be probably using NATS (github.com/FCO/nats.raku) | 14:20 | ||
14:20
msiism joined
|
|||
SmokeMachine | Is the idea of using a single class to define entity, commands and events a good idea? | 14:22 | |
msiism | lizmat: Re: REPL commands conflicting with actual code. I didn't know this was a problem. And now I'm wondering whether it has to be. | 14:23 | |
I mean, in a (Unix) system shell, for example, there's no such divide, as far as I can see. | 14:24 | ||
librasteve | good … i noticed that nats is a cool model some time ago and great to see it is in your plans | 14:25 | |
timo | "real" commands can always be addressed by their full file path, subs in raku can be addressed with their &name, i think terms with &term:<blah> as well | 14:28 | |
the current implementation of the repl-only commands is to only run the repl-command if there's an error from trying to run it? maybe only when it's a "no such name" or so | 14:29 | ||
SmokeMachine | jdv: what do you think of that? | 14:30 | |
librasteve | back to my previous point i also noticed (some time ago… so maybe i’m hallucinating) that cro pipeline nodes can be assigned to separate microservices nodes and that cro provides a simple method to wire up these links … but that’s currently a wild guess and i would need to dig back in to be sure | 14:31 | |
&afk :-( | |||
timo | librasteve, look at the "cro web" tool and the "cro stub" command for that i think | 14:32 | |
> links-and-options specifies links to other services that should be added to the stub, together with options specific to the service type | 14:34 | ||
cro.raku.org/docs/cro-tool | |||
14:39
Sgeo joined
|
|||
timo | cro.raku.org/docs/cro-tool#Working...vice_links the more relevant portion, probably | 14:45 | |
14:46
[Coke] left
14:54
bartolin left
15:00
sftp left,
constxd left,
tjr left,
broquaint left,
sivoais left,
tadzik left,
hudo__ left,
bisectable6 left,
Voldenet left,
BooK left,
simcop2387 left,
linkable6 left,
unicodable6 left,
notable6 left,
sourceable6 left,
greppable6 left,
benchable6 left,
dustinm` left,
Guest6873 left,
bdju left,
human-blip left,
kjp left,
hvxgr left,
sorenson left,
gfldex left,
bloatable6 left,
coverable6 left,
Ekho left,
ryoskzypu left,
avar left,
mst left,
synthmeat left,
mtj left,
swaggboi left,
vrurg left,
grondilu left,
kst left
15:01
discord-raku-bot left,
gordonfish left,
tib left,
bd3i left,
El_Che left,
nicole left,
avuserow left,
samebchase left,
rjbs left,
corwin left,
jast left,
leedo left,
ab5tract left,
jjatria left,
leont left,
jetchisel left,
ugexe left,
ecocode left,
eseyman left,
dg left,
ilogger2 left,
jcallen left,
guifa left,
dmvrtx_ left,
nine left,
topnep left,
dutchie_ left,
xinming left,
tailgate left,
qesat60 left,
PotatoGim left,
dano left,
zups left,
dfarnsworth left,
xelxebar left,
perryprog left,
SmokeMachine left,
ky left,
Aedil left,
acidsys left,
leah2 left,
skaji__ left,
DarthGandalf left,
patrickb left,
atweedie left,
tobs left,
esh left,
jdv left,
phogg left,
xkr47 left,
sjn left,
ACfromTX left,
snonux left,
Sevalecan left,
committable6 left,
releasable6 left,
quotable6 left,
thatonelutenist left,
m6locks left,
greenfork left,
andinus left,
tbrowder left,
tonyo left,
drakonis left,
gugod left,
slu left,
merp left,
dpk left,
camelia left,
eof left,
rba left,
GreaseMonkey left,
BinGOs left,
Altreus left,
thaewrapt left,
timo left,
coleman left,
nativecallable6 left,
tellable6 left,
evalable6 left,
shareable6 left,
tinita left,
msiism left,
kylese left,
oodani left,
Tirifto left,
perlbot left,
inspork left,
destroycomputers left,
toddr left,
ingy left,
zostay left,
JRaspass left,
sena_kun left,
elcaro left,
gabiruh left,
nil78 left,
japhb left,
maylay left,
thowe left,
lucs left,
peder left,
charsbar left
15:06
bartolin_ joined,
[Coke] joined,
msiism joined,
El_Che joined,
sftp joined,
constxd joined,
guifa joined,
dmvrtx_ joined,
sena_kun joined,
sjn joined,
ACfromTX joined,
Aedil joined,
kylese joined,
tjr joined,
ryoskzypu joined,
bdju joined,
ecocode joined,
elcaro joined,
broquaint joined,
sivoais joined,
tadzik joined,
avar joined,
mst joined,
gabiruh joined,
hudo__ joined,
human-blip joined,
kjp joined,
eseyman joined,
bisectable6 joined,
synthmeat joined,
mtj joined,
qesat60 joined,
nil78 joined,
hvxgr joined,
merp joined,
nine joined,
oodani joined,
dpk joined,
snonux joined,
Voldenet joined,
Tirifto joined,
slu joined,
gugod joined,
Sevalecan joined,
timo joined,
nicole joined,
sorenson joined,
Ekho joined,
coverable6 joined,
bloatable6 joined,
gfldex joined,
dg joined,
topnep joined,
japhb joined,
camelia joined,
BooK joined,
dutchie_ joined,
perlbot joined,
simcop2387 joined,
avuserow joined,
vrurg joined,
xinming joined,
eof joined,
grondilu joined,
samebchase joined,
coleman joined,
nativecallable6 joined,
committable6 joined,
linkable6 joined,
unicodable6 joined,
tellable6 joined,
evalable6 joined,
releasable6 joined,
notable6 joined,
sourceable6 joined,
greppable6 joined,
benchable6 joined,
quotable6 joined,
shareable6 joined,
dustinm` joined,
thatonelutenist joined,
maylay joined,
acidsys joined,
PotatoGim joined,
kst joined,
rba joined,
rjbs joined,
leah2 joined,
m6locks joined,
thaewrapt joined,
Altreus joined,
BinGOs joined,
GreaseMonkey joined,
Guest6873 joined,
inspork joined,
dano joined,
corwin joined,
thowe joined,
lucs joined,
skaji__ joined,
DarthGandalf joined,
jast joined,
tinita joined,
patrickb joined,
greenfork joined,
atweedie joined,
discord-raku-bot joined,
ilogger2 joined,
tobs joined,
peder joined,
charsbar joined,
destroycomputers joined,
JRaspass joined,
zostay joined,
ingy joined,
toddr joined,
andinus joined,
tbrowder joined,
tonyo joined,
drakonis joined,
esh joined,
jdv joined,
phogg joined,
xkr47 joined,
zups joined,
dfarnsworth joined,
xelxebar joined,
perryprog joined,
SmokeMachine joined,
ky joined,
tailgate joined,
jcallen joined,
leedo joined,
ab5tract joined,
jjatria joined,
leont joined,
jetchisel joined,
ugexe joined,
gordonfish joined,
tib joined,
bd3i joined,
jmcgnh left,
hudo left
15:07
hudo joined
|
|||
[Coke] | guifa: thanks | 15:14 | |
15:19
Xliff joined
|
|||
Xliff | m: sub a (*@a) { my $a = -> (*@a) { return 42 }; $a(|@a) }; a() | 15:19 | |
camelia | Too few positionals passed to '<anon>'; expected 1 argument but got 0 in sub a at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
Xliff | m: sub a (*@a) { my $a = -> (*@a) { return 42 }; $a/(|@a) }; a() | 15:20 | |
camelia | Cannot resolve caller Numeric(Block:D: ); none of these signatures matches: (Mu:U \v:: *%_) in sub a at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
Xliff | m: sub a (*@a) { my $a = -> (*@a) { return 42 }; $a.(|@a) }; a() | ||
camelia | Too few positionals passed to '<anon>'; expected 1 argument but got 0 in sub a at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
15:20
jmcgnh joined
|
|||
Xliff | m: sub a (*@a) { my $a = -> *@a { return 42 }; $a.(|@a) }; a() | 15:20 | |
camelia | ( no output ) | ||
Xliff | m: sub a (*@a) { my $a = -> *@a { return 42 }; $a.(|@a) }; a().say | ||
camelia | 42 | ||
Xliff | Huh! Good morning! :) | ||
antononcube | @guifa Second round of "call for papers" for TPRC-2025 ? | 15:31 | |
librasteve | timo: yes that’s right - thanks for the pointer - my conjecture is that somehow this could be wired up with NATS | 16:10 | |
16:18
sena_kun left
16:20
sena_kun joined
|
|||
timo | i haven't looked yet what nats is | 16:30 | |
16:39
melezhik joined,
melezhik left
16:40
melezhik joined,
melezhik left,
melezhik joined,
melezhik left
16:41
melezhik joined
16:42
melezhik left
16:46
melezhik joined
|
|||
melezhik | . | 16:46 | |
I’ve released a new sparrow plugin to search within a source code | 16:48 | ||
sparrowhub.io/plugin/find/0.000007 | |||
It’s available in the latest Tomtit version cia “code” profile - github.com/melezhik/Tomtit?tab=rea...e#profiles | 16:49 | ||
Maybe someone would find it usefull | |||
16:52
melezhik left
17:10
msiism left
17:18
swaggboi joined
17:21
yewscion joined
17:22
yewscion left
17:24
yewscion joined
|
|||
SmokeMachine | librasteve: I’m not sure… it seems to me that those links should be HTTP… | 17:26 | |
timo: nats.io/ | 17:31 | ||
librasteve | nats says it’s “pseudo-sockets” and cro has websockets afaiui … i’m not saying that these will talk without some adaptation (maybe something like cro zeromq sockets), just that cro links hook up a set of microservices and that seems to me to be what nats does… anyway just a wild eyed ear | 17:38 | |
timo | looks like nats supports being used over TCP, MQTT, or WebSockets | 17:42 | |
so NATS is kind of like a pub/sub message broker where you set up any amount of nats servers that are interconnected to behave as one thing and then you have clients that can send and/or receive stuff | 17:43 | ||
SmokeMachine | Yes, it does… nots clients keep connected to the Nats clusters using tcp… but the communication between nodes are done using subjected, rather than ip/port… the link should be the subject… | 17:44 | |
timo | plus you can turn on this "JetStream" option which will keep data around so you can have "guaranteed to give this message to everyone interested in it, whether or not they are currently listening" | 17:45 | |
SmokeMachine | Yes… | ||
timo | ok subject based addressing is kind of equivalent to mqtt topics | ||
SmokeMachine | I’ve been writing this github.com/FCO/nats.raku, but it has no jet stream support yet… | 17:46 | |
timo | except i don't think mqtt has something to make request / response simple, it's kind of silly there | 17:47 | |
SmokeMachine | Kinda equivalente because of the wildcards… | ||
timo | and these queue groups sounds a little like what you have in kafka? where multiple consumers can take messages and every message goes to only one | 17:48 | |
there's an equivalent for that in zmq as well | |||
for request/response as well | |||
SmokeMachine | Yes, but you don’t need a zookeeper to stroke the index… | ||
timo | and zmq also has publish/subscribe, but it's been a long time since i last looked at that | ||
yeah you don't need a zookeeper, you have to explicitly introduce the nats servers to each other instead i assume? | 17:49 | ||
probably through something like etcd? | |||
SmokeMachine | I think they use gossip protocol… but o read about that so long ago I’m not sure anymore… | 17:50 | |
docs.nats.io/running-a-nats-servic...clustering | 17:52 | ||
timo | oh? the clients have to connect to a server in every cluster if you have superclusters? | 17:54 | |
i'm just a little out of my depth here though | |||
librasteve | not as far out of depth as I am ;-) | 18:08 | |
18:52
lizmat_ joined
18:56
lizmat left,
lizmat_ left,
lizmat joined
19:10
yewscion left
19:29
yewscion joined
19:38
ryoskzypu left
19:49
grondilu left
20:01
lizmat_ joined
20:04
lizmat left
20:05
lizmat_ left,
lizmat joined
20:17
ChanServ sets mode: -o [Coke]
20:25
melezhik joined
|
|||
melezhik | weekly: dev.to/melezhik/simple-find-in-sou...parrow-312 | 20:25 | |
notable6 | melezhik, Noted! (weekly) | ||
20:32
melezhik left
|
|||
[Coke] | is there a way to tell dev.to I never want to see that popup again? | 20:42 | |
(Guess this is how people feel about the popup on the docs site.) | 20:43 | ||
tbrowder | .ask util any kind of zoom or other remote access to the raku conf for a paid ticket? | 20:53 | |
tellable6 | tbrowder, I'll pass your message to Util | 20:54 | |
20:55
Aedil left
21:15
ryoskzypu joined
21:25
LainExperiments joined
21:29
Sgeo left,
Sgeo_ joined
|
|||
coleman | NATS is awesome. Never used the Jetstream bits, just the core protocol, though. | 21:36 | |
[Coke] | repl routine very handy. Working on something where I want to play around but have a few subs that do real work, very easy to define a buch of helpers and have the .raku call out to the repl for me to play | 21:45 | |
22:10
kjp left
22:12
kjp joined,
kjp left
22:13
kjp joined
22:15
yewscion left
22:39
sftp left
22:42
sftp joined
22:43
everynametaken joined
22:48
everynametaken left
|
|||
guifa | antononcube: correct, they've got some good ones but for instance I submitted three talks. They (and I) would much rather another Raku speaker or two than to hear me three times over ha | 22:51 | |
23:01
yewscion joined
23:04
yewscion left
|