Camelia, the Perl 6 bug

IRC log for #parrot, 2011-07-02

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:09 * whiteknight wonders why P6 has a Cool type, but not Radical, Tubular, or Awesome ones
00:09 whiteknight sub foo(Awesome $x)
00:09 whiteknight or why not go all Paris Hilton with a Hot type?
00:09 whiteknight sub bar(Hot $ornot)
00:23 Coke left #parrot
00:24 Coke joined #parrot
00:29 kid51 left #parrot
00:34 Coke left #parrot
00:34 Coke joined #parrot
00:40 theory left #parrot
01:08 zby_home left #parrot
01:15 kid51 joined #parrot
01:19 dalek Rosella: 5ef0dae | Whiteknight++ | t/string/ (2 files):
01:19 dalek Rosella: Implement several tests for String
01:19 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/5ef0dae89d
01:19 dalek Rosella: 1aa7f86 | Whiteknight++ | src/ (2 files):
01:19 dalek Rosella: Mark not_implemented the functions I'm not ready to implement yet
01:19 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/1aa7f86cc8
01:19 dalek Rosella: 34fa915 | Whiteknight++ | / (6 files):
01:19 dalek Rosella: Update tests for CClass, Delimiter, and DelimiterRegion tokenizers
01:19 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/34fa915502
01:37 JimmyZ joined #parrot
01:45 dukeleto ~~
01:47 whiteknight hello dukeleto
01:47 whiteknight you home now?
01:49 dukelet0 joined #parrot
01:49 * dukelet0 installed parrot-gmp via plumage just now, and it detected rosella as a dependency and installed that too. Spiffyy
01:51 theory joined #parrot
01:52 whiteknight nice
01:52 kid51 Does anyone have a link to the slides cotto presented at YAPC?  (or at OSBridge, as a fallback)?
01:56 Drossel joined #parrot
01:57 dukelet0 looks like he hasn't put them on http://www.yapc2011.us/yn2011/talk/3311 yet
01:57 dukelet0 cotto++ is currently wandering around Chicago during a long layover
01:57 * dukelet0 sat next to him on the first flight that we shared this morning
01:58 Kulag left #parrot
01:59 dukelet0 kid51: i don't have a summary of the hackathon yet. Going to a wedding in a few mins.
02:00 ligne joined #parrot
02:01 kid51 Thanks, I will post as is.
02:01 kid51 (A Friday night wedding?)
02:01 dalek website: jkeenan++ | Parrot at YAPC::NA::2011, Asheville NC
02:01 dalek website: http://www.parrot.org/content/​parrot-yapcna2011-asheville-nc
02:04 benabik joined #parrot
02:05 dukelet0 left #parrot
02:07 dalek Rosella/gh-pages: 41e9f74 | Whiteknight++ | libraries/string.md:
02:07 dalek Rosella/gh-pages: Add in draft docs for the String library
02:07 dalek Rosella/gh-pages: review: https://github.com/Whiteknig​ht/Rosella/commit/41e9f74a90
02:18 kid51 left #parrot
02:19 Drossel left #parrot
02:19 Kulag joined #parrot
02:24 dalek Rosella: 67d90fb | Whiteknight++ | / (3 files):
02:24 dalek Rosella: small fixes. Add FileSystem to list of libraries in README. string, path, and prototype library tests get run together as the 'unstable' set. Move the testing logic out of the main handler in setup.winxed, to prevent weird backtraces from appearing.
02:24 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/67d90fbf82
02:24 whiteknight left #parrot
02:33 dalek website: soh_cah_toa++ | Battery Low, No Time for Title
02:33 dalek website: http://www.parrot.org/conten​t/battery-low-no-time-title
02:41 rurban_ joined #parrot
02:44 rurban left #parrot
02:44 rurban_ is now known as rurban
02:44 Kulag left #parrot
02:50 Kulag joined #parrot
02:57 fantazo_ joined #parrot
03:01 JimmyZ left #parrot
03:02 fantazo left #parrot
03:05 cotto ~~
03:06 cotto dukeleto, I caught an earlier flight back home.  I got back around 12:00 local time.
03:08 cotto much better than previous eta of 19:30
03:13 JimmyZ joined #parrot
03:27 bubaflub seen colomon
03:27 aloha colomon was last seen in #perl6 3 hours 50 mins ago saying "o/, #perl6".
03:29 benabik ~~
03:31 bubaflub msg colomon i've made a breaking change to parrot-gmp - .pbc files are now installed into GMP/*.pbc instead of src/GMP/*.pbc
03:31 aloha OK. I'll deliver the message.
03:53 cotto msg kid51 My slides are at http://mksig.org/talks/yapcna11/slides/ .  I also added them to the talk's page on the yapc site.
03:53 aloha OK. I'll deliver the message.
04:36 dalek rakudo: 72d158a | pmichaud++ | build/Makefile.in:
04:36 dalek rakudo: Peg spectest to a specific revision, since they're starting to target the nom branch.
04:36 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/72d158a8ca
04:44 theory left #parrot
04:58 cotto sorear, ping
05:33 fperrad joined #parrot
05:49 Kulag left #parrot
05:50 Kulag joined #parrot
05:51 daniel-s joined #parrot
06:24 moritz cotto: sorear mentioned that he might be offline until Tuesday
06:27 cotto moritz, ok.
06:27 cotto moritz, where does he live?
06:27 moritz cotto: dunno
06:54 zby_home joined #parrot
06:58 * Util is back home, safe and sleepy.
07:01 cotto great conference, but it's really nice to be home again
07:04 Util ditto, cotto
07:05 Util EJOKESOURCEUNDERFLOW
07:05 dalek rakudo/nom: 4434d03 | pmichaud++ | src/binder/types.c:
07:05 dalek rakudo/nom: Change types.c so that RPAs come back as Parcel instead of Array.
07:05 dalek rakudo/nom: This also makes "say $foo.^parents" do what is normally expected.
07:05 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4434d03385
07:05 ligne left #parrot
07:11 * moritz now digs up the first R* tarball and uses that for timing as well
07:30 Kulag left #parrot
07:32 Kulag joined #parrot
07:41 Kulag left #parrot
07:41 Kulag joined #parrot
07:45 Kulag left #parrot
07:45 Kulag joined #parrot
07:47 fperrad left #parrot
07:51 fperrad joined #parrot
07:52 Kulag left #parrot
07:52 Kulag joined #parrot
08:08 Kulag left #parrot
08:08 Drossel joined #parrot
08:17 Drossel left #parrot
08:18 Kulag joined #parrot
08:24 Kulag left #parrot
08:25 Kulag joined #parrot
08:29 mj41 joined #parrot
09:02 ligne joined #parrot
09:16 fantazo_ left #parrot
09:25 JimmyZ_ joined #parrot
09:25 JimmyZ left #parrot
09:25 JimmyZ_ is now known as JimmyZ
10:06 mj41 left #parrot
10:14 ambs joined #parrot
10:16 JimmyZ left #parrot
10:41 rurban_ joined #parrot
10:42 whiteknight joined #parrot
10:44 rurban left #parrot
10:44 rurban_ is now known as rurban
10:46 whiteknight good morning, #parrot
10:47 tadzik good morning whiteknight
10:48 whiteknight hello tadzik. How are you doing?
10:49 tadzik not too bad, enjoying my free time at last
10:53 ambs left #parrot
11:02 dalek Rosella/gh-pages: a28dbdc | Whiteknight++ | libraries/path.md:
11:02 dalek Rosella/gh-pages: Add in a quick stub for Path docs
11:02 dalek Rosella/gh-pages: review: https://github.com/Whiteknig​ht/Rosella/commit/a28dbdcadb
11:21 JimmyZ joined #parrot
11:56 mj41 joined #parrot
12:10 mj41 left #parrot
12:22 zby_home left #parrot
12:48 lichtkind joined #parrot
12:50 cotto ~
12:50 cotto stupid brain is still on nc time
12:57 ambs joined #parrot
12:58 benabik I'm still on NC time.
12:59 benabik That less of a problem for me, since I'm travelling north, not west
13:05 kid51 joined #parrot
13:31 lichtkind left #parrot
13:37 benabik left #parrot
13:44 dafrito joined #parrot
13:46 bluescreen joined #parrot
14:09 dalek rakudo/nom-complex-insanity: a5bfdd0 | moritz++ | src/core/Complex.pm:
14:09 dalek rakudo/nom-complex-insanity: optimize and fix a few ops. Not correct yet, but compiles
14:09 dalek rakudo/nom-complex-insanity: review: https://github.com/rakudo/rakudo/commit/a5bfdd063e
14:09 dalek rakudo/nom-complex-insanity: 6fe7e6f | moritz++ | src/core/Complex.pm:
14:09 dalek rakudo/nom-complex-insanity: fix infix -
14:09 dalek rakudo/nom-complex-insanity: review: https://github.com/rakudo/rakudo/commit/6fe7e6f70d
14:09 dalek rakudo/nom-complex-insanity: 316fcb9 | moritz++ | src/core/ (3 files):
14:09 dalek rakudo/nom-complex-insanity: more work to get complex.t passing
14:09 dalek rakudo/nom-complex-insanity:
14:09 dalek rakudo/nom-complex-insanity: includes Complex to Num, Int, Rat coercion, Num -> Rat and some bridge methods in Real
14:09 dalek rakudo/nom-complex-insanity: review: https://github.com/rakudo/rakudo/commit/316fcb96f4
14:09 dalek rakudo/nom-complex-insanity: 1e80b76 | moritz++ | src/core/Numeric.pm:
14:09 dalek rakudo/nom-complex-insanity: - should subtract, not add :-)
14:09 dalek rakudo/nom-complex-insanity: review: https://github.com/rakudo/rakudo/commit/1e80b76740
14:11 cotto "nomplex"?
14:11 cotto ;)
14:19 cotto moritz, ping
14:19 cotto aloha, clock?
14:19 aloha cotto: LAX: Sat, 07:19 PDT / CHI: Sat, 09:19 CDT / NYC: Sat, 10:19 EDT / UTC: Sat, 14:19 UTC / LON: Sat, 15:19 BST / BER: Sat, 16:19 CEST / TOK: Sat, 23:19 JST / SYD: Sun, 00:19 EST
14:21 moritz cotto: pong
14:23 dalek rakudo/nom-complex-insanity: a425e09 | moritz++ | src/core/Real.pm:
14:23 dalek rakudo/nom-complex-insanity: get infix:<-> with two different Real types working
14:23 dalek rakudo/nom-complex-insanity: review: https://github.com/rakudo/rakudo/commit/a425e09714
14:24 cotto moritz, I'd like ilbot to be able to star snippets of conversation, indicating that something important is being talked about.  Which part of ilbot's code would be the best place to add something like that?
14:24 moritz cotto: 1) a new column in the the db schema
14:25 cotto so, non-trivial
14:26 moritz cotto: 2) I think the least intrusive approach would be JS overlay, ie if you enable starry mode, an ajax query asks for which columns are starred, and displays it
14:26 moritz cotto: not all that non-trivial. It's a simple ALTER TABLE
14:27 cotto moritz, ok.  Does ilbot have any built-in upgrading code or is it necessary to do that manually?
14:27 moritz cotto: manually
14:28 moritz cotto: ie you change schema.sql, I'll update the DB on the server
14:28 cotto moritz, what about having a separate table for that?  Is having a single table important?
14:30 moritz cotto: that can work too. Just think about what queries will have to be done, and if separate tables will make that easier or harder
14:34 dalek rakudo/nom-complex-insanity: 2c0fd1c | moritz++ | src/core/Num.pm:
14:34 dalek rakudo/nom-complex-insanity: fix Num.Rat
14:34 dalek rakudo/nom-complex-insanity: review: https://github.com/rakudo/rakudo/commit/2c0fd1ca89
14:39 PacoLinux left #parrot
14:40 PacoLinux_ joined #parrot
14:40 PacoLinux_ is now known as PacoLinux
14:41 dalek rakudo/nom: a5bfdd0 | moritz++ | src/core/Complex.pm:
14:41 dalek rakudo/nom: optimize and fix a few ops. Not correct yet, but compiles
14:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a5bfdd063e
14:41 dalek rakudo/nom: 6fe7e6f | moritz++ | src/core/Complex.pm:
14:41 dalek rakudo/nom: fix infix -
14:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6fe7e6f70d
14:41 dalek rakudo/nom: 316fcb9 | moritz++ | src/core/ (3 files):
14:41 dalek rakudo/nom: more work to get complex.t passing
14:41 dalek rakudo/nom:
14:41 dalek rakudo/nom: includes Complex to Num, Int, Rat coercion, Num -> Rat and some bridge methods in Real
14:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/316fcb96f4
14:41 dalek rakudo/nom: 1e80b76 | moritz++ | src/core/Numeric.pm:
14:41 dalek rakudo/nom: - should subtract, not add :-)
14:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1e80b76740
14:41 dalek rakudo/nom: a425e09 | moritz++ | src/core/Real.pm:
14:41 dalek rakudo/nom: get infix:<-> with two different Real types working
14:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a425e09714
14:41 dalek rakudo/nom: 2c0fd1c | moritz++ | src/core/Num.pm:
14:41 dalek rakudo/nom: fix Num.Rat
14:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2c0fd1ca89
14:41 dalek rakudo/nom: e51937b | moritz++ | src/core/ (4 files):
14:41 dalek rakudo/nom: Merge branch 'nom-complex-insanity' into nom
14:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e51937b72f
14:41 dalek rakudo/nom: 6518be4 | moritz++ | t/spectest.data:
14:41 dalek rakudo/nom: another passing test file
14:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6518be4e95
15:18 lucian joined #parrot
15:46 kid51 left #parrot
15:59 dafrito left #parrot
16:31 dalek Rosella/gh-pages: 8fea1fd | Whiteknight++ | / (2 files):
16:31 dalek Rosella/gh-pages: Add a link to Path
16:31 dalek Rosella/gh-pages: review: https://github.com/Whiteknig​ht/Rosella/commit/8fea1fd052
16:31 dalek Rosella/gh-pages: 998bd29 | Whiteknight++ | libraries/path.md:
16:31 dalek Rosella/gh-pages: Flesh out Path library docs
16:31 dalek Rosella/gh-pages: review: https://github.com/Whiteknig​ht/Rosella/commit/998bd299b7
16:31 dalek Rosella/gh-pages: fdeba36 | Whiteknight++ | libraries/path.md:
16:31 dalek Rosella/gh-pages: More Path docs
16:31 dalek Rosella/gh-pages: review: https://github.com/Whiteknig​ht/Rosella/commit/fdeba3640a
16:31 dalek Rosella: 6bc45f1 | Whiteknight++ | / (2 files):
16:31 dalek Rosella: Fix Path to be able to handle multi-character separator sequences. Add tests for this, for non-standard separators, and for attr-hash-attr searches
16:31 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/6bc45f198f
16:31 dalek Rosella: 42996df | Whiteknight++ | / (10 files):
16:31 dalek Rosella: Path library is now stable
16:31 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/42996dfca0
16:31 dalek Rosella: 929084b | Whiteknight++ | / (4 files):
16:31 dalek Rosella: Update Path to use new-style constructors instead
16:31 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/929084bbe3
16:31 daniel-s left #parrot
16:35 JimmyZ left #parrot
16:52 zby_home joined #parrot
17:08 dalek rakudo/nom: 67fe2fd | jonathan++ | src/Perl6/SymbolTable.pm:
17:08 dalek rakudo/nom: Fix $_ bug.
17:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/67fe2fd03a
17:21 lichtkind joined #parrot
17:28 fperrad left #parrot
17:28 dalek rakudo/nom: fa88a07 | (Solomon Foster)++ | t/spectest.data:
17:28 dalek rakudo/nom: Turn on S32-str/lcfirst.t now that the { $_ = whatever } bug has been fixed.
17:28 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fa88a07355
17:31 fperrad joined #parrot
17:32 dodathome joined #parrot
17:34 bubaflub ping whiteknight
17:40 dalek rakudo/nom: 16ccf25 | moritz++ | t/spectest.data:
17:40 dalek rakudo/nom: four more passing test files
17:40 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/16ccf25d96
17:51 mj41 joined #parrot
17:53 bubaflub unping whiteknight
18:09 bluescreen_ joined #parrot
18:11 lichtkind haha
18:12 contingencyplan joined #parrot
18:33 whiteknight left #parrot
18:41 rurban_ joined #parrot
18:44 rurban left #parrot
18:44 rurban_ is now known as rurban
19:03 fperrad left #parrot
19:04 fperrad joined #parrot
19:40 kid51 joined #parrot
19:42 lucian left #parrot
19:50 preflex left #parrot
19:53 preflex joined #parrot
20:10 dalek TT #2141 created by jkeenan++: Test of parrotbug only
20:10 dalek TT #2141: http://trac.parrot.org/parrot/ticket/2141
20:10 dalek TT #2141 closed by jkeenan++: Test of parrotbug only
20:10 dalek TT #2141: http://trac.parrot.org/parrot/ticket/2141
20:24 cotto I like where this is going.
20:24 cotto kid51++
20:25 dalek TT #2142 created by jkeenan++: Yet another test of bug ticket creation
20:25 dalek TT #2142: http://trac.parrot.org/parrot/ticket/2142
20:25 dalek TT #2142 closed by jkeenan++: Yet another test of bug ticket creation
20:25 dalek TT #2142: http://trac.parrot.org/parrot/ticket/2142
20:25 dalek TT #2141 reopened by jkeenan++: Test of parrotbug only
20:25 dalek TT #2141: http://trac.parrot.org/parrot/ticket/2141
20:25 dalek TT #2141 closed by jkeenan++: Test of parrotbug only
20:25 dalek TT #2141: http://trac.parrot.org/parrot/ticket/2141
20:27 dalek parrot/m0-prototype: 2b67d33 | chromatic++ | src/m0/c/Makefile:
20:27 dalek parrot/m0-prototype: Added debugging binary build rule.
20:27 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/2b67d33c72
20:27 dalek parrot/m0-prototype: 606aa97 | chromatic++ | src/m0/c/ (3 files):
20:27 dalek parrot/m0-prototype: Added m0b constant segment parsing.
20:27 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/606aa970c3
20:27 dalek parrot/m0-prototype: 84311ae | chromatic++ | src/m0/c/ (3 files):
20:27 dalek parrot/m0-prototype: Added m0b metadata segment parsing.
20:27 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/84311aed01
20:27 dalek parrot/m0-prototype: 844b9a4 | chromatic++ | src/m0/c/ (3 files):
20:27 dalek parrot/m0-prototype: Added m0b bytecode segment parsing.
20:27 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/844b9a4f1a
20:27 dalek parrot/m0-prototype: 8b1430a | chromatic++ | src/m0/c/ROADMAP:
20:27 dalek parrot/m0-prototype: Added a ROADMAP for this C M0 implementation.
20:27 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/8b1430ad6a
20:27 dodathome left #parrot
20:27 fperrad left #parrot
20:29 cotto Oooh.  I also like where that's going.
20:29 cotto chromatic++
20:31 bubaflub incoming
20:31 dalek parrot-gmp: 5835862 | bubaflub++ | src/GMP/ (6 files):
20:31 dalek parrot-gmp: update these from loading from src/GMP to just plain ole GMP/
20:31 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/5835862286
20:31 dalek parrot-gmp: 7f5adb8 | bubaflub++ | t/integer/vtable/get_string.t:
20:31 dalek parrot-gmp: test for vtable override get_string
20:31 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/7f5adb8645
20:31 dalek parrot-gmp: 03673fe | bubaflub++ | / (4 files):
20:31 dalek parrot-gmp: add vtable override for get_integer and tests
20:31 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/03673fe8ac
20:31 dalek parrot-gmp: f6e8aae | bubaflub++ | gmpdoc2winxed.pl:
20:31 dalek parrot-gmp: some macros are actually functions in disguise
20:31 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/f6e8aae2c6
20:31 dalek parrot-gmp: 4977b67 | bubaflub++ | gmpdoc2winxed.pl:
20:31 dalek parrot-gmp: remove extra blank-line
20:31 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/4977b67ea7
20:31 dalek parrot-gmp: 6ec8757 | bubaflub++ | src/GMP/Integer. (2 files):
20:31 dalek parrot-gmp: regenerate sources from new script
20:31 dalek parrot-gmp:
20:31 dalek parrot-gmp: this picks up mpz_cmp_si, mpz_cmp_ui, mpz_sgn, mpz_odd_p, mpz_even_p
20:31 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/6ec8757715
20:31 dalek parrot-gmp: 008f934 | bubaflub++ | t/integer/cmp/01-cmp.t:
20:31 dalek parrot-gmp: add tests for mpz_cmp_ui and mpz_cmp_si
20:31 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/008f934000
20:31 dalek parrot-gmp: 6b28b83 | bubaflub++ | / (4 files):
20:31 dalek parrot-gmp: fix mpz_sgn, mpz_odd_p, mpz_even_p macros -> write my own functions
20:32 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/6b28b83529
20:32 dalek parrot-gmp: c4830ab | bubaflub++ | t/integer/ (2 files):
20:32 dalek parrot-gmp: add tests for mpz_sgn, mpz_odd_p and mpz_even_p
20:32 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/c4830abb95
20:32 kid51 cotto: Please express opinion in TT #920 and/or TT #2108.
20:37 bubaflub can someone explain the difference between the get_string VTABLE and the get_repr VTABLE?
20:38 cotto kid51, replied to 920
20:41 mj41 left #parrot
20:42 cotto bubaflub, get_repr isn't extensively used.  The intent may have been to provide a human-readable format similar to Perl 6's .perl method.
20:43 bubaflub cotto: ok, so no real need to provide an override for get_repr?
20:43 cotto bubaflub, not if you don't want one
20:43 cotto get_string is the important one
20:43 bubaflub cotto: ok, that's what i thought.
20:44 bubaflub cotto: also, there is get / set number which takes a float - but all of the GMP functions only handle doubles.  won't the conversion between the two lose precision?
20:46 cotto bubaflub, FLOATVAL is double afaict
20:46 bubaflub cotto: oh, perfect.
20:47 cotto are you on x86?
20:47 bubaflub cotto: yep.
20:47 bubaflub cotto: so double == FLOATVAL == N registers
20:47 cotto bubaflub, check include/parrot/config.h and look at what Parrot_Float is defined to
20:48 cotto I think it's constant across platforms.
20:48 bubaflub cotto: yup, it's a double for me.  i don't imagine it'll be that way for everyone, though
20:48 bubaflub cotto: i stand corrected.
20:49 cotto bubaflub, so you're happy?
20:49 bubaflub cotto: i don't usually love being wrong, but in this case i do.
20:49 cotto The naming of FLOATVAL is lta
20:51 bubaflub another vtable question - can you explain the difference between add and i_add
20:51 cotto i == in-place
20:52 ambs left #parrot
20:52 nopaste "kid51" at 192.168.1.3 pasted "TT #756: Am I correctly running the code provided in this ticket?" (36 lines) at http://nopaste.snit.ch/56924
20:52 bubaflub cotto: ok, that makes sense.  the non-i variants will return a new (in my case) GMP integer
20:53 cotto bubaflub, exactly
20:53 bubaflub cotto: ok.  is there a way i can trigger divide_floor?  i imagine the plain ole / just calls the divide vtable.
20:54 cotto kid51, StringArray isn't a valid core PMC type.  We have ResizableStringArray and FixedStringArray
20:54 Eclesia joined #parrot
20:54 Eclesia hi
20:54 bubaflub hello Eclesia.  how goes the project?
20:55 Eclesia did not work on it this week.
20:56 kid51 cotto: So what behavior would we want parrot to do in that case?
20:56 cotto bubaflub, look for mentions of "floor_divide" in t/ .
20:56 bubaflub cotto: of course; thanks a bunch.
20:56 kid51 http://trac.parrot.org/parrot/ticket/756
20:58 cotto kid51, ah.  coke is complaining about a very wrong failure for that code.
20:59 cotto kid51, I don't see a bus error, so the ticket looks closeable from my perspective.
21:02 kid51 Can you take it and provide a reason for closing it?
21:07 cotto kid51, done
21:07 dalek rakudo/nom: 14ef250 | moritz++ | src/core/Real.pm:
21:07 dalek rakudo/nom: cis, unpolar
21:07 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/14ef25009d
21:08 soh_cah_toa joined #parrot
21:12 dalek TT #756 closed by cotto++: invalid PMC causes bus error with const.
21:12 dalek TT #756: http://trac.parrot.org/parrot/ticket/756
21:20 Eclesia left #parrot
21:25 lichtkind left #parrot
21:26 lucian joined #parrot
21:26 lucian left #parrot
21:27 perlite left #parrot
21:29 perlite joined #parrot
21:40 lucian joined #parrot
21:42 Psyche^ joined #parrot
21:46 lucian left #parrot
21:47 Patterner left #parrot
21:47 Psyche^ is now known as Patterner
22:34 soh_cah_toa cotto: ping
22:36 cotto soh_cah_toa, back at you
22:36 soh_cah_toa cotto: i saw your "make flag macros less noisy" commit. is this what you were talking about at the hackathon that fixed the "c++ blah blah blah" compiler warnings?
22:37 cotto soh_cah_toa, it fixes a few of them.  In some cases, I think it's just gcc being too picky.
22:38 soh_cah_toa ok. how did you discover that that was the problem? how does casting it as it's own type and explicitly writing out the assignment instead of the |= shorthand fix it?
22:38 cotto soh_cah_toa, do you have any pending changes?  I have another similar patch but I don't want to clobber anything you're working on.
22:39 cotto soh_cah_toa, I don't honestly know.
22:39 cotto though one of the macros was broken
22:39 cotto the TEST macro assigned instead of just testing (iirc)
22:40 soh_cah_toa interesting. i didn't realize that
22:40 soh_cah_toa yeah, i think i do have changes. it's half-finished though. let me get to my laptop and push them
22:40 cotto soh_cah_toa, no rush.
22:43 cotto soh_cah_toa, I also highly recommend avoiding single-letter variable names except in loops.  They generally don't make code easier to understand except when there's a known convention they follow.
22:46 dalek TT #2143 created by jkeenan++: examples/benchmarks/overload.pl: Can we remove this file?
22:46 dalek TT #2143: http://trac.parrot.org/parrot/ticket/2143
22:47 cotto soh_cah_toa, do you know for sure that the short version of commands work in hbdb?  I think there's a bug in src/hbdb.c +718
22:50 dalek parrot/soh-cah-toa/hbdb: b0430db | soh_cah_toa++ | src/hbdb.c:
22:50 dalek parrot/soh-cah-toa/hbdb: Added 'quit' command
22:50 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/b0430db7ce
22:50 dalek parrot/soh-cah-toa/hbdb: 9dc4dbc | soh_cah_toa++ | src/ (2 files):
22:50 dalek parrot/soh-cah-toa/hbdb: Some of the work on breakpoints I started at the YAPC hackathon. It's incomplete though
22:50 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/9dc4dbcc2f
22:52 cotto soh_cah_toa, I'd recommend building with g++.  It's much better about catching some kinds of errors.
22:52 soh_cah_toa sure
22:52 soh_cah_toa cotto: actually, now that i think about it, i haven't even tried the short commands
22:53 dalek parrot/soh-cah-toa/hbdb: 4b8f590 | cotto++ | src/hbdb.c:
22:53 dalek parrot/soh-cah-toa/hbdb: add some more consts to sate gcc
22:53 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/4b8f59037a
22:53 dalek parrot/soh-cah-toa/hbdb: cc7ee99 | cotto++ | / (2 files):
22:53 dalek parrot/soh-cah-toa/hbdb: a few pointer and const fixes
22:53 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/cc7ee9993c
22:54 soh_cah_toa cotto: i removed those const's b/c i thought you wanted me to avoid them for now
22:54 cotto soh_cah_toa, only where they're not required for the build
22:55 soh_cah_toa what do you mean? i don't think a const is ever "required"
22:56 cotto C++ is more picky than gcc about such things.
22:57 soh_cah_toa alright
22:59 soh_cah_toa is your's running? mine keeps segfaulting. i think i remember this happening at the hackathon after changing the way i initialized the command table
22:59 cotto same here
22:59 soh_cah_toa wonderful
22:59 cotto I was about to mention it
22:59 cotto at least it's consistent
23:00 cotto inconsistent segfaults are not fun
23:00 soh_cah_toa true
23:01 cotto I suspect that this one will be pretty easy to debug.
23:01 cotto and you get to run your debugger in a debugger, which is a plus
23:01 dalek parrot: f69ef9a | jkeenan++ | t/pmc/io_iterator.t:
23:01 dalek parrot: Add number of Trac ticket tracking 'todo' item
23:01 dalek parrot: review: https://github.com/parrot/parrot/commit/f69ef9a166
23:02 sjn left #parrot
23:04 soh_cah_toa yeah, it's definitely b/c of the way i had to explicitly define each field of the command table
23:04 soh_cah_toa when i changed it back to the old way, it runs
23:25 sjn joined #parrot
23:32 dalek TT #956 closed by cotto++: Singleton PMCs with the active_destroy flag set cause segfaults when ...
23:32 dalek TT #956: http://trac.parrot.org/parrot/ticket/956
23:32 dalek TT #1023 closed by cotto++: [TODO] Explore using Apple's new Blocks and Grand Central Dispatch
23:32 dalek TT #1023: http://trac.parrot.org/parrot/ticket/1023
23:34 cotto kid51, when grepping the source for functions, make sure to run make realclean first to avoid getting results from (most) generated files.
23:34 dalek parrot/soh-cah-toa/hbdb: e53f5b4 | soh_cah_toa++ | / (2 files):
23:34 dalek parrot/soh-cah-toa/hbdb: Fixed merge conflict
23:34 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/e53f5b42e0
23:34 soh_cah_toa i have serious git problems. ugh
23:36 dalek parrot/soh-cah-toa/hbdb: 4fdb6bc | soh_cah_toa++ | src/hbdb.c:
23:36 dalek parrot/soh-cah-toa/hbdb: This is a test to see if my git issues are gone
23:36 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/4fdb6bc1ba
23:41 kid51 is now known as kid51_at_dinner
23:50 lucian joined #parrot
23:52 dalek parrot/soh-cah-toa/hbdb: c7d969e | soh_cah_toa++ | src/hbdb.c:
23:52 dalek parrot/soh-cah-toa/hbdb: Reformatted a few comments
23:52 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/c7d969e1ce
23:52 dalek parrot/soh-cah-toa/hbdb: dc05051 | soh_cah_toa++ | src/hbdb.c:
23:52 dalek parrot/soh-cah-toa/hbdb: Fixed "comparison between pointer and integer" build warning in parse_command()
23:52 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/dc05051d74
23:52 dalek parrot/soh-cah-toa/hbdb: ba32b81 | soh_cah_toa++ | src/hbdb.c:
23:52 dalek parrot/soh-cah-toa/hbdb: Fixed two "assignment makes integer from pointer without a cast" build warnings in hbdb_cmd_break()
23:52 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/ba32b81acc
23:56 soh_cah_toa cotto: great, now the only build warnings that remain are the "braces around scalar initializer" ones regarding the command table
23:56 soh_cah_toa i'll definitely need your help on that though b/c i haven't got a clue as to how i can solve that problem

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

Parrot | source cross referenced