🦋 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:00
reportable6 left
00:03
reportable6 joined
00:08
vrurg left
00:13
vrurg joined
00:16
ProperN[out] joined
00:17
ProperNoun left,
vrurg left
00:19
vrurg joined
00:29
vrurg_ joined
00:32
vrurg left
00:33
jpn left
01:07
jpn joined
01:12
jpn left
01:39
jpn joined
01:44
jpn left
02:10
jpn joined,
rf joined
02:15
jpn left
02:22
guifa left
02:42
jpn joined
02:47
jpn left
03:37
jpn joined
03:41
jpn left
03:54
rf left
04:31
jpn joined
04:35
razetime joined
04:36
rf joined,
jpn left
04:41
teatwo joined,
razetime left
04:44
tea3po left
04:53
jpn joined
04:57
jpn left
05:05
rf left
05:08
razetime joined
05:22
siavash joined
05:43
squashable6 left
05:44
squashable6 joined
05:50
tejr left
05:54
jpn joined
05:56
tejr joined
05:59
jpn left
06:00
reportable6 left
06:01
reportable6 joined
06:06
vrurg joined
06:09
vrurg_ left
07:09
coverable6 left,
committable6 left,
tellable6 left,
benchable6 left,
notable6 left,
bisectable6 left,
reportable6 left,
statisfiable6 left,
quotable6 left,
sourceable6 left,
shareable6 left,
unicodable6 left,
bloatable6 left,
greppable6 left,
releasable6 left,
nativecallable6 left,
squashable6 left,
linkable6 left,
evalable6 left,
unicodable6 joined,
coverable6 joined,
greppable6 joined,
benchable6 joined
07:10
statisfiable6 joined,
linkable6 joined,
notable6 joined,
nativecallable6 joined,
committable6 joined,
bloatable6 joined,
quotable6 joined,
reportable6 joined,
sourceable6 joined,
releasable6 joined
07:11
shareable6 joined,
squashable6 joined,
bisectable6 joined
07:12
evalable6 joined,
tellable6 joined
07:15
jpn joined
07:20
jpn left
07:30
siavash left
07:35
siavash joined
07:43
jpn joined
07:50
sena_kun joined
08:02
kotrcka joined
09:02
greppable6 left,
statisfiable6 left,
evalable6 left,
sourceable6 left,
committable6 left,
coverable6 left,
benchable6 left,
shareable6 left,
nativecallable6 left,
linkable6 left,
bloatable6 left,
bisectable6 left,
notable6 left,
reportable6 left,
tellable6 left,
unicodable6 left,
quotable6 left,
releasable6 left,
squashable6 left
09:03
releasable6 joined,
committable6 joined,
unicodable6 joined,
linkable6 joined,
squashable6 joined,
bisectable6 joined,
reportable6 joined
09:04
sourceable6 joined,
quotable6 joined,
notable6 joined,
tellable6 joined,
bloatable6 joined,
evalable6 joined
09:05
benchable6 joined,
statisfiable6 joined,
nativecallable6 joined,
greppable6 joined,
coverable6 joined,
shareable6 joined
09:18
jpn left
10:18
committable6 left,
quotable6 left,
evalable6 left,
unicodable6 left,
linkable6 left,
bisectable6 left,
coverable6 left,
nativecallable6 left,
tellable6 left,
statisfiable6 left,
notable6 left,
shareable6 left,
bloatable6 left,
sourceable6 left,
greppable6 left,
squashable6 left,
benchable6 left,
releasable6 left,
reportable6 left
10:19
shareable6 joined,
tellable6 joined,
nativecallable6 joined
10:20
bisectable6 joined,
committable6 joined,
benchable6 joined,
statisfiable6 joined,
coverable6 joined,
reportable6 joined
10:21
notable6 joined,
linkable6 joined,
squashable6 joined,
releasable6 joined,
sourceable6 joined,
evalable6 joined,
quotable6 joined,
bloatable6 joined
10:22
unicodable6 joined,
greppable6 joined
10:56
Sgeo left
11:05
jpn joined
11:10
jpn left
|
|||
tbrowder__ | how can we get tadzik's File::Find module repo transferred to the community repo? he is willing, just need the instructions | 11:12 | |
11:13
jpn joined
11:22
siavash left
|
|||
lizmat | tbrowder__ left some instructions in a privmsg to tadzik | 11:22 | |
11:26
aryan joined
|
|||
aryan | i | 11:26 | |
hi | |||
lizmat | aryan o/ | 11:27 | |
11:29
razetime left
11:36
aryan left
11:53
jpn left
|
|||
tbrowder__ | thnx | 11:56 | |
11:58
jpn joined
12:00
reportable6 left
|
|||
tbrowder__ | so, a testing question: a module has a bin file that takes another bin file as input and creates another bin file as output. using the Test module, how can i assure that works (not correctness of the output, just that it exists and is named as expected. a flow something like this: myprog myinfile => myoutfile. | 12:01 | |
12:02
reportable6 joined
|
|||
tbrowder__ | i've tried using Proc::Easier and lives-ok but output seems to hide somewhere | 12:03 | |
moritz_ | uhm, what is your question? how to check if a file exists? | 12:07 | |
tbrowder__ | i've looked at jmerelo's test module but don't see it quite fits the bill. hm, a blinking light of an idea appeared...it should work. like test helpers in roast. bye | ||
moritz_ | not everything that's done in a test needs to be done by a test module, you can write normal code and just check its result, y'know :-) | 12:09 | |
12:13
jpn left
|
|||
tbrowder__ | moritz, yes, essentially i just did that, i was trying to test a bin file. i changed to testing the generating subs, that worked. | 12:32 | |
but your way is better, thnx | 12:33 | ||
but, how would you do that testing with github workflows? | 12:35 | ||
for my brain muscle memory, using the subs might be easier | 12:36 | ||
12:37
jpn joined
|
|||
ugexe | create a CI test that runs the various commands of your bin script: `bin/my-prog thing1`, `bin/my-prog thing2`. and if you put all the business logic inside of modules and just have the bin script invoke those, you can test your business logic by testing your module | 12:54 | |
for example github.com/ugexe/zef/blob/710034fe...ml#L29-L39 | 12:55 | ||
xinming_ | releasable6: status | 13:07 | |
releasable6 | xinming_, Next release will happen when it's ready. There are no known blockers. 0 out of 64 commits logged (âš 167 warnings) | ||
xinming_, Details: gist.github.com/939ece1e5407c15950...68d26794c5 | |||
13:12
jpn left
13:14
jpn joined
13:23
jpn left
|
|||
tbrowder_ | ugexe: thanks | 13:25 | |
13:32
jpn joined
13:38
askmeaboutloom joined
13:42
sena_kun left
13:44
sena_kun joined
14:01
jpn left
14:52
bdju left
15:52
quotable6 left,
bisectable6 left,
squashable6 left,
coverable6 left,
shareable6 left,
releasable6 left,
nativecallable6 left,
benchable6 left,
tellable6 left,
committable6 left,
statisfiable6 left,
greppable6 left,
notable6 left,
reportable6 left,
unicodable6 left,
linkable6 left,
bloatable6 left,
evalable6 left,
sourceable6 left,
notable6 joined,
bloatable6 joined,
statisfiable6 joined,
unicodable6 joined,
nativecallable6 joined
15:53
evalable6 joined,
tellable6 joined,
reportable6 joined,
sourceable6 joined,
greppable6 joined,
coverable6 joined,
quotable6 joined,
squashable6 joined
15:54
linkable6 joined,
bisectable6 joined,
releasable6 joined,
shareable6 joined,
benchable6 joined
15:55
committable6 joined
16:42
teatwo left,
teatwo joined
16:43
tea3po joined
|
|||
gfldex | m: say Any."WHAT"(); | 16:44 | |
camelia | No such method 'WHAT' for invocant of type 'Any'. Did you mean any of these: 'WHAT', 'WHO', 'WHY', 'flat'? in block <unit> at <tmp> line 1 |
||
gfldex | :-> | ||
lizmat | m: say Any.^find_method("WHAT") | 16:46 | |
camelia | (Mu) | ||
16:47
teatwo left
|
|||
lizmat | m: say Any.^find_method("Int") | 16:47 | |
camelia | Int | ||
lizmat | m: dd Any.^find_method("Int") | ||
camelia | Method Int = proto method Int (Mu: |) {*} | ||
lizmat | m: dd Any.^find_method("WHAT") | ||
camelia | Mu | ||
lizmat | that's macros for you :-) | 16:48 | |
16:52
kotrcka left
|
|||
gfldex | What I find surprising is that Rakudo suggests `'WHAT', ...`. How does it know about a method that isn't there? | 17:15 | |
lizmat | he, good question | 17:18 | |
m: say Any.^methods.map(*.name).sort # it's not in here | 17:19 | ||
camelia | (ACCEPTS ASSIGN-KEY ASSIGN-POS AT-KEY AT-POS Array BIND-KEY BIND-POS Bag BagHash DELETE-KEY DELETE-POS EXISTS-KEY EXISTS-POS FLATTENABLE_HASH FLATTENABLE_LIST Hash List Map Mix MixHash Seq Set SetHash Slip Supply ZEN-KEY all antipairs any append are b… | ||
[Coke] | I assume a special case in the suggest logic? | ||
(though a quick search didn't find it) | |||
gfldex | Would Rakudo tell us it it would become self-aware? :D | 17:20 | |
17:54
bdju joined
|
|||
MasterDuke | github.com/rakudo/rakudo/blob/main...#L285-L288Â # [Coke], gfldex fyi | 17:55 | |
18:00
reportable6 left,
reportable6 joined
|
|||
lizmat | I guess we need a check that the suggestion doesn't match the unfound method :-) | 18:03 | |
18:06
sena_kun left
18:07
sena_kun joined
|
|||
antononcube | @lizmat I just upvoted your criticism of "kebabtize". 🙂 | 18:40 | |
librasteve | I put this line in my Dockerfile RUN zef install github.com/librasteve/raku-physics-measure.git --verbose | 18:51 | |
and then run a standard GHA like the workflows here github.com/librasteve/raku-Physics.../tree/main | |||
even better if you have a module with Build.pm then the zef install will run build and test | 18:52 | ||
(there are likely a lot better ways from others on this chat!) | 18:54 | ||
tbrowder__ | lizmat: The Rakudo Star manager is interested in a #raku-star channel. is that possible? | 19:06 | |
19:07
evalable6 left,
linkable6 left,
[Coke] left
19:08
evalable6 joined
19:09
linkable6 joined
19:11
[Coke] joined
19:17
Sgeo joined
20:17
shareable6 left,
notable6 left,
squashable6 left,
greppable6 left,
committable6 left,
evalable6 left,
releasable6 left,
unicodable6 left,
reportable6 left,
nativecallable6 left,
bloatable6 left,
linkable6 left,
benchable6 left,
quotable6 left,
statisfiable6 left,
coverable6 left,
bisectable6 left,
sourceable6 left,
tellable6 left,
nativecallable6 joined,
committable6 joined,
coverable6 joined,
bloatable6 joined,
statisfiable6 joined
20:18
releasable6 joined,
bisectable6 joined,
shareable6 joined,
sourceable6 joined,
greppable6 joined
20:19
evalable6 joined,
reportable6 joined,
notable6 joined,
squashable6 joined,
quotable6 joined,
tellable6 joined
20:20
unicodable6 joined,
benchable6 joined,
linkable6 joined
21:20
evalable6 left,
greppable6 left,
quotable6 left,
reportable6 left,
squashable6 left,
coverable6 left,
linkable6 left,
tellable6 left,
nativecallable6 left,
statisfiable6 left,
notable6 left,
shareable6 left,
unicodable6 left,
sourceable6 left,
bisectable6 left,
committable6 left,
bloatable6 left,
benchable6 left,
releasable6 left,
quotable6 joined,
reportable6 joined
21:21
statisfiable6 joined,
unicodable6 joined,
sourceable6 joined,
greppable6 joined,
tellable6 joined,
benchable6 joined,
linkable6 joined,
coverable6 joined,
notable6 joined
21:22
bloatable6 joined,
bisectable6 joined,
squashable6 joined,
evalable6 joined,
releasable6 joined
21:23
nativecallable6 joined,
committable6 joined,
shareable6 joined
21:32
sena_kun left
|
|||
lizmat | tbrowder__ Most definitely... will set it up tomorrow | 22:10 | |
22:32
linkable6 left,
evalable6 left
22:33
evalable6 joined
22:34
linkable6 joined
|
|||
SmokeMachine | tonyo: github.com/FCO/Test-Fuzz | 23:10 | |
antononcube | @SmokeMachine So, nothing stops us to generate Fuzz-tests with LLMs then. (In Raku.) | 23:14 | |
I currently experimenting generating Gherkin tests with LLMs. I will try "Test:Fuzz" soon. | 23:16 | ||
SmokeMachine | Yes, I don’t think anything does… but I still need to improve the generator API for test::fuzz… | ||
If I remember it well, it needs a class method to generate objects from that class… but it would be much better to just need to implement a multi sub “test-sames-generator” to do that | 23:18 | ||
23:21
kjp left
23:24
kjp joined
|
|||
tbrowder__ | lizmat: thanks | 23:28 | |
antononcube | @SmokeMachine Ok, good to keep in mind. | 23:32 |