🦋 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:18 vrurg left 00:19 vrurg joined 01:09 razetime joined
SmokeMachine lizmat: ProblemSolver is not a new module, but a very old one that I just have fixed a few lines on its readme and haven’t released any new version… :( 01:57
02:09 linkable6 left, evalable6 left 02:10 linkable6 joined 02:11 evalable6 joined 02:17 swaggboi left 03:17 evalable6 left, tellable6 left, greppable6 left, unicodable6 left, benchable6 left, bisectable6 left, nativecallable6 left, bloatable6 left, sourceable6 left, linkable6 left, shareable6 left, statisfiable6 left, squashable6 left, coverable6 left, committable6 left, quotable6 left, notable6 left, releasable6 left, reportable6 left 03:18 committable6 joined, sourceable6 joined, quotable6 joined, squashable6 joined 03:19 linkable6 joined, shareable6 joined, nativecallable6 joined, benchable6 joined 03:20 greppable6 joined, coverable6 joined, releasable6 joined, statisfiable6 joined, notable6 joined, tellable6 joined, reportable6 joined, evalable6 joined, unicodable6 joined, bloatable6 joined, bisectable6 joined 03:32 camelia left, m_athias left, nine left
MasterDuke guifa__: just watched your TPRC videos, nice stuff 03:33
03:33 m_athias joined 03:37 nine joined, camelia joined 03:48 MasterDuke left 04:11 razetime left 04:32 razetime joined 04:42 teatime left, teatime joined 04:44 teatime left, teatime joined 05:06 teatwo joined 05:08 teatwo left, teatwo joined 05:09 teatime left, squashable6 left 05:12 squashable6 joined 05:20 jpn joined 05:25 jpn left 05:40 siavash joined 06:00 reportable6 left 06:01 reportable6 joined 06:17 jpn joined 06:23 jpn left 07:01 jpn joined 07:04 knarkhov joined
knarkhov Tyil's git repo is back, all modules are available now! I've connected him via matrix. He is upgrading home servers, so I was a reason of temporary down. 07:07
07:07 Geth left 07:08 knarkhov left, RakuIRCLogger left 07:09 jpn left, lizmat left 07:10 lizmat joined 07:21 Geth joined 07:49 m_athias left, m_athias joined 08:07 andydude left 08:09 dakkar joined 08:15 Sgeo left 08:26 razetime left 08:30 sena_kun joined 08:33 squashable6 left 08:36 squashable6 joined 08:44 razetime joined 08:48 squashable6 left 08:49 squashable6 joined 09:08 jpn joined 09:31 nine left, m_athias left, nine joined, m_athias joined 09:41 merp left 10:18 eroux left 10:22 eroux joined 10:28 jpn left 10:32 jpn joined 10:36 jpn left 10:43 eroux_ joined 10:44 eroux left 10:49 eroux joined, eroux_ left 11:49 linkable6 left, evalable6 left 11:51 evalable6 joined 11:52 linkable6 joined, razetime left 12:00 reportable6 left 12:02 reportable6 joined 12:09 razetime joined 12:16 hellwolf joined 12:18 jpn joined 12:23 jpn left 12:24 siavash left 12:48 jpn joined 12:55 jpn left, knarkhov joined 12:56 knarkhov left 13:11 jpn joined 13:24 vrurg_ joined 13:26 vrurg left, vrurg_ left 13:27 oodani left 13:28 eroux left, oodani joined 13:31 eroux joined 13:36 vrurg joined
Xliff \o 13:42
13:43 andydude joined
Xliff m: my @a = <1 2 3 4 5 6 7>; @a.rotate(-1); say "A: { @a.gist }" 13:43
camelia A: [1 2 3 4 5 6 7]
Xliff m: my @a = <1 2 3 4 5 6 7>; @a .= rotate(-1); say "A: { @a.gist }"
camelia A: [7 1 2 3 4 5 6]
Xliff m: enum <SUN MON TUE WED THR FRI SAY>; my @a = <1 2 3 4 5 6 7>; @a .= rotate(-1 + SUN.Int); say "A: { @a.gist }" 13:44
camelia A: [7 1 2 3 4 5 6]
Xliff m: enum <SUN MON TUE WED THR FRI SAY>; my @a = <1 2 3 4 5 6 7>; @a .= rotate(-1 + WED.Int); say "A: { @a.gist }"
camelia A: [3 4 5 6 7 1 2]
14:06 andydude left
Xliff Cannot resolve caller print(Str:D: BOOTStr); none of these signatures matches: 14:20
What is the fix for this? Did nqp::hllize go away?
lizmat m: use nqp; dd nqp::hllize(42) 14:21
camelia 42
lizmat you'd need "use nqp"
tonyo , 14:48
14:49 eroux left 14:53 Phytolizer joined 14:54 eroux joined 15:05 rf joined 15:07 Sgeo joined 15:20 codesections1 joined 15:21 codesections left, codesections1 is now known as codesections 15:26 codesections1 joined 15:28 codesections left, codesections1 is now known as codesections 15:32 razetime left
lizmat clickbaits rakudoweekly.blog/2023/07/24/2023-30-morevids/ 15:45
16:03 jpn left 16:06 [Coke] joined
[Coke] haven't heard "PascalCase" before having spent so much time in perl communities, but have heard it 2-3 times at work this week. 16:06
lizmat PascalCase === CamelCase ? 16:07
[Coke] apparently. 16:10
though the last reference did offer CC as an alternative "if you prefer" 16:11
lizmat well, Pascal *was* earlier
[Coke] regarding the json::unmarshall error - can we get the updated releases so we can install again? (or are they already in flight?) 16:15
tonyo isn't camelCase different from PascalCase ? 16:24
dakkar DromeDaryCase
(or the other one, I always confuse them)
16:35 dakkar left 16:40 _________ left
snonux never heard of PascalCase, until now. 16:42
16:42 tea3po joined 16:45 teatwo left 16:52 andydude joined
librasteve PascalCase /== camelCase 17:06
17:24 Phytolizer left
leont Yeah what tonyo said 17:31
lizmat so what's the difference 17:33
ugexe camels have a hump in the middle 17:38
theHump, not TheJHump
lizmat ah, gotcha 17:39
18:00 reportable6 left 18:02 reportable6 joined 18:20 codesections1 joined 18:22 codesections left, codesections1 is now known as codesections
El_Che Exelvision (eg EXL-100) also had a butterfly logo: en.wikipedia.org/wiki/EXL_100#/med...ouleur.jpg 18:41
nemokosch so there is even a reasoning for it (camelCase, that is) 18:44
18:44 tea3po left
but yeah, PascalCase is different, it is widely used for C# for example 18:45
C# itself being Delphi for Java developers with C++ sugar
18:46 teatime joined
tonyo loved delphi back when 18:46
nemokosch there is a reason to think Anders Hejlsberg did know something, after all 18:47
Turbo Pascal, Delphi, C# and Typescript
xinming_ termbin.com/881n 18:59
This time, I found above code works as expected.
but first @array misses a pair. 19:00
Is this considered a bug?
19:01 Phytolizer joined
nemokosch there is something funny about chaining pairs, I think nine also complained about the parsing 19:03
m: :a<A>:b<B> andthen .say 19:04
Raku eval a => A
nemokosch m: (:a<A>:b<B>) andthen .say 19:05
Raku eval (a => A b => B)
19:07 Phytolizer left, Phytolizer joined
nemokosch the natural intelligence is sometimes wrong about the comment summaries 19:14
"it's a keeper" applies to Perl, "big or new stuff" would be Raku 😼 19:15
xinming_ nemokosch, Could you please give the idea about why these 2 are different? 19:31
nemokosch if only I knew... well, I can try to analyze what the parser and the core are doing 19:33
the way I understand it, :a<A> :b<B> is a pair (:a<A>) with an adverb "hacked" to it (:b<B>) 19:40
19:42 _________ joined
okay, found the parsing rule for the parens in the old grammar 19:43
well, it's a whole lot of code, I don't necessary want to understand it but long story short, this "adverb on pair" is basically special-cased in the parser if it happens to be in parens 19:46
19:49 codesections left, codesections1 joined
xinming_ nemokosch, So the test I posted, It parsed the pair without comma as adverb on the pair 19:50
19:51 codesections1 is now known as codesections
nemokosch yeah, or at least adverb on something that just drops it. Adverbs have a quite low precedence regarding where they attach, I wouldn't know by heart 19:51
xinming_ m: my @a = :a :b; @a.raku.say; 19:52
camelia [:a]
nemokosch what I'm doing is raku --target=parse -e 'some expression', by the way, dont be afraid to try it
xinming_ So, adverb form, will only work right within function calls.
nemokosch well, if the function can handle them as named arguments, at least 19:54
xinming_ in this case, The adverb doesn't attach to the previous :pair. 19:55
So I think it's a inconsistent then
nemokosch I'd say if niner openly criticizes something in the design, it's probably bad enough 😄 19:56
20:08 TieUpYourCamel joined
xinming_ m: (1..10).pick xx 5 20:09
camelia ( no output )
xinming_ m: ((1..10).pick xx 5).raku.say;
camelia (6, 7, 1, 8, 1).Seq
xinming_ Is there a way to create a random list from existing list? 20:10
m: ((1..10).pick(5)).raku.say; 20:11
camelia (7, 10, 6, 9, 1).Seq
xinming_ hmm, Ignore me. :-)
nemokosch m: ((1..10).pick xx 5).raku.say; 20:19
Raku eval (8, 6, 6, 2, 4).Seq
nemokosch why does this kind of seem to work?
I mean, apparently the left handside is evaluated again and again 20:20
20:48 andydude left 21:12 andydude joined 21:41 Phytolizer left 22:07 andydude left 22:35 leah2 left 22:42 leah2 joined 22:51 sena_kun left 23:51 reportable6 left, sourceable6 left, greppable6 left, nativecallable6 left, unicodable6 left, benchable6 left, committable6 left, notable6 left, linkable6 left, statisfiable6 left, releasable6 left, bloatable6 left, squashable6 left, coverable6 left, tellable6 left, quotable6 left, bisectable6 left, shareable6 left, evalable6 left, notable6 joined, tellable6 joined, linkable6 joined, sourceable6 joined 23:52 coverable6 joined, statisfiable6 joined, evalable6 joined, squashable6 joined, bloatable6 joined 23:53 unicodable6 joined, benchable6 joined, quotable6 joined, greppable6 joined, releasable6 joined, committable6 joined, nativecallable6 joined 23:54 bisectable6 joined, shareable6 joined, reportable6 joined, swaggboi joined 23:55 kst left