🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 25 August 2021. |
|||
00:03
linkable6 left,
evalable6 left
00:06
evalable6 joined
00:07
reportable6 left
00:27
jjido left
00:36
Kaiepi left
00:39
Kaiepi joined
00:54
Kaiepi left
01:03
Kaiepi joined
01:09
zj joined
01:10
reportable6 joined
01:16
Kaiepi left
01:43
Kaiepi joined
01:46
Kaiepi left
01:49
discord-raku-bot left,
discord-raku-bot joined
01:51
Kaiepi joined
01:53
gfldex left
01:57
gfldex joined
01:58
Kaiepi left
02:00
Kaiepi joined
02:05
dynamite left
03:01
nine left,
m_athias left,
nine joined
03:02
m_athias joined
03:05
frost joined
04:03
razetime joined
04:21
frost left
04:30
dynamite joined
04:37
guifa joined
|
|||
guifa | o/ | 04:37 | |
moon-child | \o | ||
04:44
qeqeqw joined
04:46
kjp left
04:50
kjp joined
05:08
zj left
05:21
mexen joined
05:23
frost joined
05:55
qeqeqw left
06:02
kjp left
06:07
reportable6 left
06:10
reportable6 joined
06:14
kjp joined
06:37
frost left
06:40
frost joined
07:04
linkable6 joined
07:16
frost left
07:28
frost joined
07:34
frost left
07:39
ufobat joined
07:41
seednode99 left
07:42
seednode99 joined
07:51
jjido joined
07:55
Sgeo left
08:07
abraxxa joined,
dakkar joined
08:22
abraxxa left,
abraxxa joined
08:37
lichtkind joined
08:45
dynamite left
09:01
ufobat left
09:07
jmcgnh left
09:10
hasrthur joined
09:13
jmcgnh joined
09:21
jjido left
|
|||
younder | Do you use the comma editor? | 09:35 | |
It seems better than the Emacs mode and the Visual studio code mode. They need the intellisense completion of comma. | 09:36 | ||
Of course there is vim.. | |||
Been working on the emacs mode. Prettify allows unicode charactes to be substituded for op+erators which also incedentally alers you if our combo needs a space so it is not interprented as a operator. | 09:40 | ||
s/alers/alerts/ | 09:41 | ||
Not sure how to do the intellisense though. Perhaps I'll take some of the experience from SLIME. (Superrior Lisp Interaction Mode). Anyhow I will need a running interprenter to import modules and see their export functions. | 09:46 | ||
lizmat forgot to clickbait rakudoweekly.blog/2022/01/17/2022-...kucon-how/ yesterday | 09:47 | ||
younder | I had a problem reading /usr/share/ispell/amarican.. dictionary. It seems it is written in latin1! '@DICTIONARY = $DictionaryFile.IO.lines silenly returns an empty list. You need to add (enc => "latin1") to the end. Seriosly annoying! It to me hours to figure out. Perhaps something for rakudo to look at. | 09:56 | |
lizmat | that feels.... weird | 09:57 | |
could you run: dd $DictionaryFile.IO.lines without the enc and tell me what that says ? | 09:58 | ||
younder | dd @DICIONARY; returns @DICTIONARY = [] | 10:00 | |
no error | |||
lizmat | I want to see what $DictionaryFile.IO.lines returns, *not* what is in @DICTIONARY | 10:02 | |
younder | but @DICTIONARY = $DictionaryFile.IO.lines | 10:06 | |
shouldn't they be the same? | |||
It sais Malformed utf8 near bytes 62 e9 2f | 10:08 | ||
lizmat | ok, so I guess the problem is that .lines returns a Failure, and it should probably throw | 10:17 | |
younder | I found french accents in the american dictionary. The reason for the problem. An yes an exception would help. | ||
lizmat | could you please make an issue for that? I don't have time to look at it now, and am afraid it will fall through the cracks otherwise | 10:19 | |
also: please include (a part) of the file that causes the issue | |||
younder | Will do.. This sort of thing turns peaple away from raku. And the language deserves better! | 10:21 | |
10:21
qorg11 left
|
|||
younder | lizmat: How do make an issue? | 10:22 | |
s/do make/do I make/ | 10:23 | ||
lizmat | github.com/rakudo/rakudo/issues/new | 10:25 | |
younder | thanks | ||
lizmat | thank you! :-) | ||
10:28
razetime left,
razetime joined
10:35
xinming joined
10:41
qeqeqw joined
|
|||
gfldex | m: sub wantfail(&block) { CATCH { default { fail($_) } } block }; put wantfail { 42 }; put wantfail { die "oopsy!"; }; | 10:46 | |
camelia | ===SORRY!=== Error while compiling <tmp> Strange text after block (missing semicolon or comma?) at <tmp>:1 ------> &block) { CATCH { default { fail($_) } }⏏ block }; put wantfail { 42 }; put wantf |
||
gfldex | m: sub wantfail(&block) { CATCH { default { fail($_) } }; block }; put wantfail { 42 }; put wantfail { die "oopsy!"; }; | 10:47 | |
camelia | 42 oopsy! in block <unit> at <tmp> line 1 |
||
gfldex | I think I will put that in my AST-macro-plan file. | ||
10:48
qeqeqw left
10:52
younder left
11:20
dynamite joined
|
|||
elcaro_ | FWIW, I can't get a latin-1 file read to somehow result in an empty array like younder reported | 11:24 | |
obv. I can assign `.lines` to a scalar - which is lazy - but the Failure always bubbles up eventually. | 11:25 | ||
11:25
elcaro_ is now known as elcaro
|
|||
lizmat | with "foo".IO.lines -> @array { | 11:25 | |
would silently eat the Failure | |||
elcaro | ahh, it's a bad choice to use `with` there. I'm generally more careful with my use of `with`. I feel like some people use it in place of `given` without realising the difference | 11:27 | |
it's a bit of a newbie trap, so maybe throwing on malformed utf8 is not a bad idea | 11:28 | ||
lizmat: hmm, even using `with`, the failure still bubbles up as soon as I do anything with the `@array` | 11:29 | ||
lizmat | hmmm... ok | 11:30 | |
elcaro | will wait to see if the issue gets raised | 11:32 | |
Nemokosch | yes, I don't know why people use with over given, when they don't reason about the value to topicalize being Nil | 11:34 | |
12:07
reportable6 left
12:08
reportable6 joined
12:17
qeqeqw joined
12:40
Skarsnik_ joined
12:41
kjp left
12:42
archenoth joined,
gordonfish- joined
12:43
perlbot_ joined,
greyrat_ joined,
rir__ joined
12:44
dustinm`_ joined,
lucs_ joined,
jercos_ joined
12:45
greaser|q joined,
ecocode_ joined,
bartolin_ joined,
Od1n1 joined,
tonyo1 joined
12:46
dgl joined,
lgtaube left,
greyrat left,
ecocode left,
vodkra left,
destroycomputers left,
jercos left,
lucs left,
dg left,
bartolin left,
tonyo left,
ugexe left,
discord-raku-bot left,
rir_ left,
Oshawott left,
GreaseMonkey left,
mtj left,
gordonfish left,
dustinm` left,
Od1n left,
perlbot left,
Skarsnik left,
leedo left,
perlbot_ is now known as perlbot,
gordonfish- is now known as gordonfish,
discord-raku-bot joined,
ugexe joined,
destroycomputers joined
12:47
mtj joined,
leedo joined
12:49
ecocode_ left
12:50
vodkra joined
12:54
kjp joined
12:55
ecocode joined
12:56
lgtaube joined
13:10
Kaiepi left,
Kaiepi joined
13:57
ufobat joined
14:30
Geth__ left,
Geth joined,
seednode99 left
14:48
morte_ joined
14:50
Geth left
14:51
Geth joined
14:57
lichtkind left
15:02
Sgeo joined
15:29
abraxxa left
15:31
abraxxa joined
16:31
evalable6 left,
linkable6 left
16:37
morte_ left
16:39
dakkar left
16:50
Sgeo_ joined,
Sgeo left
16:55
qeqeqw left
17:01
hasrthur left
17:06
hasrthur joined
17:29
razetime left
17:38
djerius left
17:39
djerius joined
17:42
qeqeqw joined
17:57
jjido joined
18:05
abraxxa left
18:07
reportable6 left
18:10
reportable6 joined
18:31
evalable6 joined
18:38
dogbert17 joined
18:40
dogbert11 left
18:55
Kaiepi left
18:56
Kaiepi joined
18:59
ufobat left
|
|||
Geth | doc/codesections-handles-hyperwhatever: b383726435 | (Daniel Sockwell)++ (committed using GitHub Web editor) | doc/Language/objects.pod6 Document `handles(**)` Explains that you can pass a HyperWhatever to the `handles` method and describes how that's different from passing a Whatever. |
19:11 | |
doc/codesections-handles-hyperwhatever-1: 87e9e0a65a | (Daniel Sockwell)++ (committed using GitHub Web editor) | doc/Language/objects.pod6 Document `handles(**)` Explains that you can pass a HyperWhatever to the `handles` method and describes how that's different from passing a Whatever. |
19:12 | ||
19:15
Geth left,
Geth joined
|
|||
Geth | doc: codesections++ created pull request #4019: Document `handles(**)` |
19:15 | |
19:35
hasrthur_ joined,
hasrthur left
19:40
qeqeqw left
19:41
morte_ joined
19:52
greaser|q left,
greaser|q joined
19:53
greaser|q is now known as GreaseMonkey
20:00
kjp left
20:01
kjp joined
20:03
ufobat joined
20:11
qeqeqw joined
20:43
qorg11 joined
|
|||
tbrowder | has anyone used jmerelo's github workflow/test.yml file? if so, how do i add non-raku dependencies? | 20:54 | |
21:05
morte_ left
21:12
hasrthur_ left
21:19
qeqeqw left
21:26
ilogger2 left
21:55
ufobat left
22:21
ilogger2 joined
22:32
linkable6 joined
22:37
Sgeo_ left
22:39
Sgeo joined
22:43
jjido left
22:44
Sgeo_ joined
22:46
Sgeo left
23:01
jjido joined
23:04
jjido left
|