www.parrot.org/ | Parrot 1.4.0 "Mundo Cani" Released! | Planet Parrot planet.parrotcode.org/
Set by moderator on 3 August 2009.
00:07 davidfetter joined 00:27 theory joined 00:32 AndyA joined 00:50 TiMBuS joined 00:56 patspam joined 00:59 nillo joined 01:06 wayland76 joined 01:14 bkuhn joined
Coke gets YA bizarre PIR error. 01:44
Coke does not like that macros screw up lines numbers in reporting. 01:45
treed +1 01:52
purl 1
02:06 theory joined
nopaste "Coke" at 72.228.52.192 pasted "guess which line the error is actually on." (6 lines) at nopaste.snit.ch/17464 02:09
Coke (line 708 of runtime/builtin/string.pir)
chromatic I guess... line 708?
Coke ... *THWAP* 02:11
the line is len = length the_string 02:12
where len is defined as 'int', and the_string is a 'string'. I'm stumped. 02:13
chromatic NO idea. 02:15
Coke cleaning up remaining errors first, we'll see what's left. 02:17
ah. ".local int length" 02:21
(*#&$@#>
known issue, IIRC. 02:22
chromatic Ah.
Coke I was converting a bunch of helper .Subs into a big switch; the .local int length was ok in the one sub, but infected the single large compilation unit. 02:23
IWBNI macro line # reporting could tell the difference between code in the macro and code passed into the macro. 02:25
chromatic That's... tricky. 02:26
Coke ayup. 02:33
wtf. I did a 'git commit' and quit out. but now 'git diff' shows nothing. 02:34
02:35 janus joined
Coke git diff -cached is now showing that diff is pending a push, too. 02:37
good thing I can edit that commit message. :P 02:38
msg cotto tcl does not yet do hll annotations, help welcome. =-)
purl Message for cotto stored.
chromatic You have to git svn dcommit to push to an SVN repo. 02:39
Coke yes, I get that. I have a bunch of commits that don't have any commit messages in the local git repo. I'd like to edit them before I push them back. 02:43
is that possible? (apparently just aborting out of the 'git commit' vi session was not sufficient to abort the commit.)
chromatic Yes, it is. I don't remember how though. 02:44
git commit --amend, I believe. 02:46
Coke that shows me a commit that is, I think, 3 commits ago. 02:47
... but it doesn't show me the commit that had no message. 02:49
git log shows me everything but that last commit with no message.
(but the diff is in 'git diff --cached', not 'git diff') .... *cry*
chromatic No idea. 02:50
Coke ... back to svk it is. :P 02:51
kid51 But Coke, this year all the *cool* kids are using git ...
chromatic You're tempting the git experts here to tell you what you did wrong. Nice. 02:52
kid51 ... svk is so 2006!
Coke chromatic: first thing I did wrong was try to use git!
kid51 bid $95 to get the git book in the auction at YAPC.
kid51 aspires to be cool some day, too.
Coke GAH. it squashed 4 commits into a single commit. 02:58
WTF.
msg tene something to cover in your tutorial: - 'git commit' doesn't let you abort out by quitting the commit message like 'svn commit' does.
purl Message for tene stored.
Coke msg tene - nice to know how to edit commits locally before pushing them back. 02:59
purl Message for tene stored.
Coke msg tene - helpful to know that the default seems to be to squash all local commits into a single commit back to the svn repo.
purl Message for tene stored.
Coke git--
dalek rtcl: r567 | coke++ | trunk/ (13 files):
PerlJam++ suggests using the .gitignore file for this
03:00
wayland76 Hmm. I'm sure my git commit message *claimed* that it would abort if the file was unedited 03:08
But I've never tested it
(I'm not a big git fan, but it seems to be unavoidable these days)
Btw, for those who aspire to be git people and aren't there yet, the best thing I've seen is the diagram in osteele.com/archives/2008/05/my-git-workflow 03:09
03:11 JimmyZ joined 03:21 TonyC joined
cotto Coke, I was asking because they'll come in real handy when profiling is ready. 03:25
03:26 Andy joined
cotto chromatic, ping 03:41
chromatic pong 03:44
cotto what's happening with pluggable_runcore?
chromatic Refactoring is in progress. Mostly I need time to sit down and Just Code It. 03:45
cotto eta?
purl eta is estimated time of arrival or Euskadi Ta Askatasuna, or like the Basque PLO
chromatic If I get down to it, the next day or two. Are you starting to block? 03:46
cotto no. I won't block for a while, but it'd be nice to start having something to commit. 03:48
chromatic I'd like to get it out of my head and into code too. It's partly there. I'll push on it to make it a priority. 03:49
cotto *to commit to
Thanks!
I thought I had the callgrind convertor working, but I just realized that one of my assumptions was broken.
chromatic Oh> 03:50
?
cotto just a detail that means a moderate amount of rewriting. nothing fundamental 03:51
chromatic Do we have sufficient information for the transformation?
cotto Yup.
chromatic Excellent.
cotto mksig.org/parrot/callgrind_parrot.png 03:54
chromatic That's the ticket. 03:55
nopaste "cotto" at 74.61.2.46 pasted "the pir used to generate the above screenshot" (58 lines) at nopaste.snit.ch/17465
cotto Yup. Just need to get the numbers right.
bacek_at_work cotto++ # yay! profiling!
chromatic Are they not right? 03:56
03:56 dukeleto joined
cotto The percentages are wrong. 03:57
chromatic The call chains look right. 03:58
cotto Yeah. I just goofed some cost calculations. 03:59
I'm excited.
04:02 mj41_ joined 04:07 dukeleto joined 04:19 theory joined
cotto Yay! It works correctly now! 04:29
Now all I have to do is get the code to the point where I'm not embarrassed for people to see it.
bacek_at_work cotto: it compiles? Ship it! 04:33
wayland76 Nonono, he's got to make the code also appear like an ASCII graphic of a spiral :) 04:36
bacek_at_work Dolphin! RSA dolphin! :) 04:38
cotto My current code hijacks the slow runloop, so committing it probably wouldn't be a good idea. 04:41
bacek_at_work cotto: is it in branch? 04:47
ship it! :)
bacek_at_work departing to next meeting...
cotto bacek_at_work, no branch atm. I'm waiting for pluggable_runcore to be ready. 04:50
dukeleto i am trying to make "eval" work in parrot_debugger. halp? 04:56
dalek TT #901 created by dukeleto++: eval is broken in parrot_debugger 05:02
chromatic You could check it into the branch as a separate runcore and I'll refactor it in place, if you like.
I should have things ready soon though. 05:04
cotto That sounds like a good idea. 05:06
chromatic No real preference here. 05:07
cotto chromatic, at what point did you read through all the core PMCs? 05:11
eternaleye Coke: git commit aborts if the commit message being edited has no non-comment non-whitespace text 05:13
chromatic Christmas 2007, I think. 05:15
dukeleto is there a document that describes what parrot commit messages should look like? 05:16
chromatic [subsystem] Report 05:17
05:20 theory joined
eternaleye chromatic: BTW, nice ModernPerl post. I really like the posts you make there, keep it up! 05:20
dukeleto chromatic: many people use [TT #] and [cage] as well. or [branchname]. just wondering if there was a canonical description somewhere
eternaleye is hoping for modernization of P5 to become the norm
davidfetter where's the modernperl post? 05:27
chromatic www.modernperlbooks.com/mt/2009/08/...-bugs.html 05:29
davidfetter reads 05:32
dukeleto good stuff 05:49
05:58 uniejo joined
davidfetter wonders to what extent, if any, this approach was inspired by postgresql's memory contexts 06:03
www.postgresql.org/docs/current/sta...emory.html 06:05
chromatic I haven't looked at them, so no inspiration there from me! 06:25
davidfetter heh 06:27
anoncvs.postgresql.org/cvsweb.cgi/p...E?rev=1.15 06:40
i know, i know. we're moving to git. it's probably going to take another year 'til we're done :( 06:41
dalek kudo: 24b26a0 | pmichaud++ | docs/spectest-progress.csv:
spectest-progress.csv update: 426 files, 12179 passing, 8 failing

   S12-enums/basic.rakudo aborted 2 test(s)
   S12-introspection/walk.t aborted 6 test(s)
07:08
07:23 NotFound joined
NotFound hi 07:23
purl bonjour, NotFound.
07:26 HG` joined
cotto Nice. Some dude's car alarm just spend the last 3 minutes going off. 08:32
I imagine he's not happy about having that happen at 0130. 08:33
dukeleto probably not
cotto: i just made some small tweaks to parrot_debugger as well as adding some tests, a quick look over from you would be nice, if you can spare a few minutes 08:35
dalek rrot: r40395 | dukeleto++ | trunk (3 files):
[parrot_debugger] Improve error checking of eval, add tests and untodo-ify tests relating to TT#889
08:36
NotFound dukeleto: see my comment on TT #901
dukeleto NotFound: interesting 08:37
i saw that ticket before, but totally forgot about it 08:38
NotFound: shall I get rid of PDB_compile, or is that still up in the air? 08:39
NotFound dukeleto: I'd like to hear some comments before. I'll ask on parrotsketch 08:40
dukeleto NotFound: sounds good
NotFound: can eval be implemented with some other compiler that is working?
or does that still need to be written? 08:41
NotFound dukeleto: I'm not sure that regularly compiling is a good idea in current parrot state. For example, if you eval I0 = 0, calling a compiled sub doesn't anything useful. 08:42
cotto dukeleto, I'd be glad to look over your changes, but why me? 08:43
dukeleto cotto: they are very basic, mostly just looking for a "code review" to make sure I am not doing something against the grain. it was r40395 :) 08:44
so if your tests pass in r40395, that is the majority of it 08:45
NotFound: i guess what I am after is, what is the simplest possible implementation for a working eval in parrot_debugger ? 08:46
NotFound dukeleto: If I had an idea about that, I've implemented it ;)
dukeleto NotFound: should eval look at the AST of the given code to determine if it should be compiled? does that even make sense? 08:47
NotFound: isn't there an Eval PMC? 08:49
NotFound dukeleto: What AST?
purl i guess AST is Abstract Syntax Tree or Atlantic Standard Time or Andrew S. Tanenbaum
cotto dukeleto, I don't trust my evaluative skills at 0150. I'll take a look at it tomorrow morning. 08:50
dukeleto NotFound: one could build one for the given command, no? perhaps my rakudo-land thinking is getting me in trouble here 08:51
cotto: sounds good to me. I am about to hit the sack as well
NotFound: I don't think I understand all the parameters of the problem yet, so I will invariably be asking some really dumb questions
NotFound dukeleto: no one fully understand parrot debugger or how to improve it. That's the reason it's so stalled. 08:53
IMO
chromatic One problem is that the PIR compiler is essentially IMCC, which has no connection to PCT/NQP.
There *is* an AST, but not in the PCT sense, and not introspectable from PIR. 08:54
... without the use of some grotty NCI that no one should write.
dukeleto NotFound: that is at least comforting :) I must say, it took me 2 weeks of reading the perl 5 debugger source to make a one line fix, while I have been able to write over 30 tests and fix a few bugs in the parrot_debugger in a few days. That has gotta say something about it
NotFound dukeleto: be content you don't looked at it before I doed some cleaning and improvements some monts ago ;) 08:55
chromatic For one thing, I'm not putting my PhD in evilology to good use.
dukeleto NotFound: touchƩ
chromatic: do you have any ideas about implementing PDB_eval in something close to Parrot's current state? or will it require some large changes? 08:58
nopaste "mikehh" at 90.208.192.110 pasted "PATCH for codetest failures in r40394" (26 lines) at nopaste.snit.ch/17466
chromatic We'd have to get a self-hosted PIR compiler working better first. 08:59
That's not likely to happen in the next couple of months.
NotFound dukeleto: I think that the most practical way in the current state is to forget fully eval and implement things like assigning values to registers. 09:00
09:00 lnostdal joined
mikehh src/gc/mark_sweep,c fails two subtests in t/codingstd/c_parens.t - if( and space before trailing parems 09:00
dukeleto chromatic: ok, good to know. i will divert my attention elsewhere until I have the tuits to attack it
NotFound: that sounds like something I could accomplish 09:01
cotto chromatic, this may be a bad idea that I'm too tired to filter out, but what if instead of having a profiling runcore, we had hooks in the right places so that we could profile with any runcore?
NotFound dukeleto: will be useful feature IMO
dukeleto NotFound: do you have a preference for the debugger command name used to assign registers? perhaps 'assign' ? which could have the useful one character "a" as a shortcut
NotFound dukeleto: just pick any name and document it as 'experimental' in DEPRECATED 09:02
dukeleto something like: (pdb) a I0 42
NotFound dukeleto: looks good 09:04
09:04 AndyA joined
dukeleto NotFound: sounds good, I will start a-hackin' on that 09:04
NotFound In fact the full parrot_debugger is experimental, but some parts are more experimental than others ;) 09:05
chromatic cotto, that sounds like how DTrace works. How would that work here though? 09:07
cotto I'll need to think if it could work. 09:08
chromatic mikehh thanks, applied. 09:09
Have you sent in a CLA, by the way?
cotto good night
NotFound dukeleto: BTW your last commit looks good and builds fine
dalek rrot: r40396 | chromatic++ | trunk (2 files):
[codingstd] Fixed some coding standard mishaps in recent commits (patch mostly
09:10
dukeleto NotFound: good to hear, thanks!
mikehh chromatic: still got to get my printer working - I was hoping to send it today or tomorrow
chromatic Okay. I want to get you a commit bit so you can fix these things directly. You know what you're doing, you know the lecture about not breaking things, so on and so forth. 09:11
dukeleto i smell fresh blood ;) 09:12
NotFound mikehh: you can go to Lisbon and give it by hand to somenone ;)
moritz let's summon the piranhas :-)
NotFound: then it still needs to be printed :)
chromatic I give him a week before he slaps Whiteknight's fingers for consistently missing that space between 'if' and '('. 09:13
moritz hah, if Whiteknight wants to write Perl 6 he can't write 'if(' anyway 09:16
because that's parsed as sub call
and if there's a { after 'if(...)' it's parsed as a syntax error :-)
09:17 wayland76 joined
chromatic Our rules aren't arbitrary. They're this way for a reason! 09:17
That reason *is* to pick on Whiteknight, but that makes it no less a reason. 09:18
NotFound I'm considering writing a language whose reserved words are in klingon characters, and user names in Tolkien's runes. That way they never conflict.
chromatic And Guido thought he had it right with Python. 09:19
mikehh aion't no strict in Python 09:21
s/aoin't/ain't/
whatever
wayland76 s/ain't/There is/ 09:24
NotFound: You could even do function names in runes, and variables in greek letters 09:25
mikehh just make them in the appropriate unicode codespace - different ones of course 09:26
moritz
.oO( double width latin characters for keywords, normal latin characters for user defined stuff )
09:27
NotFound wayland76: greek letter gives less geek points than klingon ones. 09:30
mikehh a totally DWIMmy input for the coder 09:31
wayland76 NotFound: Maybe, but more alphabets gives more Unicode geek points :)
moritz: Don't be so evil :) 09:32
NotFound And as a bonus, you can do talks about the language in Star Trek conventions.
wayland76 Oh yeah, throw in Hebrew too.
Then you could do your talks at both Star Trek and Bible conventions :) 09:33
moritz rtl scripts embedded in ltr scripts - now we're approaching real evil
wayland76 ΄αυ! Αλλ κινΓσ οφ כומ ׳ק בםוךג ישהק ׳ןאי איןד, Ψαν“τ ςε 09:34
chromatic That's an interesting way to transition between potentially ambiguous states in the parser.
wayland76 Hmm. My IRC client seems to have trouble with it :)
moritz recognises one character in there, and is happy
wayland76 Actually, it's 50% Greek, 50% Hebrew
NotFound Looks good, even if slightly funny, here. 09:35
wayland76 And 100% looking at the english letters on my keys
(So I should've said 50% greek letters, 50% hebrew letters, but not actual Greek or Hebrew)
mokurai wayland76: Do you have the fonts installed? 09:36
NotFound Use hebrew and greek for operators, and the language starts to looks like an algebra book.
wayland76 My actual Greek is limited to saying this like "Ιχθος τεκνον" (fish technology or something)
mokurai It's been done. APL.
wayland76 No, use APL for the operators :)
There's an APL section in Unicode
mokurai Actually, the APL characters are scattered over six blocks. 09:37
wayland76 And it's important not to confuse "APL Symbol alpha" with "Greek letter alpha" (they look identical)
mokurai Joey Tuttle made an APL font, and I redid it in Unicode.
NotFound Let's use both for completely different operations.
wayland76 mokurai: Yeah, I knew they weren't all together. I was using "Unicode" in the broadest possible sense
chromatic ichthos teknon, that's basically "Fish Technology"
moritz fishing technologoy? :-) 09:38
09:38 payload joined
mokurai Actually, all you have to do is encode UnLambda in 0O1l, or even better in WhiteSpace. 09:38
chromatic I don't *think* ichthos can decline to gerund form, but I don't know my Greek declensions. 09:39
mokurai Epi tes dotheisis eutheias peperasmene, trigonon isopleuron sustesasthai.
wayland76 I have two keyboards, one for English, and one for Greek/Hebrew/APL :)
moritz whitespace shouldn't be a programming language, it should be a transport encoding format :-)
then I could write Perl 6 in whitespace
mokurai A gerund is in a verb conjugation, not a noun declension. 09:40
chromatic Yes, but ichthos is not a verb.
mokurai Right, so it doesn't have a gerund. 09:41
NotFound moritz: in fact it is, but it encodes only brainfuck.
wayland76 Shouldn't "fish" in "fish technology" be in the genitive? 09:42
mokurai No, that would be technology that fish use.
chromatic For "decline to" read "take the root of, verbify it, then conjugate"... sort of a linguist pun. 09:43
Like most linguist puns, it suffers everywhere but the mind of the creator.
mokurai Oh, well, in that case, we'll quantify it instead. Take the square root of the probability in conjugate phase space, and...
There's definitely something fishy about that. 09:44
NotFound We can steal a thing from brainfuck for our brand new language: everything written in comprehensible characters is a comment.
wayland76 Ok, so what is "cat technology"? I mean, is it technology that cats use, or something else? :)
mokurai LOL 09:45
mikehh linguist puns? linguist is redundant
wayland76 LOLfish?
chromatic Technology that cats ignore, except to sleep on.
or shed on
or knock off of horizontal surfaces onto lower horizontal surfaces
09:45 payload joined
chromatic Gravity is a cat technology. 09:45
wayland76 Especially if the cat has a piece of buttered toast strapped to its back 09:46
mokurai "Gravity is just another option." Icanhazcheeseburgerz
09:48 bacek joined
bacek o hai 09:48
mikehh welcome
wayland76 o/ bacek
Ī±ĻƒĻ€Ī±Ī¶ĪæĪ¼Ī±Ī¹ σε 09:49
moritz somehow this language and script thing is getting scary :-)
bacek wayland76: it's Greet, not Cyrillic :) 09:50
mokurai actually icanhascheezburger
I hesitate to bring this up, but we do in fact have a LOLparrot. 09:51
09:51 JimmyZ joined
moritz and Lorita is in planning 09:51
that's only one character away from beginning with lol
chromatic Lorita or Lorito? 09:52
moritz erm, o
wayland76 bacek: If you backlog, you'll see why I used Greek
NotFound We can have both, and start a family
wayland76 I don't have a Cyrillic keyboard layout handy
mikehh Universal Unicode Keyboard :-} 09:53
get that one with the LED keys and switch languages with one keystroke 09:54
NotFound Three are nice japanese keyboards with several thousands keys.
s/Three/There
moritz hey, would about a 16k keyboard, and a switch for the Unicode plane? :-)
NotFound They had mechanic typewritters with such keyboards. 09:55
moritz: better use an hexadecimal keyboard, and keep in your memory all character's codes. 09:56
moritz NotFound: that's so web-1.0
NotFound I think is Web Negative NaN 09:57
mikehh they used to have card punches with al twelve keys that you punched the characters - one at a time pushing the necessary keys 09:58
bacek chromatic: there _is_ PIR parser in PCT :) It just need some love to became compiler
NotFound Platonic love? 09:59
09:59 uniejo joined
mikehh very Tender Loving Care 09:59
bacek NotFound: hardcore coding and CS stuff 10:00
NotFound I'd like better Wii Sports.
10:01 pjcj joined
wayland76 "That one with the LED keys" = Optimus Maximus, made by Art Lebdev 10:05
10:06 donaldh joined
wayland76 I've already spent $300 on keyboard-related items this year, I'm not going there :) 10:06
NotFound I said several thousand keys, not several thousands dollars.
wayland76 NotFound: That's a little exaggerated -- the Optimus Maximus is between $1000 and $2000 10:07
(That was in response to mikehh, btw)
Have you got a link to a picture of the Japanese keyboard?
NotFound wayland76: no, I have it on magazine from the '80
An article about japanese word processors. 10:08
wayland76 Hmm. Google images didn't come up with anything. Oh well :) 10:09
NotFound For the youngs here: Yes, we had word processores in the '80 ;)
dalek ose: r89 | Austin++ | trunk/ (6 files):
Grammar refactoring checkpoint. Visitor works a little.
10:10
wayland76 And even in the '70s, although I didn't have access to a computer until 84/85 10:11
NotFound Well, the magazine is from the very early '80, so I guess the machine was from the '70 10:12
10:13 baest joined
NotFound I got a ZX-81 shortly after, wich has a little less keys ;) 10:13
mokurai NotFound: Was that the Xerox JStar? 10:16
NotFound mokurai: It can be, don't have the magazine at hand now. 10:17
mokurai mikehh: Check out the XO-2 design, with dual multitouch haptic screens, one used for either typing or music keyboard. 10:18
10:18 uniejo joined
NotFound The article mainly talked about two comepting techologies: full keyboard, and syllabic keyboard with assisted translation to kanji, or something like that. 10:19
mokurai NotFound: The JStar was the first Japanese word processor with Kana-to-kanji conversion. 10:20
The 8010 Star line was Xerox's attempt to commercialize Smalltalk.
NotFound mokurai: then it can't be the machine with the big keyboard, I guess. 10:21
mokurai NotFound: I have seen a Japanese typesetter with a glass plate containing several thousands characters to be lined up one at a time.
NotFound: When I was in the Peace Corps in Korea, we had a typesetting service that used a Linotype with about 2,000 keys. 10:22
NotFound: There have been several hundred systems for typing hanzi/kanji. 10:23
NotFound And some people here doesn't even like keyboards with just 102 keys... ;) 10:24
mokurai NotFound: IBM once had a very nice chord keyboard with just 15 keys, and over 4,000 possible combinations. 10:25
NotFound mokurai: surely the need to build such machines was a good motivation to become good manufacturers ;)
mokurai NotFound: Kitteh likez keybored. 10:27
10:28 mokurai left 10:49 JimmyZ joined 10:53 uniejo joined 11:21 donaldh joined
bacek Is parrot-dev available via nntp? 11:21
nm. I found "Reply-to maillist" addon for thunderbird 11:27
11:30 TonyC joined
dalek a: f9c9ea7 | fperrad++ | src/pmc/lua (7 files):
clean up PMC (see TT #895)
12:00
12:08 ruoso joined 12:23 whiteknight joined
whiteknight good morning #parrot 12:24
cono hiya
12:31 quek joined 12:35 MoC joined
Patterner Is it normal that after a "make" a 2nd "make" still does stuff? 12:55
bacek Patterner: it "doesn't". make just checks various subtargets in subdirectories. 12:59
Patterner It does. It compiles .c files. 13:01
after the forth invocation it is satisfied and needs only a second to check that it has nothing to do. 13:02
bacek hrm...
Are you sure that your system clock isn't screwed? Because this behaviour is weird... 13:03
moritz Patterner: it always compiles xx.o for me
bacek summon masak to file parrot-bug 13:04
Patterner bacek: quite sure.
Patterner is running "fulltest" now...
bacek Patterner: do you mean "make" or "make fulltest"? 13:05
Patterner make
I don't expect "fulltest" to run in a second :) 13:06
bacek :)
Can you nopaste output from second make?
nopaste? 13:07
purl nopaste is at nopaste.snit.ch/ (ask TonyC for new channels) or poundperl.pastebin.com/ or paste.scsys.co.uk/ or App::Nopaste or tools/dev/nopaste.pl or at www.extpaste.com/ or paste.scsys.co.uk (for #catalyst, #dbix-class, #moose and others) or gist.github.com/ or paste or gtfo
bacek (Side question: do you run parallel make? E.g. "make -j3" or MAKEFLAGS="-j3" make) 13:08
Patterner no parallel. old powerbook...
paste after the test 13:09
nopaste "moritz" at 132.187.31.74 pasted "second make run" (36 lines) at nopaste.snit.ch/17467
bacek moritz: thanks 13:10
there is no "real" make.
It's just checking subtargets
moritz it compiles xx.c 13:11
dalek rrot: r40397 | NotFound++ | trunk/src/pmc/exception.pmc:
[pmc] clean up and some refactoring of the Exception PMC
bacek "ccache gcc ..." line is just information about how c can be compiled
moritz oh
Patterner I have more stuff than that...
moritz Patterner: did you do a realclean before the build?
bacek Patterner: nopaste welcome! :)
Patterner github is dead...
moritz: hmmm... maybe... maybe not... 13:12
Is "realclean" still necessary?
moritz sometimes, yes
bacek sometimes
purl sometimes I think you're off your rocker.
bacek departing to bed 13:23
Patterner: feel free to open TT ticket for make shenanigans. Log from second make will be very helpful 13:24
Patterner bacek: ack. 13:25
Patterner added it to OmniFocus :) 13:30
Coke msg cotto I have no idea how to get line number information out of PGE. 13:34
purl Message for cotto stored.
Coke finds 'git stash' 13:43
moritz balm for the tormented svn user 13:44
Patterner realclean + Configure.PL + make + make == WIN 13:47
(on my linux system)
the 2nd make makes nothing but xx.o
13:48 quek left
moritz great 13:48
Patterner and "make" is a symlink to "gmake"... 13:49
Coke so, git-users... how can I use git-svn to keep my commits back to svn separate? 13:53
13:53 quek joined
cono Coke: dcommit? 13:56
purl dcommit is very pick =P
Patterner either t/compilers/pge/pge_examples takes a long long time or it hung...
Coke cono; last time I did that, my 4 'git commit's that I had done locally wound up as a single commit to svn when dcommit'ting. 13:57
cono: Probably because I didn't do the right then when I did 'git commit'.
but I'm a git-newbie.
cono did not catch "separate" :D
Coke (if I run git-log, I only see one commit, but I ran 'git commit' multiple times)
cono Coke: git dcommit rebased your commits 13:59
Patterner How long should t/compilers/pge/pge_examples_2.pir run?
cono i guess
Coke: man git-svn /dcommit -> --no-rebase, dunno if it will help 14:00
Patterner great... if you kill pge_examples_2 it is still OK... 14:07
particle re perl #68164: why should 'end' be an unexpected parrot_op?
rt.perl.org/rt3/Ticket/Display.html?id=68164
end is a valid parrot op still, innit?
Coke cono: that says "after committing..." 14:08
cono yup
Coke so that doesn't read like what I want.
14:09 donaldh joined, Andy joined 14:18 JimmyZ joined
Coke hurm. I think the problem was because when I did a 'git commit' earlier, I 14:20
aborted out of the editor; after that, it looked like the commit was combined
in the local git repo. Trying it again, being sure to enter a message after
each 'git commit -a', it seems to work as expected.
14:22 quek left
dalek rtcl: r568 | coke++ | trunk/README:
Slight wording cleanup
14:23
rtcl: r569 | coke++ | trunk/runtime/builtin/string.pir:
use hllmacros
Coke so, that's better. 14:34
git++
14:40 theory joined 14:43 jimka joined 14:52 Psyche^ joined 14:57 MoC` joined 14:58 chromatic joined 15:09 quek joined 15:13 quek left 15:20 donaldh joined 15:31 satrac joined
satrac buildbot status 15:34
15:50 satrac joined 16:01 kj joined 16:03 nillo joined
moritz is there a #parrotsketch today? 16:16
pmichaud I probably won't be there. 16:17
I guess I could post a report.
chromatic Reporting is good. 16:23
Coke ooh. packy has a perl script that digs through your git log, and runs git rebase -i with all the items not dcommitted, letting you reorg, squash, etc. 16:29
Patterner URL? :) 16:34
Tene Coke: Um, no, it really doesn't do that. If your commits were all squashed together, you're doing something very very wrong. 16:36
Coke: if you could tell me what you were doing to produce that behavior, it would help a log. 16:37
chromatic That poor, helpless log. 16:41
particle By BLAMMO! 16:42
16:42 gaurav joined
Tene >< typing fail 16:43
particle yawns while waiting for search.cpan.org to load 16:44
Tene Coke: can you copy that section of your history? or from .bash_history?
moritz whom can I ask to find out if a particular CLA already arrived (TPF, not parrot foundation)? 16:45
Coke moritz: I'd hit the contact us section on the TPF site... but allison might work. 16:49
moritz Coke: thanks 16:50
Coke tene: checking, but 1) it seems to be working now. and 2) I think it had to do with trying to abort out of a git commit.
tene: do you have an account on feather? 16:51
Tene I do. 16:56
Coke enjoy. =-) 16:57
thanks for looking; I'm not sure you'll find anything helpful there.
Tene Coke: if you bail out of the edit, it won't make a new commit. So if you kept bailing out, you would have just kept adding to the same commit.
Coke tene: that's what I would have expected to happen, yes.
so I probably did something else. whatever it was didn't happen with the next set of commits/dcommit I tgried. 16:58
17:06 packy joined
Coke packy, hey. 17:07
packy Hey, Will.
Coke I was picking up git-svn for partcl - there's a wiki page on the parrot trac site, wondering if you'd mind posting your rebase script there. 17:08
packy Sure!
Coke (might help those git-svn newbies clean things up before their dcommit.)
tene's the one that's doing the docs so far, btw.
trac.parrot.org/parrot/wiki/git-svn-tutorial 17:09
dalek rdinal: 70c9913 | (Joeri Samson)++ | t/01-stmts.t:
Test gave the wrong result, fixed + added todo with appropriate issue number
17:10
rdinal: eec770a | (Joeri Samson)++ | t/11-slurpy.t:
Test used perlism .WHAT instead of .class, still fails though
rdinal: 9bd11c5 | (Joeri Samson)++ | t/integer/cmp.t:
Use true and false in test now that they are available

Signed-off-by: Ted Reed <ted.reed@gmail.com>
Tene Shouldn't the wiki page that talks about the new #ps format be in the #ps topic? 17:14
I fixed it!
Um, should HLL devs also be reporting in #ps? 17:15
treed I'm just there to watch.
Tene NO! YOU NEED TO REPORT! 17:16
DO IT NOW!
treed I can if it's wanted.
treed shrugs. 17:17
Tene I think it would be good.
dalek tracwiki: packy++ | gsquash attached to git-svn-tutorial 17:18
tracwiki: script to automatically perform an interactive rebase on commits not dcommited to SVN
tracwiki: trac.parrot.org/parrot/attachment/...ction=diff
treed I haven't done much in the last week, but I can discuss cardinal in the general sense. 17:19
17:19 joeri joined
Tene treed: Look at item 2 in the link in the topic of #ps. Especially point out if there's anything in Parrot that you're blocking on. 17:20
treed "free tuits"?
Is that like round tuits?
nillo what's a tuit? 17:21
purl here, have a round tuit.
Tene Yes.
If you have tuits of any other shape, feel free to report those as well, but we're mostly interested in the round kind.
treed As far as blocking, it's hard to say whether stuff I experience is Parrot breaking, or Cardinal being stupid. 17:22
Other than maybe the issue that you referred me to pmichaud about.
nillo nevermind 17:23
treed nillo: "When are you going to do X?" "When I get a round tuit."
nillo Yes, google knows all! :) 17:24
17:27 payload joined 17:34 davidfetter joined
packy Ok, I've added my squashing script and a little tutorial on squashing. 17:36
dalek tracwiki: v4 | packy++ | git-svn-tutorial
tracwiki: trac.parrot.org/parrot/wiki/git-sv...ction=diff
17:37 janus joined
packy I've got some info on branching I could add, but IME git branching is less collaborative when everybody's communicating through a SVN back end. 17:37
17:40 mokurai joined
Tene A bit. :) 17:43
PerlJam Tene++ for parrot IO
dalek tracwiki: v5 | packy++ | git-svn-tutorial 17:44
tracwiki: trac.parrot.org/parrot/wiki/git-sv...ction=diff
Coke packy++ 17:59
nillo spews forth more ignorance... 18:00
What's with the '++'?
dalek rdinal: c23a004 | treed++ | Rakefile:
Adjust what Rake tests use to determine if the parser's been changed.
treed nillo: Increases karma. 18:02
One of the bots here tracks karma. 18:03
Unsure how to check it.
NotFound treed?
purl i guess treed is the guy I'm trying to con into working on cardinal for me. :)
NotFound karma treed
purl treed has karma of 23
nillo ok, thanks 18:04
treed Ah.
nillo karma nillo
purl nillo has neutral karma
treed purl: treed is the guy who's been conned into workingon cardinal for tene
purl treed: i haven't a clue
treed Hm.
NotFound purl: good bot, have a cookie
purl thanks NotFound :)
18:11 allison joined 18:18 jan joined
davidfetter pictures allison doing ./configure; make visa; $EDITOR;./configure... 18:21
allison :)
18:22 preflex joined 18:24 hercynium joined 18:26 Hunger joined 18:30 pfig joined
GeJ Good morning everyone 18:41
treed 'lo 18:42
davidfetter mornin' 18:43
18:44 Hunger joined
cotto kj, how is pirc's test coverage? 18:52
kj cotto: not very good i think
not all the syntax is tested
basics should be tested i think 18:53
(from what i rmemeber)
chromatic We were going to move t/compilers/imcc to something else.
kj but i just found this week that the new "new" syntax, wiht using [ ] for types doesn't work
chromatic Less IMCC specific.
kj like, pf = new ['Packfile']
as it thinks the [ ] part is a key
cotto ok. I'm thinking about that because a well-tested compiler is much easier to modify with confidence.
kj you're absolutely right in that 18:54
18:58 einstein joined
whiteknight I expect a lot of thread-related issues will be worked out during the AIO stuff 19:04
since Im sure the one will use the other in some capacity 19:05
dalek tracwiki: v90 | kjs++ | WikiStart
tracwiki: trac.parrot.org/parrot/wiki/WikiSt...ction=diff
tracwiki: v1 | kjs++ | PIRCDevelopment
tracwiki: trac.parrot.org/parrot/wiki/PIRCDe...ction=diff
19:17 iblechbot joined
dalek rdinal: 57e210d | (Joeri Samson)++ | Rakefile:
Make parameters of two Rakefile constants
19:17
rdinal: 126a7e9 | (Joeri Samson)++ | t/file/dir.t:
Fix 'true?' to false in test, add failing tests for incorrect branch
19:20 donaldh joined 19:26 payload joined 19:27 gerd joined
gerd Hello Patrick 19:31
are you listen?
moritz gerd: chances are that pmichaud is absorbed by YAPC::EU and related activities... maybe you should write him an e-mail 19:33
gerd Hallo Moritz, schön von Dir zu hören, ich weiß nicht, ob wir hier deutsch miteinander kommunizieren dürfen 19:35
moritz gerd: English is preferred here
but of course you're free to /msg me 19:36
gerd My English is not good enough for ICCD
My English is not good enough for IRC
Hast Du interresse noch etwas für die Broschüre zu schreiben 19:37
Ich hätte gerne ein zwei gute Kapitel über Perl 6 in der Broschüre damit es kein Ladenhüter wird 19:38
Andy ping literal
purl I can't find literal in the DNS.
gerd Hallo Moritz, gebe mir bitte eine Antwort auch wenn diese negativ sein sollte 19:40
moritz gerd: sorry, I answered by private message
gerd: the answer is not "I'd love to, but I don't have enough time" 19:41
gerd Okay thank you, I understand it is difficult for me too. 19:42
moritz gerd: but if write something and need another review, I can do that
that's usually much less work 19:43
gerd But another think there is a bug in the PGE of Parrot 1.4.0
moderator www.parrot.org/ | Parrot 1.4.0 "Mundo Cani" Released! | For 1.5: Remove Deprecated Features | Planet Parrot planet.parrotcode.org/ 19:44
gerd Bye 19:46
Coke cotto: there's a ticket to make the pir compiler switchable between imcc and pirc, so you could share a test suite.
chromatic We could move the IMCC test suite to something less IMCC-specific too. 19:47
dalek tracwiki: v6 | packy++ | git-svn-tutorial
tracwiki: trac.parrot.org/parrot/wiki/git-sv...ction=diff
cotto Coke, good idea. I'd expect it to fail a lot of tests, but we could at least confirm a lack of new test failures.
Coke you could even update the tests to todo based on selected pir compiler.
(ala the perl6 suite/rakudo)
cotto Mmmmm. Fudge. 19:48
chromatic There are IMCC-specific errors in there we could improve.
kj chromatic: regarding pirc dev wiki page; it's there but info needs to be filled in. will do later. dinner time here + visitors.
chromatic Thanks, kj. 19:49
Andy kj? 19:50
purl kj is Klaas-Jan Stol or mailto:parrotcode@gmail.com
Andy Didn't think it was Kirsten Jones. 19:51
NotFound whiteknight: Have you seen the last patch in TT #895 ?
whiteknight no
NotFound Maybe it has enough pmc to make some meaningful benchmarking 19:52
Coke misses parrotsketch due to a lovely trip to a park on the hudson river with his kids. (one of whom has a broken arm.)
Tene attended parrotsketch at the office in the company of his coworkers, one of whom has a broken finger. 19:53
whiteknight attended from work where he has a broken spirit
particle which park has a broken arm?
Andy You know what/ 19:54
I don't mind tar's goofy parameters.
And I'm not ashamed to say it.
particle tar stfu
Coke you tar^Wgoof ball.
Tene at least it's better than cpio 19:55
Andy No lie, man, I was always an R2-D2 fan.
chromatic They're both better than the PAX SOLARI
20:02 satrac joined
jdv79 Coke: where? 20:19
dalek tracwiki: v7 | japhb++ | Deprecation 20:50
tracwiki: trac.parrot.org/parrot/wiki/Deprec...ction=diff
NotFound chromatic: I've tested the change to put the attr size new member at the end of the vtable struct, is pretty easy.
chromatic Wherever it makes the most sense is fine with me. 20:51
Coke jdv79: ?
jdv79? 20:52
purl jdv79 is a purl hater
NotFound It doesn't more or less sense to me in any way. I think that several macros related to relative position and size of the vtable slots are completely unused. 20:53
chromatic You're probably right.
dalek rrot: r40398 | japhb++ | trunk (3 files):
[library/NCI] remove deprecated call_toolkit_init.pir
NotFound japhb: there was a mention of that file in the pod of some file, maybe the opengl lib. Has that been fixed? 20:54
japhb NotFound: checking 20:55
cotto win: www.catonmat.net/blog/vim-plugins-surround-vim/
NotFound runtime/parrot/library/OpenGL.pir 20:56
japhb NotFound: good catch, fixing
NotFound: fixed, thanks. 20:58
dalek rrot: r40399 | japhb++ | trunk/runtime/parrot/library/OpenGL.pir:
[library] Fix POD referring to removed NCI/call_toolkit_init.pbc
21:00
21:02 joeri left
japhb OK, my one deprecated feature has been removed, as per 1.5 release goal. Now back to standard library discussion, once allison weighs in ... 21:03
dalek TT #753 closed by japhb++: Deprecate NCI/call_toolkit_init.* in favor of NCI/Utils.*
21:05 Whiteknight joined
Coke lobs a segfault over the wall to... cotto. 21:23
japhb Another implementation of Scorched Earth?
cotto hot potato 21:25
dalek TT #902 created by coke++: segfault with macro 21:26
Tene japhb: any idea what the deprecation policy is for changing stuff like MD5.pir ? 21:45
japhb Tene: looking 21:46
Wow, MD5.pir is ancient! 21:49
Tene hehe
japhb r7673 | leo | 2005-03-22
moritz and touched only 20 times since then 21:53
japhb Tene: It looks to me that it would have to go through a deprecation cycle before the old namespace could be killed off, though we could probably refactor and just have the old namespace alias stuff in the new namespace until deprecation point passes, then kill the aliases.
Tene kk 21:54
we need to write a guide for PIR library standards
s/we/I/ probably
I might do that tonight, I guess.
japhb Tene: Good on ya! 21:55
chromatic Hm, we should be able to remove interp's binop_mmd_funcs. 21:58
22:00 cotto joined
davidfetter chromatic, parrot foundation question 22:00
chromatic Go ahead.
davidfetter given my awful lack of C skills, i'd like to do something to help get "sandboxing" in. i also have limited funds 22:01
22:01 bacek joined
davidfetter what i do have is a scary pointy-haired ability to inspire people to write code if i can get them something for it 22:01
Tene I've got an empty bottle I can put up for it. 22:02
davidfetter so what's to do about getting parrot foundation funds?
Tene and a plastic fork (slightly used).
chromatic Funds *from* the PaFo or funds *to* the PaFo?
davidfetter Tene, these are intensely helpful things when sandboxes are concerned
chromatic Choose your preposition wisely.
davidfetter from
chromatic Unfortunately, first PaFo needs *to* get funds.
However, sandboxing could use a really good set of use cases. 22:03
If you can help drive a specification, we can divvy it up into tasks.
davidfetter i'm not quite sure i get what you mean by use cases. i guess i figured those were pretty obvious: web browser, mobile device, execution environments (postgresql, e.g.) that can't have attached machines just arbitrarily doing stuff that they control 22:13
chromatic We need to figure out what's allowed and what's forbidden.
What will people do with them?
What should be allowed and where and what should be forbidden? 22:14
What resources do they have?
Tene how do these vary between your use cases?
how should the embedding program be able to choose what's available? 22:15
chromatic Or is it someone else's responsibility?
davidfetter thanks! 22:17
chromatic Crypto? 22:18
purl Cryptography is about making the cost of retrieving information higher than the value of the information itself. or not necessarily the value, but perhaps the computational projected power (modulo advances)
davidfetter hrm. i hadn't really thought too much about code obfuscation as part of a sandbox 22:20
Whiteknight chromatic: making the PObj allocator lazy is turning out to be significantly less easy then the little fixed-size allocator was
davidfetter or as part of anything else, really. it's pretty much a misfeature
chromatic How so? 22:21
eternaleye davidfetter: crypto != obfu
davidfetter: Crypto is stuff like using digital signature schemes to manage permissions and access controls. 22:22
22:26 MoC joined 22:32 cognominal joined 22:38 particle joined, rg1 joined
davidfetter eternaleye, so more along the lines of secure hashing than crypto, then? 22:45
chromatic Or signing. 22:46
purl signing is probably much more important than encryption in DrMath's life
23:00 bacek joined
bacek Good morning 23:00
purl And good moroning to you, bacek.
23:06 tetragon joined
GeJ G'Day bacek 23:10
bacek G'day GeJ, howizgoin?
GeJ Well, nightmare-ish. Trying to get "inspiration" from a barely-competent-monkey-coded C# app to make a bridge between a Win32 app to a barely-competent-monkey-coded PHP site. 23:13
bacek yak... 23:14
GeJ The only good thing about this mess is that I was able to pick the implementation language.
bacek Which version of C#?
eternaleye davidfetter: 'crypto' is a superset of (encryption( public & private key), signing, and hashing). It can also include such things as e-cash algorithms. None of the things fitting under the 'crypto' header have anything to do with code obfu - that's more a 'security by obscurity' thing (and security by obscurity is largely considered worthless) 23:15
davidfetter drafts eternaleye do do the crypto part of the sandbox spec 23:16
GeJ bacek: No idea. I'm not fluent enough in C# to tell.
eternaleye davidfetter: I don't know crypto well enough to code it - plus, the first rule of crypto is 'don't roll your own' 23:17
davidfetter eternaleye, i'm not talking about coding it. specifying it :) 23:18
japhb eternaleye, davidfetter: For the actual crypto primitives, I have suggested we rely on a common library such as OpenSSL. But that still leaves the problem of using those primitives properly ....
eternaleye davidfetter: For sandboxing, en.wikipedia.org/wiki/Capability-based_security is probably a good place to start - separate out functionality into capabilities (potentially a tree - like, IO might be a capability, with subcaps for 'network' 'file' and 'IPC') 23:19
davidfetter: 'don't roll your own' usually applies to both the spec and the implementation - if you roll your own spec, you are _forced_ to roll your own implementation 23:20
japhb And then there's the question of being up to date with current events in the crypto world (SHA-128 is *stronger* than SHA-256, because the latter has a horrid key schedule. But most people would use SHA-256 because of the rule of thumb to use more bits for more security ...)
23:20 donaldh joined
eternaleye japhb: No worries, SHA-3 should be done soon enough for us! ;P 23:21
japhb heh
davidfetter eternaleye, perhaps "spec" is too, um, specific. there needs to be some kind of target 23:22
japhb is hoping Schneier's chin ... er, I mean, Skein ... wins.
bacek $dayjob time.
davidfetter signed apps, auth of various kind...
bacek see you
davidfetter l8r bacek
so, "there should be a facility for signing apps," 23:23
chromatic Yes.
davidfetter or "there needs to be a capability-based system for sandboxing"
eternaleye japhb: Keccac and GrĆøstl are nice (though, if the latter becomes SHA-3, people with US keyboards will weep) 23:24
japhb heh
eternaleye japhb: I agree though, skein is really cool
I'd suggest that the 'signing apps' thing be web-of-trust based - it fits much better with Open-Source, decentralized mechanics than a CA system does. Although, I may be biased due to it fitting really well with :auth<CPAN:foobar> 23:25
japhb: I assume from the 'chin' comment you've seen the Bruce Schneier Facts site? ;D 23:26
japhb nodnod 23:27
And seriously, I'd put much more faith in his chin than my crypto skills when it comes to protecting my data. ;-)
eternaleye Well, the first thing for a caps-based security system would probably be to set up a really rough outline blocking potentially unsafe stuff - maybe a list of PMCs that are 'known safe' and the rest are considered insecure by default? after that we could classify the type of control they give the user, classify the PMCs, and then classify the individual VTABLE methods they have. Default-deny is probably the best way to go about 23:29
it
After that, maybe we can implementsome form of tainting system. Together, those would be pretty powerful - block classes of functionality, and ensure non-manipulable input to potentially insecure code 23:31
23:36 jtal joined
jtal can someone tell me, in PAST::Op.new()... pdd 26 says sub in :name will be called 23:37
I'm wondering where that subroutine must be defined?
treed In the global namespace? 23:38
I make mine in src/builtins
23:39 patspam joined
jtal ahh 23:39
treed Defined in PIR.
jtal has to be pir?
treed Or something that can compile to PIR, I suppose.
jtal thanks 23:40
treed $bridi.push(PAST::Op.new( :name("zo'e"), :pasttype('call') ));
Is how I call in mekso.
.sub "zo'e" $P0 = new 'Undef' .return ($P0)
.end 23:41
Then that's the PIR.
jtal the example say is in say.pir
does it matter?
lojban huh?
treed Nope, as long as it all ends up in the same .pbc at the end.
Yeah.
mekso is a language I made using the math portions of Lojban 23:42
Before I got involved with cardinal.
jtal cool I will peak at the code for both :> 23:43
I'll peek too
why do people want python, ruby, etc on parrot? 23:44
eternaleye jtal: So they can share libraries with each other, mainly 23:47
jtal ah
eternaleye rakudo perl6 can do stuff like use Rails:from<cardinal>
(or at least, is planned to)
GeJ or, say an application embeds parrot, one would be able to extend such application using his language of choice. 23:48
jtal I see 23:49
treed It can already... nevermind.
GeJ did I say something wrong?
treed maybe he accidently clicked the x 23:50
or had to run
GeJ in regard to chromatic's latest post, I was wondering : 1) Is vtable.tbl the right place to list all the vtable functions? and 2) Does docs.parrot.org/parrot/latest/html/pmc.html list all the Core PMCs? 23:51