pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by TimToady on 25 January 2008.
00:17 iblechbot left 00:21 zamolxes left 00:22 fridim_ joined 00:27 eternaleye joined 00:29 hcchien left 00:31 devogon left 00:47 alc joined
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:52
alc i'm sorry for that
just loaded a crappy script
TimToady I'll bet it was written in a crappy language :) 00:53
alc perl5, FYI :)
TimToady I was right...
I'm afraid, though, that it will still be possible to write buggy programs in Perl 6... 00:55
but they'll be *better* bugs :) 00:56
00:58 alester_ left, cnhackTNT joined
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:59
TimToady :)
alc just china
morning~
TimToady ä½ ę—© 01:01
alc ę—© :) 01:02
TimToady that's about the limit of my chinese, I'm afraid, though I know a lot of characters from looking at japanese
I keep telling myself I'll learn Mandarin as soon as I get fluent in Japanese, but that'll probably never happen... :) 01:03
anyway, ę¬¢čæŽ 01:04
alc thanks larry. 01:05
how did you input those chinese characters?
TimToady in this case, I pasted them from my dictionary, though I do have a japanese input method I can use 01:06
but that tends to use traditional rather than simplified
and is missing a lot of characters from your point of view anyway... :)
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:08
TimToady that's what I'm using
01:09 Auzon joined, SamB left 01:10 SamB joined 01:12 nipotaway is now known as nipotan
TimToady alc: which input method do you use under scim? 01:12
alc currently, code.google.com/p/scim-python/ 01:13
lambdabot Title: scim-python - Google Code
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:16
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:20
単 for instance 01:21
xinming Those are very small evolution during spreading of Chinese. :-D 01:23
01:26 hcchien joined 01:30 justatheory left 01:53 lyokato joined 01:58 silug left 02:18 xinming left 02:22 tobeya left 02:26 monomorph left 02:42 alc left 02:48 justatheory joined 03:22 PerlJam left, PerlJam joined 03:23 Juerd left, Juerd joined, gugod left, gugod joined 03:29 FurnaceBoy joined 03:31 wknight8111 is now known as wknight-away 03:39 thoughtp1lice joined, mncharity left 03:50 wknight-away left 03:51 peepsalot left 03:52 thoughtpolice left, thoughtpolice joined 03:53 peepsalot joined 03:57 Limbic_Region left 04:08 thoughtp1lice left 04:17 RayMagini left 04:20 RayMagini joined 04:38 justatheory left 04:39 FurnaceBoy left 05:13 cnhackTN1 joined 05:16 cnhackTNT left 05:21 cnhackTNT joined 05:28 cnhackTN1 left 05:36 araujo left 05:37 monomorph joined 06:03 thoughtpolice left 06:07 DarkWolf84 left 06:08 pbuetow joined 06:18 Daveman left 06:30 fridim_ left 06:58 devogon joined 06:59 njbartlett left 07:04 pbuetow left 07:05 Schwern joined 07:15 masak joined 07:22 JDlugosz joined
JDlugosz Hello! 07:22
perl6: "123ab456" ~~ ?/\d+/; 07:24
Anybody here?
exp_evalbot kp6: OUTPUT[syntax error at position 11, line 1 column 11:ā¤"123ab456" ~~ ?/\d+/ā¤ ^ HEREā¤]
..pugs: OUTPUT[Out of memory!ā¤]
..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
..from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1231 (...
JDlugosz Tons of people online, but I don't se e any chatter. 07:26
If anyone reads this later, please check out my Pugs question at <www.perlmonks.org/?node_id=670523>. 07:27
I've got "real-world" work to do, but I'll leave this IRC open for a while. 07:28
07:29 JDlugosz left 07:32 JDlugosz joined
JDlugosz <-- changed servers. 07:32
masak perl6: "123ab456" ~~ /\d+/
exp_evalbot kp6: OUTPUT[syntax error at position 11, line 1 column 11:ā¤"123ab456" ~~ /\d+ā¤ ^ HEREā¤]
..pugs: OUTPUT[Out of memory!ā¤]
..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
..(src/PCT/HLLCompiler.pir:584)ā¤called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 123...
masak pugs: "123ab456" ~~ /\d+/ 07:33
exp_evalbot OUTPUT[Out of memory!ā¤]
JDlugosz hello masak.
masak hi there JDlugosz
I'm reading your question now
JDlugosz What's wrong with that line? position 11 is the space after the quote.
masak where do you get the `?` from?
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:34
masak I don't remember having to put one of those there.
JDlugosz: it is fairly normal
JDlugosz The ? is to force boolean context so the match gives me true/false, and prevents a void context.
masak this used to be a high-trafic channel, and many are still interested
JDlugosz used to be?
masak hm
yes
I know that `?` boolifies, but I wouldn't have thought to put it before the regex 07:35
JDlugosz So why is there a huge list of people logged on?
masak are you sure that's specced? just checking
JDlugosz: because many people are interested in #perl6 and quite a few used to be active 07:36
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.
masak nowadays, it's much of a ghost town of logged-in but quiet users
JDlugosz So what is the user list? I thought those were people logged on to the channel.
masak JDlugosz: any book you might have is often wildly out-of-date
not saying that's the case here, just a reminder of that 07:37
JDlugosz: they are. they're just not paying attention
07:37 Daveman joined
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:37
masak many computer users have a stationary computer somewhere where they can be logged in to IRC all the time
JDlugosz: sure 07:38
JDlugosz Hmm, whithout the ? it still can't find a library.
masak I think pugs should be able to handle regexes
07:38 pbuetow joined
masak you'd probably do best to try the tests and see what is covered 07:38
JDlugosz But it returns a Match.new object after giving the error.
masak are you familiar with running tests? 07:39
JDlugosz Yes, I thought Pugs was good with 'rules'.
masak not sure it is, actually
JDlugosz No, I'm not. I downloaded the 't' directory though. I suppose you just run them like any other code file?
masak I remember it doing p5 regexes without problem at some point
JDlugosz: yes
JDlugosz More telling is the content is good examples of what works.
masak JDlugosz: you can do `make test` but that runs the whole test suite 07:40
JDlugosz: the tests are good examples of what works
JDlugosz I installed the Win32 binary, did not build myself.
masak hm
you can do `p6prove t/path/file.t` to run individual test files 07:41
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.
masak JDlugosz: yes, sure
it's just that things are under construction and, in the case of pugs, left in a half-finished state 07:42
so things don't always work according to spec
07:42 Aankhen`` joined
JDlugosz Well, the book does that, so maybe it autodetects simple cases. 07:43
My immediate problem is getting Pugs to load the libraries correctly. 07:44
The INC doesn't match...?
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
but on the other hand, it might just be a library problem
JDlugosz Is there any newsgroup or forum for Pugs? 07:45
07:46 xinming joined
JDlugosz still there, masak? 07:47
masak yes
JDlugosz: apart from #perl6? perl6-users might be it
JDlugosz Thanks.
masak np 07:48
JDlugosz I'm going to "ghost" myself a bit, and check back later to see if there was any traffic.
masak good idea.
good luck
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:49
masak you can do either, or neither. it's up to you 07:52
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:53 arcady left 07:56 njbartlett joined 07:57 njbartlett_ joined 08:04 njbartlett__ joined, iblechbot joined 08:17 pbuetow left 08:23 njbartlett left 08:27 njbartlett_ left 08:28 pmurias joined 08:29 njbartlett__ left
pmurias @tell mncharity did you sv(k|n) add Emit::AstYaml? 08:31
lambdabot Consider it noted.
08:35 cosimo joined 08:42 JDlugosz left 08:55 njbartlett joined 09:20 njbartlett left 09:21 lumi left 09:22 zakame joined, zakame left 09:23 alc joined, pbuetow joined 09:38 DarkWolf84 joined 09:46 lumi joined 09:52 alc left 09:58 njbartlett joined 10:07 ruz_ joined, ruz left 10:23 njbartlett left 10:25 ebassi joined 10:28 chris2 joined
cognominal_ rakudo: my ($a); 10:33
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
..(src/PAST/Compiler.pir:222)ā¤called from Sub 'parrot;PAST::Compiler;post_chi...
10:55 masak` joined, masak left, masak` is now known as masak 10:59 marmic left 11:01 lyokato left 11:03 marmic joined 11:08 cnhackTNT left 11:27 chris2_ joined 11:43 chris2 left 11:59 iblechbot left 12:03 njbartlett joined 12:15 wknight-away joined 12:22 zamolxes joined, njbartlett_ joined 12:23 nipotan is now known as nipotaway 12:26 njbartlett left 12:30 chris2_ left 12:43 zakame joined, araujo joined 12:48 njbartlett_ left 12:57 sordith_ joined 12:58 iblechbot joined 13:01 alester_ joined 13:03 njbartlett joined 13:04 cmarcelo joined 13:07 sordith left, sordith_ is now known as sordith 13:09 manon joined, alester_ left 13:11 DarkWolf84 left 13:27 njbartlett left 13:57 zakame left 14:00 njbartlett joined 14:08 devogon_ joined 14:10 devogon left 14:12 zakame joined 14:15 zakame left 14:42 jhorwitz joined 14:44 FurnaceBoy joined 14:50 monomorph left, njbartlett left 14:53 TJCRI joined 15:07 FurnaceBoy left
moritz_ somebody (I think GPenguin) asked what's up with me... 15:20
$dayjob with no IRC allowed, and no internet after that :(
15:26 bbkr_ joined 15:27 Auzon left, bbkr left 15:41 orafu left 16:03 peeps[work] joined 16:06 peepsalot left 16:08 peepsalot joined 16:10 peepsalot left 16:11 zamolxes left, kanru left, peepsalot joined 16:12 falesca joined, zakame joined 16:14 zakame left, peepsalot left 16:15 peepsalot joined 16:20 peeps[work] left 16:22 mj41 left 16:23 peepsalot left 16:24 njbartlett joined
diakopter ruoso: ping 16:26
16:26 charsbar left 16:30 charsbar joined 16:39 peepsalot joined
ruoso diakopter, pong 16:41
16:42 peepsalot left
diakopter ruoso: someone mentioned to me scheme48. are you familiar with it? (sorry if it's a dumb question) 16:43
16:43 peepsalot joined
ruoso diakopter, not really 16:44
16:44 peeps joined
ruoso diakopter, any aspect in particular that I should take a closer look on? 16:45
diakopter he read the smop wiki entries and said, "oh, that's scheme48"
16:46 koo` joined
diakopter sorry for the hearsay. :) I'm sure something got lost in the retransmission. 16:46
ruoso heh 16:47
16:47 peeps left
ruoso it's interesting because I had heard the same regarding to smalltalk as well 16:47
16:47 peeps joined 16:48 peeps left 16:50 manon left
ruoso I wish I could merge more the smalltalk and scheme48 communities with smop 16:50
16:50 peeps joined 16:51 njbartlett left 16:53 peeps left
spinclad aol's 16:53
pmurias ruoso: in what way?
16:54 peeps joined 16:56 justatheory joined 16:58 Zaqq joined
Zaqq hi all. can we externalize strings from text files like JSPs for instance, easily using some perl script magic? 16:59
obra Zaqq: you may want #perl
(If you're working in a released version of Perl)
17:01 peeps left 17:03 peeps joined 17:04 peeps left 17:09 mj41 joined 17:11 masak left
spinclad Zaqq: #perl on irc.perl.org 17:15
Zaqq obra: spincladi: i tried asking in perl ... but they pointed me to java lol
17:16 cosimo left
obra #perl on irc.perl.org is not a place to point people for perl help, spinclad 17:16
#perl on irc.perl.org is a social club that is...not friendly to perl questions. 17:17
Zaqq: you likely want to look at Locale::Maketext and other things in the Locale:: section of CPAN
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:20
Zaqq obra: thanks .. i am browsing cpan.uwinnipeg.ca/search?query=Loca...;mode=dist .. hope to find something which parses files like JSPs
lambdabot Title: Browse and search CPAN
17:20 peeps joined
obra wait. sorry. I thought you were talking about string extraction for, say, I18N. 17:20
if you want something for perl that works like JSP, look at HTML::Mason
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:22
Zaqq obra: thank you.. will ask if more help needed 17:24
obra try #perl rather than here.
Zaqq r u there as well? 17:25
obra this channel really is for discussion of the development of the next version of perl
I'm not, but I need to disappear to do work anyway
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.
Zaqq obra: ok thanks
[particle] everytime i rebuild parrot, jonathan++ has a new commit!
17:26 terjek_ joined 17:27 meppl joined
rakudo_svn r26099 | jonathan++ | [rakudo] Add a file missed out in the previous ci. Oops. 17:27
17:29 silug joined 17:50 peeps left 17:51 peeps joined 17:52 Psyche^ joined 17:56 peeps left 17:59 peeps joined 18:00 Zaqq_ joined 18:02 terjek_ left, eternaleye left, Zaqq_ left 18:03 blindfish joined 18:04 eternaleye joined 18:09 Patterner left, Psyche^ is now known as Patterner
spinclad obra: my apologies 18:10
obra np 18:11
18:12 barney joined 18:17 Zaqq left 18:20 njbartlett joined 18:21 njbartlett left 18:34 rindolf joined 18:36 Lorn joined 18:38 ebassi left 18:43 zamolxes joined, pcbuetow joined 18:44 eternaleye_ joined 18:47 IllvilJa left 18:51 eternaleye left 18:55 njbartlett joined 18:57 pbuetow left 19:00 bastones joined, bastones left 19:03 njbartlett left 19:04 IllvilJa joined 19:05 tobeya joined 19:31 njbartlett joined 19:32 njbartlett left 19:44 renormalist joined 19:45 cookys left 19:49 peepsalot left, cookys joined 20:06 ruoso left 20:09 schmalbe joined 20:25 njbartlett joined 20:26 barney left 20:38 TJCRI left 20:52 Aankhen`` left 21:07 blindfish left 21:15 TJCRI joined 21:19 devogon_ left 21:25 pmurias left 21:27 rindolf left 21:49 jhorwitz left 21:53 jhorwitz joined 21:57 schmalbe left 22:04 cathya joined 22:09 TJCRI left 22:21 justatheory_ joined 22:29 justatheory__ joined 22:31 jhorwitz left 22:34 justatheory__ left 22:35 justatheory left 22:37 wknight-away left 22:41 justatheory_ left 22:44 justatheory joined, Limbic_Region joined 22:54 peepsalot joined 22:58 renormalist left 23:13 wknight-away joined 23:15 cmarcelo left 23:19 justatheory_ joined, justatheory_ left 23:20 justatheory left 23:25 wknight-away is now known as wknight8111 23:33 justatheory joined 23:34 eternaleye joined 23:35 eternaleye_ left, iblechbot left 23:45 cmarcelo joined 23:57 peepsalot left