pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
00:20 nekokak joined 00:32 devogon left 00:36 amnesiac joined 00:47 dwave left 00:52 nipotaway is now known as nipotan 01:02 poky left 01:03 torz joined 01:07 rcd joined 01:09 lyokato joined 01:11 bsb joined 01:13 weinig left 01:14 turrepurre left 01:16 hcchien joined 01:26 Limbic_Region left 01:34 JJ_Offshore joined 01:37 JJ_Offshore left 01:41 agentzh joined 02:21 Eidolos is now known as HMTasks 02:22 HMTasks is now known as Eidolos, pro21ms4 joined 02:45 |Jedai| joined 02:57 cognominal_ left 03:01 jedai left 03:07 cognominal_ joined 03:08 lisppaste3 joined 03:40 Schwern joined 03:41 JarJarBi1ks joined 03:52 JarJarBinks left 03:58 fridim joined 04:12 kanru left 04:22 amnesiac left 04:24 hkb_aw is now known as hakobe 04:29 hakobe is now known as hkb_aw 04:50 fridim_ joined 04:57 lambdabot left 05:00 lambdabot joined 05:07 devogon joined 05:10 fridim left 05:20 Schwern left, Schwern joined 05:34 kanru joined, Schwern left 05:39 BinGOs joined 05:44 amnesiac joined 05:50 weinig joined, weinig left 05:51 weinig joined, weinig left 05:53 weinig joined 05:59 marmic left 06:07 fridim__ joined, fridim_ left, pro21ms4 left 06:09 marmic joined
pugs_svnbot r17258 | lwall++ | [metholate] initial whacks at cheated-STD-to-pugs bootstrap 06:41
diff: dev.pugscode.org/changeset/17258
lambdabot Title: Changeset 17258 - Pugs - Trac
moritz_ TimToady: are you emmiting not-rule p6 from STD? 06:45
s/not/non/
TimToady that's the idea 06:51
pugs_svnbot r17259 | lwall++ | [metholate] extra .to call on new match construction
diff: dev.pugscode.org/changeset/17259
lambdabot Title: Changeset 17259 - Pugs - Trac
TimToady basically turns all tokens and rules into method calls
paste coming... 06:52
06:54 hkb_aw is now known as hakobe
pasteling "TimToady" at 71.139.42.162 pasted "small metholate example" (38 lines, 741B) at sial.org/pbot/26882 06:55
06:55 Aankhen`` joined
TimToady that example works, by the way. 06:56
returns (Match.new(("from" => 0), ("to" => 7)),) 06:57
when called on 123.456
doesn't do anything with captures yet though 06:58
so still kinda useless for a real grammar
also haven't implemented alternation yet
that's for tomorrow
06:58 zamolxes left
TimToady and it very much assumes a well-behaved output of 'cheat Perl-6.0.0-STD.pm' 06:59
so there are several things the regex parser doesn't even bother to parse right because it knows STD doesn't use it 07:00
07:00 Schwern joined 07:01 drupek12 joined
TimToady but it's interesting to "cheat STD.pm | metholate" and see what kind of goop it spits out 07:01
07:12 franck___ joined 07:17 weinig left 07:28 Squern joined 07:32 araujo left 07:33 DarkWolf84 left 07:36 elmex joined 07:46 Schwern left 07:50 fridim_ joined 07:55 pro21ms4 joined 08:01 franck___ left 08:04 fridim__ left 08:06 fridim__ joined 08:07 franck___ joined 08:11 amnesiac left 08:13 fridim joined 08:14 pro21ms4 left 08:18 fridim_ left 08:25 hcchien left 08:28 sunnavy joined, iblechbot joined 08:31 fridim__ left 08:43 Yappo joined 08:51 dduncan left 09:05 flokuehn joined 09:16 ruz left 09:18 fridim_ joined, fridim left 09:22 Squern left 09:30 yves_ joined 09:34 andara joined 09:37 Schwern joined 09:38 chris2 joined 09:41 JarJarBinks joined, fridim__ joined 09:49 Schwern left 09:52 JarJarBi1ks left 09:53 pro21ms4 joined 09:57 fridim_ left 10:15 jisom_ joined, fridim__ left, fridim__ joined 10:16 jisom left 10:31 lyokato left 10:57 fridim_ joined 10:58 fridim__ left 11:01 xinming left 11:03 xinming joined 11:21 fridim__ joined 11:22 fridim_ left 11:25 JarJarBi1ks joined 11:37 JarJarBinks left 11:54 dwave joined 12:00 |Jedai| is now known as jedai 12:03 jrockway left 12:15 thoughtpolice joined, fridim_ joined 12:16 thoughtpolice left 12:19 DarkWolf84 joined 12:23 jrockway joined 12:26 theorb joined 12:30 pro21ms4 left, pro21ms4 joined 12:34 fridim__ left 12:43 nipotan is now known as nipotaway 12:44 fridim__ joined, fridim_ left 12:50 theorbtwo left 13:06 DarkWolf84 left, jedai left, thoughtpolice joined, DarkWolf84 joined 13:09 jedai joined 13:11 DarkWolf84 left 13:12 DarkWolf84 joined 13:24 fridim__ left, fridim__ joined 13:26 rcd left 13:30 fridim_ joined 13:34 araujo joined 13:48 fridim__ left, masak joined 14:01 jhorwitz joined 14:04 poky joined 14:21 integral left 14:31 explorer joined, drupek12 left 14:32 explorer left 14:36 drupek12 joined 14:47 pro21ms4 left, integral joined, szbalint left 14:52 idiotmax joined, jisom_ left 14:54 iblechbot left 15:02 andara left 15:13 kanru left 15:15 Eidolos left
masak how would I implement haskell's List.group in Perl 6? 15:19
I just tried it in Perl 5, and couldn't really think of any natural way to do it 15:20
wolverian reduce
masak wolverian: please elaborate
wolverian think how you'd write it with foldl in haskell
(or look at the definition)
moritz_ like $string.comb: rx/(.)$0*/; for lists?
wolverian or just recursion 15:21
hm. do we have span?
masak what is it? 15:23
masak is just learning haskell
I also found it in the definition of groupBy
wolverian you can look it up with hoogle
it splits the list in two based on a predicate 15:24
masak wolverian: can I get to the source with hoogle?
I didn't see an easy way to do that, maybe I missed it
wolverian on the documentation page, 'source code' at the top right
masak thx 15:25
wolverian it just doesn't give you the source to a particular function, only to the whole module. unfortunately
masak wolverian: I grepped that source file, and didn't find a definition... 15:26
wolverian oh, of span? it's probably imported from GHC.List
masak ok
wolverian you can also look at the haskell98 standard prelude, which I think defines all these 15:27
so that you don't have to dig up ghc's implementation from svn or anything :)
masak good.
ah -- found it 15:28
masak is really starting to appreciate Haskell 15:29
today I found myself longing for the 'where' keyword in Perl
wolverian :)
masak if no-one else makes that a 6PAN module, I will 15:30
15:31 barney joined
moritz_ do that, please ;) 15:32
masak ;)
any news of audreyt of late? 15:36
15:37 kanru joined
gnuvince @seen audreyt 15:38
lambdabot audreyt is in #perl6 and #haskell. I don't know when audreyt last spoke.
masak that long ago? oh well... 15:39
gnuvince I'm guessing she still has electricity
masak gnuvince: is there a context to that guess? I don't understand 15:40
gnuvince: ah, ok
she's on IRC, thus she has electricity
masak is slow at the end of a long workday
15:43 hakobe is now known as hkb_zz 15:58 franck___ left 16:06 franck___ joined 16:08 koye joined 16:12 rlb3_work left 16:20 weinig joined, kcwu left 16:26 chris2 left 16:28 rlb3_work joined 16:33 buetow joined 16:37 lysdexsik joined
lysdexsik hiho 16:37
TimToady a lysdexic is a greek with a broken right hand... 16:39
masak laughs 16:40
just the other day I thought of calling myself Dexter because it sounded right
TimToady but your laugh is Sinister 16:41
masak most likely
the direction Left has a bad rep through history
diakopter hee hee 16:42
masak & # food 16:43
lysdexsik if it was the bad direction i should perhaps /nick lysdexsick ;)
daxim_ I got this between the &apos; quotes from the perl 6 now video on google: 16:44
$ pugs -e'for each(1..*; =<>) {say "Line $^num: $^text";}' < somefilename
but: *** Cannot bind to non-existing variable: "$num" at -e line 1, column 1
Tene suddenly understands masak's pun and laughs more than he probably should while in front of the class. 16:47
lysdexsik but, as TimToady is a linguist he already know that Lys is the flower that symbolize France, Dex is an astronomical measure, and sik (originally Sikh) is a practitioner of an ancient indian religion. Thus the conclusion of all this is that my nick means the original distance between France and India divided several times by the tail length of your average cat is phi! 16:48
TimToady daxim_: eventually that kind of each() is going away, and you'll just use zip(), or 1..* Z =<>
daxim_ aha 16:49
TimToady lysdexsik: I knew that...
lysdexsik there's no doubt about it ;)
TimToady that's why an above-average cat is called phi phi
I guess by that reasoning a below-average cat is just called 16:51
gnuvince has two tattoos: pi on the left arm and phi on the right 16:52
16:52 masak left
gnuvince What does that make me? 16:52
TimToady confused 16:53
lysdexsik yeah, or FE (FEA originally for Finite element analysis en.wikipedia.org/wiki/Finite_element_analysis) and lix (59, not the answer to life and everything en.wikipedia.org/wiki/LIX) so the just above cat average may also be called Felix
lambdabot Title: Finite element analysis - Wikipedia, the free encyclopedia
TimToady I'm not 59 yet, so I guess that makes me prolix 16:56
[particle] gnuvince: i guess it makes you (pi + phi) / pi or about 2.3798
(pi + phi)/2 that is 16:57
TimToady pi and 2 aren't all that far apart
'bout 1 apart, I make it
[particle] ...for large values of one
TimToady and as we all know, when you divide by 1 it makes no difference
hmm, SA means both "left" and "difference" in Japanese 16:59
lysdexsik one must notice that's the at the very beginning of the musical area the the human history that people first "heard" of phi, for high values of phi, it was thus called hi-fi...
s/the the/in the/ 17:00
TimToady but who was St. Ereo?
moritz_ he invented the oreo cookies
TimToady must of been dyslexic
moritz_ somehow the name got mangled
lysdexsik ;)
moritz_ ;-)
[particle] he was at the beginning of the great vowel shift 17:01
17:05 flokuehn left
daxim_ @seen svnbot 17:05
lambdabot I haven't seen svnbot.
pugs_svnbot r17260 | daxim++ | t/README: improved ascii art banner 17:06
diff: dev.pugscode.org/changeset/17260
lambdabot Title: Changeset 17260 - Pugs - Trac
daxim_ oh, different name
TimToady lysdexsik: would you like a pugs commit bit? 17:08
17:09 sunnavy left 17:10 kcwu joined
lysdexsik TimToady, i'm not sure what that means... (and consider i'm a bad coder), but i'm aviailable for the next 12 hours, perhaps i can do something simple (for the cage perhaps) and that someone can give an eye on it after that? 17:11
daxim_ one of us! one of us!
17:11 jjore-w joined
TimToady we certainly work more on the forgiveness principle than the permission principle 17:11
lysdexsik it's probably better to give it to someone you already trust here
TimToady we don't trust anyone here...
msg me your email and I'll send you a commit bit
lysdexsik ok ;) i'm ok with a simple task 17:12
ok give me a few minutes to register this user
17:13 rgs joined
TimToady what do you want for your svn id? lysdexsik? 17:14
anything you like, really
lysdexsik lysdexsik is ok ;)
fridim_ you say so :) 17:15
17:15 fridim_ is now known as fridim
TimToady feather is being slow... 17:17
fridim I'am ready to read www.perlmonks.org/?node_id=628746
lambdabot Title: Getting Involved with Perl 6
fridim (I would like to help)
wolverian sslh and www-data's perl are eating cpu
TimToady agh, load avg of 14
well, I'm probably www-data
wolverian apache2 and spamd 17:18
TimToady that's what commitbit runs as
moritz_ fridim: so what are you good at? perl? perl6? haskell? C? english?
daxim_ what is marty pauley's dialect of english called?
TimToady what is sslh? 17:19
fridim I know a bit of C (how could we say this another way?), and perl
TimToady lysdexsik: okay, commitbit on its way
it is customary to add one's name to AUTHORS as one's first checking to make sure things work 17:20
fridim moritz_, and I'am french
moritz_ fridim: diakopter++ suggested to write evalbots for kp6 and p6-on-parrot, and maybe combine them with the pugs svn bot...
fridim: maybe you want to do a bit of work in that direction? 17:21
DarkWolf84 goodidea
TimToady fridim: do you have a commit bit?
moritz_ fridim: or you could learn perl 6, and write more tests
fridim TimToady, no. 17:22
moritz_ then /msg TimToady your email address
fridim ok. 17:23
lysdexsik thanks a lot for the commitbit :) 17:24
TimToady fridim: use "fridim" for your svn id? 17:25
fridim Yes, writing perl6 code to provide more test sounds good to me :)
TimToady, yep
TimToady I don't think sslh should be looping 17:27
I've reniced it
moritz_ fridim: or porting p5 modules to p6 might be fun as well
fridim indeed
TimToady but someone who knows what they're doing should probably glare at it
moritz_ especially if they don't do much low level stuff (pugs is not so good with that)
TimToady fridim: commitbit sent 17:28
[particle] sheesh, TimToady, you're turning into an ambassador for perl or something...
when did that happen?
TimToady oh, 'bout onescore and zero years ago. 17:36
[particle] 17:39
TimToady that goes without saying
[particle] it should have been left unsaid 17:40
TimToady you can say that again
fridim Ok, commitbit works just fine
TimToady ...customary...AUTHORS... 17:41
fridim thanks, I have some tickets to read now :)
Juerd TimToady: You can probably reach feather now 17:44
TimToady: Could you please try and let me know?
TimToady yes, I've been handing out commitbits like candy
Juerd [particle]: And as for your network, I have no idea - please let me know
[particle] Juerd: working now! 17:45
TimToady Juerd++
do you know whether sslh should be looping?
I reniced it, but I expect it's probably hung
Juerd Neat
sslh is `supervise`d 17:46
So it restarts if it's killed, after a 1 sec delay
TimToady that's good to know
Juerd I'm seriously considering removing sslh altogether. It's nice, but for some reason hogs resources, and nobody seems to have tuits to fix it.
And I'm still waiting for TPF's money to upgrade feather 17:47
17:47 Psyche^ joined
TimToady okay, killed it, and it restarted, apparently 17:48
Juerd That's what supervise does 17:49
To shut a supervised service down, cd /services; svc -d $dirname
d for down
afk # spare ribs 17:50
17:51 justatheory joined
ingy morning 17:54
TimToady ingy: yo! 17:55
[particle] hey there ingy
moritz_ good evening ;) 17:56
DarkWolf84 good evening ingy 17:59
:)
17:59 iblechbot joined
DarkWolf84 bot? 18:00
moritz_ no
18:01 Aankhen`` left
ingy Hi fellas 18:04
ingy is still waiting for some free time to hack on Pugs....
maybe do a s/libsyck/libyaml/ 18:05
unless that's done already
18:05 Patterner left, Psyche^ is now known as Patterner 18:06 justatheory left 18:13 jisom joined 18:14 justatheory joined 18:20 Aankhen`` joined 18:31 apple-gunkies joined 18:32 jisom left, jisom joined
lysdexsik from the pugs repositiry, i'm running this: 18:32
18:32 REPLeffect joined
pasteling "lysdexsik" at 87.65.6.230 pasted "checking test smartlinks (pugs revision 17260)..." (17 lines, 1.6K) at sial.org/pbot/26890 18:32
lysdexsik how am i supposed to fix, for example, ERROR: t/builtins/io/dir.t: line 7: pattern ``"closedir"'' if i don't find references in S16 about closedir? 18:33
(in fact if you are searching, there's no closedir keyword in the synopses produced...) 18:36
18:38 ruz joined 18:39 IllvilJa joined, stevan__ joined
moritz_ looking... 18:39
there is an IO::DIR::open() 18:40
no mention of opendir() 18:41
so I guess it should be changed to IO::DIR::open
TimToady: or did you change your mind? ;-) 18:42
;-)
18:42 barney left, devogon left
moritz_ I assume the IO::DIR class will define a close() method as well 18:42
lysdexsik moritz_, so i can safely modify: 18:44
# L<S16/"Filehandles, files, and directories"/"closedir">
into:
18:44 stevan__ left, stevan_ left
lysdexsik # L<S16/"Filehandles, files, and directories"/"IO::DIR::close"> 18:45
moritz_ sorry, it's Dir, not DIR
and since it doesn't exist yet, mark it with an XXX and point it to IO::Dir::open for so long
that's not entirely correct, but it's not a broken link at least 18:46
lysdexsik ok, i know it sounds stupid, but where do i put the XXX before the smartlinks in a comment?
moritz_ yes 18:47
lysdexsik ok
moritz_ or after it
lysdexsik thanks
moritz_ np
18:54 stevan_ joined 19:00 d4l3k_ joined 19:01 dalek left 19:07 dalek joined, toly_ joined, Juerd_ joined 19:08 toly left 19:09 stevan_ left 19:10 wolverian joined, dalek left 19:11 dalek joined, d4l3k_ left
pugs_svnbot r17261 | moritz++ | t/syntax/comments.t: fixed one of two broken smartlinks 19:11
diff: dev.pugscode.org/changeset/17261
lambdabot Title: Changeset 17261 - Pugs - Trac
[particle] is there a one-line pod comment in perl 6? 19:13
moritz_ not that I know of
[particle] too bad :(
moritz_ why? 19:14
[particle] we could use it for smartlinks
i expect the smartlink syntax will change
i wonder what it will change to
needs to be compact and simple, like now 19:15
but valid perl 6 pod would be nice
diakopter [particle]: I thought perl 6 pod was now quite up in the air, pending any messages on perl6.language since the "I'm blocking this thread indefinitely" message from Damian? 19:16
[particle] diakopter: i don't expect a complete syntax rewrite
honestly, i haven't followed that thread. it got way too deep for my attention 19:17
moritz_ daxim++ # ASCII-Art in t/README
diakopter [particle]: ironically for you, one-line comments/pod were at the heart of the thread. 19:18
[particle] excellent!
daxim_ I also uploaded a new smoke, r17259/snapshot/linux 19:20
~1h with nice -15, not bad
19:21 masak joined, yoghourth joined 19:22 stevan_ joined
pugs_svnbot r17262 | moritz++ | fixed smartlink in t/data_types/pair.t 19:23
diff: dev.pugscode.org/changeset/17262
lambdabot Title: Changeset 17262 - Pugs - Trac
yoghourth i'm looking at the smartlink in t/syntax/comments.t: line 128: pattern "always a line-end comment" (# L<S02/"Whitespace and Comments"/"always a line-end comment">)... it's quite strange, because if the smartlink is "a line-end comment" it matches, but with the word "always" before it doesn't yet it's in S02.html and it doesnt even look special when i look at the html source...?! 19:36
diakopter yoghourth: probably an encoding discrepancy..
yoghourth diakopter, can you tell me where the S02.html comes from, so i can check? 19:37
19:37 franck___ left, franck___ joined
yoghourth (it is created when i run util/smartlinks.pl 19:37
[particle] it comes from S02.pod 19:38
19:38 lysdexsik left, jisom left
[particle] that's in docs/Perl6/Spec 19:39
yoghourth [particle], in fact i was asking because when i do "./pugs$ find . | egrep -i s02" i don't find it... ? 19:40
ah ok, i''l look in that
thanks
19:41 yoghourth is now known as lysdexsik 19:42 franck____ joined, franck___ left 19:45 franck___ joined, franck____ left 19:47 franck____ joined, franck___ left 19:49 rindolf joined 19:53 cmarcelo joined, koye- joined 20:03 JarJarBi1ks left, JarJarBinks joined 20:04 chris2 joined 20:08 Aankhen`` left 20:11 koye left
lysdexsik diakopter, and if it is not an encoding discrepancy? 20:11
20:11 masak left
lysdexsik diakopter, i check both in hexadecimal, they're the same 20:11
20:13 rindolf left
[particle] lysdexsik: my copy of S02.pod doesn't have "always" 20:15
However, an unexpected closer is treated as a line-end comment, on the
lysdexsik [particle], checking out again pugs... but the line i was trying to mathc is in S02 (docs/Pel6/Spec/Syntax.pod) "at beginning of line is always a line-end comment", the smartlink is in t/syntax/comments.t line 128 20:24
pugs Checked out revision 17262 20:25
20:25 koye_ joined, koye_ is now known as koye
[particle] that's in Literals section, not Whitespace and Comments 20:26
lysdexsik now you can call me stupid, and bash me because i wasted your time 20:30
and mine for over an hour
i'm sorry for it
but thanks for pointing that out 20:31
[particle] think of the hours i saved you :)
lysdexsik i was looking at everything i could probably do wrong, but i didnt even read the html/pod file.... thanks 20:32
[particle] utsl
lysdexsik utsl? 20:33
20:33 franck____ left 20:35 cerridwen left
[particle] use the spec, luke :) 20:37
lysdexsik i'm new to all this 20:38
;)
but thanks for your help :)
[particle] no, thank you! if i weren't lazy and incompetent, i'd have finished implementing perl 6 by now. you're doing a good job of picking up my slack. 20:40
20:42 koye- left
lysdexsik count on me to always find the weird stuff that have those weird effects on the world you're trying to design, if we would live in The Matrix, nobody would call me Neo, nor the Oracle, but there's chances that they would all see 59 times the same cat moving around in the same way again and again... for one thing i hope you're lazy, but you're far from incompetent ;) thanks for your help ! 20:46
it's my first day with a commit-bit and subversion (and even participating on an open souce project), i have some questions, i'll split them: 20:47
1) i notified all my changes in code with comments including the string "[lysdexsik]" (i'm used to that so it's easy to retrieve changes), i suppose it's unnecessary, so i'll remove them if it is the common use here.
2) using ./pugs/util/smartlinks.pl --check /*/*.t t/*/*/*.t, it looks like i've brought down 8 broken link with 0 broken links. I know it's small, but it's a start anyway... how do i commit?
thoughtpolice lysdexsik: svn commit --username lysdexsik 20:48
:)
lysdexsik and it's not to commit [lysdexsik] changes, you all helped me here
thoughtpolice, is there a way i can check what are the changes between local files and the repository ones? 20:49
thoughtpolice lysdexsik: svn diff
lysdexsik svn: Can't open file '.svn/entries': No such file or directory
thoughtpolice lysdexsik: hm :/ i don't work with subversion too much, but you're in the top-most level of the source tree? 20:50
lysdexsik yes
in the directory i run the svn checkout 20:51
[particle] svn info
lysdexsik svn: '.' is not a working copy
[particle] well there you go. something go boom with your working copy 20:52
diakopter inside /pugs
pugs/ I mean
lysdexsik ah ok
thoughtpolice lysdexsik: if you ran svn checkout in /usr/src to download the source to pugs/, you must be inside pugs/
diakopter svn info pugs
lysdexsik ok it works inside pugs
thoughtpolice lysdexsik: also before you commit make sure you won't cause issues by first running update,
diakopter lysdexsik: what's your svn username?
[particle] great, now you can svn diff (or svn st to list filenames)
lysdexsik lysdexsik
diakopter ok 20:53
20:53 koye- joined
lysdexsik diakopter, lysdexsik TimToady gave that to me today 20:53
diakopter excellent; great
lysdexsik :)
thoughtpolice lysdexsik: while you're inside the pugs tree/ you can commit by just running svn commit --username lysdexsik
and giving your password 20:54
also, since you'll be working with subversion a bit, I recommend you read through some of this:
svnbook.red-bean.com/
lambdabot Title: Version Control with Subversion
lysdexsik well i dont want yet
i'm used to add [username] to each line i modify (in comment before or after), i guess those line are unecessary?
diakopter yes; subversion stores that information elsewhere... 20:55
(so don't duplicate it) :) 20:56
thoughtpolice lysdexsik: yes, generally version control systems are quite aware of who did what change, so you don't necessarily need to duplicate such info.
[particle] however specifying *why* you made the change is important 20:57
20:57 REPLeffect left
[particle] use -m "foo" for that 20:57
thoughtpolice lysdexsik: like I said you'll be working with subversion a bit so I recommend reading that link I posted above, it's a good free introduction to subversion and you can get the basic tenets down pretty quickly. :) 20:58
20:59 iblechbot_ joined
lysdexsik thoughtpolice, i'm downloading the website with the documentation, and removing comments with my name 21:01
thoughtpolice, thanks for your help
thoughtpolice lysdexsik: np 21:02
lysdexsik hum, looks like i was wrong i still have two errors :( 21:09
but everything seems fine for the subversion explainaition you were all giving me
21:10 koye left 21:11 iblechbot left 21:13 BinGOs_ joined 21:18 Schwern joined, BinGOs__ joined
Tene weblogs.asp.net/alex_papadimoulis/a...08925.aspx 21:20
lambdabot tinyurl.com/9dzsq
21:22 BinGOs left 21:30 buetow left, buetow joined 21:32 BinGOs_ left 21:40 lysdexsik left, lysdexsik joined 21:41 Casan__ is now known as Casan 21:46 kanru left 22:00 jrockway left, Limbic_Region joined 22:01 koye- left, jrockway joined 22:13 yoghourth joined 22:16 yoghourth is now known as lysdexsik2 22:17 Schwern left
lysdexsik2 i'm having a problem with this last smartlink references, i try to grep the docs/specs but don't find any matches for "one-element" (and forget about mapping on the same line, if it's not the test file) 22:25
here's the output:
pasteling "lysdexsick" at 80.200.229.65 pasted "Problem with this last reference" (9 lines, 613B) at sial.org/pbot/26893
22:28 rfordinal_ joined 22:29 lysdexsik left 22:30 lysdexsik2 is now known as lysdexsik
lysdexsik what is a `Pair "one-element Mapping"'? 22:32
Tene lysdexsik: (foo => "bar") 22:33
lysdexsik Tene, ok thanks
[particle] lysdexsik: the third section in smartlink is keywords 22:34
so it's looking for /.*Pair.*\Qone-element mapping\E.*/ in the Immutable Types section
lysdexsik [particle], yes but grepping for /one-element/ doesn't bring any results 22:36
and if i look at the text shown for "Immutable Types", and at the test file (t/var/passing_the_pair_class_to_a_sub.t) what does it match? Mapping or Set/Bag? i'm not even sure it shoudl link it to that because there's no explainations for whaat we're testing there....? 22:41
srory for the bad english
damn, s/srory/sorry/! 22:42
[particle] yep, agreed. the comment below the smartlinks says as much
lysdexsik perhaps i can leave it like that
in fact TimToady asked me to have a look at the smartlinks and do something about them 22:43
i didn't knew what so i first tried fixing those
it's the first time i do something for an opensource project 22:44
i'm a little lost
22:45 rfordinal left, fridim left
lysdexsik may be some can suggest something i can do, i have 8 hours left of free time 22:45
[particle] well, there are plenty of tests that don't have smartlinks 22:46
adding them where appropriate would be quite helpful
lysdexsik that's what TimToady told me, but i dont know well enough the synopsis to do something usefull 22:47
[particle] ah, i see.
lysdexsik if i could make a script to do something, or eventually just make spelling/grammar corrections on the files
Tene lysdexsik++ # enthusiasm is great
lysdexsik i will be great for the following hours, tomorrow, i'll be off ;) 22:48
[particle] wonders if there's a perltidyrc file that could be applied to pugs perl 5 source
lysdexsik probably for over 6 weeks ;)
[particle], how do i do that? 22:49
find all the perl file, apply perltidy, and test... but how? 22:50
[particle] well, i'm not sure there are coding standards here 22:51
or that a .perltidyrc file exists that folks have used before 22:52
i have some familiarity with pugs, but i'm mostly a parrot developer 22:53
our standards for committers are higher ;)
however, we have many fewer committers because of it :) 22:54
i believe there's more than one TODO file laying around in the pugs repo
also, there's trac.pugscode.org iirc which may have some tickets to work on 22:55
22:59 poky left
lysdexsik [particle], well i'm a very newbie at this, so it's better i don't touch sensitive stuff... the pugs TODO is non-existent (but grepping thru the directory tree yield over 8700 results...), though there's refenreces to perltidy in the source code, there's no perltidyrc (but i'll share my config with anyone who asks) 23:04
if there's anyone with an idea, or a suggestion about what to do next, i'm open 23:05
[particle] how about adding a perltidyrc file to the repo, and a way to run it on the source.
if folks don't like the format, they can change it and rerun
lysdexsik try it 23:06
SamB how do you avoid the superfluous commits this would cause?
[particle] you don't 23:07
either periodic cleanups, or proactive developers, or both
that's how parrot does it with our coding standards 23:08
SamB oh, I see what you mean now
[particle] plus, we have tests that make sure coding standards are being followed. so if developers run 'make test' before a commit, their source should pass the codingstd tests
lysdexsik [particle], well i don't see HOW?
SamB probably there aren't any coding standards yet? 23:09
23:09 DarkWolf84 left
lysdexsik even here, when we use RCS changing perltidy, means creating a new branch 2.0.1.1 and testing, then overwritting into 2.1 23:10
[particle] just run perltidy in your working copy, and commit 23:11
as long as you don't mix functional changes with it
23:11 cmarcelo left
SamB so probably you should really make a fresh working copy... 23:11
lysdexsik ok, i dont know for svn 23:12
[particle] sure, or run svn status --no-ignore
that'll tell you if you have any files that shouldn't be there, or have been modified
well, if they're marked with I it means they're ignored by svn 23:13
lysdexsik but i frequently run perltidy on the stuff we're coding for (medium business apps) and i'm recently running perl's best practice
(but it sucks a lot)
and when i mean medium business apps, it means there's 3 developers going near the gobi desert in tents with laptops for the next month and a half... 23:15
thinking about that i loose time 23:16
what can i do
?
[particle] hrmm, i wish i had better ideas 23:19
obra: ping
obra is the perl 6 project manager. if he's around, maybe he has ideas or can point you in the right direction 23:20
23:23 daxim_ left, daxim_ joined
obra [particle]: pong 23:24
[particle] hey there obra 23:26
we have a new committer looking for things to do for the next 8-12 hours 23:27
any ideas on what needs doing?
lysdexsik i'm ready 23:28
diakopter thinks 23:33
diakopter still thinks 23:39
lysdexsik: you're a perl user. what do you use it for? 23:40
obra [particle]: I'd probably say picking a simple parrot ticket and going after it. or maybe writing tests for a synopsis that has bad coverage
more tests is always wonderful
lysdexsik diakopter, from downloading the content of web site to checking the integrity of some backup files 23:41
23:42 chris2 left
lysdexsik diakopter, the last interresting trick i did was downloading all the fonts from creamundo.com, it seems protected by a gotcha, but nothing that ocr tools in linux can't solve 23:44
perl is just a glue between different tools 23:45
no, in fact is The Glue between different tools
s/in fact is/in fact it is/ 23:46
ingy I'm kinda interested in starting to migrate pugs from libsyck to libyaml 23:49
23:49 Blwood__ left
ingy anyone know where I should begin? 23:49
lysdexsik and that's what "i use it for", for my work we use perl to analyse scanned documents and reporting some "interesting" statistics
you're the one working on lib yaml? 23:50
ingy I'm not the author of libyaml, but I wrote the perl5 binding 23:51
lysdexsik ok
ingy and so far haven't found a single bug in libyaml.
lysdexsik i perhaps have something interresting for you, give me a few minutes
ingy there are lots of bugs in libsyck
ok
sure
:)
lysdexsik thanks 23:52
23:52 buetow left
ingy grabs the latest pugscode 23:52
lysdexsik ingy: i'm starting an old computer here 23:54
ingy, i had a probelm with yaml re-indenting sutff (you read a yaml file and write it again, the file change each time) 23:55
ingy well that stands to reason 23:56
lysdexsik ?
ingy there are million ways to yaml encode any given data
but it will always write in only one way 23:57
well maybe not a million, but more than one 23:58
I assume you are saying that when you Load some given YAML and Dump it again it changes 23:59
then again it should only change to the canonical form once