Parrot 0.6.0 "P&P" released | Please mentor for SoC | parrotcode.org/ | YAPC::NA talks deadline is Mar 31 | tinyurl.com/2pmnlq
Set by moderator on 18 March 2008.
01:06 japhb joined 02:12 skv_ joined 04:09 particle joined 04:25 purl joined 04:28 purl joined
cotto_home seen purl 04:52
purl purl was last seen on #imager 4 days and 4 hours ago, saying: fountain is pretty cool. [Mar 17 17:35:31 2008]
Tene seen purl_ 04:53
purl purl_ was last seen on #poe 1 year and 63 days ago, saying: hides behind purl [Jan 18 14:27:16 2007]
05:02 purl joined 05:11 purl joined
cotto_home seen cotto_home 05:24
purl cotto_home was last seen on #parrot right now, saying: seen cotto_home
05:53 wknight8111 joined 06:12 Alias joined 06:19 Ademan joined 06:40 Ademan joined 06:59 ejs joined
cotto_home did FREEZE_ASCII ever work? I'm back at r15000 and it's still failing 07:10
wolverian Infinoid, okay, the make succeeds now to the point where miniparrot is invoked, which promptly panics. 08:59
I sent a parrotbug 09:02
09:54 Psyche^ joined
wolverian sorry, that parrotbug mail never got past my smtp server 10:03
since it didn't have a From header
can I fix that somehow?
10:15 kj joined
wolverian ah, --from 10:28
blah, that didn't work either 10:42
hm, make succeeded this time around 10:43
weird :)
and passed tests 10:54
yay
thanks, Infinoid, for your help
11:24 wknight8111 joined 12:04 wknight8111 joined
wolverian the parrotblog.com episode 5 should probably mention what file the list pir should be saved in 12:17
kj wolverian: I guess you're right. actually, it doesn't matter which file; it could be any file, but using an existing file is preferable, because then you don't need to update the Makefile 12:19
and of course any new file should be .include'd
or load_bytecode'd
wolverian thanks 12:20
kj thank /you/ for the comment ;-)
wolverian now that you're here, I'm getting an error "too few arguments passed (2) - 3 params expected" with my try clause 12:21
it'd be nice to get a line number on that.. :) 12:22
kj Then you problably are missing a key argument
does your statement action method define 2 parameters?
oh wait 12:23
the other way around
purl somebody said the other way around was not better
kj is your statement passing a #= key?
wolverian yes 12:24
kj could you nopaste?
both action and grammar
wolverian sure, sec 12:25
was there a util to do that from cli? :)
kj eh. sorry, what do you mean?
wolverian it's a pain to copypaste stuff to the website. I remember there's a commandline util to send a file to the bot, but not sure if it's the bot here or somewhere else :) 12:29
kj nopaste?
purl nopaste is at nopaste.snit.ch/ (ask TonyC for new channels) or rafb.net/paste or paste.husk.org/ or poundperl.pastebin.com/ or paste.scsys.co.uk/ or don't bother me while I'm eating
kj there you go ;-)
wolverian that doesn't really answer my question :)
kj oooh, then I don't know what you're referring to.. 12:30
wolverian something that'd let me say 'nopaste --channel \\#parrot file.pir' or so :)
kj ooooh right 12:31
i don't know about that
it would be handy yes
wolverian okies, copypasting to the webform then, thanks
nopaste "wolverian" at 80.221.43.65 pasted "actions" (137 lines) at nopaste.snit.ch/12551 12:32
"wolverian" at 80.221.43.65 pasted "grammar" (102 lines) at nopaste.snit.ch/12552
kj at least there's a {*} too many in statement; remove the last one (on its own line) 12:33
only 1 is needed per alternative
not sure if that solves the problem; worth a try
wolverian oops, good point, left that accidentally :)
that fixed it 12:34
thanks!
kj great :-)
nop
Infinoid wolverian: agriffis.n01se.net/nopaste/ 12:37
wolverian thanks! 12:38
Infinoid I don't see where to set the channel, I think it might need some minor adapting 12:39
wolverian the service doesn't provide that
i.e. it doesn't have a bot to announce pastes
Infinoid but the result would make a great addition to tools/dev/
wolverian (it's for rafb.net, not snit.ch)
Infinoid yeah
I just woke up, so I haven't dug into it at all yet, but I think it might be as simple as changing the URL and adding a form field 12:40
wolverian yeah, true
Infinoid perhaps splitting those values out into a .nopasterc
that would rule. 12:41
ah. there's also App::Nopaste 12:45
wolverian nice, supports snitch 12:47
it doesn't do channels eitehr 12:51
either
the backend does, but the cli tool doesn't
Infinoid I'm thinking about writing my own cli tool 12:52
wolverian it wouldn't be too much of a hassle to wrap moose around that 12:53
Infinoid I'm moose-challenged 12:54
wolverian well, I thought the app uses moose, but it doesn't, it only uses #moose as an example in the synopsis :)
12:58 turrepurre joined 13:07 ambs joined 13:14 rdice joined 13:16 integral joined 13:21 jrt4 joined 13:41 wknight8111 joined
kj PCT tutorial Episode 7 is published. 13:49
13:53 spez joined 13:58 ambs_ joined 14:03 Coke joined 14:37 malte joined 14:45 AndyA joined 15:00 wknight8111 joined
particle kj, wolverian, Infinoid: see my tools/dev/nopaste.pl 15:02
15:08 slavorg joined
Infinoid awesome 15:12
15:12 integral joined
particle i have a link in /usr/local/bin, so i always use the latest from trunk 15:17
...though it's pretty stable now.
kj nifty
particle svn diff | nopaste.pl ... 15:19
very handy
15:20 skv_ joined
particle is happy to read "All tests successful, 24 tests and 613 subtests skipped." bernhard++ everyone++ 15:22
ambs wows 15:23
particle pings tewk 15:29
svnbotl r26515 | particle++ | trunk: 15:32
: [docs] clarify that releases are date-based, and release numbers are feature-based
diff: parrotvm.org/svn/parrot/revision/?rev=26515
ambs is fighting against mingw, mkstemp and link. 15:37
16:11 AndyA joined 16:13 ambs_ joined 16:19 ntgrl joined
ambs particle: remind me, you the win guy? :) 16:36
particle i win! 16:37
what's up?
purl Your face, particle. That's what.
ambs means the windows guy :)
particle yes, i'm a windows guy, mostly
ambs particle: do you know what is the usual replacement for mkstemp under windows?
particle File::Temp ?
purl i heard File::Temp was generally portably enough, yes. or annoying
ambs probably not, but as I am desesperated :)
particle: I mean C :) 16:38
particle ah. :)
what's mkstemp as opposed to mktemp? 16:39
ambs I was wondering at #win32, but they are all dead.
mktemp returns a string, mkstemp returns the filehandle
but probably I could manage to use mktemp if there is one under MinGW 16:40
particle yes, there should be mktemp, since it's posix 16:41
i don't know if mkstemp is posix, or if it is, if cygwin conforms to that posix version 16:42
16:42 jhorwitz joined
ambs I think cygwin includes both 16:43
but I am trying to compile with mingw that comes with strawberry perl.
particle i suggest you try compiling something with mktemp, and see if the compiler spits out a helpful warning 16:44
ambs is trying to do that
particle mktemp is unsafe, use 'foo' instead
ambs yay, it doesn't complain with mktemp 16:46
jhorwitz waves at particle
ambs now I just need to get rid of that complain to the undefined function 'link'
particle hey there jhorwitz! 16:47
jhorwitz how's tricks? i've been MIA for a bit...
particle spent the week in breck boarding and showshoeing. just got back last night. leave for nyc monday, returning sunday.
jhorwitz nice! 16:48
have we heard about OSCON presentations? 16:49
particle i heard, two accepted w/pmichaud.
actually, i think one is his, and one is ours
jhorwitz nice. mod_parrot was accepted too. guess we're gonna have a good showing!
particle awesome
i need to get my act together about yapc::na 16:50
jhorwitz did you submit a talk yet?
particle no
i was hoping to catch jmcadams in nyc this week, but his trip was postponed
jhorwitz i just want an excuse to go to chicago. never been. :) 16:51
particle WHAT!?!?!?!
i'll be there. you're going.
jhorwitz :)
particle needs to book tickets. 16:52
13-18 jun in chicago 16:53
18-22 jun in state college, pa
maybe 22-25 jun in new orleans
jhorwitz that's your schedule?
particle yep
jhorwitz what are you, on tour or something? :) 16:54
jhorwitz is a particle groupie
particle :)
i'm hiring roadies. interested?
jhorwitz i'll do anything for a free t-shirt. 16:55
particle come to hawaii. i'll be there in april 16:57
jhorwitz i'll be in scottsdale in april.
particle that'll make the flight shorter 16:58
jhorwitz ha! 16:59
particle if you can get some time around oscon, you can come stay with me and betheny in seattle
jhorwitz never been there either! i have a few other friends there too, so might not be a bad idea... 17:00
particle i'm sure gryphon would like to see you
jhorwitz yeah, haven't talked to him much since he left.
it would be good to see him. 17:01
particle iirc he's having a bbq in august
jhorwitz must be one hell of a bbq, scheduled 5 months in advance. :)
particle you can probably stay for the month. i don't think he'll mind :) 17:02
jhorwitz i do work remotely.... 17:05
particle me too, which is why i can travel so much 17:07
17:14 jrt4 joined
wolverian any comments on parrotblog.org episode 6, 'Please note that I'm not 100% sure if this is the "best" solution,'? is the approach used there actually recommended? 17:29
kj wolverian: I remember pmichaud saying somethign about defaulting to 'lexical' scope 17:30
I don't know how to get that behavior
I figured, this is straightforward, simple and explicit, so I just got "things working". 17:31
(and I'm lacking the time and motivation to figure it out)
wolverian the pdd26_ast seems to indicate setting it to lexical works automagically 17:32
kj yeah. if you get it working let me know ;-)
seriously, the PAST compiler should do "something" automatically 17:33
but I'm not sure how to do that.
wolverian actually, not setting it should just work 17:34
according to the pdd
kj well, it failed for me
wolverian If "scope" is not explicitly provided in the node, then PAST will look at the local symbol tables of any outer "PAST::Block" nodes to try to determine the scope of
the named variable. If this still does not result in a scope, then ’lexical’ is assumed.
kj right.
wolverian yeah, sorry, my paste finger is twitchy 17:35
another question. following ep5, I think my TOP and block actions are pretty much the same. am I misunderstanding something? :) 17:36
kj maybe it works if you leave out EVERY piece of the scope puzzle
(including all :scope flags and all symbol table stuff)
let me check
ehm. i have to go about now. but if you mean that both TOP and block have an open and close key 17:37
you're right
that's slightly duplication of code, but it's necessary I think
wolverian no, I mean the nqp code
kj right 17:38
the action
purl <action> action action /me actions
wolverian right
kj the action method
wolverian I'm unsure if there's any difference between the two
kj both have an open and close key
(eh, key=> part)
yeah I think it's about the same indeed
except that the final TOP action method will be handling both statements and sub-definitions 17:39
so they're different in the end
(see ep 6)
have to go
back later
wolverian well, I don't know if that needs to be differentiated.. thanks! cheers.
kj back. subdefinitions cannot be statements, because then we'd allow nested subdefinitions, and that could give squaak programmers the wrong impression that squaak is supporting closures, which it doesn't. 17:56
18:18 Psyche^ joined
svnbotl r26516 | particle++ | trunk: 19:24
: [tools] add a new utility to generate release information suitable for charts, reports, etc.
diff: parrotvm.org/svn/parrot/revision/?rev=26516
19:25 Andy joined 19:46 cognominal joined 20:08 ambs joined 20:14 skids joined 20:27 contingencyplan joined 20:40 particl1 joined 20:57 ambs joined 22:28 Theory joined 23:15 Limbic_Region joined