š¦ Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku Set by ChanServ on 14 October 2019. |
|||
Juerd | I guess that very indirectly, the infix . is my fault, even :P | 00:01 | |
(given the rationale about .= already existing anyway) | |||
(About which timtowtdi said, back in 2004: "Yes, but the fact that you had to change the spacing bothers me") | 00:03 | ||
I somehow missed until today that \ . was no longer necessary (at least in many cases) | 00:04 | ||
Xliff | Backslashdot? | 00:10 | |
Juerd | Xliff: It was called the "long dot" | 00:28 | |
Xliff: \ plus whitespace is unspace, and with the . it's the long dot. | 00:29 | ||
Xliff | And that did...? | 00:32 | |
Juerd | \ negates the whitespace that comes after it | ||
Xliff | And holy !@(#(*.... Last watchmen was good! | 00:33 | |
Oh... so 42\ .say would work? | |||
Juerd | Yes. But with method calls the \ is no longer needed. | ||
Xliff | What was the point of something like that? | ||
Juerd | Because 42 .say was originally invalid, and people wanted to be able to use whitespace to line things up in tables etc | 00:34 | |
But \ . didn't really solve that, because its aesthetics kind of defeated the purpose | |||
m: my @foo = 42, 15; say @foo [1] | 00:35 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing infix inside [] at <tmp>:1 ------> 3my @foo = 42, 15; say @foo [7ā051] expecting any of: bracketed infix infix infix stopper |
||
Juerd | m: my @foo = 42, 15; say @foo\ [1] | ||
camelia | 15 | ||
00:36
sena_kun left
01:26
xinming_ left,
xinming_ joined
01:32
wamba left
01:46
Kaiepi left
01:48
Kaiepi joined
02:36
lgtaube left
02:48
wildtrees left
02:56
xinming_ left
02:58
xinming_ joined
03:55
xinming_ left
03:56
xinming_ joined
04:16
xinming_ left,
xinming_ joined
04:17
Xliff left
04:32
mid_home left
04:37
rindolf joined
04:49
rindolf left
04:52
rindolf joined
05:26
rindolf left
05:28
rindolf joined
05:46
xinming_ left
05:47
xinming_ joined
05:48
stoned75 joined
05:50
wtwt5237 joined
|
|||
wtwt5237 | hey, guys, may I have your suggestions on the best Raku package(s) for handling image (JPG, PNG, etc) reading and writing? | 05:51 | |
I want to read an image as a 2d or 3d numeric array, and do some manipulations on it, and then write back into an image | 05:52 | ||
05:52
TreyHarris left
06:03
wtwt5237 left,
sena_kun joined
06:09
lgtaube joined
06:10
jmerelo joined
|
|||
jmerelo | Great functional programming insights with tmtvl today in the Raku Advent Calendar rakuadventcalendar.wordpress.com/2...reduction/ | 06:29 | |
06:39
sena_kun left
06:41
ManDeJan left
06:49
stoned75 left
07:18
ManDeJan joined
07:31
jmerelo left
|
|||
abraxxa | how can I ignore a self-signed cert with Cro::HTTP::Client? | 07:43 | |
the exact error I get is 'Certificate contains no altnames to check host against' from IO::Socket::Async::SSL line 322 | 07:45 | ||
07:48
pochi_ joined
07:51
pochi left,
renormalist left,
renormalist joined
08:04
wamba joined
|
|||
abraxxa | see github.com/croservices/cro-http/issues/77 | 08:07 | |
xinming_ | Is it ok to use something like start { react { ... } } ? | 08:26 | |
I never tried, Just thought, since I found that react will "pause" the script | |||
El_Che | morning | 08:34 | |
08:35
wamba left
08:39
wamba joined,
ManDeJan left
|
|||
abraxxa | Cro serializes JSON incorrect for me | 08:50 | |
a hash with two keys becomes an array with two hashes each containing only a single key | 08:51 | ||
JSON::Fast does that | 08:57 | ||
perl.bot doesn't list #raku, only the old #perl6 channels | 09:01 | ||
is there anything wrong with my syntax? paste.scsys.co.uk/587292 | |||
I need a comma after the closing bracket of the single hash so that it becomes an array | 09:10 | ||
how stupid is that! | |||
regardless if I use [] or () brackets | |||
jnthn | Yes, that's the single argument rule | 09:19 | |
Same reaosn that [1..10] gives you an array of 10 items, not 1 | |||
09:26
Doc_Holliwould joined
09:28
cpan-raku left
09:29
cpan-raku joined,
cpan-raku left,
cpan-raku joined,
Doc_Holliwood left,
Doc_Holliwood joined
09:32
wamba left,
Doc_Holliwould left,
ManDeJan joined
|
|||
abraxxa | jnthn: doesn't make sense to me as .. is a range operator | 09:33 | |
09:33
Doc_Holliwould joined,
abraxxa left,
abraxxa joined
09:35
Doc_Holliwood left
09:36
Doc_Holliwood joined
09:39
Doc_Holliwould left
09:40
TreyHarris joined,
Doc_Holliwould joined,
abraxxa left,
abraxxa joined
09:42
discord6 left,
timotimo left
09:43
Doc_Holliwood left,
Doc_Holliwood joined
09:45
ManDeJan left
09:46
Doc_Holliwould left
09:47
Doc_Holliwould joined
09:49
Doc_Holliwood left
09:50
holli joined
09:51
wamba joined
09:53
Doc_Holliwould left
09:54
Doc_Holliwood joined
09:56
timotimo joined,
holli left
09:57
Doc_Holliwould joined
10:00
abraxxa left,
Doc_Holliwood left
10:01
holli joined
10:03
abraxxa joined
10:04
Doc_Holliwould left
10:05
Doc_Holliwould joined
10:08
holli left
10:09
holli joined
10:11
Doc_Holliwould left
10:12
Doc_Holliwood joined
10:15
holli left
10:16
Doc_Holliwould joined
10:18
Doc_Holliwood left
10:19
scimon joined,
Doc_Holliwood joined
10:22
Doc_Holliwould left
10:23
Doc_Holliwould joined
10:25
Doc_Holliwood left
10:27
Doc_Holliwood joined
10:30
Doc_Holliwould left
10:32
Doc_Holliwould joined
10:35
Doc_Holliwood left
10:36
Doc_Holliwood joined
10:38
Doc_Holliwould left
10:39
Doc_Holliwould joined
10:42
Doc_Holliwood left
10:43
Doc_Holliwood joined
10:45
Doc_Holliwould left
10:46
Doc_Holliwould joined
10:49
Doc_Holliwood left
10:50
Doc_Holliwood joined
10:53
Doc_Holliwould left,
abraxxa left
10:54
Doc_Holliwould joined
10:57
Doc_Holliwood left
10:58
Doc_Holliwood joined
10:59
abraxxa joined
11:01
Doc_Holliwould left,
Doc_Holliwould joined
11:05
Doc_Holliwood left,
Doc_Holliwood joined
11:08
Doc_Holliwould left,
Doc_Holliwould joined
11:11
Doc_Holliwood left
11:12
holli joined
11:14
Doc_Holliwould left
11:15
Doc_Holliwood joined
11:18
holli left
11:19
Doc_Holliwould joined
11:21
Doc_Holliwood left
11:22
Doc_Holliwood joined
11:25
Doc_Holliwould left
11:26
Doc_Holliwould joined,
wamba left
11:28
Doc_Holliwood left
11:29
Doc_Holliwood joined
11:32
Doc_Holliwould left
11:33
Doc_Holliwould joined
11:35
Doc_Holliwood left
11:36
scimon left,
Doc_Holliwood joined
11:39
Doc_Holliwould left
11:40
Doc_Holliwould joined
11:43
Doc_Holliwood left,
holli joined
11:46
Doc_Holliwould left
11:47
Doc_Holliwood joined,
Guest38485 joined
11:48
mid_laptop joined
11:49
holli left
11:50
Doc_Holliwould joined
11:52
scimon joined
11:53
Doc_Holliwood left
11:54
Doc_Holliwood joined
11:56
Doc_Holliwould left
11:57
Doc_Holliwould joined
12:00
Doc_Holliwood left
12:01
Doc_Holliwood joined
12:04
Doc_Holliwould left,
Doc_Holliwould joined
12:07
Doc_Holliwood left
12:08
Doc_Holliwood joined
12:09
lucasb joined,
sena_kun joined
12:10
Doc_Holliwould left
12:11
Doc_Holliwould joined
|
|||
SmokeMachine | u: š©āš©āš§āš¦ | 12:12 | |
unicodable6 | SmokeMachine, U+1F469 WOMAN [So] (š©) | ||
SmokeMachine, U+200D ZERO WIDTH JOINER [Cf] (Ā ā) | |||
SmokeMachine, 7 characters in total: gist.github.com/093401af4a604cdd6f...4dae6cee8a | |||
12:15
Doc_Holliwood left,
Doc_Holliwood joined
|
|||
Geth | doc: f26de212ba | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/control.pod6 Add example of an "is copy" iteration variable |
12:17 | |
12:17
Doc_Holliwould left
12:18
Doc_Holliwould joined
|
|||
Geth | doc: 11403aff73 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/control.pod6 improve grammar |
12:21 | |
12:21
Doc_Holliwood left,
wamba joined
12:22
Doc_Holliwood joined
12:25
Doc_Holliwould left,
Doc_Holliwould joined
12:28
Doc_Holliwood left
12:29
Doc_Holliwood joined
12:31
Doc_Holliwould left
12:32
Doc_Holliwould joined
12:34
scimon left
12:35
Doc_Holliwood left
12:36
Doc_Holliwood joined
12:39
Doc_Holliwould left,
Doc_Holliwould joined
|
|||
Geth | doc: 945c37eb93 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/control.pod6 Add note for the unwary |
12:40 | |
12:42
Doc_Holliwood left
12:43
Doc_Holliwood joined
12:46
Doc_Holliwould left,
Doc_Holliwould joined
12:47
scimon joined
12:48
wamba left
12:49
Doc_Holliwood left
12:50
Doc_Holliwood joined
12:53
Doc_Holliwould left,
Doc_Holliwould joined
12:56
Doc_Holliwood left
12:57
Doc_Holliwood joined,
mid_laptop left
12:59
Doc_Holliwould left
13:00
Doc_Holliwould joined
13:02
sena_kun left
13:03
Doc_Holliwood left
13:04
holli joined
13:07
Doc_Holliwould left,
Doc_Holliwood joined
13:09
abraxxa left,
abraxxa joined
13:10
holli left
13:11
Doc_Holliwould joined
13:13
wamba joined
13:14
Doc_Holliwood left
13:16
sena_kun joined
13:23
sarna left
13:35
sarna joined
13:54
nosqrt left
14:14
MasterDuke left
14:16
Doc_Holliwould left
14:17
MasterDuke joined
14:18
Doc_Holliwood joined
14:23
abraxxa left,
abraxxa joined
14:25
abraxxa left
14:26
abraxxa joined
14:28
joule joined
14:38
abraxxa left
14:39
abraxxa joined
14:42
abraxxa left
14:43
abraxxa joined
|
|||
xkr47 | tbrowder, a friend called it a toombstone... :) | 14:47 | |
tbrowder | xkr47, i'm not fast enough on humor, is that a play on "tomb"? or a typo? | 14:49 | |
if you meant 'tombstone' that is ghoulishly funny! | 14:50 | ||
no, actually, wryly humourous or, perhaps, touchingly warm praise? | 14:51 | ||
15:02
sena_kun left
|
|||
tbrowder | xkr47: ^^ | 15:05 | |
15:16
wamba left
15:17
sena_kun joined
15:20
wamba joined
15:38
xinming_ left
15:39
xinming_ joined
15:55
jmerelo joined
15:58
mid_laptop joined
|
|||
Doc_Holliwood | m: .say for DateTime.new('2019-12-12T12:00:00Z') ... DateTime.new('2019-12-12T12:00:00Z') | 16:13 | |
16:13
ben_m joined
|
|||
camelia | (timeout)2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T12:00:00Z 2019-12-12T1ā¦ |
16:13 | |
Doc_Holliwood | m: .say for DateTime.new('2019-12-12T12:00:00Z') ... DateTime.new('2019-12-12T15:00:00Z') | 16:14 | |
camelia | 2019-12-12T12:00:00Z No such method 'succ' for invocant of type 'DateTime'. Did you mean any of these? sum utc in block <unit> at <tmp> line 1 |
||
ben_m | Does anyknow know of an Emacs inferior raku mode or a way to make the raku repl work with comint-mode? | ||
Doc_Holliwood | m: role UpOneHour { method succ() { self.clone( :hour( self.hour + 1 ) ) } }; .say for (DateTime but UpOneHour).new('2019-12-12T12:00:00Z') ... (DateTime but UpOneHour).new('2019-12-12T16:00:00Z') | 16:15 | |
camelia | 2019-12-12T12:00:00Z 2019-12-12T13:00:00Z 2019-12-12T14:00:00Z 2019-12-12T15:00:00Z 2019-12-12T16:00:00Z |
||
Doc_Holliwood | aha! | ||
gotta love this language. just why does the first expression create a infinity loop when there is no "succ" method | 16:16 | ||
unless there is something looking at the endpoints, sees they are identical and optimizes to that? | 16:17 | ||
ben_m | Is there an elegant way to check if a loop was exited using `last` or if it looped through completely? | 16:32 | |
16:33
abraxxa left,
abraxxa joined
16:34
wamba left
|
|||
[Coke] | m: ^10 -> $i { say $i; last if $i == 3; CONTROL { dd $_ }} ; say "done" | 16:37 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Unexpected block in infix position (missing statement control word before the expression?) at <tmp>:1 ------> 3^107ā5 -> $i { say $i; last if $i == 3; CONTRO expecting any of: ā¦ |
||
[Coke] | m: for ^10 -> $i { say $i; last if $i == 3; CONTROL { dd $_ }} ; say "done" | ||
camelia | 0 CX::Last.new 1 2 3 done |
||
[Coke] | ^^ | ||
if you try that locally and comment out the "last if..." line you'll see the control block is never invoked. | |||
sena_kun | m: for ^10 -> $i { say $i; last if $i == 3; #`( CONTROL { dd $_ } )} ; say "done" | 16:40 | |
camelia | 0 1 2 3 done |
||
[Coke] | You can try to use a "when..." block inside the CONTROL but then you have to be careful to not stop the last from happening. | ||
Note that the output is out of order in my first example due to stderr/stdout interleaving. | 16:41 | ||
Doc_Holliwood | maybe you should mention the block does get triggered on other things as well. such as return, fail, redo, next, last, done, emit, take, warn, proceed and succeed | ||
I would use a flag for that | 16:42 | ||
ben_m | What I'm looking for is basically Python's else clause on a loop | 16:43 | |
[Coke] | m: for ^10 -> $i { say $i; last if $i==3; CONTROL { when CX::Last { say "last"; last } } }; say "done"; | ||
camelia | 0 1 2 3 last done |
||
[Coke] | there, there handles last specifically. | 16:44 | |
(and orders output correctly) | |||
16:45
cspencer joined
|
|||
cspencer | hello all! iām curious is there has been any work done on bindings for either the torch or tensorflow libraries. previously, iāve used python for some of my deep learning experimentation, but iād be curious to try it in raku as well | 16:45 | |
tadzik | ben_m: in my experience the Python's for-else is mostly useful for trying to find something in a list: perhaps it'd be easier to just do that without a loop in your case? | ||
like the .first() method | |||
16:49
robertle joined
|
|||
ben_m | Usually, yes. And I can probably restate this problem in a more raku way. What I'm doing is basically `while (something) { if (test) { process_thing; $found = True; last; } } unless $found { process_no_thing }` | 16:50 | |
Not iterating through a list in this case | 16:51 | ||
tadzik | hm, I see | 16:58 | |
17:02
sena_kun left
|
|||
Doc_Holliwood | m: multi sub foo($found where $found) { say "process_no_thing" }; multi sub foo($found where !$found) { loop { return if "process_thing" } }; foo( True ); foo( False ); | 17:03 | |
camelia | process_no_thing | ||
Doc_Holliwood | m: multi sub foo($found where $found) { say "process_no_thing" }; multi sub foo($found where !$found) { loop { return if "process_thing" } }; foo( False ); | ||
camelia | ( no output ) | ||
Doc_Holliwood | huh | ||
m: multi sub foo($found where $found) { say "process_no_thing" }; multi sub foo($found where not $found) { loop { return if "process_thing" } }; foo( False ); | |||
camelia | ( no output ) | ||
Doc_Holliwood | m: multi sub foo($found where $found) { return "process_no_thing" }; multi sub foo($found where not $found) { loop { return "process_thing" if "process_thing" } }; say foo( False ); | 17:04 | |
camelia | process_thing | ||
Doc_Holliwood | m: multi sub foo($found where $found) { return "process_no_thing" }; multi sub foo($found where not $found) { loop { return "process_thing" if "process_thing" } }; say foo( True ); | ||
camelia | process_no_thing | ||
Doc_Holliwood | here we go | ||
ben_m: ^^ | |||
17:17
sena_kun joined
17:25
wamba joined
|
|||
ben_m | I'm not sure that's what I mean but I'll have another look in a bit | 17:28 | |
17:28
mid_laptop left
17:36
lgtaube left
|
|||
lizmat forgot to clickbait rakudoweekly.blog/2019/12/02/2019-...ed-advent/ this morning | 17:38 | ||
AlexDaniel | squashable6: status | 17:41 | |
squashable6 | AlexDaniel, ā š Next SQUASHathon in 2 days and ā10 hours (2019-12-07 UTC-12āUTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel | ben_m: I think this is a fun related read: blogs.perl.org/users/damian_conway/...ratch.html :) | 17:49 | |
Geth | doc: 5bb0e8c8f9 | timo++ (committed using GitHub Web editor) | doc/Type/IO/Path.pod6 IO::Path.rmdir returns a Failure, not throws an Exception |
17:54 | |
ben_m | AlexDaniel: thanks, that really is interesting | 17:56 | |
AlexDaniel | ben_m: I also needed the `else {}` feature a few times, but its use is so rare that I think writing out explicitly what you need is more readable | 17:57 | |
ben_m | Yeah, I'm just used to raku having elegant solutions for everything so I thought I'd ask :) | 17:59 | |
AlexDaniel | `.first(ā¦) // ādefaultā` is kinda it | 18:05 | |
oh no, I'm about to write something ugly š¤¢ | 18:07 | ||
.map for its side effect: for gather @foo.map(ā¦) { | 18:08 | ||
I think there's a spot for me in hell being prepared | |||
Kaiepi | .tell jnthn, can you sum up what metaclasses, metaobjects, metamethods, and HOWs are? i need to ensure i'm getting the jargon for the MOP straight for my advent article on the 14th | ||
tellable6 | Kaiepi, and I oop! Backtrace: gist.github.com/525cc9776f5452cdb1...7d86a7b7b6 | ||
AlexDaniel | Kaiepi: one sec I'll fix it | 18:09 | |
lizmat | Kaiepi: ls src/Perl6/Metamodel/*HOW* | ||
AlexDaniel | Kaiepi: can you try again? | 18:10 | |
Kaiepi | .tell jnthn, can you sum up what metaclasses, metaobjects, metamethods, and HOWs are? i need to ensure i'm getting the jargon for the MOP straight for my advent article on the 14th | ||
tellable6 | Kaiepi, I'll pass your message to jnthn | ||
Kaiepi | thanks AlexDaniel | 18:11 | |
AlexDaniel | ah wait, did sena_kun already fix that bug | 18:13 | |
18:14
wildtrees joined
|
|||
AlexDaniel | and I simply have to update JSON::Fast | 18:14 | |
18:15
justconcerned joined
18:16
chloekek joined,
tellable6 left
18:18
tellable6 joined
18:19
hkdtam joined
|
|||
AlexDaniel | .tell Kaiepi test test | 18:19 | |
tellable6 | AlexDaniel, I'll pass your message to Kaiepi | ||
AlexDaniel | Kaiepi: I think that bug is fixed now! | ||
sena_kun++ timotimo++ | |||
Kaiepi | lizmat, i've read most of those files, but i want to be certain i explain what they are correctly | ||
18:20
mensvaga joined
|
|||
Kaiepi | s/they are/those terms mean/ | 18:20 | |
sena_kun | AlexDaniel which one, github.com/timo/json_fast/commit/0...33adb08192 ? | 18:25 | |
AlexDaniel | sena_kun: yep! | 18:26 | |
sena_kun | ah. $comma_development_process++ and the fact that our docs contain unicode examples++ for this bugfix. :> | ||
AlexDaniel | well, I did know about that bug for quite some time | 18:27 | |
because people like to send unicode stuff on IRC :D | |||
I was just procrastinating hoping that somebody else will fix it | |||
sena_kun | well, your hopes were granted. \o/ | 18:28 | |
AlexDaniel | hehā¦ | ||
I guess upcoming rakudo releases are in good hands :) | |||
sena_kun: colabti.org/irclogger/irclogger_lo...12-02#l184 | 18:29 | ||
sena_kun: I'm trying to make sourceable a bit more, um, whateverably :) | 18:30 | ||
you can now give it non-HEAD commits and it also dwims like 50% of the time | 18:31 | ||
sena_kun | AlexDaniel, I am ok with whatever the license, really... How to mention: if it's the license header with this `Copyright Foo Bario <haha@bububu>` thing, then `Alexander Kiryuhin` and the e-mail you can find at my githug profile is ok | ||
AlexDaniel | trying to nail the remaining 49% :) | ||
sena_kun: ok, then, maybe consider changing your git config | 18:32 | ||
18:50
Kaiepi left,
Kaiepi joined
18:51
Kaiepi left
18:54
finanalyst joined
18:56
lgtaube joined
19:03
sena_kun left
19:11
mid_home joined,
wamba left
19:12
wamba joined
19:18
sena_kun joined
19:19
cspencer left
|
|||
guifa | AlexDaniel: rereading that article by Damian has me thinking post-rename. The for(;;) structure errors, but given that ; is also a list op,it should be perfectly valid syntax | 19:20 | |
p6: my @a = (* + 2; * * 2; * ** 2); for @a {Ā say .(3) } | |||
camelia | 5 6 9 |
||
guifa | p6: for (* + 2; * * 2; * ** 2) {Ā say .(3) } | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Unsupported use of C-style "for (;;)" loop; in Perl 6 please use "loop (;;)" at <tmp>:1 ------> 3for 7ā5(* + 2; * * 2; * ** 2) {Ā say .(3) } |
||
guifa | (it seems to not have any problem with n < 2 or n > 3 whatever blocks, but it does oddly complain that theyāre in sink context) | 19:24 | |
p6: for (* + 2; * - 2) {Ā say .(3)Ā } | |||
camelia | WARNINGS for <tmp>: 5 1 Useless use of "+" in expression "* + 2" in sink context (line 1) Useless use of "-" in expression "* - 2" in sink context (line 1) |
||
19:39
jmerelo left,
scimon left
19:45
veesh left
19:46
MasterDuke left
19:51
justconcerned left
19:53
rayperry joined
19:55
squashable6 left
19:57
squashable6 joined
19:59
veesh joined
20:01
rayperry left,
cspencer joined
20:02
squashable6 left,
MasterDuke joined,
cspencer left
20:04
squashable6 joined
|
|||
AlexDaniel | guifa: hmm github.com/rakudo/rakudo/pull/1188 | 20:06 | |
20:09
johnrd joined
|
|||
johnrd | I have a class C that contains a nested class D. how can a method in D access C's attributes? in general, how can a method in D refer to C's "self"? | 20:09 | |
if that can't be done I'll find a workaround but I'd still like to know | 20:15 | ||
20:16
veesh left
20:17
veesh joined
|
|||
sena_kun | johnrd there is no such linking, but you can 1)store self of class C in class D, for example | 20:17 | |
20:21
veesh left
|
|||
sena_kun | m: class D {...}; class C { has D $.d; has $.hehe = 42; submethod TWEAK { $!d = D.new(c => self) } }; class D { has C $.c; method m { say $!c.hehe; } }; C.new.d.m; | 20:22 | |
camelia | 42 | ||
20:22
veesh joined
|
|||
sena_kun | johnrd see ^ | 20:22 | |
20:26
veesh left,
veesh joined
20:28
veesh left,
lucasb left
20:29
veesh joined,
veesh left
20:30
rindolf left,
veesh joined
20:31
veesh left
20:33
veesh joined
20:40
veesh left
20:41
veesh joined,
veesh left,
johnrd left
20:42
veesh joined
20:43
veesh left,
veesh joined
20:49
joule left
21:02
sena_kun left
21:14
captain_none_ame joined
|
|||
captain_none_ame | hi | 21:14 | |
I am searching for a man who will create the most powerfull web framework in Raku | |||
21:17
sena_kun joined
21:18
captain_none_ame left
|
|||
moritz | how's the search going, so far? | 21:35 | |
lizmat wonders why captain_none_ame would disqualify more than half of the world's population | 21:44 | ||
21:44
stoned75 joined
21:57
Kaiepi joined,
johnjay left
22:02
wamba left,
johnjay joined,
johnjay left
22:04
johnjay joined
22:08
cspencer joined
|
|||
guifa | AlexDaniel: definitely related, but distinct. loop() needs to have exactly 0 (sans parentheses) or 3 expressions. Thereās no real reason to stop for() from having them, other than to avoid perl5isms, though | 22:32 | |
AlexDaniel | lizmat: could very well be accidental language barrier thing | 22:41 | |
22:42
lucasb joined
|
|||
AlexDaniel | sometimes I write āheā on autopilot (out of habit?), then I punch myself | 22:42 | |
veesh | could be one of the old fashioned types who uses the male as gender neutral | 22:48 | |
or maybe it's 'a man' as in someone who's 'the man' | |||
lots of options | |||
sena_kun | I am more interested in "most powerful web framework" part, to be honest. the conditions of the deal make me very curious... | 22:49 | |
veesh | also difficult if you don't define by what means you're measuring power | 22:50 | |
'most expressive'? | |||
can do the most things? | |||
sena_kun | if it is something else than "Who is pretty skilled here and has absolutely nothing to do at the same time to write tons of pretty, complex code and squash bugs everywhere and then write even more". | ||
veesh | can shoot a kamehaha wave? | ||
i would use a web framework that could go super saiyan any day | 22:51 | ||
sena_kun ported a flask tutorial to Cro::HTTP and the sources were twice as small, for example | |||
veesh | lol | 22:52 | |
well, if you cut out all the whitespace, then that's easy | |||
especiallly if it's spaces and not tabs | |||
AlexDaniel | sena_kun: niiice | 22:56 | |
I'm actually interested in something django-like | |||
sena_kun | AlexDaniel, well, django is another matter... It is not minimalism anymore and I don't think cro fits. | 22:57 | |
AlexDaniel | sena_kun: it surely fits? It's just that a lot more needs to be implemented too | 22:59 | |
23:02
sena_kun left
23:03
sena_kun joined,
sena_kun left
23:07
chloekek left
|
|||
veesh | what's so great about django? I didn't enjoy it when i was learning it | 23:13 | |
but then again, that was when i just started programming | |||
23:22
finanalyst left
23:24
Xliff joined
23:54
stoned75 left
|