🦋 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. |
|||
00:03
sena_kun joined
00:04
Altai-man_ left
00:07
MilkmanDan left
00:27
oddp left,
rbt left
00:28
rbt joined
00:30
lichtkind left
00:33
MilkmanDan joined
00:50
hungrydonkey joined
00:58
maggotbrain777 joined
01:01
maggotbrain left
01:24
markong left
01:32
yuplushi left
01:34
raku-bridge left,
raku-bridge joined,
raku-bridge left,
raku-bridge joined
|
|||
rypervenche | Oh wow, I'm stupid for not having tried out Getopt::Long sooner. I didn't realize it supported the default MAIN arguments and gave me the functionality that I wanted. :O | 01:39 | |
01:39
timotimo left
01:40
hungrydonkey left,
hungrydonkey joined
01:54
dataangel joined
02:02
Altai-man_ joined
02:05
sena_kun left
02:17
yuplushi joined
03:08
nightfrog left
03:10
nightfrog joined
03:11
rbt left,
rbt joined
04:08
e left,
robinsmidsrod left,
webstrand left,
cpan-raku left,
xinming left,
stoned75 left,
[Coke] left,
ambs left,
telex left,
schlaftier left,
broquaint left,
bdju left,
HarmtH left,
cpage left,
grumble left,
samcv left,
raku-bridge left,
vike left,
Benett left,
Woodi left,
m_athias left,
synthmeat left,
andinus left,
skyl4rk left,
a3r0 left,
dpk left,
tomaw left,
renormalist left,
xi left,
Mithaldu left,
nine left,
jdv79 left,
tailgate left,
perryprog left,
tardisx left,
nightfrog left,
maggotbrain777 left,
Black_Ribbon left,
Sgeo left,
ensamvarg left,
aluaces left,
skaji_ left,
k-man left,
finsternis left,
nebuchadnezzar left,
timlegge left,
[ptc] left,
Bucciarati left,
KotH left,
yuplushi left,
bingos left,
ecocode left,
BuildTheRobots left,
zostay left,
timeless left,
isacl___ left,
Grinnz left,
Roamer`_ left,
rypervenche left,
simcop2387 left,
daxim left,
xq left,
albino left,
esh left,
rba left,
xfix left,
AlexDaniel` left,
erdic left,
silug left,
Summertime left,
hobbs left,
eater left,
nekomune left,
yangzq50 left,
camelia left,
jhill left,
reach_satori_ left,
libertas left,
jast left,
spacebat2 left,
TreyHarris left,
krunen left,
rjbs left,
kini left,
literal left,
samebchase- left,
perigrin left,
ptrcmd left,
freezing_ left,
brass left,
Voldenet left,
polettixx left,
fling left,
_jrjsmrtn left,
lizmat left,
discoD left,
eseyman left,
stux|RC left,
gordonfish left,
sno left,
Maylay left,
lnx left,
mst left,
riatre left,
rbt left,
TimToady left,
abraxxa left,
orinthe left,
phogg left,
jjatria left,
gabiruh left,
helit left,
gfldex left,
Util left,
astronavt left,
ingy left,
dg left,
Ulti left,
masak left,
autarch left,
moritz left,
cxreg left,
squashable6 left,
releasable6 left,
quotable6 left,
linkable6 left,
sourceable6 left,
benchable6 left,
evalable6 left,
coverable6 left,
shareable6 left,
sergot_ left,
dotdotdot left,
mniip left,
eery left,
pierrot left,
karupanerura left,
shadowpaste left,
robertle left,
cibs left,
unclechu left,
Celelibi left,
holyghost left,
hoelzro left,
Altreus left,
moon-child left,
Grauwolf left,
wbn left,
eiro left,
jcallen left,
jnthn left,
matiaslina left,
dudz left,
xkr47 left,
fridim left,
smash left,
kawaii left,
dylanwh left,
spycrab0 left,
mithaldu_ left,
PotatoGim left,
ShimmerFairy left,
elcaro_ left,
moony left,
kent\n left,
roguelazer left,
a3f left,
domm left,
mtj_ left,
Grrrr left,
perlmaros left,
Altai-man_ left,
Geth left,
El_Che left,
Zero_Dogg left,
oodani left,
charsbar left,
samebchase left,
tinita left,
m0ltar left,
APic left,
japhb left,
perlbot left,
kybr left,
gugod left,
dataangel left,
tobs left,
Kaiepi left,
Noisytoot left,
dogbert17 left,
epony left,
SmokeMachine left,
vrurg left,
aindilis left,
sivoais left,
dustinm`_ left,
benaiah left,
lucs left,
kst left,
xxpor left,
ribasushi left,
a6502 left,
tadzik left,
protium left,
CIAvash left,
Nasrudin left,
mrsolo left,
poga left,
avar left,
leah2 left,
stux|RC-only left,
cgfbee left,
ChoppedBacon left,
Hotbees left,
pnu__ left,
DarthGandalf left,
greppable6 left,
committable6 left,
bisectable6 left,
reportable6 left,
Ekho left,
jmcgnh left,
cj left,
sftp left,
codesections left,
marcusr left,
tejr left,
xelxebar left,
caasih left,
tbrowder left,
statisfiable6 left,
bloatable6 left,
notable6 left,
tellable6 left,
unicodable6 left,
nativecallable6 left
04:11
peteretep left
04:13
peteretep joined,
Kaeipi joined,
nekomune joined,
eater joined,
hobbs joined,
Summertime joined,
silug joined,
erdic joined,
xfix joined,
brass joined,
freezing_ joined,
ptrcmd joined,
perigrin joined,
samebchase- joined,
literal joined,
kini joined,
rjbs joined,
krunen joined,
TreyHarris joined,
spacebat2 joined,
jast joined,
libertas joined,
reach_satori_ joined,
jhill joined,
camelia joined,
yangzq50 joined,
Altai-man_ joined,
telex joined,
gugod joined,
kybr joined,
perlbot joined,
japhb joined,
APic joined,
m0ltar joined,
tinita joined,
samebchase joined,
charsbar joined,
oodani joined,
Zero_Dogg joined,
El_Che joined,
Geth joined,
sena_kun joined,
dataangel joined,
tobs joined,
Kaiepi joined,
CIAvash joined,
ChoppedBacon joined,
Hotbees joined,
Noisytoot joined,
dogbert17 joined,
epony joined,
pnu__ joined,
caasih joined,
tbrowder joined,
mrsolo joined,
SmokeMachine joined,
DarthGandalf joined,
vrurg joined,
aindilis joined,
tejr joined,
statisfiable6 joined,
greppable6 joined,
committable6 joined,
bloatable6 joined,
notable6 joined,
bisectable6 joined,
reportable6 joined,
tellable6 joined,
unicodable6 joined,
nativecallable6 joined,
sivoais joined,
fridim joined,
Ekho joined,
perryprog joined,
tailgate joined,
tardisx joined,
jmcgnh joined,
smash joined,
xkr47 joined,
dudz joined,
protium joined,
tadzik joined,
a6502 joined,
ribasushi joined,
xxpor joined,
kst joined,
lucs joined,
benaiah joined,
dustinm`_ joined,
poga joined,
avar joined,
cj joined,
sftp joined,
leah2 joined,
stux|RC-only joined,
codesections joined,
marcusr joined,
cgfbee joined,
xelxebar joined,
Celelibi joined,
holyghost joined,
hoelzro joined,
Altreus joined,
moon-child joined,
Grauwolf joined,
wbn joined,
eiro joined,
jcallen joined,
jnthn joined,
dylanwh joined,
spycrab0 joined,
mithaldu_ joined,
PotatoGim joined,
ShimmerFairy joined,
elcaro_ joined,
moony joined,
kent\n joined,
roguelazer joined,
a3f joined,
domm joined,
mtj_ joined,
Grrrr joined,
perlmaros joined
04:14
Kaiepi left,
sena_kun left,
peteretep left,
peteretep joined,
kawaii joined,
squashable6 joined,
releasable6 joined,
quotable6 joined,
linkable6 joined,
sourceable6 joined,
benchable6 joined,
evalable6 joined,
coverable6 joined,
shareable6 joined,
sergot_ joined,
dotdotdot joined,
mniip joined,
eery joined,
pierrot joined,
karupanerura joined,
shadowpaste joined,
robertle joined,
cibs joined,
robinsmidsrod joined,
webstrand joined,
kawaii left,
kawaii joined,
PotatoGim left,
edk_ joined,
raku-bridge joined,
vike joined,
Benett joined,
Woodi joined,
m_athias joined,
synthmeat joined,
andinus joined,
skyl4rk joined,
a3r0 joined,
dpk joined,
tomaw joined,
renormalist joined,
xi joined,
Mithaldu joined,
nine joined,
jdv79 joined
04:15
yuplushi joined,
bingos joined,
ecocode joined,
zostay joined,
isacl___ joined,
Grinnz joined,
Roamer`_ joined,
rypervenche joined,
xq joined,
simcop2387 joined,
daxim joined,
albino joined,
esh joined,
rba joined,
timeless joined,
jmcgnh left,
nightfrog joined,
maggotbrain777 joined,
Black_Ribbon joined,
Sgeo joined,
ensamvarg joined,
aluaces joined,
skaji_ joined,
k-man joined,
finsternis joined,
nebuchadnezzar joined,
timlegge joined,
[ptc] joined,
Bucciarati joined,
KotH joined,
rbt joined,
TimToady joined,
abraxxa joined,
orinthe joined,
phogg joined,
jjatria joined,
gabiruh joined,
helit joined,
gfldex joined,
Util joined,
astronavt joined,
ingy joined,
dg joined,
Ulti joined,
masak joined,
autarch joined,
moritz joined,
cxreg joined
04:16
Voldenet joined,
polettixx joined,
fling joined,
_jrjsmrtn joined,
lizmat joined,
discoD joined,
eseyman joined,
stux|RC joined,
sno joined,
Maylay joined,
lnx joined,
mst joined,
riatre joined,
cpan-raku joined,
stoned75 joined,
[Coke] joined,
ambs joined,
schlaftier joined,
broquaint joined,
bdju joined,
HarmtH joined,
cpage joined,
grumble joined,
samcv joined,
CIAvash left,
xinming joined,
jhill left,
xfix left,
stux|RC left,
spycrab0 left,
Grinnz left
04:17
stux|RC joined,
jhill joined
04:18
Grinnz joined,
spycrab0 joined,
PotatoGim joined
04:19
peteretep left,
peteretep joined
04:20
AlexDaniel` joined,
BuildTheRobots joined
04:26
unclechu joined,
matiaslina joined,
xfix joined,
Nasrudin joined,
CIAvash joined
04:28
Sgeo left
04:30
rbt left
04:31
rbt joined
04:37
Sgeo joined,
wamba joined,
hungryd92 joined
04:41
hungrydonkey left
04:49
hungrydonkey joined
04:52
hungryd92 left
05:05
hungryd66 joined
05:07
hungrydonkey left
05:08
xinming left
05:09
xinming joined
05:16
k-man left
05:18
k-man joined
05:48
bocaneri joined
06:04
sena_kun joined
06:05
Altai-man_ left
06:12
xinming left
06:36
xinming joined
06:56
skids joined
07:01
sarna joined
07:18
skids left
07:24
xinming left
07:26
xinming joined
07:41
anatofuz joined
07:45
Sgeo left
07:47
rindolf joined
07:50
jmcgnh joined,
stoned75 left
07:52
stoned75 joined
08:02
Altai-man_ joined
08:05
sena_kun left
08:20
dudz is now known as dudzJobPlease
08:22
pecastro joined
08:25
dudzJobPlease is now known as dudz
08:44
anatofuz left
08:47
edk_ is now known as e
09:01
MasterDuke joined
09:22
oddp joined,
wamba left
09:33
wamba joined,
aborazmeh joined,
aborazmeh left,
aborazmeh joined
09:35
JJMerelo joined
09:36
stoned75 left
09:37
MasterDuke left
09:38
leont joined
09:45
JJMerelo left
09:46
aborazmeh left
10:03
sena_kun joined
10:05
holyghost left,
Altai-man_ left
10:37
wamba left
10:41
wamba joined
10:45
cpan-raku left
10:49
cpan-raku joined,
cpan-raku left,
cpan-raku joined
10:52
markong joined
10:58
markoong joined
10:59
markong left
11:23
cpan-raku left,
rindolf left,
nightfrog left,
maggotbrain777 left,
Black_Ribbon left,
ensamvarg left,
aluaces left,
skaji_ left,
finsternis left,
nebuchadnezzar left,
timlegge left,
[ptc] left,
Bucciarati left,
KotH left
11:27
cpan-raku joined,
rindolf joined,
nightfrog joined,
maggotbrain777 joined,
ensamvarg joined,
aluaces joined,
skaji_ joined,
finsternis joined,
nebuchadnezzar joined,
timlegge joined,
[ptc] joined,
Bucciarati joined,
KotH joined
11:50
moon-child left
|
|||
cpan-raku | New module released to CPAN! Game::Covid19 (0.0.1) by 03ELIZABETH | 11:52 | |
New module released to CPAN! Game::Covid19 (0.0.2) by 03ELIZABETH | 12:00 | ||
12:02
Altai-man_ joined
12:05
sena_kun left
12:36
rbt left
12:37
rbt joined
12:38
cpage_ joined
12:41
cpage left,
cpage_ is now known as cpage
|
|||
SmokeMachine | the link for `Raku Introductory course` on www.raku.org/downloads is broken | 12:45 | |
13:11
timo joined,
timo is now known as Guest99547,
Guest99547 is now known as timotimo
13:14
abraxxa left
13:26
Grinnz_ joined
13:27
Grinnz left,
Grinnz_ is now known as Grinnz
13:28
PotatoGim left
13:29
PotatoGim joined
13:30
stux|RC left,
cgfbee left
13:31
stux|RC joined
13:32
stux|RC-only left
13:35
MasterDuke joined
13:36
cgfbee joined,
stux|RC-only joined
13:42
wamba left
13:46
skids joined
13:52
sarna left
14:03
sena_kun joined
|
|||
[Coke] | moritz: ping | 14:03 | |
Geth | doc: codesections++ created pull request #3510: Correct associativity for infix:<Z> |
14:04 | |
moritz | [Coke]: pong(ish) | 14:05 | |
14:05
Altai-man_ left
|
|||
Geth | doc: d3cb49f7b3 | (Daniel Sockwell)++ | doc/Language/operators.pod6 Correct associativity for infix:<Z> This commit corrects the associativity for the `infix:<Z>` operator from `assoc<chain>` to `assoc<list>`. `Z` has list associativity because `$a Z $b Z $c == infix:<Z>($a, $b, $c)`. It does not have chain associativity: `($a Z $b Z $c) ≠ ($a Z $b) and ($b Z $c)`. The chart at the top of the page already correctly indicated that `Z` has list associativity and thus does not need to be updated. |
14:06 | |
linkable6 | Link: docs.raku.org/language/operators | ||
doc: 9cac6c359b | (Will Coleda)++ (committed using GitHub Web editor) | doc/Language/operators.pod6 Merge pull request #3510 from codesections-forks/Z-operator Correct associativity for infix:<Z> |
|||
[Coke] | moritz: trying to fix rakudo.org bugs. | ||
the docs indicate that the site is running on www.p6c.org - do you know if this is still true? | 14:07 | ||
moritz | [Coke]: that's false, p6c.org has been gone for over a year | ||
[Coke] | (tried to ssh in, no clue if I had an account, but it's just hanging on my end) | ||
ok. readme at github.com/perl6/rakudo.org needs to be updated. | |||
moritz | rba should know where it's running now | ||
[Coke] | er, linked to by... | ||
rba: hio | 14:08 | ||
moritz++ thanks | 14:09 | ||
[Coke] opened a ticket and tagged rba on github for the doc Q. | |||
.seen rba | 14:12 | ||
tellable6 | [Coke], I saw rba 2020-06-15T10:17:23Z in #raku-dev: <rba> This domain mismatch I could fix. Content not though. | ||
codesections | m: say 1 R/ 2; #`(is the same as) say infix:<R/> 1, 2; | 14:16 | |
camelia | 2 2 |
||
codesections | m: #`(But this doesn't work) (1, 2, 3) RZ <a b c>; | ||
camelia | Don't know setting RESTRICTED at gen/moar/ModuleLoader.nqp:258 (/home/camelia/rakudo-m-inst-2/share/perl6/lib/Perl6/ModuleLoader.moarvm:previous_setting_name) from gen/moar/ModuleLoader.nqp:262 (/home/camelia/rakudo-m-inst-2/share/perl6/lib/… |
||
codesections | m: #`(Even though this does:) say infix:<RZ> (1, 2, 3), <a b c>; | ||
camelia | Don't know setting RESTRICTED at gen/moar/ModuleLoader.nqp:258 (/home/camelia/rakudo-m-inst-2/share/perl6/lib/Perl6/ModuleLoader.moarvm:previous_setting_name) from gen/moar/ModuleLoader.nqp:262 (/home/camelia/rakudo-m-inst-2/share/perl6/lib/… |
||
codesections | Is that a bu?g | ||
er, that didn't generate the correct error. Let me try without the comment: | 14:17 | ||
m: say (1, 2, 3) RZ <a b c>; | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing infix inside R at <tmp>:1 ------> 3say (1, 2, 3) RZ7⏏5 <a b c>; expecting any of: infix infix stopper |
||
14:30
dataangel left
14:31
petr36 joined
|
|||
petr36 | Nice day 😎 | 14:31 | |
Or night)) | 14:32 | ||
14:33
OpenZen joined
|
|||
petr36 | I can't find any information about raku on jvm. Can anyone help me? | 14:34 | |
14:36
wamba joined
|
|||
[Coke] | there is a JVM backend for Rakudo - it is not at full parity to the MoarVM backend. (it's part of the same compiler - just targeting a different backend) | 14:38 | |
you can build from source. one sec. | |||
github.com/rakudo/rakudo#configuri...on-the-jvm | 14:39 | ||
codesections | Related question, while we're talking about backends: is there a JS backend? I've seen a couple of references to one, but I'm guessing it's no longer maintained/never really released (based on there not being much info) | 14:40 | |
jdv79 | iirc there's one person that works on the js backend pm...something | 14:41 | |
14:41
xinming left
|
|||
eery | afaik you can install it with npm | 14:42 | |
14:43
xinming joined
14:45
wamba left
|
|||
codesections | Oh, you know what, there *is* an npm package – but it's still called `perl6-runtime` rather than `raku` as I'd seen in docs previously | 14:45 | |
[Coke] | codesections: yes, there is a js backend (it's pmurias) | ||
eery | "npm install raku" and "npm install rakudo" work for me | 14:48 | |
petr36 | Thanks 😊 | 14:49 | |
codesections | good to know. Thanks :) | 14:50 | |
eery | but it's erroring out on a hello world raku script, hmmmm | 14:51 | |
timotimo | perl6.github.io/6pad/ - try this | ||
it takes a lot of time the first time it loads because rakudo's so big | |||
eery | oh, I think this node is just too ole, nvm | 14:52 | |
timotimo | rakudo does require support for ... integers of some kind i think? | ||
petr36 | Anyone used CommaIde? | 14:53 | |
What you think about it? | 14:54 | ||
eery | nqp-runtime uses a function added in node 10, I'm running node 9. I dom't use JS much | 14:55 | |
[Coke] | moritz: github.com/perl6/rakudo.org/blob/m...he.conf#L7 ? | 14:56 | |
moritz | looks VERY old | ||
[Coke] | thought you might want to commit a fix or file a bug or whatever. :) | 14:57 | |
Also, we might want to setup an infrastructure gmail address or something. | 14:58 | ||
moritz git rm's | 15:01 | ||
15:02
yangzq50 left,
yangzq50 joined
15:03
petr36 left
|
|||
[Coke] | moritz: so are all those redirects defined somewhere else now? | 15:07 | |
(or some of them) | |||
anyone use Mojo enough to diagnose github.com/perl6/rakudo.org/issues/42 ? | 15:16 | ||
Grinnz | [Coke]: looks like a problem with the AssetPack plugin setup | 15:18 | |
metacpan.org/pod/Mojolicious::Plug...ESCRIPTION | 15:21 | ||
i think the error message is that it can't find the 'sass' program | |||
[Coke] | Grinnz: so maybe we should make CSS::Sass a required dep instead of optional? | 15:25 | |
Grinnz | seems like it would solve that, assuming it can be installed | 15:26 | |
[Coke] | trying locally | 15:27 | |
15:29
yangzq50 left
|
|||
[Coke] | couldn't build CSS::Sass... looks like *it* has an unsatisfied dep... | 15:31 | |
however, installing the ruby sass gem worked wonderfully. | |||
Grinnz++ | 15:36 | ||
updated readme. | |||
Should we track git commits to the rakudo.org website here? | 15:38 | ||
15:40
vike left
15:55
hankache joined
|
|||
hankache | hello #raku | 15:55 | |
tellable6 | 2020-06-01T18:36:43Z #raku-dev <tyil> hankache maybe you can help here stackoverflow.com/questions/621372...in-windows | ||
15:58
Manifest0 left
15:59
Manifest0 joined
16:02
Woodi left
16:03
Altai-man_ joined
16:05
sena_kun left
|
|||
timotimo | o/ | 16:07 | |
kawaii | Hello timotimo :) | ||
16:23
gordonfish joined
16:25
ca53 joined
16:34
guifa2 left
16:40
vike joined
16:43
guifa2 joined
16:53
aluaces left
16:56
hankache left
|
|||
guifa2 | For module stuff, is there any way for a named parameter during 'use' to take a value different than true? | 17:14 | |
SmokeMachine | does %?RESOURCES exists on tests? | ||
[Coke] | rakudo.org site isn't getting updated automatically, which may explain why the new release isn't on the front page yet | 17:15 | |
guifa2 | e.g. "use Ops::Custom :substract<less> :add<plus>; my $a = 2 plus 2;" ? | ||
SmokeMachine: yes | 17:16 | ||
err, well it depends | |||
SmokeMachine | I'm not being able to use that. :( | 17:17 | |
guifa2 | do you mean can you access resources by using %?RESOURCES? or will %?RESOURCES be available in the module files? | ||
SmokeMachine | access %?RESOURCES<some/file> | ||
[Coke] | guifa2: see docs.raku.org/language/modules#Exp..._importing | 17:18 | |
guifa2 | [Coke]: yeah, I'm reading that, but it says that the named arguments just pull in what's in the package EXPORT::named-arg, it doesn't look like there's a way to pass in the value of the named arg | 17:19 | |
[Coke] | no, I think you might have to predeclare for normal stuff. | 17:20 | |
SmokeMachine | guifa2: I do something like that here: github.com/FCO/Red/blob/master/lib/Red.pm6#L69 | ||
[Coke] | use lib does it somehow, though. one sec. | ||
SmokeMachine | but with positional parameters | 17:21 | |
guifa2 | SmokeMachine: ah, then no. Because the test file is being run external to the module (just like any other script would be run). You could probably make a hidden option that exports a sub like "resources-for-test-purposes-only ($filename) { %?RESOURCES{$filename} }" if it's crucial for testing. | 17:22 | |
SmokeMachine | guifa2: thanks | 17:23 | |
guifa2 | One thing I did for a test file that needed a data file was to include it in a directory in the t/ directory. E.g., t/01-test-foo.t, and then t/01-test-foo/data.bar | ||
[Coke] | ah, use lib has special code in do_pragma. | 17:24 | |
guifa2 | [Coke]: boo. that would be kind of cool if it could be passed via a special dynamic var @*ARGS or something. Obviously packages don't have signatures | 17:25 | |
17:25
aluaces joined
|
|||
guifa2 | I was hoping to do | 17:25 | |
use Intl::UserLanguagae <fallback1 fallback2 fallback2> :override<for-testing1 for-testing2> | |||
Meh, folks testing their localization runtimes can deal with one more line of code ;-) | 17:26 | ||
17:32
Sgeo joined
17:45
guifa2 left
17:53
guifa2 joined
17:58
guifa2 left
17:59
guifa2 joined
18:03
sena_kun joined
18:04
hungryd66 left
18:05
guifa2 left,
Altai-man_ left
18:19
Benett- joined
18:21
Benett left
18:24
Benett- is now known as Benett
18:25
bocaneri left,
kensanata joined
18:27
Benett left,
__jrjsmrtn__ joined,
_jrjsmrtn left,
Benett joined
18:44
patrickb joined
18:48
guifa2 joined
18:53
Kaeipi left
18:55
Kaiepi joined
18:56
vrurg_ joined
19:02
Black_Ribbon joined,
vrurg_ left
19:06
guifa2 left
19:07
xinming left
19:08
xinming joined,
HarmtH left
19:09
HarmtH joined
19:12
guifa2 joined
19:23
HarmtH_ joined,
HarmtH left,
vrurg_ joined
19:27
wamba joined
19:29
HarmtH joined,
HarmtH_ left
|
|||
codesections | m: say "\c72"; # This goes from codepoint ==> letter | 19:32 | |
camelia | H | ||
codesections | Is there a method that goes in the other direction? | ||
19:33
vike left
|
|||
[Coke] | m: say H.chr | 19:34 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared name: H used at line 1 |
||
[Coke] | m: say H.ord | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared name: H used at line 1 |
||
[Coke] | ... dammit. :)( | ||
m: say "H".ord #doh | 19:35 | ||
camelia | 72 | ||
[Coke] | ^^ | ||
that was a thinko, wow. | |||
codesections | Thanks :) | ||
[Coke] | m: say 72.chr | 19:38 | |
camelia | H | ||
[Coke] | and that's the method version of the string interpolation | ||
19:39
vike joined
|
|||
guifa2 | [Coke] & codesections: you should probably use .ords unless you're sure you're dealing with a single codepoint | 19:44 | |
m: say "-́".ord | |||
camelia | 45 | ||
guifa2 | m: say "-́".ords | ||
camelia | (45 769) | ||
[Coke] | guifa2++ | ||
guifa2 | (I actually use that character regularly so it's one I think a lot about hahaha) | 19:45 | |
Also, for as much as I *love* Raku's string handling (being grapheme based), it makes doing some things a bit trickier when algorithms are designed around codepoints instead | 19:48 | ||
cpan-raku | New module released to CPAN! Game::Covid19 (0.0.3) by 03ELIZABETH | ||
guifa2 hasn't even looked at it but | |||
lizmat++ | |||
lizmat | guifa: docs.raku.org/type/Uni ?? | 19:49 | |
ShimmerFairy | The biggest deficiency in non-Str strings at the moment is that you can't do regexes on them, but worst case you can "just" do something like / [ :m (a) { mess with ~$0 } ] / | 19:50 | |
guifa2 was about to type something but, what what ShimmerFairy said. Regex :-( | 19:51 | ||
The <local-alpha> token has some stuff that allows for a bare combining mark. I'm still debating the best ways to handle those cases (that aren't very edge case for languages like Hebrew and Arabic). But it's in the middle of a token so I've got to do a Str -> codepoints conversion | 19:52 | ||
ShimmerFairy | For example, I had to parse double-quote strings in my .XCompose file, which can start with diacritics that merge with the ", but I managed that with [ :m (<["]>) { my @codes = (~$0).NFC.list; ... } ] | 19:53 | |
19:54
HarmtH left
|
|||
lucs | lizmat: Different game, also covid-19 inspired :-) : juliasfairies.com/articles/pandemic...on-leroux/ | 19:54 | |
guifa2 | I think for the most part, it will catch people making modules, and that's fine by me. Module authors are generally more aware of these implementation details and deal with them accordingly | ||
ShimmerFairy | Years ago I proposed adverbs that would let you do that same task as [ :nfc '"' ~ '"' <-["]>+ ] instead, but it's a pretty rare thing to come up so it's not in the language (yet?). (So far, only that one time have I needed to step outside of NFG) | 19:55 | |
lizmat | lucs: cool | ||
guifa2 does 'play :34age' | 19:58 | ||
You're moderately ill. | |||
You'll need 6 weeks for recovery. | |||
You've permanently lost 1% of your constitution. | |||
lizmat | pretty good still | 19:59 | |
guifa2 | Less so for my grandpa's age :-( | 20:00 | |
20:02
Altai-man_ joined
20:04
vrurg_ left
|
|||
lizmat | yeah, /me is on a 6% death-rate | 20:05 | |
20:05
sena_kun left
20:07
vrurg left
20:12
vrurg joined
20:13
vrurg_ joined
|
|||
guifa2 | ShimmerFairy: same here. This is the first time I've had to really deal with it head on. The only thing I'm not convinced on is how to return a match of 'a' when the matched character is 'á'. My instinct is to reject the match outright but I dunno. I need to play around with ICU more to see how they handle it | 20:18 | |
ShimmerFairy | m: say "á" ~~ m:m/a/ | 20:19 | |
camelia | 「á」 | ||
ShimmerFairy | m: my $*SLASH; "á" ~~ m:m/(a) {$*SLASH = (~$0).NFD.list[0].chr}/; say $*SLASH; | 20:21 | |
camelia | a | ||
[Coke] | m: my $a = "á"; $a ~~ m:ignoremark/ ('a') /; say $/[0].Str.samemark('a'); | 20:22 | |
camelia | a | ||
ShimmerFairy | Assuming samemark handles the rare extended grapheme cluster with prepended combining characters, that would be the better approach. | 20:23 | |
20:25
vrurg left
|
|||
[Coke] | moritz: github.com/perl6/rakudo.org - indicates that that apache.conf was actually in use. is the readme also out of date? | 20:28 | |
20:31
vike left
|
|||
moritz | [Coke]: given that there's a much newer nginx.conf, I assume so :( | 20:34 | |
patrickb | Coke afaik the nginx.conf matches the actual conf in use quite well, but currently not exactly. | 20:36 | |
codesections | m: subset Ascii of Str where { /^<[\c0 .. \c127]>*$/ }; sub f(Ascii $s) {}; say &f.signature; say &f.signature.params[0]; | 20:40 | |
camelia | (Str $s where { ... }) Str $s where { ... } |
||
codesections | there's not a way to get Raku to show the type constraint in that `where` clause, is there? | ||
20:41
guifa2 left
20:42
aluaces left
|
|||
moritz | m: subset Ascii of Str where /^<[\c0 .. \c127]>*$/; # maybe easier if you don't wrap it in a code block? | 20:42 | |
20:42
rbt left
|
|||
camelia | ( no output ) | 20:42 | |
20:43
rbt joined
|
|||
codesections | That doesn't seem to make a difference in `.signature`'s output, unfortunately | 20:44 | |
(though it's a good change, regardless) | |||
20:45
satori__ joined,
cpan-raku left,
guifa2 joined
20:47
cpan-raku joined,
cpan-raku left,
cpan-raku joined
20:48
reach_satori_ left
20:49
vrurg_ left
20:50
skyl4rk left
20:51
guifa2 left
20:54
art51 joined,
skyl4rk joined
20:55
guifa2 joined
21:01
vike joined,
skids left
21:05
art51 is now known as art15,
kensanata left
21:06
art15 is now known as art5,
art5 is now known as arts
21:18
molaf joined
21:20
vrurg joined
21:25
riatre left
21:39
rindolf left
21:43
sno left
21:45
sno joined
21:48
aborazmeh joined,
aborazmeh left,
aborazmeh joined
21:49
skids joined
21:58
phil joined,
phil left
22:00
ca53 left
22:02
riatre joined
22:03
sena_kun joined,
patrickb left
22:04
satori__ left,
satori__ joined
22:05
Altai-man_ left
22:07
skyl4rk left
22:11
wamba left
22:22
Xliff joined
22:23
skids left
22:26
arts is now known as rats
22:30
vike left,
jdoege joined
|
|||
jdoege | Howdy all. Pursuant to my questions the other day about Rakudo Star, is there a list somewhere of what modules were included with Rakudo Star? The link that should lead to a page with such a list returns a 404. | 22:31 | |
lizmat | jdoege: I'm not sure, but I'm afraid all people who could answer this, are currently sleeping or on their way to sleep | 22:33 | |
I know I am, but I don't have answer :-( | 22:34 | ||
22:34
leont_ joined,
leont left
22:35
rats left
22:41
aborazmeh left
22:43
hungrydonkey joined
|
|||
jdoege | I'll ask again Monday morning. | 22:44 | |
El_Che | jdoege: github.com/rakudo/star/blob/master...odules.txt | 22:45 | |
jdoege | El_Che: Thanks! | 22:50 | |
22:52
mniip left,
vike joined
23:07
skyl4rk_ joined
23:08
skyl4rk_ is now known as skyl4rk
23:11
repl joined
23:18
repl left
23:22
jdoege left
23:31
rats joined
23:40
pecastro left
23:47
rats left
23:53
leont_ left
|