00:23
Guest96 joined,
Guest96 left
00:39
yewscion joined
00:44
yewscion left
|
|||
ugexe | i usually have a test called t/00-load.rakutest in all my distributions that basically do the first thing i showed with use-ok, and in those cases you could just do `raku -I. t/00-load.rakutest` | 00:50 | |
tonyo | ++ | 01:45 | |
02:20
kylese left,
hulk joined
03:12
yewscion joined
03:15
hulk left,
kylese joined
03:16
yewscion left
03:22
yewscion joined
03:27
yewscion left
03:30
kylese left
03:34
kylese joined
05:55
ACfromTX left
05:56
ACfromTX joined,
Sgeo left
06:01
Sgeo joined
06:54
ulipink joined,
ulipink left,
ulipink joined
08:00
guifa left
08:26
Aedil joined
08:29
Aedil left
08:35
Aedil joined
08:44
yewscion joined
08:49
yewscion left
|
|||
xinming | ugexe: Thanks for the hint, Yea, I do feel that the 'find' sollution is not right. So I asked here. | 09:38 | |
09:50
sena_kun joined
10:47
jpn joined
11:45
Sgeo left
11:52
MoC joined
|
|||
tbrowder | for those using vscode: which raku addon do you use? | 12:03 | |
12:09
jpn left
12:12
yewscion joined
12:17
yewscion left
|
|||
lizmat | weekly: dev.to/lizmat/test-coverage-in-practice-n10 | 12:44 | |
notable6 | lizmat, Noted! (weekly) | ||
12:44
yewscion joined
12:49
yewscion left
12:55
jpn joined
13:01
jpn left
13:08
sena_kun left
13:11
sena_kun joined
13:27
jpn joined
13:32
jpn left
13:35
yewscion joined
13:40
yewscion left
13:47
ulipink left
13:59
jpn joined
14:03
guifa joined,
yewscion joined
14:04
jpn left
14:08
yewscion left
14:17
ulipink joined
14:21
jpn joined
14:23
ulipink left
14:26
jpn left
14:42
jpn joined
14:47
jpn left
|
|||
librasteve | I am enjoying Raku Plugin & Jupyter::Chatbook in IntelliJ... | 14:52 | |
14:55
jpn joined
15:00
ulipink joined
15:04
yewscion joined,
ulipink left
15:09
yewscion left
15:12
yewscion joined
15:19
yewscion left
|
|||
[Coke] | question: Regarding moving from a raku module to using curl to grab some data - is there a cross platform way to specify a dep on curl in the Meta? I could put it in build easily enough to die if it's not present, but that's not as good | 15:22 | |
github.com/Raku/doc/issues/4509 | |||
(also we don't install raku/doc anymore, so the build isn't called there anyway) | |||
lizmat | something with "bin" if I recall correctly | 15:23 | |
github.com/niner/Inline-Perl5/blob...6.json#L13 has an example I believe | 15:24 | ||
15:34
ulipink joined
15:52
ulipink left
|
|||
antononcube | @librasteve I use Jupyter in VSCode becauase of the visualizations with "JavaScripdt::D3". In IntelliJ visualizations with "JavaScripdt::Google::Charts" can be used. | 16:14 | |
Here is an example: | 16:15 | ||
cdn.discordapp.com/attachments/633...ff202& | |||
16:21
yewscion joined
|
|||
I have mentioned this before -- if I figured out that Google Charts existed I might have not implemented "JavaScripdt::D3". At least to the such degree as it currently is. | 16:23 | ||
From another hand, D3.js is much more flexible (and lower level) and "JavaScripdt::D3" can be much more attuned to my taste. (Or, preferably, Raku-programmers tastes.) | 16:24 | ||
16:26
yewscion left
|
|||
"JavaScripdt::Google::Charts" is programmed in a very "hands off" manner -- the Raku invocations delegate to Google Charts as quickly was possible, using Google Charts' pre-canned functions (with very comprehensive options.) | 16:30 | ||
16:36
ulipink joined,
ulipink left,
ulipink joined
16:41
ulipink left
16:53
yewscion joined
16:58
yewscion left,
jpn left
17:10
ulipink joined,
ulipink left,
ulipink joined,
yewscion joined
17:14
ulipink left
17:16
yewscion left
17:22
jpn joined
17:29
ulipink joined
17:34
ulipink left
17:35
human-blip left
17:36
human-blip joined
17:50
ryoskzypu left
17:59
yewscion joined
18:02
ulipink joined,
ulipink left,
ulipink joined
18:03
yewscion left
18:07
yewscion joined,
ulipink left
18:13
yewscion left
18:31
ryoskzypu joined
18:33
yewscion joined
18:37
ulipink joined
18:41
ulipink left
18:43
yewscion left
19:08
yewscion joined
19:13
yewscion left
19:14
ulipink joined
|
|||
ab5tract | tbrowder: unfortunately you were pointed to a slightly outdated version of the intellij plugin. I've just published a new beta release, available here: github.com/ab5tract/comma-plugin/r...4.3-beta.4 | 19:15 | |
need to look into why the archive file is indicating 2024.3-beta.1 , I've been upgrading the version tracking stuff | 19:16 | ||
19:19
ulipink left
19:22
ryoskzyp1 joined,
ryoskzypu left
19:47
ulipink joined
19:52
jpn left,
ulipink left
|
|||
librasteve | I do like the map and the idea that JS can run in VSCode notebook ... ooth I am not sure I want to keep switching VSCode and IntelliJ... choices choices | 19:54 | |
antononcube | Highlighting of Raku in Jupyter notebook with VSCode is better than the highlighting in IntelliJ. | 19:58 | |
Also, VSCode Jupyter interface seems more intuitive to me. (I do not like Jupyter that much, in general.) | 19:59 | ||
ab5tract | I wonder if the highlighting issues are related to the language not being set properly in the Jupyter notebook | 20:06 | |
If there is any difference between how IntelliJ is highlighting Raku outside of Jupyter vs inside of it, that should be easy-ish to resolve | 20:07 | ||
20:17
melezhik joined
|
|||
melezhik | o/ | 20:17 | |
if it possible to generate raku function in runtime? | |||
20:17
librasteve_ joined
|
|||
melezhik | say I have string defining function body and I'd like to create a raku function from it. So I could call it later? | 20:18 | |
I am taking about EVAL/EVALFILE for clarity | |||
[Coke] | There is an EVAL, sure. | ||
melezhik | as they slow | ||
son just a sub foo = EVAL "some string" ? | 20:19 | ||
son -> so | |||
[Coke] | m: my $a = 'say "fast enough"'; $a.EVAL | ||
camelia | fast enough | ||
[Coke] | m: my $a = 'say "fast enough"'; EVAL $a | 20:20 | |
camelia | ===SORRY!=== Error while compiling <tmp> EVAL is a very dangerous function!!! (use the MONKEY-SEE-NO-EVAL pragma to override this error but only if you're VERY sure your data contains no injection attacks). at <tmp>:1 ------> my $a = 'say "f… |
||
[Coke] | m: use MONKEY-SEE-NO-EVAL; my $a = 'say "fast enough"'; EVAL $a | ||
camelia | fast enough | ||
[Coke] | let's assume I generated that error on purpose for teaching reasons. :) | ||
melezhik | yeah, but I would like only to compile thing not run | ||
20:20
ulipink joined
|
|||
antononcube | @ab5tract Yes, there is a difference. Jupyter Raku kernel(s) (in IntelliJ) get confused with comments and magic cells. | 20:21 | |
librasteve_ | Raku syntax highlighting in a jupyter notebook in Intellij — looks good to me usercontent.irccloud-cdn.com/file/....17.30.JPG | 20:23 | |
[Coke] | m: my $a = 'sub { say "running" }; say "compiling"'; my $b = $a.EVAL; $b(); | ||
camelia | WARNINGS for /home/camelia/EVAL_0: compiling Useless use of anonymous sub, did you forget to provide a name? (line 1) No such method 'CALL-ME' for invocant of type 'Bool' in block <unit> at <tmp> line 1 |
||
[Coke] | my $a = 'sub q { say "running" }'; my $b = $a.EVAL; dd $b; | 20:24 | |
evalable6 | $b = sub q { #`(Sub|2248622829520) ... } | ||
[Coke] | m: my $a = 'sub q { say "running" }'; my $b = $a.EVAL; dd $b; | ||
camelia | $b = sub q { #`(Sub|5630754406536) ... } | ||
ab5tract | antononcube: That sounds like a Jupyter::Kernel issue more than an IntelliJ one, though | 20:25 | |
But I can try to take a look if you can provide reproducible inputs | 20:26 | ||
20:27
ulipink left
|
|||
melezhik | [Coke] thanks | 20:27 | |
antononcube | @ab5tract I am not sure. IntelliJ handles magic cells differently. | 20:31 | |
ab5tract | Well, I don't use Jupyter enough to know what could happen when comments are misconstrued with magic cells | 20:32 | |
antononcube | @librasteve Please try using: 1) magic cells, like, "#% html", "#% latex", and 2) cells with other languages, like, "#% js" or "#% javascript". | ||
librasteve | ... | 20:33 | |
20:35
melezhik left
|
|||
they work with python kernel, but not with raku kernel | 20:41 | ||
guess I will give VSCode a shot if I need more magic | 20:43 | ||
20:47
Sgeo joined
20:56
Aedil left
21:12
ulipink joined
21:13
yewscion joined
21:18
ulipink left
21:23
yewscion left
|
|||
ab5tract | or we could fix the raku kernel %) | 21:27 | |
librasteve: do you have the Jupyter IntelliJ plugin installed? | 21:39 | ||
21:47
ulipink joined
21:51
ulipink left
22:25
ulipink joined,
ulipink left,
ulipink joined
22:26
jpn joined,
yewscion joined
22:29
ulipink left
22:31
yewscion left
22:34
yewscion joined
22:38
yewscion left
22:41
Guest76 joined
22:43
ulipink joined
|
|||
tbrowder | antononcube: ref vscode, i see two raku/perl 6 extensions, which do you use? | 22:43 | |
22:47
ulipink left
22:53
Guest76 left
22:57
librasteve_ left
23:01
ulipink joined,
ulipink left,
ulipink joined
23:05
ulipink left
23:06
yewscion joined
23:10
lizmat left,
yewscion left
23:11
lizmat joined
|
|||
ab5tract | tbrowder (since he was the last to ask) + all intellij plugin users: release names are fixed! also, hopefully fewer issues with formatting. github.com/ab5tract/comma-plugin/r...4.3-beta.6 | 23:14 | |
23:18
yewscion joined
23:20
ulipink joined
23:23
yewscion left
23:24
sena_kun left
23:25
ulipink left
23:28
lizmat left,
lizmat joined
23:34
erdem joined
23:38
ulipink joined
23:43
ulipink left
|
|||
tbrowder | ab5tract: i'm confused...i look at the vscode site and they show two raku plugins. are those also the plugins for intelliJ? | 23:49 | |
ab5tract | no, I'm responding to your earlier question about Comma | ||
tbrowder | ah, ok, whew, thought i was goin crazy! thnx | 23:50 | |
ab5tract | There is no standalone Comma anymore, but I'm linking to the spritual successor, which can be installed as a plugin in IntelliJ | ||
tbrowder | gotcha, is the community version of intelliJ adequate or do you recommend getting a license? | 23:52 |