š¦ Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku Set by ChanServ on 14 October 2019. |
|||
00:03
aindilis joined
00:05
abraxxa joined
00:13
sxmx joined
01:00
guifa2 joined
01:06
guifa2 left
01:22
Xliff left
01:31
bdju joined
01:43
sena_kun joined
02:14
abraxxa left
02:15
guifa2 joined
02:17
abraxxa joined
02:37
kvw_5_ joined
03:10
HarmtH_ joined
03:11
HarmtH left
03:31
dustinm` left
03:39
muffindrake left
03:41
muffindrake joined
03:44
andinus joined
03:51
vike left
03:52
dustinm` joined
04:01
vike joined
04:03
moony joined
04:19
guifa2 left
04:43
xinming joined
04:54
vrurg left
04:55
vrurg joined
04:58
vike left
05:01
moony left
05:05
moony joined
05:48
wamba joined
05:53
sno joined
06:35
frost-lab joined
06:36
DiffieHellman joined
06:52
jmerelo joined
07:06
skaji_ joined
07:07
jhill joined
07:31
ggoebel joined
07:35
Sgeo left
07:36
abraxxa left
07:37
synthmeat left
07:39
abraxxa joined
07:40
synthmeat joined
07:41
synthmeat left
07:48
domidumont joined,
ufobat_ joined
08:07
judd7 joined
08:11
domidumont left
08:18
pecastro joined
08:26
defaultxr joined
08:47
tealecloud joined
08:55
wamba left,
wamba joined
08:59
patrickb joined
09:07
judd7 left,
rindolf joined
09:29
frost-lab left,
frost-lab joined
09:53
synthmeat joined
09:58
benkolera joined,
berber44 joined
10:04
sena_kun left
10:06
frost-lab left
10:08
sena_kun joined
10:32
domidumont joined
10:44
ufobat_ left
11:08
wamba left
11:14
PimDaniel joined
|
|||
PimDaniel | o/ | 11:14 | |
Is there a faster way to return the indice of a first value found into an array. | 11:15 | ||
11:17
JJAtria[m] left
|
|||
PimDaniel | my @a =<3,7,6,12,9,6,6,6> ; say first_indice_for(6) --> 2 | 11:17 | |
lizmat | m: say (3,7,6,12,9,6,6,6).first(6, :k) | ||
camelia | 2 | ||
PimDaniel | say first_indice_for(6,@a) --> 2 : i need to mention the array of course. | ||
lizmat | m: my @ = 3,7,6,12,9,6,6,6; say @a.first(6, :k) | 11:18 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Variable '@a' is not declared at <tmp>:1 ------> 3my @ = 3,7,6,12,9,6,6,6; say 7ā5@a.first(6, :k) |
||
lizmat | m: my @a = 3,7,6,12,9,6,6,6; say @a.first(6, :k) | ||
camelia | 2 | ||
PimDaniel lizmat thank's! | 11:19 | ||
but what is :k ? | |||
Ha ok: means keys i suppose. | 11:21 | ||
11:21
JJAtria[m] joined
11:27
PimDaniel left
11:34
pmurias joined
|
|||
lizmat | m: my @a = 3,7,6,12,9,6,6,6; say @a.first(6, :k, :end) # for the record: from the other end | 11:35 | |
camelia | 7 | ||
pmurias | hi | 11:36 | |
lizmat | pmurias o/ | ||
pmurias | how are things in Rakuland? Anything particularly exiting happening in the last year? | 11:37 | |
11:38
wamba joined
11:40
abraxxa left
|
|||
lizmat | wow, where to start ? | 11:40 | |
patrickb | Well there are the two jnthn projects: RakuAST and the dispatcher rewrite. | ||
lizmat | and there's MUGS | ||
cool new Comma and Cro features | 11:41 | ||
patrickb | Apart from that, less bugs, more performance, more users. | ||
:-) | |||
lizmat | /r/rakulang crossed the 666 Rakoons mark at Christmas 2020, is now at 799 | ||
pmurias: if you really want get up to date, you can look at rakudoweekly.blog/blog-feed/ | 11:42 | ||
patrickb | there is a new ecosystem: fez. | ||
lizmat | there a Steering Council | 11:43 | |
patrickb | and a new module website: raku.land | ||
right, the RSC is a big thing that happened. | |||
11:52
Black_Ribbon left
12:04
JJAtria[m] left
12:12
benkolera left
12:15
asymptotically joined,
asymptotically left
|
|||
pmurias | patrickb: how is the number of users tracked? | 12:16 | |
patrickb | It isn't. Just my gut feeling | 12:17 | |
12:17
asymptotically joined
|
|||
MasterDuke | someone with a HN account could plug raku here news.ycombinator.com/item?id=26580366 | 12:25 | |
12:30
PimDaniel joined
12:32
PimDaniel left
12:39
jmerelo left
12:40
pmurias left
12:57
__jrjsmrtn__ joined
13:21
b2gills joined
14:03
parabolize joined
14:20
wingfold left,
wingfold joined
14:30
pmurias joined
|
|||
pmurias | lizmat: I look at the weekly sometimes but was curious about the momentum/direction of the language | 14:32 | |
It's good to see jnthn back | 14:33 | ||
leont really wishes he hadn't missed jnthn's presentation about Cro, I kind of needed it right now. | 14:35 | ||
Is my understanding correct that Cro is build for network protocols that have a request/response paradigm? | 14:36 | ||
(At least that's the case with all examples I've seen so far) | |||
MasterDuke | pmurias: oh hey, just the person i was looking for! | ||
i was trying to build the nqp js backend to test github.com/Raku/nqp/pull/706 but it wasn't building. however, it didn't seem to me like the errors i was seeing would have been caused by my changes | 14:38 | ||
14:39
pmurias left
|
|||
vrurg | leont: not only. There is also ZMQ module with support for at least pub/sub. | 14:41 | |
leont: Cro implements reactive model, that'd be the most correct way to say. | |||
14:44
raiph joined
14:46
pmurias joined,
Sgeo joined
|
|||
patrickb | weekly: dev.to/patrickbkr/hi-and-an-introd...i-bot-3p3g | 14:46 | |
notable6 | patrickb, Noted! (weekly) | ||
pmurias | MasterDuke: I think the js backend has bitrotted | 14:47 | |
I am waiting for a train atm, but I haven't really maintained it recently | 14:48 | ||
MasterDuke | ok, then i'll continue with the assumption that my changes didn't break anything | 14:52 | |
pmurias: i see tons of graalvm/truffle news and hope the truffle backend makes more progress at some point, i just keep getting sidetracked by other projects | 14:55 | ||
14:57
pmurias left
15:30
rba joined
15:31
camelia left
|
|||
leont | vrurg: thanks. I'll look some more at that. It's quite a complex model though. | 15:33 | |
15:47
pmurias joined
|
|||
pmurias | Masterduke | 15:47 | |
MasterDuke: I sometimes think about getting back to work on the truffle backend but it needs a not small about of work to get it to work with the new graalvm version | 15:49 | ||
15:49
camelia joined
|
|||
pmurias | And I am distracted with the newish work and have been kind of depressed often last year so I don't get as much stuff done as I wish for | 15:50 | |
15:55
wamba left
15:56
wamba joined
|
|||
MasterDuke | pmurias: well, hopefully at least you're enjoying the work | 15:57 | |
i once tried to rebase the truffle branch up to master, but there were some conflicts i couldn't easily figure out how to resolve and i lost steam | 15:58 | ||
16:00
pmurias left
|
|||
sena_kun | patrickb++ | 16:02 | |
16:07
pmurias joined
16:08
pmurias left
16:13
raiph left
16:25
ufobat_ joined
16:37
silug joined
16:39
ufobat_ left
16:50
ggoebel left
17:05
sno left
17:14
pmurias joined
|
|||
pmurias | MasterDuke: the work is ok, but it's just writing an ui in typescript (For Data Catalog that's part of Google Cloud) | 17:15 | |
17:19
wamba left
|
|||
tbrowder | hi, folks, just been bitten by / vs div for integer division | 17:22 | |
is there any way to have Raku warn of situation where both operands are Int and the operator is '/' instead of 'div'? | 17:23 | ||
i looked at doc 'traps' but didn't see anything... | 17:24 | ||
17:25
pmurias left
|
|||
tbrowder | i was porting C++ code and i think i recall tha C++ overloads the '/' operator to do the same as our 'div' (at least my tests imply that). | 17:26 | |
japhb | tbrowder: I wouldn't want that warning by default, because I often want the Rat path for that. | 17:29 | |
tbrowder | good point! and the Rats are a big plus for our cool Raku! | 17:30 | |
a compiler flag might be the answer | |||
japhb | leont: I use a combination of Request/Response and Server-Push paradigms with Cro in MUGS (github.com/Raku-MUGS). I also use it at two layers: to serve client/server messaging using WebSocket, and to serve HTML/CSS as one of the available UI options. | 17:31 | |
tbrowder | i think it should be mentioned in doc 'traps' | ||
japhb | tbrowder: Seems reasonable from the point of view of "people coming from other languages won't expect Doing The Right Thing By Default". :-) | 17:32 | |
tbrowder | yep, and i am doing a lot of porting C++ at the moment... | 17:33 | |
17:52
domidumont left
17:57
mercury__ joined
18:18
mercury__ left
|
|||
MasterDuke | pmurias: let me know when you're back on the graalvm/truffle and i'll see what i can do to help out | 18:29 | |
tellable6 | MasterDuke, I'll pass your message to pmurias | ||
18:44
abraxxa joined
18:48
abraxxa left
19:33
wamba joined
19:49
rindolf left
20:17
Black_Ribbon joined
20:27
berber44 left
20:43
mowcat joined
20:46
gordonfish- joined,
gordonfish- left,
gordonfish- joined,
gordonfish left,
gordonfish- is now known as gordonfish
20:52
vrurg left
20:54
sena_kun left
20:55
moony left
20:58
moony joined
21:02
vrurg joined
21:17
tealecloud left
21:37
brtastic joined
21:58
patrickb left
22:41
brtastic left
23:29
wamba left
|