»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by moritz on 3 May 2013.
00:00 cognominal__ joined
japhb_ Interesting, if I make install for nqp-jvm, ./nqp in the top level directory works, but install/nqp (or cd install; ./nqp) does not 00:03
$ install/nqp --version
Unhandled exception: Method 'options' not found
in command_line
in MAIN
in <anon>
(Same error with cd install; ./nqp)
00:04 cognominal left 00:08 Chillance left 00:12 maximone left 00:17 PacoAir left 00:19 PacoAir joined 00:31 risou_awy is now known as risou 00:32 risou is now known as risou_awy, risou_awy is now known as risou
dalek rl6-bench: 8ea7c51 | (Geoffrey Broadwell)++ | analyze:
Change width attribute of chart divs to max-width
00:38
rl6-bench: 0a119a6 | (Geoffrey Broadwell)++ | TODO:
Add a feature TODO
rl6-bench: 9f640ae | (Geoffrey Broadwell)++ | / (2 files):
Add nqp-jvm component, build instructions, and compiler info
japhb_ nqp-jvm REPL seems to silently not work on master -- is this known 00:41
?
00:43 berekuk left
timotimo i knew about it 00:47
00:50 risou is now known as risou_awy 00:52 sftp joined
japhb_ What's the correct syntax for eval'ing a string in NQP? 00:54
(In the benchmark code, I need to eval "pir::getinterp__P().recursion_limit(100000);" only when running on Parrot. If it's in the [unquoted] source, nqp-jvm will choke just trying to compile it, since pir:: isn't recognized) 00:57
01:04 rindolf left 01:05 xinming joined 01:07 anuby joined 01:16 PacoAir left 01:38 IKARi__ left 01:39 japhb_ left 01:48 FROGGS_ joined 01:52 FROGGS left 02:04 gdey left, jaldhar joined 02:08 lustlife joined 02:09 estrabd joined 02:10 dayangkun joined 02:18 dayangkun left 02:19 prevost joined 02:20 jaldhar left 02:23 jaldhar joined
TimToady rosettacode.org/wiki/Variable_size/Set#Perl_6 to go with the Get entry 02:36
3 behind D, and 70 behind Python :) 02:37
02:47 Timbus|Away joined, Timbus|Away is now known as Timbus
labster TimToady++ 02:48
colomon TimToady: I'd love to work on some of the bezier curve stuff (assuming someone else hasn't already done it) but it is like #30 on my to-do list of projects, and I'm having a heck of a time getting anywhere with the much more important things at the top of the list. :\ 02:51
dukelet0 colomon: mmmmm, bezier curves :) 03:03
03:05 pecastro joined
TimToady I promise not to work on them any time soon. 03:15
03:30 cognominal__ left, cognominal__ joined 03:33 odoacre joined 03:38 fildon_ joined 03:57 gdey joined, preflex_ joined 03:58 preflex_ is now known as preflex 04:14 gdey left 04:23 rhr left 04:25 genehack left, Psyche^ joined 04:29 Psyche^ is now known as Patterner 04:34 REPLeffect joined
TimToady rosettacode.org/wiki/Date_manipulation#Perl_6 04:35
04:43 zby_home joined 04:57 japhb_ joined 05:00 prevost left
masak good morning, #perl6 05:05
05:07 genehack joined
TimToady o/ 05:08
masak TimToady: "(mostly due to a reticence to inflict Western cultural imperialism on other cultures...or maybe just due to laziness)" -- the latter, I'd say. also, that date format looks very US-centric to me, not just western :)
TimToady that's why I called the grammar US-DateTime 05:09
masak fairynuff. 05:10
TimToady I was unsuccessful in setting the DateTime timezone however; had to use .delta to get to Zulu 05:11
and looking at the code, it appears to ignore any named argument it doesn't know
maybe I just did it wrong 05:14
masak well, .delta is obviously wrong from a philosophical perspective.
and yes, the constructor probably should carp on unknown nameds.
TimToady yeah, I was just doing it rwong 05:15
05:18 robinsmidsrod joined
masak seems $timezone expects to be given in minutes or seconds, if I read the source right. 05:18
moritz \o 05:19
TimToady doesn't work with minutes, but does with seconds 05:26
anyway, fixed to use :$timezone now 05:27
masak \o/ 05:34
masak away until this evening, teaching
05:38 FROGGS_ left 05:53 FROGGS_ joined 05:57 FROGGS_ left, FROGGS_ joined 05:58 FROGGS_ is now known as FROGGS
FROGGS o/ 05:58
05:59 domidumont joined
dalek rl6-bench: b6cd4bd | (Geoffrey Broadwell)++ | analyze:
Continued improvements to html_plot output: relative info in plot tooltips, angled X-axis tick labels, undef rate protection, skip empty chart with --compare
06:02
rl6-bench: 9a0b2c7 | (Geoffrey Broadwell)++ | analyze:
Use a linear X axis when plotting linear-scaled tests, like rc-man-or-boy-test
rl6-bench: 17e7d2d | (Geoffrey Broadwell)++ | timeall:
Increase minimum run time for scalable tests to 3.0 seconds
rl6-bench: 1454441 | (Geoffrey Broadwell)++ | timeall:
Properly handle linear-scaled tests in timeall
rl6-bench: 46452be | (Geoffrey Broadwell)++ | timeall:
Properly skip tests that aren't enabled
rl6-bench: ce24c29 | (Geoffrey Broadwell)++ | / (2 files):
Factor mini-benchmark definitions out of timeall into minibenchmarks.pl; change default size of rc-forest-fire map from 30x20 to 16x16
06:02 zby_home left
dalek rl6-bench: 52656de | (Geoffrey Broadwell)++ | jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js:
Add another required jqPlot plugin (canvasAxisTickRenderer), in minimized form as usual
06:04
06:08 PacoAir joined 06:09 dmol joined 06:13 mikemol joined, domidumont left 06:14 domidumont joined, dmol left
dalek : f42a6ab | (Tobias Leich)++ | lib/Perl5/Actions.nqp:
eager for loops, moritz++
06:20
: 276f51e | (Tobias Leich)++ | STATUS.md:
status update
FROGGS I'll start to prepare the nqp/rakudo compiler release in about 12 hours btw 06:22
dalek rl6-bench: 74a2fce | (Geoffrey Broadwell)++ | timeall:
Refactor timeall compiler definitions to not use VM{foo} all over the place
06:25
ecs: 381e96a | larry++ | S32-setting-library/Containers.pod:
first should just return Nil on failure

Don't throw an exception saying there's no value; that's what Nil means!
06:26
TimToady nr: say first * > 5, 1..3 06:27
camelia rakudo a50c2e: OUTPUT«No values matched␤ in method gist at src/gen/CORE.setting:10065␤ in method gist at src/gen/CORE.setting:893␤ in sub say at src/gen/CORE.setting:10963␤ in block at /tmp/KeF1SaUNxa:1␤␤»
..niecza v24-51-g009f999: OUTPUT«Nil␤»
TimToady rakudobug :)
FROGGS bah :P 06:28
diakopter r: say first Nil 06:33
camelia rakudo a50c2e: OUTPUT«No values matched␤ in method gist at src/gen/CORE.setting:10065␤ in method gist at src/gen/CORE.setting:893␤ in sub say at src/gen/CORE.setting:10963␤ in block at /tmp/LCx_5zdaGd:1␤␤»
06:35 kaleem joined
diakopter r: say first is last and last is first 06:35
camelia rakudo a50c2e: OUTPUT«===SORRY!===␤Undeclared routines:␤ and used at line 1. Did you mean '&rand', '&end', '&any'?␤ is used at line 1␤␤»
FROGGS r: say (ord("0") .. ord("A")).elems 06:36
camelia rakudo a50c2e: OUTPUT«18␤»
FROGGS r: say ("0" .. "A").elems
camelia rakudo a50c2e: OUTPUT«(timeout)»
FROGGS r: say ("A" .. "0").elems
camelia rakudo a50c2e: OUTPUT«0␤»
diakopter r: say (0 .. "A").elems 06:37
camelia rakudo a50c2e: OUTPUT«Cannot call 'Real'; none of these signatures match:␤:(Mu:U \v: Mu *%_)␤ in method Real at src/gen/CORE.setting:870␤ in method Real at src/gen/CORE.setting:2535␤ in method Real at src/gen/CORE.setting:870␤ in method new at src/gen/CORE.setting:5441␤ in method n…
FROGGS that could work too...
I like the way you can do math using chars in C... 06:38
but I guess "A" + 1 will never happen in perl
diakopter eval "A"+1 06:39
eval: "A"+1
FROGGS 2
diakopter p5eval: "A"+1
p5eval diakopter: 1
06:39 IKARi joined
FROGGS hmmm 06:39
p5eval: -"A" - 1
p5eval FROGGS: -1
06:39 IKARi is now known as Guest77722 06:50 PacoAir left 06:52 odoacre is now known as boredomlv______, boredomlv______ is now known as boredomlv_______ 06:53 boredomlv_______ is now known as manabar_, manabar_ is now known as manabar___, manabar___ is now known as odoacre 07:08 fgomez left 07:13 xinming left, brrt joined 07:14 xinming joined 07:20 SamuraiJack joined 07:26 Guest77722 is now known as imIKARi 07:29 domidumont left
nwc10 jnthn: is there a way to get the perl6 compiler to spit out a Java class file that I can run standalone? (at least, stand alone enough that I don't have to load the perl 6 compiler?) 07:41
07:42 domidumont joined 07:43 daxim joined 07:46 domidumont left 07:47 domidumont joined
diakopter nwc10: standalone without the runtime? no. standalone without the compiler? no, because the runtime depends on the compiler because of string eval 07:55
also, there's not actually much of the compiler that's not inextricable from the runtime even if you were to unbind string eval... just the Perl 6 grammar and actions really 07:57
nwc10: are you thinking about load time or disk size or what? 07:58
afaik, load time is negligible compared to the jvm and its runtime 07:59
sorear niecza can create standalone runnable assemblies, I don't see the problem 08:04
08:04 imIKARi left
sorear string eval (there is no other kind in perl 6) throws an exception 08:04
diakopter that was all I meant - you'd have to decouple it 08:05
sorear this is actually necessary because niecza is bootstrapped and we don't want an infinite regress of compilers
08:10 cibs joined 08:14 imIKARi joined 08:15 salv0 left, arlinius left 08:16 salv0 joined 08:42 berekuk joined 08:43 berekuk left 08:44 fhelmberger joined, berekuk joined 08:45 arlinius joined
dalek : ee62a77 | (Tobias Leich)++ | / (5 files):
moved more specialvars to Perl5::Terms
08:50
08:52 risou_awy left 08:56 risou_awy joined, charsbar_______1 joined 08:58 Yappo_________ joined 09:05 Yappo_________ left 09:08 dakkar joined, Nom- joined 09:09 imIKARi left 09:10 kurahaupo left 09:12 hypolin joined 09:17 SamuraiJack left 09:18 takesako_____ joined, Yappo_________ joined
dalek kudo/nom: 627e17b | (Brent Laabs)++ | src/core/IO.pm:
IO::Handle.slurp now does :enc/:bin, auto-opens prior .open; add .encoding

  * IO::Handle.slurp no longer needs .open, always calls .close
  * sub slurp refactored into IO::Handle version
09:19
FROGGS labster++ 09:20
labster Now I just need to spec all of that stuff :o)
09:20 berekuk left
FROGGS :o) 09:23
and you need to add .input-line-separator, since I've got failing v5-tests *cough* 09:24
mumble, okay, I think the next I do is to support 'use vars qw(...)' and then subroutine prototypes -.- 09:27
after that I can apply TimToady++'s patch for indirect object notation *evenmorecough* *g* 09:28
daxim weathercrack.com/#!graphs;a=Poland/Warsaw
tadzik almost sunny 09:29
daxim I'll pack the long trousers :-< 09:30
FROGGS you can unpack them for austin though 09:31
tadzik btw, are you folks aware if trans-atlantic flights have AC power onboard, so I can charge my laptop during flights? 09:33
FROGGS no idea
never left our nice continent :/
daxim only in first class, and only on very modern planes
so forget it
FROGGS I though about bying another batterie pack though
tadzik I'll buy some extra batteries 09:34
orr... there's always a slot for a shaver in the toilet, no? :o
FROGGS *g*
tadzik: there are mobile phone chargers with a crank... maybe there is something for you laptop model? 09:36
you have to be very fast though wen compiling rakudo :/
09:36 berekuk joined
tadzik hehe 09:36
bonsaikitten tadzik: Emirates, for example 09:40
dalek ast: 2a5f7c4 | (Brent Laabs)++ | S32-io/ (2 files):
unfudge rakudo in slurp.t and io-path-unix.t, slurp encoding tests
09:41
09:44 imIKARi joined
FROGGS I guess I'll a batterie pack for the drive bay and a regular on, so I can hot swap it 09:47
diakopter tadzik: check seatguru.com for your flight to see if there's power 09:48
09:52 sqirrel joined
tadzik Business Class offers a laptop power connection at every seat. There are no connections in economy class. 09:52
9-cell battery it is then :0
mathw The image of someone sitting with a laptop desperately turning a handle to keep Rakudo compiling has put a big smile on my face this morning 10:02
10:05 hypolin left, hypolin joined 10:08 imIKARi left 10:10 berekuk left 10:27 anuby left 10:32 brrt left 10:52 rindolf joined
FROGGS mathw: :P 11:00
tadzik or the handheld wind power plant, sticking your hand outside the airplane windows and yelling "FASTER! FASTER!" 11:02
11:06 brrt joined 11:09 sqirrel left
sergot_ hi! o/ 11:44
sergot_ sergot
11:49 drbean joined
tadzik o/ 11:50
12:05 PacoAir joined, Vlavv joined 12:10 aborazmeh joined, domidumont left 12:13 xinming left 12:15 xinming joined
daxim I'm going to demo/walk through use.perl.org/use.perl.org/_masak/jo...40516.html at next λheads 12:24
timotimo meh, use.perl.org doesn't seem to load comments fully when you click on them and apparently the functionality is broken completely ... ?! 12:37
12:43 brrt left
daxim it is 12:49
also, browsing through all my old u.p.o comments, damn, that was a good side
b.p.o is crap in comparison
site 12:50
[Coke] timotimo: sorry, which dash-e.t failures? 12:51
timotimo the ones in test-roast.t in the star testing repository
[Coke] ok. it's on feather - if you have an account there, you should be able to reproduce. 12:53
oh.
timotimo i don't
[Coke] I suspect that's due to an env variable. See:
12:54 ajr joined
[Coke] github.com/coke/perl6-roast-data/b.../rakudo.sh 12:54
12:54 ajr is now known as Guest13243
[Coke] vs. 12:54
github.com/coke/rakudo-star-daily/...in/star.sh
12:54 Guest13243 is now known as ajr_
[Coke] I wasn't even looking at roast failures in star, since I already have perl60-roast-data to catch those. 12:55
*perl6-r
daxim bloggers, please revisit stackoverflow.com/questions/3135673...ons-mature and post your 2013 findings
12:57 risou_awy is now known as risou
timotimo "There are also thoughts of porting Rakudo to other VMs, but that'll surely wait till after end of July." -- moritz 2010 13:01
FROGGS well, there is a july comming 13:03
tadzik well, it's after july 2010 now ;) 13:05
timotimo wasn't saying it's wrong
FROGGS (moritz is never wrong) 13:06
13:06 bluescreen10 joined, mtk joined
[Coke] r: say [+] 1 .. 100000; 13:08
moritz (except when I am)
camelia rakudo 627e17: OUTPUT«5000050000␤»
13:08 rhr joined
[Coke] ah, I remember optimizing something in re: ranges, but it wasn't that. 13:09
timotimo well, i suppose reduce on ranges could do without explicitly generating an actual range 13:10
er, an actual list
kind of like inlining the iteration into the reduce sub
no clue if that will make a noticable difference 13:11
13:11 sqirrel joined
moritz [Coke]: I think you optimizied .elems 13:13
well, for this case you can also use a direct arithmetic expression 13:14
r: multi prefix:<[+]>(Range $r where { $r.min ~~ Int && $r.max ~~ Int }) { ($r.max * ($r.max + 1) / 2).Int } 13:15
camelia rakudo 627e17: ( no output )
moritz r: multi prefix:<[+]>(Range $r where { $r.min ~~ Int && $r.max ~~ Int }) { ($r.max * ($r.max + 1) / 2).Int }; say [+] 1 .. 100000
camelia rakudo 627e17: OUTPUT«===SORRY!===␤CHECK FAILED:␤Calling 'prefix:<[+]>' will never work with argument types (int) (lines 1, 1)␤ Expected any of:␤ :(Range $r)␤»
moritz r: multi prefix:<[+]>(Range $r where { $r.min ~~ Int && $r.max ~~ Int }) { ($r.max * ($r.max + 1) / 2).Int }; say [+] (1 .. 100000)
camelia rakudo 627e17: OUTPUT«5000050000␤»
moritz meh, precedence issue
r: multi prefix:<[+]>(Range $r where { $r.min ~~ Int && $r.max ~~ Int }) { ($r.max * ($r.max + 1) / 2).Int }; say [+] (1.1 .. 5.1)
camelia rakudo 627e17: OUTPUT«Cannot call 'prefix:<[+]>'; none of these signatures match:␤:(Range $r)␤ in sub prefix:<[+]> at /tmp/mnf_NdsOey:1␤ in block at /tmp/mnf_NdsOey:1␤␤»
moritz and that's the real problem :/ 13:16
timotimo oh my :| 13:17
yeah, longest-token-matching is your friend
moritz that's not related to LTM 13:18
timotimo hm, so the [+] token isn't a longer token than the reduce + token?
moritz the problem is that the meta operator generates a prefix:<[+]> with same precedence as a listop
13:19 aborazmeh left
moritz timotimo: it is, which is why the approach to optimizing meta ops can work at all 13:20
timotimo so, the original meta op will still be a candidate?
that's nice
moritz well, that's the second problem
the meta op only creates a subroutine if there's none yet
so once you define your own multi, the normal mechanism doesn't kick in anymore 13:21
timotimo oh, whoops
moritz r: multi prefix:<[+]>(Range $r where { $r.min ~~ Int && $r.max ~~ Int }) { ($r.max * ($r.max + 1) / 2).Int }; say [+] (1.1 .. 5.1)
camelia rakudo 627e17: OUTPUT«Cannot call 'prefix:<[+]>'; none of these signatures match:␤:(Range $r)␤ in sub prefix:<[+]> at /tmp/O6a0IyNUvs:1␤ in block at /tmp/O6a0IyNUvs:1␤␤»
moritz that's why this one fails
timotimo right
13:21 aborazmeh joined
moritz r: [+] 1, 2; do { multi prefix:<[+]>(Range $r where { $r.min ~~ Int && $r.max ~~ Int }) { ($r.max * ($r.max + 1) / 2).Int }; say [+] (1.1 .. 5.1) } 13:21
camelia rakudo 627e17: OUTPUT«Cannot call 'prefix:<[+]>'; none of these signatures match:␤:(Range $r)␤ in sub prefix:<[+]> at /tmp/OJ3gIVHPFd:1␤ in block at /tmp/OJ3gIVHPFd:1␤␤»
timotimo hm, but wouldn't that only be acceptable if the user didn't override + in that lexical scope?
moritz proper checks must be made while optimizing such things, yes 13:22
timotimo r: sub infix:<+>($a, $b) { $a - $b }; say [+] (1 ... 50)
camelia rakudo 627e17: OUTPUT«-1273␤»
moritz like &infix:<+> === &CORE::infix:<+> or so
timotimo so it would indeed be something the optimizer would have to do? insert a correct optimised-metaop in the tightest scope that makes it still work or something? 13:23
moritz I'm not sure 13:24
13:27 FROGGS left 13:28 kivutar joined
Ulti_ daxim most of the time is just Rakudo startup 13:29
13:29 Ulti_ is now known as Ulti
daxim needs more lazy loading of features, then 13:29
Ulti or just dont worry about the half second it takes something to run 13:30
and use perl5 for your dirty one liners
13:30 broquain1 is now known as broquaint
Ulti the point at which perl5 use case falls over and needs perl6 is large systems that aren't limited by the startup time of the interpreter 13:31
13:31 ajr_ left 13:32 aborazmeh left
Ulti its as if sysadmins and ex-sed/awk users believe thats the only thing perl is for 13:32
timotimo i'm still hoping the startup time will improve dramatically some day
13:32 ajr_ joined
Ulti I use perl to run calculations that take months to finish, the runtime isnt even language limited using C wouldnt be much faster 13:32
I'm not like OMG 0.005s startup this is the best language for the task 13:33
if you want fast startup time buy an SSD for your computer
timotimo i don't want to learn perl 5 just to make fast one-liners :P
i have an SSD, in fact 13:34
perl6 -e 'say 10' -> 1.68user 0.32system 0:02.07elapsed 96%CPU (0avgtext+0avgdata 179716maxresident)k
Ulti perl6 -e 'exit' real 0m 0.433s 13:35
timotimo your ssd must be much better than mine
Ulti perl -e 'exit' real 0m 0.005s
perl6 -e 'my $i += $_ for 1 .. 100; say $i;' real 0m 0.461s 13:36
timotimo what kind of beast machine is this? :)
Ulti perl -e '$i += $_ for 1 .. 100; print $i;' real 0m 0.007s
timotimo oh, i may have set my processor to powersave ...
Ulti guess I should have used strict :)
timotimo okay, it's 0.71s now for -e exit 13:37
Ulti < timotimo> what kind of beast machine is this? :) <--- a MacBook Air 1.7GHz i5
>:3
I'm just waiting for threaded loops in perl6 so I can do a super fair benchmark of rakudo against perl5 on my 24 core dual xeon machine :) 13:40
lets see who wins then
timotimo bwahaha :) 13:41
Ulti seriously though perl5 vs perl6 "debate" has far too many perl5 sysadmin voices 13:42
geekosaur (hey now...) 13:43
Ulti as a Bioinformatician there is essentially nothing wrong with the state of perl6 right now apart from the limited port of BioPerl libraries, which I plan to help out with once I finish my thesis
13:44 bamboo joined
timotimo what about those rosalind exammmples that are too slow to even finish? ;( 13:44
(in one patient-person-time)
Ulti orly
the only thing I'm :'( about is the runtime of grammars on big data files
but that really comes from being greedy and objectafying everything rather than just writing the simple parser you would have otherwise written 13:45
ajr_ I golfed the startup down to perl[6 ] -e "" 13:46
Is anyone interested in the results?
geekosaur although, as a perl5 sysadmin, one of my big regrets is not having the time to sit down and figure out perl6 properly. wonder how much of that is in the background of my colleagues? 13:47
moritz ajr_: yes
ajr_ time perl -e "" 13:48
0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 5744maxresident)k
0inputs+0outputs (0major+422minor)pagefaults 0swaps
timotimo holy hell, that's fast
ajr_ time perl6 -e ""
0.57user 0.15system 0:00.73elapsed 98%CPU (0avgtext+0avgdata 392480maxresident)k
0inputs+0outputs (0major+28073minor)pagefaults 0swaps
Ulti geekosaur: I'm a "bash sysadmin" on the side... why perl? 13:49
geekosaur watch out for cache effects when timing stuff like that
timotimo 60x as much memory usage, too
geekosaur Ulti, I'm faitly familiar with bash, but it still doesn't take much for me to decide that it'll be easier or more readable in perl 13:50
that said I will do in shell what can be done in shell
Ulti I guess most of our cron stuff is all perl, but I wouldnt call what runs "sysadmin"
ajr_ The 5 job was the first one. I ran the 6 several times to let the cache effects settle. (The first one was
time perl6 -e ""
2.11user 0.49system 0:03.49elapsed 74%CPU (0avgtext+0avgdata 392512maxresident)k
47640inputs+0outputs (31major+28045minor)pagefaults 0swaps
geekosaur but about the time I need some kind of map/dictionary structure that's sane, or the quoting gets funky, I switch to something sane 13:51
which is mostly perl in my case although sometimes python for coworkers' sakes
(said coworkers don't know shell very well either...) 13:52
Ulti I installed rakudo with the prefix /dev/shm that was the right thing to do, right? ;P
geekosaur: yeah I agree with that
ajr_ I did some straces to see if it was purely file finding and reading time, but if I've interpreted the results correctly, 13:53
timotimo shell syntax is very off-putting to me, tbh
ajr_ there's some heavy thinking going on.
Ulti geekosaur or as soon as you need anything other than integer arithmetic
:)
geekosaur enh 13:54
I have been known to pipe to dc in a shell script, when nothing else was available
(hello older solaris...)
13:54 yx left
Ulti error token is ".0 " <--- dont lie bash, you have never tokenised input 13:55
geekosaur it does tokenize, actually. they're just not what we're used to thinking of as tokens
Ulti :)
geekosaur also the builtins are not parsed *as* builtins, each one does its own parse 13:56
(aside from e.g. control structures)
ajr_ perl 5 actually got slightly worse on subsequent tries: 13:57
perl -e ""
0.00user 0.01system 0:00.01elapsed 90%CPU (0avgtext+0avgdata 5728maxresident)k
0inputs+0outputs (0major+421minor)pagefaults 0swaps
Ulti geekosaur: if you want a "fun" sysadmin perl6 challenge use the perl6 IRC module (which is really quite nice) to stream filtered logs from a load of servers to an IRC channel, then have it so you can just chat to the server to run commands 13:59
timotimo that's not just slightly, that's infinity times slower!
Ulti also I want that tool it would be p. useful
timotimo accepting commands from IRC, what could possibly go wrong 14:00
Ulti obviously on your own server with encryption jees
also the commands dont have to be arbitrary
14:02 FROGGS joined
Ulti heh the more I think about this the more I might do it myself just as a research tool, just type SQL into IRC and have whichever server finds it has the database run the query and give me the result 14:03
timotimo :)
dalek : 859212e | (Tobias Leich)++ | / (3 files):
fixed: require VERSION
Ulti or have servers bid on chunks of a data file to process and have a prallel job just work by itself without me thinking 14:04
install some android push IRC bridge to my phone... and I dont even need to do work anymore 14:05
PerlJam Add the voice-to-text interface and you can just call your system and tell it what to do just like any other minion 14:08
GlitchMr rn: / #`[A comment] / 14:09
14:09 domidumont joined
camelia rakudo 627e17: OUTPUT«===SORRY!===␤Regex not terminated␤at /tmp/W2dH483kaE:1␤------> / #`[A comment] /⏏<EOL>␤ expecting any of:␤ statement list␤ prefix or term␤ prefix or meta-prefix␤ infix stopper␤» 14:09
..niecza v24-51-g009f999: ( no output )
GlitchMr std: / #`[A comment] /
camelia std 0336087: OUTPUT«===SORRY!===␤Null pattern not allowed at /tmp/6DjTukt9xb line 1:␤------> / #`[A comment] ⏏/␤ expecting any of:␤ statement end␤ statement list␤Parse failed␤FAILED 00:00 41m␤»
GlitchMr Niecza allows null pattern pattern
colomon weird 14:12
PerlJam That's a rakudo buglet that #`[] isn't recognized in regex, isn't it? (at least that's what I think is causing the "Regex not terminated" error) 14:14
moritz PerlJam: correct 14:15
14:15 xilo left 14:18 yx joined 14:19 domidumont left 14:22 domidumont joined, domidumont left
FROGGS rn: / #`[A comment]␤ / 14:23
camelia rakudo 627e17, niecza v24-51-g009f999: ( no output )
FROGGS rn: say "a" ~~ / #`[A comment]␤ / 14:24
camelia rakudo 627e17, niecza v24-51-g009f999: OUTPUT«「」␤␤»
FROGGS rakudo should complain too about null pattern
moritz it's null pattern detection is known to be very incomplete 14:25
FROGGS yesh
moritz *its
14:27 bluescreen10 left, bluescreen10 joined 14:34 prevost joined 14:36 xilo joined 14:37 SamuraiJack joined 14:43 rindolf left, spider-mario joined 14:48 imIKARi joined 14:50 zby_home_ joined 14:51 rindolf joined 14:54 lizmat joined
FROGGS t/spec/S32-hash/delete-adverb.rakudo (Wstat: 0 Tests: 108 Failed: 1) 14:54
Failed test: 27
14:54 risou is now known as risou_awy
FROGGS not ok 27 - slice unexisting single key/value # got: Any # expected: $("e", Any) 14:55
14:55 risou_awy is now known as risou
FROGGS nr: my %h; say %h<e>:!kv:delete # why should this give ('e', Any) ? 14:57
camelia rakudo 627e17, niecza v24-51-g009f999: OUTPUT«(Any)␤»
FROGGS that is the only error I see, so it is going to be a nice release day o) 14:58
:o)
lizmat FROGGS: that wasn't marked as todo ? 14:59
it should, because the key did not exist, and you're asking for a key/value even if it doesn't exist (because of the ! in :!kv) 15:00
FROGGS lizmat: looks like the test count is wrong
6 todo for 4 is_deeply checks 15:01
lizmat let me check
lizmat just arrived in the east of Germany :-)
FROGGS where exactly?
lizmat Querfurt
in the Eisleben / Halle area 15:02
FROGGS ahh
lizmat hmmm.. that file doesn't have a plan, so I can't get the number of tests wrong 15:04
FROGGS lizmat: looks like *I* cant count
there is '6 todo', followed by 2xok, and 4xis_deeply
15:05 woolfy joined
FROGGS lizmat: the 'my' declaration gets the todo, so the last test doesnt 15:06
lizmat argh, it's # lines, not # of tests...
15:07 kaare_ joined
dalek ast: 298edbd | (Elizabeth Mattijsen)++ | S32-hash/delete-adverb.t:
Fix fudging, it's # of lines, *NOT* number of tests, stupid! (that would be me)
15:07
lizmat FROGGS: are we ok now? 15:12
15:13 bamboo left, bamboo joined, risou is now known as risou_awy
FROGGS I'll check 15:15
lizmat tadzik: "or the handheld wind power plant, sticking your hand outside the airplane windows and yelling "FASTER! FASTER!"" 15:16
that is actually exactly how the fallback fallback power supply of many planes work: 15:17
tadzik haha
lizmat when needed, a small propellor comes out of the hull in the back and generates electricity
tadzik I just had an idea that it could generate electricity from braking, like a car does. That may not work though. 15:18
lizmat that's what a Prius does already
tadzik yes
may be tricky with a plane
lizmat ah, you mean the plane
generally, they're glad if they don't smoke the tires 15:19
also: the energy flow would be very peaky: a fast brake in a Prius will also not load the battery, as it wouldn't be able to cope with that much energy in a short period
15:20 kivutar left
daxim enwp.org/regenerative_braking 15:20
lizmat what I said :-) 15:22
15:27 bamboo left, bamboo joined
masak evenin', #perl6 15:31
tadzik it's masak! \o/ 15:32
masak double-checks, just to be sure
yup.
lizmat masak+ 15:35
at least one of them, right?
masak nr: say first * > 5, 1..3
15:35 daxim left
camelia niecza v24-51-g009f999: OUTPUT«Nil␤» 15:35
..rakudo 627e17: OUTPUT«No values matched␤ in method gist at src/gen/CORE.setting:10065␤ in method gist at src/gen/CORE.setting:893␤ in sub say at src/gen/CORE.setting:10963␤ in block at /tmp/gR86f5feCs:1␤␤»
masak submits TimToady++'s rakudobug from earlier 15:36
<TimToady> rakudobug :)
FROGGS t/spec/S32-hash/delete-adverb.rakudo TODO passed: 17, 22-23, 25, 28-29, 31, 34-37, 39, 54, 68 15:37
Result: PASS
lizmat: ^^
nr: say first Nil 15:38
camelia rakudo 627e17: OUTPUT«No values matched␤ in method gist at src/gen/CORE.setting:10065␤ in method gist at src/gen/CORE.setting:893␤ in sub say at src/gen/CORE.setting:10963␤ in block at /tmp/4oL6SnCZ4n:1␤␤»
..niecza v24-51-g009f999: OUTPUT«Unhandled exception: No value for parameter '$test' in 'first'␤ at /home/p6eval/niecza/lib/CORE.setting line 0 (first @ 1) ␤ at /tmp/mhKl5YSEUm line 1 (mainline @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4331 (ANON @ 3) ␤ at /home/p6eval/niecz…
TimToady that's smartmatching with Nil, which is always false 15:39
15:40 woolfy left
TimToady nr: say Nil ~~ Nil 15:40
camelia rakudo 627e17, niecza v24-51-g009f999: OUTPUT«True␤»
masak nr: say grep * > 5, 1..3
camelia rakudo 627e17, niecza v24-51-g009f999: OUTPUT«␤»
TimToady two bugs for the price of one :)
lizmat afk until maybe later tonight / tomorrow
15:40 lizmat left
masak TimToady: I see one: 'Nil ~~ Nil' should be False. 15:41
what's the other one?
TimToady nr is two things
masak TimToady: waitwait, why was 'nr: say first * > 5, 1..3' => 'No values matched' a bug in Rakudo? 15:42
I almost pushed the "Send" button, but now I'm not so sure. 15:43
flussence probably because there's a backtrace in there for no apparent reason
moritz masak: I think TimToady meant that Nil~~Nil being true is a bug both in Rakudo and Niecza, so two bugs
flussence oh wait 15:44
masak flussence: it's a Failure, which gets triggered because we try to print the (non-existent) first value.
flussence never mind, I misread your line as the actual code
masak moritz: ok. then I see why I was confused; I only report Rakudobugs ;)
(except when I don't)
flussence nr: say first * > 5, 1..3 => 'No values matched' # just ooc, I wonder what this'll do 15:45
camelia niecza v24-51-g009f999: OUTPUT«Unhandled exception: Cannot use value like Pair as a number␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /home/p6eval/niecza/lib/CORE.setting line 293 (Any.Numeric @ 6) ␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /tmp/_GYD2ok9bg line 0 (ANON @ 1) ␤ at…
..rakudo 627e17: OUTPUT«Cannot call 'Real'; none of these signatures match:␤:(Mu:U \v: Mu *%_)␤ in method Real at src/gen/CORE.setting:870␤ in sub infix:<>> at src/gen/CORE.setting:3047␤ in sub infix:<>> at src/gen/CORE.setting:3045␤ in block at /tmp/MDwtBBP4Kx:1␤␤»
masak TimToady: timing out; unsubmitting bug.
if anything, that's a Nieczabug. 15:47
no, I change my mind again: the behavior is *unspec'd*, and Rakudo and Niecza are just exposing two reasonable implementations of the hole in the spec. 15:49
so, which one do we like better? :)
let's fill the hole in the spec with our preferred implementation.
TimToady which behavior are you referring to? 15:50
moritz niecza's is more user friendly
nr: say (42 => 5) > 1
camelia niecza v24-51-g009f999: OUTPUT«Unhandled exception: Cannot use value like Pair as a number␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /home/p6eval/niecza/lib/CORE.setting line 293 (Any.Numeric @ 6) ␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /tmp/HXsebyRmh7 line 1 (mainline @ 3) ␤…
..rakudo 627e17: OUTPUT«Cannot call 'Real'; none of these signatures match:␤:(Mu:U \v: Mu *%_)␤ in method Real at src/gen/CORE.setting:870␤ in sub infix:<>> at src/gen/CORE.setting:3047␤ in sub infix:<>> at src/gen/CORE.setting:3045␤ in block at /tmp/X9yaimO7bk:1␤␤»
masak TimToady: I'm referring to the rakudobug you reported and I just unsubmat. 15:53
nr: say first * > 5, 1..3
camelia niecza v24-51-g009f999: OUTPUT«Nil␤»
..rakudo 627e17: OUTPUT«No values matched␤ in method gist at src/gen/CORE.setting:10065␤ in method gist at src/gen/CORE.setting:893␤ in sub say at src/gen/CORE.setting:10963␤ in block at /tmp/YvhvRLAF2u:1␤␤»
masak that one.
the spec doesn't say what to do in this situation.
nr: say first 5, ()
TimToady yes it does :)
camelia niecza v24-51-g009f999: OUTPUT«Nil␤»
..rakudo 627e17: OUTPUT«No values matched␤ in method gist at src/gen/CORE.setting:10065␤ in method gist at src/gen/CORE.setting:893␤ in sub say at src/gen/CORE.setting:10963␤ in block at /tmp/mAqDm3pDCS:1␤␤»
masak TimToady: where?
I went to S32/Containers and looked for 'first' there.
maybe I looked in the wrong place? 15:54
TimToady did you git pull?
masak does so now 15:55
masak submits rakudobug
TimToady that's why there was a smiley on it, because I'd just done that 15:56
masak ah.
sorry, I'm too exhausted to get subtle jokes ;)
TimToady in general, I'm of the opinion that subscript failure should probably just return Nil, not failure
(or a WHENCE when it might be an lvalue) 15:57
but lists can't do that, so Nil
(arrays probably return their default value instead of Nil) 15:58
moritz oh wow
that means that stuff like @a[2..*] won't DWIM anymore
because it returns a trailing, infinite list of Nil's 15:59
TimToady ranges can still be special
15:59 PacoAir left
TimToady in the same way we're already distinguishing it such that it's currently returning a failure 16:00
16:00 saxx11 joined, PacoAir joined
TimToady Nil is just the most benign sort of failure, and I think subscripting is a good place to keep it simple 16:01
16:01 bamboo left
TimToady or going the other way, one can think of a failure as Nil with extra baggage 16:02
16:04 leeder-krenon joined, kaleem left 16:05 AMENDEES_ joined, saxx11 left 16:06 fhelmberger left
FROGGS $ perl6 -e 'my ($a, $c); ($a, $, $c) = 1..3' 16:10
Non-declarative sigil is missing its name
------> my ($a, $c); ($a, $⏏, $c) = 1..3
hmmmm 16:11
masak I'm not sure it makes much sense to use '$' outside of a signature.
16:11 japhb_ left
FROGGS but it might be still better to treat it as '$' and not '$,' there, right? 16:12
TimToady nr: my ($a, $c); ($a, *, $c) = 1..3;
camelia rakudo 627e17, niecza v24-51-g009f999: ( no output )
TimToady FROGGS: that's why I did the STD patch
std: my ($a, $c); ($a, $, $c) = 1..3 16:13
camelia std 0336087: OUTPUT«===SORRY!===␤Non-declarative sigil is missing its name at /tmp/wTvOaI3RgM line 1:␤------> my ($a, $c); ($a, ⏏$, $c) = 1..3␤Use of uninitialized value $first in string eq at STD.pm line 66016.␤Use of uninitialized value $first in s…
FROGGS TimToady: ahh, there already is a patch *g* 16:14
16:16 REPLeffect left
TimToady std: my ($a, $c); ($a, $(), $c) = 1..3; # curious 16:17
camelia std 0336087: OUTPUT«ok 00:00 47m␤»
TimToady npr: my ($a, $c); ($a, $(), $c) = 1..3; # curious
camelia niecza v24-51-g009f999: OUTPUT«Unhandled exception: Unable to resolve method ast in type Any␤ at /tmp/gp1hCMi0wY line 1 (mainline @ 4) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4331 (ANON @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4332 (module-CORE @ 582) ␤ at /home/p6…
..pugs: ( no output )
..rakudo 627e17: OUTPUT«No such method 'ast' for invocant of type 'Any'␤ in block at /tmp/jORWahGc1p:1␤␤»
TimToady ah, $() is special already 16:18
16:29 ajr_ left, SamuraiJack left, SamuraiJack joined
dalek kudo/nom: 25bfa5f | (Tobias Leich)++ | src/Perl6/Grammar.nqp:
by TimToady++: only carp about P5 $, variable where it is obvious
16:36
16:41 yx left
dalek kudo/nom: d3b36e4 | jonathan++ | README:
Fix year in README.
16:42
16:42 yx joined
timotimo fix the whole year? wow. 16:43
FROGGS 2013 is safe now man
jnthn you're welcome 16:44
timotimo jnthn and his fabulous cape save the day^Wyear again
(jnthns cape is actually shaped like two +es) 16:45
16:46 dmol joined 16:48 denisboyun joined
FROGGS so like a # ? 16:51
TimToady that's four 16:52
masak so, like a ‡ ?
FROGGS I'd expected to see a 'qnthn' on his cape 16:53
TimToady
FROGGS or maybe the 'j' is on purpose and the jvm port was destiny?
TimToady 16:54
16:56 ajr joined 16:57 ajr is now known as Guest45706, japhb_ joined
masak TimToady: ☨ 16:58
timotimo :D
masak "cross of jnthainne"
16:58 dakkar left
dalek Heuristic branch merge: pushed 32 commits to rakudo/jvm-support by jnthn 17:00
17:03 SamuraiJack left 17:08 denisboyun left
dalek kudo/jvm-support: 4e74ee5 | jonathan++ | tools/build/ (2 files):
Tweak some memory flags.
17:11
timotimo "tweak JVM to use less RAM" 17:12
jnthn Well, "tweak it to use enough RAM to get through the setting" too :) 17:13
(Its default limits vary by system.)
17:14 Guest45706 is now known as ajr_
timotimo hehe 17:14
is that the "code object too large" problem?
jnthn timotimo: that was in NQP and I did the patch last night 17:15
I will merge stuff after the Rakudo release today though
timotimo oh, ok
Util jnthn: who is cutting the Rakudo release today? 17:22
jnthn 2013-05-23 Rakudo #64 "Austin" FROGGS
17:23 rindolf left, rindolf joined
jnthn Looks like masak gets to relesae the first Rakudo with some amount of JVM support :) 17:24
masak yesssss! \o/ 17:25
jnthn (Amount to be determined ;))
Util masak: Be advised that Parrot 5.4.0, which I released 2 days ago, had a problem that causes it to fail the .t file for Parrot::Distribution. It is a harmless failure. 17:26
17:27 denisboyun joined
Util The problem is my fault, and I can release 5.4.1 if the `make test` failure is screwing up your release process. 17:28
The problem is already fixed in HEAD.
jnthn Nearly home...time to detrain... 17:31
bbl
17:32 denisboyun left
Util FROGGS: ^^^ 17:32
timotimo Util: would you be receptible to worries about the readline implementation? 17:34
if i told you readline-ing from a socket will sometimes give me a not-complete line and leave me with no way to figure out what is a full line and what is bugged, would you consider that something that should be fixed? 17:35
17:38 REPLeffect joined 17:45 kaleem joined
Util timotimo: yes. Is there an open ticket on this issue? 17:45
timotimo i didn't actually make one yet :( 17:46
i think i'll have to make a reproducible, small, self-contained test case
17:50 rindolf left 17:51 rindolf joined 17:53 kaleem left, AMENDEES_ left 18:08 nyuszika7h joined
dalek ast: ab1d3b7 | dagurval++ | S32-io/spurt.t:
unfudge rakudo, fudge niecza
18:14
colomon doesn't like the sounds of that 18:15
timotimo dagurval: it doesn't seem to have a plan now, is that intended? 18:18
oh, maybe it has a "done" at the end 18:19
indeed it does
Util timotimo: Looks like not_gerd was working on the readline issue: irclog.perlgeek.de/parrotsketch/2013-03-12
dagurval timotimo: it was kind of difficult with the fudging :).
18:20 SamuraiJack joined
timotimo it doesn't sound like the issue i was getting, though 18:20
FROGGS Ulti: whats up? 18:21
Ulti: I won't upgrade parrot for today's release 18:24
masak FROGGS: Util, not Ulti. 18:25
FROGGS ohh
masak is such a big help :) 18:26
FROGGS Util^^ sorry for that
masak++ # indeed :o)
18:26 sqirrel left
Util FROGGS: No problem. You are not the first to switch us up. 18:27
FROGGS yeah, I should stop reading just the first and the last letter :o)
err, well, you know what I mean *g* 18:28
dagurval r: "/tmp/asdf".IO.spurt("hello").WHAT.say 18:29
camelia rakudo d3b36e: OUTPUT«(Bool)␤»
dagurval I wonder what spurt should return, perhaps self?
masak FROGGS: I bet you've seen dan.hersam.com/2005/01/27/reading-j...d-letters/ 18:30
dalek kudo/nom: 90daa18 | (Tobias Leich)++ | src/Perl6/Grammar.nqp:
by TimToady++: allow $% and $@ itemizers to align with STD
FROGGS masak: not this one, but a similar article
masak yeah. 18:32
18:34 bluescreen10 left
dalek ecs: c2ac9b8 | dagurval++ | S32-setting-library/IO.pod:
Updated IO::Handle.slurp and added IO::Handle.spurt
18:35
18:38 denisboyun_ joined 18:39 alester joined 18:43 denisboyun_ left 18:52 berekuk joined 18:58 Bzek joined
dagurval I think this is a bug: 19:01
r: "/tmp/asdf".IO.open(:w).print("hello world"); say slurp("/tmp/asdf")
camelia rakudo d3b36e: OUTPUT«␤»
dagurval r: my $a = "/tmp/asdf".IO; $a.open(:w); $a.print("hello world"); $a.close; say slurp("/tmp/asdf")
camelia rakudo d3b36e: OUTPUT«hello world␤»
dagurval Has top be closed explicitly. Does it have to do with GC?
19:02 massimino joined
PerlJam buffering I'd wager. 19:02
moritz yes, and with the lack of destroy methods
dagurval ok, so it's something that will be fixed when destroy methods arrive? 19:03
PerlJam or, autoflush on the filehandle.
moritz dagurval: yes 19:04
masak is not so sure
the thing with destroy methods is that they are not timely, no? 19:05
can you even guarantee that they run before the program exits normally?
I guess you can, though Java seems to have had issues in that area, for some reason.
masak mislikes DESTROY methods and would much prefer to see a total transition to the Dispose pattern 19:06
dagurval r: "/tmp/asdf".IO.open(:w).print("hello world");
camelia rakudo d3b36e: ( no output )
dagurval this seems to never actually be written
r: say slurp("/tmp/asdf")
camelia rakudo d3b36e: OUTPUT«␤»
PerlJam r: my $fh = "/tmp/asdf".IO.open(:w); $fh.print("hello world"); $fh.flush(); say slurp("/tmp/asdf"); 19:08
dalek p: 7305cf5 | (Tobias Leich)++ | docs/release_guide.pod:
fixed typo
camelia rakudo d3b36e: OUTPUT«hello world␤»
grondilu rn: say 0/0 19:09
camelia rakudo d3b36e: OUTPUT«Divide by zero␤ in sub infix:<div> at src/gen/CORE.setting:3347␤ in sub infix:<div> at src/gen/CORE.setting:2998␤ in sub DIVIDE_NUMBERS at src/gen/CORE.setting:7992␤ in sub infix:</> at src/gen/CORE.setting:8124␤ in sub infix:</> at src/gen/CORE.setting:2993␤ …
..niecza v24-51-g009f999: OUTPUT«0␤»
PerlJam dagurval: you can't trust that camelia won't clean up after itself between invocations.
grondilu was expecting NaN
dagurval PerlJam: it doesn't clean the files I create with IO 19:10
r: "/tmp/asdf".IO.open(:w).spurt("hello world");
camelia rakudo d3b36e: ( no output )
dagurval r: say slurp("/tmp/asdf")
camelia rakudo d3b36e: OUTPUT«hello world␤»
masak r: say 0.0 / 0.0
camelia rakudo d3b36e: OUTPUT«Divide by zero␤ in sub infix:<div> at src/gen/CORE.setting:3347␤ in sub infix:<div> at src/gen/CORE.setting:2998␤ in sub DIVIDE_NUMBERS at src/gen/CORE.setting:7992␤ in sub infix:</> at src/gen/CORE.setting:8103␤ in sub infix:</> at src/gen/CORE.setting:2993␤ …
dalek p: 6bbc8bd | (Tobias Leich)++ | VERSION:
bump VERSION to 2013.05
19:11
jnthn r: say 0e0 / 0e0
camelia rakudo d3b36e: OUTPUT«Divide by zero␤ in sub infix:</> at src/gen/CORE.setting:3801␤ in sub infix:</> at src/gen/CORE.setting:2993␤ in block at /tmp/jF1SKLvONe:1␤␤»
PerlJam r: say $*PID; 19:13
camelia rakudo d3b36e: OUTPUT«24667␤»
PerlJam r: say $*PID;
camelia rakudo d3b36e: OUTPUT«24673␤»
massimino Good evening. I've a problem installing modules with panda Can someone help me please? The problem is gist.github.com/anonymous/5638586 19:19
masak good evening massimino.
massimino Hi masak 19:20
masak everyone: is this panda problem known?
can someone reproduce it on a clean Star build?
is 2013.02 known-bad? I think not. 19:21
or is it known-bad for Opensuse?
sorear o/
massimino I downloaded rakudo star yesterday. It's 2013.2 and panda one hour ago
jnthn Doesn't look like a familiar error to me.
Does R* not come with a Panda? 19:22
(May just be some kinda version skew...)
masak massimino: how did you run panda? did you download it separately from Rakudo Star?
massimino yes masak 19:23
I downloaded rakudo star and i've change my path. Then I downloaded panda and changed my path again
masak :/ 19:24
massimino after run bootstrap.pl
masak that... may not work.
Rakudo Star already has a panda. use that.
er, I mean "I suggest you use that" :)
massimino Ok I try
masak shouldn't a full 'make' of Rakudo Star already invoke panda, even? 19:25
or is that a diff'rent 'make' target?
jnthn Not sure...I recall that something was done a while back to make the Panda with star recognize the already-supplied module...
tadzik massimino: does 'panda update' change anything? 19:29
massimino The error seems to be the panda command in rakudo.
because when I launch 19:30
panda on diretory I've downloaded from git-hub I see the list of modules
but there is another error: gist.github.com/anonymous/5638777 19:31
I'm trying panda update 19:33
Error again: no such method 'update' for invocant of type 'Any' 19:35
tadzik oh shit
how new is that panda?
oh, I see it
this has been fixed some time ago
like, 5 days ;)
sorry for that 19:36
19:36 fgomez joined
massimino I've downloaded rakudo yesterday. But panda 1:30 ago 19:36
tadzik hmm
that shouldn't be happening, since...
github.com/tadzik/panda/commit/02765c9329 since this 19:37
massimino I don't know but the first error is when I run panda that comes with rakudo.
tadzik massimino: I did some serious refactoring with panda some time ago, I may have broken stuff :( sorry for that 19:38
FROGGS maybe the old panda that is flying around should be removed from disk? 19:39
massimino Yes but when I run panda inside that I've downloaded from git-hub I can see the list of modules but I've another error: gist.github.com/anonymous/5638777
I don't know what directory .work is
tadzik it's the same one 19:42
TimToady rosettacode.org/wiki/Subset_sum_problem#Perl_6 19:43
btw, that's a pretty fast combinations routine in there, compared to the recursive version 19:45
tadzik massimino: did you try the very fresh panda? How do you install it? 19:47
I suck at maintaining this
massimino massimino: I've three executables of panda: one in rakudo-star-2013.02/install/bin, another in rakudo-star-2013.02/install/lib/parrot/4.10.0/languages/perl6/site/bin and another in ~/panda (I've downloaded it today) 19:49
I run certainly panda in the first directory 19:50
tadzik did you boostrap it?
like, 'perl6 boostrap.pl'
FROGGS massimino: what does 'which panda' tell you?
massimino yes
I've tried a thing.
inside rakudo-star-2013.02/install/lib/parrot/4.10.0/languages/perl6/site/bin i've created the directory work 19:51
then I launched ./panda list
All was ok 19:52
tadzik aww
massimino: is this the star panda, that requires the .work directory to work? 19:53
That shouldn't have ever got in any release
19:53 kaare_ left
massimino In rakudo star there are two panda commands 19:53
19:54 konundra joined
tadzik really? 19:54
at least htat's not my faul...
massimino the second I think was created when I did perl6 bootstrap.pl
tadzik ah
okay, again
you installed star, and the bundled panda didn't work ootb? 19:55
massimino because the last message was that I had to modify my path
I don't know... after installed rakudo I downloaded panda and I did perl6 bootstrap.pl
tadzik ah. That was not necessary 19:56
now you have two pandas
panda is included in star
you installed another, and they interact in the bad way 19:57
the git version is a bit untested, there's a reason it's not released yet
please try removing rakudo-star-2013.02/install/lib/parrot/4.10.0/languages/perl6/site altogether
then you should still have the star panda
massimino Ok tadzik, I try 19:58
tadzik unless star installs to site. I hope not
massimino I will try to cancel my rakudo star installation and reinstall it to have a clean installation 19:59
19:59 dmol left
tadzik I'm sorry panda gave you trouble 20:00
sorear .o( I will cancel my rakudo star subscription!!! )
massimino Don't worry. 20:01
tadzik it's a bit of an unruly child 20:03
rebellious age and all that
arnsholt tadzik: We'll have to meet up and discuss our unruly children in Austin
NativeCall is a bit of a handful as well =)
sorear terrible twos?
arnsholt Yeah, something like that 20:04
sorear arnsholt: you're making it to austin?
in spite of the INS?
arnsholt Hehe
Norway is part of the visa waiver program, so it wasn't as hard as it was for tadzik
jnthn
.oO( LET ME INS! )
tadzik arnsholt: good :0 20:06
maybe panda should warn if it's already installed? 20:07
sorear ETOOMANYPANDAS 20:08
tadzik eggzactly
sorear PANDA CARRYING CAPACITY EXCEEDED
20:09 nebuchadnezzar joined 20:25 zby_home_ left
masak PANDA TO ŻUBR RATIO OUT OF BOUNDS 20:29
20:29 eternaleye joined
jnthn
.oO( Just teething problems... )
20:31
sorear never heard of that before 20:33
20:37 eternaleye left, bbkr joined
masak almost deadpans an explanation in sorear's direction about teeth 20:38
20:38 fhelmberger joined
masak sorear: by the way, today's weird mathematical object: en.wikipedia.org/wiki/Empty_semigroup 20:39
or not so much "weird" as "amusingly useless". 20:40
20:41 eternaleye joined
sorear masak: was actually referring to /Bison bonasus/ 20:42
masak aye. 20:43
sorear: I've seen them. they are very docile.
almost went extinct.
very hard to rebuild from scratch after they do.
massimino tadzik: I've reinstalled rakudo 2013.2 and now panda works fine thank you for everything 20:44
FROGGS O.o
jnthn Gee, I hope I didn't accidentally eat one in Belarus...
(I was on the other side of the border at the same national park, and ate some wild meat that I never worked out what actually was :))
masak jnthn: nah. probably just dodo. :P 20:45
jnthn :P
oh bother. Seems that when I did the git merge nom on the train into jvm-support, I busted it.
FROGGS jnthn: np, I'll add that as a quote to the changelog *g* 20:46
jnthn FROGGS: It's in a branch :P 20:48
I've got until the next release to fix it. :P
FROGGS ha, I'll do two releases!! 20:49
masak nooo
20:50 Bzek left 20:51 fhelmberger left 20:54 eternaleye left, eternaleye joined
dalek kudo/nom: 781a32b | (Tobias Leich)++ | docs/ (3 files):
prepared current release
21:00
timotimo ++ underlaying nqp layer support parrot and JVM as backend <- should be "underlying" 21:01
would like to see the line of contributors hard wrapped 21:02
jnthn Dunno whether to mention that in Rakudo release; people may not read it properly and think this release has the some Rakudo on JVM support... :) 21:03
21:06 rindolf left
FROGGS timotimo: will fix both, thanks for reporting 21:07
21:09 spider-mario left 21:15 bbkr left
timotimo oh, indeed 21:18
FROGGS jnthn: but it is somehow important to mention me thinks 21:23
21:27 risou_awy is now known as risou
labster JVM support is nigh! 21:28
timotimo holds up signs 21:29
dalek kudo/jvm-support: 2778b30 | jnthn++ | src/vm/jvm/runtime/org/perl6/rakudo/ (2 files):
Make (|c) signatures work in binder.

Means .^foo now works, which somehow we'd come to hit during setting loading. Thus, basic stuff works again.
21:31
p/rak-jvm-support: 8c43ba4 | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/ (3 files):
Some error reporting fixes.
jnthn FROGGS: Yeah, maybe just make it super clear ("in preparation for JVM support in a future Rakudo release" or so maybe...) 21:32
FROGGS will do
dalek kudo/nom: 80c00e8 | (Tobias Leich)++ | docs/ChangeLog:
make clear what JVM support is about
21:34
kudo/nom: b79a19c | (Tobias Leich)++ | docs/announce/2013.05.md:
added contributors
21:41 berekuk left 21:43 berekuk joined, bruges joined
dalek kudo/nom: 264859c | (Tobias Leich)++ | tools/build/NQP_REVISION:
[release] bump NQP revision
21:44
kudo/nom: f7bfee6 | (Tobias Leich)++ | VERSION:
[release] bump VERSION
21:46 risou is now known as risou_awy, lizmat joined 21:47 colomon_ joined 21:49 colomon left, colomon_ is now known as colomon
colomon psst -- 71.10.146.50:3001/report -- very primitive and temporary preview of module smoke test reports 21:52
21:53 woolfy joined
FROGGS colomon: the columns are the last n days? 21:53
colomon FROGGS: yes 21:54
with the latest on the right
obviously very crude at the moment
FROGGS but you already see what is going on 21:55
colomon++
jnthn colomon++ 21:56
colomon I'm planning on sorting it so the most recently changed modules go on top
lizmat colomon++
colomon and making the module name links go to a useful page.
my first ever Dancer app
FROGGS :o)
labster nice colomon++ 21:58
sorear colomon++
22:01 SamuraiJack left 22:04 lustlife left
colomon okay, turned off outside access to it again. :) 22:05
FROGGS meh
22:05 xilo left
grondilu what's "constant folding"? 22:06
grondilu has rred this expression several times lately.
Tene grondilu: an optimizer pass to evaluate expressions only involving constants at compile time 22:07
for example, replacing 5+3 with 8
grondilu ok. thanks 22:08
dalek p/rak-jvm-support: c8bbb9a | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/IndyBootstrap.java:
Missing decont in indcall.
p/rak-jvm-support: 086cb6f | jnthn++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:
Implement some missing exception related ops.
22:18 kurahaupo joined
lizmat goodnight #perl6 22:19
FROGGS gnight 22:22
22:23 snearch joined
jnthn Would love to bughunt some more, but I'm making too many silly mistakes to come out with more fixed that broke... 22:27
'night o/
timotimo tellaparteng.tumblr.com/post/511422...omatic-cli - cool, kind of like MAIN in perl6
masak 'night, #perl6
grondilu is not sure about the semantics of List.combinations
"Returns all combinations of the list taken N at a time (specified by the $of parameter)." 22:28
sorear so [1,2,3,4,5]; 2 --> [[1,2], [1,3], [1,4], ... [4,5]] 22:29
en.wikipedia.org/wiki/Combinations 22:30
grondilu yeah that's how I understood it first. But "taken N at a time" is a terrible way to phrase it imho. 22:31
grondilu would have written: "Returns all combinations of N elements of the list" 22:32
geekosaur that's combinatorics lingo, I believe
22:32 massimino left 22:33 xilo joined
sorear yeah, fairly standard wording in the english-language literature 22:33
grondilu oh indeed the expression "at a time" is in the wikipedia article. I had no clue. 22:34
it's all good then. My bad.
dalek kudo/nom: 72eff27 | (Tobias Leich)++ | docs/announce/2013.05.md:
forgot to update short changelog -.-
22:37
22:38 ajr_ left 22:40 berekuk left
FROGGS (pmichaud, jnthn, masak, tadzik, moritz, PerlJam: can someone please upload this to rakudo.org? froggs.de/rakudo-2013.05.tar.gz froggs.de/nqp-2013.05.tar.gz 22:42
22:42 berekuk joined 22:53 woolfy left 22:57 REPLeffect left
FROGGS gnight all 23:00
23:04 jerome__ left
diakopter yapc austin registrations: i.imgur.com/0D2q3nr.png 23:11
23:17 jerome__ joined, REPLeffect joined 23:31 raiph left 23:47 jerome__ left 23:53 adu joined 23:56 japhb_ left