Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2006-02-16

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:08 putter has there been any discussion on p6l about general structure matching (eg, $a = [1,2,3];  $a ~~ foo/$head:$tail/)  beyond just <,>.  say that example was some nested hashes.
00:09 GabrielVieira joined perl6
00:18 svnbot6 r9027 | Darren_Duncan++ |  r2488@darren-duncans-power-mac-g4:  darrenduncan | 2006-02-15 16:15:19 -0800
00:18 svnbot6 r9027 | Darren_Duncan++ |  merged /ext/Rosetta-Engine-Native into /ext/Rosetta, renamed ::Native to ::Example
00:18 Khisanth hmm
00:29 justatheory joined perl6
00:32 drbean joined perl6
00:52 xinming joined perl6
01:01 Juerd "you need to install two or an even number of memory modules to use this feature"
01:07 lao_ joined perl6
01:14 avar joined perl6
01:15 stevan_ joined perl6
01:54 rafl Juerd: What feature?
02:12 lao_ is now known as lao
02:28 xern joined perl6
02:29 Amnesiac joined perl6
02:31 perlbot joined perl6
02:31 perlbot joined perl6
02:34 grayson joined perl6
02:39 perlchina joined perl6
02:39 robkinyon joined perl6
02:56 putter joined perl6
03:01 perlchina left perl6
03:04 kanru joined perl6
03:46 szbalint joined perl6
04:37 Cryptic_K joined perl6
04:55 szbalint_ joined perl6
05:00 Kattana rafl: sounds like dual channel
05:01 putter left perl6
05:43 sili_ joined perl6
05:46 beppu joined perl6
06:15 szbalint_ is now known as szbalint
06:25 putter joined perl6
06:33 putter stevan: this thread http://www.perlmonks.org/?node=227847 suggests runtime @ISA modification currently works just fine (and has for years?!?).  with local() even :)   So no need for C:MOP's aspersions on such eminently reasonable activities.  ;)
06:34 scook0 joined perl6
07:00 drbean left perl6
07:02 perlbot joined perl6
07:09 kisu joined perl6
07:14 f joined perl6
07:15 drrho joined perl6
07:39 ingy seen audreyt
07:45 iblechbot joined perl6
07:53 GeJ ingy: ~10hrs ago
07:54 GeJ [22:27] <audreyt> g'nite *wave*
07:55 GeJ is there a RT/bugzill/whatever for p5? I bumped into something, and I'd like to check if it's been already reported and/or fixed
07:59 xinming joined perl6
08:13 integral rt.perl.org, GeJ.   perlbug(1) is an automated bug submission tool.
08:16 GeJ integral: thank you very much
08:16 GeJ now I have to find somebody with a 5.8.8 setup
08:18 dduncan I can't help you yet ... still 5.8.7
08:20 GeJ no problem, thanks anyway :)
08:20 azuroth spam of the week: "UPSET BCOZ OF UR SHORT DlCK? LONGER 2" WITH THIS antacid"
08:35 azuroth joined perl6
08:35 dduncan yeah, like those two kinds of things have any relation
08:40 grayson joined perl6
08:45 elmex joined perl6
09:55 avar joined perl6
10:23 drbean joined perl6
10:25 stennie joined perl6
10:40 drbean left perl6
10:48 G2 joined perl6
10:52 G2 left perl6
11:18 gaal_ joined perl6
11:56 rafl joined perl6
12:04 avarab joined perl6
12:16 svnbot6 r9028 | audreyt++ | * DrIFT.YAML: Show full Haskell type for unimplemented asYAML instances.
12:16 svnbot6 r9028 | audreyt++ | * VHash is now emitted correctly as a Haskell Map.
12:20 xinming audreyt++
12:28 iblechbot joined perl6
12:29 xern joined perl6
12:31 wilx joined perl6
12:33 xinming audreyt: hmm, How much slower pugs is compared with perl 5?
12:33 xinming still 100 times?
12:34 audreyt xinming: not sure... havn't benchmarked lately
12:34 xinming audreyt: How to benchmark it? using times?
12:35 audreyt xinming: yeah, or maybe mandel.p6, etc
12:35 audreyt ingy:
12:35 audreyt $ perl -MYAML -MYAML::Syck -e 'YAML::Load(YAML::Syck::Dump("\n\t"))'
12:35 audreyt YAML Error: Inconsistent indentation level
12:35 audreyt ingy: seems to be a YAML.pm bug
12:38 drbean joined perl6
12:40 audreyt gaal_:
12:40 audreyt    p <- Str.readFile "p.yml"
12:40 audreyt    Right (Just yml) <- parseYamlFS p
12:40 audreyt    Right str <- emitYamlFS yml
12:40 audreyt    hPut stdout str
12:40 xinming real    4m30.325s
12:40 xinming user    3m31.869s
12:40 xinming sys     0m0.720s
12:41 xinming for pugs. :-)
12:41 xinming real    0m0.514s
12:41 xinming user    0m0.044s
12:41 xinming sys     0m0.004s
12:41 xinming That's for perl 5.
12:42 xinming bbl, test it on my laptop
12:51 gaal_ is now known as gaal
13:01 svnbot6 r9029 | audreyt++ | * Data.Yaml.Syck: taguri roundtripping now works correctly.
13:05 xern joined perl6
13:13 svnbot6 r9030 | audreyt++ | * more YAML-emitting tweaks:
13:13 svnbot6 r9030 | audreyt++ |     - the problemous literal-indenting style is inhibited.
13:13 svnbot6 r9030 | audreyt++ |     - maps are now always dumped using sorted keys.
13:13 svnbot6 r9030 | audreyt++ |     - loading of undefs is restored.
13:15 kolibrie joined perl6
13:17 wilx joined perl6
13:18 avarab joined perl6
13:33 rantanplan_ joined perl6
13:35 svnbot6 r9031 | gaal++ | * Data.Yaml.Syck - use unsafePackAddress to hoist string literals to top-level
13:35 svnbot6 r9031 | gaal++ |   ("what do you mean, _Haskell has globals_!")
13:36 pjmm joined perl6
13:38 svnbot6 r9032 | audreyt++ | * Loading/Dumping the Prelude.pm precompilation yaml stream
13:38 svnbot6 r9032 | audreyt++ |   is now roundtripping safely in the YamlNode level.
13:42 moloko joined perl6
13:47 svnbot6 r9033 | gaal++ | Data.Yaml.Syck: NOINLINE the literals from r9031 to make them really global
13:51 moloko joined perl6
13:53 lypanov win 4
13:53 lypanov oops
13:53 svnbot6 r9034 | audreyt++ | * faster emission using concat instead of append.
13:54 Limbic_Region joined perl6
13:57 szbalint heh, good ol' irssi :)
14:02 grayson joined perl6
14:06 robkinyon joined perl6
14:08 Juerd rafl: dual channel memory
14:08 Juerd rafl: The weird bit was "two or an even number". Two *is* an even number.
14:12 Limbic_Region Juerd - I would argue that 2 is an odd number
14:12 Limbic_Region it is the only even prime
14:12 Limbic_Region that's pretty odd
14:13 Juerd Some people say it's not a prime.
14:14 Limbic_Region really?  So do those same people not agree on the definition of what is prime (a number that is divisible evenly only by 1 and itself)?
14:18 kokogocn joined perl6
14:22 kokogocn left perl6
14:23 audreyt gaal:
14:23 audreyt make moose.hs ; make src/Data/Yaml/Syck.hs ; ghc -O2 -optc-O3 --make -isrc/cbits -Isrc/cbits -isrc moose.hs dist/build/src/syck/*.o src/cbits/*o ; ./a.out
14:26 stevan putter: Class::MOP places no restrictions on changing ISA, only Class::C3 does that
14:26 stevan heya audreyt :)
14:31 rafl Juerd: That doesn't make the statement wrong.
14:32 audreyt hey stevan
14:32 stevan how is .il treating you?
14:33 audreyt very happily
14:33 audreyt the food here is delicious
14:33 stevan mmmm falafels, gaal has raved about them
14:33 audreyt but most of the time are spent 1)adjusting jet lagged brain and 2)hackingwith gaal
14:34 stevan cool
14:34 stevan audreyt: I split out the C3 algortihm BTW (http://search.cpan.org/~stevan/Algorithm-C3)
14:34 stevan I got tired of copy pasting it all the time :)
14:35 audreyt ok :)
14:36 stevan audreyt: have you seen the .NET CodeDom stuff?
14:42 meppl joined perl6
14:45 avar joined perl6
14:53 chris2 joined perl6
14:54 vel joined perl6
14:59 hexmode joined perl6
14:59 fglock joined perl6
15:00 audreyt stevan: ASTs? yeah
15:00 audreyt havn't seen them in action
15:01 audreyt they are the counterpart of our Exp structure
15:01 stevan http://www.ondotnet.com/pub/a/dotn​et/2003/02/03/codedom.html?page=1
15:01 stevan a little tedious, but interesting none the less
15:12 audreyt they are in any case better than the Syn nodes :)
15:17 drbean left perl6
15:24 rob4 joined perl6
15:24 svnbot6 r9035 | gaal++ | * DrIFT.YAML: remove a spurious read of something
15:24 svnbot6 r9035 | gaal++ |   that's already a String
15:24 svnbot6 r9035 | gaal++ | * Data.Yaml.Syck -
15:24 svnbot6 r9035 | gaal++ |   - literals that are used as string parts should not have their
15:24 svnbot6 r9035 | gaal++ |     trailing NULs counted
15:24 svnbot6 r9035 | gaal++ |   - spotted a missing "~" -> _tildeLiteralFS. updated.
15:24 * kolibrie rejoices in his non-seg-faulting pugs (thank you putter and audreyt for readline, ghc 6.4.1 tips)
15:27 audreyt gaal: http://www.haskell.org/ghc/docs/6.4.1/html/l​ibraries/base/Text-PrettyPrint-HughesPJ.html
15:31 justatheory joined perl6
15:46 spinclad Limbic_Region: but how can 2 be prime when 2 itself doesn't divide it (since it's odd)?
15:46 spinclad (and doesn't that definition make 1 a prime?)
15:49 rob4 joined perl6
15:54 svnbot6 r9036 | fglock++ | pX/Common/iterator_engine.pl - added comments
15:58 marmic joined perl6
16:07 fglock is it somehow unsafe to use 'illegal' subroutine names in perl5? like:
16:07 fglock perl -e ' *{"<word>"} = sub { print "$_[0]\n" }; &{"<word>"}("hello"); '
16:09 stevan fglock: not at all, the only issue is that you cant use strict, and you dont get compile time typo-checking
16:10 fglock thanks
16:13 xinming joined perl6
16:15 Juerd rafl: Shall I book a place to sleep in .be for the three of us? I'm assuming you arrive a day before the event, and that we spend the extra day we have in Belgium, not Germany.
16:16 Juerd Limbic_Region: Indeed
16:19 rafl Juerd: Timo can't come to FOSDEM and GPW.
16:20 rafl Juerd: I'd like to have a place if it's not to expensive.
16:21 sili places are definitely expensive
16:22 Juerd rafl: Oh, that's too bad
16:22 Juerd rafl: What is "not to expensive"?
16:23 rafl Juerd: not *too* expensive. converging towards zero.
16:23 rafl Juerd: What's the typical price for a night there?
16:24 LeTo rafl: I'm at GPW and could share room with you
16:24 rafl LeTo: That would be great.
16:25 LeTo It's currently as single room ordered but there are usually to beds, that would be EUR 95/2 then
16:26 rafl per night?
16:26 LeTo yep
16:26 LeTo http://www.wald-und-golfhotel.de/
16:26 rafl WTF.. that's much for a student.
16:26 LeTo yep
16:27 LeTo 1.3 - 3.3 (2 nights)
16:30 rafl LeTo: Would you mind me making the decicion later?
16:30 svnbot6 r9037 | fglock++ | iterator_engine.pl - rules in p5 namespace: &{'rule::<word>'}(...)
16:30 LeTo rafl: np
16:35 Juerd rafl: I thought you had arranged something in bochum?
16:36 rafl Juerd: I thought that as well, but it didn't work out.
16:37 Juerd I see
16:37 Juerd rafl: re .be, found via the FOSDEM site a link to a hostel called Bruegel
16:37 Juerd Their cheapest option is 17,60 per night, in a multiperson bedroom
16:37 Juerd Including breakfast and bedsheets
16:38 Juerd Oh, it says something about membership
16:38 Juerd Let's see what that is
16:42 elmex joined perl6
16:42 Juerd Oh, the 17,60 is for members
16:42 Juerd Non-members pay 20,60
16:42 Juerd In a shared 4-person room
16:44 kisu joined perl6
16:46 Juerd rafl: If you're okay with this, I'll book them.
16:46 Juerd rafl: At 4 nights, it'd be 82,40 eur each.
16:47 putter joined perl6
16:49 sapper joined perl6
16:52 rafl Juerd: OK
16:53 Juerd rafl: Consider it done
16:57 putter does p5 have lexical imports?
16:59 broquaint Nope.
17:00 putter broquaint: my thanks.
17:00 * putter goes off to see if a module could do both its usual thing, and be a source filter...
17:01 Juerd rafl: We have to be at the hostel before 16:00, feb 24.
17:01 Juerd rafl: What will your mode of travel be?
17:03 Juerd rafl: And could you book something in bochum.de? Preferrably, <= 30 euro per night
17:11 ingy hi audreyt
17:13 putter hi ingy
17:13 putter you saw audreyt's note a while back re a possible YAML.pm bug?
17:14 putter http://colabti.de/irclogger/irclogger_log​/perl6?date=2006-02-16,Thu&amp;sel=36#l76
17:16 ingy putter: yeah but it doesn't barf on YAML-0.58 YAML-Syck-0.22
17:16 ingy maybe a newer YAML::Syck messed it
17:17 putter k
17:17 ingy I'm not sure where audreyt keeps the YAML-Syck code these days
17:18 ingy hmmm. I just synced 0.33
17:18 ingy will try
17:19 putter where did it turn out to be?
17:19 ingy http://svn.kwiki.org/audreyt/YAML-Syck (if that's the latest)
17:20 * putter didn't realize at one point that audreyt was the author of Syck... remembers complaining about sloppily unfixed warnings... sigh...
17:20 putter tnx
17:22 ingy yeah that was it
17:22 putter tnx
17:22 ingy YAML::Syck picks a really goofy serialization
17:23 ingy but it is correct and a YAML.pm bug indeed
17:25 sili so can you use yaml to transform yaml?
17:36 Amnesiac joined perl6
17:41 putter So, perl5 *can* have lexical imports.  :)  Because Filter::Simple apparently gets along with Exporter, a module can just slap code with lexical at the top of the source.  You might even be able to get __LINE__ correct (using #line?).
17:42 G2 joined perl6
17:46 svnbot6 r9038 | fglock++ | iterator_engine.pl - better rule composition syntax, like:
17:46 svnbot6 r9038 | fglock++ | *{'rule::<word>'} = rule::greedy( \&{'rule::<word_char>'} );
17:51 G2 left perl6
17:54 robkinyon joined perl6
17:57 gaal ingy: http://svn.kwiki.org/audreyt/YAML-Syck
17:58 ingy gaal: ^^ :)
17:58 gaal oh right
17:59 * gaal has goofy vision
18:01 Limbic_Region has audreyt abandoned journaling or did it change locations again?
18:07 svnbot6 r9039 | audreyt++ | * Strictify the whole yaml dumping process.
18:07 putter LR: I think it's just been a lonnnngg pause :/
18:08 Limbic_Region ok - I hadn't been able to hang out in the channel much this past couple of weeks cause of having a newborn home and all and wondered if perhaps I just missed something
18:08 putter audreyt: feel free _not_ to point to the (ugly) p5 spike code... it's going to be moving anyway... ;)
18:09 Limbic_Region playing catch-up on all the projects you are interested in (but not actively participating in) after a 2 week hiatus is a PITA when you have to squeeze time in at $work to do it
18:10 putter LR: don't think so (re missed something).  audreyt is currently hacking in .il with gaal.  $work was absorbing before the travel.
18:11 putter indeed
18:13 putter pugs well on the way using yaml as the un/dumping form of compiled p6.  which should fix the precompiled prelude slowness issues which have kept it small.  also the yaml dump of the parse tree is coming along.
18:16 putter in other amusements, an experimental p5 regexp engine, doing backtracking recursive descent parsing, built from Regexp::Parser, was passing much of the p5 re_tests.  and supported <subrules>.  so a throw-away toy p6 parser was built on it.
18:17 putter what else has been going on... that's the last 1/2 week or so.  but 2 weeks... I'd have to changelog for that ;)
18:21 Limbic_Region well, I will just look for the next release of Pugs change release but thanks for the quick synopsis
18:21 putter np
18:21 putter how goes the newborn et al
18:22 SamB joined perl6
18:25 Limbic_Region oh, exciting and exhausting
18:25 * Limbic_Region needs to wander off for $work
18:27 putter &
18:27 putter :)
18:34 rafl Juerd: Aye
18:34 rafl Juerd: By train to bruessel
18:34 rafl Juerd: Yes, I'll do so.
18:40 cookys joined perl6
18:46 dduncan joined perl6
19:22 grayson joined perl6
19:39 DesreveR is now known as r0nny
19:47 larsen_ joined perl6
19:48 stevan joined perl6
19:53 svnbot6 r9040 | fglock++ | iterator_engine.pl - uses iterators and functional backtracking;
19:53 svnbot6 r9040 | fglock++ | optimization (backtracking caching) was temporarily removed
20:02 putter ingy: here's an Acme module for someone to write... Acme::PolyglotInline...   perl -MAcme::PerlPolyglotInline foo.c bar.py ; and perhaps perl -MAcme::PerlPolyglotInline -e 'require "foo.c";...' ;)
20:06 fglock putter: I found it is possible to use iterators and still cache things for speed. The engine is now mostly functional
20:07 dduncan following my report a day or 2 back about Pugs link errors ...
20:07 dduncan I did a make realclean and rebuilt today, and no problems occur now
20:08 dduncan but even before, I did say it probably wasn't a big deal
20:26 nnunley joined perl6
20:32 svnbot6 r9041 | fglock++ | iterator_engine.pl - added tests for a bug
20:32 fglock left perl6
20:36 putter joined perl6
20:36 putter fglock: so what's the next step?  running re_tests? :)
20:44 Amnesiac joined perl6
21:03 stennie joined perl6
21:40 DesreveR joined perl6
22:02 kolibrie putter: thanks for the readline/ghc 6.4.1 tips yesterday - my pugs no longer seg faults
22:22 DesreveR is now known as r0nny
22:30 McK joined perl6
22:33 perlbot joined perl6
22:55 arcady joined perl6
23:31 grayson joined perl6
23:59 drbean joined perl6

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

Perl 6 | Reference Documentation | Rakudo