This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html Set by lizmat on 8 June 2022. |
|||
00:20
habere-et-disper left
05:25
habere-et-disper joined
05:43
habere-et-disper left
07:46
soverysour joined,
soverysour left,
soverysour joined
07:50
soverysour left
|
|||
disbot2 | <ng0177> So I did: zef install WWW::LLaMA and downloaded Mistral-7B-Instruct-v0.3.Q4_0.llamafile Two question: I need to always start up mistral server on CLI before running the notebook? A second question is how to make use of the GPU (Nvidia) which happens on the command line by -ngl 999 Thanks | 11:13 | |
<antononcube> 1) Yes. 2) I am not sure — I think I have seen that “kick in” when making / using embeddings. | 11:49 | ||
12:23
jmcgnh left
12:25
jmcgnh_ joined
12:27
jmcgnh_ is now known as jmcgnh
|
|||
disbot2 | <librasteve> (how) can I apply a predeclared sig in a sub... | 15:31 | |
<librasteve> m: my $sig = :(Int $x); sub fn($sig) {say $x}; fn 42; | |||
<Raku eval> Exit code: 1 ===SORRY!=== Error while compiling /home/glot/main.raku Variable '$x' is not declared. Perhaps you forgot a 'sub' if this was intended to be part of a signature? at /home/glot/main.raku:1 ------> my $sig = :(Int $x); sub fn($sig) {say ⏏$x}; fn 42; | |||
<librasteve> m: my $sig = :(Int $x); sub fn(|$sig) {say $x}; fn 42; | 15:32 | ||
<Raku eval> Exit code: 1 ===SORRY!=== Error while compiling /home/glot/main.raku Obsolete use of | or \ with sigil on param $sig at /home/glot/main.raku:1 ------> my $sig = :(Int $x); sub fn(|$sig⏏) {say $x}; fn 42; expecting any of: shape declaration | |||
15:32
soverysour joined,
soverysour left,
soverysour joined
|
|||
timo | you can't do that without some kind of construct that does compilation | 15:32 | |
disbot2 | <librasteve> timo: tx ... guess the error led me to think that there is a non-obsolete use ;-) | 15:33 | |
15:41
soverysour left
|
|||
ab5tract | This could be considered an LTA, I think | 15:44 | |
16:01
habere-et-disper joined
|
|||
timo | well, there's not really a syntax you could even write in your `sub bla(*here*)` that would not be a variable *declaration*, which are on purpose not able to be influenced by the values of outer variables with the same name | 16:02 | |
16:22
soverysour joined
|
|||
ab5tract | My thought was that we should have enough knowledge to know what the user is trying to do, so we could provide more specific feedback here | 16:26 | |
16:27
soverysour left
16:34
habere-et-disper left
16:38
soverysour joined,
soverysour left,
soverysour joined
|
|||
timo | ah | 16:40 | |
16:43
soverysour left
17:06
soverysour joined
17:12
soverysour left
17:23
soverysour joined
18:25
soverysour left
19:50
habere-et-disper joined
21:10
habere-et-disper left
21:11
ACfromTX left
|