Camelia, the Perl 6 bug

IRC log for #parrot, 2011-07-03

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 cotto soh_cah_toa, looking now
00:17 lucian left #parrot
00:19 whiteknight joined #parrot
00:26 nopaste "cotto" at 192.168.1.3 pasted "hbdb build fix" (23 lines) at http://nopaste.snit.ch/56980
00:26 cotto soh_cah_toa, this approach fixes the build.
00:26 cotto still segfaults when I try the "help" command
00:26 woosley joined #parrot
00:29 whiteknight too...many...trac...emails....
00:29 cotto a few tickets got knocked off though
00:36 eternaleye left #parrot
00:37 eternaleye joined #parrot
00:40 PacoLinux left #parrot
00:46 whiteknight yes, can't argue with that
00:50 kid51_at_dinner If I don't ask about old tickets, the cage doesn't get cleaned :-)
00:50 kid51_at_dinner is now known as kid51
00:52 benabik joined #parrot
00:54 benabik ~~
00:54 benabik Finally made it home.
00:55 cotto benabik, wb
01:06 daniel-s joined #parrot
01:07 whiteknight I find myself spending a lot more time on github reading code and commits than I spend on trac. When we were on SVN I was spending the time on trac and was looking at tickets and stuff at the same time
01:07 whiteknight but now that the fun stuff is happening on github, I'm not going to trac unless I'm specifically reminded about tickets that need attention
01:07 cotto same here
01:08 kid51 Cage cleaning is a dirty job, but somebody's got to do it.
01:08 whiteknight kid51: you're a gentleman and a scholar, no doubt.
01:09 whiteknight I clearly don't have the attention span for that kind of work
01:09 whiteknight along with myriad other personality flaws
01:10 cotto yet here you are
01:14 cotto I have to say that I strongly prefer to have hackathons before YAPC now.  I felt pretty useless after 3 days of yapc-ing.
01:16 whiteknight speaking of which, I think that we are ripe to have a parrot-related hackathon sometime soon
01:17 cotto whiteknight, virtual or irl?
01:17 whiteknight virtual
01:17 cotto good, because I don't want to travel at all soon
01:17 whiteknight well, irl too, but travel is a pain
01:18 cotto whiteknight, do you have any intention of going to the GSoC mentor's summit?  dukeleto has me sold on it.
01:18 whiteknight we do see nice productivity boosts for a hackathon, if we don't do it too often
01:18 whiteknight no, I can't go
01:18 cotto er, dukeleto++ has me sold
01:18 whiteknight I basically am not doing any travel this year
01:18 whiteknight unfortunately
01:18 cotto weren't you going to hit fosscon?
01:19 cotto aloha, going to fosscon?
01:19 aloha cotto: Search me, bub.
01:21 whiteknight I don't know if I can go to fosscon or not. I'm not signed up yet
01:21 whiteknight Of course, that doesn't involve traveling. It's happening only a few blocks from where I work
01:22 cotto no excuses for you
01:24 kid51 aloha, going to fosscon is kid51
01:24 aloha kid51: Okay.
01:24 kid51 aloha, going to fosscon?
01:24 aloha kid51: going to fosscon is kid51
01:24 kid51 aloha, going to fosscon is also soh_cah_toa
01:24 aloha kid51: Okay.
01:24 kid51 aloha, going to fosscon?
01:24 aloha kid51: going to fosscon is kid51 or soh_cah_toa
01:24 kid51 aloha, going to fosscon is also possibly_pmichaud
01:25 aloha kid51: Okay.
01:25 * cotto ponders the quantum superposition of pmichaud and not pmichaud
01:26 kid51 msg soh_cah_toa lib/Parrot/Test/HBDB.pm line 118 no need for 'require'; see http://perldoc.perl.org/base.html
01:26 aloha OK. I'll deliver the message.
01:35 contingencyplan left #parrot
01:36 bubaflub hey whiteknight, can i ask you a few questions about VTABLE overrides?
01:36 whiteknight bubaflub: you need to learn! You don't need to ask to ask
01:36 whiteknight just ask
01:37 bubaflub just knocking before entering
01:37 cotto barge it.  It'll be fun.
01:37 cotto *in
01:37 bubaflub whiteknight: i've got a few basic overrides for GMP Integers, but i wanna add add_* and subtract_* and all those goodies.
01:37 whiteknight ok
01:38 bubaflub but i'm having trouble with set_[integer|float|string]_native
01:38 kid51 msg soh_cah_toa lib/Parrot/Test/HBDB.pm lines 204 and 243:  You should not place your test function calls inside an 'if' block.  If the conditions for the 'if' to be true are not met, the tests won't be run and it will screw up your plan().
01:38 aloha OK. I'll deliver the message.
01:38 whiteknight you're having problems with our problems.
01:38 bubaflub are these called when i do something like: var x = new GMP.Integer(32); x = 33;
01:38 cotto kid51, thanks for reviewing that code
01:38 bubaflub well, misery doesn't need company but sure enjoys it
01:39 whiteknight bubaflub: definitive resource is the Parrot source. Take a look at src/ops/set.ops to see where the various vtables are being called, and also look at src/pmc/default.pmc to see what the default fallback behavior is
01:39 bubaflub whiteknight: ok.
01:39 whiteknight set_integer_native may fall back to set_number_native or something stupid like that
01:39 kid51 msg soh_cah_toa Also at lines 204 and 243, you need to account for possibility that @lines is empty and that $lines[0] is undefined.  That's why you're getting: Use of uninitialized value $this in pattern match (m//) at lib/Parrot/Test/HBDB.pm line 243.
01:39 aloha OK. I'll deliver the message.
01:40 whiteknight set_p_i seems to call VTABLE_set_integer_native
01:41 whiteknight set_p_n and set_p_s are set_number_native and set_string_native respectively
01:41 bubaflub whiteknight: ok, i think it's just Winxed doing some magic, because the following works
01:42 bubaflub var x = new GMP.Integer(32); x.set_native_integer(35);
01:42 bubaflub then the assert that checks x is 35 passes
01:42 bubaflub if i do
01:42 bubaflub x = new GMP.Integer(32); x = 35; when i try to check the value x is not a GMP.Integer
01:43 whiteknight Get the generated PIR and see what op it is generated. I suspect x = 35 may be a box op, not a set op
01:43 whiteknight or, box then set
01:43 whiteknight To be certain, generate an explicit op: ${ set x, 35 };
01:45 bubaflub whiteknight: you're absolutely right, i'm getting a box op
01:45 bubaflub i'll do it with the $
01:45 bubaflub well
01:45 bubaflub hmm
01:45 kid51 msg soh_cah_toa lib/Parrot/Test/HBDB.pm lines 166 and 175: You should modify each assignment to end in || ''; to avoid possible uninitialized values.
01:45 aloha OK. I'll deliver the message.
01:45 bubaflub how would i box first?
01:45 whiteknight We'll have to ask NotFound if there is any way in Winxed to generate a set_p_i op
01:45 whiteknight bubaflub: what do you mean?
01:46 bubaflub i mean, i know in Winxed i can do things like int(x) and what not; can i coerce it to be a GMP Integer in the same way?
01:46 whiteknight no
01:46 whiteknight at least, I don't think so
01:46 bubaflub ok
01:46 bubaflub that's fine
01:46 kid51 msg soh_cah_toa lib/Parrot/Test/HBDB.pm sub _generate_pbc(): sub is not completely encapsulated; $parrot and $builder are defined outside scope of subroutine.
01:46 aloha OK. I'll deliver the message.
01:47 cotto kid51++
01:50 kid51 msg soh_cah_toa lib/Parrot/Test/HBDB.pm END {}.  Since you create hello.pbc in the test file (not in the module) why not unlink it in the test file?
01:50 aloha OK. I'll deliver the message.
01:53 whiteknight bubaflub: anything else you need? I
01:53 kid51 msg soh_cah_toa t/tools/hbdb/cmds.t line 39 test_bad_cmd: Recommend passing strings assigned to $bad_cmd and $err_msg as arguments to the function itself rather than hard-coding them inside the function.  Increases flexibility in testing.
01:53 aloha OK. I'll deliver the message.
01:53 whiteknight m going to sign off soon
01:53 bubaflub whiteknight: nah, i'm good for now.  imma blog post and push some commits.  thanks for all your help.
01:53 bubaflub i'm sure i'll be harassing you again soon enough.
01:53 whiteknight bubaflub: I look forward to it!
01:53 whiteknight later
01:54 whiteknight left #parrot
01:56 soh_cah_toa kid51++: thanks a bunch for the code review. i'll take a look at those things now
02:00 dalek parrot/soh-cah-toa/hbdb: 92fbcf4 | soh_cah_toa++ | lib/Parrot/Test/HBDB.pm:
02:00 dalek parrot/soh-cah-toa/hbdb: Removed "require Exporter" since "use base qw(Exporter)" loads it implicitly
02:01 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/92fbcf4a56
02:06 dalek parrot/hbdb: ca41f3e | jkeenan++ | include/parrot/hbdb.h:
02:06 dalek parrot/hbdb: Correct typo in inline comment.
02:06 dalek parrot/hbdb: review: https://github.com/parrot/parrot/commit/ca41f3e54a
02:06 kid51 Hmm, that's not waht I wanted to do.
02:07 bubaflub incoming
02:08 dalek parrot-gmp: 2ab89a4 | bubaflub++ | / (8 files):
02:08 dalek parrot-gmp: vtable overrides for everyone!
02:08 dalek parrot-gmp:
02:08 dalek parrot-gmp: this includes get_bool, get_number, set_integer_native, set_number_native, and set_string_native with tests.  the rest are commented out in the main source
02:08 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/2ab89a479c
02:08 cotto dukeleto, ping
02:08 soh_cah_toa kid51: wow, i'm surprised you caught that. you've got quite an eye :)
02:08 kid51 soh_cah_toa: Spelling error at line 23 of include/parrot/hbdb.h
02:11 dalek parrot-gmp: 8ad02d7 | bubaflub++ | src/GMP/Integer.winxed.template:
02:11 dalek parrot-gmp: fix typo
02:11 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/8ad02d7002
02:12 cotto kid51, do you have an outline or notes from the BoF at YAPC::NA?
02:12 dalek parrot/soh-cah-toa/hbdb: 7ead923 | soh_cah_toa++ | include/parrot/hbdb.h:
02:12 dalek parrot/soh-cah-toa/hbdb: Fixed typo in inline comment thanks to kid51++
02:12 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/7ead92302f
02:12 kid51 soh_cah_toa: I'm trying to diagnose those warnings during the build of src/hbdb.c -- but your C foo is far in advance of mine!
02:13 cotto mine were very minimal
02:13 soh_cah_toa kid51: you will go insane looking at those ;)
02:14 kid51 Each of them is googleable.
02:15 nopaste "kid51" at 192.168.1.3 pasted "hbdb branch build errors" (60 lines) at http://nopaste.snit.ch/56984
02:15 kid51 Most of the *other* warnings have already been cleared up by mikehh++ in master
02:15 soh_cah_toa whoa, you have a lot more and different ones than i do
02:16 cotto soh_cah_toa, that reminds me, you need to make sure to sync with master every few weeks.
02:16 kid51 soh_cah_toa: Do you have warnings from * src/hbdb.c* above and beyond what I pasted?
02:16 soh_cah_toa let me nopaste my build warnings
02:17 benabik home again again.  I was planning on blogging something useful today but put up a placeholder instead.  DID: Drove.  WILL DO: Blog. BLOCKERS: Lack of sleep.
02:18 kid51 benabik: Sleep tonight.  Enjoy hacking on holiday weekend tomorrow and Monday ;-)
02:19 dalek website: benabik++ | GSoC 6: Unexpected YAPC
02:19 dalek website: http://www.parrot.org/cont​ent/gsoc-6-unexpected-yapc
02:19 cotto a wild yapc appeared
02:20 nopaste "soh_cah_toa" at 192.168.1.3 pasted "HBDB Build Warnings" (27 lines) at http://nopaste.snit.ch/56985
02:20 dalek rakudo/nom: ebe1051 | jonathan++ | NOMMAP.markdown:
02:20 dalek rakudo/nom: Remove a couple of dealt with nommap items.
02:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ebe1051178
02:21 kid51 soh_cah_toa: The only warnings you need to be concerned with are those in src/hbdb.c.  All the others are long-standing warnings in other source code files.
02:21 soh_cah_toa ok good
02:22 kid51 But you/we do need to be concerned about the warnings in hbdb.c.  They ought to be gone by the point where you merge into master.
02:22 cotto kid51, no worries.  They will be.
02:25 kid51 soh_cah_toa: Are you configuring with gcc or g++?
02:26 benabik cotto: YAPC used "Drive to far away hotel".  It was super effective!
02:26 soh_cah_toa kid51: gcc, though cotto mentioned i should also use g++ today. how do i change that w/ make w/o editing the Makefile?
02:26 kid51 soh_cah_toa: Yes, I'm puzzled by why I'm getting all those errors in src/pmc/structview.c and you're not -- especially since I just pulled your branch fresh
02:27 cotto soh_cah_toa, you have to rerun Configure.pl with the right arguments
02:27 cotto In general, you shouldn't edit the makefile directly for that.
02:28 kid51 perl Configure.pl  --cc=g++ --link=g++ --ld=g++ --test  && make && make test
02:28 soh_cah_toa ok thanks
02:29 kid51 You will also have to fix 2 instances of unused assert macros: prove t/codingstd/c_arg_assert.t  (or: make codetest)
02:30 cotto --test isn't generally necessary (but won't hurt)
02:30 benabik So how is everyone?  I assume y'all got home safe.
02:30 kid51 Configuring with g++, I get this:
02:30 kid51 src/hbdb.c:118: error: braces around scalar initializer for type 'hbdb_cmd_t*'
02:31 kid51 ... in 2 groups of 3 ...
02:31 cotto benabik, safe, yes.  sick, also yes.
02:31 kid51 ... illustrating the fact that gcc and g++ throw different build warnings
02:31 benabik cotto: Oh, bleck.  Get better?
02:31 cotto benabik, it's either that or get worse. ;]
02:32 benabik cotto: ...  True?
02:32 soh_cah_toa kid51: yes, i think that's the one i'm getting
02:32 kid51 Oh wait: With an all g++ build, the build fails in that branch
02:33 kid51 src/hbdb.c:118: error: braces around scalar initializer for type 'hbdb_cmd_t*'
02:33 kid51 make: *** [src/hbdb.o] Error 1
02:33 kid51 So it warns in gcc but FAILs in g++
02:33 soh_cah_toa interesting
02:34 kid51 Hypothesis:  Once you fix this in the g++ build, you will pass on gcc without warnings.  Proceed to test hypothesis while ...
02:34 * kid51 goes for ice cream
02:34 soh_cah_toa good idea
02:34 benabik (ice cream)++
02:35 * benabik eats his ice cream and drinks his hard cider.
02:41 cosimo left #parrot
02:41 rurban_ joined #parrot
02:44 rurban left #parrot
02:44 rurban_ is now known as rurban
02:50 dalek website: bubaflub++ | Parrot-GMP: Random Numbers, Distutils, Plumage, VTABLE overrides
02:50 dalek website: http://www.parrot.org/content/parrot-gmp-rand​om-numbers-distutils-plumage-vtable-overrides
02:51 kurahaupo joined #parrot
02:53 bubaflub msg dukeleto bloggity blog blog blah blah http://www.parrot.org/content/parrot-gmp-rand​om-numbers-distutils-plumage-vtable-overrides
02:53 aloha OK. I'll deliver the message.
03:06 theory joined #parrot
03:11 woosley left #parrot
03:13 nopaste "kid51" at 192.168.1.3 pasted "This enables g++ build to complete -- but causes gcc build to fail" (13 lines) at http://nopaste.snit.ch/56992
03:55 cosimo joined #parrot
04:00 kid51 left #parrot
04:25 daniel-s left #parrot
04:40 dukeleto bubaflub++ # blag toast
04:40 bubaflub hola dukeleto
04:40 bubaflub dukeleto: wanna skype it up sometime?
04:40 dukeleto bubaflub: sure, but I just got back from hiking, and will likely pass out soon
04:40 dukeleto bubaflub: perhaps tomorrow
04:41 bubaflub dukeleto: yeah.  i'm watching some anime with the wife.
04:41 whiteknight joined #parrot
04:41 dukeleto bubaflub: nice work recently! Very nice to see you close lots of github issues
04:44 bubaflub dukeleto: thanks!
04:46 dalek parrot/soh-cah-toa/hbdb: 525a293 | soh_cah_toa++ | lib/Parrot/Test/HBDB.pm:
04:46 dalek parrot/soh-cah-toa/hbdb: Assignment of @lines now defaults to an empty string on error (kid51++)
04:46 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/525a293dea
04:46 dalek parrot/soh-cah-toa/hbdb: 77167c2 | soh_cah_toa++ | lib/Parrot/Test/HBDB.pm:
04:46 dalek parrot/soh-cah-toa/hbdb: Began refactoring duplicate code into _enter_cmd() and _close_fh()
04:46 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/77167c2eea
05:02 zby_home_ joined #parrot
05:03 zby_home left #parrot
05:05 dalek parrot/soh-cah-toa/hbdb: 64fea2a | soh_cah_toa++ | lib/Parrot/Test/HBDB.pm:
05:05 dalek parrot/soh-cah-toa/hbdb: Moved call to waitpid() to inside _enter_cmd()
05:05 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/64fea2a412
05:19 dalek rakudo/nom: f37d574 | moritz++ | src/core/ (4 files):
05:19 dalek rakudo/nom: log()
05:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f37d57467e
05:19 dalek rakudo/nom: a08f69e | moritz++ | / (6 files):
05:19 dalek rakudo/nom: exp, infix ** for Complex
05:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a08f69ea4b
05:20 fperrad joined #parrot
05:29 dalek parrot/soh-cah-toa/hbdb: 74662fd | soh_cah_toa++ | lib/Parrot/Test/HBDB.pm:
05:29 dalek parrot/soh-cah-toa/hbdb: Moved definition of  to inside _generate_pbc() to increase encapsulation
05:29 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/74662fdbc2
05:31 soh_cah_toa ugh, stupid bash variable interpolation. should've used single quotes
05:31 soh_cah_toa left #parrot
05:33 dalek rakudo/nom: a930204 | moritz++ | / (2 files):
05:33 dalek rakudo/nom: allow underscores in rat literals. Tests.
05:33 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a93020488f
05:50 dalek rakudo/nom: 6f27881 | moritz++ | / (3 files):
05:50 dalek rakudo/nom: two more passing test files, add List.fmt, grep() accepts non-Code matchers
05:50 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6f27881230
05:52 NotFound_b joined #parrot
05:53 NotFound_b bubaflub: you need to use the operator =:
05:53 NotFound_b x = new GMP.Integer(32); x =: 35;
06:09 redicaps joined #parrot
06:14 NotFound_b msg bubaflub you need to use the operator =:  ---> x = new GMP.Integer(32); x =: 35;
06:14 aloha OK. I'll deliver the message.
06:29 kurahaupo left #parrot
06:30 dalek Rosella/gh-pages: c1e32d9 | Whiteknight++ | libraries/string.md:
06:30 dalek Rosella/gh-pages: update string docs with concepts
06:30 dalek Rosella/gh-pages: review: https://github.com/Whiteknig​ht/Rosella/commit/c1e32d9a23
06:30 dalek Rosella/gh-pages: 28c7b1a | Whiteknight++ | _layouts/rosella.html:
06:30 dalek Rosella/gh-pages: Add link to String docs
06:30 dalek Rosella/gh-pages: review: https://github.com/Whiteknig​ht/Rosella/commit/28c7b1a462
06:30 dalek Rosella: 418a2a2 | Whiteknight++ | / (2 files):
06:30 dalek Rosella: Update DelimiterRegion to throw an error if we find an unclosed region. Add a test for this behavior.
06:30 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/418a2a253b
06:30 dalek Rosella: 55eef91 | Whiteknight++ | t/string/tokenizer/Delimiter.t:
06:30 dalek Rosella: test for what happens when we have no text between or after delimiters in Delimiter.t
06:30 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/55eef91727
06:30 dalek Rosella: f225561 | Whiteknight++ | / (2 files):
06:30 dalek Rosella: Add tests for Tokenizer. Small fixes
06:30 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/f225561eef
06:30 dalek Rosella: 4ebbdc9 | Whiteknight++ | t/string/ (2 files):
06:30 dalek Rosella: +tests for Token
06:30 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/4ebbdc9840
06:30 dalek Rosella: f078d32 | Whiteknight++ | / (17 files):
06:30 dalek Rosella: String is now stable
06:30 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/f078d32415
06:31 dalek Rosella: 6c3ca27 | Whiteknight++ | README.md:
06:31 dalek Rosella: add Path and String to README
06:31 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/6c3ca2756a
06:49 benabik left #parrot
06:49 benabik joined #parrot
06:51 benabik left #parrot
06:51 benabik joined #parrot
07:06 dodathome joined #parrot
07:16 dalek Rosella: 08afc84 | Whiteknight++ | s (5 files):
07:16 dalek Rosella: Fix Template to work with recent changes to String. Add a Context object to hold temporaries with clobbering user data. Fix for loop to work with hashes.
07:16 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/08afc844d8
07:16 whiteknight left #parrot
07:16 particle left #parrot
07:18 particle joined #parrot
07:27 mj41 joined #parrot
07:59 dalek parrot/m0-prototype: eb17d98 | chromatic++ | src/m0/c/ (4 files):
07:59 dalek parrot/m0-prototype: Moved run_ops() to m0_ops.c and added m0_ops.h.
07:59 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/eb17d98b0d
07:59 dalek parrot/m0-prototype: 5ec429a | chromatic++ | src/m0/c/ (7 files):
07:59 dalek parrot/m0-prototype: Added skeleton for "Hello, world!" handling.
07:59 dalek parrot/m0-prototype:
07:59 dalek parrot/m0-prototype: This adds m0_ops.c with its header.
07:59 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/5ec429abdb
07:59 dalek parrot/m0-prototype: f9c6a20 | chromatic++ | src/m0/c/ (4 files):
07:59 dalek parrot/m0-prototype: Made "Hello, world!" example work.
07:59 dalek parrot/m0-prototype:
07:59 dalek parrot/m0-prototype: Little else will work, and there are some definite hacks here, but progress is
07:59 dalek parrot/m0-prototype: progress.
07:59 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/f9c6a208c5
07:59 dalek parrot/m0-prototype: 57ad086 | chromatic++ | src/m0/c/ROADMAP:
07:59 dalek parrot/m0-prototype: Updated ROADMAP.
07:59 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/57ad086d88
07:59 benabik Woo!  More chromatic work!
08:06 theory left #parrot
08:19 redicaps left #parrot
08:52 mikehh left #parrot
08:54 daniel-s joined #parrot
09:32 ligne left #parrot
10:15 lichtkind joined #parrot
10:19 PacoLinux joined #parrot
10:19 dalek rakudo/nom: 430e461 | pmichaud++ | src/core/Any.pm:
10:19 dalek rakudo/nom: Any.grep doesn't need a gather/take, .map is already lazy.
10:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/430e461fbf
10:25 mj41 left #parrot
10:33 mj41 joined #parrot
10:41 rurban_ joined #parrot
10:44 rurban left #parrot
10:44 rurban_ is now known as rurban
10:51 Eclesia joined #parrot
10:52 Eclesia hi
11:37 ligne joined #parrot
11:46 Eclesia those 'using ...' are painful ...
11:46 ligne left #parrot
11:47 Eclesia NotFound : how do I use a function located in a sub-namespace ?
11:47 Eclesia in winxed
11:51 whiteknight joined #parrot
11:52 Eclesia hi whiteknight
11:52 whiteknight good morning Eclesia. How are you doing today?
11:53 Eclesia more or less fine, fighting with winxed
11:53 Eclesia and you ?
11:53 rohit_nsit08 joined #parrot
11:55 zby_home_ left #parrot
11:55 Eclesia whiteknight: perhaps you know, but how can I call a method in a sub-namespace ?
11:55 Eclesia function*
11:55 whiteknight you have to look it up
11:55 Eclesia means ?
11:57 Eclesia ha found it ...
12:19 mj41 left #parrot
12:33 Eclesia left #parrot
12:58 mj41 joined #parrot
13:17 mj41 left #parrot
13:21 kid51 joined #parrot
13:24 mj41 joined #parrot
13:26 rohit_nsit08 left #parrot
13:32 mj41 left #parrot
13:36 rohit_nsit08 joined #parrot
13:38 lucian joined #parrot
13:46 rohit_nsit08 whiteknight: there?
13:46 ambs joined #parrot
13:46 bluescreen left #parrot
13:46 rohit_nsit08 Coke: ping
13:46 bluescreen joined #parrot
13:57 whiteknight hello rohit_nsit08
13:59 rohit_nsit08 whiteknight: hello
13:59 rohit_nsit08 i was trying to access a namespace's property using its pmc object
13:59 rohit_nsit08 http://codepad.org/1pu2ItmE
13:59 rohit_nsit08 line 9
14:00 rohit_nsit08 but getting error , while same thing with $P2.'find_var'() is working
14:01 rohit_nsit08 any mistake i'm doing?
14:01 whiteknight I think get_global expects a Key, not a NameSpace
14:01 whiteknight use 'find_var' instead
14:04 rohit_nsit08 I expected this, but $P2 is the namespace object , documentation says that I can use a namespace object to search into the properties
14:05 rohit_nsit08 here, http://docs.parrot.org/parrot/latest/htm​l/docs/book/pir/ch04_variables.pod.html
14:06 rohit_nsit08 search for this, $P1 = get_global $P0, "bill"
14:12 allison This is pretty cool http://www.stargit.net/#github (look up github/parrot)
14:27 whiteknight rohit_nsit08: that's either a bug or a problem with documentation. Open a ticket
14:29 dalek Rosella: e3534e3 | Whiteknight++ | src/unstable/ (3 files):
14:29 dalek Rosella: Add a new test_template utility program to create new stub test files using the Template library.
14:29 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/e3534e34ba
14:29 dalek Rosella: 0054712 | Whiteknight++ | src/unstable/ (3 files):
14:29 dalek Rosella: update the test_template utility to generate harnesses too. Add two templates for harnesses in winxed and nqp
14:29 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/005471275b
14:31 rohit_nsit08 whiteknight: ya seems to some documentation error. ok I'll open a ticket for that
14:31 whiteknight allison: yes, that is very cool
14:46 kid51 I can't get that stargit thing to do anything under my direction
14:51 fperrad left #parrot
15:08 dalek parrot: 1ee5ec8 | jkeenan++ | src/packfile/pf_items.c:
15:08 dalek parrot: Add number of Trac ticket for inline comment.
15:08 dalek parrot: review: https://github.com/parrot/parrot/commit/1ee5ec8531
15:13 kid51 whiteknight: ping
15:13 whiteknight kid51: pong
15:14 kid51 ready for phone?
15:15 whiteknight yes
15:20 mj41 joined #parrot
15:25 arnsholt left #parrot
15:27 lichtkind left #parrot
15:30 bubaflub ~
15:33 dalek parrot-gmp: cd43896 | bubaflub++ | t/integer/vtable/set_ (3 files):
15:33 dalek parrot-gmp: use Winxed operator instead of dropping down to PIR, NotFound++
15:33 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/cd438960c3
15:38 bluescreen left #parrot
15:39 bluescreen_ left #parrot
15:45 arnsholt joined #parrot
15:46 zby_home joined #parrot
15:58 * lucian wishes for better distribution/testing utils
16:09 lucian whiteknight: hi. i'm trying to figure out what rosella's setup.winxed is doing
16:10 whiteknight lucian: hopefully, "building things"
16:10 lucian whiteknight: yes, that much i gathered :)
16:11 lucian i've monkey'd up a setup.winxed for puffin, based on yours, and I get this "Reading version information...Unable to open filehandle from path 'src/_build/_versions.winxed' "
16:11 * lucian is a little confused
16:13 whiteknight oh, Rosella has a VERSIONS file. setup.winxed reads that file and outputs a .winxed file to add all those numbers into a hash
16:13 whiteknight so you probably want to rip out all that crap
16:15 theory joined #parrot
16:20 lucian whiteknight: right. good, i was wondering if it's necessary
16:20 contingencyplan joined #parrot
16:21 whiteknight no, not necessary.
16:21 whiteknight I should document better
16:21 NotFound_b left #parrot
16:22 lucian whiteknight: it's still very useful, thanks
16:24 mj41 left #parrot
16:30 kid51_ joined #parrot
16:34 kid51 left #parrot
16:35 kid51_ left #parrot
16:36 kid51 joined #parrot
16:43 daniel-s left #parrot
16:44 mj41 joined #parrot
16:58 lichtkind joined #parrot
17:03 cotto ~~
17:37 fperrad joined #parrot
17:55 whiteknight cotto: I don't have time now, we have to go out to the inlaws' soon, but later we should get together and talk profiling
17:57 cotto whiteknight, ok.  It's on the list of 3 +/- Parroty things I want to get done today.
17:57 whiteknight okay, awesome. I'm on vacation this week so I am going to have more than average time to focus on parrot
17:58 cotto good deal
17:58 whiteknight I want to get my packfiles branch mergable, and I want to get a plan written down for profiling. All my Rosella-related todo items for the week are already done as of this morning
17:58 whiteknight it helps when I don't sleep all night
17:59 cotto sleep is great, but if you're stuck with insomnia hacking is a good second choice
18:00 bubaflub lucian: this is a bit late, but i've got a distutils setup.winxed at https://github.com/bubaflub/parr​ot-gmp/blob/master/setup.winxed - the only parts that are specific to my project are the check_dependencies() and clean_build_dir() functions
18:00 cotto I'm excited that chromatic has started hacking on a C m0 interp.
18:00 cotto er, chromatic++
18:00 whiteknight I'm extremely sensitive to caffeine. Yesterday afternoon I had several glasses of iced tea. badda bing, I don't sleep all night
18:00 whiteknight yes, chromatic++ indeed
18:02 cotto Some guys from thinkgeek were giving out a bunch of caffeinated stuff.  I don't have the LD50, but it's getting there.
18:03 whiteknight okay, signing off now. I'll be back on later tonight. Maybe much much much later if I can't keep my damn hands off the caffein
18:03 whiteknight later
18:03 whiteknight left #parrot
18:13 lucian bubaflub: ah, thanks. i'll have a look
18:17 bubaflub lucian: cool.  i'm more than happy to answer any questions / try anything out on my machine.
18:22 dalek parrot/tt1047/type_sizes: b9c08dc | jkeenan++ | / (2 files):
18:22 dalek parrot/tt1047/type_sizes: Per discussion in http://trac.parrot.org/parrot/ticket/1047, constrain opcode type to have same size as integers.
18:22 dalek parrot/tt1047/type_sizes: review: https://github.com/parrot/parrot/commit/b9c08dccc4
18:23 rurban left #parrot
18:29 kid51 left #parrot
18:38 rurban_ joined #parrot
18:41 rurban__ joined #parrot
18:44 rurban__ is now known as rurban
18:46 rurban_ left #parrot
18:55 kurahaupo joined #parrot
19:13 kurahaupo left #parrot
19:44 dukeleto ~~
19:46 soh_cah_toa joined #parrot
20:00 Coke left #parrot
20:01 Coke joined #parrot
20:08 fperrad left #parrot
20:08 fperrad joined #parrot
20:23 fperrad left #parrot
20:30 dodathome left #parrot
20:43 PacoLinux left #parrot
20:48 mj41 left #parrot
20:53 nopaste "soh_cah_toa" at 192.168.1.3 pasted "Build Errors on Master Branch" (20 lines) at http://nopaste.snit.ch/57060
20:54 soh_cah_toa is anyone else getting those errors?
20:54 soh_cah_toa that's on the master branch w/ the most recent changes (commit 1ee5ec8)
20:57 cotto soh_cah_toa, looks fine to me.  Did you try make reconfig && make ?
20:57 soh_cah_toa let me try
20:58 soh_cah_toa 'reconfig' isn't a make target. are you talking about 'realclean'?
20:58 cotto soh_cah_toa, it should be
20:58 cotto should be equivalent to realclean and Configure.pl with whatever arguments you originally passed to it
20:58 soh_cah_toa that's odd. now it is after running 'realclean'
20:59 cotto whee
20:59 soh_cah_toa hmm...now it's building. how odd...
21:01 dalek parrot/soh-cah-toa/hbdb: 5979d51 | soh_cah_toa++ | src/hbdb.c:
21:01 dalek parrot/soh-cah-toa/hbdb: Fixed last of the build warnings. However, I don't think this can be a final solution
21:01 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/5979d51bf6
21:02 dalek rakudo/nom: f131a60 | moritz++ | src/core/Numeric.pm:
21:02 dalek rakudo/nom: sin, cos, tan as functions
21:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f131a60e8d
21:04 cotto soh_cah_toa, that won't work.  It casts a function pointer to a struct.
21:04 soh_cah_toa i know
21:05 soh_cah_toa i was just trying solutions and that finally got the warnings to stop
21:06 cotto soh_cah_toa, what about the nopaste I msg'd you yesterday?
21:06 soh_cah_toa cotto: i don't remember it
21:07 cotto http://nopaste.snit.ch/56980
21:08 soh_cah_toa ah, that should work
21:09 soh_cah_toa wow, that's so obvious
21:11 ambs left #parrot
21:13 soh_cah_toa cotto: how do you feel about moving all those types into include/parrot/hbdb.h and making command_table extern? i think it makes sense to keep types in a separate header
21:13 soh_cah_toa also, i may need some of them in src/runcores/cores.c soon. that way, i could just include the header rather than compiling it together w/ src/hbdb.c
21:14 cotto soh_cah_toa, definitely.  I was waiting until you'd gotten the build working to bring it up.
21:14 soh_cah_toa ok good
21:15 soh_cah_toa at first, i was trying to limit the scope of all my typedefs/structs but now their scope is increasing elsewhere. plus, it's standard practice
21:23 dalek parrot/soh-cah-toa/hbdb: 11e5be0 | soh_cah_toa++ | src/hbdb.c:
21:23 dalek parrot/soh-cah-toa/hbdb: Used cotto's method to reduce build warnings. Almost works
21:23 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/11e5be058c
21:25 nopaste "soh_cah_toa" at 192.168.1.3 pasted "Build Warnings With cotto's Method" (13 lines) at http://nopaste.snit.ch/57094
21:25 soh_cah_toa cotto: do you get those warnings/errors too?
21:27 cotto soh_cah_toa, I didn't intend to suggest that you use those struct names, just that that was a way to to fix the code.
21:27 cotto same thing with gcc
21:27 soh_cah_toa yeah, i know
21:28 rohit_nsit08 left #parrot
21:37 soh_cah_toa cotto: \o/ i have a possible solution
21:37 kurahaupo joined #parrot
21:37 * soh_cah_toa will push in a second
21:40 dalek parrot/soh-cah-toa/hbdb: 4bd6a6a | soh_cah_toa++ | src/hbdb.c:
21:40 dalek parrot/soh-cah-toa/hbdb: Used array notation instead of char * to fix last of the build warnings
21:40 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/4bd6a6a868
21:41 soh_cah_toa uh oh, segfaults :(
21:41 dalek rakudo/nom: 4d0dabf | moritz++ | src/core/Numeric.pm:
21:41 dalek rakudo/nom: add sqrt function
21:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4d0dabf310
21:42 soh_cah_toa so close
21:42 Psyche^ joined #parrot
21:42 rohit_nsit08 joined #parrot
21:47 Patterner left #parrot
21:47 Psyche^ is now known as Patterner
21:50 dalek rakudo/nom: bf3eccf | moritz++ | src/Perl6/Actions.pm:
21:50 dalek rakudo/nom: fix rationals with zeros after the decimal point
21:50 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/bf3eccf064
21:50 dalek rakudo/nom: e2a6299 | moritz++ | t/spectest.data:
21:50 dalek rakudo/nom: run simplified trig tests
21:50 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e2a62999cf
21:51 dukeleto nom nom nom
21:51 dukeleto makes me hungry
22:10 bubaflub hola dukeleto
22:10 lichtkind left #parrot
22:20 Coke left #parrot
22:20 luben joined #parrot
22:20 Coke joined #parrot
22:29 dukeleto bubaflub: werd
22:29 * dukeleto .nom($food)
22:30 sjn left #parrot
22:30 bubaflub dukeleto: i'm heading out in 10 minutes - got some time to skype later tonight?
22:36 mikehh joined #parrot
22:37 lucian_ joined #parrot
22:37 contingencyplan left #parrot
22:38 cotto since dalek is ignoring my blog, I'll just leave this here: http://reparrot.blogspot.com/2011/07/pa​rrot-weekly-news-for-july-3rd-2011.html
22:39 lucian left #parrot
22:44 dalek rakudo/nom: dcf30ef | jonathan++ | src/Perl6/ (2 files):
22:44 dalek rakudo/nom: Assorted fixes to placeholder parameters.
22:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/dcf30ef776
22:44 dalek rakudo/nom: dcdd4b7 | jonathan++ | t/spectest.data:
22:44 dalek rakudo/nom: Two more passing test files (placeholder related).
22:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/dcdd4b7056
22:45 dalek parrot/m0-spec: 2836026 | cotto++ | docs/pdds/draft/pdd32_m0.pod:
22:45 dalek parrot/m0-spec: add a suggestion from particle++ for an M0 completeness test
22:45 dalek parrot/m0-spec: review: https://github.com/parrot/parrot/commit/28360266ce
22:56 cotto dukeleto, I'd like your thoughts on that blog post.
22:59 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#16891), fulltest) at 3_5_0-55-g1ee5ec8
22:59 mikehh Ubuntu 11.04 i386 (g++)
23:07 mikehh cotto: interesting post - I worry at the word optimization - too many things don't work properly
23:09 mikehh it tends to come down to 'premature optimization' far to often
23:10 mikehh s/to often/too often/
23:16 cotto mikehh, That's a good point.  In the future, I'll consider adding some hard numbers to that section to demonstrate what kind of measurable improvements are likely.
23:16 cotto but not all optimization is premature, even if much of it is
23:18 cotto see also: chromatic
23:19 mikehh cotto: there is a lot of cruft that needs to be removed in parrot, we have mede a lot of improvements in a lot of areas
23:19 cotto mikehh, definitely.  There's more to do still.
23:19 mikehh but far to often a lot of junk gets left behind and slows things down and also obfuscuates thing
23:19 mikehh things
23:20 cotto see also: imcc
23:20 mikehh definately :-}
23:21 mikehh I was following pirc a while back, but unfortunately we had a bus number problem there
23:22 mikehh I have been looking at gc quite a bit, but we have a similar bus number problem there
23:32 dalek rakudo/nom: 62204fe | tadzik++ | NOMMAP.markdown:
23:32 dalek rakudo/nom: Update NOMMAP with the Block in a package case
23:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/62204fe548
23:53 bluescreen joined #parrot
23:54 rohit_nsit08 left #parrot
23:55 Coke http://pastebin.com/PZ5FCbTw - from rohit - he's trying to figure out why lines 14 & 17 don't generate the same output.
23:56 zby_home left #parrot
23:57 * Coke now catches up to 10am...
23:59 bluescreen_ joined #parrot

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

Parrot | source cross referenced