🦋 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. |
|||
00:17
MasterDuke joined
00:42
jpn joined
00:44
japhb left
00:45
japhb joined
00:47
jpn left
00:49
jpn joined
00:53
jpn left
01:31
MasterDuke left
01:33
kylese left,
hulk joined
01:39
gabiruh left
01:52
tea3po left
02:03
gabiruh joined
02:05
haxxelotto left
02:15
hulk left,
kylese joined
02:30
kylese left
02:35
kylese joined
02:36
jpn joined
02:38
whaaat joined
|
|||
whaaat | hello | 02:39 | |
02:41
jpn left
03:04
whaaat left
04:04
jpn joined
04:09
jpn left
04:10
teatime joined
05:21
xinming left
05:53
jpn joined
05:58
jpn left
06:31
jpn joined
06:37
jpn left
07:19
ptc joined
07:55
jpn joined,
ptc left
07:57
ptc joined
08:00
jpn left
08:02
jpn joined
08:07
jpn left
08:21
jpn joined
08:46
ptc left
08:51
Sgeo left
09:06
jpn left
09:17
lizmat_ joined
09:21
slu left,
slu joined
09:27
gabiruh left
09:41
gabiruh joined
10:02
TieUpYourCamel left
10:15
TieUpYourCamel joined
10:20
lizmat__ joined
10:22
lizmat_ left
10:33
ab5tract left,
ab5tract joined
|
|||
ab5tract | o/ whaaat | 10:34 | |
tbrowder | \o whaat & ab5tract | 10:37 | |
12:26
jpn joined
12:27
hudo left,
hudo joined
12:41
lizmat__ left,
lizmat_ joined
13:05
lizmat_ left
13:06
lizmat_ joined
13:10
lizmat_ left
13:11
lizmat_ joined
13:19
jpn left
13:38
abraxxa-home joined
|
|||
tbrowder | i want to have an "autosave" option in a compiled module. i only "use" that module once. can i put the action for saving a file in an END block inside that module and have it work? | 13:43 | |
or would it have to be in a bin file? | 13:44 | ||
the docs are detailed, but i don't see a good example of that use. | 13:45 | ||
i'll present a gist later today for comment. | 13:46 | ||
13:51
lizmat_ left,
lizmat_ joined
|
|||
lizmat_ | tbrowder: an END block in a module will always be run when the process exits | 13:53 | |
13:58
jpn joined
14:04
jpn left
14:08
lizmat_ left
|
|||
tbrowder | ok, i got it to work. in the unit class i needed to (1) duplicate the attr vars i needed as ordinary my vars, the use them in the END block. | 14:18 | |
did that duping with a TWEAK | 14:19 | ||
i think that will do the trick in the actual class when i flesh it all out. | 14:20 | ||
may be crude but following a paraphrase dr knuth's rule "premature optimization 'is the root of wasted coding effort'" | 14:24 | ||
14:28
teatime left,
teatime joined
14:40
whaaat joined
15:04
whaaat left
15:15
whaaat joined
15:37
swaggboi left,
whaaat left
15:43
swaggboi joined,
whaaat joined
15:55
vlad joined
16:06
vlad_ joined
16:09
whaaat left,
vlad left
16:25
tadzik left
|
|||
tbrowder | can i call a class method with self inside submethod TWEAK? | 16:33 | |
and change $!attr values in it? | |||
16:42
tadzik joined
16:48
jpn joined
16:56
jpn left
|
|||
lizmat | tbrowder: yes, why not? TWEAK is a (sub)method just as any other method, it is just being called *for* you at some point | 17:00 | |
17:25
jpn joined
17:31
jpn left
17:42
MasterDuke joined
17:44
jpn joined
17:45
teatime left
17:59
teatime joined
18:03
kjp left
18:05
Sgeo joined
18:17
ptc joined
18:43
jpn left
20:03
ptc left,
teatime left
20:13
teatime joined
20:38
vlad_ left
|
|||
tbrowder | lizmat: question on Git::Blame::File, | 20:57 | |
i'm in some dir and the file i want info on is at /path/to/file. should the .git already exist! | 21:02 | ||
s/!/?/ | 21:03 | ||
i assume i must create the repo dir with the file of interest in that dir or a subdir. then the path to the file of interest defines the .git repo that Git::Blame::File uses for its purposes. | 21:19 | ||
never mind, i | 22:11 | ||
see how it works. | 22:12 | ||
22:13
kjp joined
22:57
whaaat joined
23:05
whaaat left
23:23
Sgeo left
23:29
Sgeo joined
23:59
abraxxa-home left
|