Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2010-03-27

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

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

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo