»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! Set by moritz on 22 December 2015. |
|||
00:01
Sgeo joined
00:02
mienaikage joined
00:03
raschipi left
00:06
raiph left,
raiph joined
00:09
vike left
00:11
Cabanossi left
00:12
Cabanossi joined
00:14
vike joined
00:24
cpage_ joined
00:43
pilne joined
00:44
CIAvash[m] joined,
tyil[m] joined,
unclechu joined,
tadzik joined,
AlexDaniel` joined,
mack[m] joined,
M-Illandan joined,
wamba[m] joined,
wictory[m] joined,
Matthew[m] joined,
ilmari[m] joined,
Garland_g[m] joined,
xui_nya[m] joined
00:46
dj_goku left
00:51
AndChat|688961 joined,
comborico1611 left
00:53
patrickz_ joined
00:57
patrickz left
00:58
imcsk8_ left,
kannan joined
00:59
evalable6 joined
01:00
mcsnolte left
01:02
mcmillhj joined
01:07
mcmillhj left
01:08
relaxed left
01:16
BenGoldberg joined
01:20
traxex joined
01:24
kannan left
01:28
mahafyi joined
01:38
AndChat|688961 left,
go|dfish left,
comborico1611 joined
01:42
raiph left,
go|dfish joined
01:45
piojo_ joined
01:47
angelds joined,
domidumont joined
01:50
comborico1611 left,
domidumont1 joined
01:53
domidumont left
01:55
domidumont1 left,
domidumont joined
01:58
bisectable6 left,
bisectable6 joined
02:02
itaipu left
|
|||
Geth | doc: a381d7794f | (Alex Chen)++ | doc/Language/functions.pod6 Remove duplicate 'and' |
02:10 | |
synopsebot | Link: doc.perl6.org/language/functions | ||
02:13
piojo_ left
02:20
kitsunenokenja joined
02:32
cdg joined
02:37
cdg left
02:40
kaare_ joined
02:44
kaare__ left
02:46
ilbot3 left
|
|||
thou | .ask tbowder, maybe you're interested in this prior work (older, but might help you?) on pod tables inside rakudo: github.com/rakudo/rakudo/compare/pod-table | 02:52 | |
yoleaux | thou: What kind of a name is "tbowder,"?! | ||
thou | .ask tbowder maybe you're interested in this prior work (older, but might help you?) on pod tables inside rakudo: github.com/rakudo/rakudo/compare/pod-table | 02:53 | |
yoleaux | thou: I'll pass your message to tbowder. | ||
thou | .ask tbrowder maybe you're interested in this prior work (older, but might help you?) on pod tables inside rakudo: github.com/rakudo/rakudo/compare/pod-table | ||
yoleaux | thou: I'll pass your message to tbrowder. | ||
thou | yoleaux, please get the message to someone! | 02:54 | |
geekosaur | "third time lucky" :p | 02:55 | |
02:56
Cabanossi left
02:57
Cabanossi joined
|
|||
tbrowder | thou: tbrowder is my first initial and last name. i don’t like aliases and keeping the same id helps by uncomplicating my life around the various internet communities. | 02:57 | |
yoleaux | 02:53Z <thou> tbrowder: maybe you're interested in this prior work (older, but might help you?) on pod tables inside rakudo: github.com/rakudo/rakudo/compare/pod-table | ||
02:57
ilbot3 joined,
ChanServ sets mode: +v ilbot3
|
|||
thou | tbrowder, my name is Tim Smith, being generic enough that it's nearly always taken anywhere I want to sign up for something. :-) | 02:59 | |
tbrowder | thou: that grammar looks interesting but i don’t see how tables with whitespace column separators can be defined. | ||
geekosaur | at least they didn't manage to bowdlerize you :p | 03:00 | |
thou | Could be, I didn't dig into it. | ||
tbrowder | they rely on aligned columns over the set of rows that, imho, requires the complete set to analyse, and tables with visual column separators don’t mix with the other table type. | 03:02 | |
thou | tbrowder, the untwine patch isn't all that large, but I've done very little rakudo hacking so may have just a bit of a curve before I can try it. Given that it's a few years old, I'm not sure the original author is active anymore? Is LLFourn around, looks not based on colabti.org/irclogger/irclogger_log...ck=checked | 03:03 | |
geekosaur | irc is case independent | 03:06 | |
tbrowder | i see llfourn as a member—probably the same person | ||
geekosaur | not especially active of late but definitely in here | 03:07 | |
tbrowder | nite all... | ||
03:07
pilne left
|
|||
thou | .ask llfourn are you interested in getting your Untwine change merged? there are a few of us who would like to see it done, I'm willing to look at merging & testing if desired. github.com/rakudo/rakudo/pull/651/...2e74df8ceb | 03:09 | |
yoleaux | thou: I'll pass your message to llfourn. | ||
thou | thanks geekosaur | ||
03:32
domidumont left
03:33
ufobat___ joined
03:35
mson left
03:37
ufobat_ left
03:42
cdg joined
03:47
cdg left
03:48
mson joined
03:54
domidumont joined
03:55
Guest11217 left
03:56
domidumont1 joined,
thou_ joined
03:59
thou left,
domidumont left
04:01
domidumont1 left
04:04
xtreak joined,
xtreak left
04:08
Cabanossi left
04:11
Cabanossi joined
04:14
mahafyi_ joined,
mahafyi left
04:15
mahafyi_ is now known as mahafyi,
redhands joined
04:19
redhands left,
wamba joined
04:21
astj left
04:25
astj joined
04:32
mahafyi left
04:33
cdg joined
04:37
cdg left
04:42
cpage_ left
04:44
wander joined
05:05
kitsunenokenja left
05:09
BenGoldberg left
05:21
thou_ left
05:24
cpage_ joined
05:31
thou joined
05:35
perlpilot_ joined
05:40
perlpilot_ left
05:41
wamba left
05:43
khw left
05:53
Cabanossi left
05:56
Cabanossi joined
05:57
dj_goku joined
06:04
releasable6 joined,
greppable6 left,
ChanServ sets mode: +v releasable6,
greppable6 joined,
squashable6 left
06:05
squashable6 joined
06:34
parv joined
06:43
cpup left
06:44
cpup joined
06:45
wander left
06:51
wamba joined
06:53
Cabanossi left
06:54
darutoko joined
06:56
Cabanossi joined
06:59
wander joined
07:10
geospeck joined,
traxex left
07:15
mson left
07:16
traxex joined
07:35
reportable6 joined,
ChanServ sets mode: +v reportable6,
cpup left
07:36
geospeck left
07:37
lowbro joined,
lowbro left,
lowbro joined
07:41
cpup joined
07:49
wamba left
07:54
anaeem1 joined,
anaeem1 left,
Cabanossi left
07:56
Cabanossi joined
07:57
ohuwa joined
07:58
zakharyas joined
07:59
ohuwa left
08:05
setty1 joined
08:13
zakharyas left,
zakharyas joined
08:18
zakharyas1 joined
08:19
zakharyas left
08:24
abraxxa joined
08:28
piojo left
08:29
abraxxa left,
lookatme left,
abraxxa joined
08:32
piojo joined
08:35
piojo1 joined
08:36
piojo left
08:38
rindolf joined
08:39
wamba joined
08:40
traxex_ joined
08:41
thou_ joined
08:42
thou_ left
08:43
traxex left
08:44
thou left
08:48
cdg joined,
geospeck joined
08:49
wander left,
traxex_ left
08:51
wander joined
08:53
traxex joined,
cdg left,
Cabanossi left
08:55
araujo left
08:56
Cabanossi joined
08:59
wamba left
09:02
domidumont joined
09:04
llfourn left
09:11
ufobat___ left
|
|||
Geth | doc: fluca1978++ created pull request #1704: Fix reference to Perl 5. |
09:22 | |
09:24
dakkar joined
09:25
lowbro left,
piojo joined
|
|||
Geth | doc: 003473bf18 | (Luca Ferrari)++ | doc/Language/regexes.pod6 Fix reference to Perl 5. It seems the comment working on regexp was referencing the similar feature of Perl 5, not Perl 6. |
09:27 | |
synopsebot | Link: doc.perl6.org/language/regexes | ||
doc: b97a772b86 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/regexes.pod6 Merge pull request #1704 from fluca1978/fix-comment-regexp Fix reference to Perl 5. Thanks :-) Are you doing 24 pull requests? :-) |
|||
09:28
piojo1 left,
kaare__ joined
09:29
kaare_ left
09:30
rindolf left
09:32
kaare__ is now known as kaare_
09:34
rindolf joined
|
|||
DrForr | I was trying to extend the Test class before writing my Advent article. There are several problems with this approach, the first one being that it's not a class. Any thoughts on this? | 09:35 | |
tyil | why is that a problem? | 09:40 | |
09:41
cgfbee left
09:42
abraxxa left
09:45
abraxxa joined
|
|||
DrForr | I'd prefer to be able to subclass in order to add functionality, what would you suggest instead? | 09:47 | |
09:47
cgfbee joined
|
|||
tyil | you could just make more subs? | 09:48 | |
09:49
[Coke] left,
Util left
|
|||
DrForr | Yeah, that was my next thought - 'sub Test::foo {} I'm always forgetting is an option. | 09:49 | |
09:49
[Coke] joined
09:50
Util joined
09:54
setty1 left
09:55
[Coke] left
09:56
[Coke] joined,
[Coke] left,
[Coke] joined
10:02
lowbro joined,
lowbro left,
lowbro joined
10:06
domidumont left
10:10
rgrau joined
10:23
Cabanossi left
10:25
virtualsue joined
10:26
Cabanossi joined
10:32
angelds left
10:39
pmurias joined
10:43
virtualsue left
|
|||
DrForr | Oh good, the CJKV and Roman numerals render correctly on FF at work. | 10:44 | |
10:45
virtualsue joined
10:47
mahafyi joined
10:50
wamba joined,
araraloren joined
|
|||
Geth | doc: fluca1978++ created pull request #1706: Remove reference to Perl 5 in not 5-to-6 document. |
10:50 | |
DrForr | Aand the advent posting so far tripled my pageviews. | 10:51 | |
10:51
domidumont joined,
parv left
|
|||
tyil | nice | 10:52 | |
araraloren | o/ | 10:54 | |
10:58
wamba left
10:59
wamba joined
11:00
AlexDaniel left,
virtualsue left
|
|||
DrForr | Admittedly it doesn't take a *lot* to do that with what I get in general, but it's a good feeling. | 11:01 | |
11:11
roguelazer left
11:23
roguelazer joined
11:24
Cabanossi left
11:26
Cabanossi joined
11:27
roguelazer left
11:34
virtualsue joined
|
|||
moritz | on day one, Zoffix++ got 5.7k views :-) | 11:41 | |
11:47
pmurias left
|
|||
DrForr | I'm not trying to set any records, I'm just checking out the traffic to my site from the p6 advent posting for the helluvit. | 11:52 | |
300 views already on the main site, woo and *hoo*. | 11:55 | ||
12:08
virtualsue left
12:09
cdg joined
12:12
astj left,
astj joined
12:13
astj left
12:14
astj joined,
cdg left
12:15
astj left
12:16
astj joined
12:20
astj left
12:24
astj joined
|
|||
tyil | is there an op like =~= but for words/letters? | 12:26 | |
12:26
astj left
|
|||
moritz | no | 12:27 | |
tyil | :( | ||
moritz | there are string difference modules: modules.perl6.org/search/?q=distance | 12:29 | |
12:29
astj joined,
virtualsue joined
12:33
natrys joined
|
|||
mahafyi | are there any resources for commercial perl6 support? | 12:35 | |
12:36
setty1 joined
|
|||
DrForr | Not yet that I'm aware of, but I'm terribly excited by the fact that we have people deploying code live that we might be able to actually *talk* about instead of make vague statements about :) | 12:37 | |
mahafyi | DrFprr, lol. | ||
DrForr , typo | 12:38 | ||
DrForr | Oh. If you mean perl5 there are plenty of consultants out there, no real "Perl5 Inc." office though. | 12:40 | |
mahafyi | well, I really meant I'd like to talk to folks in here to help me build many things (I originally was here on a borrowed nickname, kannan, and I havent yet gotten around to learning much perl6) but I am contrarian enough to risk it | 12:41 | |
12:42
piojo_ joined
|
|||
DrForr | Aha. | 12:42 | |
Most of us are already building stuff but happy to lend a hand, got a project in mind? | |||
mahafyi | for the record I fully intend to learn perl6 .. but i also want to pay for it when I use it | ||
yes, I would like to bootstrap a startup, providing cloud telephony, as well as I have a highly specialized area for a particular product | 12:43 | ||
DrForr | Pay as in money? You can always contribute to the Perl6 development fund... | ||
mahafyi | DrForr, yes I surely will, but I'd like to have someone to actually help me build things. | 12:44 | |
so far the only money i spent has been on Learning Perl 6 Fundamentals, :) | 12:45 | ||
12:45
pmurias joined
|
|||
DrForr | While I haven't seen a Perl 6 consultancy service spring up yet, I'm sure people in this very channel will be willing to help out. | 12:45 | |
mahafyi | thats great, i will jump on it | 12:46 | |
12:46
piojo_ left
|
|||
mahafyi | and i believe i typed the title of Moritz Lenz's book wrong , oops | 12:46 | |
12:47
piojo_ joined
|
|||
DrForr | Careful, the author might just hear you :) | 12:47 | |
12:47
virtualsue left
|
|||
moritz does | 12:48 | ||
mahafyi: pmichaud and a few others had the website rakudoconsulting.com; seems to be defunct now | 12:49 | ||
mahafyi | moritz : thanks | ||
moritz | fwiw I've been paid to give Perl 6 training before | ||
(about a year ago) | |||
DrForr | I've been paid a few times myself, but not corporate clients. | ||
mahafyi | I am not a corporate client, I may even have to shuck a regular job. If i get funded, well, then its another ballgame, ha ha | 12:51 | |
12:54
Cabanossi left
|
|||
moritz | I've written my blog post for day 12, logged-in users can preview it here: perl6advent.wordpress.com/?p=6874&...eview=true | 12:55 | |
proof-reading and comments would be welcome | |||
12:56
Cabanossi joined
12:57
mahafyi left,
mson joined
12:58
_ramix_ joined
|
|||
_ramix_ | Hi! I like to publish a post in the Perl6 Advent Calendar: perl6advent.wordpress.com . How can I send a proposal? Thanks! | 13:02 | |
13:02
geospeck left,
jeromelanteri joined
13:03
jeromelanteri left
|
|||
moritz | _ramix_: the schedule is at github.com/perl6/mu/blob/master/mi...7/schedule and already quite full | 13:05 | |
_ramix_: but, there are still options | |||
you could write a post for the 25th | |||
or you could write a post, and hope that somebody doesn't write theirs in time, and we can swap it in | |||
or somebody could give up their spot | |||
DrForr | (the latter has happened before, I know, I've done it :) (though my issue was network related more than anything.) | 13:06 | |
_ramix_ | ook, thanks! | ||
13:06
mahafyi joined
|
|||
moritz | _ramix_: what do you want to write about? | 13:07 | |
[Coke] hasn't announced a topic yet, so he might be a candidate for giving up a spot | |||
mahafyi | and I am back. Whenever one attempts to great good to the world (like build a new company with perl6) one faces many hurdles (like a power outage) | ||
_ramix_ | A post about HTTP and Concurrency (IO::Sockets:Async) | 13:08 | |
moritz | _ramix_: nice :-) | ||
DrForr | Also a certain moritz has two posts there :) Not that I'm encouraging anyone to stop writing :) | ||
_ramix_ | this is the post: ramiroencinascom.wordpress.com/201...t-of-view/ | ||
moritz | DrForr: yes, but I already wrote both, so I'm loath to throw one away :-) | 13:09 | |
DrForr | Dude. You know what they say: Write one to throw away :) | ||
13:09
geospeck joined
|
|||
Geth | mu: c2a5c84218 | (Ramiro Encinas)++ (committed using GitHub Web editor) | misc/perl6advent-2017/schedule Update schedule |
13:12 | |
13:13
itaipu joined
13:14
domidumont left
|
|||
moritz | _ramix_: please /msg me your wordpress username or email address, then I can send you an invitation to the perl6advent wp blog | 13:14 | |
13:16
domidumont joined
13:17
zakharyas1 left,
traxex_ joined
13:19
virtualsue joined,
|oLa|1 joined
13:20
jeromelanteri joined
13:21
traxex left
13:23
|oLa|1 left
13:30
ChoHag left,
_ramix_ left
|
|||
Geth | mu: c0246309c5 | (Tom Browder)++ (committed using GitHub Web editor) | misc/perl6advent-2017/schedule change title |
13:32 | |
13:34
natrys left
|
|||
lizmat | moritz: no comments on blog post for 12th :-) | 13:42 | |
yoleaux | 12:43Z <brrt> lizmat: jnthn nwc10 fixed | ||
13:45
virtualsue left
13:46
ChoHag joined
13:49
mcmillhj joined
13:54
Cabanossi left
13:56
Cabanossi joined
14:02
cdg joined
14:03
comborico1611 joined
14:22
tbrowder joined
|
|||
perlpilot | tbrowder: I didn't count 4, you did. "Using got allowed me to easily set up all four repos." | 14:24 | |
tbrowder | ah! i meant the two on git hub and two locally. works well for me. how do you use two? | 14:25 | |
perlpilot | oh, then I just misunderstood. you're good :) | 14:26 | |
tbrowder | ok, do you think i need to emphasize that? | 14:27 | |
perlpilot | maybe? | 14:28 | |
tbrowder++ btw :) | |||
tbrowder | i added reference to the forks being on github | ||
14:28
geospeck left
|
|||
perlpilot | tbrowder: maybe link to the PRs you mention in Success! so that your reader can see what you have wrought :-) | 14:29 | |
tbrowder | good idea | ||
14:32
wander left
14:33
zakharyas joined
14:48
ChoHag left,
cgfbee left,
nebuchadnezzar left,
squain left,
japhb left,
phogg left,
cosimo left,
raydiak__ left,
bartolin left,
spider-mario left,
profan left,
f3ew left,
setty1 left,
astj left,
lowbro left,
reportable6 left,
releasable6 left,
Grauwolf left,
jhill left,
arnsholt left,
joy left,
integral left,
TeamBlast left,
hobbs left,
huggable left,
buggable left,
dpk left,
shmibs left,
clkao left,
Altreus left,
ilmari left,
Bucciarati left,
afresh1 left,
ZofBot left,
stux|RC-only left,
tyil left,
DarthGandalf left,
nine left,
[ptc] left,
skaji left,
MasterDuke left,
damnlie left,
ZzZombo left,
leah2 left,
s0me0ne-unkn0wn left,
ecocode_ left,
no-n left,
PotatoGim left,
mrsolo left,
mst left,
timeless left,
ilmari[m] left,
Matthew[m] left,
chansen_ left,
zostay left,
riatre left,
dustinm` left,
ribasushi left,
eater left,
mephinet left,
reu left,
Phlogistique left,
japanoise left,
El_Che left,
wamba left,
araraloren left,
klapperl left,
ryn1x left,
lizmat left,
jnthn left,
dogbert17 left,
ilbelkyr left,
telex left,
krunen left,
MilkmanDan left,
AlexDaniel` left,
jeromelanteri left,
cpage_ left,
patrickz_ left,
BooK left,
avalenn left,
TimToady left,
jcallen left,
gdonald left,
geekosaur left,
Voldenet left,
NEveD left,
ccntrq left,
TreyHarris left,
timotimo left,
DickClarke left,
sftp left,
zakharyas left,
traxex_ left,
mack[m] left,
wictory[m] left,
leedo left,
plicease_ left,
domm left,
esh left,
camelia left,
kent\n left,
Ulti left,
jsimonet left,
rodarmor left,
jkva_ left,
peteretep left,
ingy left,
Mithaldu left,
dylanwh left,
mcmillhj left,
mahafyi left,
piojo_ left,
Util left,
aindilis left,
mniip left,
samcv left,
R0b0t1` left,
notbenh left,
grumble left,
eythian left,
huf left,
Celelibi left,
charsbar left,
preaction left,
ponbiki left,
aeruder_ left,
jferrero left,
Grrrr left,
a3r0 left,
[particle]1 left,
bonsaikitten left,
tabv left,
erdic left,
[Coke] left,
dj_goku left,
konsolebox left,
TEttinger left,
perlbot left,
Levex left,
perlpilot left,
tokik left,
syntaxman left,
broquaint left,
lucs left,
perlawhirl left,
renormalist left,
simcop2387 left,
tardisx left,
mantovani left,
tony-o left,
musca left,
shadowpaste left,
protium left,
DrForr left,
sunnavy left,
SCHAPiE left,
stux|RC left
|
|||
tbrowder | perlpilot: any more comments at the moment? i'm going to update the post on the site in a moment. btw, roast PR #361 hasn't been merged yet--waiting for samcv to see my answer to her question | 14:49 | |
14:49
xcm left
|
|||
tbrowder | and i think the leading space on the code blocks will be gone | 14:50 | |
14:51
greppable6 left,
bisectable6 left,
evalable6 left,
M-Illandan left,
unclechu left
|
|||
pmurias | nqp: my $m := ("foo" ~~ /$<bar>=\w+/); nqp::say($m<bar> || '') | 14:51 | |
14:51
squashable6 left,
xui_nya[m] left
14:52
mienaikage left,
squashable6 joined,
Garland_g[m] left,
tadzik left,
wamba[m] left,
tyil[m] left,
CIAvash[m] left
14:54
Bucciarati joined,
setty1 joined,
astj joined,
lowbro joined,
reportable6 joined,
releasable6 joined,
Grauwolf joined,
jhill joined,
arnsholt joined,
joy joined,
integral joined,
TeamBlast joined,
hobbs joined,
afresh1 joined,
buggable joined,
huggable joined,
leguin.freenode.net sets mode: +vvvv reportable6 releasable6 buggable huggable,
dpk joined,
shmibs joined,
clkao joined,
Altreus joined,
ilmari joined,
ZofBot joined,
tyil joined,
DarthGandalf joined,
nine joined,
[ptc] joined,
skaji joined,
leguin.freenode.net sets mode: +v ZofBot,
damnlie joined,
ZzZombo joined,
leah2 joined,
s0me0ne-unkn0wn joined,
ecocode_ joined,
no-n joined,
PotatoGim joined,
mrsolo joined,
mst joined,
timeless joined,
timeless left,
f3ew joined,
profan joined,
spider-mario joined,
bartolin joined,
raydiak__ joined,
cosimo joined,
phogg joined,
japhb joined,
squain joined,
nebuchadnezzar joined,
stux|RC joined,
stux|RC-only joined,
ChoHag_ joined,
geospeck joined,
zakharyas joined,
mcmillhj joined,
jeromelanteri joined,
traxex_ joined,
mahafyi joined,
piojo_ joined,
wamba joined,
araraloren joined,
[Coke] joined,
Util joined,
dj_goku joined,
cpage_ joined,
patrickz_ joined,
BooK joined,
konsolebox joined,
chansen_ joined,
zostay joined,
aindilis joined,
avalenn joined,
TimToady joined,
klapperl joined,
jcallen joined,
ryn1x joined,
mniip joined,
TEttinger joined,
gdonald joined,
geekosaur joined,
jnthn joined,
lizmat joined,
samcv joined,
Voldenet joined,
NEveD joined,
ccntrq joined,
dogbert17 joined,
TreyHarris joined,
timotimo joined,
DickClarke joined,
sftp joined,
Phlogistique joined,
R0b0t1` joined,
ilbelkyr joined,
riatre joined,
notbenh joined,
telex joined,
krunen joined,
perlbot joined,
Levex joined,
grumble joined,
dustinm` joined,
eythian joined,
huf joined,
eater joined,
Celelibi joined,
perlpilot joined,
charsbar joined,
preaction joined,
leedo joined,
ponbiki joined,
MilkmanDan joined,
aeruder_ joined,
mephinet joined,
reu joined,
jferrero joined,
Grrrr joined,
a3r0 joined,
tokik joined,
syntaxman joined,
[particle]1 joined,
japanoise joined,
bonsaikitten joined,
El_Che joined,
tabv joined,
erdic joined,
broquaint joined,
lucs joined,
perlawhirl joined,
plicease_ joined,
domm joined,
esh joined,
camelia joined,
leguin.freenode.net sets mode: +v camelia,
renormalist joined,
simcop2387 joined,
kent\n joined,
tardisx joined,
Ulti joined,
jsimonet joined,
rodarmor joined,
jkva_ joined,
peteretep joined,
mantovani joined,
tony-o joined,
musca joined,
shadowpaste joined,
protium joined,
DrForr joined,
sunnavy joined,
ingy joined,
Mithaldu joined,
dylanwh joined
14:55
telex left,
ggherdov left,
jhill left,
piojo_ left,
telex joined,
SCHAPiE joined
14:56
piojo_ joined,
squashable6 left,
epony left
14:57
epony joined
14:58
timeless joined
14:59
cgfbee joined,
jhill joined
15:01
ggherdov joined
15:02
ggherdov left
15:03
ggherdov joined,
sivoais left
15:05
sivoais joined
15:06
ribasushi joined
15:07
geospeck left,
geospeck joined,
geospeck left
15:08
piojo_ left
15:09
geospeck joined,
Cabanossi left
15:11
araraloren left
15:12
geospeck left
15:16
MasterDuke joined
15:20
SCHAPiE left,
SCHAPiE joined,
sivoais left,
sivoais joined
15:21
silug joined,
Cabanossi joined
|
|||
comborico1611 | Does anyone know the difference between multiprogramming and time sharing? I've done a search on it and I'm still confused. The best answer I have is time sharing allows multiprogramming to be done in equal shares based on time limit. | 15:21 | |
15:24
mscha joined
|
|||
mscha | How do you specify that a sub returns a list of integers? | 15:24 | |
m: sub foo returns List { 1,2,3 }; say foo; | |||
camelia | (1 2 3) | ||
mscha | This works, but can I specify "of integers"? | 15:25 | |
tbrowder | my 8 dec post is available for critique on wordpress--i would appreciate some other eyes on it (thnx to perlpilot for an earlier review). note that Zoffix's new highlighter still throws an exception so i'm using last year's version. | 15:26 | |
perlpilot | comborico1611: en.wikipedia.org/wiki/Time-sharing :-) | 15:28 | |
mscha: why do you want "List of Int"? | 15:29 | ||
moritz | comborico1611: with multiple cores, you can have multiple programs run in parallel without time sharing | 15:31 | |
perlpilot | mscha: you can probably do something like: subset ListOfInt of List where { all(@($_)) ~~ Int }; sub foo returns ListOfInt { 1, 2, 3 } | ||
moritz | comborico1611: or phrased differently, time sharing is an implementation of multiprogramming, but not the only one | ||
15:33
mienaikage joined,
jeromelanteri left
|
|||
sjn | m: subset ListOfInt of List where .all ~~ Int; sub foo (--> ListOfInt) { 1, 2, 3 }; say foo(); | 15:38 | |
camelia | (1 2 3) | ||
sjn | m: subset ListOfInt of List where .all ~~ Int; sub foo (--> ListOfInt) { 1, 2, 3.14 }; say foo(); | ||
camelia | Type check failed for return value; expected ListOfInt but got List ($(1, 2, 3.14)) in sub foo at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
perlpilot forgets that all/any/one/none are methods apparently | 15:39 | ||
sjn | is it possible to add a custom error message to the subset? | 15:41 | |
15:41
khw joined
|
|||
sjn | m: subset ListOfInt of List where .all ~~ Int || die "ohnoes!"; sub foo (--> ListOfInt) { 1, 2, 3.14 }; say foo(); | 15:43 | |
camelia | ohnoes! in sub foo at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
sjn | m: subset ListOfInt of List where .all ~~ Int || die "ohnoes!"; sub foo (--> ListOfInt) { 1, 2, 3 }; say foo(); | ||
camelia | (1 2 3) | ||
comborico1611 | Moritz, I see. Thank you. | 15:46 | |
15:51
domidumont left
15:55
Cabanossi left
15:56
Cabanossi joined
15:59
traxex_ left
|
|||
lizmat | tbrowder: small nit: "Perl 6 Rakudo compiler" I usually phrase that as "Rakudo Perl 6 compiler" for SEO reasons | 16:02 | |
ilmari | just like you'd say "GNU C Compiler", not "C GNU Compiler" | 16:03 | |
16:03
geospeck joined
|
|||
perigrin | depends on how open certain people fee the C standard is | 16:08 | |
er feel | |||
16:09
vike left
|
|||
mscha | Thanks for the tips, perlpilot, sjn. | 16:10 | |
16:11
troys joined,
lowbro left
|
|||
tbrowder | lizmat: i will correct it, thnx | 16:14 | |
16:15
vike joined
|
|||
[Coke] | (advent spot) if someone is excited, I can cede my spot, yes. | 16:19 | |
lizmat | tbrowder: perhaps elaborate a bit on what is possible now that wasn't before your pR's ? | ||
16:22
natrys joined
|
|||
[Coke] | (though I'm spending next week travelling for work, so will have some time to devote to it) | 16:22 | |
16:23
wander joined
16:31
zakharyas left
16:32
zakharyas joined
|
|||
tbrowder | lizmat: ok! | 16:34 | |
DrForr | _ramix_ (Ramiro Encinas) was the person to talk to. | 16:38 | |
16:39
mienaikage left
16:43
comborico1611 left
16:44
mcsnolte joined
16:45
traxex joined
16:50
wamba left
|
|||
buggable | New CPAN upload: cro-core-0.7.2.tar.gz by JNTHN cpan.metacpan.org/authors/id/J/JN/...7.2.tar.gz | 16:54 | |
New CPAN upload: cro-http-0.7.2.tar.gz by JNTHN cpan.metacpan.org/authors/id/J/JN/...7.2.tar.gz | |||
New CPAN upload: cro-tls-0.7.2.tar.gz by JNTHN cpan.metacpan.org/authors/id/J/JN/...7.2.tar.gz | |||
New CPAN upload: cro-0.7.2.tar.gz by JNTHN cpan.metacpan.org/authors/id/J/JN/...7.2.tar.gz | |||
New CPAN upload: cro-websocket-0.7.2.tar.gz by JNTHN cpan.metacpan.org/authors/id/J/JN/...7.2.tar.gz | |||
New CPAN upload: cro-zeromq-0.7.2.tar.gz by JNTHN cpan.metacpan.org/authors/id/J/JN/...7.2.tar.gz | |||
16:56
imcsk8 joined
16:58
comborico1611 joined
|
|||
tbrowder | lizmat: see changes incorporated now | 17:09 | |
17:12
mscha left
17:13
mcmillhj left
|
|||
wander | m: sub () returns Array[Int] { Array[Int].new([1,2,3]) }() | 17:15 | |
camelia | ( no output ) | ||
wander | m: say sub () returns Array[Int] { Array[Int].new([1,2,3]) }() | ||
camelia | [1 2 3] | ||
wander | m: say Array[Int].ACCEPTS([1,2,3]) | ||
camelia | False | ||
wander | m: say sub () returns Array[Int] { [1,2,3] }() | ||
camelia | Type check failed for return value; expected Array[Int] but got Array ($[1, 2, 3]) in sub at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
tbrowder | my advent post no longer fails with Zoffix's new highlighter, and the results are much nicer than using the old one! | 17:16 | |
.tell Zoffix thnx for the new highlighter! | |||
yoleaux | tbrowder: I'll pass your message to Zoffix. | ||
wander | tbrowder: cong. | ||
17:20
wsjbence joined
17:23
zakharyas left
|
|||
tbrowder | argh! my advent post has disappeared!! help!! | 17:24 | |
17:24
zakharyas joined
|
|||
tbrowder | is it really there or do i have to start over?? | 17:24 | |
17:25
zakharyas left
|
|||
tbrowder | ok, i found it (WP sucks rocks) | 17:25 | |
17:30
wsjbence left
17:31
abraxxa left
17:37
wamba joined
17:39
mcmillhj joined
17:42
perlpilot left,
dakkar left
17:44
mcmillhj left,
itaipu left
17:49
wander left,
mcmillhj joined
17:50
lostinfog joined
17:52
mienaikage joined
17:54
mcmillhj left,
abraxxa joined
17:56
BenGoldberg joined,
cdg_ joined
17:58
abraxxa left,
leah2 left,
cdg left
18:03
domidumont joined
18:05
leah2 joined,
mienaikage left
18:06
mcmillhj joined,
domidumont1 joined
18:07
mson left
18:08
cpage__ joined
18:09
rgrau left,
cpage___ joined,
Cabanossi left
18:10
cpage left,
cpage___ is now known as cpage,
domidumont left,
setty1 left,
cpage_ left,
cpage__ is now known as cpage_
18:11
Cabanossi joined
18:12
abraxxa joined
18:13
_kristian joined
18:20
poohman joined
18:21
abraxxa left
18:22
mcmillhj left
|
|||
poohman | hello all - a quick question - in regex, how to negate a literal? !'>' or ^'>' or -'>' | 18:23 | |
TimToady | <!before '>'> | 18:24 | |
note that it doesn't advance the cursor | 18:25 | ||
18:26
abraxxa joined
|
|||
poohman | thanks anyway to advance cursor as well, if am not asking too much | 18:26 | |
18:26
kyan joined
|
|||
TimToady | well, how much? one character? the length of the literal? | 18:27 | |
just put a . to advance one char | |||
18:27
mahafyi_ joined
|
|||
kyan | Hi! So I had a big .p6 file, and now I cut out part of it and pasted it into another file. How can I make the first file import it? | 18:27 | |
TimToady | but if you're doing a single char, then <-[ > ]> will do that already | 18:28 | |
18:29
mahafyi left
|
|||
poohman | {!before'<'.}* | 18:29 | |
18:29
mcmillhj joined,
mahafyi_ is now known as mahafyi
|
|||
kyan | I tried putting "unit module EmParser;" at the beginning of the files, but it can't seem to find the class declared in other file. | 18:29 | |
poohman | will that work? | ||
TimToady | no, you can't just change <> to {} like that | 18:30 | |
<-[<]>* will do that though | |||
poohman | great thanks - grinning wide - learning from Larry himself | 18:31 | |
TimToady | kyan: you wanna use 'use' to pull in the other file | ||
if your subfile is declaring a class, you probably want 'unit class' or so | 18:32 | ||
kyan | Um, what do I put after "use"? I tried "use parserSupport.p6", "use parserSupport", and "use EmParser" (EmParser being what I put in "unit module EmParser;") | 18:35 | |
18:35
mienaikage joined
|
|||
geekosaur | kyan, if it's in the current directory, run perl6 with -I. or put "use lib '.';" in the using module | 18:36 | |
kyan | (they're all saying things like "Could not find parserSupport at line 9 in:") | ||
TimToady | you probably need some kind a 'use lib ".";" declaration or so, depending on where | ||
what geekosaur said | |||
geekosaur | otherwise it looks in the module path, which does *not* contain the current directory by default | ||
(current directory is kinda a bad default for that because now paths depend on where you ran the script from: it'll only work if you run it from where it is, not if you are somewhere else and reach it with a pathname) | 18:37 | ||
...and if you change it to mean that, now you can't refer to the *other* version | 18:38 | ||
18:39
darutoko left
|
|||
geekosaur | this is fine in C because once it's compiled it no longer matters. for perl (or python or ...) it's always going to be a bit ambiguous | 18:39 | |
kyan | Hm, it still can't find it. Here's what I have at the moment: github.com/ethus3h/ember-informati...tations/p6 | 18:40 | |
I'm running ./parser.p6 from Bash. | |||
DrForr | parserSupport has a package named SymbolTable, I'd recommend changing parserSupport to SymbolTable.pm6 an 'use SymbolTable;'. | 18:42 | |
18:43
domidumont joined
|
|||
kyan | Aha! It worked! | 18:44 | |
DrForr | You might also want to go to modules.perl6.org, choose a module name and look at how it's laid out. | ||
kyan | When I run ./tests.p6, though, it says 'use lib' may not be pre-compiled (since it tries to import parser)... | 18:45 | |
Yeah, I tried using github.com/zostay/p6-DOM-Tiny/blob...M/Tiny.pm6 as a model but couldn't make head nor tail of it | 18:46 | ||
18:46
domidumont1 left
|
|||
comborico1611 | tbrowder, glad you found your article! I write my stuff on my local machine for that reason. | 18:47 | |
18:47
domidumont left
18:48
domidumont joined
|
|||
DrForr | kyan: Same basic issue. grammar EM {}, so you probably should rename parser.pm6 to EM.p6 and then the same 'use lib...; use EM;'. | 18:49 | |
18:49
mahafyi left
|
|||
kyan | DrForr: EM.p6 or EM.pm6? The former says it couldn't find EM; the latter says use lib may not be precompiled | 18:50 | |
ooh I have an idea | 18:51 | ||
DrForr | The latter, but don't let me tell you hat to do :) | 18:52 | |
kyan | (just wondered since the SymbolTable got .pm6) | 18:53 | |
I tried getting rid of all the use lib; and use whatever; outside of the tests.p6 (now runTests.p6) file I'm running, and putting them all in it | 18:55 | ||
18:55
cdg_ left
18:56
cdg joined
|
|||
kyan | That seemed to make the "use lib may not be pre-compiled" issue go away, but it still bombs out with "Could not find EM" despite EM.p6 existing | 18:57 | |
DrForr | Your files are kind of combinations of scripts and a more usual class, I'd try to separate those two. | 19:00 | |
kyan | Separate them in what way? | ||
19:01
cdg left,
Slayerk joined,
AlexDaniel joined
|
|||
Slayerk | Hello p/ | 19:01 | |
kyan | SymbolTable is a class, EM is a grammar, testSupport is a collection of subs, and runTests is a script... | ||
Slayerk | Does $a %% $n[^20].any check if the number $a is divisible by any number from 1 to 20 in the list $n? | 19:02 | |
DrForr | Line 3 of EM.pm6 has code that creates a symbol table and *then* declares the grammar. | ||
You can still initialize the symbol table, but I'd do that in a separate file, and include the grammar. | |||
kyan | ok, so have a file that's like, my $*ST = SymbolTable.new; use EM; | 19:03 | |
something feels weird about that | 19:04 | ||
DrForr | Yeah. It might seem redundant, but you can reuse the grammar with a different symbol table. | ||
kyan | oh, true | ||
DrForr | And once it's up on CPAN someone else can reuse your grammar. | 19:06 | |
kyan | Hmm, it's back again with the Could not find grammarPrep thing... | ||
DrForr: I mean I guess, I wasn't planning on posting it (I'm kind of learning while writing this, so it probably sucks / is of limited utility...) | 19:07 | ||
DrForr | grammarPrep doesn't have a class in it, so there's nothing to "include". | ||
kyan | DrForr: um... | ||
timotimo | "use blah" doesn't automatically re-export stuff | 19:08 | |
yoleaux | 6 Dec 2017 23:10Z <tbrowder> timotimo: the old advent md2html from Zoffix seems to do fine. | ||
DrForr | Don't think of 'use' as a C #include directive, think of it as a Python import of a class. | ||
kyan | Ok, yeah, that's probably my problem, I don't "get" how Python does it either :P | 19:09 | |
kyan understands Bash and to some extent C and PHP. Not much of a programmer. | |||
DrForr | You're loading a class definition, not inlining a file. | 19:10 | |
kyan | my small bits of Python have been thoroughly trial-and-error (mostly error) | ||
DrForr | (really you are under the hood, but it's better to know the "proper" way to use it before abusing it :) | ||
kyan | I guess "use" isn't necessarily what I want to use? I'm kinda confused, sorry... | 19:11 | |
DrForr | No, you're just thinking about it differently. | ||
19:11
setty1 joined
|
|||
kyan | if it's just loading classes tho, how do I import stuff that's not classes? | 19:12 | |
19:12
domidumont left
|
|||
kyan | I don't just want to copy-paste my code everywhere, that always ends badly... | 19:12 | |
19:12
domidumont joined
|
|||
DrForr | Put it in a class and use the 'is export' declaration. | 19:12 | |
kyan | wait, put the "my $*ST = SymbolTable.new;" thing in a class, you mean? | 19:13 | |
Geth | doc/master: 6 commits pushed by (Luca Ferrari)++, (Rafael Schipiura)++ | ||
DrForr | No, put that in a script thhat does 'use SymbolTable; my $*ST = SymbolTable.new;' | ||
19:14
ChoHag_ left,
domidumont1 joined
|
|||
kyan | DrForr: Ok, but then how do I include *that* script? | 19:14 | |
DrForr | Single driver script that imports your classes. | ||
timotimo | dynamic variables like $*ST are only available in things you call from the place it's declared, and a module that only declares a dynamic variable and calls nothing won't do much for you | ||
kyan | Initializing the SymbolTable and importing the grammar are kind of a single step from the perspective of the test runner. Is there a way to stick the symboltable initializer into the grammar's constructor? | 19:15 | |
19:16
raschipi joined
|
|||
kyan reads the docs and thinks maybe knows how to do that | 19:17 | ||
DrForr | I think you need to check out the :actions() adverb on the parser. | ||
19:17
domidumont left
|
|||
DrForr | theperlfisher.blogspot.cz/2016/02/f...pt_28.html # look for 'Taking Action.' | 19:18 | |
kyan | Thanks! | 19:19 | |
DrForr | You can make code run when an identifier is parsed without playing with the constructor. | ||
kyan | "when an identifier is parsed" — by identifier, do you mean whatever I stick in the parens in EM.parse()? | 19:20 | |
DrForr | Yep. | ||
kyan | Cool, thanks! | ||
DrForr | (I think, will look.) | ||
19:20
poohman left,
poohman joined
19:21
poohman left
|
|||
DrForr | A method would run whenever the 'identifier' token is parsed, and it gets what's atched at that point. | 19:21 | |
method identifier($/) { %.table{$/<escapedName>} = $/<parameterList>; } | 19:22 | ||
(full disclosure - I'm the author of said article.) | |||
raschipi | Slayerk: ^20 is 0..19, not even 1..20, not sure what you mean... | 19:25 | |
m: .first.say, .end.say given ^20 | |||
camelia | 0 19 |
||
19:30
ChoHag joined
|
|||
Slayerk | raschipi: Earlier on in my code I declare my $n := 2, 3 ... 100; | 19:32 | |
raschipi: So I thought that doing $n[^20] takes the first 20 terms | 19:33 | ||
raschipi | right, so $n[^20] youl be an Array containing 2..21 | 19:34 | |
calling .any on it creates an any junction with those values | |||
19:34
mienaikage left
|
|||
raschipi | any(2..21) | 19:34 | |
kyan | Ok, I've made a new version of it that uses a class attached to :actions(, but it's saying it can't find the new class... | 19:35 | |
19:36
mcmillhj left,
unicodable6 left,
unicodable6 joined,
committable6 left,
committable6 joined
|
|||
raschipi | Slayerk: You're trying to test $a divisible by any of 2 to 21? | 19:37 | |
DrForr | You probably shouldn't be using the dynamic variable there. | ||
And $/ is already a matched object, so you're probably doing things too early. | 19:38 | ||
kyan | Oh... I'm totally lost, sorry :P | ||
moritz | kyan: show some code, maybe? | ||
I might have missed some context | |||
DrForr | github.com/ethus3h/ember-informati...Support.p6 | 19:39 | |
kyan | Five files right now: github.com/ethus3h/ember-informati...tations/p6 | ||
I started with a single big script that did everything, and i'm having trouble breaking it up into separate files | |||
the entry point is ./runTests.p6 | 19:40 | ||
Slayerk | Yeah | ||
raschipi: Yeah | |||
DrForr | kyan: It's also nice to be able to do 'is-deeply $parser.parse( Q{int i;} ), { identifier => { i => 'int' } };'. | ||
raschipi | Slayerk: so, what's the problem? | 19:41 | |
kyan | DrForr: Oh, I guess wrapping it in a new class breaks that... | 19:42 | |
that's awkward. | |||
DrForr | I was just looking at your test suite, and it's really more complex than it needs to be, IMO. | 19:43 | |
Slayerk | raschipi: I have a loop, and an if statement inside of the loop to test if the numbers are divisible by any number from 2 to 21 | ||
19:43
itaipu joined
|
|||
Slayerk | raschipi: But it comes back as all numbers being divisible by 2 to 21, even though I am looping to 1 million | 19:43 | |
kyan | DrForr: That is very much on my to do list... trying to get this thing split up before I go back to working on it so it's less of a headache to scroll through and doesn't have a million levels of indentation | 19:44 | |
DrForr | kyan: Here's a small module that might be inspiration - github.com/drforr/perl6-Grammar-Common | ||
kyan | inspiration for this specific refactoring problem, or for how grammars are put together in general? | 19:46 | |
DrForr | The latter. | ||
kyan | cool, thanks! :D | ||
[Coke] | m: say (^1000).grep(* %% any(2..21)) | 19:48 | |
camelia | (0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 30 32 33 34 35 36 38 39 40 42 44 45 46 48 49 50 51 52 54 55 56 57 58 60 62 63 64 65 66 68 69 70 72 74 75 76 77 78 80 81 82 84 85 86 87 88 90 91 92 93 94 95 96 98 99 100 102 104 1… | ||
DrForr | It's a pluggable set of roles that do some simple parsing tasks, the test suite might especially be interesting. | ||
kyan | yeah, i'm looking at the tests ;) | ||
much more orderly than mine, heh | |||
timotimo | m: say (^1000).grep(* %% none(2..21)) | 19:49 | |
camelia | (1 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 317 331 337 347 349 353 359 367 373 3… | ||
DrForr | It's a little bit unusual in that I've got a grammar in the test suite, but that's because I'm testing how a role integrates into its parent grammar. | ||
timotimo | (much more interesting, imo) | ||
raschipi | m: say (^1000).grep(* %% any(2..21)).elems | 19:50 | |
camelia | 830 | ||
raschipi | Slayerk: Why do you say you get all numbers? | ||
m: say (^1_000_000).grep(* %% any(2..21)).elems | 19:51 | ||
camelia | (timeout) | ||
19:52
mcmillhj joined
|
|||
Slayerk | raschipi: Well, I did a test where I add "say $a" into the code into the if function | 19:53 | |
[Coke] | m: (^10000).grep(*.is-prime).rotor(2 => -1).grep({$_[1]==$_[0]+2}) # hey, twin primes | ||
Slayerk | raschipi: And it gives all the numbers 1 to a million | ||
camelia | ( no output ) | ||
[Coke] | m: say (^10000).grep(*.is-prime).rotor(2 => -1).grep({$_[1]==$_[0]+2}) # hey, twin primes | ||
camelia | ((3 5) (5 7) (11 13) (17 19) (29 31) (41 43) (59 61) (71 73) (101 103) (107 109) (137 139) (149 151) (179 181) (191 193) (197 199) (227 229) (239 241) (269 271) (281 283) (311 313) (347 349) (419 421) (431 433) (461 463) (521 523) (569 571) (599 601) … | ||
raschipi | like timotimo put above, it should have skipped some: 1 23 29 31 37 41 43 47... | 19:54 | |
[Coke] | raschipi: which code didn't skip? (my example earlier did...) | 19:55 | |
19:58
hankache joined
|
|||
raschipi | Slayerk says his code doesn't skip | 19:59 | |
say (^1_000_000).grep(* %% any(2..21)).elems returned 828979 for me | 20:00 | ||
Slayerk | raschipi: I could throw my code into a pastebin quickly? | 20:02 | |
raschipi | sure | ||
kyan | I changed "if run-silenced {" to "if self.run-silenced {" at github.com/ethus3h/ember-informati...r.pm6#L64, and now it says "Strange text after block (missing semicolon or comma?)". What's wrong with this change? | 20:05 | |
Slayerk | :D | ||
AlexDaniel | huggable: try | ||
huggable | AlexDaniel, f.perlbot.pl/#perl6 tio.run/#perl6 glot.io/new/perl6 ideone.com/ | ||
20:05
geekosaur left
|
|||
AlexDaniel | ↑ paste thingies with p6 eval | 20:05 | |
timotimo | kyan: "run-silenced { ... }" passes the block to the sub run-silenced | ||
20:05
pmurias left
|
|||
Slayerk | pastebin.com/EZx1BhGB | 20:05 | |
timotimo | kyan: but if you want to pass a block in a method call you have to use either a : or parenthesis around the block | ||
kyan | Ah, cool ,thanks! | 20:06 | |
20:06
eviltwin_b joined,
eviltwin_b is now known as geekosaur
|
|||
Slayerk | I slightly reduced the loop size so its runs faster | 20:06 | |
timotimo | or perhaps you wanted the opposite and needed if run-silenced() { } | ||
kyan | Don't recall which now, tbh | ||
timotimo | m: sub test($a) { }; if test { say "oh" } | 20:07 | |
camelia | 5===SORRY!5=== Function 'test' needs parens to avoid gobbling block at <tmp>:1 ------> 3sub test($a) { }; if test { say "oh" }7⏏5<EOL> Missing block (apparently claimed by 'test') at <tmp>:1 ------> 3sub test($a) { }; if test { … |
||
timotimo | normally the error you get is like that | ||
kyan | hmm, haven't seen that one yet today | ||
timotimo | it happens rather often in code like this: | 20:08 | |
m: enum Foo <One Two>; given 1 { when Onne { say "one!" } } | |||
camelia | 5===SORRY!5=== Function 'Onne' needs parens to avoid gobbling block (or perhaps it's a class that's not declared or available in this scope?) at <tmp>:1 ------> 3Two>; given 1 { when Onne { say "one!" }7⏏5 } Missing block (apparently… |
||
kyan | Aha, I think what I wanted is this: "if self.run-silenced({ EM.parse($code, :$rule) }) {" | ||
timotimo | you see i typo'd One as Onne and it interprets that as sub (but it sees the capital letter and suggests i probably typo'd a class or similar) | 20:09 | |
kyan | Thanks! | ||
(my previous problem was a space between "silenced (") | |||
Oh, interesting | |||
timotimo | yeah, a space there makes a significant difference | ||
20:10
natrys left
|
|||
kyan | Yay, it runs now! More tests are failing than before, but I can probably sort that. Thanks all :D | 20:12 | |
20:12
cdg joined
|
|||
raschipi | @np.push[$a]; should be @np.push($a) glot.io/snippets/ew76grtopo | 20:12 | |
20:16
cdg left
20:19
domidumont1 left
|
|||
raschipi | Slayerk: Do you see you have square brackets intead of parens? | 20:20 | |
kyan | ok, no, I'm still mystified... starting to feel like going back to the single file -_-; | 20:21 | |
20:22
domidumont joined,
hankache left
|
|||
kyan | (simply because the code isn't doing exactly what it did before, even though by my understanding it should) | 20:23 | |
20:25
Cabanossi left
20:27
domidumont left,
Cabanossi joined
|
|||
kyan | Ok, yeah, this is way over my head... thanks all :) | 20:30 | |
kyan will make a bash script to build the desired script from the chunks and then run that | |||
DrForr | Oof. | ||
Slayerk | raschipi: Thanks, but it still seems to be happening with () instead of [] :P | 20:31 | |
20:33
benchable6 joined
|
|||
timotimo | m: my @a; @a.push[99] | 20:33 | |
kyan | I mean, I know bash, so at least I have some semblance of understanding how it works ;P | ||
camelia | ( no output ) | ||
timotimo | i didn't know you could .push without arguments | ||
m: my @a; @a.push(); say @a | |||
camelia | [] | ||
20:33
ChanServ sets mode: +v benchable6
|
|||
Slayerk | raschipi: It works now! | 20:34 | |
raschipi: Thanks for all your help! :D | 20:35 | ||
kyan | Ok, that worked. :) Thanks all. :) | 20:40 | |
sorry I couldn't understand the modules. | |||
DrForr | No worries, it takes some time to get used to it. | 20:41 | |
kyan | :P | ||
Ty again, and thanks for the reusable grammar bits package | 20:42 | ||
! :D | |||
DrForr | Quite welcome. | ||
20:48
kyan left
20:53
kaare_ left,
cdg joined
|
|||
raschipi | Slayerk: anytime | 20:54 | |
20:55
kaare_ joined,
mcmillhj left
20:57
Slayerk left
21:01
mcmillhj joined
|
|||
[Coke] | ff | 21:01 | |
21:02
Marlik joined
|
|||
Marlik | Hi guys, I can not put Rakudo, I have Ubuntu 16.04, I use the manual perl6.org/downloads/ | 21:04 | |
DrForr | What did you try, and what happened? | 21:05 | |
21:08
geospeck left
|
|||
moritz | Marlik: I recommend github.com/nxadm/rakudo-pkg | 21:10 | |
Marlik | I have no path to perl6, cd /home/marlik/opt and on manual do it. | 21:11 | |
moritz | Marlik: I can't parse what you write | 21:13 | |
Marlik | moritz: Sorry, i check your link. | 21:14 | |
moritz: Thanks. | |||
21:18
wamba left
21:20
BenGoldberg left
21:23
Marlik left
21:38
Cabanossi left
21:39
kaare_ left
21:41
Cabanossi joined
21:42
mcmillhj left
21:43
lostinfog left,
damnlie left,
ZzZombo left,
s0me0ne-unkn0wn left,
ecocode_ left,
no-n left,
PotatoGim left,
mrsolo left,
mst left
21:44
PotatoGim joined
21:48
kaare_ joined,
lostinfog joined,
damnlie joined,
ZzZombo joined,
s0me0ne-unkn0wn joined,
ecocode_ joined,
no-n joined,
mrsolo joined,
mst joined
21:57
abraxxa left
22:10
ChoHag left,
bisectable6 joined,
ChanServ sets mode: +v bisectable6
22:13
kitsunenokenja joined
22:14
silug left
22:15
greppable6 joined,
squashable6 joined
22:17
ChoHag joined
22:20
kerframil joined,
eliasr joined
22:22
silug joined
22:29
cpage_ left
22:30
mcmillhj joined
22:37
ChoHag left,
kitsunenokenja left,
lostinfog left,
damnlie left,
ZzZombo left,
s0me0ne-unkn0wn left,
ecocode_ left,
no-n left,
mrsolo left,
mst left,
mcmillhj left
22:40
setty1 left
22:42
ChoHag joined,
kitsunenokenja joined,
lostinfog joined,
damnlie joined,
ZzZombo joined,
s0me0ne-unkn0wn joined,
ecocode_ joined,
no-n joined,
mrsolo joined,
mst joined
22:43
raschipi left
22:45
aindilis left
22:49
mcmillhj joined
22:53
mcmillhj left
22:58
cpage_ joined
23:00
evalable6 joined,
ChanServ sets mode: +v evalable6
23:04
mcmillhj joined
23:11
callyalater joined
23:14
piojo left,
mcmillhj left
23:22
callyalater left
23:23
lostinfog left
23:24
xinming left
23:26
itaipu left
|
|||
timotimo | stackoverflow.com/questions/477044...1_47704428 - lizmat, you want to take this? | 23:29 | |
lizmat | yeah, will look at it tomorrow | 23:30 | |
but now first some sleep& | |||
so goodnight! | |||
23:33
mcsnolte left
23:39
rindolf left,
aindilis joined
23:42
troys is now known as troys_
23:45
aindilis left,
aindilis joined
23:53
pilne joined
|