»ö« 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:02
epony joined
00:16
Diddi joined
00:36
aborazmeh joined,
aborazmeh left,
aborazmeh joined
00:52
markong left
01:12
Diddi left
01:13
pharv joined
01:14
Diddi joined
01:18
pharv left
|
|||
buggable | New CPAN upload: Text-Sift4-0.0.1.tar.gz by TITSUKI cpan.metacpan.org/authors/id/T/TI/...0.1.tar.gz | 01:21 | |
New CPAN upload: Text-Sift4-0.0.2.tar.gz by TITSUKI cpan.metacpan.org/authors/id/T/TI/...0.2.tar.gz | 01:31 | ||
New CPAN upload: Text-Sift4-0.0.3.tar.gz by TITSUKI cpan.metacpan.org/authors/id/T/TI/...0.3.tar.gz | |||
titsuki_ | bench: HEAD (1,2,3).max for ^1000000 | 01:35 | |
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, ¦HEAD: «3.2251» | |||
titsuki_ | bench: HEAD max(1,2,3) for ^1000000 | ||
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, ¦HEAD: «0.1904» | |||
MasterDuke | benchable6: compare HEAD (1,2,3).max for ^1000000 ||| max(1,2,3) for ^1000000 | 01:37 | |
benchable6 | MasterDuke, starting to benchmark the 1 given commit | ||
MasterDuke, ¦HEAD: «Benchmark: «timed out after 10 seconds»» | 01:38 | ||
MasterDuke | benchable6: compare HEAD (1,2,3).max for ^100000 ||| max(1,2,3) for ^100000 | ||
benchable6 | MasterDuke, starting to benchmark the 1 given commit | ||
MasterDuke, gist.github.com/8fa74e1a3a1161858b...3f6f5aad6f | |||
MasterDuke | titsuki_: ^^^ another way to compare timings | 01:39 | |
titsuki_ | MasterDuke: Thanks! It's very useful. | ||
01:40
benchable6 left,
benchable6 joined,
ChanServ sets mode: +v benchable6
01:41
FROGGS left
|
|||
buggable | New CPAN upload: Text-Sift4-0.0.4.tar.gz by TITSUKI cpan.metacpan.org/authors/id/T/TI/...0.4.tar.gz | 01:41 | |
01:49
ilbot3 left
01:50
galactus6x joined
|
|||
galactus6x | i cannot find the answer to this configuration question on regular search. i installed rakudo star from rakudo.org. i did echo PATH and it is listed on that. but when i write and try to run a script it uses perl5! | 01:52 | |
01:53
FROGGS joined
|
|||
galactus6x | i wish perl6 had something like anaconda for python that takes care of that. | 01:54 | |
i am sure there is some file that needs editing but in linux it can be dicey. | 01:55 | ||
MasterDuke | galactus6x: how are you running it? something like: ./script.p6 ?? | ||
01:56
ilbot3 joined,
ChanServ sets mode: +v ilbot3
|
|||
galactus6x | #!/usr/bin/perl6 my $pi = 3.14; my$r = 5; say 4/3 ** ($pi * $r ** 3); | 01:56 | |
if i put use v6; it says it is perl 5.22. | 01:57 | ||
i don't know what to put at the top anymore. | |||
MasterDuke | are you executing it by doing 'perl script.pl' ? | ||
galactus6x | i am executing it in geany with run | ||
MasterDuke | that's error is what happens when you use perl5 to run a perl6 script (that has 'use v6' in it) | 01:58 | |
timotimo | where do i find "run"? | ||
galactus6x | it is on the menu where you can run your script. | 01:59 | |
i know it is an error to run perl6 in perl5. the problem is that it is not recoginzing perl6 | 02:00 | ||
timotimo | when i do it it says "no such file or directory" for my script ... | ||
i have fannkuch.p6 open and it's trying to ./fannkuch, what the hell? | 02:01 | ||
but yeah, if you have the filetype set to "perl script" it'll run it with perl5, which will explode | 02:02 | ||
galactus6x | do i need to name the script with p.6 as the file name? | ||
timotimo | no clue why it cuts off the extension | ||
i thin geany just has no clue about perl6 in general | 02:03 | ||
galactus6x | well i would use padre but it is too old for my linux version. | ||
timotimo | here's what you can do | ||
make a link from myscript.p6 to myscript, make it +x, set the filetype to batch script | |||
alternatively, make a Makefile that runs perl6 on the script for you and use the "build" tool | 02:04 | ||
gotta go, have a good one! | |||
galactus6x | thanks. | ||
no that is not good. it should run just like a perl5 script. with #!/usr/bin/env perl6. | 02:05 | ||
timotimo | we can't do anything about that, sorry :( | ||
AlexDaniel | when I hit run in geany nothing happens | 02:06 | |
02:06
ufobat___ joined
|
|||
AlexDaniel | well, a window appears and then disappears, but I don't know what's in the window because it's so fast… | 02:06 | |
galactus6x | well, that is not a way to get new users to adopt perl6. i really thought it was going to be the next big thing. back to python. | ||
02:07
araraloren joined
|
|||
AlexDaniel | well, because geany for some reason doesn't understand a shebang? :) | 02:07 | |
galactus6x | geany understands the shebang. just not the perl6 one for some reason. | 02:08 | |
it should not be this hard. | |||
i could use vim but i don't have a month to goof around with it. | |||
AlexDaniel | it doesn't understand shebang if it doesn't use it | 02:09 | |
timotimo | if geany only knows about perl5, it'll always treat everything that has perl in it as "run with the perl binary" | ||
02:09
ufobat_ left
|
|||
timotimo | AlexDaniel: would you file a bug against geany? github.com/geany/geany/issues | 02:10 | |
AlexDaniel | timotimo: that sounds like a good idea, but I can't reproduce unfortunately | ||
nothing happens here when I run it | |||
mspo | "Geany is a text editor using the GTK+ toolkit with basic features" | ||
AlexDaniel | mspo: it's actually quite advanced among other text editors | 02:11 | |
timotimo | on my end geany puts a "press any key to continue" at the end of the run script | ||
no clue why it doesn't work on your machine, can you strace it to see what the exact contents of the script is? it disappears way too fast on my machine | 02:12 | ||
galactus6x | geany has so far ran perl and python 3 for me with no problems. | ||
perl5. | |||
AlexDaniel | timotimo: I think it fails to start up the terminal | 02:13 | |
timotimo | maybe. look in the settings, you can change what command it uses | ||
mspo | www.geany.org/manual/current/index...tion-files | ||
galactus6x | it works with my terminal MATE Terminal 1.12.1 | ||
you can edit which terminal it uses. | 02:14 | ||
timotimo | it just uses xterm on my machine | ||
galactus6x | you can make it use others. | ||
AlexDaniel | YES! | ||
reproduced | |||
had to force to xterm, yes | |||
galactus6x | did it run a perl6 script? | 02:15 | |
AlexDaniel | yes, incorrectly with perl5 | ||
timotimo | there's also a "don't use run script" thing, also you can use the VTE instead, which will give you essentially gnome-terminal | ||
AlexDaniel git clones geany | 02:16 | ||
galactus6x | i have it running a gnome-terminal since it is larger. | ||
timotimo | galactus6x: here's how you can fix it locally: Tools -> Configuration Files -> Filetype Configuration -> Scripting Languages -> filetypes.perl | 02:17 | |
find the line run_cmd=perl "%f" | 02:18 | ||
change it to ./%f, that could work | |||
galactus6x: please be aware that our dev team isn't big, and until now nobody told us that geany doesn't run perl6 scripts at all, so nobody knew to fix that | 02:19 | ||
thanks to you we should be able to make it work at least a tiny bit better very soon, though creating a full filetype thing for perl 6 is a bunch of work; mostly getting the highlighting right | 02:20 | ||
AlexDaniel | wait a minute… | 02:21 | |
galactus6x | cool. glad my bumbling could help. i don't see the run_cmd=perl line | ||
timotimo | what version of geany do you have? | ||
AlexDaniel | it does this only if you set the filetype to Scripting languages/Perl source code | ||
timotimo | it's on line 102 on my installation | ||
galactus6x | geany 1.27 | ||
timotimo | i have 1.33 | 02:22 | |
AlexDaniel | if you set it to None, then it says: | ||
“./test2: not found” | |||
my file is named ./test2.p6 | 02:23 | ||
timotimo | yeah, it cuts off the extension | ||
AlexDaniel | this stuff is totally broken? | ||
timotimo | i don't think so | ||
imagine you have a foo.c, you'll likely be running ./foo instead of ./foo.c | |||
AlexDaniel | but it's an executable file with shebang | ||
timotimo | for a default they'd have to choose either as a default | ||
AlexDaniel | how many clues does it need | ||
ok let's name it test2 | |||
galactus6x | in the line about perl it has this at the end of the line. | ||
.pod;pl6; | |||
timotimo | i think that's a different file from the one i meant? | 02:24 | |
that's filetypes_extensions.conf maybe? | |||
AlexDaniel | it works! | ||
timotimo | okay i'm off, good night! | ||
galactus6x | well, it doesn't have scripting laguages on that menu | 02:26 | |
02:26
pierre_ joined
|
|||
galactus6x | have a nice night. | 02:26 | |
it already says %f | 02:28 | ||
okay. kind of a drag. | 02:30 | ||
02:32
pierre_ left
02:35
galactus6x left
02:45
pharv joined
|
|||
AlexDaniel | timotimo: I did not file a ticket for geany, but here's one for our marketing issue: github.com/perl6/marketing/issues/10 | 02:47 | |
02:49
greppable6 left,
greppable6 joined
02:50
pharv left
02:58
pierre_ joined
03:15
khw left
|
|||
buggable | New CPAN upload: README.md by SKAJI cpan.metacpan.org/authors/id/S/SK/.../README.md | 03:21 | |
03:24
aborazmeh left
|
|||
Kaiepi | hastebin.com/ihokohelov.pl | 03:25 | |
is there a way i can get moar to find the symbols from ncurses without having to compile anything? | |||
03:26
cpage_ joined
03:27
phdphil left
03:28
cpage_ is now known as cpage
03:43
pharv joined
|
|||
buggable | New CPAN upload: CPAN-Uploader-Tiny-0.0.4.tar.gz by SKAJI cpan.metacpan.org/authors/id/S/SK/...0.4.tar.gz | 03:51 | |
03:52
pharv left,
pharv joined
03:53
pharv left,
pharv joined
03:57
pharv left
04:06
pierre_ left
04:19
kurahaupo left,
kurahaupo joined
04:22
yusrideb left
04:31
skids joined
|
|||
buggable | New CPAN upload: App-Mi6-0.1.6.tar.gz by SKAJI cpan.metacpan.org/authors/id/S/SK/...1.6.tar.gz | 04:41 | |
04:54
epony left,
epony joined
05:32
SourceBaby left,
SourceBaby joined,
ChanServ sets mode: +v SourceBaby
05:35
SourceBaby left,
SourceBaby joined,
ChanServ sets mode: +v SourceBaby
05:37
SourceBaby left
05:41
SourceBaby joined,
ChanServ sets mode: +v SourceBaby
05:42
SourceBaby left,
SourceBaby joined,
ChanServ sets mode: +v SourceBaby,
SourceBaby left
05:44
SourceBaby joined,
ChanServ sets mode: +v SourceBaby
05:53
kaare__ joined
05:55
kaare_ left
06:01
skids left
07:01
evalable6 left,
evalable6 joined,
ChanServ sets mode: +v evalable6
07:16
wamba joined
07:20
xinming left,
xinming joined
08:04
rindolf joined
08:06
domidumont joined
08:12
domidumont left,
domidumont joined
08:19
llfourn joined
08:28
llfourn left
08:32
lizmat joined
08:48
lizmat left
|
|||
Geth | DBIish/wip-mysql-threaded: 595c93d158 | (Tobias Leich)++ | 5 files Attempt to make DBD::mysql stable in async code According to [^1] we have to care about connections: [1] dev.mysql.com/doc/refman/5.7/en/c-...ients.html |
09:04 | |
buggable | New CPAN upload: Archive-Libarchive-Raw-0.0.5.tar.gz by FRITH cpan.metacpan.org/authors/id/F/FR/...0.5.tar.gz | 09:21 | |
New CPAN upload: Desktop-Notify-0.2.2.tar.gz by FRITH cpan.metacpan.org/authors/id/F/FR/...2.2.tar.gz | |||
New CPAN upload: Archive-Libarchive-0.0.7.tar.gz by FRITH cpan.metacpan.org/authors/id/F/FR/...0.7.tar.gz | |||
09:48
evalable6 left,
evalable6 joined
|
|||
El_Che | .tell galactus6x: I told your shebang is incorrect. perl6 is installed under /opt/rakudo-pkg/bin/perl6 not /usr/bin/perl6. Can you do run this command? /usr/bin/perl6 -v | 10:03 | |
yoleaux | El_Che: What kind of a name is "galactus6x:"?! | ||
El_Che | .tell galactus6x I told your shebang is incorrect. perl6 is installed under /opt/rakudo-pkg/bin/perl6 not /usr/bin/perl6. Can you do run this command? /usr/bin/perl6 -v | ||
yoleaux | El_Che: I'll pass your message to galactus6x. | ||
El_Che | .tell galactus6x I adapted the documentation (github.com/nxadm/rakudo-pkg/blob/m...README.md) and put the PATH at the end. This way you'll find the perl6 in /opt/rakudo-pkg/bin first. | 10:08 | |
yoleaux | El_Che: I'll pass your message to galactus6x. | ||
10:10
aindilis left
10:11
aindilis joined
10:26
darutoko joined
10:29
pierre joined
10:32
darutoko left
10:33
darutoko joined
10:34
Ven`` joined
10:42
llfourn joined
10:50
speedChicken left
10:51
Ven`` left
10:56
speedChicken joined
10:57
Ven`` joined
11:25
Ven`` left
11:28
markong joined
11:41
gabiruh_ joined
11:42
gabiruh left
|
|||
titsuki_ | bench: compare HEAD my %a; %a{$_}=True for ^10000; say %a.keys; ||| my Set $a; $a = $a (|) $_ for ^10000; say $a.keys; | 11:53 | |
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, ¦HEAD: «Benchmark: «timed out after 10 seconds»» | |||
11:53
yusrideb joined
|
|||
titsuki_ | bench: compare HEAD my %a; %a{$_}=True for ^1000; say %a.keys; ||| my Set $a; $a = $a (|) $_ for ^1000; say $a.keys; | 11:54 | |
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, gist.github.com/e026ca28239a539617...678bc8267c | |||
titsuki_ | bench: HEAD my %a; %a{$_}=True for ^1000000; say %a.keys; | 11:56 | |
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
11:57
SyrupThinker joined
|
|||
benchable6 | titsuki_, ¦HEAD: «6.3876» | 11:57 | |
MasterDuke | titsuki_: btw, have you seen my sift4 implementation? | ||
11:57
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
titsuki_ | MasterDuke: I'm not sure your implementation. | 11:57 | |
I just have noticed that! | 11:58 | ||
MasterDuke | github.com/MasterDuke17/Text-Diff-Sift4 | ||
titsuki_ | Sorry, I'll delete mine :) | 11:59 | |
MasterDuke | we could have both versions | ||
11:59
protium joined
|
|||
MasterDuke | mine isn't on cpan | 11:59 | |
feel free to take anything from mine | 12:01 | ||
titsuki_ | MasterDuke: Thank you for your kindness :) | 12:02 | |
MasterDuke | no problem | 12:03 | |
btw, how did you find sift4? are you using it for anything? | |||
titsuki_ | It's because Perl 6 documentation uses sift4. | ||
MasterDuke | ah, right. forgot about that | 12:04 | |
bench: HEAP my %a; %a{$_}=True for ^100000; say %a.keys; | 12:05 | ||
benchable6 | MasterDuke, ¦HEAP: «Cannot find this revision (did you mean “HEAD”?)» | ||
MasterDuke | the *ables use it for that ^^^ | ||
12:10
rindolf left
|
|||
titsuki_ | btw, is sift4 faster than the other fuzzy search algorithms? I'm curious in it's performance comparison. | 12:13 | |
MasterDuke | i've only compared my perl6 implementation against a perl6 implementation of levenstein, and it's much faster than that | 12:15 | |
haven't compared to anything else | |||
titsuki_ | MasterDuke: Thanks, I see. | ||
12:24
rindolf joined
12:27
benchable6 left,
benchable6 joined
12:42
pierre left
12:51
pierre joined
13:02
yusrideb left
13:04
aborazmeh left
13:07
wamba left
13:12
AlexDaniel left
|
|||
tyil | is JSON::JWT still being developed? last commit is a little under a year ago and it still has an old open PR (and installation just failed for me # Failed test 'correct decode succeeds') | 13:29 | |
I wanted to install Cro :( | 13:30 | ||
timotimo | perhaps that's a recent rakudo regression? | 13:32 | |
tyil | it could be, I havent used this module before :p | ||
jnthn | I've not seen it fail before | 13:37 | |
So perhaps something new | 13:38 | ||
timotimo | yeah, it doesn't fail on my machine right now | ||
tyil | This is Rakudo version 2018.03-15-g3420b67b6 built on MoarVM version 2018.03 | 13:42 | |
not sure if that matters much | |||
timotimo | This is Rakudo version 2018.03-64-g6be586c58 built on MoarVM version 2018.03-25-g90b05c81b | ||
tyil | I'd look into the module's tests and possibly patch something up, but if the original author abandoned it idk if it's worth the trouble | 13:43 | |
timotimo | i'd recommend first checking the released version and then HEAD to see if maybe it's just some short-lived bug in rakudo | 13:49 | |
titsuki_ | bench: compare HEAD [min] 1,2,3 for ^1000000 ||| min 1,2,3 for ^1000000 | 14:00 | |
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, ¦HEAD: «Benchmark: «timed out after 10 seconds»» | |||
titsuki_ | bench: compare HEAD [min] 1,2,3 for ^10000 ||| min 1,2,3 for ^10000 | ||
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, gist.github.com/7dbe18320a469c2c60...fa670b38e3 | |||
timotimo | haha, wow | 14:01 | |
14:02
AlexDaniel joined
|
|||
timotimo | one of those is faster than the other | 14:03 | |
greppable6: "[min]" | |||
greppable6 | timotimo, 351 lines, 42 modules: gist.github.com/419f7ebfec9239f538...2fc056303a | ||
AlexDaniel | timotimo: that's perl5 regex | ||
timotimo | that's not what i meant %) | ||
greppable6: \[min\] | |||
greppable6 | timotimo, 23 lines, 6 modules: gist.github.com/018053a5ba1d6457cb...3b8e49e041 | ||
timotimo | m: say [min] (^100_000).Array | 14:04 | |
14:04
itaipu joined
|
|||
camelia | Too many arguments in flattening array. in block <unit> at <tmp> line 1 |
14:04 | |
timotimo | m: say min (^100_000).Array | ||
camelia | 0 | ||
timotimo | another reason against [min] :( | ||
AlexDaniel | uuuuuuuuuuuuhhhhhhhhhhhhhh?? | 14:07 | |
titsuki_ | Text::Levenshtein use [min] or [max] many times and it seems too slow considering its complexity: gist.github.com/titsuki/e7ff410b2f...30d3b932d6 | ||
(and I surprised that Text::Diff:Sift is over 10 times faster than mine) | 14:08 | ||
AlexDaniel | timotimo: is it doing some sort of optimization for [min]?? | ||
titsuki_: yeah, I've spent a whole evening doing that | |||
timotimo | no, i don't think so | 14:09 | |
it's probably just calling min over and over on an accumulator | |||
in the [min] case | |||
AlexDaniel | titsuki_: github.com/MasterDuke17/Text-Diff-...6c61e4a772 | ||
timotimo | whereas the min sub itself would probably have a very tight loop | ||
jnthn | It looks more like it's trying to pass all the args flattened | ||
AlexDaniel | timotimo: but how did it get to “too many arguments”? | ||
jnthn | Which is going to suck even if it doesn't hit the limit | ||
AlexDaniel | 6c: say [min] (^100_000).Array | 14:10 | |
timotimo | yeah, it is also doing that | ||
14:10
pierre left
|
|||
timotimo | i believe this has been a problem for ever? | 14:10 | |
committable6 | AlexDaniel, ¦6c (29 commits): «Too many arguments in flattening array. in block <unit> at /tmp/OCzXr2yGHM line 1 «exit code = 1»» | ||
jnthn | Well, probably, but it'd sure be nice to fix it :) | ||
AlexDaniel | c: all say [min] (^100_000).Array | ||
committable6 | AlexDaniel, gist.github.com/30cc26cd7e88b725e4...269158fc87 | 14:11 | |
AlexDaniel | :( | ||
timotimo | right :) | ||
benchable6: compare HEAD [min] 1, 2, 3 for ^10_000 ||| 1 min 2 min 3 for ^10_000 | 14:14 | ||
benchable6 | timotimo, starting to benchmark the 1 given commit | ||
timotimo, gist.github.com/5c1791c793760caf37...9ecd8a6872 | |||
AlexDaniel | wow | 14:15 | |
timotimo | benchable6: compare HEAD [min] 1, 2, 3 for ^10_000 ||| 1 min 2 min 3 for ^10_000 ||| min 1, 2, 3 for ^10_000 | 14:20 | |
benchable6 | timotimo, starting to benchmark the 1 given commit | ||
timotimo, gist.github.com/df1a5fd6a53cbb8b31...52977703f5 | |||
MasterDuke | btw, i think the static optimizer is "cheating" in some of those cases | 14:22 | |
14:22
greppable6 left,
greppable6 joined
|
|||
MasterDuke | istr getting not quite so drastically different numbers if not using literals | 14:23 | |
timotimo | hm | ||
i turned --optimize=off and it's the same speed | 14:28 | ||
14:30
mscha joined
|
|||
timotimo | anyway, Levenshtein::Damerau is a bit faster when switching [min] for min and [max] for max | 14:30 | |
14:30
vcv joined
|
|||
mscha | m: my %foo = bar => (1,2,3); .say for %foo<bar>; # Very annoying | 14:31 | |
camelia | (1 2 3) | ||
mscha | m: my %foo = bar => (1,2,3); .say for %foo<bar>[]; # This works, but still, not very DWIM | ||
camelia | 1 2 3 |
||
timotimo | m: my %foo = bar => (1,2,3); .say for @%foo<bar> | 14:32 | |
camelia | Type Seq does not support associative indexing. in block <unit> at <tmp> line 1 |
||
timotimo | mhm | ||
m: my %foo = bar => (1,2,3); %foo<bar>.map(*.say) | 14:33 | ||
camelia | 1 2 3 |
||
timotimo | mscha: that's probably nicer? | ||
m: my %foo = bar => (1,2,3); .say for %foo<bar><> | 14:34 | ||
camelia | 1 2 3 |
||
timotimo | this as well | ||
mscha | timotimo: yeah, a bit, but IMO ".say for %foo<bar>" should just DWIM. | ||
timotimo | that'd mean you can't assign to hash keys, though | ||
m: my %foo = bar => (1,2,3)<>; .say for %foo<bar> | 14:35 | ||
camelia | (1 2 3) | ||
timotimo | because it has a scalar container in there so that you can change the contents | ||
that means, though, that it'll behave scalarly, too | |||
which is why for-ing won't iterate it | |||
14:40
pierre joined
|
|||
mscha | What I don't understand is why the single argument rule does't work here. Wouldn't it make more sense if "for" with a single argument always iterates? (What's the point of using "for" otherwise?) | 14:40 | |
timotimo | single argument rule still won't iterate over scalars :) | 14:41 | |
m: my $foo = (1, 2, 3); .say for $foo | |||
camelia | (1 2 3) | ||
timotimo | m: my $foo = (1, 2, 3); .say for $foo<> | ||
camelia | 1 2 3 |
||
timotimo | get rid of the scalar container (for example with postfix <>) and it'll iterate it | ||
mscha | I know, but I don't understand. ;-) | 14:42 | |
14:44
pierre left
14:48
athenot joined
|
|||
araraloren | m: my %foo = bar => [1,2,3]; .say for %foo<bar>; | 14:48 | |
camelia | [1 2 3] | ||
timotimo | the hash is what gives you the scalar container | ||
m: my %foo = bar => [1,2,3].Slip; .say for %foo<bar>; | 14:49 | ||
camelia | 1 2 3 |
||
timotimo | this is also possible, though | ||
araraloren | m: my %foo = bar => [1,2,3]; .say for @%foo<bar>; | ||
camelia | Type Seq does not support associative indexing. in block <unit> at <tmp> line 1 |
||
araraloren | m: my %foo = bar => [1,2,3]; .say for @(%foo<bar>); | ||
camelia | 1 2 3 |
||
14:54
araraloren left
15:00
robertle joined
15:06
pmurias joined
15:09
wamba joined
15:12
pierre_ joined
|
|||
titsuki_ | bench: compare HEAD use nqp; my int $a = 0; my int $b = 10; nqp::if(nqp::isle_i($a, $b),$a,$b) for ^1000000; ||| my int $a = 0; my int $b = 10; min($a,$b) for ^1000000; ||| my int $a = 0; my $b = 10; $a < $b ?? $a !! $b for ^1000000; | 15:15 | |
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, ¦HEAD: «Benchmark: «timed out after 10 seconds»» | |||
titsuki_ | bench: compare HEAD use nqp; my int $a = 0; my int $b = 10; nqp::if(nqp::isle_i($a, $b),$a,$b) for ^10000; ||| my int $a = 0; my int $b = 10; min($a,$b) for ^10000; ||| my int $a = 0; my $b = 10; $a < $b ?? $a !! $b for ^10000; | ||
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, gist.github.com/a867380ae5c7004b98...c74dc34e82 | |||
15:17
pierre_ left
|
|||
AlexDaniel | any neovim users here? | 15:26 | |
15:34
lichtkind joined
15:41
skids joined
15:46
khw joined
|
|||
titsuki_ | bench: compare HEAD use nqp; nqp::ordat("abcde",2) for ^100000; ||| "abcde".substr(2,1) for ^100000; | 15:49 | |
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, gist.github.com/1eb0ffb105713a9b7f...0b5e795f1d | |||
timotimo | titsuki_: you still need to .ords[0] or something in the second one, else you're comparing ord vs string | 15:51 | |
15:52
comborico1611 joined
|
|||
titsuki_ | timotimo: Thanks! I didn't know that. | 15:52 | |
timotimo | bench: compare HEAD use nqp; nqp::substr("abcde",2,1 ) for ^100000; ||| "abcde".substr(2,1) for ^100000; | 15:53 | |
benchable6 | timotimo, starting to benchmark the 1 given commit | ||
timotimo, gist.github.com/83a3c2cefa23790173...f5c937dfc7 | |||
15:58
committable6 left,
committable6 joined
|
|||
AlexDaniel | please chime in and help with github.com/perl6/marketing/issues/10 | 16:07 | |
titsuki_ | bench: compare HEAD my @a = 1 xx 10000; +@a for ^1000000 ||| my @a = 1 xx 10000; @a.elems for ^1000000 ||| use nqp; my $a := nqp::list_i; nqp::push_i($a,1) for ^10000; nqp::elems($a) for ^1000000 | 16:08 | |
benchable6 | titsuki_, starting to benchmark the 1 given commit | ||
titsuki_, gist.github.com/22df1dc3cb3a1b714f...42b38bb4ef | |||
16:08
benchable6 left
16:09
benchable6 joined,
ChanServ sets mode: +v benchable6
|
|||
timotimo | we need another emoji for "doesn't have language support for any language" so we can put stuff like pico in | 16:09 | |
is cfa's avatar from babylon 5? | 16:10 | ||
AlexDaniel | timotimo: my pico is symlinked to nano :) | 16:11 | |
nano does some sort of highlighting for a perl6 script… but is it perl5 highlighting? | 16:12 | ||
how do I know? | |||
timotimo | twigils? classes? | ||
perl6 regex syntax? | |||
AlexDaniel | oh ok, $foo-bar is an instant giveaway | 16:13 | |
timotimo | i haven't heard of pluma before | ||
AlexDaniel | I think it's a default editor in MATE? | 16:14 | |
timotimo | oh? interesting | 16:16 | |
AlexDaniel | personally haven't heard about Brackets, but every website out there is recommending it as a shiny new cool thing | 16:17 | |
it can't even render basic text on my system properly, but ok | |||
16:22
vcv left
|
|||
pmurias | do we have a way to see what multi candidate is choosen? | 16:44 | |
yoleaux | 07:06Z <Zoffix> pmurias: Figured out the fix for nqp::div_In, if you were curious what it'd look like: github.com/MoarVM/MoarVM/commit/4d3fc2818d (along with an earlier commit fixing up mp_get_double() a bit: github.com/MoarVM/MoarVM/commit/49b7389058e1b ) | ||
10:57Z <Zoffix> pmurias: Though there appears to be a drift bug, most likely in nqp::div_In: github.com/rakudo/rakudo/issues/1651 needs more thinking | |||
AlexDaniel | m: say Str.^lookup('Int').perl | 16:46 | |
camelia | method Int (Str:D $: *%_) { #`(Method|30204600) ... } | ||
AlexDaniel | not that… | ||
16:47
daghost joined,
Kaiepi left
|
|||
AlexDaniel | can someone do `make clean-images` for docs.perl6.org? | 16:48 | |
or is there any other way to retrigger that | |||
pmurias | .tell Zoffix supper cool you fixed both the printing and nqp::div_In | 16:51 | |
yoleaux | pmurias: I'll pass your message to Zoffix. | ||
pmurias | .tell Zoffix we seem to have a duplicated commit for fixing &val github.com/rakudo/rakudo/commit/17...17e4d7aa36 | 16:56 | |
yoleaux | pmurias: I'll pass your message to Zoffix. | ||
16:58
pierre joined
17:03
pierre left
17:12
comborico1611 left
17:16
APic joined
17:25
mscha left
17:31
itaipu left
17:33
daghost left,
pierre joined
17:37
pierre left
17:47
FROGGS_ joined,
FROGGS left
17:48
daghost joined
18:15
daghost left
|
|||
buggable | New CPAN upload: Inline-Perl5-0.32.tar.gz by NINE cpan.metacpan.org/authors/id/N/NI/....32.tar.gz | 18:21 | |
moritz | AlexDaniel: I can do that | 18:24 | |
AlexDaniel | great! | 18:25 | |
moritz | done | ||
should I also trigger a rebuild? | |||
AlexDaniel | I guess so | ||
hmm | 18:26 | ||
18:26
TeamBlast joined
|
|||
moritz | runnin' | 18:26 | |
18:33
robertle left
18:36
robertle joined
18:45
darutoko left
18:50
athenot left
18:51
Aceeri_ joined
18:52
Kaiepi joined
18:58
pierre joined
19:01
domidumont left
19:02
kaare__ left
19:03
pierre left
19:22
bisectable6 left,
bisectable6 joined
|
|||
Geth | doc: 517152596e | (Aleks-Daniel Jakimenko-Aleksejev)++ | assets/sass/style.scss Set svg height to auto Otherwise it is using the defined height from the image even when the image is scaled because of `max-width: 100%`. Resolves #1868. |
19:29 | |
19:31
pierre joined
|
|||
Geth | doc: d972021fec | (JJ Merelo)++ | doc/Type/IO/Path.pod6 Basic reformatting |
19:34 | |
synopsebot | Link: doc.perl6.org/type/IO::Path | ||
doc: ba08d680bb | (JJ Merelo)++ | 2 files `mkdir` replicated to the first arg Which is the convention, and it's where `rmdir` and other similar routines are. This would fix #1867. It was probably the best way to do that, and any way mkdir as routine has little to do with `IO::Path` except for return value. |
|||
doc: fba54a2261 | (JJ Merelo)++ | assets/sass/style.scss Merge branch 'master' of github.com:perl6/doc |
|||
19:35
dct joined,
pierre left
19:46
kaare__ joined
19:50
kaare__ left
20:36
FROGGS_ is now known as FROGGS
20:41
SyrupThinker left
20:42
lizmat joined
|
|||
lichtkind | lizmat, hugs | 20:50 | |
lizmat | lichtkind: thank you :-) | ||
lichtkind | lizmat, im almost always glad to see you :) | 20:51 | |
lizmat | :-) | ||
lichtkind | lizmat, come to GPW ? | 20:52 | |
lizmat | yes | ||
El_Che | *almost* | ||
lichtkind | so good | ||
El_Che, you wanted to get there? | |||
El_Che | lichtkind: I was referring to your "almost always glad to see you" that made me smile :) | 20:54 | |
lichtkind | liz has such great heart and je enjoys a little poking | 20:55 | |
El_Che | lichtkind: poking liz and wendy are one of my specialities | 20:57 | |
ask them :) | |||
20:57
kybr left
20:58
comborico1611 joined
|
|||
lizmat | we also poke back :-) | 21:01 | |
El_Che | true dat | 21:02 | |
:) | |||
21:04
kybr joined
21:11
Aceeri_ left
21:13
dct left
21:14
pmurias left
|
|||
thowe | can confirm... Liz has been kind to me, also. | 21:15 | |
21:32
kaare__ joined
21:33
kurahaupo_ joined
21:35
kurahaupo left
21:38
pierre joined
21:42
pierre left
21:51
Ozg joined
21:54
lancew joined
21:57
lancew left
21:59
Ozg left
22:00
robertle left,
comborico1611 left
|
|||
thowe | is tehre something like getopt long in perl6? | 22:04 | |
MasterDuke | huggable: eco getopt | 22:06 | |
huggable | MasterDuke, nothing found | ||
El_Che | thowe: "%*SUB-MAIN-OPTS<named-anywhere>=1" kind of fixed my need for getop long | ||
MasterDuke | buggable: eco getopt | ||
buggable | MasterDuke, Found 7 results: Getopt::Kinoko, Getopt::Tiny, Getopt::Advance, Getopt::Long, Getopt::Type. See modules.perl6.org/s/getopt | ||
El_Che | thowe: docs.perl6.org/language/functions#...d-anywhere | ||
that was my main dislike of the built-in param handling | 22:07 | ||
lizmat++ by the way | 22:08 | ||
thowe | I might just need to make sure I understand MAIN well enough... | 22:12 | |
El_Che | MAIN is very powerful | 22:14 | |
thowe: perl6advent.wordpress.com/2010/12/...main-subs/ | 22:15 | ||
22:21
espadrine left
22:25
wamba left
22:27
Kaiepi left
22:43
rindolf left
22:49
greppable6 left
22:50
greppable6 joined,
ChanServ sets mode: +v greppable6
22:57
evalable6 left,
evalable6 joined
23:04
lichtkind left
23:13
committable6 left,
committable6 joined
|
|||
AlexDaniel | moritz: hey, I'm working on a new bot here, and I'm seeing some https-related server config issues. Maybe you're interested: gist.github.com/Whateverable/cdbe2...c165e76849 | 23:14 | |
23:15
kaare__ left
23:17
lichtkind joined
|
|||
Geth | doc: 6700db5895 | (Will "Coke" Coleda)++ | doc/Language/modules.pod6 whitespace |
23:17 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
doc: 938f5d9691 | (Will "Coke" Coleda)++ | xt/words.pws new "words" |
|||
23:20
noganex left
23:27
protium left
23:30
mempko joined
|
|||
AlexDaniel | moritz: also if some domains are missing from that list let me know | 23:30 | |
fwiw I can add any random links to that bot, so if someone feels like there's some resource that should be checked for upness periodically, let me know | 23:31 | ||
23:31
jcallen joined
23:32
lucs joined,
protium joined
23:38
pierre joined
23:39
w_richard_w joined
23:42
pierre left
23:43
Kaiepi joined
23:46
w_richard_w left
23:47
w_richard_w joined
23:52
markong left
|