Camelia, the Perl 6 bug

IRC log for #parrot, 2009-03-31

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:13 Casan joined #parrot
00:15 TiMBuS joined #parrot
00:16 RobertLJ joined #parrot
00:22 tetragon joined #parrot
00:23 rg joined #parrot
00:26 RobertLJ joined #parrot
00:28 RobertLJ register RobertLJ 08**augo bobjohnson11@yahoo.com
00:31 AndyA joined #parrot
00:33 RobertLLJ Hey, I think I need to change my psswd now :)
00:41 cotto good idea
00:41 purl cotto: Good Idea: Finding Easter eggs on Easter morning. Bad Idea: Finding Easter eggs on Christmas morning.
00:46 darbelo left #parrot
00:52 RobertLJ joined #parrot
01:13 dalek parrot: r37823 | allison++ | trunk (4 files):
01:13 dalek parrot: [build] Add a --disable-rpath option to allow Linux packagers to build
01:13 dalek parrot: Parrot binaries and libraries without -rpath in the linking flags.
01:13 dalek parrot: Resolves TT #476.
01:13 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37823/
01:27 dalek parrot: r37824 | pmichaud++ | trunk (10 files):
01:27 dalek parrot: Merge pge1 branch back into trunk (partial resolution of TT #460).
01:27 dalek parrot: Specific changes:
01:27 dalek parrot: * Retrieve text of a Match is now .Str (was .text)
01:27 dalek parrot: * Setting a result object in a Match is now match.'!make'(obj) (was .result_object)
01:27 dalek parrot: * Retrieving the result object is now match.'ast'() (was .item)
01:27 dalek parrot: * NQP's $(...) now calls '.ast' instead of '.item'
01:27 dalek parrot: * get_string/integer/number on Match objects now work from .Str instead of result object
01:27 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37824/
01:30 kid51 joined #parrot
01:53 wayland76 Do those recent commits mean it's a good time to ask about https://trac.parrot.org/parrot/ticket/442 again?  (and ticket 503 too maybe)?
01:53 rg no allison isn't here. you should try tomorrow after #parrotsketch
01:54 wayland76 rg: ok, thanks.  I'll try to remember to do that.
02:01 cognominal joined #parrot
02:08 dalek rakudo: c015556 | pmichaud++ |  (6 files):
02:08 dalek rakudo: Bring Rakudo up-to-date with recent PGE and compiler tools
02:08 dalek rakudo: in trunk (which themselves were changed in order to more
02:08 dalek rakudo: accurately reflect recent changes in S05).
02:08 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​0155565811df4350ab1ff17a1ad47e6c7b13730
02:08 shorten dalek's url is at http://xrl.us/bem7ff
02:48 janus joined #parrot
02:52 dalek parrot: r37825 | jkeenan++ | trunk/tools/dev/nopaste.pl:
02:52 dalek parrot: Applying patch submitted by fperrad in https://trac.parrot.org/parrot/ticket/520:  use pod2usage() where possible.
02:52 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37825/
02:57 mikehh joined #parrot
03:07 bacek_ kid51: don't forget TT#522 :)
03:08 hudnix joined #parrot
03:16 kid51 bacek_ : I was only correcting a spelling error in the description.  I don't claim to understand the issues involved, i.e., why it might have been deleted.
03:17 mncharity joined #parrot
03:18 mncharity left #parrot
03:18 kid51 I'll cc Allison on the TT (... but she hasn't been responding to cc-s on my tickets, so I can't guarantee a response).
03:18 * kid51 must sleep
03:18 purl $kid51->sleep(8 * 3600);
03:37 jq joined #parrot
04:23 Andy joined #parrot
04:40 ilia joined #parrot
04:56 tetragon joined #parrot
05:06 tuxdna joined #parrot
05:16 dukeleto joined #parrot
06:04 TiMBuS joined #parrot
06:11 uniejo joined #parrot
06:24 tuxdna joined #parrot
06:42 flh joined #parrot
06:45 clunker3 joined #parrot
06:47 zostay joined #parrot
07:32 Infinoid bacek_: I will test #518 and #522 on mingw tomorrow morning.  I suspect #518 will need some minor help, as PF_LOCAL isn't defined on win32
07:33 Infinoid if I can just use #ifdef and use -1 or 0 if the define wasn't found, I should be able to fix that kind of problem easily if I see it
07:35 Infinoid I suspect we might run into similar issues in socket_unix on older unices which don't have PF_INET6, which can be fixed in the same way
07:35 Infinoid but overall I like the design
07:37 bacek_ Infinoid: -1 should be fine
07:38 bacek_ Infinoid: Whole idea of this mapping was to handle such situations
07:57 eternaleye Hi, does anyone know what the current state of extending Parrot with C++ is?
08:15 masak joined #parrot
08:17 mikehh oops - testj fails - have been rubbung on Amd64 where make fulltest passes - I just switched to i386 and have a failure
08:17 mikehh srubbu/runni/
08:22 mikehh t/op/trans.t - Tests: 22 Failed: 1 - Failed test:  13
08:23 mikehh make fulltest - testj - Kubuntu Intrepid i386 at r37825
08:24 mikehh smoke PASS - smolder - 19505
08:52 TiMBuS joined #parrot
09:14 bacek eternaleye: it should be possible
09:24 cognominal joined #parrot
09:34 amoc joined #parrot
11:08 tuxdna joined #parrot
11:33 Debolaz joined #parrot
12:35 rg1 joined #parrot
12:46 Andy joined #parrot
12:49 Coke msg wayland76 you're probably better off commenting on the original tickets.
12:49 purl Message for wayland76 stored.
13:03 Khisanth joined #parrot
13:03 ilia joined #parrot
13:21 jan joined #parrot
14:04 NordQ joined #parrot
14:09 ilia joined #parrot
14:17 NordQ joined #parrot
14:31 Theory joined #parrot
14:45 dalek rakudo: 5374f73 | pmichaud++ | docs/spectest-progress.csv:
14:45 dalek rakudo: spectest-progress.csv update: 339 files, 8039 passing, 0 failing
14:45 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/5​374f7354fcb5a3c40d35e1b33fc7aa2d87fbc06
14:45 shorten dalek's url is at http://xrl.us/bem8wz
14:49 Tene joined #parrot
15:08 Psyche^ joined #parrot
15:11 ilia joined #parrot
15:19 ilia_ joined #parrot
15:25 jan joined #parrot
15:27 amoc joined #parrot
15:28 Khisanth joined #parrot
15:30 Khisanth joined #parrot
15:31 * Coke is tempted to pull perlcritic.t out of 'codetest'. =-)
15:31 Coke (not really, but it's sloooow)
15:32 Infinoid perlcritic.t makes codetest take longer for me than "make test" does... including the building parrot part!
15:41 Infinoid bacek: there exists a runtime/parrot/include/sockets.pasm file which has the same problems your socket5.patch had, in its first version
15:42 Infinoid I think either we should use that version (modifying it if necessary), or get rid of it to avoid confusion
15:42 dalek parrot: r37826 | coke++ | trunk (6 files):
15:42 dalek parrot: [t/docs] add more function doc signatures.
15:42 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37826/
15:43 Infinoid Putting the constants in a non-autogenerated file like that does have the benefit of making the resulting constants without the "PIO_" prefix, which seems a little more readable to me
15:43 Infinoid but I don't know what the normal thing is, for pir constants.  Do you have an opinion?
15:44 * particle wonders if perl::critic has been run through devel::nytprof
15:46 particle generally our constants are generated from header files, so they're available to c/pir/pasm
15:48 Infinoid yeah, that's what I'm looking at.  bacek++ has a patch to add socket constants (like PF_INET and IPPROTO_TCP) so they can be used from pir
15:48 Infinoid One problem is that these values vary from one platform to the next... PF_INET6 is 10 on linux and 23 on mingw, for example
15:49 Infinoid So in the current implementation, we have the system values which vary, and the parrot values which don't vary (thus keeping bytecode portable), and some tables to map between the two
15:49 Coke Infinoid: we would need to standardize them.
15:49 Coke Infinoid: there you go.
15:49 Infinoid Yeah, bacek++ has done that
15:50 Infinoid But the resulting names in pir space are like ".PIO_PF_INET"... the extra prefix indicates the parrot version
15:50 Infinoid Is that ok?
15:50 Coke i have no problem with a parrot-specific prefix, no.
15:50 Infinoid Great, thanks.
15:50 Coke should help avoid confusion.,
15:51 Coke should we go with something super verbose like PARROT_PIO_PF_INET ? =-)
15:51 Infinoid if you're writing in pir, it's pretty obvious that you expect to be using parrot.  This year, at least.
15:52 Infinoid So these constants will be available as PIO_* in PIR space... and then languages like c99 can map those back to their common names I guess
15:52 Infinoid even though the values might be different, so c99 will have to be careful to stay away from the system headers
15:53 Infinoid That's where I start getting confused. :)
16:00 particle don't you worry about c99 on parrot, it'll probably never happen.
16:00 particle and in this case, punting to the hll is totally appropriate
16:01 particle only when hll devs complain loud enough and long enough will we consider addressing their issues.  right, pmichaud? ;)
16:01 Coke particle: I'm sorry, I have to re-architect partcl AGAIN, what were you saying?
16:03 particle come back when i care :P
16:06 Coke go document your function and hush.
16:11 masak` joined #parrot
16:11 baest_ joined #parrot
16:11 elmex joined #parrot
16:12 dalek joined #parrot
16:16 Infinoid bacek: I've modified the comment in io.h because these things are now not the same as the native linux values, and I've made the PF_* constants conditional.  Now I've fixed a couple of C90 warnings, and it tests fine on linux... testing on mingw next
16:17 Infinoid I suspect we might need to standardize the SOCK_* definitions the same way we're doing for PF_*.  But I'll see whether this works first
16:18 Infinoid if the examples work on mingw, I'll commit this and add the SOCK_* stuff in a later commit
16:18 Infinoid I've also got some warnings in socket_win32.c I want to fix.
16:20 ilia joined #parrot
16:22 ilia joined #parrot
16:27 pmichaud #parrot sketch in 123
16:29 moritz I'll probably miss that
16:30 Whiteknight joined #parrot
16:31 uniejo joined #parrot
16:35 dalek parrot: r37827 | Infinoid++ | trunk (4 files):
16:35 dalek parrot: Apply patch from bacek++ in TT #518:
16:35 dalek parrot: Add some constants for sockets
16:35 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37827/
16:36 Infinoid r37829 builds and tests fine for me on linux and mingw... I would love to get some reports from osx, mingw and solaris as to whether it builds, tests, and whether the examples in examples/io/ work
16:37 Infinoid uh, reports back from msvc, not mingw
16:39 dalek parrot: r37828 | Infinoid++ | trunk/examples/io/http.pir:
16:39 dalek parrot: Apply patch from bacek++ in TT #522:
16:39 dalek parrot: Resurrect examples/io/http.pir, use the modern sockets API.
16:39 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37828/
16:42 * particle rebuilds on msvc
16:42 dalek parrot: r37829 | Infinoid++ | trunk (3 files):
16:42 dalek parrot: [io] Make socket constants conditional.  (They aren't all defined on all architectures, and should fall back to -1 where they aren't implemented)
16:42 dalek parrot: * Also, fix a comment to make it perfectly clear that the PIO socket constants differ from the system socket constants.
16:42 dalek parrot: * Also, fix the following warning: src/io/socket_unix.c:171: warning: ISO C90 forbids mixed declarations and code
16:42 dalek parrot: * Also, fix the following warning: src/io/socket_win32.c:117: warning: ISO C90 forbids mixed declarations and code
16:42 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37829/
16:43 * Infinoid reduces dalek's polling interval
16:44 Infinoid particle: There are probably some warnings from src/io/socket_win32.c.  I'm going to be poking around in there to fix some warnings I'm seeing on mingw... if you have the chance, a list of msvc warnings would also be helpful
16:44 particle i'll see what i can do.
16:50 * rg is running smoke on solaris. it'll show up in 1-2 hours
16:51 Infinoid thanks!
16:52 dalek joined #parrot
16:52 Coke_lunchies rg++
17:03 * Coke uninstalls parrot, and tries from the official macport version, and fails. wtf.
17:04 Coke (pointing to the build path again. wtf.)
17:05 Enso joined #parrot
17:05 Coke anyone here try to install using the version in macports?
17:06 RobertLJ joined #parrot
17:09 dalek markdown: ae0b52b | (Francois Perrad)++ | src/parser/ (2 files):
17:09 dalek markdown: now, works with Parrot r37824
17:09 dalek markdown: COMPATIBILITY BREAK
17:09 dalek markdown: review: http://github.com/fperrad/markdown/commit​/ae0b52bf964324c9a7ba1985a2cbfa6e96277ce7
17:09 shorten dalek's url is at http://xrl.us/bem9h4
17:10 RobertLJ register 08**augo bobjohnson11@yahoo.com
17:10 moritz RobertLJ: pick a new password ;-)
17:17 Coke wtf. I removed the previously installed parrot bits, new install worked. ah well.
17:18 darbelo joined #parrot
17:18 Coke I wonder if we should change parrot_config's output to be, e.g. YML.
17:18 Coke (or json. or something that we conceivable reuse.)
17:25 uniejo joined #parrot
17:28 dalek partcl: r327 | wcoleda++ | trunk/ (7 files):
17:28 dalek partcl: Apply patch from issue #73 - track string renames
17:28 dalek partcl: Courtesy Allison Randal
17:28 dalek partcl: review: http://code.google.com/p/p​artcl/source/detail?r=327
17:29 particle Infinoid: my smoke report shows all pass
17:29 particle http://smolder.plusthree.com/app/pu​blic_projects/report_details/19517
17:29 shorten particle's url is at http://xrl.us/bem9k5
17:29 Infinoid great, thanks!  any chance you can try the stuff in examples/io/ ?  there's an HTTP server that listens on localhost port 1234, and a simple client that connects to www.ibm.com and spits out some http headers
17:30 * Coke grumbles, yes, we DO need a parrot-devel port for osx.
17:31 Infinoid the output of httpd.pir indicates it's meant to browse the html docs, but you can go to http://localhost:1234/NEWS or http://localhost:1234/Configure.pl even if you haven't done a "make html"
17:31 barney joined #parrot
17:32 Coke is it common for the -devel- port to include everything in the original port?
17:32 Coke (or is it normally just the extras that the non-devel wouldn't have.)
17:32 Coke (or does anyone care.)
17:33 Infinoid I dunno how ports does it.  if it's anything like how debian/redhat/etc do it, the -devel- package will depend on the base package and just add headers and linking stuff
17:33 masak` oh, the parrotsketch meeting is still another hour away, right?
17:34 moritz yes
17:34 * barney got confused as well
17:35 moritz DST and all.
17:35 Coke Infinoid: if we had an install-dev that was only the extras, I'd do it that way. =-)
17:35 Coke (but it looks like 1.0 at least has install-dev : install, which means we get everything.)
17:35 Coke ah well.
17:35 masak that's nice. then I have almost an hour to hack on November. :)
17:35 Infinoid yeah.  the binary packagers tend to install to a tmpdir and cherry-pick individual files/dirs for each package it builds
17:36 Coke I am wondering if I should just update the parrot portfile to do an install-dev.
17:36 Coke is there any point to a non-dev version?
17:36 Coke aside from "ooh, look, I have parrot"?
17:37 Infinoid if you have a binary package of parrot and a binary (well, pbc) package of rakudo, that should be enough to run perl6 code
17:37 particle Infinoid: actually, i need to run it from the parrot build dir to get it to see NEWS
17:37 Infinoid so in that case, I'm not sure the parrot-dev package should be necessary
17:37 particle and yes, that works.
17:37 Infinoid particle: ah.  I had assumed that's where you would run it
17:39 particle Infinoid: i got a 302 from the ibm site
17:39 particle so, that's working, too
17:39 Infinoid cool, thanks!
17:39 * Coke tries to figure out what gets installed with 'install-dev'
17:39 particle i might like to see that script updated to use one of pafo's sponsor pages
17:40 particle heck, or parrot.org.
17:40 Infinoid yeah, probably.  It also has some obsolete comments at the top
17:41 Infinoid Coke: I'm guessing headers for embedders, all the extra tools (pbc_dump for example), stuff like that?
17:41 Coke Infinoid: I'd like a list. =-)
17:41 Coke I can't seem to make tools/dev/install_dev*.pl generate one.
17:41 Infinoid I'm not authoritative, but I think the distinction is, parrot-dev is needed for building HLLs, whereas the base parrot package is all the stuff necessary to run the resulting .pbc files
17:41 Infinoid but in parrot's case, quite a lot of stuff is wrapped into the one executable
17:42 Coke aha. --dry-run=1, not --dry-run
17:42 Coke rant. tools/dev/ is the wrong dir for this. should be tools/build
17:42 particle yeah, the pmc2c files are in install-dev
17:43 Coke why does runtime/parrot/library/PCT/PAST.pbc -> /usr/lib/library/PCT/PAST.pbc
17:43 Coke ?
17:43 Coke shouldn't there be a parrot in the installed dir?
17:43 Coke hurm. perhaps that'll be resolved with appropriate options i can specify.
17:44 Coke bah. I thought I was done with this crap.
17:46 particle i thought it should be /usr/lib/parrot/1.0.0/library/PCT/PAST.pbc or something
17:47 * particle knows little of the new installer
17:50 uniejo joined #parrot
17:50 * Coke wonders why nqp is installed under languages.
17:52 Coke (all compilers, not just nqp)
17:52 Coke alright. looks like install-dev doesn't have any other executables, just a bunch of docs and PBC runtimes and source. should be trivial to add a new portfile.
17:53 Coke particle: yes, that's what it turns out to be. it's just the defaults that look scary.
17:54 allison joined #parrot
18:00 eternaleye_ joined #parrot
18:01 Coke hurm. can't seem to make the parrot-devel port look for a 'parrot' binary (instead of a parrot-devel binary)
18:04 Coke aha.
18:06 Coke (baha. tried to copy a try from another -devel port, nope.
18:06 cognominal joined #parrot
18:07 Coke there we go. yay cribbing.
18:16 jhorwitz joined #parrot
18:19 Tene joined #parrot
18:19 chromatic joined #parrot
18:19 chromatic I may be late for #ps; on the phone.
18:28 Coke bah. creating the devel port slightly more annoying that just hijacking parrot.
18:30 * Coke opens a ticket in case someone is inspired.
18:30 Infinoid Coke++ for working on it - if we can't figure out, what chance to third party packagers have
18:31 Coke Infinoid: your timing is awful, I just gave up. =-)
18:31 Infinoid haha, but you tried!
18:36 cotto chromatic++ #working on jit issues
18:36 chromatic jit--
18:40 confound joined #parrot
18:42 Andy joined #parrot
18:43 eternaleye joined #parrot
18:48 dalek rakudo: 78cb4c3 | (Moritz Lenz)++ | t/spectest.data:
18:48 dalek rakudo: add passing test to t/spectest.data
18:48 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/7​8cb4c3f0e14dd68ced8f583f51a420b6189de62
18:48 shorten dalek's url is at http://xrl.us/bem94u
18:54 Infinoid purl, cla?
18:54 purl i heard cla was Contributor License Agreement or http://www.perlfoundation.org/​contributor_license_agreement or http://www.parrot.org/foundation/legal
18:57 dalek parrot: r37830 | allison++ | branches/pcc5:
18:57 dalek parrot: Removing calling conventions refactor branch from the repository
18:57 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37830/
19:08 particle we need an announcement of some sort that the nlnet grant has been completed.
19:10 particle barney: are you planning a pipp developer release?
19:11 moritz it has?
19:14 barney not really. There is too little working.
19:14 rg infinoid: solaris tests ok. how long is http.pir supposed to run (on a slow machine)?
19:14 barney 71/4xxxx tests succeeding, of the PHP test suite
19:15 moritz hey, it's a start
19:15 barney 71/4780
19:15 purl 0.0148535564853556
19:16 moritz barney: rakudo's record started with 223 passing tests, but I'm sure the real start was much lower
19:16 Infinoid rg: It takes a few seconds here.  It tries to connect to www.ibm.com port 80 and dumps the http response; if your solaris machine doesn't have direct internet connectivity, it will probably time out
19:16 ron joined #parrot
19:17 rg it does. lwp-request took maybe 2 seconds.
19:17 ron left #parrot
19:17 particle yikes.  barney, now that i'm coding in php, i may have some interest in working on pipp
19:18 barney particle++
19:18 rg http.pir hangs after saying "connect returned 0"
19:18 Infinoid Ok.  Are you up for a little interactive debugging?
19:18 rg sure
19:18 barney There are a lot of low hanging fruits, e.g   'switch', 'include'
19:19 Infinoid rg: great.  Please try: ./parrot -t1 examples/io/http.pir
19:19 rg hangs on     64 callmethodcc P1, "recv"                                        P1=Socket=PMC(0x10026f4f0)
19:19 nopaste "Infinoid" at 75.140.33.106 pasted "The output of "./parrot -t1 examples/io/http.pir" on linux/x86-64" (54 lines) at http://nopaste.snit.ch/16019
19:20 Infinoid rg: Hmm.  First guess, maybe it's not sending the second newline so the server is still waiting for the end of the http request
19:20 rg ok, let me tcpdump that
19:22 Infinoid Ok.  I've got a sniffed connection here to compare against
19:23 PhatEddy joined #parrot
19:23 Infinoid Another thought, maybe solaris recv() is trying to fill the buffer before returning
19:24 PhatEddy diakopter: ping
19:24 particle barney: is there a ml/trac/other where i can read more on what's needed?
19:25 rg uhm ... why would it use udp?!
19:25 rg that looks like a hardcoded constant difference
19:26 * Coke tries to debug a problem in JS on IE. wtf.
19:26 barney particle: I might go for a Trac-queue, until then there is http://wiki.github.com/bschmalh​ofer/pipp/implementation-status
19:26 shorten barney's url is at http://xrl.us/benab7
19:28 rg oh yes, looks a lot like it:
19:28 particle thanks, barney
19:28 rg #define SOCK_STREAM 2       /* stream socket */
19:28 rg #define SOCK_DGRAM  1       /* datagram socket */
19:29 barney particle: a Test.php would be great, in order to get rid of Perl 5 test scripts
19:29 rg works with sock.'socket'(2, 2, 0)
19:29 rg i believe there's already a ticket saying we need proper constants? ;)
19:29 Infinoid rg++ # good find
19:29 particle do we have a porting guide?
19:29 particle that's a good faq item for one
19:30 Infinoid rg: I don't know if there's a ticket, but I was thinking about this being a possible issue earlier today
19:30 Infinoid [09:17] <@Infinoid> I suspect we might need to standardize the SOCK_* definitions the same way we're doing for PF_*.  But I'll see whether this works first
19:30 rg ok then there's your proof that you need them ;)
19:31 eternaleye_ joined #parrot
19:32 Infinoid rg: When I've worked up a patch, I'll bug you about this again if you don't mind :)
19:32 * chromatic wonders if the 64-bit problems in the JIT have something to do with hardcoded stack offsets which seem to assume an 4-byte pointer size.
19:32 rg sure, no problem
19:33 Infinoid this will have to wait until I get home from work tho
19:33 barney particle: Nope, over Easter I hope to find some time for looking into extensions. Getting an idea wheter the PHP extensions can be reused
19:33 Infinoid I can't find a ticket.  I'll create one
19:33 bacek good morning
19:34 rg infinoid: no worries.
19:34 bacek Infinoid: thanks for applying and fixing my patches
19:34 Infinoid bacek: thanks for sending them :)
19:34 Infinoid It sounds like we'll need another lookup table for the SOCK_* defines; they differ on solaris according to rg++'s testing.  I was just writing up a ticket, it'll be a few hours before I can work on that
19:36 kj joined #parrot
19:36 bacek Infinoid: I can implement it.
19:37 Infinoid TT #527
19:37 Infinoid bacek++
19:38 * barney added particle as Pipp collaborator
19:38 bacek Infinoid: not yet :)
19:38 particle barney++
19:40 bacek Infinoid: udp/tcp selected by "PIO_PROTO_*", not SOCK_*...
19:42 bacek rg: can you check /etc/protocols for "tcp" and "udp" values?
19:45 darbelo I have intermittent failures in t/pmc/packfiledirectory.t on OpenBSD
19:47 diakopter PhatEddy: what
19:47 darbelo half the time it crashes with "parrot in free(): error: bogus pointer (double free?)"
19:47 rg bacek: the values in /etc/protocols are standards that can't change anywhere
19:48 rg tcp 6, udp 17, icmp 1 to name the most common ;)
19:48 darbelo a backtrace shows that it happens in Parrot_exit().
19:48 bacek rg: I know... That's why I wonders how it can create udp socket instead of tcp...
19:49 rg it's stream vs. dgram sockets
19:49 barney Were there changes in PAST::Val ?
19:49 bacek rg: ah, ok. It makes sense.
19:49 bacek Infinoid: you have to change description in ticket :)
19:51 PhatEddy rakudo: sub foo($v, $w?, $x?, $y?){ say $v~"|"~$w~"|"~$x~"|"~$y};
19:51 tewk chromatic: did you see my GSoC proposal. Just curious, but What JIT work are you doing?  getting x86_64 to work?
19:52 chromatic tewk, working on cotto's patch to make *ManagedStruct use ATTRs.
19:52 tewk ahh
19:52 chromatic TT #519
19:53 chromatic You might have some insight on it.
19:53 tewk Looking
19:55 darbelo is this a known issue or should I open a ticket?
19:55 chromatic darbelo, I haven't seen it.
19:55 chromatic Can you create a ticket and include a backtrace?
19:56 particle how's our coverity report looking post-1.0?
19:56 chromatic Haven't looked in a while.
19:59 chromatic tewk, look at t/pmc/nci_66.pir
19:59 chromatic in nci_vp (a function from src/nci_test.c), inOpaque is 0xa instead of a pointer.
20:00 ilia joined #parrot
20:02 Infinoid rg: Can you verify the values of IPPROTO_TCP == 6 and IPPROTO_UDP == 17 on solaris?
20:02 davidfetter allison, what's the good word on sandboxing?
20:02 Infinoid Those are the actual values that go into the ip headers on the wire, so I was hoping they wouldn't vary
20:03 rg infinoid: i don't think they have a choice, but i can confirm those are there.
20:04 allison davidfetter: reprioritized
20:04 rg i'd be very surprised if any ip stack would do translation on those constants.
20:04 Infinoid bacek: TCP is the default for IP sockets of type SOCK_STREAM, and UDP is the default for SOCK_DGRAM, so I'm not convinced
20:04 * davidfetter hopes that means, "placed at a higher priority"
20:04 chromatic cotto, I think we need to change Pointer first.
20:05 allison davidfetter: lower. I don't suppose you'd be interested on working on it? I could help you get started.
20:05 cotto chromatic, how
20:05 cotto ?
20:05 davidfetter well, i can probably get People(TM) on it. what do you have?
20:06 cotto switch it to ATTRs too?
20:06 chromatic Yes.
20:06 allison davidfetter: a spec and a rough prototype that treats a sandbox as a lightweight thread
20:06 allison davidfetter: though I'm happy for People(TM) to take a non-threaded approach
20:07 allison davidfetter: in fact, I'll just chuck the prototype (twas *very* rough)
20:07 Infinoid bacek: rg checked this directly, solaris's SOCK_STREAM and SOCK_DGRAM have the reverse values of our constants.  http://irclog.perlgeek.de/p​arrot/2009-03-31#i_1029542
20:08 jhorwitz +1 for non-threaded approach -- mod_parrot needs it.
20:08 cotto chromatic, Pointer's in DEPRECATED.  Should it not be?
20:08 bacek Infinoid: anyway. Patch attached to ticket :)
20:09 Infinoid great, thanks
20:09 chromatic cotto, maybe so.  It's used in t/pmc/nci.t though.
20:10 chromatic At least this is the problem with test #66 there.
20:10 barney Is there a --no-prefix option for Configure.pl ?   Never look for libs at the location of an installed Parrot ?
20:10 dngor joined #parrot
20:11 bacek I have a question about Ref. It's deprecated, but used internally by "Undef" and "scalar".
20:11 davidfetter allison, what concurrency approaches are ok to use apart from threads?
20:11 bacek Should we deprecate "scalar" as well and merge semantic of Ref into Undef?
20:13 allison davidfetter: open to all suggestions, just bring the design discussion to me
20:15 rg bacek: could you also update the http.pir (and maybe httpd.pir, i haven't checked that one yet)?
20:15 rg +example(s)
20:15 bacek rg: ah. just a second.
20:16 allison davidfetter: consider it a security expert's dream: we're willing to make extensive changes for security sandboxing over the next couple of years
20:16 rg i guess a test that depends on an internet connection is not a good idea
20:16 ilia joined #parrot
20:19 PhatEddy left #parrot
20:19 dalek pipp: 7b0c4c1 | (Bernhard Schmalhofer)++ | src/pct/actions.pm:
20:19 dalek pipp: grab a magic fix from Rakudo
20:19 dalek pipp: review: http://github.com/bschmalhofer/pipp/commit​/7b0c4c129fb07b2d80e3916c2f07771d0bc8cf0a
20:19 shorten dalek's url is at http://xrl.us/benajv
20:19 bacek rg: patch attached to ticket.
20:20 bacek rg: it is not a test. It's example :)
20:20 rg i know. i was wondering if a test might be more suitable
20:21 bacek Is ParrotThread fully functional? I can create self-contained test.
20:27 tewk chromatic: inOpaque is 0xa instead of a pointer is this in x86_64 or x86_32,
20:27 rg no idea. might be an interesting thing to try even if we need to todo it on some platforms
20:28 tewk iirc Pointer is used in several different ways by several different systems, each use case should probably have its own PMC. NCI needs a PMC that represents a raw unmanaged pointer.
20:29 tewk NCI also needs a different managed pointer that will free itself in some cases
20:31 chromatic x86_32
20:31 chromatic tewk, I suspect this is a bad example though.  cotto's patch makes all 'p' elements in an NCI signature look at the UnManagedStruct attribute storage for their data.
20:35 darbelo chromatic: Done.     *  Back to Ticket #529
20:36 Coke bacek: please ask the questions about Ref on the ticket.
20:36 bacek Coke: ok
20:38 tewk p elements probably aren't always UnManagedStructs, looking at UnMangedStructs code
20:39 chromatic Shouldn't they be either UnManagedStructs or ManagedStructs?
20:41 tewk I'd have to think through the use cases, but I don't think those two options are sufficient to cover the common ffi cases.
20:41 chromatic Maybe we need to call get_pointer then instead of dereferencing it ourselves.
20:42 moritz tewk: do you have a proposed project for this year's GSOC?
20:43 davidfetter allison_afk, oops
20:43 tewk moritz: whatever will get me money:)
20:43 tewk moritz: I'm going to try to prototype LLVM Jit for parrot.
20:44 moritz tewk: I'm just asking because I've got a mail over the mentor list to ask students to submit their proposals now, so please feel informed and motivated ;-)
20:45 tewk I just saw allisons comments on my proposal so I'll probably rework it tonight and submit, will that be ok?
20:46 moritz tewk: yes
20:50 cotto chromatic, I thought that using get/set_pointer would be better, but I don't know how to make the jit code do that.
20:50 chromatic cotto, basically we have to push the two arguments (interp and PMC) onto the stack, call the function, then pop off the return value (or leave it in the right place).
20:51 chromatic ... not that our current JIT code makes that simple to write.
20:51 RobertLJ left #parrot
20:52 tewk chromatic: Yeah that is the right answer, its just complicated.
20:53 tewk have to call get_pointer.
20:53 chromatic That means we have to manipulate all of the stack state to make that possible.
20:54 tewk Let me look, it shouldn't be too bad.
20:54 cotto tewk++
20:54 bobke joined #parrot
20:54 * cotto is afk
20:55 Tene tewk: do I remember accurately that you did some bytecode gen stuff?
20:56 dalek lua: 73ef9d9 | (Francois Perrad)++ | src/ (5 files):
20:56 polyglotbot OUTPUT[Parrot VM: Can't stat languages/lua/lua.pbc, code 2.␤main: Packfile loading failed␤]
20:56 dalek lua: Now, works with Parrot r37824 (PGE merge)
20:56 polyglotbot OUTPUT[Parrot VM: Can't stat languages/lua/lua.pbc, code 2.␤main: Packfile loading failed␤]
20:56 dalek lua: COMPATIBILITY BREAK
20:56 polyglotbot OUTPUT[Parrot VM: Can't stat languages/lua/lua.pbc, code 2.␤main: Packfile loading failed␤]
20:56 dalek lua: review: http://github.com/fperrad/lua/commit/73​ef9d9666aafb2e9e7d1c1a1e367a04c8ea5cbb
20:56 polyglotbot OUTPUT[Parrot VM: Can't stat languages/lua/lua.pbc, code 2.␤main: Packfile loading failed␤]
20:56 shorten dalek's url is at http://xrl.us/benaqv
20:56 dalek lua: 9999c7d | (Francois Perrad)++ | t/markdown.t:
20:56 polyglotbot OUTPUT[Parrot VM: Can't stat languages/lua/lua.pbc, code 2.␤main: Packfile loading failed␤]
20:56 dalek lua: fix Markdown test
20:56 polyglotbot OUTPUT[Parrot VM: Can't stat languages/lua/lua.pbc, code 2.␤main: Packfile loading failed␤]
20:56 dalek lua: review: http://github.com/fperrad/lua/commit/99​99c7da673fb2560920dc2838e57dad44bda18c
20:56 shorten dalek's url is at http://xrl.us/benaqx
20:56 polyglotbot OUTPUT[Parrot VM: Can't stat languages/lua/lua.pbc, code 2.␤main: Packfile loading failed␤]
20:57 Tene ack!
20:58 rg aiieeee. didn't we already have a polyglotbot that ignored dalek?
20:58 tewk Tene: what do you mean by bytecode gen?  I know the bytecode stuff pretty well.
20:59 tewk chromatic: cotto I'll apply cotto's patch and write up a calling get_pointer, I know that code better than anyone.
20:59 tewk give me 15minutes
21:00 Coke ETOOMANYBOTS
21:02 moritz rg: I think we did...
21:03 moritz rg: but it went down, and it seems I restarted the wrong one
21:03 moritz Tene: ping
21:09 rg bacek++ # patch works. i also see that patching the example is not strictly necessary, but it's nicer ;)
21:18 nopaste "tewk" at 155.98.69.7 pasted "building/testing now, but this is the fix for Jit" (11 lines) at http://nopaste.snit.ch/16021
21:19 tewk chromatic: cotto see paste
21:20 tewk maybe not fails tests
21:21 chromatic t/pmc/nci.t Failed tests:  8, 29-39, 51, 54-55, 66 ?
21:21 chromatic It should pass at least 66.
21:24 tewk I'm going to have to take a closer look, if fails 20 tests
21:25 chromatic Hm, the Pointer PMC doesn't have a get_pointer vtable function.  That might account for some of it.
21:27 tewk had to pop out for a minute, that was the next thing I was going to check.
21:28 tewk it will need a get_pointer impl
21:28 Tene moritz: pong
21:29 Tene tewk: I was having trouble figuring out why some pirc-generated pbc was failing so I could fix it
21:29 moritz Tene: after feather's reboot I started the evalbot in ~tene/pbot/ - is that the right one?
21:31 tewk Tene: tried pbc_dump -d, and diffed the outpu? is it the bytecode or some other part of the packfile?
21:31 Tene moritz: yes
21:32 Tene tewk: probably some part of the packfile. the bytecode is equivalent afaict
21:32 moritz Tene: it doesn't seem to ignore dalek...
21:32 Tene it's the last test (failing) in compilers/pirc/t
21:33 Tene moritz: I never told polyglotbot to ignore dalek... if someone else did I don't remember it.
21:33 Tene tewk: Will you be online tonight?
21:34 tewk opps Parrot_UnManagedStruct_get_pointer won't work I need VTABLE_get_pointer
21:34 Infinoid I did, I think
21:34 Tene Infinoid++
21:35 Infinoid perl6: say "Infinoid-- # it stopped working!"
21:35 polyglotbot OUTPUT[Infinoid-- # it stopped working!␤]
21:35 chromatic Yeah, grab the vtable from the PMC and then grab the get_pointer pointer.  Yay.
21:35 tewk Tene: really busy right now, maybe, send me an email description and I'll try to take a look.
21:35 Tene tewk@tewk.tewk?
21:35 tewk chromatic: yep, going to need a VTABLE_OFFSET macro
21:35 tewk tewk.com
21:35 Tene oright, we emailed once before.
21:36 tewk tewk@tewk.com
21:36 Infinoid Tene: Is there a secret decoder ring or something I need to get into feather3?  Or is polyglotbot somewhere else now?
21:36 Tene Infinoid: that's where I saw it last.
21:36 Infinoid hmm, hostname says feather
21:36 Tene apparently moritz has the secret handshake
21:37 * particle mails ten.e@e.net just to see...
21:38 Tene there's an e.net now?
21:38 particle no :(
21:39 * particle plays with htpp://domai.nr
21:39 particle er, http://domai.nr
21:39 moritz no, I'm on feather1
21:39 moritz ... which might not be such a good idea
21:40 Tene that splains it
21:40 Infinoid the modification I made to ignore dalek was on feather3.  if you've got another checkout from source control somewhere, I didn't commit it
21:41 particle which feather vm is the special one for bots?
21:41 Tene 3
21:41 particle thought so
21:41 moritz Infinoid: can you start polyglotbot on feather 3 then? I'll kill the one on 1
21:41 Infinoid I can't ping feather3
21:42 Tene where's juerd these days?
21:42 Infinoid I would if I could log into it.  But I don't think the vm was ever restarted after the server's last reboot a couple weeks ago or whenever it was
21:43 particle i think he declared irc bankruptcy
21:43 moritz maybe write a mail to him?
21:44 Infinoid I think polyglotbot on feather3 was running from daemontools... so it should start automatically when the vm comes up
21:44 Infinoid ... I'm not positive of that.
21:47 TiMBuS joined #parrot
21:47 PerlJam so feather3 is dead dead dead?
21:48 Infinoid No idea.
21:48 Infinoid All I know is it isn't reachable from the intarwebs
21:48 Tene maybe I'll run one at home.
21:50 Infinoid moritz: Was your copy using that two-parrot-checkout rotation script I wrote?  I don't have a backup of that.
21:50 moritz Infinoid: I didn't even look at the build scripts...
21:50 moritz Infinoid: so it looks like "no"
21:52 Infinoid Eh.  The logic wasn't too complicated
21:53 rg so nobody has access to start/check the vm?
21:54 moritz Juerd++ has
21:54 Tene juerd does
21:56 particle who else is in .nl? maybe they can walk over :)
21:56 Tene it can't be much bigger than portland
21:57 rg and knock him out of bed? i'm not sure he's going to be too happy about that ;)
21:57 Tene they both end in 'land'
21:58 chromatic bedland?
21:59 Tene man, I love that place
21:59 rg dreamland :)
21:59 Tene that's where I'm a Parrot.
22:00 jonathan No way is a quarter of 2009 already over...
22:00 PerlJam Tene: is each feather representative of a programming language?
22:01 Tene PerlJam: yes, but half of them are scheme
22:01 PerlJam Tene: and one of them is quite a bit larger than the others and looks like a camel feather?  :)
22:02 Tene ).)
22:09 Limbic_Region joined #parrot
22:24 Infinoid feathered camels: http://www.discogs.com/imag​e/R-1239369-1205608920.jpeg
22:24 Infinoid (one of the weirder albums I own.)
22:25 kid51 joined #parrot
22:28 tetragon joined #parrot
22:31 tetragon_ joined #parrot
22:44 dduncan joined #parrot
22:45 dduncan left #parrot
22:45 * cotto braces himself for slew if April 1st articles.
22:45 cotto s/if/of/
22:45 dalek parrot: r37831 | jkeenan++ | branches/dir_simplify:
22:45 dalek parrot: Create branch to work on TT #524.
22:45 dalek parrot: review: https://trac.parrot.org/parrot/changeset/37831/
22:46 kid51 At $job, we got our March 31 No Fooling today:  Salary freeze; no more company matching 401K contributions.
22:58 davidfetter kid51, ouch! looking for another one?
22:58 szbalint it's already april 1st here
22:58 * szbalint braces for the idiocy
23:00 szbalint haha, I'm getting april 1st malware spam, that's at least mildly refreshing
23:01 moritz I liked that one: http://www.smashingmagazine.com/2009/03/31/bre​aking-internet-explorer-81-eagle-eyes-leaked/
23:01 shorten moritz's url is at http://xrl.us/benar6
23:03 jonathan What's so special about April 1st?
23:04 cotto It's April Fool's Day, when everyone (in the US at least) tries to play tricks on eachother.
23:04 jonathan HAH you fell for it ;-)
23:04 * jonathan knew full well :-)
23:04 cotto I realized that just after I pressed enter.
23:04 cotto jonathan++
23:06 japhb Had to trash my git svn clone of parrot ... is there a public clone/snapshot I can grab?
23:07 shucho joined #parrot
23:10 rg "Server-side code decompiler" *lol*
23:20 Coke_afk wow, like 3 damian posts in as many days.
23:21 wayland76 In Australia, there's a rule that if you play an April Fools' joke after noon, you're the fool instead of the other person
23:27 Coke oh, I thought it was that the joke day was actually on October 1st.
23:34 tewk chromatic: an afternoon later...
23:34 tewk t/pmc/nci.t (Wstat: 1792 Tests: 69 Failed: 7) Failed tests:  33-34, 36-38, 51, 54
23:34 chromatic That's one fix, anyway.
23:35 tewk patch in a minute
23:36 Whiteknight joined #parrot
23:39 Infinoid japhb: git://squawk.glines.org/parrot-trunk/
23:39 nopaste "tewk" at 155.98.69.7 pasted "jit_defs.c.patch" (67 lines) at http://nopaste.snit.ch/16023
23:40 japhb Infinoid: Does that really only contain trunk?
23:40 tewk chromatic: the first hunk is the fix, the second hunk is from cottos patch
23:40 Infinoid japhb: yes
23:41 tewk so is there an official git mirror for parrot yet?
23:41 japhb Infinoid: if I clone from there, how do I re-root to the real svn repo?
23:41 japhb tewk: I wish.
23:41 japhb Actually,  I wish parrot would just switch to git
23:42 Infinoid japhb: I suspect you just add a couple of lines to your .git/config, but I haven't tried it
23:42 Infinoid one moment, I will
23:43 japhb Infinoid: If it was a real git repo, I'd just add another remote ref for it, but I never know where the edges of git-svn's magic are  (as in, what would horribly break things)
23:44 Infinoid oh my, adding a [svn-remote "svn"] clause to .git/config and "git svn fetch" started at -r1
23:44 Infinoid I can always just tar it up for you.
23:44 japhb Nah, don't worry about it.
23:45 japhb Infinoid: thanks, though
23:45 Infinoid ok.  anyway, it's as close to an official git mirror as we seem to have.  A script updates it once every 10 minutes, and it's been there for months
23:45 japhb Ah, now that's interesting.
23:45 japhb push'able?
23:45 japhb or r/o?
23:45 Infinoid r/o
23:46 Infinoid It started out as my bounce repo for dcommits, but I've started being more careful now that others are using it
23:47 Infinoid If you've got ideas on how to make it pushable and get the svn usernames right and all of that, I'm happy to host it
23:47 japhb Let me think on it ... have to go AFK for a bit
23:47 Infinoid seeya

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced