»ö« | perl6.org/ | nopaste: paste.lisp.org/new/perl6 | evalbot usage: 'perl6: say 3;' or rakudo:, alpha:, pugs:, std:, or /msg p6eval perl6: ... | irclog: irc.pugscode.org/ | UTF-8 is our friend!
Set by lichtkind on 5 March 2010.
Tene sorear: also of concern is passing Rakudo hashes to blizkost 00:00
jnthn Yes, that one is certainly an issue ATM.
00:08 nihiliad joined 00:12 nihiliad left
masak alpha: regex foo { a* }; say 'aa' ~~ /<foo> a/ 00:17
p6eval alpha 30e0ed: OUTPUT«aa␤»
00:20 Sarten-X left 00:22 Sarten-X joined 00:29 payload left
dalek kudo: cddc8a7 | (Solomon Foster)++ | src/core/operators.pm:
Add infix:<X> too. moritz++
00:29
00:30 payload joined 00:33 masak left 00:36 drakej joined 00:51 hanekomu_ left
pugssvn r30211 | lwall++ | [S12] pasto noticed by goeff++ 00:59
colomon what's the test file for testing Test.pm? 01:09
mberends colomon: hopefully you're just asking a rhetorical question ;) 01:11
colomon nope.
mberends there isn't a test test
colomon t/01-sanity/99-test-basic.t actually appears to be.
not very sophisticated tests, however.
mberends indeed
colomon I've just added a new "is" locally, which takes two iterables and compares them member by member. 01:12
trying to figure out how to test what I have done. 01:13
and if it is a good idea...
mberends is() is nice. I've used perldoc Test::More as guidance for that before 01:15
colomon the problem is comparing two Iterables has become a bit tricky, and give lousy feedback. 01:20
It's why all those "GatherIterator" messages show up when tests fail.
mberends it should be sufficient to show the first element that differs, the possibilities vary too much after that 01:24
colomon The version I coded tries to get all the elements in each array to list, but I suppose that doesn't work if one of the lists is infinite. 01:25
mberends soon you'll be implementing diff inside Test.pm ;) 01:27
colomon dear heavens, I hope not. 01:28
01:32 kfo left
colomon dammit, nopaste is down again. 01:38
gist.github.com/345618 01:39
mberends likes it 01:41
colomon no idea if it works, but it does compile. :) 01:42
mberends is the gather really necessary?
01:43 chromatic left
colomon oh, nope! 01:43
cut-n-paste mistake.
mberends the missing take looked suspicious
colomon indeed, I remembered to delete the take. 01:44
mberends the output on huge data sets will be unwieldy though 01:45
colomon sure, but we probably shouldn't be doing tests on huge data sets.
mberends true as well 01:46
colomon it's still a lot more wieldy than what we have now, at any rate. :)
mberends if it compiles, ship it! 01:47
01:48 nacho joined 01:49 payload left 01:50 kfo joined
colomon actually the first two versions on the gist didn't. 01:51
but it does now. :)
(my first version did compile, then I made a couple of "simple" edits that broke it completely and gisted those.) 01:53
mberends the use of try on lines 22-23 looks a bit strange, without CATCH. Did you do that because of empty arrays, or completely undefined arrays? 01:55
01:55 kfo left
mberends (probably because of unknown .perl bugs, I guess) 01:56
snarkyboojum hi guys, are the graphs on rakudo.org/status broken/not updating? 01:57
or is it a manual thing to update them :)
mberends just not updating, pmichaud++ used to do it half manually 01:58
snarkyboojum ah
mberends the scripts are in rakudo/tools 01:59
snarkyboojum mberends: cheers :) just looking there actually
ah - last update to spectest-progress.csv was a month ago too 02:01
colomon mberends: that's just copied from the other versions of is. 02:06
I think it's to prevent minor trouble from becoming a crash, perhaps?
02:07 nacho left 02:08 jaldhar joined, dalek left
mberends colomon: better safe than sorry, when testing an unpredictable subject 02:10
02:11 dalek joined
mberends snarkyboojum: pmichaud++ planned to catch up all of spectest-progress.csv before he had to take so much time off. irclog.perlgeek.de/perl6/2010-02-10#i_1975796 and after irclog.perlgeek.de/perl6/2010-03-12#i_2095373 02:16
sorear jnthn: Why does blizkost only announce on a channel you aren't even on? 02:20
02:27 payload joined
snarkyboojum mberends: okydoke 02:36
02:43 Patterner left 02:48 kfo joined 02:50 Juerd left, dalek left, dukeleto left, pugssvn left, PerlJam left 03:02 Psyche^ joined, Psyche^ is now known as Patterner
snarkyboojum svn.pugscode.org/pugs/t/spec is down? 03:35
looks like pugscode.org is off the net 03:37
colomon I can't see it either.
03:44 meppl left, alester joined
snarkyboojum colomon: who do we prod to resurrect it :) 03:44
colomon I think maybe it's on feather? In which case, maybe Jured? 03:45
snarkyboojum ah, feather has been up and down of late eh
snarkyboojum pokes Jured politely
snarkyboojum realises he's poking thin air atm
I wanted to have a bash at getting the spectest graph up to date :) 03:46
03:49 drakej left 04:00 envi^home joined 04:10 Alias joined, Alias_ left 04:20 mikehh joined 04:47 molaf joined 05:02 molaf left, sanxiyn joined 05:13 gfx joined
snarkyboojum just discovered tools/test_summary.pl - nice :) 05:17
bkeeler Yeah. It's nice for finding low hanging fruit 05:18
make spectest for regression checks. Runs faster for me
snarkyboojum bkeeler: and for generating spectest graphs :) 05:20
05:25 Alias left
diakopter [!!!!!!!!!!!!!!!!!!!!!OT] courses.cs.vt.edu/~cs3604/support/W...veats.html 05:26
snarkyboojum hehe 1. Avoid alliteration. Always.
oic - they're all funny
;) 05:27
diakopter I don't know why pugscode.org dns iz baroque 05:29
I also don't know why she swallowed a fly. I guess she'll die.
05:33 ChanServ sets mode: +o diakopter 05:34 diakopter was kicked by diakopter (AND DON'T LET THE DOOR HIT YOU ON THE WAY OUT)) 05:43 Entonian joined 05:59 sanxiyn left 06:05 chromatic joined 06:11 abra joined 06:27 jaldhar left 06:29 Entonian left 06:30 alester left 06:35 Entonian joined 06:36 zpmorgan joined
zpmorgan perl6: say eval{eval{eval{eval{eval{eval{1}}}}}} 06:37
p6eval elf 30211: OUTPUT«"my" variable $s masks earlier declaration in same scope at (eval 128) line 3.␤"state" variable @_ masks earlier declaration in same scope at (eval 128) line 3.␤"my" variable $s masks earlier declaration in same scope at (eval 128) line 3.␤"state" variable @_ masks earlier
..declarat…
..rakudo db0f85: OUTPUT«Not enough positional parameters passed; got 0 but expected 1␤current instr.: 'eval' pc 278726 (src/gen/core.pir:8488)␤»
..pugs: OUTPUT«*** No compatible multi variant found: "&eval"␤ at /tmp/ZB1kYyNuKN line 1, column 5 - line 2, column 1␤»
sorear What does the rakudo project think of that distutils patch? 06:38
06:39 ShaneC left
bkeeler I didn't look at the patch, but I like the idea 06:42
06:46 Entonian left, Chillance joined 06:55 Guest85367 is now known as Trashlord 06:56 Trashlord left, Trashlord joined 07:07 cotto left 07:20 M_o_C joined
mathw phenny: tell pmurias I don't know what a dan test looks like yet, I'll let you know when I've watched the ones they're doing today! 07:34
phenny mathw: I'll pass that on when pmurias is around.
snarkyboojum pugscode.org is still down 07:35
I guess people must be sleeping :) 07:36
mathw I probably should be 07:37
but I woke up
snarkyboojum :) 07:38
07:39 cotto joined
snarkyboojum phenny: tell Juerd pugscode seems to be having issues again (I guess it's on feather?) - currently down/unavailable 07:40
phenny snarkyboojum: I'll pass that on when Juerd is around.
snarkyboojum I don't suppose the spectest is mirrored anywhere? :) 07:42
07:43 riffraff joined
mathw I don't think so 07:43
people will have local checkouts hanging around at various stages of up-to-date-ness
but I don't think there's a mirror of the svn repo
snarkyboojum deleted his checked out copy earlier today
mathw has one that's probably a week old
snarkyboojum :|
mathw that was the last time I tried to do anything rakudo-y 07:44
snarkyboojum oh well - movie time it is then :) 07:45
afk &
08:10 riffraff left 08:12 zpmorgan left 08:43 Su-Shee joined 08:51 M_o_C left 08:53 vamped joined
vamped o/ 08:54
moritz_ good morning
vamped moritz: hey, I'm still looking at that "lhf" RT63588, but it's not coming forth yet 08:56
moritz_ vamped: is there anything I can help you with? 08:58
09:03 hanekomu_ joined 09:09 M_o_C joined
moritz_ rakudo: my $x = 3; class A { has $.y = $x }; say A.new.y 09:10
p6eval rakudo db0f85: OUTPUT«Lexical '$x' not found␤current instr.: 'perl6;A;_block62' pc 518 (EVAL_1:207)␤»
moritz_ oh
I thought that worked
vamped: then I must apologize, it's not that LHF after all - it doesn't work :(
09:12 chromatic left
vamped well, it's improved but not fixed. 09:15
rakudo: our $x; class Foo {$x = 3}; say $x 09:16
p6eval rakudo db0f85: OUTPUT«3␤»
vamped moritz_: thanks for help
09:31 nadim joined
moritz_ sorear: re distutils patch, that's the second one already. pmichaud commented on the first one, asking if the customizations works that some linux distributions use for packaging rakudo - I've never seen an answer to that question 09:34
sorear I don't follow 09:35
\o/ Parrot can now call CODE refs in p5
it's a pity dalek died with feather 09:36
moritz_ some linux distributions ship rakudo RPMs 09:37
they have patches to customize directory layouts etc.
the question is if it is still possible to write such patches when we use distutils
sorear and this is incompatible with any progress^Wchanges in the build system 09:38
moritz_ no
it is just a question that must be asked
10:03 gfx left 10:32 espadrine joined
moritz_ phenny: tell pmichaud that I started the refactor_mob_generation branch of nqp-rx. It changes the actualy generation of a match object to a call to single constructor - which can easily be re-implemented in HLLs 10:34
phenny moritz_: I'll pass that on when pmichaud is around.
moritz_ phenny: tell pmichaud the plan is to provide nqp-rx with a single typo object on which this constructor is called - though I don't know how that should be done (named param somewhere, dynamic variable, ...) 10:35
phenny moritz_: I'll pass that on when pmichaud is around.
10:50 jaldhar joined 11:15 levengli joined
levengli anyone howm? 11:16
home
vamped levengli: hi 11:18
11:22 xomas is now known as xomas_, xomas_ is now known as xomas 11:24 levengli left 11:34 vamped left 11:40 molaf joined 11:41 payload left, payload joined 11:44 levengli joined 11:45 levengli left 11:52 levengli joined
levengli did the perl6.org site fall? 11:52
hejki downforeveryoneorjustme.com/perl6.org 11:54
it's just not you
levengli sweet
never new of this site
knew 11:55
whre can i find the perl6 technical spec
i am thinking of a project that requires it 11:56
also, i saw STD.pm - it appears to be Pelr6 syntax. is it readable by a parser?
colomon all the sites I know of which host the perl6 spec are also down at the moment. :( 11:58
STD.pm is Perl6. 11:59
There is some sort of funky script out there which translates it to Perl 5 code so it can be used to parse things now. 12:00
So far as I know, there is no proper Perl 6 implementation capable of parsing it yet.
m6locks lol at perl6 spec being down 12:01
colomon Well, it's stored in the same SVN repo as t/spec -- if one is down, the other one is too. 12:02
and the convenient on-line version I usually use appears to run off those same computers as well, or at least is also down at the moment. 12:03
levengli arghhhh 12:07
for compilers (be it as they may) there is rakudo and pugs which i undestand is dead 12:08
is there anything else or is rakudo the only living compiler?
12:10 xomas is now known as xomas_, xomas_ is now known as xomas
arnsholt levengli: There are several other compilers, but Rakudo is the most complete one 12:15
12:17 levengli left 12:20 payload left
moritz_ there are also elf, mildew, perlito 12:23
12:26 M_o_C left 12:29 clintongormley joined 12:34 synth joined 12:36 M_o_C joined 12:38 levengli joined 12:39 abra left 12:42 rindolf joined 12:43 jaldhar left
rindolf Hi all. perl6.org/ (and svn.pugscode.org) are down. 12:43
12:43 espadrine left 12:46 meppl joined
jnthn o/ all 12:46
rindolf: Hmm. Looks like feather is down overall. 12:47
m6locks i'll put up a temporary mirror of spec, although it might be some 1,5 months old
rindolf jnthn: I see. 12:48
12:51 espadrine joined 12:54 jaldhar joined, jaldhar left, jaldhar joined 13:00 molaf left 13:14 alester joined, molaf joined 13:17 molaf left 13:19 molaf joined 13:20 molaf left 13:25 lisppaste3 joined 13:28 alester left 13:30 M_o_C left 13:46 Trashlord left 13:48 wknight8111 joined
jnthn sorear++ # just looked over latest blizkost patches, looks nice. :-) 13:52
13:57 colomon left 13:58 rindolf left 13:59 dalek joined 14:01 colomon joined 14:02 dalek left 14:05 levengli left 14:13 nihiliad joined 14:20 snarkyboojum left 14:21 niros left 14:27 niros joined 14:28 alester joined 14:37 rindolf joined
rindolf Hi all. 14:37
14:39 dalek joined, Juerd joined
Juerd The dom0 kernel is not good. Definitily rotten. 14:41
phenny Juerd: 07:40Z <snarkyboojum> tell Juerd pugscode seems to be having issues again (I guess it's on feather?) - currently down/unavailable
Juerd If anyone has a good dom0 kernel, please let me know. Must be 2.6.31 or later. 14:42
We're currently using 2.6.32-4 from Debian
Oh, and 32bit.
14:47 justatheory joined 14:55 snarkyboojum joined 14:59 levengli joined
levengli say "hello world" 15:00
"hello world".say
rindolf p6eval: "Hello".say
levengli p6eval "hello".say 15:01
no?
jnthn rakudo: say "alive"
p6eval rakudo db0f85: OUTPUT«alive␤»
jnthn perl6: say "hello from all compilers"
levengli say "helo"
p6eval elf 30211, pugs, rakudo db0f85: OUTPUT«hello from all compilers␤»
15:02 sundar joined 15:04 payload joined
levengli how do i get perl6 for ubuntu 15:05
jnthn levengli: For Rakudo, I don't think there's any packages for that, but a source build should hopefully be reasonably easy. There's more info on rakudo.org/how-to-get-rakudo 15:08
levengli so far, so good 15:16
i love "2/10 skipped: various reasons" in make test 15:31
other than that, i'm good to go
jnthn Cool. Have fun, report bugs. :-) 15:34
levengli will do 15:35
i am now rebuildig it though, with parrot that synaptic downloaded
at which stage in the process to i tell it to install to /usr/bin as opposed to the download directory?
moritz_ levengli: perl Configure --parrot-config=/usr/bin/parrot_config 15:36
levengli: it will install to the same location
levengli: but if you want to profit from newest rakudo, I highly recommend to check out parrot by svn to get the latest 15:37
levengli perl Configure.pl --parrot-config=/usr/bin/parrot
moritz_ parrot_config, not parrot
levengli and if i want to put that in /usr/bin
moritz_ you might need the parrot-dev package for that
levengli perl Configure.pl --parrot-config=/usr/bin/parrot_config --gen-parrot?
will that work?
also, why parrot-config and not parrot? 15:38
i mean parrot_config 15:39
moritz_ either --parrot-config= or --gen-parrot
the former tells rakudo to use an existing parrot
the latter to donwload and install (locally) one
levengli got it
can i tell it to download one and install it in /usr/bin?
moritz_ parrot_config because it gives rakudo relevant path
s 15:40
like paths of dynamic libraries etc.
levengli: that's possible with some tricks, but it's a bad idea - /usr/bin should be reserved for things installed by the package manager
levengli ok
so suppose i want /usr/local/bin 15:41
can i use --parrot_config=/usr/local/bin --gen-parrot? or ar the two options mutually exclusive?
moritz_ they are exclusive
levengli and you suggest gen-parrot 15:42
i'll take your work
word
i assume that this means that perl6 will also be somewhere non-standard
moritz_ aye
it will install inside your rakudo dir in parrot_install/bin/perl6 15:43
levengli you're killing me ;)
moritz_ I usually just symlink that to my ~/bin/ dir
levengli i'm used to csh and am using bash
moritz_ ah, I just see that rakudo's congifure has the --gen-parrot-prefix option
so you could also say perl Configure --gen-parrot-prefix=/usr/local/ --gen-parrot 15:44
15:44 ash_ joined 15:45 Trashlord joined, Trashlord is now known as Guest27355
levengli we'll fund out how it works in a few minutes 15:45
thanks, man
moritz_ you're welcome 15:46
levengli after i install, do i need anything from the intially downloaded files or are they good to go
ash_ is there any multi-dispatch that works with sub's for calling something with the same name?
moritz_ ash_: you mean like $obj.*method, just for subs?
ash_ kinda how in a class you can do nextsame, i don't think nextsame works in a sub
moritz_ ash_: I think it should
jnthn afaik, it doesn't...I don't recall seeing anything spec'd on that. 15:47
TimToady nextsame should work with any dispatcher/wrapper
jnthn It maybe could be made to.
moritz_ levengli: of course you should keep the sources around, and update them from time to time, so you profit from newly implemented features
ash_ yeah, so if you had multi foo(Int); multi foo(Str); and one wanted to call the other, like nextwith()
jnthn Ugh.
ash_ oh, so that does work?
or should?
jnthn Well, it's not a 5 minute implementation job.
It's...tricky. 15:48
ash_ thats fine if it doesn't, i was just wondering
jnthn Could be made to. I hadn't until a minute ago expected it would need to.
TimToady imagine that all dispatchers have a loop labelled CANDIDATE, and 'nextsame' basically means "next CANDIDATE"
or next VICTIM :) 15:49
levengli are there any modules on CPAN for perl6? is there a way to specify perl6 modules only in the search?
jnthn No, next VICTIM is for moving through a list of Perl 6 implementors. :-P
moritz_ :-)
TimToady well, there is that...
ash_ levengli: not currently, there is proto though, its CPAN like for perl 6, eventually CPAN is going to be integrated, but for now they are two separate things 15:50
levengli where is it to be found/
?
moritz_ levengli: github.com/masak/proto/ has a projects.list with all known Perl 6 modules 15:51
levengli great
thanks
ash_ levengli: github.com/masak/proto but i think it has issues with the current master, there was a recent refactor of some internal code so some things that used to work are IMA
moritz_ types faster than me :P
do you still need alpha for proto? or can it be used with master rakudo yet?
moritz_ no idea 15:52
jnthn ash_: mberends++ probably knows best :-)
ash_: I think there's some refactors going on along with fixing it up for master, though.
moritz_ audreyt++ has moved the pugs sources to github.com/audreyt/Pugs.hs 15:53
so I'm going to remove the outdate traces of pugs in the pugs repo
(and other stuff that is hopelessly out of date)
ash_ neat, i'll have to follow that, is it going to be actively developed still? or is it just moving it somewhere separate?
moritz_ if you object, please raise your hand clearly visible within the next 10 minutes 15:54
ash_: it's not really developed anymore afaict, but audrey does make it compile with newest GHC versions
ash_ got ya, thats still good
TimToady I wonder if we should rename the repo... 15:55
moritz_ TimToady: yes, but that's another step
TimToady call it 'pugsly' or some such :)
ash_ lol, its kinda funny that pugs will soon not have pugs in it
moritz_ you can all think of a new, good name
something short for "everything Perl 6"
TimToady or 'wednesday'
or 'fester' 15:56
levengli ugghs
or p-ugghs
moritz_ allp6
ash_ its a kinda a chrysalis 15:57
since you know, camelia is a butterfly
16:03 hanekomu_ left
moritz_ period for possible objections has expired 16:07
and we have no svn bot :(
TimToady so you can do it in SEKRIT!!! 16:08
I could, like, put in some radical spec changes...
moritz_ TimToady: they are still sent to the list :-) 16:09
jnthn Phew!
Well...
TimToady darn...
jnthn ...it's *possible* that said radical spec changes could make my life easier. ;-)
moritz_ but unlikely :-)
TimToady I could replace all the specs with "Whatever jnthn++ does." :) 16:10
ash_ lol
pugssvn r30212 | lwall++ | [STD] improve message on :foo<>
r30213 | moritz++ | write a pugs repository README
r30214 | moritz++ | Write a pugs repository README
16:10 pugssvn joined
pugssvn r30215 | moritz++ | first shot at removing pugs 16:10
r30215 |
TimToady ooh
pugssvn r30215 | Since pugs is now being developed outside the pugs repository (to the extend
r30215 | that is still developed at all), leaving it in here only leads to confusion,
ash_ thats a very loosely defined spec, now offense jnthn
pugssvn r30215 | and to unnecessary large svn checkouts. A pointer to the new location of the
TimToady no more sekrits
pugssvn r30215 | pugs sources can be found in the README.
r30216 | moritz++ | move project_planning/ to docs/
r30217 | moritz++ | [misc] remove Blondie, which has not been touched in 3.5 years and contains no description of WTF it actually is
r30218 | moritz++ | [misc] remove Grammars/. It contained a very auld, outdated grammar engine and a grammar for Perl 6 grammars, which can now be found in STD.pm
ash_ it might be hard for other implementers to do "whatever jnthn++ does" 16:11
pugssvn r30219 | moritz++ | [misc] remove outdated Perl-MetaModel/ directory
r30220 | moritz++ | [misc] remove abandoned pugspc/ directory
r30221 | moritz++ | [misc] remove abandoned Pyrl6/ directory
r30222 | moritz++ | [misc] remove abandoned rakudo/ directory
Juerd Who runs pugssvn? 16:12
moritz_
pugssvn r30223 | moritz++ | [misc/] remove more files, most of which have not been touched since 2006
Juerd moritz_: Do you know about crontab @reboot?
Given the experience of the past week, I expect more feather crashes.
moritz_ Juerd: I should write one, yes...
Juerd I've set the dom0 to reboot automatically 30 seconds after kernel panics
So at least I can reboot feather1..3 remotely 16:13
moritz_ Juerd: do you happen to know if I can start screen from within cron?
Juerd Yes, you can
moritz_ cool
Juerd moritz_: screen -d -m -S $somename $command
moritz_ these commits reduced the size of a pugs svn checkout from 310M to 272M 16:14
Juerd Still very large
moritz_ aye
Juerd Have you used ncdu on it yet?
moritz_ much of it is compiled bootstrapping files in kp6
jnthn TimToady: Heh, if you did that I'd feel pressured to make good choices. ;-) 16:15
moritz_ in my git mirror, v6/v6-KindaPerl6/compiled is 37.5MB
jnthn And beer sales would rise globally... 16:16
moritz_: Did kp6 become Perlito, or was that something else? 16:17
jnthn struggles to keep track of all the <prefix>p6 :-)
moritz_ jnthn: I think mp6 became perlito
jnthn Ah, ok 16:18
moritz_ @reboot crontab installed, Juerd++ 16:20
Juerd And if anyone has any ideas on how to make feather0 stable... please do contact me 16:23
The kernel panics.
The message says something about the ahci (sata) controller and xen and lvm, i.e. it's not very specific.
Also we can't just downgrade to the version we had running before because the new udev requires a new kernel. 16:24
levengli how does one go about *reading* STD.pm?
16:25 Psyche^ joined
moritz_ levengli: I don't know, I never actually managed to read it through :-) 16:25
levengli: but in principle reading S05 and S02 helps
Juerd levengli: I suggest you open it in at least 4 different windows, that you tile. 16:26
That way you can jump through the document and still keep one main window that you use in a more linear fashion 16:27
levengli i started going through it. it is ambiguous
Juerd An ambiguous grammar?
jnthn
.oO( There's more than one way to parse it... )
moritz_ things it's ambitious
16:28 Patterner left, Psyche^ is now known as Patterner
levengli Error reporting leaves what to be desired 16:29
my Int $str = "Hello World";
$str.say();
Type check failed for assignment
current instr.: '&die' pc 17189 (src/builtins/Junction.pir:399)
called from Sub '&infix:<=>' pc 16885 (src/builtins/Junction.pir:228)
called from Sub '_block14' pc 29 (EVAL_1:0)
called from Sub '!UNIT_START' pc 1299 (src/glue/run.pir:24)
called from Sub 'perl6;PCT;HLLCompiler;eval' pc -1 ((unknown file):-1)
called from Sub 'perl6;PCT;HLLCompiler;evalfiles' pc 1318 (compilers/pct/src/PCT/HLLCompiler.pir:714)
called from Sub 'perl6;PCT;HLLCompiler;command_line' pc 1504 (compilers/pct/src/PCT/HLLCompiler.pir:801)
called from Sub 'perl6;Perl6;Compiler;main' pc -1 ((unknown file):-1)
leaves me wondering "what happened to Type check failed for assignment in hello.pl on line 6" 16:30
i wanted to see an error message, and now i have ;)
jnthn levengli: Yes, we still need to get showing the source line number in the errors. One of the Many Many Tasks. 16:31
levengli i am fairly fluent in perl5, wanting to get into the perl6 mess
what can i do?
jnthn Depends what your interests and skills are. :-) There's lots of different things to hack on. 16:33
levengli i speak perl5.8 and C
i'll be happy to hack on anything that doesn't have to be checked in *tomorrow*; since i don't have a lot of time 16:34
jnthn If you're familiar with Perl 5, then a good way to get into Perl 6 is perlgeek.de/blog-en/perl-5-to-6/00-intro.html 16:35
There are *some* C and Perl 5 bits in Rakudo, but we're writing a lot of the built-ins in Perl 6, and lot of other bits in NQP (a small subset of Perl 6). 16:36
levengli so... in order to help i have to know perl6 16:37
correct/
?
moritz_ (the same articles can be found on perlgeek.de/en/article/5-to-6 but with correct ordering)
levengli: yes
jnthn For some sense of "know" :-)
You don't have to have an really in-depth knowledge of every single area, or understand every line of STD, or anything like that, though. :-) 16:38
16:42 Su-Shee left 16:52 levengli left, Guest27355 is now known as Trashlord, Trashlord left, Trashlord joined
moritz_ does slice context still exist? 16:58
jnthn yes, afaik.
moritz_ thanks 16:59
17:06 payload left
ash_ did masak ever come to any conclusions about class variables? 17:07
17:09 lisppaste3 left, lisppaste3 joined
moritz_ yes; that we need to improve the specs 17:09
arnsholt How do I compile Parrot with -g again? 17:10
I keep forgetting between each time I do it
Er, wrong channel 17:11
moritz_ Compile Options
"--debugging=0"
Debugging is turned on by default. Use this to disable it.
arnsholt --debugging=0 turns it on? Didn't seem to work when I tried
arnsholt tries again
moritz_ this is from perldoc ./Configure.pl btw 17:12
arnsholt There. --cflags=-g =) 17:17
17:18 Su-Shee joined
ash_ so... has masak come up with any solutions? or just the conclusion its broke? just wondering, i guess i could search the logs... 17:19
17:21 meppl left
mberends moritz_: when I merged Rakudo new master branch into split-gen-setting-2 and pushed an update, the remote branch became non fast forwarding. I think I should revert the merge and start again, or do you know any quick fixes? 17:26
17:28 meppl joined 17:29 pmurias joined
pmurias moritz_: why is the pugs repo still so big? 17:30
phenny pmurias: 07:34Z <mathw> tell pmurias I don't know what a dan test looks like yet, I'll let you know when I've watched the ones they're doing today!
17:31 meppl left
mberends pmurias: in the martial arts, you do not do a 'make test', you do a 'break test' ;) 17:31
lisppaste3 am0c pasted "why does it error? target=pir" at paste.lisp.org/display/96958
mathw pmurias: I now know what a dan test looks like 17:32
mberends mathw: did your sensei succeed? 17:33
mathw heh there was no breakage
the first guy who tested made a handful of mistakes 17:34
the two from my dojo did awesomely well :)
jnthn am0c: The code produced by --target=pir at the moment is missing some bits. 17:36
am0c: Works for libraries but not for scripts. 17:37
17:39 meppl joined
am0c jnthn: I see but which is missing this feature at this moment? parrot or rakudo? or is this by design? 17:41
pmurias mathw: so how does a dan test look like? 17:42
mathw pure awesome :) 17:43
mberends am0c: target=pir cannot be used in conjunction with -e, it's an omission in Rakudo, will probably be added a bit later on. Currently your most usable option is to save your code in a .pm file, compile that to .pir, and use yoour module from a script. 17:44
17:45 molaf joined 17:46 snearch joined
jnthn am0c: What mberends said, and it's something we need to improve in Rakudo. 17:48
am0c ah, I see! 17:50
17:51 justatheory left, molaf left
bkeeler Morning! o/ 17:53
mberends \o bkeeler 17:54
17:56 justatheory joined
bkeeler > my $foo = "b+"; my $bar = rx/c+/; say "ab+ccccddddddeeeeef" ~~ / a $foo $bar <{ "d+" }> <{ rx/ e+ / }> { "doesntinterpolate" } f/ 17:56
ab+ccccddddddeeeeef
Just about there
arnsholt bkeeler: Cool! 18:00
ash_ more regex stuff, nice, bkeeler++ 18:02
18:04 payload joined
pmurias moritz_++ # cleaning up the pugs repo 18:06
moritz_: you should talk/write to fglock about the KindaPerl6 compiled stuff
18:07 rindolf left 18:13 justatheory left 18:14 frzntoz joined 18:16 frzntoz left 18:29 M_o_C joined
jnthn bkeeler: Nice! :-) 18:31
18:36 ash_ left 18:37 meppl left 18:43 meppl joined 18:52 envi^home left 19:32 molaf joined 19:34 arthur-_ joined, alester left 19:35 alester joined 19:46 alester left 19:53 meppl left 20:02 masak joined
masak oh hai, #perl6! 20:02
mberends oh hai, masak!
bkeeler hey there masak 20:04
masak have you changed anything since yesterday? should I backlog? :P 20:05
sorear We've rebooted feather
Several times
masak :/
sorear You are now encouraged to assume feather will reboot at any time. Learn to use @reboot crontab jobs 20:06
masak :/
sorear dom0 kernel upgrade went horribly wrong 20:07
20:09 iblechbot joined
jnthn back 20:13
20:13 pmurias left
jnthn I've just found my new favorite place to eat in Lund. :-) 20:13
masak what is it?
jnthn masak: A Thai place.
masak ooh! 20:14
bkeeler Mmmmm....
.oO( a nice bowl of tom ka gai sounds good )
jnthn Had some lovely noodles with beef. 20:15
They have a couple of Thai beers to go with it, and some nice teas to choose from afterwards too. 20:16
masak [backlogging] "remove Blondie, which has not been touched in 3.5 years and contains no description of WTF it actually is" -- all I know it was a fairly sexist pun. :(
something like "a really dumb compiler" or whatever.
jnthn wtf. 20:17
Glad it's gone.
bkeeler A Debbie Harry emulator?
Juerd masak: The new dom0 kernel is buggy and panics at random.
masak bkeeler: I don't feel inclined to feed that meme any more than just mentioning it. :) 20:18
Juerd masak: The last reboot was after a >2 day uptime.
masak Juerd: sorry to hear that.
araujo likes the hot mixed fruit thai tea 20:19
by the way (bit off-topic) , anyone has a nice recommendation for a laptop to be used for heavy development? (gcc compilation of big packages mainly) 20:20
masak I think the time is ripe to buy a quantum laptop. it still only puts 12 or so qubits in an entangled state, and they're still a bit heavy, but boy are they powerful! 20:22
and that quadratic speedup is not to be neglected.
jnthn On a more conventional note, I've been happy with Thinkpads so far. 20:25
But they're pricey.
masak I was really happy with my Thinkpad 720. I hope I stumble upon one of those again sometime. 20:26
20:26 M_o_C left 20:27 colomon left 20:28 nadim left 20:30 aesop joined 20:32 meppl joined 20:36 Trashlord left
masak fwiw, audreyt++ has made Pugs available through github: github.com/audreyt/Pugs.hs 20:37
20:38 Trashlord joined, justatheory joined
sorear masak: yes, and we've deleted pugs from pugssvn 20:38
20:38 Trashlord is now known as Guest33359
masak yeah, I saw that in the backlog. 20:39
araujo jnthn, i have seen some thinkpads around ... some of these new X-series Thinkpads
not bad, and it seem good price 20:40
20:43 meppl left, am0c left 20:44 justatheory left
Su-Shee is happy thinkpad Txx since.. for at least 8 years now. 20:46
20:46 nihiliad left 20:47 meppl joined 20:48 Maddingue joined 20:50 colomon joined, snarkyboojum left 20:52 wknight8111 left 20:53 pmurias joined
masak jnthn: new fun pastime: searching for your own name on Google Image Search. apparently, you look like a soccer player. :) 20:57
masak looks like this: planet.perl.org/planetperl.png :) 20:58
it gets pmichaud right...
...but moritz_ looks like this: www.pmichaud.com/perl6/rakudo-tests...-09-10.png
:P
jnthn masak: There is a soccer player in England with the exact same name as me. 20:59
Well, not middle name, but...
masak jnthn: to your credit, you're on forth place or so after three images of him. good work!
s/forth/fourth/
jnthn The images are stacked up, eh? 21:00
;-)
masak: I actually manage to come above him on non-image search though.
masak also, Google knows what mberends looks like. :)
jnthn Which is kinda cool.
Second hit for you is of a camel.
;-)
masak it's first here on my local Google server :) 21:01
jnthn Curious
The results are different if I ä vs a.
masak oh. 21:02
yes, indeed.
21:02 nihiliad joined
bkeeler Apparently I'm either a goateed dude in Pheonix, AR, a ripped hunk getting out of a pool, a dirt biker in mid-air, or Einstein 21:02
masak that short-haired girl keeps showing up in my image search, too!
jnthn is more used to seeing a long-haired girl when using image search 21:04
Er, I mean... :)
masak :P
jnthn Seems losing an election hasn't made those image search results any worse. Phew. :-) 21:05
masak jnthn: as opposed to Taiwanese politicians. you can really see on their faces when they lose an election. 21:06
jnthn Maybe they accept defeat rather than paying a visit to the supreme court...
.oO( Did anyone guess the country yet... :-) )
21:07
21:07 phenny joined
jnthn yayitsphenny! 21:07
phenny: tell me where you've been
phenny Hey, I'm not as stupid as Monty you know!
jnthn Ooh. 21:08
masak phenny: tell phenny that you're not as stupid as Monty, you know!
phenny Hey, I'm not as stupid as Monty you know!
masak phenny: who's Monty? 21:11
phenny: tell
phenny: tell monty 21:12
jnthn phenny: tell monty you're less stupid than him
phenny jnthn: I'll pass that on when monty is around.
21:12 masak is now known as monty`
monty` phenny: ping 21:12
jnthn
.oO( in a year, somebody who comes along with the nick monty will be very confused by this )
21:12 monty` is now known as masak
masak seems monty is taken :) 21:13
21:15 phenny left, phenny joined 21:16 phenny left, sunnavy joined, phenny joined 21:22 mssm joined 21:25 mssm left 21:26 payload left 21:30 hanekomu_ joined 21:41 molaf_ joined 21:44 hercynium left, molaf left
masak I'm about to submit these two abstracts to NPW: gist.github.com/346367 21:47
comments welcome. :)
jnthn I'm terrified of that blowfish. 21:48
masak: Look great! 21:49
masak thanks. 21:50
sjohnson heh
21:51 molaf_ left
moritz_ mberends: re branch, no idea, do whatever you think best 21:52
spinclad 'Traget audience': somehow i'm disinclined to think that a typo :) 21:54
masak oops. thanks. 21:55
will fix.
spinclad phears the collapsible neutron star more than a silly old blowfish cypher, however complex. 21:56
what, that wasn't some sekret word prevent mayhem in austria?
*preventing
masak I'm thinking of adding one.
spinclad
.oO( call for new tactics: army in Bratislava has moved to Sweden )
21:57
masak Austria reference added. :) 21:58
moritz_ good afternoon lambdabutterflies 22:01
I just sent an email to fglock++, inquiring about the up-to-dateness of the mp6 and kp6 trees in pugs
masak nice. 22:16
22:36 pmurias left 22:44 molaf joined 22:49 Chillance left
masak 'night, #perl6. 22:55
22:56 masak left
bkeeler night masak 22:56
23:17 iblechbot left, nadim joined 23:25 lollan joined
arnsholt nqp-rx: grammar T { token us { <[_]> }; token TOP { <+alnum +us>+ } }; say(T.parse("foo_bar")); 23:33
jnthn just nqp 23:35
(it runs nqp-rx, but the prefix for it is just nqp)
arnsholt nqp: grammar T { token us { <[_]> }; token TOP { <+alnum +us>+ } }; say(T.parse("foo_bar"));
p6eval nqp: OUTPUT«foo_bar␤»
arnsholt Thanks
Hooray! It worked =)
23:36 xomas is now known as xomas_, xomas_ is now known as xomas, Guest33359 left
jnthn
.oO( alnumus, those that didn't have the spelling ability to graduate )
23:36
23:36 meppl left 23:37 Guest33359 joined, M_o_C joined 23:38 justatheory joined
arnsholt nqp: grammar T { proto token foo { <...> }; token foo:a { a }; token foo:b { b }; token TOP { <foo:a> } }; say(T.parse("aaa")); 23:39
p6eval nqp: OUTPUT«regex assertion not terminated by angle bracket at line 1, near ":a> } }; s"␤current instr.: 'parrot;HLL;Grammar;panic' pc 500 (src/cheats/hll-grammar.pir:197)␤»
23:39 snearch left
arnsholt Oh well, so much for that 23:39
jnthn foo:sym<a> 23:40
But no, you'd want to juse use <foo> and it'd pick the right one.
arnsholt Well, I want to match agains only the :sym<a> part of the proto, not the b 23:41
=)
nqp: grammar T { proto token foo { <...> }; token foo:sym<a> { a }; token foo:sym<b> { b }; token TOP { <foo:sym<a>> } }; say(T.parse("aaa")); 23:42
p6eval nqp: OUTPUT«regex assertion not terminated by angle bracket at line 1, near ":sym<a>> }"␤current instr.: 'parrot;HLL;Grammar;panic' pc 500 (src/cheats/hll-grammar.pir:197)␤»
jnthn Probably best to factor it out to a rule of its own, call that and then also call it from the proto.
arnsholt Yeah, probably. But I had to try =)
jnthn :-)
dalek ok: 71bee89 | jonathan++ | src/subs-n-sigs.pod:
Add some initial bits of writing for chapter 3, plus general structure for filling out later.
23:45
arnsholt nqp: grammar T { token alnum { <+alnum +us> }; token us { <[_]> }; token TOP { <alnum>+ } }; say(T.parse("foo_bar")); # Kaboom? 23:46
p6eval nqp: OUTPUT«maximum recursion depth exceeded␤current instr.: 'parrot;P6object;HOW' pc 54 (runtime/parrot/library/P6object.pir:98)␤»
arnsholt Kaboom.
jnthn Yes, expectedly. :-) 23:47
arnsholt Yeah, not really a surprise. But it'd be a cheap way to extend the built-in and keep the name =)
jnthn SUPER::alnum may be a way to do it...but nyi. 23:52
23:54 meppl joined