🦋 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. |
|||
raiph | SmokeMachine: I've written something in it. I don't see how to link to the site with my text in it. Surely there's a way? | 00:02 | |
SmokeMachine | I don't think there is... :( | 00:03 | |
raiph: but you can copy the text | 00:04 | ||
raiph | throw bow n arrow through loopy hoop | ||
SmokeMachine | throw/θrəʊ/ | 00:05 | |
bow/baʊ/ | |||
n/ɛn/ | |||
arrow/ˈærəʊ/ | |||
through/θruː/ | |||
loopy/ˈluːpi/ | |||
hoop/huːp/ | |||
raiph | SmokeMachine: Do you hear a difference between grow and food? | 00:06 | |
SmokeMachine | raiph: yes.. but I think the harder to me is `a` and `æ` | 00:07 | |
raiph | ok, but the difference between throw and through, is the same as between so / mood, glow / brood, blow / rude | 00:08 | |
00:09
oneeggeach left
|
|||
raiph | so for throw / through, and other word pairs with the same phonetics that you confuse, don't rely on phonetics | 00:10 | |
instead, try relying on tiny stories you make up, with rhyming | |||
00:12
frej00 joined
|
|||
raiph | s/same/similar/ | 00:16 | |
SmokeMachine: goodnight; I hope you dream of throwing dictionaries through hoops :) | 00:18 | ||
00:18
raiph left
00:36
Doc_Holliwood left
00:37
gnufr33dom joined
00:47
marcusr left
00:48
marcusr joined
01:19
pecastro left
|
|||
guifa2 | JJAtria[m]: ah that works. Although it's a bit awkward to need to use metas for it. I think I'll still have a proper method too (there's two versions anyways — data and code — so it makes sense to have both in the same spot) | 01:33 | |
02:02
rindolf joined
02:07
k-man left,
k-man joined
02:08
rindolf left
02:10
rindolf joined
02:15
mowcat left,
MasterDuke left
02:47
kvw_5_ joined
02:50
kvw_5 left
03:20
leont left
|
|||
guifa2 | SmokeMachine: it's not like Portuguese is any better with -o being any of <ó ô u ə Ø> ;-) | 03:44 | |
04:20
linkable6 left,
evalable6 left
04:21
evalable6 joined
04:22
linkable6 joined
04:28
sortiz joined
05:03
telex left
05:04
telex joined
05:20
Doc_Holliwood joined
|
|||
guifa2 | This feels....oddly circular | 05:24 | |
m: class A { class B { }; also is B } | 05:25 | ||
camelia | ( no output ) | ||
05:37
japhb joined
05:43
krkini joined
05:45
kini left
05:46
aindilis left
06:00
k-man left
06:03
berber44 left
06:18
krkini left
06:19
Doc_Holliwood left
06:21
kini joined
06:41
wamba joined
07:04
ufobat__ joined
07:07
ufobat__ left
07:13
ufobat joined
07:15
sortiz left
07:18
Sgeo left
07:21
kini left
07:25
kini joined
07:35
epony left
07:36
Doc_Holliwood joined,
stigo joined
07:38
aindilis joined
07:42
aborazmeh joined
|
|||
SmokeMachine | guifa2: but Portuguese I know! :) | 07:44 | |
07:45
kini left,
kini joined
07:46
abraxxa joined,
MasterDuke joined
07:48
kini left
07:50
abraxxa left
07:51
abraxxa joined
07:52
aborazmeh left,
Garbanzo left
07:53
kini joined
07:55
domidumont joined
07:57
gnufr33dom left
08:08
guifa2 left
08:17
parabolize left
08:27
kini left
08:28
kini joined
08:30
wamba left
08:31
epony joined
08:53
leont joined
08:57
dakkar joined
|
|||
nine | raiph: callbacks are indeed the way to go. Inline::Perl6 is an example of how to embed MoarVM and run Raku code from C: metacpan.org/source/NINE/Inline-Pe...9/Perl6.xs | 09:06 | |
tellable6 | nine, I'll pass your message to raiph | ||
09:16
pecastro joined
09:18
sena_kun left
09:27
sena_kun joined
09:57
aindilis left
09:58
aindilis joined
10:33
MasterDuke left
10:34
MasterDuke joined
|
|||
SmokeMachine | Does anyone know how can I get more details about the Raku programmer at Atikon? (github.com/Raku/problem-solving/is...782104766) | 10:42 | |
El_Che | SS | 10:43 | |
sorry | |||
SmokeMachine: ping nine | |||
SmokeMachine | El_Che: thanks! | 10:46 | |
nine: is there a way of getting more details about the Raku programmer position at Atikon? | 10:47 | ||
10:51
wamba joined
|
|||
nine | SmokeMachine: I can tell you about it :) | 10:55 | |
SmokeMachine | nine: please, do! :) | 10:56 | |
10:59
linkable6 left
11:00
linkable6 joined
11:01
linkable6 left
11:03
sno left
11:04
linkable6 joined
11:53
Doc_Holliwood left
12:10
frej00 left,
frej00 joined
12:12
dakkar left
12:28
JRaspass joined
12:41
pony joined
12:46
sno joined
12:52
frej00 left
12:56
dakkar joined
13:13
guifa2 joined
13:26
gnufr33dom joined
13:33
rindolf left
13:48
cog__ left
13:51
guifa2 left
13:54
rindolf joined
13:58
Yomi joined,
Yomi is now known as Guest97914
14:05
peri404 joined,
perigrin left
14:18
Guest97914 left
|
|||
JJAtria[m] | m: my %x{Mu}; class A { }; %x{A} = "XXX"; say %x{A.new.WHAT} | 14:35 | |
camelia | XXX | ||
JJAtria[m] | m: my %x{Mu}; role A { }; %x{A} = "XXX"; say %x{A.new.WHAT} | ||
camelia | (Any) | ||
JJAtria[m] | m: my %x{Mu}; role A { }; %x{A.new.WHAT} = "XXX"; say %x{A.new.WHAT} | 14:36 | |
camelia | XXX | ||
JJAtria[m] | ^ I guess this is because when using a role, the assignment is using the role, but when I read the variable I'm using the punned class, and those are treated as different | ||
Is there a way to get access to the pun without actually calling `new`? | 14:37 | ||
Well, .^pun does the trick 🎉 | 14:48 | ||
14:50
Sgeo joined
14:54
jjmerelo joined
14:56
jmerelo left
14:57
JRaspass left
15:06
peri404 is now known as perigrin
15:25
maggotbrain left
|
|||
lizmat | and another Rakudo Weekly hits the Net: rakudoweekly.blog/2021/02/22/2021-08-first-21/ | 15:37 | |
afk for a few hours& | 15:39 | ||
15:43
maggotbrain joined
15:49
gnufr33dom left
16:19
parabolize joined
|
|||
rindolf | .seen TimToady | 16:21 | |
tellable6 | rindolf, I saw TimToady 2019-07-22T20:38:55Z in #perl6-dev: * TimToady had the power company swapping his electric meter, and it broke my / key | ||
16:37
MasterDuke left
16:53
donaldh joined
16:57
JRaspass joined
|
|||
tbrowder | hi, i'm looking for recommendations on best of the currently-available Raku/Perl 6 books (paper) for highly experienced Perl people. | 16:58 | |
shameless plugs are fine ;-D | |||
17:06
Garbanzo joined
17:11
aborazmeh joined
17:16
donaldh left
17:33
dakkar left
17:40
Doc_Holliwood joined
17:42
perigrin left
17:45
domidumont left
17:48
perigrin joined
|
|||
moritz | I'd like to think that even most experienced raku programmers can learn something from my Parsing book | 17:49 | |
(maybe with the exception of jnthn++ :-) | |||
lizmat | so true! | ||
on both statements :) | |||
17:51
domidumont joined
17:59
mowcat joined
18:01
domidumont left
18:02
guifa2 joined
18:11
DinoAllo left
18:13
aluaces left
18:18
DinoAllo joined
18:23
brtastic joined,
DinoAllo left
18:25
DinoAllo joined
18:34
mowcat left
18:35
Doc_Holliwood left,
aluaces joined
18:36
Xliff joined
18:45
mowcat joined
19:21
Doc_Holliwood joined
|
|||
tonyo | .seen skaji | 19:26 | |
tellable6 | tonyo, I saw skaji 2019-04-25T13:24:52Z in #perl6: <skaji> ugexe: gist.github.com/skaji/9b90b942bdfa...1d7e8660c7 | ||
19:30
ufobat left
19:48
wamba left,
MasterDuke joined
19:50
JRaspass left
20:01
Doc_Holliwood left
|
|||
tbrowder | moritz: thnx, but maybe a bit too early for someone who hasn'tbeen interested | 20:06 | |
* | |||
*who id | |||
barf...too soon for someone not yet interested in raku | 20:07 | ||
20:08
linkable6 left
|
|||
tbrowder | maybe recommend it along with a more intro book | 20:08 | |
20:09
linkable6 joined
|
|||
guifa2 | any way to access a private attribute during in a trait_mod for a different attribute? | 20:09 | |
summerisle | i presume MOP would work? | 20:18 | |
20:21
xelxebar left,
xelxebar joined
20:27
Doc_Holliwood joined
|
|||
tbrowder | the "barf" was NOT a slam on moritz's book in case someone thought so. i was clearing my fumble-fingering... | 20:34 | |
guifa2 | summerisle: huh, I didn't realize attributes would give up the private ones too | 20:56 | |
21:18
zxcvz left
21:31
rindolf left
21:35
neshpion joined
21:44
Black_Ribbon joined
|
|||
summerisle | it makes sense when you think about it. ruby's behaviour is similar | 21:47 | |
where no attributes are truly private, just a little harder to mess with | 21:48 | ||
tonyo | m: class A { has $!x = 42; }; say A.^attributes[0].get_value(A.new); | 22:05 | |
camelia | 42 | ||
tonyo | m: class A { has $!x = 42; }; say A.^attributes.grep(*.name eq '$!x').first.get_value(A.new); | 22:06 | |
camelia | 42 | ||
tonyo | pretty easy to bypass `privacy` | 22:07 | |
guifa2 | summerisle: yeah, I think it's just one of those things of remembering where to look for it | 22:15 | |
but yay, this will make my code much cleaner now. I was manually writing some lazy loading routines, that were all backed by the same data file — that's what I wanted in a private attribute but still available to the access method made a trait | 22:16 | ||
22:19
brtastic left
22:43
k-man joined
22:47
aborazmeh left,
brtastic joined
22:50
brtastic left
23:33
JRaspass joined
|