Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-02-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:21 fridim_ joined #perl6
00:26 eternaleye joined #perl6
00:46 alc joined #perl6
00:49 TimToady wow, an ipv6 addr
00:50 alc :)
00:51 TimToady sorry I had to kick you the other day, but your bot was doing something funny...
00:51 alc i'm sorry for that
00:51 alc just loaded a crappy script
00:52 TimToady I'll bet it was written in a crappy language :)
00:52 alc perl5, FYI :)
00:52 TimToady I was right...
00:54 TimToady I'm afraid, though, that it will still be possible to write buggy programs in Perl 6...
00:55 TimToady but they'll be *better* bugs :)
00:57 cnhackTNT joined #perl6
00:57 TimToady let's see, given the fact that you're using ipv6, and that you just came on, I'd say you're coming from somewhere in the neighborhood of china
00:58 alc not neighborhood
00:58 TimToady :)
00:58 alc just china
00:58 alc morning~
01:00 TimToady 你早
01:00 alc 早 :)
01:01 TimToady that's about the limit of my chinese, I'm afraid, though I know a lot of characters from looking at japanese
01:02 TimToady I keep telling myself I'll learn Mandarin as soon as I get fluent in Japanese, but that'll probably never happen... :)
01:03 TimToady anyway, 欢迎
01:03 alc thanks larry.
01:04 alc how did you input those chinese characters?
01:04 TimToady in this case, I pasted them from my dictionary, though I do have a japanese input method I can use
01:05 TimToady but that tends to use traditional rather than simplified
01:05 TimToady and is missing a lot of characters from your point of view anyway... :)
01:06 TimToady I'm sure that someday I'll work around to putting up a Mandarin input method as well
01:07 alc for that i recommend scim... =)
01:07 TimToady that's what I'm using
01:08 Auzon joined #perl6
01:09 SamB joined #perl6
01:11 TimToady alc: which input method do you use under scim?
01:12 alc currently, http://code.google.com/p/scim-python/
01:12 lambdabot Title: scim-python - Google Code
01:14 alc once used the 'official' scim-chinese/scim-pinyin
01:15 TimToady I suppose I should stick with the more official one for occasional use
01:18 xinming TimToady: We normally use scim-pinyin in mainland, Some people also uses WuBi, But in TW, people uses other input methods, For WuBi, You'd better live in China to learn WuBi easily. And also, If you want the real original Chinese language. I suggest you stick with Traditional Chinese. :-D
01:19 TimToady I mostly learn the traditional characters in Japanese too, though sometimes they have variants that are neither Traditional nor Simplified
01:19 TimToady 単 for instance
01:22 xinming Those are very small evolution during spreading of Chinese. :-D
01:25 hcchien joined #perl6
01:52 lyokato joined #perl6
02:46 justatheory joined #perl6
03:21 PerlJam joined #perl6
03:22 Juerd joined #perl6
03:22 gugod joined #perl6
03:28 FurnaceBoy joined #perl6
03:37 thoughtp1lice joined #perl6
03:51 thoughtpolice joined #perl6
03:52 peepsalot joined #perl6
04:19 RayMagini joined #perl6
05:12 cnhackTN1 joined #perl6
05:19 cnhackTNT joined #perl6
05:36 monomorph joined #perl6
06:07 pbuetow joined #perl6
06:57 devogon joined #perl6
07:04 Schwern joined #perl6
07:14 masak joined #perl6
07:20 JDlugosz joined #perl6
07:21 JDlugosz Hello!
07:22 JDlugosz perl6: "123ab456" ~~ ?/\d+/;
07:23 JDlugosz Anybody here?
07:23 exp_evalbot kp6: OUTPUT[syntax error at position 11, line 1 column 11:␤"123ab456" ~~ ?/\d+/␤           ^ HERE␤]
07:23 exp_evalbot ..pugs: OUTPUT[Out of memory!␤]
07:23 exp_evalbot ..rakudo: RESULT[Method 'perl' not found for invocant of class 'Boolean'␤current instr.: '_block10' pc 35 (EVAL_11:16)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 778 (src/PCT/HLLCompiler.pir:457)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1052 (src/PCT/HLLCompiler.pir:584)␤called
07:23 exp_evalbot ..from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1231 (...
07:24 JDlugosz Tons of people online, but I don't se e any chatter.
07:25 JDlugosz If anyone reads this later, please check out my Pugs question at <http://www.perlmonks.org/?node_id=670523>.
07:27 JDlugosz I've got "real-world" work to do, but I'll leave this IRC open for a while.
07:28 JDlugosz left #perl6
07:31 JDlugosz joined #perl6
07:31 JDlugosz <-- changed servers.
07:31 masak perl6: "123ab456" ~~ /\d+/
07:31 exp_evalbot kp6: OUTPUT[syntax error at position 11, line 1 column 11:␤"123ab456" ~~ /\d+␤           ^ HERE␤]
07:31 exp_evalbot ..pugs: OUTPUT[Out of memory!␤]
07:31 exp_evalbot ..rakudo: RESULT[Method 'perl' not found for invocant of class 'PGE::Match'␤current instr.: '_block10' pc 35 (EVAL_11:16)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 778 (src/PCT/HLLCompiler.pir:457)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1052
07:31 exp_evalbot ..(src/PCT/HLLCompiler.pir:584)␤called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 123...
07:31 masak pugs: "123ab456" ~~ /\d+/
07:32 exp_evalbot OUTPUT[Out of memory!␤]
07:32 JDlugosz hello masak.
07:32 masak hi there JDlugosz
07:32 masak I'm reading your question now
07:32 JDlugosz What's wrong with that line?  position 11 is the space after the quote.
07:32 masak where do you get the `?` from?
07:32 JDlugosz Is it normal to be so quiet here with so many logged on?  Or am I having a server problem or everyone in private chats?
07:32 masak I don't remember having to put one of those there.
07:33 masak JDlugosz: it is fairly normal
07:33 JDlugosz The ? is to force boolean context so the match gives me true/false, and prevents a void context.
07:33 masak this used to be a high-trafic channel, and many are still interested
07:33 JDlugosz used to be?
07:33 masak hm
07:33 masak yes
07:34 masak I know that `?` boolifies, but I wouldn't have thought to put it before the regex
07:34 JDlugosz So why is there a huge list of people logged on?
07:34 masak are you sure that's specced? just checking
07:34 masak JDlugosz: because many people are interested in #perl6 and quite a few used to be active
07:35 JDlugosz That is an example from the OReilly book.  It introduces it to prevent accidental void context, and then using ? or + to specify what kind of answer.
07:35 masak nowadays, it's much of a ghost town of logged-in but quiet users
07:35 JDlugosz So what is the user list?  I thought those were people logged on to the channel.
07:35 masak JDlugosz: any book you might have is often wildly out-of-date
07:35 masak not saying that's the case here, just a reminder of that
07:36 masak JDlugosz: they are. they're just not paying attention
07:36 Daveman joined #perl6
07:36 JDlugosz Yes, I'll keep that in mind.  But I got errors from Pugs, not syntax errors etc.  So one problem at a time.
07:36 masak many computer users have a stationary computer somewhere where they can be logged in to IRC all the time
07:36 masak JDlugosz: sure
07:36 JDlugosz Hmm, whithout the ? it still can't find a library.
07:37 masak I think pugs should be able to handle regexes
07:37 pbuetow joined #perl6
07:37 masak you'd probably do best to try the tests and see what is covered
07:37 JDlugosz But it returns a Match.new object after giving the error.
07:37 masak are you familiar with running tests?
07:38 JDlugosz Yes, I thought Pugs was good with 'rules'.
07:38 masak not sure it is, actually
07:38 JDlugosz No, I'm not.  I downloaded the 't' directory though.  I suppose you just run them like any other code file?
07:38 masak I remember it doing p5 regexes without problem at some point
07:38 masak JDlugosz: yes
07:38 JDlugosz More telling is the content is good examples of what works.
07:39 masak JDlugosz: you can do `make test` but that runs the whole test suite
07:39 masak JDlugosz: the tests are good examples of what works
07:39 JDlugosz I installed the Win32 binary, did not build myself.
07:39 masak hm
07:40 masak you can do `p6prove t/path/file.t` to run individual test files
07:40 JDlugosz Hmm, why would it know that this is a p5 regex?  I thought it defaulted to rules, and I did not use an adjective.
07:40 masak JDlugosz: yes, sure
07:40 masak it's just that things are under construction and, in the case of pugs, left in a half-finished state
07:41 masak so things don't always work according to spec
07:41 Aankhen`` joined #perl6
07:42 JDlugosz Well, the book does that, so maybe it autodetects simple cases.
07:43 JDlugosz My immediate problem is getting Pugs to load the libraries correctly.
07:43 JDlugosz The INC doesn't match...?
07:43 masak JDlugosz: my guess is that the eventual answer you will get from people who know more than I do is, that something in Pugs is broken and might not get fixed until someone finds massive tuits to do it
07:43 masak but on the other hand, it might just be a library problem
07:44 JDlugosz Is there any newsgroup or forum for Pugs?
07:45 xinming joined #perl6
07:46 JDlugosz still there, masak?
07:46 masak yes
07:46 masak JDlugosz: apart from #perl6? perl6-users might be it
07:46 JDlugosz Thanks.
07:46 masak np
07:47 JDlugosz I'm going to "ghost" myself a bit, and check back later to see if there was any traffic.
07:47 masak good idea.
07:47 masak good luck
07:47 JDlugosz I guess there is no social protocol for that here?  I remember saying "AFK" (away from keyboard) or being able to put a mark on the name in the logged-on list.
07:50 masak you can do either, or neither. it's up to you
07:51 masak but generally on IRC, it's a good idea to assume that a user is not immediately available, unless she has said something in the last minute or so.
07:54 njbartlett joined #perl6
07:56 njbartlett_ joined #perl6
08:02 njbartlett__ joined #perl6
08:03 iblechbot joined #perl6
08:27 pmurias joined #perl6
08:30 pmurias @tell mncharity did you sv(k|n) add Emit::AstYaml?
08:30 lambdabot Consider it noted.
08:34 cosimo joined #perl6
08:54 njbartlett joined #perl6
09:21 zakame joined #perl6
09:22 alc joined #perl6
09:22 pbuetow joined #perl6
09:37 DarkWolf84 joined #perl6
09:45 lumi joined #perl6
09:56 njbartlett joined #perl6
10:06 ruz_ joined #perl6
10:24 ebassi joined #perl6
10:27 chris2 joined #perl6
10:32 cognominal_ rakudo: my ($a);
10:32 exp_evalbot OUTPUT[No scope found for PAST::Var '$a'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 158 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1117 (src/PAST/Compiler.pir:138)␤called from Sub 'parrot;PAST::Compiler;as_post' pc 1312
10:32 exp_evalbot ..(src/PAST/Compiler.pir:222)␤called from Sub 'parrot;PAST::Compiler;post_chi...
10:54 masak` joined #perl6
11:02 marmic joined #perl6
11:26 chris2_ joined #perl6
12:02 njbartlett joined #perl6
12:14 wknight-away joined #perl6
12:21 zamolxes joined #perl6
12:21 njbartlett_ joined #perl6
12:41 zakame joined #perl6
12:42 araujo joined #perl6
12:56 sordith_ joined #perl6
12:57 iblechbot joined #perl6
13:00 alester_ joined #perl6
13:02 njbartlett joined #perl6
13:03 cmarcelo joined #perl6
13:08 manon joined #perl6
13:59 njbartlett joined #perl6
14:07 devogon_ joined #perl6
14:11 zakame joined #perl6
14:41 jhorwitz joined #perl6
14:42 FurnaceBoy joined #perl6
14:52 TJCRI joined #perl6
15:18 moritz_ somebody (I think GPenguin) asked what's up with me...
15:19 moritz_ $dayjob with no IRC allowed, and no internet after that :(
15:24 bbkr_ joined #perl6
16:01 peeps[work] joined #perl6
16:06 peepsalot joined #perl6
16:10 peepsalot joined #perl6
16:11 falesca joined #perl6
16:11 zakame joined #perl6
16:14 peepsalot joined #perl6
16:23 njbartlett joined #perl6
16:25 diakopter ruoso: ping
16:29 charsbar joined #perl6
16:38 peepsalot joined #perl6
16:40 ruoso diakopter, pong
16:41 diakopter ruoso: someone mentioned to me scheme48. are you familiar with it?  (sorry if it's a dumb question)
16:42 peepsalot joined #perl6
16:42 ruoso diakopter, not really
16:43 peeps joined #perl6
16:43 ruoso diakopter, any aspect in particular that I should take a closer look on?
16:43 diakopter he read the smop wiki entries and said, "oh, that's scheme48"
16:44 koo` joined #perl6
16:44 diakopter sorry for the hearsay. :)  I'm sure something got lost in the retransmission.
16:45 ruoso heh
16:46 ruoso it's interesting because I had heard the same regarding to smalltalk as well
16:46 peeps joined #perl6
16:49 manon left #perl6
16:49 ruoso I wish I could merge more the smalltalk and scheme48 communities with smop
16:49 peeps joined #perl6
16:52 * spinclad aol's
16:52 pmurias ruoso: in what way?
16:53 peeps joined #perl6
16:55 justatheory joined #perl6
16:57 Zaqq joined #perl6
16:57 Zaqq hi all. can we externalize strings from text files like JSPs for instance, easily using some perl script magic?
16:58 obra Zaqq: you may want #perl
16:58 obra (If you're working in a released version of Perl)
17:02 peeps joined #perl6
17:07 mj41 joined #perl6
17:13 spinclad Zaqq: #perl on irc.perl.org
17:14 Zaqq obra: spincladi: i tried asking in perl ... but they pointed me to java lol
17:15 obra #perl on irc.perl.org is not a place to point people for perl help, spinclad
17:15 obra #perl on irc.perl.org is a social club that is...not friendly to perl questions.
17:16 obra Zaqq: you likely want to look at Locale::Maketext and other things in the Locale:: section of CPAN
17:18 ruoso pmurias, I would like to see them trying to have Perl 6 on their runtime or trying to have their language in smop's runtime
17:18 Zaqq obra: thanks .. i am browsing http://cpan.uwinnipeg.ca/search?query=Locale&amp;mode=dist .. hope to find something which parses files like JSPs
17:18 lambdabot Title: Browse and search CPAN
17:19 peeps joined #perl6
17:19 obra wait. sorry. I thought you were talking about string extraction for, say, I18N.
17:19 obra if you want something for perl that works like JSP, look at HTML::Mason
17:20 Zaqq obra: no no .. i want something to go thru a JSP file ... and wherever it finds plain strings ... they need to be externalized ... i need it for internationalization/ globalization
17:21 obra ah. ok. look at extract-message-catalogs in Locale::Maketext::Lexicon. you'lll need to modify it. but it's a tool for doing osmething similar
17:23 Zaqq obra: thank you.. will ask if more help needed
17:23 obra try #perl rather than here.
17:23 Zaqq r u there as well?
17:23 obra this channel really is for discussion of the development of the next version of perl
17:24 obra I'm not, but I need to disappear to do work anyway
17:24 rakudo_svn r26098 | jonathan++ | [rakudo] Implement smart-matching against a role name to check if the class does the role, plus a little clean-up to the role creation code.
17:24 Zaqq obra: ok thanks
17:24 [particle] everytime i rebuild parrot, jonathan++ has a new commit!
17:24 terjek_ joined #perl6
17:26 meppl joined #perl6
17:26 rakudo_svn r26099 | jonathan++ | [rakudo] Add a file missed out in the previous ci. Oops.
17:28 silug joined #perl6
17:50 peeps joined #perl6
17:51 Psyche^ joined #perl6
17:58 peeps joined #perl6
17:58 Zaqq_ joined #perl6
18:00 terjek_ left #perl6
18:02 blindfish joined #perl6
18:02 eternaleye joined #perl6
18:09 spinclad obra: my apologies
18:09 obra np
18:11 barney joined #perl6
18:19 njbartlett joined #perl6
18:33 rindolf joined #perl6
18:35 Lorn joined #perl6
18:41 zamolxes joined #perl6
18:42 pcbuetow joined #perl6
18:43 eternaleye_ joined #perl6
18:54 njbartlett joined #perl6
18:59 bastones joined #perl6
18:59 bastones left #perl6
19:03 IllvilJa joined #perl6
19:03 tobeya joined #perl6
19:30 njbartlett joined #perl6
19:43 renormalist joined #perl6
19:48 cookys joined #perl6
20:08 schmalbe joined #perl6
20:24 njbartlett joined #perl6
21:14 TJCRI joined #perl6
21:52 jhorwitz joined #perl6
22:03 cathya joined #perl6
22:20 justatheory_ joined #perl6
22:28 justatheory__ joined #perl6
22:42 justatheory joined #perl6
22:43 Limbic_Region joined #perl6
22:53 peepsalot joined #perl6
23:12 wknight-away joined #perl6
23:18 justatheory_ joined #perl6
23:32 justatheory joined #perl6
23:33 eternaleye joined #perl6
23:43 cmarcelo joined #perl6

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

Perl 6 | Reference Documentation | Rakudo