»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
00:00
reportable6 left
00:03
reportable6 joined
00:10
uzl left,
toddr joined
00:31
leont left
00:38
toddr left
01:02
netrino left
01:25
aborazmeh left
01:28
wildtrees left
01:34
snarkyboojum joined
01:38
cpan-p6 left,
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
01:48
Sgeo_ is now known as Sgeo
01:49
lembark joined
01:56
molaf left
01:57
mahafyi left
02:01
Manifest0 left,
Manifest0 joined
02:08
Doc_Holliwood left
02:09
molaf joined
02:10
mahafyi joined
02:20
lembark left
02:24
quester joined
02:26
Cabanossi left
02:31
yht joined
02:35
Cabanossi joined
02:36
mniip_ joined
02:37
yht left
02:44
mniip_ is now known as mniip
03:02
molaf left
03:12
[particle]1 left,
Demos[m] left,
mack[m] left
03:13
sergiotarxz[m] left,
Guest35100 left,
DarthGandalf left,
Hotbees left,
pnu__ left,
ChoppedBacon left,
kawaii left,
tony-o joined,
stux|RC joined,
a3f joined,
DarthGandalf joined
03:14
peteretep joined,
pnu__ joined,
kawaii joined,
sergiotarxz[m] joined,
Guest35100 joined,
Demos[m] joined
03:15
mack[m] joined
03:18
BuildTheRobots joined,
mithaldu_ joined,
[particle]1 joined,
Hotbees joined,
ChoppedBacon joined,
tbrowder joined,
mtj_ joined,
Bucciarati joined,
BuildTheRobots left,
BuildTheRobots joined,
mithaldu_ left,
mithaldu_ joined
03:19
BuildTheRobots left
03:21
BuildTheRobots joined
03:27
rainmanjam joined
03:42
rindolf joined
03:53
lembark joined
04:06
rainmanj_ joined
04:07
rainmanj_ left
04:08
rainmanj_ joined
04:10
rainmanjam left
04:51
adu left
05:10
lembark left
|
|||
pilne | i kindasorta really like using.... wsl/ubuntu as a dev environment.... because the nuke/reinstall is stupid easy if i shitlord it all up | 05:17 | |
05:25
Sgeo_ joined,
sjm_uk joined
05:29
Sgeo left
|
|||
Elronnd | pilne: heresy! | 05:37 | |
pilne | :D | 05:39 | |
is that like the "blood for the blood god, skulls for the skull throne" kinda heresy? | |||
Elronnd | I used wsl for a while | ||
could not stand it | |||
windows so slow and buggy | 05:40 | ||
pilne | i don't think i'd like to use it on the major regular, but for the moment i'm not going to dual boot this machine, and i don't quite know where to setup the old lappy to have my *nix box at the same time, but realistically i've yet to run into issues with the dablbing/digging/poking i'm doing with | 05:41 | |
win10 "native" as it were. | |||
05:54
cpan-p6 left
05:55
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
05:59
snarkyboojum_ joined
06:00
reportable6 left
06:01
reportable6 joined
06:02
snarkyboojum left
06:07
xinming joined
06:17
MasterDuke joined
06:36
woolfy left
06:54
lizmat left
07:12
cpup left
07:17
cpup joined
07:18
quester left
07:33
aborazmeh joined,
aborazmeh left,
aborazmeh joined
07:39
sjm_uk left
07:41
kylese joined
07:47
sjm_uk joined
08:32
kylese left
08:34
Sgeo_ left
08:35
Sgeo_ joined
08:38
jaldhar left,
jaldhar joined
08:51
Sgeo_ left,
Sgeo_ joined
09:13
chloekek joined
09:17
aborazmeh left
09:20
leont joined
09:24
MilkmanDan left
09:25
MilkmanDan joined,
sjm_uk left
09:26
sjm_uk joined
09:35
leont left
09:50
chloekek left
10:08
robertle left
10:09
Black_Ribbon left
10:13
epony left
10:28
mowcat joined
10:29
antoniogamiz joined
10:31
epony joined
10:32
sjm_uk left
10:33
Sgeo__ joined
10:36
Doc_Holliwood joined,
Sgeo_ left
10:38
molaf joined
10:49
chloekek joined
|
|||
Geth | rakudo.org: 85e531a04d | (Roman Baumer)++ (committed using GitHub Web editor) | nginx.conf add nginx.conf |
11:22 | |
11:22
Doc_Holliwood left
11:27
Sgeo_ joined
11:31
Sgeo__ left
11:33
_jrjsmrtn left
11:34
__jrjsmrtn__ joined
11:43
jmerelo joined
|
|||
jmerelo | squashable6: status | 11:43 | |
squashable6 | jmerelo, Next SQUASHathon in 25 days and ≈16 hours (2019-09-07 UTC-12⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
12:00
reportable6 left
|
|||
chloekek | jmerelo: I did some more work on the distributions and versions stuff and I now have a file with META data along with tarball URLs and hashes for nearly all distributions. :) | 12:00 | |
12:02
reportable6 joined,
ChanServ sets mode: +v reportable6
12:07
pmurias joined
12:08
cpup left
12:09
Sgeo__ joined
|
|||
pmurias | Xliff: re Java going closed source, didn't they actually open source more of the JVM but are making old releases paid? | 12:09 | |
jmerelo | chloekek: great | 12:11 | |
12:13
Sgeo_ left,
cpan-p6 left,
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
|
|||
jmerelo | pmurias: I think some of the releases are. Enterprise releases, mostly | 12:13 | |
12:15
netrino joined
12:34
pmurias left
12:38
chloekek left
12:40
cpup joined
12:46
aborazmeh joined,
aborazmeh left,
aborazmeh joined
12:49
mowcat left,
chloekek joined
|
|||
El_Che | lo | 12:55 | |
antoniogamiz | o/ | ||
13:02
jaldhar left,
jaldhar joined
13:08
jaldhar left
13:09
jaldhar joined,
xinming left
13:12
jaldhar left
13:13
jaldhar joined
13:14
antoniogamiz left
13:17
mowcat joined
13:21
jaldhar_ joined
|
|||
jmerelo | chloekek: you got a direct message :-) | 13:22 | |
13:22
jaldhar_ left
13:23
jaldhar_ joined,
netrino left
13:24
jaldhar left,
jaldhar_ left
13:25
jaldhar_ joined,
lichtkind joined
|
|||
lichtkind | can I rename packages I loaded? | 13:25 | |
13:26
|oLa| left
13:27
netrino joined
|
|||
lichtkind | something use Long::Package as 'LP'; | 13:28 | |
moritz | constant LP = Long::Package; | 13:31 | |
lichtkind | yes but can i call LP::somsub() ? | 13:32 | |
13:32
jmerelo left
|
|||
moritz | I think so, yes | 13:32 | |
I think "use LP:name('Long::Package');" is also supposed to work; no idea if it's implemented yet | 13:34 | ||
13:34
jaldhar_ left
13:35
jaldhar_ joined
13:36
jaldhar_ left
|
|||
cpan-p6 | New module released to CPAN! Image::QRCode (0.0.2) by 03FRITH | 13:36 | |
13:37
jaldhar_ joined,
aborazmeh left
13:40
robertle joined
|
|||
lichtkind | indeed | 13:41 | |
moritz++ | |||
still i would prefere a keyword as as syntactic sugar | 13:42 | ||
13:44
jaldhar_ left
13:45
jaldhar_ joined,
lichtkind left
13:46
jaldhar_ left
|
|||
chloekek | moritz: oh nice, I always wrote my constant LP = Long::Package; | 13:47 | |
13:47
jaldhar_ joined
13:48
lucasb joined
13:51
Sgeo_ joined
13:54
Sgeo__ left
13:56
jaldhar_ left
13:57
jaldhar_ joined
13:58
jaldhar_ left
13:59
jaldhar_ joined
14:00
jaldhar_ left
14:01
jaldhar_ joined
14:02
jaldhar_ left
14:03
jaldhar_ joined,
empee0 joined
14:04
uzl joined
|
|||
uzl | m: sub f(Str $n = 'hello' --> Bool) { $n }; f() | 14:04 | |
camelia | Type check failed for return value; expected Bool but got Str ("hello") in sub f at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
uzl | m: sub f(Str $n = 'hello' --> Bool) { $n }; f().put | 14:05 | |
camelia | Type check failed for return value; expected Bool but got Str ("hello") in sub f at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
uzl | m: sub f(Str $n = 'hello' --> Bool()) { $n }; f().put | ||
camelia | True | ||
uzl | Is this '--> Type()', instead of just '--> Type', in the signature's return constraint documented? It's kind of nifty. | 14:07 | |
14:12
jaldhar_ left
14:13
jaldhar_ joined
|
|||
netrino | uzl: read about that just yesterday docs.perl6.org/language/functions#...cion_types | 14:14 | |
14:14
jaldhar_ left
14:15
jaldhar_ joined
14:16
jaldhar_ left
14:17
jaldhar_ joined
|
|||
uzl | netrino: Thanks. I think I need to read the Functions page more carefully ;-). | 14:17 | |
14:18
jaldhar_ left
14:19
jaldhar_ joined
14:32
jaldhar_ left
14:33
jaldhar_ joined
14:38
antoniogamiz joined
14:40
jaldhar_ left
14:41
jaldhar_ joined
14:46
|oLa| joined
14:49
chloekek left,
netrino_ joined
14:52
netrino left
14:59
Sgeo_ left
15:01
|oLa| left
|
|||
Geth | doc/regexes: 7b5d7d3eac | threadless-screw++ | doc/Language/regexes.pod6 Upgrade of Literals section |
15:05 | |
15:08
Sgeo joined
|
|||
Geth | doc: threadless-screw++ created pull request #2946: Upgrade of Literals section |
15:14 | |
15:17
Sgeo left
15:20
jaldhar_ left
15:21
jaldhar_ joined,
Sgeo joined
15:22
Sgeo left
15:23
Sgeo joined
|
|||
perryprog | Out of curiosity, are there any nicer perl6 repls than the default one? | 15:23 | |
timotimo | well, there's a jupyter notebook kernel | 15:25 | |
which you can also use with the qtconsole (not sure if they call it jupyter qtconsole or if it's still called ipython qtconsole) | |||
15:33
robertle left,
netrino_ left
|
|||
perryprog | oh yeah an ipython like john would be great | 15:35 | |
timotimo | who is john? | 15:36 | |
perryprog | s/john/thing | ||
timotimo | github.com/bduggan/p6-jupyter-kernel | 15:37 | |
perryprog | Thank you. | ||
timotimo | www.youtube.com/watch?v=tSZV8IXIsM4 - als o a presentation on this exact thing | 15:38 | |
15:58
zakharyas joined
16:09
molaf left
|
|||
AlexDaniel | m: say 42 | 16:13 | |
camelia | 42 | ||
16:25
netrino joined
16:28
molaf joined
16:36
|oLa| joined
16:38
sjm_uk joined
16:40
jaldhar_ left
16:41
jaldhar_ joined
16:50
jaldhar_ left
16:51
jaldhar_ joined,
sjm_uk left
16:52
jaldhar_ left
16:53
jaldhar_ joined,
ChoHag left
16:56
sjm_uk joined
16:58
jaldhar_ left
16:59
jaldhar_ joined
17:00
jaldhar_ left
17:01
jaldhar_ joined
17:07
MilkmanDan left,
robertle joined
17:09
MilkmanDan joined,
ChoHag joined
17:16
lembark joined
17:38
sjm_uk left
|
|||
uzl | lembark: re "/doc" colabti.org/irclogger/irclogger_lo...08-10#l894 | 17:52 | |
17:59
snarkyboojum__ joined,
sjm_uk joined
18:00
reportable6 left
18:02
reportable6 joined
18:03
snarkyboojum_ left
18:08
uzl left
18:16
irced joined
18:20
cpup left,
cpup joined
|
|||
irced | m: $_="ABBCDEEF"; s:g/ <( (.)$0* )> /$/\n/; .say | 18:26 | |
camelia | A BB C D EE F |
||
irced | m: $_="ABBCDEEF"; s:g/ <( (.)$0* )> /$/\n/; .print | ||
camelia | A BB C D EE F |
||
irced | jaldhar_: observe this compact solution 😃 | 18:27 | |
jaldhar_: sans alternation | 18:28 | ||
18:35
chloekek joined
18:46
antoniogamiz left
|
|||
netrino | m: $_"ABBCDEEF"; s:g/(.)$0*/$/\n/; .print | 18:55 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3$_7⏏5"ABBCDEEF"; s:g/(.)$0*/$/\n/; .print expecting any of: infix infix stopper statement end statement mod… |
||
netrino | m: $_ = "ABBCDEEF"; s:g/(.)$0*/$/\n/; .print | ||
camelia | A BB C D EE F |
||
netrino | What are <( for? | 18:56 | |
irced | netrino: good question! | ||
tobs | netrino: they <( and )> demarcate the main match "body", so to speak | 18:57 | |
irced | netrino: thanks for demonstrating it works without. i was trying to replicate a perl5 regex that uses \k. according to the docs, <( )> is similar to \K "to discard any matches found before the \K". i just assumed it would make a cleaner match object and began with it since it was in the original expression i was trying to replicate. | 18:58 | |
tobs | m: say "ABCAADEF" ~~ / (.) $0 <( . )> / # returns only the character after a repeated character because that is what's <()>'d | ||
camelia | 「D」 0 => 「A」 |
||
netrino | tobs, irced thanks :) | 18:59 | |
timotimo | <( and )> don't even have to match up! | ||
tobs | which is, of course, a mistake :) | 19:00 | |
19:02
mowcat left
|
|||
irced | but the original expression if i recall correctly was more complex so maybe that's why \K in it was included. so thanks again netrino for demonstrating that in this case, it doesn't make any difference to the match result. | 19:03 | |
netrino | irced: ah, don't mention it, i'm just clueless about perl6 regex at this point, so just asking :) thanks again for clearing that up for me, guys. | 19:05 | |
irced | 😃 | 19:09 | |
tobs: excellent demonstration of discarding the match of the preceding pattern in the result | 19:13 | ||
m: say "ABCAADEF" ~~ / (.) $0 /; # outputs first repeating char | 19:17 | ||
camelia | 「AA」 0 => 「A」 |
||
irced | m: say "ABCAADEF" ~~ / (.) $0 /; # outputs first repeating chars | ||
camelia | 「AA」 0 => 「A」 |
||
irced | m: say "ABCAADEF" ~~ / (.) $0 <( . )>/; # moves on from the preceding match of first repeating characters to match any character following | 19:18 | |
camelia | 「D」 0 => 「A」 |
||
vrurg | timotimo: do you debug moar in comma? | 19:19 | |
irced | m: print "ABCAADEF" ~~ / (.) $0 /; # outputs first repeating chars | 19:20 | |
camelia | AA | ||
irced | m: print "ABCAADEF" ~~ / (.) $0 <( . )>/; # moves on from the preceding match of first repeating characters to match any character following | ||
camelia | D | ||
irced was probably misthinking that the global match operator and <( )> were associated, whereas it appears <( )> is specific to the pattern | 19:23 | ||
Geth | problem-solving/merge-mishap: 37df3d6bfc | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files Get rid of solution numbers for now They're just painful to have. It's not a number of an issue we're resolving because a PR can resolve more than one. So it had to be a PR id, but that's a bit chicken-and-eggy. Moreover, the “–“ in there is currently a non-ascii symbol, which can again be painful in some cases. So just remove the numbers for now, maybe we'll change it later. |
19:39 | |
19:39
grumble joined
|
|||
Geth | problem-solving: c7e568b615 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files Get rid of solution numbers for now They're just painful to have. It's not a number of an issue we're resolving because a PR can resolve more than one. So it had to be a PR id, but that's a bit chicken-and-eggy. Moreover, the “–“ in there is currently a non-ascii symbol, which can again be painful in some cases. So just remove the numbers for now, maybe we'll change it later. |
19:40 | |
19:42
jaldhar_ left,
jaldhar_ joined
|
|||
irced | jaldhar_: that you? | 19:43 | |
perryprog | Ooo, this is quite a neat snippet rosettacode.org/wiki/Mad_Libs#Perl_6 | 19:48 | |
19:49
empee0 left
|
|||
irced | perryprog: thanks for sharing! | 19:49 | |
perryprog: amazing how much can be done on one line there! | 19:55 | ||
perryprog: i am wondering what the first assignment does in: print S:g[ '<' (.*?) '>' ] = <-- | 19:57 | ||
timotimo | vrurg: no, for that i'd need a C debugger | 19:58 | |
vrurg | timotimo: I guess intellij is capable of deubgging C code. | ||
perryprog | I'm not exactly sure, irced. I'm taking a look. | 19:59 | |
irced | perryprog: 😃 | ||
timotimo | they have an IDE called CLion that can do that | 20:01 | |
with a comma plugin, that'd work | |||
but i usually just use gdb. about half the time through rr's record/replay feature | |||
tbrowder | Xliff: can you please look at your doc issue #2944 and see my question? | 20:02 | |
perryprog | irced, Aww, seems like it doesn't work in the current rakudo version. bummer. | 20:03 | |
irced | perryprog: sure it does, just be sure you are using < > in the input file | 20:05 | |
perryprog | ❯ echo 'foo <bar>' | perl6 tmp.p6 gives "bar? Cannot do 'get' on a handle in binary mode" | 20:06 | |
irced | perryprog: hmm, may have something to do with echo. create an input file and pass it as an argument. e.g. madlibs.txt | ||
perryprog | I tried that too. No such luck. | 20:07 | |
irced | perryprog: i got it to work with, <name> went for a walk in the park. <He or She> found a <noun>. <name> decided to take it home. | ||
perryprog: perl6 tmp.pl6 madlibs.txt | 20:08 | ||
perryprog | Hmm, yeah there we go. Weird. | ||
irced | you should also be able to cat pipe it | ||
perryprog: interesting cat piping won't work either | 20:13 | ||
perryprog: this might not be a wonder oneliner after all | |||
perryprog | irced, regarding your earlier question: the first assignment must be right associative, i.e. parens around the RHS | ||
El_Che | Intellij is the version that support al the languages | 20:14 | |
20:14
Black_Ribbon joined
|
|||
irced | perryprog: i think we may need to adverbially modify slurp | 20:14 | |
El_Che | they have lang centric sub idea on top of intellij with less plugins enabled to give you the impression it's geared toward your language. It isn't :) | ||
netrino | irced, perryprog: you can pipe, but you have to pipe answers, not the template | 20:15 | |
prompt reads from stdin, while slurp takes the file from args | |||
perryprog | Ohh, right. | ||
Makes sense, thank you. | |||
irced | netrino: that does make sense, and also might guide to some workarounds... ... | ||
netrino | ^_^ | 20:17 | |
20:19
molaf left
|
|||
Geth | doc: gdonald++ created pull request #2947: Improve readability. Adjust token `letter` indentation. |
20:22 | |
tbrowder | .ask Xliff can you please look at your doc issue #2944 and see my question? | 20:23 | |
20:28
sjm_uk left
|
|||
irced | the workaround doesn't look like it can be a oneliner | 20:33 | |
20:34
zakharyas left
20:41
[Sno] joined
|
|||
irced | hang on a sec ... ... | 20:41 | |
netrino | irced: What are you trying for a workaround? | 20:42 | |
irced | i have a workaround but it's not one line yet | 20:43 | |
netrino | And what specifically are you working around? :D | ||
irced | netrino: to make it so the program is functional even with piped input | 20:44 | |
20:44
[Sno] left
|
|||
irced | netrino: i can show you the long version | 20:44 | |
20:44
[Sno] joined
|
|||
irced | netrino: but i think i am close to the one liner | 20:44 | |
netrino | irced: sure, please show :> | ||
irced | my &myprompt := { print $^a; open("/dev/tty").get; }; print S:g[ '<' (.*?) '>' ] = %.{$0} //= myprompt "$0? " given slurp; | 20:45 | |
netrino: on *nix | |||
20:46
epony left
|
|||
netrino | ooh, i see, interesting! | 20:47 | |
20:48
|Sno| joined
|
|||
irced | 😃 | 20:48 | |
20:49
[Sno] left
|
|||
irced | nope, a one-liner is currently beyond me | 20:53 | |
20:53
leont joined
|
|||
netrino | i mean, you can inline the block and it is sort of one liner except that block has severl lines :D | 20:54 | |
also can still use prompt by redeclaring $*IN | |||
irced | netrino: i tried those. maybe you had better luck? | ||
netrino | You mean it didn't work? | 20:55 | |
irced | netrino: i am specifically interested no how you mean to still use prompt by redeclaring $*IN ? | ||
netrino: since i spent the most time on that | |||
tbrowder | .tell Xliff can you please look at your doc issue #2944 and see my question? | 20:56 | |
netrino | irced: $*IN is dynamic var, so you can tell my $*IN = open('/dev/tty'); prompt | ||
irced | netrino: interesting but not working | 20:58 | |
😃 | |||
when there is piped input | |||
that is, prompt doesn't seem to look at my environment setting to $*IN i think | 20:59 | ||
netrino | irced: print S:g['<'(.*?)'>'] = %.{$0} //= { my $*IN = open('/dev/tty'); prompt $^a}.("$0?") given slurp | ||
this worked for me | |||
irced | oh? wow, let me see | ||
awesome, thanks netrino! | 21:01 | ||
irced starts tweaking his code. | |||
netrino | irced: 😃 sure thing | ||
21:02
jaldhar_ left,
jaldhar_ joined
|
|||
irced | print S:g[ '<' (.*?) '>' ] = %.{$0} //= { print $_, "? "; open("/dev/tty").get }.($0) given slurp; | 21:08 | |
there | 21:09 | ||
print S:g[ '<' (.*?) '>' ] = %.{$0} //= { print "$_? "; open("/dev/tty").get }.($0) given slurp; | 21:11 | ||
ok, no variable declaration gives it a compact look, though i have to consider whether i could use/leverage a state variable but anyway no bottleneck no problem | 21:12 | ||
21:12
|Sno| left
21:13
|Sno| joined
|
|||
irced | netrino: oh, we can remove the "my" keyword! | 21:14 | |
netrino: making yours a little more concise! | 21:15 | ||
netrino: now either of ours looks lean and mean | 21:16 | ||
Geth | doc: f22ea17295 | (Greg Donald)++ | doc/Language/grammars.pod6 Improve readability. Adjust token `letter` indentation to match previous example. |
||
synopsebot | Link: doc.perl6.org/language/grammars | ||
doc: dc091d3a42 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | doc/Language/grammars.pod6 Merge pull request #2947 from gdonald/grammer-improvements Improve readability. Adjust token `letter` indentation. |
|||
netrino | irced: yeah, though i think if you don't use `my' then $*IN won't get the old value upon existing the scope | 21:17 | |
exiting* | |||
21:20
cpan-p6 left,
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
|
|||
irced | netrino: wow, good catch, but I can't see at the moment where a post-slurp on the piped input could be used, it is important to recognize the difference, which is clear now thanks! | 21:21 | |
21:21
epony joined,
lizmat joined
|
|||
irced | netrino: especially if the same logic is used without slurping entirely on the pipe | 21:22 | |
netrino: that's where the difference becomes important | 21:23 | ||
netrino: methinks | |||
netrino | irced: true, in this particular case it shouldn't be a problem | ||
irced | netrino: though that scenario is a can of worms | 21:24 | |
netrino: since then the stdin would be interleaved which i dunno doesn't seem workable | |||
netrino: but hey the world once was flat | |||
netrino | 😃 | ||
irced | netrino: so, maybe i'm just thinking of stdin as flat | 21:25 | |
😃 | |||
Geth | ecosystem: 677d740c34 | dmaestro++ (committed using GitHub Web editor) | META.list Submit Module::Pod to ecosystem See github.com/dmaestro/Module-Pod Load pod objects (as in `$=pod`) from external modules. |
21:26 | |
irced | netrino: also i don't know if things like stdin can be "seek"'ed to, which could allow for storage of relative offsets and such | ||
netrino | generally you can't seek stdin, only the current buffer (which is sort of how ungetc works in C) | 21:28 | |
Geth | ecosystem: 0c94e1fb3e | dmaestro++ (committed using GitHub Web editor) | META.list Submit Module::Pod to ecosystem (fixed) See github.com/dmaestro/Module-Pod Load pod objects (as in `$=pod`) from external module |
||
irced | netrino: right. not a simple thing to accomplish but imaginable. thanks! | 21:29 | |
netrino | m: $*IN.seek(1, SeekFromCurrent) | 21:30 | |
camelia | ( no output ) | ||
netrino | c: $*IN.seek(1, SeekFromCurrent) | ||
committable6 | netrino, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Committable | ||
netrino | well, anyways, it tol me that this kind of handle is unseekable | 21:31 | |
irced | netrino: as one would expect, thanks for discussing it further | ||
21:33
lucasb left
|
|||
irced afk | 21:35 | ||
21:36
woolfy joined
21:42
leont left
21:50
chloekek left
|
|||
cpan-p6 | New module released to CPAN! Module::Pod (0.9.1) by 03DMAESTRO | 21:51 | |
22:07
khisanth_ left,
molaf joined
22:13
lembark left
22:20
khisanth_ joined
22:26
ChoHag left
22:28
lembark joined
22:40
molaf left
22:43
evalable6 joined
22:47
ChoHag joined
23:08
rindolf left
23:10
lembark left
23:37
pilne left
23:38
pilne joined
23:43
muse joined
|
|||
muse | hi | 23:43 | |
irced | welcome | 23:44 | |
muse | Fetching [FAIL]: GTK::Simple:ver<0.1.11> from git://github.com/perl6/gtk-simple.gitAborting due to fetch failure: GTK::Simple:ver<0.1.11> (use --force-fetch to override) | 23:45 | |
thats what im getting when i try to install gtk::simple. any ideas? | |||
this my first try at perl6 and i already am failing. thinking about doing it in linux instead of windows | 23:47 | ||
irced | hmm, i was able to install the module in linux myself | 23:48 | |
this is a fetch failure though | |||
as per error | |||
are you able to install any modules? | |||
muse | let me try | 23:49 | |
know any good ones? do they have lwp? | |||
ah that one is already preinstalled i guess | 23:50 | ||
irced | muse: well this one is quick and good for laughs... zef install Acme::Insult::Lala . sample code at: modules.perl6.org/dist/Acme::Insul...pan:JSTOWE | 23:51 | |
muse: if you're into laughing | |||
muse | lol. i remember looking at the source code to an acme modlue in perl5 and it phoned home to his server (think was Damian Conway) | ||
timotimo | ha | 23:52 | |
surely completely hamrless | |||
muse | no doubt | ||
timotimo | hopefully https secured? | ||
irced | muse: hmm, phoning home would mean a socket module would be loaded. a quick look at the code will in the least confirm that's not the case. | ||
timotimo | it could be using curl or wget instead | 23:53 | |
if bash is installed, i think you can use /dev/tcp/123.321.234.212/... or something with echo? | |||
irced | timotimo: good point | ||
muse | Fetching [FAIL]: XML::Parser::Tiny from git://github.com/afiskon/p6-xml-parser-tiny.gitAborting due to fetch failure: XML::Parser::Tiny (use --force-fetch to override) | 23:54 | |
irced | a quick look at the code should reveal not system calls as well | ||
timotimo | muse: can "git" be used on the commandline? | ||
muse | not sure ill try | ||
yea i have git | |||
timotimo | hmm, does "git clone git://github.com/afiskon/p6-xml-parser-tiny.git" give any kind of error? | 23:55 | |
muse | no its fine | 23:56 | |
timotimo | can "perl6 -e 'run <git help>'" get any output? | 23:57 | |
muse | yes | ||
timotimo | huh. well, you can manually clone the repos, cd into it and "zef install ." | 23:58 | |
muse | :( | ||
ok thx ill do that | |||
timotimo | that will always work | ||
irced | muse: what version of zef? zef --version | ||
timotimo | zef also has debug flags you could try | ||
23:59
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
muse | 0.7.1 | 23:59 | |
timotimo | it has --verbose or --debug as verbosity levels |