|
Parrot 2.7.0 "Australian King" Released! | parrot.org Log: irclog.perlgeek.de/parrot/today | Nopaste: nopaste.snit.ch:8001 | close 20 tickets (-4 to go), merge outstanding branches; parrot-members: vote by 2PM PT Tues Aug 31 Set by moderator on 29 August 2010. |
|||
|
00:02
Psyche^ joined
|
|||
| kid51 | GeJ: coming right up | 00:03 | |
| dalek | rrot: r48720 | jkeenan++ | trunk/t/codingstd/c_operator.t: Applying patch submitted by GeJ++. While this does not display numbers of lines violating the standard, it does clearly display the lines themselves, thereby facilitating corrections. |
00:06 | |
|
00:08
Patterner left,
Psyche^ is now known as Patterner
|
|||
| GeJ | kid51++ | 00:13 | |
| Thanks. | |||
| kid51 | Paul_the_Greek: In your everyday, non-beach existence, are you able to run Parrot smoke tests on Win32? | 00:17 | |
| Paul_the_Greek | kid51: I have not tried it. Should I try it in the next day or two? | ||
| kid51 | Well, let me explain why I'm asking ... | ||
| 1. We are always short of testers on various Windows platforms. | 00:18 | ||
| 2. Until we get our own Smolder server, we are whistling in the dark re much of our work, such as Win32. | |||
| 3. I'm looking over old Trac tickets and noting that many of them are stalled because the patch needs testing on Win32. | 00:19 | ||
| So we need both regular smoke testing on Windows, as well as folks who can evaluate particular patches. | |||
| (or, at least, *test* particular patches) | 00:20 | ||
| speaking of which ... | |||
| whiteknight: How's your Win32 access these days? | |||
| whiteknight | kid51: spotty. I can get on if needed. What's up? | 00:21 | |
| kid51 | see backscroll re need for testers on Windows | ||
| Paul_the_Greek | I'd be happy to smoke test and test patches on Windows. I'm running 32-bit XP. | 00:30 | |
| GeJ | GeJ-- | 00:31 | |
| for begging commiters to apply a patch on coding standards while the patch actually violates said standards. | |||
| Paul_the_Greek | kid51: Are the instructions here correct? trac.parrot.org/parrot/wiki/SmokingParrot | 00:34 | |
| whiteknight | kid51: I'm busy trying to get Paul_The_Greek commit access, and probably going to bed shortly thereafter. If you could msg me the details about what's needed I will do it tomorrow | 00:35 | |
| dalek | TT #684 closed by jkeenan++: pgegrep needs tests | 00:39 | |
| TT #684: trac.parrot.org/parrot/ticket/684 | |||
| kid51 | Paul_the_Greek: Those instructions would be correct *if* our Smolder system were working ... which it hasn't been for many weeks now. | 00:55 | |
| It was donated to us; it wasn't running on Parrot.org. | |||
| I read that we are trying to get our own Smolder set up. | 00:56 | ||
| but, in meantime, it's mainly a question of running 'make test' on as many platforms as possible, as regularly as possible (preferably >=1/day) | |||
| And ISTR you saying you were working on a Win32 box. | 00:57 | ||
| Paul_the_Greek | Yes, a 32-bit XP system. | ||
| kid51 | So, as a first step, could you set up a cron job (or whatever it's called on windows), doing a fresh checkout, configure, make, make test once a day | 00:58 | |
| (If and when we got a Smolder setup again, you would simply change that 'make test' to 'make smoke') | 00:59 | ||
| Paul_the_Greek | Sure can. I'll start that tomorrow or Tuesday. | ||
| kid51 | Paul_the_Greek++ | ||
| Sooner or later, we need to go thru the open TTs and see which have comments to the effect of "If we could get this patch tested on Windows, we could close this ticket." | 01:00 | ||
| Coke | whatever was done with paul's svn commit, his login email looks nothing like that of the other commiters. | 01:12 | |
| aloha | bacek asked me to tell you aloha now delivers messages on any event. | ||
| Paul_the_Greek asked me to tell you I tried to commit something today, but it appears I haven't been given commit privilege. Could you set that up? | |||
| dalek | rrot: r48721 | Paul C. Anagnostopoulos++ | trunk (5 files): find_lex no longer throws exception on undefined name |
01:13 | |
| rrot: r48722 | jkeenan++ | trunk/t/codingstd/c_operator.t: [codingstd] Eliminate trailing whitespace. |
|||
| Paul_the_Greek | Coke: whiteknight has fixed me all up. I was a developer but not a committer. I just committed a change. | ||
| rrot: r48723 | jkeenan++ | trunk/t/codingstd/c_todo.t: Have test output tell us how many TODOs, etc., remain. |
|||
| Coke | *(&^#$*() ok, the dual aloha-purl is now annoying. what's holding up just using aloha? | ||
| Paul_the_Greek: you're not all set yet, as you may have noticed your commit email hasn't shown up on list. | 01:14 | ||
| (unless you're not subscribed to it, in which case case you wouldn't have noticed. ) | |||
| whiteknight | that isn't automatic? | ||
| Coke | no, he has to be whitelisted. | ||
| and his email came from "paul@osuosl.org", while everyone else's is from foo@svn.parrot.org | 01:15 | ||
| From: Paul@osuosl.org, C.Anagnostopoulos@svn.parrot.org | 01:16 | ||
| lemme guess. Space? | |||
| *sigh*. Ah well, I'll just whitelist whatever the address came through as and hope for the best. | |||
| done. | |||
| whiteknight | okay. Coke++ | 01:19 | |
| and now that all is right with the universe again, I'm going to sleep | |||
| Paul_the_Greek | Interesting. Let's see how it goes. | ||
| whiteknight++ | 01:20 | ||
| whiteknight | goodnight | ||
|
01:20
whiteknight left
01:22
dngor_ is now known as dngor
|
|||
| dalek | kudo: 2ee5725 | colomon++ | src/core/Any-list.pm: Escape { } in postcircumfix:<{ }> not defined message. |
01:24 | |
|
01:26
kid51 is now known as kid51_at_dinner
01:27
edenc joined
01:29
tetragon joined
|
|||
| dalek | TT #1207 closed by Paul_the_Greek++: Non-existent lexical throws exception | 01:29 | |
| TT #1207: trac.parrot.org/parrot/ticket/1207 | |||
|
01:33
mikehh_ joined
01:36
mikehh left
|
|||
| dalek | TT #481 closed by Paul_the_Greek++: some basic math ops are missing | 01:46 | |
| TT #481: trac.parrot.org/parrot/ticket/481 | |||
|
01:55
edenc left
01:57
Paul_the_Greek left
02:16
kid51_at_dinner is now known as kid51
|
|||
| bacek_at_work | Coke, aloha isn't too reliable atm. Just because it's on my laptop at home. I have to find some kind of "hosting" for her. | 02:30 | |
|
02:35
janus left
02:41
janus joined
02:44
kid51 left
02:52
tcurtis joined
02:53
theory joined
|
|||
| moderator | Parrot 2.7.0 "Australian King" Released! | parrot.org Log: irclog.perlgeek.de/parrot/today | Nopaste: nopaste.snit.ch:8001 | close 20 tickets (-7 to go), merge outstanding branches; parrot-members: vote by 2PM PT Tues Aug 31 | 02:54 | |
|
03:16
tetragon left
03:17
edenc joined
|
|||
| dafrito | cotto, ping | 03:28 | |
| cotto | dafrito, pong | 03:47 | |
| dafrito | hows the plugin comin? I got back from my trip today and skimmed the commits | 03:57 | |
| cotto | not bad | 04:04 | |
| still some features needed, but I've given up on the idea of providing a stub implementation of a repository interface | 04:05 | ||
| I don't feel like implementing 23 functions just to make the browser link show up when there's a plugin that does it already. | 04:06 | ||
| sorear | Who was it who was working on getting rid of strstart? | 04:34 | |
| cotto | sounds like something darbelo would be working on | 04:35 | |
| I thought he got it. | |||
| sorear | yes, but it didn't work, and I just realized why | ||
| cotto | ? | 04:36 | |
| sorear | take a look at src/PAST/Compiler-Regex.pir lines 137-151 | ||
| in the nqp repository | |||
| moderator | Parrot 2.7.0 "Australian King" Released! | parrot.org Log: irclog.perlgeek.de/parrot/today | Nopaste: nopaste.snit.ch:8001 | close 20 tickets (-8 to go), merge outstanding branches; parrot-members: vote by 2PM PT Tues Aug 31 | 05:01 | |
|
05:03
theory left
|
|||
| dalek | TT #1014 closed by jimmy++: NQP: Add defined(), exists(), undef. | 05:09 | |
| TT #1014: trac.parrot.org/parrot/ticket/1014 | |||
|
06:11
bacek_at_work left
06:13
uniejo joined
06:14
patspam left
06:19
baest_ is now known as baest
06:48
fperrad joined
07:05
antivigilante joined
|
|||
| antivigilante | i downloaded the source for 2.6.0 | 07:05 | |
| sorear | ...and? | 07:06 | |
| antivigilante | the Squaak tutorial says I should build parrot but I already have parrot installed | ||
| sorear | then skip that step | 07:07 | |
| antivigilante | there is already a Squaak directory but there is no src/parsers | ||
| sorear | tcurtis: ping | ||
| antivigilante | so do I just clear that and start from scratch? | 07:08 | |
| tcurtis | sorear: pong | ||
| antivigilante | or just use a diff name for my tutorial | ||
| can parrot do modal languages? | 07:12 | ||
| tcurtis | What do you mean by "modal"? | 07:15 | |
| antivigilante | for example this is my format (var func value) - if you leave any of them out interesting things happen | 07:17 | |
| sorear | tcurtis: you did the squaak tutorial, right? | ||
| antivigilante | like (var nil value) is an assignment | ||
| tcurtis | sorear: I updated it to use NQP-rx, yes. | 07:18 | |
| antivigilante | (var func nil) is a query | ||
| (nil func value) is a test | |||
| (nil nil nil) is the same as saying break in a loop | 07:20 | ||
| tcurtis | I still don't think I fully understand what you mean, but I think it should certainly be doable in Parrot. | 07:21 | |
| Also, antivigilante, where are you reading the Squaak tutorial at? It shouldn't mention src/parsers any longer. | 07:22 | ||
| antivigilante | i'm reading it at parrotblog | 07:25 | |
| anyway by modal I mean that different forms imply different types of statements | |||
|
07:27
mikehh_ is now known as mikehh
|
|||
| mikehh | opbots, names | 07:27 | |
| tcurtis | antivigilante: The version of the tutorial on parrotblog is quite outdated. docs.parrot.org/parrot/latest/html/...orial.html is the up-to-date version. | 07:28 | |
| antivigilante | ok | 07:29 | |
| NotFound | squaak? | ||
| purl | squaak is examples/languages/squaak or the language in kj's tutorial at parrotblog.org | ||
| tcurtis | purl: squaak is also docs.parrot.org/parrot/latest/html/...orial.html | 07:30 | |
| purl | okay, tcurtis. | ||
| tcurtis | squaak? | ||
| purl | squaak is examples/languages/squaak or the language in kj's tutorial at parrotblog.org or docs.parrot.org/parrot/latest/html/...orial.html | ||
| antivigilante | the thing about this little language is that AND and OR are implied by the structure of the program | 07:31 | |
| statements that go horizontally across the screen imply and | 07:32 | ||
| vertically it's or | |||
| NOT is done via (nil nil nil) | |||
| with that if else can also be done | 07:33 | ||
| tcurtis | That might be tricky to parse, but it could be done. | 07:34 | |
| antivigilante | looking to see how easy it is to do it in: parrot, lisp, javascript and assembler | ||
| sorear | anything you can do in assembler you can do just as easily in javascript or parrot | 07:36 | |
| antivigilante | right - basically i'm gonna cheat a little by using the final bytecode as guide for the assembler version | ||
| the point is to see if it's possible to reasonably boot into this from disc and just go nuts with the computer's resources | 07:37 | ||
| should be interesting | 07:39 | ||
| dalek | rrot: r48724 | NotFound++ | trunk/t/pmc/exception.t: some more Exception tests |
||
| sorear | antivigilante: I recommend using C, then | ||
| antivigilante | thx guys - i'll bother you again if I hit a snag | 07:40 | |
| sorear | Parrot's parsing engine does a lot of stuff which will drive you mad if you try to copy it in assembly | ||
| s/Parrot/NQP-rx/ | |||
| so.. don't start with NQP-rx | |||
| start at a lower level | |||
| antivigilante | well i am going toward something that goes past APIs - high level conceptual programming with low level muscle | 07:41 | |
| C is certainly something to use but I am going as fas even creating a new executable format | 07:42 | ||
| s/fas/far as/ | |||
| anyhoo I'll be back I'm syre | 07:43 | ||
| s/syre/sure | |||
| sorear | seen bubaflub | 07:44 | |
| purl | bubaflub was last seen on #parrot 13 days, 12 hours, 25 minutes and 23 seconds ago, saying: hey GSoC-ers, pencils-down time has already passed and the final student evaluations are on Melange now [Aug 16 19:18:51 2010] | ||
| aloha | Sorry, I haven't seen bubaflub. | ||
| sorear | bubaflub was supposed to have Parrot running on RTEMS earlier | ||
| dunno if he succeeded | |||
| antivigilante | what I ultimately want to achieve is a system where language specific bindings are no longer necessary | 08:12 | |
| mikehh | All tests PASS (pre/post-config, make corevm/make coretest, test, fulltest) at r48724 - Ubuntu 10.04 amd64 (g++) | 08:18 | |
| tcurtis | Good night, #parrot. | 08:25 | |
|
08:25
tcurtis left
|
|||
| dalek | nxed: r613 | NotFound++ | trunk/winxedst0.cpp: backport new indexed to stage 0 |
09:19 | |
|
09:51
mikehh_ joined
09:54
mikehh left
10:03
smash joined
|
|||
| smash | hello everyone | 10:04 | |
|
11:09
dngor left,
dngor joined
|
|||
| dalek | kudo: 6ccdcda | colomon++ | src/core/ (2 files): Add Cool.Real, Cool.Int, Cool.Rat, and Cool.Num. Eliminate Str.Num and Str.Int. |
11:27 | |
|
11:50
Paul_the_Greek joined
|
|||
| Paul_the_Greek | Morning, folks. | 11:50 | |
|
11:55
antivigilante left
12:06
Paul_the_Greek left
12:16
whiteknight joined
|
|||
| moritz | morning | 12:34 | |
| szbalint | good $localtime! :) | 12:38 | |
| whiteknight | good morning moritz | 12:52 | |
| moritz | good morning mr. knight | 12:53 | |
| smash | moritz: mornin' | ||
|
12:55
masak joined
13:27
mkt joined
|
|||
| mkt | parrot \\o/ | 13:28 | |
| masak squaaks | 13:31 | ||
|
13:53
davidfetter joined
13:56
particle1 joined
13:59
particle left
|
|||
| smash | particle1: thank you for checking mailboxes | 14:01 | |
|
14:01
particle1 is now known as particle
|
|||
| particle | my pleasure :) | 14:01 | |
|
14:02
davidfetter left
14:03
bluescreen joined
14:07
davidfetter joined
14:21
uniejo left
14:24
lucian joined
14:27
Coke left
14:36
mikehh_ is now known as mikehh
|
|||
| mikehh | opbots, names | 14:37 | |
|
15:00
davidfetter left
15:09
patspam joined,
Coke joined
|
|||
| cotto_work | ~~ | 15:15 | |
|
15:16
theory joined
15:19
ruoso left
15:25
nwellnhof joined
|
|||
| dalek | rrot: r48725 | nwellnhof++ | trunk (2 files): Fix old size in realloc |
15:30 | |
| rrot: r48726 | nwellnhof++ | trunk/src/hash.c: Fix r48687 |
|||
|
15:34
patspam left
15:37
tcurtis joined
|
|||
| masak | nwellnhof: ping | 15:40 | |
| cotto_work | pbc_dump gives valid output for large pbc files now. Not knowing for certain who fixed it and being too lazy to bisect, I blame nwellnhof++ | 15:41 | |
| moritz | it seems nwellnhof++ is to blame for a lot of good stuff recently :-) | 15:42 | |
| nwellnhof | pong | ||
| masak | nwellnhof: oh hai. about #1746. | 15:43 | |
| nwellnhof | yes | 15:44 | |
| masak | nwellnhof: first, thanks for your excellent detective work. | ||
| it feels good to have the reason for the segfault. | |||
| second, what actually needs be done now to solve it? | |||
| I re-read the backlog with the discussion between nwellnhof, NotFound and pmichaud. but I didn't grasp what needs fixing, and whether it's in Rakudo or Parrot. | 15:45 | ||
| nwellnhof | masak: the reblessing code in rakudo has to be fixed | ||
| masak | ah. | ||
| nwellnhof | well, ideally, parrot should provide a rebless function | ||
| masak | :) | 15:46 | |
| NotFound | masak: I've not found any problem with attrs yet. | ||
| masak | NotFound: have you been able to reproduce the segfault? | ||
| nwellnhof | but the easiest solution right now would be to change rakudo's rebless code | ||
| it has to reallocate the PMC data when reblessing | 15:47 | ||
| NotFound | masak: yes, following the instructions in the ticket it segfaults for me in linux i386 | ||
| moritz | is there a simple reallocate call? | ||
| masak | so, it's rebless_subclass in src/ops/perl6.ops? | ||
| moritz | or does it have to allocate, copy, change some pointers, deallocate? | ||
| NotFound | nwellnhof: the Undef PMC has a sort of reblessing that seems to work | ||
| masak | it says it's in-place. | ||
| nwellnhof | moritz: i think not. but allocate/free should be straight-forward | 15:48 | |
| to be more precise, the PMC attributes have to be reallocated | |||
| moritz | at least to those familiar with the parrot memory API :-) | 15:49 | |
| nwellnhof: could we maybe coax you into writing a patch for it? :-) | |||
| NotFound | The problem is that auto_attrs PMCs needs that allocation and deallocations match | 15:50 | |
|
15:50
lucian left
|
|||
| NotFound | If you allocate in some other way and the PMC auto dealocates another, boom. | 15:50 | |
| masak | nwellnhof: there might be $beverage-of-your-choice involved at the next meatspace opportunity :) | ||
| nwellnhof | I think it should be enough to call Parrot_gc_allocate_pmc_attributes, then memcpy, then Parrot_gc_free_pmc_attributes | ||
| And making sure the GC functions are called with the right vtable pointer in the PMC | 15:51 | ||
| NotFound | nwellnhof: it should, yes. But that can fail with manual_attrs PMCs that does its own way. | ||
| nwellnhof | NotFound: how can i tell if a PMC has auto_attrs or manual? | 15:52 | |
| NotFound | nwellnhof checking: if the size field in the vtable struct is not zero | 15:53 | |
| nwellnhof | NotFound: then rebless should reallocate only when the size field it not zero | ||
| NotFound | And what to do when zero? Throw? | 15:54 | |
| nwellnhof | no, this case should simply work without reallocating | ||
| moritz | (can the case occure that the parent class uses auto_attrs, and the child class that is reblessed to uses manual_attrs? or the other way round?) | 15:55 | |
| NotFound | moritz: I don't know any such usage, but sure is possible. | 15:56 | |
| nwellnhof | moritz: i don't know but that would make things more complicated | ||
| but i think a derived class must keep the attrs setting of its base class. | 15:57 | ||
| NotFound | The intention is that all PMC get converted to auto_attrs, and use manual only for very special purposes, but I don't know if all HLL have make progress in that direction. | 15:58 | |
| nwellnhof | masak: i can try to whip up a patch for rakudo | 15:59 | |
| masak | \\o/ | ||
|
15:59
integral left
|
|||
| nwellnhof | and we should try to get the reblessing code into parrot | 16:00 | |
| moritz | NotFound: at least rakudo has only one manual_attrs left | ||
| NotFound thinks about forbidding using manual_attrs when inheriting from an auto_attrs PMC | |||
|
16:00
integral joined
|
|||
| NotFound | moritz: good | 16:00 | |
| tcurtis | NotFound: why not the reverse? | 16:01 | |
| moritz | that's perl6multisub, and probably the most complex of the rakudo PMCs | ||
| NotFound | tcurtis: maybe both, yes | ||
| cotto_work | github.com/resistor/BrainFTracing - trace-based JIT for bf | 16:04 | |
| moritz | perl6multisub is manual_attrs and inherits from multisub, which is auto_attrs | 16:06 | |
| atrodo | cotto_work> Awesome and scary at the same time | 16:07 | |
| moritz | that's the hallmark of any great piece of technology :-) | 16:08 | |
|
16:10
ash_ left
16:20
ruoso joined
16:24
masak left
|
|||
| nwellnhof | masak: ping | 16:28 | |
| pmichaud: ping | 16:30 | ||
|
16:33
Andy joined
|
|||
| moritz | anything rakudo related I might be able to help with? | 16:34 | |
| nwellnhof | moritz: I think the solution to the rebless_class problem is actually very simple | ||
| moritz | that would be really great | 16:35 | |
| nwellnhof | we don't to need change the vtable at all | ||
| i'm not sure i fully understand the code, but i think the proxy PMC is also useless | 16:36 | ||
|
16:36
BillyOregon joined,
BillyOregon is now known as singalong,
darbelo left
|
|||
| whiteknight | nwellnhof: I would love to hear that proxy PMC was truly useless, but I suspect we cannot kill it yet | 16:37 | |
| nwellnhof | i only mean the use of a proxy PMC in Rakudo's rebless_class function | ||
| whiteknight | ah, okay. more likely, less awesome | ||
| singalong | I was following episode-3 of the PCT Tutorial and I got this error: pastie.org/1126892 | 16:38 | |
| nopaste | "nwellnhof" at 192.168.1.3 pasted "Fix Rakudo's rebless_class" (32 lines) at nopaste.snit.ch/23194 | ||
| whiteknight | singalong: line 37. Change <statementlist> to <statement_list> | 16:39 | |
| nwellnhof | Here's my proposed patch | ||
| whiteknight | (that damned tutorial! We cannot keep it current!) | ||
| nwellnhof | Rakudo 'make test' passes | ||
| moritz | I'll do a spectest | 16:40 | |
| singalong | whiteknight: thanks! | ||
| whiteknight | Grammar.pm, by the way. I should have said | ||
| moritz | chances are that 'make test' doesn't even call it once | ||
| singalong | whiteknight: can the tutorial be edited in any way? there's a typo too some where. | ||
| whiteknight | singalong: no problem. Sorry it didn't work for you the first time | ||
| singalong: yes, the tutorial can be edited. If you make a patch, we will apply it | |||
| tcurtis | singalong: I think that particular problem has already been updated in the repository, but I'll check. | ||
| whiteknight | or if you open a bug report, somebody will get to it eventually | 16:41 | |
| singalong | whiteknight: ah no. it was something i saw in the generated language i think. i remember now. | ||
| It was PST instead of PAST in the Actions.pm file | |||
| whiteknight | oh, okay | 16:42 | |
| singalong | or maybe i made a mistake when i pressed keys when watching tv. | 16:43 | |
| I got another error. but this time I'm able to figure out what the error is about pastie.org/1126929 | 16:45 | ||
| whiteknight | oi | ||
| moritz | might be token stat_or_def recursing | 16:46 | |
|
16:47
lucian joined
|
|||
| singalong | moritz: stat_of_def recursing? | 16:48 | |
| *or | |||
| moritz | it's a token or regex that apears twice in the backtrace | 16:49 | |
| seeing more of the backtrace would help | |||
| singalong | moritz: what else can I paste? | 16:50 | |
| moritz | output of | 16:51 | |
| /usr/local/bin/parrot squaak/squaak.pbc t/00-sanity.t | |||
| tcurtis | Odd. stat_or_def shouldn't be recursing. | 16:52 | |
| singalong: can you paste your grammar so far? | 16:53 | ||
| singalong | tcurtis: sure. | ||
|
16:54
mkt left
|
|||
| singalong | one sec. my router seems to be kicking me off. | 16:54 | |
| moritz: pastie.org/1126947 the output for squaak.pbc | 16:55 | ||
| moritz | yep, 989 recursive calls of stat_or_def | 16:56 | |
| singalong | moritz: how can I fix that? | 16:58 | |
| moritz | singalong: what's your definition of stat_or_def ? | ||
| singalong | my code for actions and grammar pastie.org/1126947 | ||
| moritz | rule stat_or_def { <stat_or_def> | 16:59 | |
| } | |||
| tcurtis | singalong: the body of rule stat_or_def should be <statement>. | ||
| singalong | moritz: ah fund out I guess | ||
| dalek | TT #1760 created by Paul_the_Greek++: Spurious newline in version string | ||
| TT #1760: trac.parrot.org/parrot/ticket/1760 | |||
| moritz -> afk | 17:01 | ||
| singalong | tcurtis: *found | 17:02 | |
| tcurtis | singalong: let me know if you have any other problems or if anything is unclear in the tutorial. | 17:03 | |
| singalong | tcurtis: actually i got another error. | 17:05 | |
| tcurtis: pastie.org/1126978 last one please. | |||
| I hate to hijack a channel with consecutive errors | 17:07 | ||
| tcurtis | singalong: can you paste t/00-sanity.t? I suspect that the generated test file isn't valid Squaak (and am almost certain it isn't valid Squaak near the beginning of the tutorial). | ||
| singalong | would be nice if the tutorial actually had states of code after each episode for download | ||
| tcurtis: pastie.org/1126985 | 17:08 | ||
| tcurtis | not the result of running t/00-sanity.t, but the actual contents of t/00-sanity.t. | 17:09 | |
| singalong | tcurtis: updated the same pastie pastie.org/1126985 | 17:10 | |
|
17:11
jsut_ joined
|
|||
| tcurtis | That's the problem, yes. That test file is auto-generated and isn't valid Squaak. You could try copying the tests from examples/languages/squaak/t in Parrot's repository, but the tests files wouldn't parse at that point in the tutorial, either. | 17:13 | |
| singalong | tcurtis: oh. anyway to obtain states of code after each episode? that would be cool for everyone. | 17:14 | |
|
17:14
nwellnhof left
|
|||
| singalong | tcurtis: actually i got an idea :) i'll try to strip the test files from the repo to suit the current episode. maybe i'll succeed | 17:15 | |
| tcurtis | singalong: unfortunately, not at the moment. I'll try to remember to add that sometime soon. | ||
| singalong | tcurtis: of when i finish this i'll try to add them in compressed file | 17:16 | |
| *or | |||
|
17:16
jsut left
|
|||
| tcurtis | singalong: good luck. :) Although, I don't think Squaak as of Episode 3 supports function calls, so I don't know how you'd manage to do output. | 17:16 | |
| singalong | tcurtis: oh! k now i'm going to try some stunts to pass the test then. like cheat by using a blank test file | 17:17 | |
| using a blank file fails too :P | 17:18 | ||
|
17:18
davidfetter joined
|
|||
| singalong | isn't this error because of the line "Finally, remove the rules proto token statement_control, rule statement_control:sym<say>, and rule statement_control:sym<print>." in the episode-3? | 17:19 | |
| tcurtis | Well, those aren't the right syntax for Squaak's output. It seems simpler to remove them and replace them with the appropriate Squaak syntax (I think that's done in Episode 4, but I'm not absolutely certain) than to tweak the parser to support them temporarily. | 17:23 | |
| singalong | tcurtis: what should I actually be going for? PIR or PCT? | 17:24 | |
| tcurtis | singalong: What do you mean by "going for"? | 17:25 | |
| singalong | tcurtis: do things directly via PCT or PIR. | ||
| coz the PCT tutorial seems broken. and no other upto-date tutorial available. But I'm going to try tomorrow to just read thru the docs and understand PCT before I do PIR | 17:26 | ||
| pir seems to have a few tutorials available already on the net. | 17:27 | ||
| tcurtis | What things are you trying to do? Writing a compiler? PCT. Writing some other code? Either PIR or some HLL. | ||
| The PCT tutorial (hopefully) isn't broken. If it is, I'll try to fix that. | |||
| singalong | tcurtis: just trying to implement a language. but wanted to go thru the PCT tutorial. | 17:28 | |
| tcurtis: just found this pretty good tutorial here coolnamehere.com/geekery/parrot/learn/index.html | |||
| but its PIR :P | |||
| Coke | singalong: I would recommend NOT using PIR directly. it is helpful to know when you have to drop down to PIR from NQP, but if you're starting from scratch, use PCT/NQP/etc. | 17:29 | |
| and yes, the current state of document leaves much to be desired. | 17:30 | ||
| *documentation | |||
| singalong | Coke: oh! then i should probably stick to PCT. | ||
| Coke: Would love to help with the documentation. | |||
| Coke | If you're looking for an example (as opposed to a tutorial), partcl-nqp might be of use. | ||
| partcl-nqp? | 17:31 | ||
| purl | i heard partcl-nqp was github.com/partcl/partcl-nqp | ||
| singalong | Coke: ya sure! even an example would do. | ||
| Coke | that's written mainly in nqp-rx, uses the PCT classes from there, and has some callouts to PIR where necessary. | ||
| the main grammar is in src/Partcl/Grammar.pm, the actions for that grammar in Actions.pm in the same dir. | 17:32 | ||
| singalong | Coke: thanks! | ||
| Coke | other mini-languages in tcl have similar src/*/Grammar.pm,Action.pm pairings. | ||
| Have to run, $DAYJOB | 17:34 | ||
|
17:41
singalong left
17:42
mmcleric joined
17:48
ash_ joined
17:55
ash_ left
17:57
nwellnhof joined
17:59
ash__ joined
18:05
ash__ left,
mmcleric left
18:15
whiteknight left
18:22
ash_ joined
|
|||
| pmichaud | nwellnhof: pong | 18:35 | |
|
18:37
triper joined
18:39
triper left
|
|||
| moritz | pmichaud: nwellnhof came up with a patch to fix the memory corruption that we discovered in conjunction with masak's enum patch | 18:40 | |
| pmichaud: I've applied it in the enum_memory branch | |||
| pmichaud | moritz: okay, looking | 18:41 | |
| ummmm, -1 on the patch, I think. | 18:43 | ||
| nwellnhof | moritz, pmichaud: forget my old patch | ||
| see the comment i just made: trac.parrot.org/parrot/ticket/1746#comment:10 | 18:44 | ||
| i didn't realize what was going on with the proxy object | |||
| pmichaud | line 150 is the one that switches out the vtable? | ||
| nwellnhof | yes | 18:45 | |
| pmichaud | I'm not sure we can just eliminate it. | ||
| Unless it's fossil code, but jnthn++ would probably need to check that. | |||
| nwellnhof | it operates on the *old* proxy PMC | ||
| which will be never used again | |||
| pmichaud | looking | 18:46 | |
| nwellnhof | looks like a part from some old code that was accidentally left in | ||
| pmichaud | if spectests pass with that line removed, then +1 from me | 18:58 | |
|
19:02
Paul_the_Greek joined
|
|||
| Paul_the_Greek | Hey folks. | 19:03 | |
| Question about the Integer PMC? | |||
|
19:04
whiteknight joined
|
|||
| dalek | tracwiki: v14 | particle++ | TracSpammers | 19:05 | |
| tracwiki: trac.parrot.org/parrot/wiki/TracSpa...ction=diff | |||
| particle | spammers all up in our drupal :( | 19:06 | |
| Paul_the_Greek | Wah! | ||
| cotto_work | I thought Drupal was unsinkable, like the Titanic. | 19:08 | |
| particle | if any admins can help me delete the users and update Mollum about the spammers listed at www.parrot.org/admin/content/comment i'd be grateful | ||
| whiteknight | IM IN UR DRUPAL SPAMMIN UR PARROTZ | ||
| particle: I can help a little (though I am coming late and don't know what happened) | |||
| sorear | Is EvanCarroll allowed on #perl6? | 19:10 | |
| He's banned from all of irc.perl.org for a reason | |||
| particle | apparently he's allowed | ||
| sorear | well, I haven't banned him yet | ||
| particle | anyway, whiteknight i'm looking at the comments listed in that report | 19:11 | |
| sorear | I mean "allowed" in a social sense | ||
| particle | if the comment is seo spam, i'm deleting the user | ||
| then i'll go back to the report, where the author is now listed as (not verified), and mark the comments for Mollum to pick up on in the future | |||
| mark the comment by clicking on the subject in the report, then hitting the 'report to mollum' link, and reporting as spam | 19:12 | ||
| whiteknight | particle: I don't see any obvious spam on pages 2 or 3 | 19:29 | |
| particle | yeah, i've started at the bottom :) | 19:31 | |
| whiteknight | oh, that's the idea I had, since I figured you would start at the top :) | ||
| particle | for some reason, there are a lot of spam comments about parrot 1.7.0 created in the last few weeks | 19:32 | |
| whiteknight | popular release? | 19:33 | |
|
19:33
ash_ left
|
|||
| Paul_the_Greek | Question about compiling .pmc files? | 19:34 | |
|
19:34
ash_ joined,
ash_ left
|
|||
| cotto_work | you have one? | 19:35 | |
| Paul_the_Greek | Heh. Yes, I do. | ||
| cotto_work | There can be no answer without a question. | ||
| Paul_the_Greek | If I have changed a .pmc file, what make do I have to do in order to run tests on it? | 19:36 | |
| whiteknight | there can be no answer until you realize the truth: There is no question | ||
| Paul_the_Greek | Then please provide the answer without my bothering to ask. | ||
| whiteknight | should be part of the normal make target | ||
| Paul_the_Greek | The default make target? | ||
| whiteknight | just type "make" | 19:37 | |
| Paul_the_Greek | Will do. Thanks. Working on integer.pmc. | ||
| cotto_work | Once you've run make, you can run the direct tests via prove. it's not as complete as make test but it'll point out any glaring issuess more quickly. | ||
| Paul_the_Greek | Yes, I have new tests just for these changes, so a prove will do the trick, at least initially. | 19:38 | |
|
19:41
ash_ joined
|
|||
| particle | i need a report of drupal users who have never posted and have no roles | 19:43 | |
| many spam comments here: www.parrot.org/news/2009/Parrot-1.7.0 ... i'm dealing with them now. sigh. | 19:45 | ||
| cotto_work | yech | 19:53 | |
| Paul_the_Greek | The Integer PMC does not implement the negate method. I assume, then, that it inherits it from Scalar? | 19:58 | |
| cotto_work | looks like it | 19:59 | |
| purl | No it doesn't, shut your hole! | ||
|
19:59
ruoso left
|
|||
| cotto_work | botsnackkick | 20:00 | |
| purl | thanks cotto_work :) | ||
| cotto_work | karma botsnack | ||
| purl | botsnack has neutral karma | ||
| aloha | botsnack has karma of 0. | ||
| purl | thanks aloha :) | ||
|
20:00
Coke left
|
|||
| nwellnhof | karma karma | 20:03 | |
| purl | karma has karma of 61 | ||
| aloha | karma has karma of 0. | ||
| purl | has karma of 0. has neutral karma | ||
| aloha | has karma of 61 has karma of 0. | ||
| Paul_the_Greek | Do you think we can put those two bots in an infinite loop? | 20:04 | |
| karma purl aloha karma | |||
| purl | purl aloha karma has neutral karma | ||
| cotto_work | close but no cigar | ||
| aloha | purl aloha karma has karma of 0. | ||
| purl | aloha: what? | ||
| aloha | purl: Search me, bub. | ||
| purl | aloha: excuse me? | ||
| aloha | purl: I give up. | ||
| purl | aloha: excuse me? | ||
| aloha | purl: I have no idea. | ||
| purl | aloha: i'm not following you... | ||
| Paul_the_Greek | That was pretty good. | ||
| nwellnhof | i'm impressed | ||
| cotto_work | Paul_the_Greek++ | ||
| Paul_the_Greek | karma purl aloha karma loop | 20:05 | |
| purl | purl aloha karma loop has neutral karma | ||
| aloha | purl aloha karma loop has karma of 0. | ||
| purl | aloha: sorry... | ||
| Paul_the_Greek | karma purl karm aloha purl | ||
| purl | purl karm aloha purl has neutral karma | ||
| aloha | purl karm aloha purl has karma of 0. | ||
| purl | aloha: excuse me? | ||
| aloha | purl: No clue. Sorry. | ||
| purl | aloha: excuse me? | ||
| aloha | purl: No clue. Sorry. | ||
| purl | aloha: i'm not following you... | ||
| moritz | any reason not to kick purl? | ||
|
20:05
whiteknight left
|
|||
| cotto_work | This is a dangerous game we're playing. | 20:05 | |
| moritz: loss of karma state | 20:06 | ||
| moritz | cotto_work: I plan to extract #parrot karma from the public IRC logs | ||
| cotto_work | I'd prefer not to kick purl until everything's in place | 20:07 | |
| moritz | understandable | ||
| cotto_work | but if some approximation of karma is preserved and the messages get less spammy, I won't mind | 20:09 | |
| szbalint | who runs purl anyway? hachi? | ||
|
20:09
ash__ joined
|
|||
| szbalint | couldn't you get a karma dump from him? | 20:09 | |
| cotto_work | owner? | ||
| purl | i guess owner is hachi, see also #purl | 20:10 | |
|
20:10
ash_ left,
ash__ is now known as ash_
20:12
Coke joined
|
|||
| dalek | rrot: r48727 | nwellnhof++ | trunk/src/string/api.c: Fix a bug in Parrot_str_join |
20:17 | |
|
20:30
tcurtis left
20:33
bluescreen left
20:42
lucian left
20:43
fperrad left,
bluescreen joined
20:44
dduncan joined,
dduncan left,
p4rr0t joined
20:50
luben joined
|
|||
| moritz | my #parrot logs have about 51k lines that contain ++ or -- | 20:53 | |
| Coke | moritz+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 20:55 | |
|
20:58
cotto_work2 joined,
ash_ left
|
|||
| Coke | (my consulting company)-- | 20:58 | |
| moritz | postfix:< has karma +3 :-) | ||
|
20:59
cotto_work2 left,
cotto_work2 joined
21:01
ash_ joined,
ash_ left,
cotto_work left,
cotto_work2 is now known as cotto_work
|
|||
| GeJ | Bonjour everyone. | 21:01 | |
| szbalint | chromatic++ # profilic blogger | 21:03 | |
| davidfetter has been antilific lately | 21:04 | ||
|
21:06
jsut joined
|
|||
| Coke | thingsrbetterwithaparrott.typepad.com/ | 21:10 | |
|
21:11
jsut_ left
|
|||
| cotto_work | wedding invitations are serious business | 21:19 | |
| Paul_the_Greek | Alright, whose haribrained idea was it that the negative of Boolean true should be true? | 21:20 | |
| cotto_work looks and prepares for lulz | 21:21 | ||
| looks like an unintended side-effect of Boolean's inheritance | 21:22 | ||
| Paul_the_Greek | Yes, because it extends Integer. Which is an absolutely ridiculous result of decades of refusal to make Booleans first-class types. | ||
| However, the problem is a result of changes I just made. Integer no longer inherits neg from Scalar. | 21:24 | ||
| cotto_work | Are you working to rip Scalar out? | 21:25 | |
| Paul_the_Greek | No, I'm fixing the bugs neg minint and abs(minint). | ||
| Let me look at Scalar neg ... | 21:26 | ||
| Weird, it behaves exactly as you would expect. Where does the Boolean behavior come from? A little investigation needed... | 21:27 | ||
|
21:28
ash_ joined
|
|||
| cotto_work | My guess would be that it happens because non-zero evaluates to true. | 21:29 | |
|
21:30
p4rr0t left
|
|||
| Paul_the_Greek | Ah, so it's whatever is generated by is() that I have to check. | 21:31 | |
| dalek | TT #1245 closed by Paul_the_Greek++: src/pmc/integer.pmc: Check overflow for -maxint in absolute() | ||
| TT #1245: trac.parrot.org/parrot/ticket/1245 | |||
| Paul_the_Greek | How can I see what a .t file is compiled into? | ||
| cotto_work | opbots, names | ||
| moderator | Parrot 2.7.0 "Australian King" Released! | parrot.org Log: irclog.perlgeek.de/parrot/today | Nopaste: nopaste.snit.ch:8001 | close 20 tickets (-9 to go), merge outstanding branches; parrot-members: vote by 2PM PT Tues Aug 31 | 21:31 | |
| cotto_work | which .t file? | 21:32 | |
| Most of them are run (somewhat) directly. | |||
| Paul_the_Greek | boolean.t | 21:33 | |
| I need to see what is() generates, so I can figure out how it's comparing the two Booleans. | |||
| The weird thing is that the 2-operand form of neg is failing, but the 1-operand form is not. | 21:35 | ||
|
21:36
ash_ left
21:38
ash_ joined
|
|||
| cotto_work | That PIR is run directly. The functions are defined in runtime/parrot/library/Test/More.pir . | 21:38 | |
|
21:40
seatek joined
|
|||
| Paul_the_Greek | It uses iseq. | 21:40 | |
|
21:41
silug left
|
|||
| Paul_the_Greek | Which does what you'd expect. This is mysterious. | 21:42 | |
|
21:42
hercynium joined
|
|||
| Paul_the_Greek | I get it. It's the behavior of set_integer_native. | 21:46 | |
| Boolean simply has to implement neg. | 21:47 | ||
|
21:47
bluescreen left
22:43
kid51 joined
|
|||
| nopaste | "kid51" at 192.168.1.3 pasted "gsoc_branch: 'make fulltest' failures at r48727" (2233 lines) at nopaste.snit.ch/23199 | 22:45 | |
|
22:51
cotto_work2 joined
|
|||
| cotto_work2 | kid51: there is no gsoc_branch branch | 22:52 | |
|
22:54
cotto_work left
|
|||
| kid51 | Correction: gsoc_threads | 22:59 | |
| dalek | rrot: r48728 | jkeenan++ | branches/gsoc_threads (7 files): [codingstd] Set Subversion metadata. |
23:06 | |
| rrot: r48729 | jkeenan++ | branches/gsoc_threads (7 files): [codingstd] trailing space; pod syntax. |
|||
| rrot: r48730 | jkeenan++ | branches/gsoc_threads/src/threads.c: [codingstd] no cuddled else |
|||
|
23:07
hercynium left
|
|||
| kid51 | Lots more still to be done in gsoc_threads branch | 23:07 | |
|
23:07
kid51 is now known as kid51_at_dinner
23:13
particle left
|
|||
| cotto_work2 | dafrito: ping | 23:25 | |
|
23:25
cotto_work2 is now known as cotto_work,
bluescreen joined
|
|||
| dafrito | cotto_work: pong | 23:30 | |
|
23:32
tcurtis joined
|
|||
| cotto_work | dafrito: can you come up with a way to get git log to spit out every commit in a repository? | 23:32 | |
| It seems to be much faster than map-svn (and doesn't make as many assumptions) to use git log, but its output only has ~39000 revisions. | 23:34 | ||
| dafrito | git rev-list --all is probably the right direction for that | ||
| That might be faster, but I don't think the assumptions are any better: It'd be a difference between using git-svn's data, or an artifact of that data | 23:36 | ||
| cotto_work | rev-list only returns 40792 lines of output | 23:37 | |
|
23:37
whiteknight joined,
kid51_at_dinner left
23:38
dngor_ joined
|
|||
| dafrito shrugs | 23:39 | ||
|
23:39
dngor left
|
|||
| dafrito | The old map-svn used "git rev-list --all" | 23:39 | |
| If you're not getting a complete view of the data, then your checkout might be incomplete? Both ways are hackish in that they have to assume existing data is actually useful | 23:42 | ||
| doing git rev-list --all on my repo gets me 84k lines of output | 23:43 | ||
| cotto_work | is that parrot/parrot from github? | ||
| dafrito | No, I'll check that one out and see what I get | 23:44 | |
| I get 40784 | 23:47 | ||
|
23:47
silug joined
|
|||
| cotto_work | same here (mostly) | 23:48 | |
|
23:51
nwellnhof left
|
|||
| dafrito | which is probably accurate, considering there's been pruning and things like that going on | 23:56 | |
| cotto_work | I'm tempted to go with whatever rev-list spits out. | 23:57 | |
| dafrito | yeah, it doesn't bother me | 23:58 | |
| rev-list is nice since it works on any git repo | |||
| map-svn only works on repos with SVN crap lying around | |||
| cotto_work | The more important question is whether it'll cause omissions that bother parrot hackers using the trac site once the plugin installed. | 23:59 | |