Camelia, the Perl 6 bug

IRC log for #parrot, 2009-11-08

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:16 eternaleye joined #parrot
00:24 Coke parrot: Branch has been merged into trunk and?
00:24 purl Branch has been merged into trunk and is, like, no longer needed at HEAD
00:24 Coke AND THEN?
00:24 Coke and then is <reply>NO AND THEN\!\?
00:24 Coke and then?
00:29 Coke RT: 55!
00:29 purl 1.26964033536583e+73
00:30 Tene wow, we must have a lot of RT tickets...
00:51 bacek joined #parrot
00:53 dalek parrot: r42343 | jkeenan++ | branches/configtests (2 files):
00:53 dalek parrot: Convert config step from get_p5('OSNAME') to get('osname').  Convert corresponding configuration step test file.
00:53 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42343/
00:53 dalek parrot: r42344 | jkeenan++ | branches/configtests/t/steps/gen/platform-01.t:
00:53 dalek parrot: Explicit number of tests in plan.
00:53 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42344/
01:00 dalek parrot: r42345 | jkeenan++ | branches/configtests/t/steps (10 files):
01:00 dalek parrot: Continue to convert steps tests to use of Parrot configuration data.  The
01:00 dalek parrot: following tests are either running with warnings or experiencing test failures
01:00 dalek parrot: (F) because their corresponding config step classes still use
01:00 dalek parrot: '$conf->data->get_p5('some_attribute')'.:
01:00 dalek parrot: t/steps/init/optimize-01.t
01:00 dalek parrot: t/steps/auto/alignptrs-02.t (F)
01:00 dalek parrot: t/steps/auto/headers-01.t
01:00 dalek parrot: t/steps/auto/signal-01.t
01:00 dalek parrot: t/steps/auto/perldoc-01.t
01:00 dalek parrot: t/steps/auto/pod2man-01.t
01:00 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42345/
01:01 payload joined #parrot
01:01 kid51 Tests listed above as having problems:  that's in the configtests branch, not in trunk
01:22 bacek G'Day
01:23 dalek parrot: r42346 | bacek++ | branches/pmc_headers_move/config/auto/pmc.pm:
01:23 dalek parrot: Fix more dependencies in Makefile
01:23 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42346/
01:30 dalek parrot: r42347 | jkeenan++ | branches/configtests/Configure.pl:
01:30 dalek parrot: POD formatting corrections only.
01:30 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42347/
01:33 dalek parrot: r42348 | jkeenan++ | trunk/Configure.pl:
01:33 dalek parrot: POD formatting corrections only.
01:33 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42348/
01:33 dalek parrot: r42349 | jkeenan++ | branches/configtests/Configure.pl:
01:33 dalek parrot: POD formatting corrections only.
01:33 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42349/
01:39 eternaleye joined #parrot
01:49 ilbot2 joined #parrot
01:49 Topic for #parrotis now Parrot 1.7.0 "African Grey" is out! | Fix issues caused by the pcc_reapply and context_auto_attrs merges | find out what's up with the slice opcode | Latest modified TT's: http://icanhaz.com/parrotbugs
01:53 dalek parrot: r42350 | pmichaud++ | trunk/src/pmc/codestring.pmc:
01:53 dalek parrot: [pmc]:  Fix the 'lineof' method of CodeString to be friendlier to utf8.
01:53 dalek parrot: Although the 'lineof' method in CodeString did some memoizing to
01:53 dalek parrot: be able to optimize future searches, the optimization was only
01:53 dalek parrot: helpful for fixed-width string encodings.  For utf8, the net
01:53 dalek parrot: result was to nearly always have to do a scan from the beginning
01:53 dalek parrot: of the string, which quickly becomes an O(n**2) operation.
01:53 dalek parrot: This change CodeString so that the first execution of 'lineof'
01:53 dalek parrot: caches a FixedIntegerArray of all line starting positions in
01:53 dalek parrot: the CodeString.  Subsequent requests for line numbers during
01:53 dalek parrot: codegen then become much faster -- for Rakudo-ng it reduces a
01:53 dalek parrot: previously 150-second compile of Actions.pm to under 15 seconds.
01:53 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42350/
01:54 pmichaud grrr, change*s*
01:54 pmichaud can't type anymore.
01:54 pmichaud oh well.
01:56 pmichaud oh, and it's a ResizableIntegerArray.
01:56 pmichaud commet message FAIL.
01:56 pmichaud *commit
01:56 * pmichaud FAIL.
01:57 pmichaud (at least I can say that compiling actions.pm is 10x faster than it was yesterday.)
02:04 jonathan Epic optimization beats typing fail.
02:06 pmichaud I'm still interested to see how much this speeds up rakudo master
02:07 pmichaud it probably won't speed up the build by much, but it'll certainly speed up the unicode-containing spectests by a lot
02:07 pmichaud mmmm, nqp tests are now nicely faster
02:08 tetragon joined #parrot
02:12 bacek kid51, ping.
02:13 dalek parrot: r42351 | bacek++ | branches/pmc_headers_move/t/​tools/pmc2cutils/05-gen_c.t:
02:13 dalek parrot: [t] Make include and include/pmc directories during test.
02:13 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42351/
02:16 dalek nqp-rx: e8e145d | pmichaud++ | src/Regex/Cursor.pir:
02:16 dalek nqp-rx: Remove no-longer-used $!type attribute.  (It may get replaced with
02:16 dalek nqp-rx: something else, though.)
02:16 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/e​8e145d784d427bf11b1d0fceccfbfb00d036f51
02:16 dalek nqp-rx: 95cd73d | pmichaud++ | src/cheats/hll-compiler.pir:
02:16 dalek nqp-rx: Provide transcoding logic to HLL::Compiler, so that it can
02:16 dalek nqp-rx: transcode variable-width encodings to fixed-width encodings
02:16 dalek nqp-rx: for faster parsing, when possible.
02:16 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/9​5cd73d0acb7b8839e90a5b7c76755e1177d22d7
02:16 dalek nqp-rx: 238f21b | pmichaud++ |  (5 files):
02:16 dalek nqp-rx: Bump PARROT_REVISION, update bootstraps.
02:16 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/2​38f21b6e0903fafe7a49e5a7f6650e95e20b0b2
02:18 RobertLJ joined #parrot
02:34 dalek TT #1234 created by jkeenan++: t/op/hacks.t:  Delete useless test file
02:57 dalek rakudo: 37d480a | (Solomon Foster)++ | src/setting/Str.pm:
02:57 dalek rakudo: Add Str.Str, with a caveat.
02:57 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/3​7d480af47c0a016163dab49e481dc04acfbbb7d
03:01 dalek TT #1235 created by jkeenan++: t/op/sysinfo.t:  Improper dependence on Perl 5 %Config
03:23 dalek parrot: r42352 | jkeenan++ | branches/auto_format_no_Config:
03:23 dalek parrot: Create a branch to remove dependency on %Config in step class and associated
03:23 dalek parrot: test.
03:23 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42352/
03:29 bacek joined #parrot
03:35 janus joined #parrot
04:06 dalek parrot: r42353 | jkeenan++ | branches/auto_format_no_Config (3 files):
04:06 dalek parrot: Eliminate direct lookup from Perl 5 %Config.  Do lookup in init::defaults and use results in auto::format.  Adjust step test accordingly.
04:06 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42353/
04:18 dalek TT #1236 created by jkeenan++: config/auto/format.pm:  Replace direct dependence on Perl 5 %Config
04:39 dalek nqp-rx: 57d2a44 | pmichaud++ | src/NQP/ (2 files):
04:39 dalek nqp-rx: Add <block> subrule.
04:39 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/5​7d2a441a5662232b0712831abfa400f0f290965
04:39 dalek nqp-rx: 5559916 | pmichaud++ |  (3 files):
04:39 dalek nqp-rx: Add closure interpolation.
04:39 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/5​55991689e1f6e4a254566538d2d02fa3dc7c1e8
04:44 diakopter purl, and then is <reply>NO AND THEN\!\?
04:44 purl i haven't a clue, diakopter
04:44 diakopter purl, and then is <reply>NO AND THEN\!\?\!
04:44 purl ...but then is <reply>NO AND THEN!...
04:48 Coke diakopter: he already has it.
04:49 Coke ^_^
04:51 diakopter heh
04:52 diakopter I thought purl was a she
04:52 Tene purl: gender?
04:52 purl purl is an amorphous blob of genderless protomatter roughly comprised in the shape of a houseplant
04:52 Tene purl: gender?
04:52 purl purl purl purl is a girl girl girl girl
04:52 Tene purl: gender?
04:52 purl purl purl purl is a girl girl girl girl
04:52 Tene purl: gender?
04:52 purl If you have to ask, you dont want to know....
04:52 Tene etc.
04:52 diakopter oh
04:52 diakopter i !c
04:53 diakopter so if I want to generate a bunch of PAST myself.. how can I feed it to parrot
04:53 diakopter can it take it in a textual format?  or in-memory only?
04:54 Tene diakopter: There have been repeated requests for someone to write a textual emitter/parser for PAST.
04:54 Tene But nobody has done it yet.
04:54 diakopter oh
04:54 Tene It would be GREAT to get a PAST compiler.
04:54 Tene I've seen people start working on it in json, yaml, xml, and I think something else...
04:54 diakopter yeah, b/c then I could compare it with my PAST interpreter
04:55 Tene but no working implementation.
04:55 diakopter apples<->apples
04:55 Tene Well... we HAVE a PAST compiler... just no PAST reader.
04:56 diakopter I don't know whether you saw, I'm working on a PAST interpreter ...
04:56 Tene We have a JSON reader... so if you want to define a JSON repr of PAST, and write a JSON->PAST convertor... that wouldn't be too bad.
04:56 Tene I didn't saw.
04:57 diakopter well, as I was discussing with pmichaud, some things that generate PAST (rakudo) generate PAST with inter-references (possibly recursive and otherwise)...
04:58 diakopter so for my purposes, the JSON representation either needs to know about symbolic references to other objects by id, a la yaml, or actually be javascript that wires up the references properly in the resulting object literal
04:58 Tene which both json and yaml can handle, iirc.
04:58 diakopter no
04:58 diakopter not json
04:58 Tene (not certain about json)
04:58 Tene ah
04:58 Tene then go write a yaml compiler? >.>
05:00 diakopter I wrote a Perl 5 routine (in pugs/src/perl6/ToJS.pm) that emits arbitrary Perl 5 hashes/arrays/strings/integers (with inter-references) to JavaScript... also I ported it to JavaScript
05:00 diakopter so I'll stick with that for now...
05:00 Tene You could check out the state of javascript on Parrot...
05:01 Tene There's been two attempts, I think?
05:01 diakopter I saw one on gcode that was abandoned a year ago, and another that's javascript/actionscript-like...
05:01 diakopter but I like V8
05:02 diakopter as a VM
05:02 Tene I thought you were wanting to compare it to the official PAST compiler in Parrot.
05:02 diakopter yes
05:02 diakopter my PAST interpreter is in JavaScript..
05:03 Tene I think we're talkin gpast each other.  I'll stop now.  :)
05:04 diakopter I'm sure it's my fault.. I want to compare my past interpreter (written in js) to the programs produced by parrot's past compiler
05:04 diakopter performance and equivalency and all that
05:05 diakopter e.g.
05:05 diakopter I'm not worried about interoperability for now..
05:07 Tene diakopter: And, therefore, I was recommending that you look into making a paintext PAST format, and a loader for Parrot, so we can run the same PAST from either Parrot or your interpreter.
05:10 eternaleye joined #parrot
05:11 diakopter right, and I mentioned the interreference problem - which a plaintext PAST format would have to solve in some way if that class of PAST needed to be handled
05:11 diakopter however, it's not strictly necessary
05:11 diakopter so a JSON-based one would do
05:13 diakopter (broken link here): http://www.perlfoundation.org​/parrot/index.cgi?javascript
05:13 diakopter hm
05:14 diakopter (google search results)
05:21 eternaleye As far as a PAST reader goes, wouldn't it be best to make it read the same format as --target=past writes, so that it can roundtrip?
05:21 diakopter yeah, or also write another --target
05:22 eternaleye Maybe I could write an nqp-rx grammar for that format...
05:22 diakopter :)
05:51 eternaleye joined #parrot
05:56 mikehh joined #parrot
06:23 Essobi joined #parrot
06:26 kurahaupo joined #parrot
06:30 dalek nqp-rx: ee6743c | pmichaud++ | src/NQP/ (2 files):
06:30 dalek nqp-rx: Convert package_def to use <block> instead of <pblock>.
06:30 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/e​e6743c5c0ab9c2736fce89f34bd99d1cc78d873
06:30 dalek nqp-rx: 1e2187a | pmichaud++ | t/nqp/38-quotes.t:
06:30 dalek nqp-rx: Fix bug in interpolated closure test.
06:30 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/1​e2187ac4266ce48c65a650f666a350ba659c1ad
06:30 dalek nqp-rx: 457fa04 | pmichaud++ | src/NQP/Actions.pm:
06:30 dalek nqp-rx: Update handling of block arity.
06:30 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/4​57fa041277c1060dbbb49f53b64287fe62ea231
06:30 dalek nqp-rx: 992b220 | pmichaud++ |  (3 files):
06:30 dalek nqp-rx: Enable pointy blocks.
06:30 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/9​92b220de66a436f108399e5c393526a252a1485
06:49 chromatic joined #parrot
06:51 diakopter chromatic: hi
06:54 chromatic hi
06:54 purl salut, chromatic.
07:07 * diakopter looks at making nqp-rx emit certain PAST
07:24 dngor joined #parrot
07:48 davidfetter joined #parrot
08:16 eternaleye joined #parrot
08:28 fperrad joined #parrot
08:31 bacek joined #parrot
08:46 dalek parrot: r42354 | fperrad++ | trunk (6 files):
08:46 dalek parrot: [mt19937] this library leaves the nest.
08:46 dalek parrot: Now hosted at �http://github.com/fperrad/parrot-MT19937,
08:46 dalek parrot: and soon available via Plumage.
08:46 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42354/
09:04 iblechbot joined #parrot
09:12 dalek parrot: r42355 | bacek++ | branches/pmc_headers_move/​tools/dev/checkdepend.pl:
09:12 dalek parrot: Fix checkdepends.pl script to handle includes little bit more correctly.
09:12 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42355/
09:12 dalek parrot: r42356 | bacek++ | branches/pmc_headers_move/lib​/Parrot/Pmc2c/PMCEmitter.pm:
09:12 dalek parrot: Put proper #include "pmc/pmc_default.h" in generated .c from .pmc files.
09:12 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42356/
09:28 dalek parrot: r42357 | barney++ | trunk/NEWS:
09:28 dalek parrot: Added stub von news in 1.8.0.
09:28 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42357/
09:45 dalek parrot: r42358 | bacek++ | branches/pmc_headers_move/​tools/dev/checkdepend.pl:
09:45 dalek parrot: Check generated .c files from .pmc in checkdepend.pl
09:45 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42358/
09:49 whoppix joined #parrot
10:11 dalek rakudo: 97ced10 | moritz++ | t/spectest.data:
10:11 dalek rakudo: [t/spectest.data] track file rename
10:11 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/9​7ced10559899d15d4659ccab503edddb17742d1
10:11 dalek parrot: r42359 | bacek++ | branches/pmc_headers_move/MANIFEST.generated:
10:11 dalek parrot: Fix MANIFIEST.generated to install proper pmc_foo.h files.
10:11 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42359/
10:21 joeri joined #parrot
10:31 dalek parrot: r42360 | bacek++ | branches/pmc_headers_move/​config/inter/encoding.pm:
10:31 dalek parrot: Add unicode.h into string encoding dependencies.
10:31 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42360/
10:31 dalek parrot: r42361 | bacek++ | branches/pmc_headers_move/config/inter/charset.pm:
10:31 dalek parrot: Add tables.h into charset files dependencies.
10:31 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42361/
10:31 dalek parrot: r42362 | bacek++ | branches/pmc_headers_move/co​nfig/gen/makefiles/root.in:
10:31 dalek parrot: Fix inter_create and inter_misc dependencies.
10:31 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42362/
10:51 dalek parrot: r42363 | bacek++ | branches/pmc_headers_move/co​nfig/gen/makefiles/root.in:
10:51 dalek parrot: Add dependency to context.h from pmc_context.h
10:51 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42363/
10:51 dalek parrot: r42364 | bacek++ | branches/pmc_headers_move/config/auto/pmc.pm:
10:51 dalek parrot: Use PMC_INC_DIR variable in dependencies instead of hardcoded "include/".
10:51 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42364/
10:59 bacek joined #parrot
11:16 mikehh joined #parrot
11:31 dalek parrot: r42365 | fperrad++ | trunk (4 files):
11:31 dalek parrot: [library] add initial implementation of distutils.pir
11:31 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42365/
11:33 mikehh joined #parrot
11:37 payload joined #parrot
11:55 masak joined #parrot
12:19 Whiteknight joined #parrot
12:20 Whiteknight good morning #parrot
12:29 mikehh joined #parrot
12:40 kj joined #parrot
12:49 dalek parrot: r42366 | kjs++ | trunk/src/global.c:
12:49 dalek parrot: [src] update RT# ticket no to TT# ticket no.
12:49 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42366/
12:54 dalek TT #1237 created by kjs++: docs/parrotbyte.pod && docs/pdds/pdd13_bytecode.pod are either ...
12:57 dalek TT #1238 created by kjs++: SDL tests
13:00 dalek TT #1239 created by kjs++: configuration: define MIN/MAX macros for all integral typedefs
13:04 dalek TT #1240 created by kjs++: Explicitly clearing to be RO?
13:07 dalek TT #1241 created by kjs++: implementation of is_docs_link() needs more thought
13:12 kid51 joined #parrot
13:22 dalek parrot: r42367 | jkeenan++ | trunk/lib/Parrot/Configure/Trace.pm:
13:22 dalek parrot: Adjust documentation re number of config steps.  Correct spellingn error.
13:22 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42367/
13:26 dalek parrot: r42368 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
13:26 dalek parrot: [distutils] add a step for pod2html
13:26 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42368/
13:38 Whiteknight purl msg darbelo I'm thinking about how we're going to handle vectors and vector operations. Do we create a vector type, or do we add vector behavior to NumMatrix2D
13:38 purl Message for darbelo stored.
13:38 Whiteknight purl msg desertm4x I'm thinking about how we're going to handle vectors and vector operations. Do we create a vector type, or do we add vector behavior to NumMatrix2D
13:38 purl Message for desertm4x stored.
13:39 moritz if you store vectors as N x 1 or 1 x N matrices, then the scalar product returns a 1x1 matrix, not a scalar
13:39 moritz just a data point, not a vote ;-)
13:41 dalek parrot-linear-algebra: c57d220 | Whiteknight++ | src/pmc/nummatrix2d.pmc:
13:41 dalek parrot-linear-algebra: several code cleanups throughout NumMatrix2D
13:41 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/c57d22019266bca1cf7d73182ba0692441fabc45
13:41 dalek parrot-linear-algebra: 1a701b7 | Whiteknight++ |  (2 files):
13:41 dalek parrot-linear-algebra: fix init_from_pmc_array helper function. add tests for new initialize_from_args method
13:41 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/1a701b79b25de156cf399b97906b9133b18c54e4
13:41 dalek parrot-linear-algebra: cd12c50 | Whiteknight++ | src/pmc/nummatrix2d.pmc:
13:41 dalek parrot-linear-algebra: create add and multiply MULTI variants that take Float PMCs instead of NumMatrix2D PMCs as the multi arg
13:41 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/cd12c508127671b28fff98a2f77d3eeecb023140
13:41 dalek parrot-linear-algebra: eddd6b9 | Whiteknight++ | t/10-nummatrix.t:
13:41 dalek parrot-linear-algebra: add tests for VTABLE_add(Float)
13:41 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/eddd6b93b325f86a5aeefd942f0b4959f33e9987
13:41 dalek parrot-linear-algebra: e3edb2b | Whiteknight++ | t/10-nummatrix.t:
13:41 dalek parrot-linear-algebra: add tests for VTABLE_multiply(Float)
13:41 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/e3edb2b3ef59129f79d510e57aeb8b9a18e35dca
13:42 Whiteknight moritz: yes, lots of issues regarding scalar/vector/matrix
13:43 moritz for a phycisit a vector is also different froma  1 x N matrix, because it's defined by its transformation properties
13:44 moritz Whiteknight: I used the "eigen" linear algebra lib (C++); if you want to discuss general design decisions, I'm sure they are happy to share their experience
13:44 moritz #eigen on freenode
13:45 moritz the channel is not as lively as ours, but if bjacob or ggael are online, shoot!
13:45 moritz ;-)
13:47 Whiteknight oh, nice
13:47 Whiteknight thanks
13:48 moritz they can do a lot at compile time
13:48 moritz because they ues expression templates
13:48 moritz so they unroll small matrix products at compile time, and then it's simple for the compile to enable SSE
13:52 NotFound Feel the power of C++ ;)
13:52 moritz aye ;-)
13:52 moritz though sometimes it's a bit scary
13:54 Whiteknight parrot-linear-algebra uses the BLAS library internally, so we don't worry about too many of those kinds of optimizations
13:54 Whiteknight we mostly try to provide storage and interfaces
14:04 yjh joined #parrot
14:10 mikehh joined #parrot
14:18 payload joined #parrot
14:34 dalek parrot: r42369 | jkeenan++ | trunk/lib/Parrot/Configure/Trace.pm:
14:34 dalek parrot: Eliminate one synthetic variable.  Clarify documentation of one method.
14:34 dalek parrot: Typographical cleanup.
14:34 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42369/
14:41 masak joined #parrot
14:49 kthakore joined #parrot
14:52 kthakore kj: are you kjs?
14:53 kthakore kid51: hi
14:53 purl hello, kthakore.
15:01 Whiteknight joined #parrot
15:02 kj kthakore: kj=kjs
15:02 kj kj?
15:02 purl you are, like, Klaas-Jan Stol or mailto:parrotcode@gmail.com
15:02 kj purl, kj is also known as kjs
15:02 purl okay, kj.
15:02 kj kjs?
15:03 kj kj?
15:03 purl somebody said kj was Klaas-Jan Stol or mailto:parrotcode@gmail.com or known as kjs
15:03 kj kjs?
15:03 kj purl, kjs is also known as kj
15:03 purl okay, kj.
15:03 kj kjs?
15:03 kthakore kj: hi so I am the sdl perl(5) dev
15:03 kj oh hi
15:04 kthakore kj: I have been working on getting complete XS bindings for XS
15:04 kthakore kj: so we have a lot of tests (almost a 1000 now)
15:04 kj i think i moved a ticket to trac today about that
15:04 kthakore kj: yup hence I am talk to you
15:05 kthakore kj: :). Anywho if we can start porting those test we can also see what SDL Parrot is lacking
15:05 kj i just migrated it, i have no particular knowledge of it...
15:05 kthakore kj: ah ... ok
15:05 kj sorry :-)
15:05 kthakore guess I will be the one to take the ticket in a few months time
15:05 kj or now :-)
15:05 kthakore kj: I just got excited that someone was working on it
15:06 kj yes, i had no intention to take the ticket, justhelping Coke++ to do the migration from RT to trac
15:06 kj kthakore: i know the feeling ;-)
15:06 kthakore kj: I am working on Perl5/XS right now
15:06 kthakore kj: excitement is a humon feeling
15:06 kthakore oh well
15:06 kthakore gtg for food
15:07 kj enjoy :-)
15:19 s1n joined #parrot
15:23 Psyche^ joined #parrot
15:26 Whiteknight joined #parrot
15:26 Whiteknight how do I add a local repo to github?
15:27 Whiteknight I tried doing the process i thought I knew, but it didn't work this time
15:27 Whiteknight git remote add origin git@github.com:Whiteknight/projectname.git
15:27 Whiteknight git push origin master
15:28 kthakore Whiteknight: did you make your new repo on gihub?
15:28 kthakore and did you make a commit first >
15:28 Whiteknight I didn't think you needed to make it on github first
15:28 kthakore Whiteknight: you do
15:28 Whiteknight at least, I think I was told that, and I can't find a place to make a new one
15:28 kthakore Whiteknight: click on new repo
15:28 kthakore click on dashboard
15:29 kthakore Whiteknight: the under next to Your Repositories
15:29 kthakore click New Repository
15:29 Whiteknight ah shit, I see that now.
15:29 Whiteknight thanks kthakore++
15:30 kthakore Whiteknight: np
15:30 kthakore then do
15:30 kthakore what you were doing
15:31 Whiteknight awesome, done
15:31 Whiteknight thanks
15:50 kthakore Whiteknight: ooh nice
15:50 kthakore mediawiki-bookdesigner
15:50 dalek markdown: 4dbe82f | fperrad++ | setup.pir:
15:50 dalek markdown: add setup.pir (distutils)
15:50 dalek markdown: review: http://github.com/fperrad/markdown/commit​/4dbe82f4074f9b8e5865bdb336cb0cf1d5c7afa2
16:03 tetragon joined #parrot
16:09 dalek xml: 486054d | fperrad++ | Makefile.in:
16:09 dalek xml: clean up
16:09 purl i heard clean up was a breeze
16:09 dalek xml: review: http://github.com/fperrad/xml/commit/48​6054dc857f273098bc652fe5012dea5e08d606
16:09 dalek xml: 3cb3d6f | fperrad++ | setup.pir:
16:09 dalek xml: add setup.pir (distutils)
16:09 dalek xml: review: http://github.com/fperrad/xml/commit/3c​b3d6f8c328fa85cc42a035ce73ee08992f2caf
16:13 dalek parrot: r42370 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
16:13 dalek parrot: [distutils] add stuff for pge, nqp, pbc_to_exe
16:13 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42370/
16:14 plobsing joined #parrot
16:15 particle joined #parrot
16:28 markmont joined #parrot
16:30 dalek markdown: c83f1b9 | fperrad++ | setup.pir:
16:30 dalek markdown: add a step spectest
16:30 dalek markdown: review: http://github.com/fperrad/markdown/commit​/c83f1b96cdb4de93c161afc403afdd4a5ede2342
16:57 theory joined #parrot
17:13 dalek xml: 0bf1382 | fperrad++ | setup.pir:
17:13 dalek xml: chmod +x
17:13 dalek xml: review: http://github.com/fperrad/xml/commit/0b​f1382aca5719bc9c08ab7920e8e2626c896268
17:16 dalek markdown: bc5f050 | fperrad++ | setup.pir:
17:16 dalek markdown: chmod +x
17:16 dalek markdown: review: http://github.com/fperrad/markdown/commit​/bc5f05087a02b6855c2bcc9979b7ad3ce3d6dca1
17:33 cognominal joined #parrot
17:40 cognominal joined #parrot
17:41 dalek TT #1242 created by jkeenan++: t/pmc/io_iterator.t:  Overhaul tests
17:44 payload joined #parrot
17:46 davidfetter joined #parrot
17:48 dalek parrot: r42371 | jkeenan++ | trunk/t/pmc/io_iterator.t:
17:48 dalek parrot: Change RT # to TT # in several locations.
17:48 purl dalek: that doesn't look right
17:48 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42371/
17:54 supergiantrobot joined #parrot
17:56 supergiantrobot left #parrot
17:57 payload1 joined #parrot
18:14 kurahaupo I'm back looking at converting tests to PIR, and I've hit a snag: how do I check if some feature (such as libgmp) was included when Parrot was built? Perhaps, is there any way to access %PConfig from within Parrot?
18:14 nbrown_ joined #parrot
18:14 dalek TT #1243 created by jkeenan++: Parrot::Test with --run-exec assumes "." is in $PATH
18:14 pmichaud kurahaupo: yes, there is
18:16 pmichaud interp = getinterp
18:16 pmichaud config = interp[.IGLOBALS_CONFIG_HASH]
18:16 mokurai joined #parrot
18:18 patspam joined #parrot
18:19 xenoterracide joined #parrot
18:19 kurahaupo pmichaud: thanks
18:20 * kurahaupo is leaving for $DAYJOB
18:21 kid51_afk msg kurahaupo 'ack -l '#!parrot' t' will give you a list of test files converted to PIR that may be useful as models
18:21 purl Message for kurahaupo stored.
18:27 chromatic joined #parrot
18:42 PacoLinux joined #parrot
18:47 bacek joined #parrot
18:47 dalek TT #1244 created by jkeenan++: compilers/imcc/cfg.c:  emit warning in propagate_need()
18:57 dalek TT #1245 created by jkeenan++: src/pmc/integer.pmc:  Check overflow for -maxint in absolute()
18:57 dalek parrot: r42372 | jkeenan++ | trunk/src/pmc/integer.pmc:
18:57 dalek parrot: Change RT # to TT #.
18:57 purl dalek: that doesn't look right
18:57 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42372/
19:01 dalek parrot: r42373 | jkeenan++ | trunk/compilers/imcc/cfg.c:
19:01 dalek parrot: Change RT # to TT #.
19:01 purl dalek: that doesn't look right
19:01 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42373/
19:01 he__ joined #parrot
19:18 Tene japhb: ping
19:19 selenamarie joined #parrot
19:20 Tene japhb: nm, mistake on my part.
19:27 Tene japhb: why is plumage asking me for sudo privs to install something?
19:30 * Tene RTFS
19:35 cghene joined #parrot
19:36 cognominal joined #parrot
19:49 Tene okay, in NQP right now, "our %FOO" results in "set_global "%FOO"", but then using %FOO results in get_hll_global "FOO".
19:49 he__ Hm, there's probably a "portability to NetBSD" problem uncovered by t/pmc/nci.t, ref. http://smolder.plusthree.com/app/public_pr​ojects/report_details/29746#first_failure
19:51 Tene oh, nm, my mistake again.
19:51 dukeleto 'ello
19:51 Tene sickhacking is harder than sleephacking, apparently.
19:52 Tene dukeleto: afaict, current plumage isn't getting %VM initialized correctly, so plumage can't find the bindir, so can't test it, so tries to install with sudo.
19:53 dukeleto msg kurahaupo t/dynpmc/rational.t is a good example for checking for GMP and then running tests conditionally
19:53 purl Message for kurahaupo stored.
19:54 he__ Looks like it tries to load /usr/pkg/lib/libparrot.so.1.7.0, but it's not yet installed.
19:54 dukeleto msg kurahaupo look at t/op/arithmetics.t for a PIR example of checking for GMP
19:54 purl Message for kurahaupo stored.
19:54 he__ This is "make && make smoke" failing, without having done "make install" of this particular version.
19:55 he__ Pilot error? (Didn't think so)
19:56 he__ <- suspecting missing use of rpath again...
20:04 bacek joined #parrot
20:09 Tene dukeleto: nm, the problem was that something was asking for the "bin_dir" element instead of "bindir".
20:15 Tene NotFound: ping
20:16 dukeleto Tene: ok, let me know if you need other plumage help
20:18 NotFound Tene: pong
20:18 Tene NotFound: is mysqltest.pir in parrot-mysql known to fail?  I had to make a few changes to get it to work.
20:19 nopaste "tene" at 24.10.252.130 pasted "changes to Mysql.pir" (17 lines) at http://nopaste.snit.ch/18602
20:19 NotFound Tene: last time I tried it failed and not located why.
20:19 Tene Can you commit that patch, or give me commit privs to do it?
20:20 NotFound Tene: It works just with that? I had other problems. Let me try...
20:21 nopaste "tene" at 24.10.252.130 pasted "seems to work for me, except the segfault at the end" (12 lines) at http://nopaste.snit.ch/18603
20:21 NotFound Tene: I've not decided yet if I'm going to continue with the pir version or replace with a new written in winxed.
20:22 NotFound Ah, yes, the segfault is the problem.
20:22 Tene If you abandon the PIR version, I'll take it up, fwiw.
20:22 NotFound I think is related to a generic order or destruction problem at parrot exit.
20:22 NotFound Tene: Ok, I'm going to give you commit bits, then.
20:23 NotFound Tene: google account?
20:23 dalek parrot: r42374 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
20:23 dalek parrot: [distutils] more versatible interface,
20:23 dalek parrot: allows string or array of string
20:23 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42374/
20:24 mikehh joined #parrot
20:24 * Tene at allalone.org
20:25 NotFound Tene: done
20:33 chromatic joined #parrot
20:44 plobsing he__: what makes you think its libparrot that fails to load? looks like libnci_test from the TAP
20:45 AndyA joined #parrot
20:46 dalek parrot: r42375 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
20:46 dalek parrot: [distutils] fix r42374
20:46 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42375/
20:46 dalek markdown: 6493ed9 | fperrad++ | setup.pir:
20:46 dalek markdown: use string instead of a array of one string
20:46 dalek markdown: review: http://github.com/fperrad/markdown/commit​/6493ed95afa0c40f774509ee6f7d1c9a01346f46
20:50 bacek Good morning
20:56 mikehh hi bacek
20:56 bacek hi mikehh
21:16 jan joined #parrot
21:22 pdcawley_ joined #parrot
21:29 mikehh joined #parrot
21:32 he__ plobsing: I first did a "ktrace -i perl t/harness t/pmc/nci.t" (system call trace), and looked at the output of "kdump". "ldd ./runtime/parrot/dynext/libnci_test.so" confirms that it can't find libparrot.so.1.7.0: "-lparrot.1.7.0 => not found".
21:33 he__ An inspection of the build log confirms that no run-path is set up to reach the in-tree libparrot.so.1.7.0.
21:34 he__ "in-tree" as "inside the build tree".
21:36 plobsing hmmm. I don't think libnci_test.so depends on anything in libparrot.
21:37 he__ It's linked with "-lparrot -Wl,-R/usr/pkg/lib" in my case.
21:38 he__ ...and with "-L/usr/users/he/parrot/blib/lib", but that doesn't fix the run-time behaviour on this platform.
21:38 he__ It needs rpath to be set.
21:38 he__ ... to blib/lib.
21:39 chromatic It uses PARROT_DYNEXT_EXPORT from parrot/config.h, but no code from libparrot.so.
21:41 plobsing remade libnci_test.so without $(ALL_PARROT_LIBS) flag. t/pmc/nci.t passes
21:41 plobsing s/flag/argument/
21:43 he__ So, that's a tweak to gen/makefiles/root.in, right?
21:43 he__ eh, config/gen/makefiles/root.in
21:44 chromatic That's right.
21:44 he__ OK, let's see where that gets us.
21:45 plobsing yes. I did a quick hack on the makefile. testing the full solution now
21:47 mikehh joined #parrot
21:51 mikehh joined #parrot
21:59 he__ Much better, back to the known suspects at http://smolder.plusthree.com/app/public_pr​ojects/report_details/29749#first_failure
22:10 nopaste "plobsing" at 76.67.61.178 pasted "libnci_test makefile fix" (13 lines) at http://nopaste.snit.ch/18604
22:15 chromatic Testing now; will commit in a moment.
22:19 chromatic Thanks for the patch; good debugging, both of you.
22:21 dalek parrot: r42376 | chromatic++ | trunk/config/gen/makefiles/root.in:
22:21 dalek parrot: [config] Removed unnecessary dynlib linking for libnci_test; this causes test
22:21 dalek parrot: failures at least on OpenBSD.  (Patch by Peter Lobsinger.)
22:21 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42376/
22:27 ttbot Parrot trunk/ r42376 MSWin32-x86-multi-thread make error http://tt.ro.vutbr.cz/file/cmdout/136871.txt ( http://tt.ro.vutbr.cz//buil​dstatus/pr-Parrot/rp-trunk/ )
22:29 NotFound Tene: I've commited your fix, and added a workaround that avoids the segfault.
22:32 plobsing to fix openbsd, I broke windows. wonderful!
22:32 Tene notfound++
22:33 he__ Eh, my platform is NetBSD, but ... same difference, I guess.
22:33 NotFound But the winxed version looks better, anyway ;)
22:33 dalek parrot-mysql: r13 | julian.notfound++ | trunk/src/Mysql.pir:
22:33 dalek parrot-mysql: fix provided by Tene++ and workaround for a problem with mysql_init and null
22:33 dalek parrot-mysql: pointers
22:33 purl pointers are shiny!
22:33 dalek parrot-mysql: review: http://code.google.com/p/par​rot-mysql/source/detail?r=13
22:37 he__ Hm, so why does PMC_IS_NULL() generate a "undefined symbol" issue on Win32, but not on other platforms?
22:38 plobsing perhaps if it is not loaded, it is simply null.
22:38 NotFound he__: most probably because someone is using the wrong headers
22:39 plobsing looking at it, pmc != NULL should be good enough
22:39 plobsing there is no way (currently) that the frame builder can insert a PMCNULL there
22:39 plobsing whether or not there should be a way for that to happen is another story...
22:40 NotFound What's the program with the problem?
22:40 plobsing libnci_test.so fails to link on windows
22:40 he__ src/nci_test.c line 751
22:40 NotFound Oh, again.
22:41 NotFound I hate that file.
22:42 he__ chromatic committed a fix which removed $(ALL_PARROT_LIBS) from the linking of libnci_test.so, which turned out to trigger a problem on NetBSD, because no run-path was set to find the in-build-tree libparrot.so.1.7.0.
22:43 he__ plobsing said libnci_test.so should not need to use the parrot library, so it got removed instead of adding a conditional run-path to blib/lib to find the in-build-tree libparrot.so.1.7.0.
22:43 plobsing it appeared that libnci_test didn't depend on libparrot, but apparently, it uses PMCNULL
22:45 NotFound Change that PMC_IS_NULL to PMC_is_null
22:45 purl NotFound: that doesn't look right
22:46 plobsing NotFound: isn't that a function in libparrot?
22:47 plobsing the problem is we are no longer linking against libparrot
22:47 NotFound The we can't check for PMCNULL in any reasonable way.
22:48 mokurai joined #parrot
22:48 plobsing exactly. but the frame builder won't insert a PMCNULL there. so only PIR code can trigger that. and the null check should occur in PIR in those cases.
22:48 he__ Maybe I should follow the alternative route of conditionally adding a proper run-path to the libnci_test.so library?
22:49 plobsing he__: thats probably the more correct solution
22:49 he__ ok, I'll see if I can untangle where that fix goes.
22:49 NotFound And I even think that that test is checking the wrong thing, and that is the root of other ptoblems. The argument must be NULL, no PMCNULL.
22:49 NotFound External libraries have nothing to do with a PMCNULL.
22:50 plobsing except the signature is "vP", which indicates the called function knows how to deal with PMCs
22:51 NotFound Then the test doesn't make sense at all.
22:55 plobsing it's a really old test.
22:55 NotFound plobsing: where is that thing documented? The PDD just says "A PMC register"
22:55 plobsing introduced in 4661 (2003)
22:56 plobsing NotFound: documentation? we don't need no stinkin' documentation!
22:56 plobsing ;-)
22:56 NotFound To break tests, absolutely not ;)
22:56 plobsing yes, nci is underdocumented. but this one is pretty straight forward
22:56 plobsing it passes through PMCs
22:56 plobsing unaltered
22:57 NotFound Andwe don't have a test for a NULL 'p' ?
22:58 NotFound That explains all.
22:58 he__ Hm, I could have wanted to use something set in inter::libparrot (rpath_blib) in init::defaults (where ncilib_link_extra is set) (or at least defaulted)
22:58 he__ But ... I guess the order of the steps conspires against that plan.
23:01 plobsing NotFound: even though we don't have full coverage, and some tests don't make sense, it was very useful for me when I was making my frame builder
23:01 plobsing and I don't want to bloat it too much. it already takes too long to run
23:02 NotFound plobsing: Yeah, I hate it but not enough to sentence it to death ;)
23:02 NotFound plobsing: we definitely need to check passing and returning values.
23:03 NotFound null values
23:03 plobsing ok
23:04 plobsing I'll try to throw something together. but with my luck so far today, I make no promises
23:10 nopaste "he" at 158.38.152.80 pasted "diff to use rpath_blib (if non-null) when linking ncilib to make it find the in-build-tree parrot shared library" (17 lines) at http://nopaste.snit.ch/18608
23:10 he__ Build still ongoing.
23:15 kj joined #parrot
23:15 NotFound Verified, a PMCNULL passed to a 'p' gives a PMCNULL
23:20 plobsing hmmm. thats not good
23:20 he__ Hm, that didn't quite work...
23:21 NotFound In fact, the workaround I've do recently in parrot-mysql is because of that.
23:21 NotFound The workaround is to fake the signature and pass a null string
23:22 plobsing wonder when that behaviour changed. because I went out of my way to convert PMCNULL to NULL in 'p' args in the libjit frame builder
23:22 plobsing based on what was then being generated in src/nci.c
23:23 NotFound plobsing: I suppose that in the calling conventions refactor. And no wonder no one notice because is not tested.
23:24 he__ Bah, syntax error.
23:25 he__ '!=' should be 'ne', "of course".
23:26 eternaleye joined #parrot
23:39 Whiteknight joined #parrot
23:45 he__ OK, that did it, nopaste to follow.
23:46 he__ (after un-applying the patch to omit ALL_PARROT_LIBS when linking libnci_test.so)
23:46 nopaste "he" at 158.38.152.80 pasted "fixed diff to use rpath_blib (if non-null) when linking ncilib to make it find the in-build-tree parrot shared library" (17 lines) at http://nopaste.snit.ch/18609
23:47 plobsing NotFound: I have a test for 'p' parameters being NULL. It currently fails. will work on the fix. nopasting patch
23:47 nopaste "plobsing" at 76.67.61.178 pasted "NCI 'p' parameter null test" (21 lines) at http://nopaste.snit.ch/18610
23:48 he__ ...and with that it's Good Night from this corner.
23:49 NotFound plobsing: I have a fix semi-done
23:51 plobsing NotFound: modifying tools/build/nativecall.pl?
23:54 NotFound plobsing: yeah
23:58 payload joined #parrot

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

Parrot | source cross referenced