Camelia, the Perl 6 bug

IRC log for #parrot, 2010-07-21

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:00 Coke slooooooooooooooooooooooooooooooooo​ooooooooooooooooooooooooooooooooow
00:01 whiteknight oh
00:10 Coke
00:12 Coke we really did not have a lot going on this month in trunk.
00:12 Coke presumably it's going to get hammered tomorrow.
00:17 * darbelo kind of doubts it.
00:18 cotto_work I'll merge some random branches.
00:18 * cotto_work runs a rng
00:19 cotto_work Looks like I'll be mergeing gsoc_threads, pmc_i_ops and avl_string_cache.
00:20 darbelo Hmm, svn ls ^/branches makes me think some pruning is in order.
00:22 Coke darbelo: ayup. on my list.
00:23 Coke if you could regen the branch listing for the wiki and email the list, that'd be most helpful.
00:23 darbelo There was a script for that, right?
00:23 Coke seen chromatic?
00:23 purl chromatic was last seen on #parrot 2 hours, 13 minutes and 35 seconds ago, saying: TT #1639, dukeleto.
00:23 cotto_work running it now
00:24 darbelo cotto++
00:24 Coke darbelo: yes. see: http://trac.parrot.org/parr​ot/wiki/BranchDescriptions and tools/dev/branch_status.pl
00:25 Coke cotto_work: a patch to update the wiki output to reference the script woudl probably be a good idea postrelease.
00:26 Coke msg bacek - when merging changes from nqp-rx into parrot, please document /the reason/ for the update, not just "latest version". Danke.
00:26 purl Message for bacek stored.
00:26 * Coke picks an actual type of parrot for the release.
00:27 * Coke hates release names, but will follow the inertia.
00:27 Coke s/hates/dislikes/
00:27 cotto_work copy/pasted
00:30 dalek parrot: r48141 | coke++ | trunk/NEWS:
00:30 dalek parrot: improve the state of the NEWS
00:30 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48141/
00:32 darbelo msg kid51 After gerd's patch in r48115, is there still a need for the tt509_install_files branch?
00:32 purl Message for kid51 stored.
00:36 kthakore um ...
00:36 kthakore hi
00:36 kthakore I am getting a segfault in t/pmc/stringhandle/t
00:36 kthakore how do I run it with parrot
00:36 kthakore so I can do it in gdb
00:37 cotto_work figure out the number of the test and run that file.
00:37 Tene kthakore: that test is actually perl 5
00:37 Tene kthakore: so look for the generated pir files in t/pmc/stringhandle_*.pir
00:37 cotto_work ./parrot t/pmc/stringhandle_17.pir
00:38 Tene I think
00:38 Tene gdb ./parrot
00:38 Tene run t/pmc/stringhandle_17.pir
00:38 kthakore ah ok
00:38 cotto_work you can run all the tests via prove
00:38 cotto_work -v
00:40 dalek tracwiki: v38 | cotto++ | BranchDescriptions
00:40 dalek tracwiki: clearly more branches are in order
00:40 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Branc​hDescriptions?version=38&action=diff
00:42 darbelo whiteknight: ping
00:43 whiteknight pong
00:43 Coke step f--
00:43 darbelo Are there any branches of yours that can be safely removed from the repo?
00:44 Coke surely there is a better way to update the bootstrapped files?
00:45 nopaste "kthakore" at 192.168.1.3 pasted "Test failes" (105 lines) at http://nopaste.snit.ch/22182
00:45 darbelo tt389_fix, ns_func_cleanup, hash_allocator, gc_massacre and gc_massacre_no_constant all show work by you.
00:45 darbelo And a few sound like they've been acomplished already. Unless I'm confusing them with something else.
00:45 eternaleye joined #parrot
00:46 kthakore Tene: ^^ what number test segfaults?
00:46 Tene kthakore: Um... you tell me.
00:46 kthakore Tene: heeh
00:46 kthakore Tene: http://nopaste.snit.ch/22182
00:46 Tene kthakore: I have no idea whatsoever.  Look at the output from the test before it segvs.
00:47 kthakore Tene: it   Failed test 'puts'
00:47 kthakore Tene: but I want to run that in gdb
00:47 dalek parrot: r48142 | coke++ | trunk/DEPRECATED.pod:
00:47 dalek parrot: Add library that slipped in in r47730
00:47 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48142/
00:47 dalek parrot: r48143 | coke++ | trunk/NEWS:
00:47 dalek parrot: mention new experimental library
00:47 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48143/
00:47 dalek parrot: r48144 | darbelo++ | branches/strings:
00:47 dalek parrot: Remove the 'strings' branch.  It only contained pseudocode, the useful parts of which where lifted into the gsoc_nfg branch.
00:47 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48144/
00:47 dalek parrot: r48145 | coke++ | trunk/CREDITS:
00:47 dalek parrot: update my CREDITS entry
00:47 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48145/
00:47 Tene kthakore: grep puts t/pmc/stringhandle*.pir
00:49 Coke ack!
00:49 Tene :P
00:50 kthakore I did
00:51 Tene kthakore: by my reading of the .pl, there's only file that should have puts in it
00:51 Coke tene: muahahah.
00:51 kthakore Tene: yeah
00:51 kthakore Tene: I found the bug
00:51 kthakore -.-
00:51 Tene ah
00:51 kthakore I didn't account for PMC_IS_NULL
00:51 Coke (which test segfaults) btw, all the individual tests are saved as individual .pir files if the top level is a .t
00:52 Coke er, is a perl file.
00:52 kthakore Tene: may I show you my work ?
00:52 Tene kthakore: Sure.
00:52 kthakore TT 1639
00:52 Tene kthakore: I have no idea what you're working on, but sure. :)
00:53 kthakore I updated the docs
00:53 kthakore err pathc
00:53 kthakore Tene: I am swaping STRING for StringBuilder in StringHandle.pmc
00:55 Coke looks like whoever released 2.3.0 did not follow the instructions for PBC_COMPAT.
00:57 * Coke ponders how to retroactivate this.
00:58 cotto_work It doesn't really matter.  Just call the new version 7.0 and nuke all the 6.x changes
00:59 Coke I'm generating a fake # for the 2.3.0 release. What could go wrong?
01:00 cotto_work The end of the world.
01:00 purl well, the end of the world is Tue Jan 19 03:14:07 2038 UTC or perl -lwe 'print scalar localtime 2**31 - 1' or maybe April 9 2030 or And there were voices, and thunders, and lightnings; and there was a great earthquake, such as was not since men were upon the earth, so mighty an earthquake, and so great. or DateTime::Calendar::Mayan->new( baktun => 13) or when we'll be burning one or when my master kills purl.
01:01 cotto_work It should be documented better.
01:02 nopaste "cotto" at 192.168.1.3 pasted "documentation fix" (13 lines) at http://nopaste.snit.ch/22184
01:02 cotto_work ex post facto?
01:02 Coke rejected.
01:02 Coke after the fact.
01:03 cotto_work that "ex" seem superfluous, but I don't know Latin.
01:03 Coke basically, retroactively.
01:03 Coke DE GUSTIBUS NON DISPUTANDUM EST!
01:04 Coke also:
01:04 cotto_work If I'm nopasting things like that, it's a pretty sure sign that I need to get out of here.
01:04 * cotto_work decommutes
01:04 dalek parrot: r48146 | coke++ | trunk (9 files):
01:04 dalek parrot: prep for 2.6
01:04 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48146/
01:04 dalek parrot: r48147 | coke++ | trunk/PBC_COMPAT:
01:04 dalek parrot: Clear out PBC_COMPAT for 2.6 release;
01:04 dalek parrot: retroactively add an entry for the 2.3 release. (for now?) leave in the
01:04 dalek parrot: entries that slipped out in the 2.3 release that were dev-only.
01:04 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48147/
01:04 Coke Hab SoSlI' Quch!
01:04 Coke leaving? 'arlogh Qoylu'pu'?
01:05 Tene kthakore: you said you figured out where it was segving?
01:06 * Coke zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz building parrot on this laptop.
01:14 kthakore Tene: one of them
01:14 purl one of them is an assignment, the other behaves like the comma operator (is this actually documented?)
01:17 kthakore Tene: let me put up more details after dinner
01:17 kthakore :D
01:17 Tene kthakore: I was just going to say, let me look at it more after dinner.
01:20 cotto ~~
01:20 * dukeleto runs 'make smoke' on trunk
01:21 jsut_ joined #parrot
01:21 Coke thanks, leto
01:21 Coke I am still trying to remake the native pbcs. insanely slow.
01:27 Coke not a good sign that making the native pbcs throws warnings about the wrong bytecode version.
01:30 dukeleto Coke: hmmm. yeah, i am seeing all the packfile tests fail
01:31 dukeleto Coke: http://smolder.plusthree.com/ap​p/projects/report_details/34982
01:31 dukeleto Coke: but you are probably seeing the same
01:31 Coke dukeleto: there is an update to the pbcs that you probably need.
01:31 plobsing joined #parrot
01:36 dalek parrot: r48148 | coke++ | trunk/t/native_pbc (4 files):
01:37 dalek parrot: native_pbc platform updates
01:37 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48148/
01:37 * dukeleto updates and runs make smoke again
01:39 mikehh Coke: nope still failing at r48148
01:40 darbelo Coke: You missed mk_packfile_pbc, didn't you?
01:41 mikehh Coke: both make corevm/make coretest, make world/make test - PackFile_unpack: This Parrot cannot read bytecode files with version 6.21
01:42 Coke darbelo: what is "mk_packfile_pbc" ?
01:42 Coke do you mean "mk_native_pbc" ?
01:43 darbelo mk_native_pbc's little brother
01:43 Coke darbelo: ... which is listed nowhere in teh release guide.
01:43 darbelo It got split up in the last release cycle.
01:44 darbelo # Also, don't forget to run tools/dev/mk_packfile_pbc to rebuild PBCs
01:44 darbelo # used for testing Packfile* PMCs.
01:44 darbelo It's mentioned in the comments at the top of PBC_COMPAT
01:44 whiteknight darbelo: Sorry about the delay. I'll dig through those branches tomorrow. Some of them can be deleted, I think
01:44 Coke ECRAPPYDIRECTIONS.
01:44 darbelo Patches welcome ;)
01:45 whiteknight but now, bed
01:45 Coke darbelo: entirely unhilarious.
01:45 Coke so does that mean that tools/dev/mk_native_pbc should NOT be run?
01:45 darbelo No. You need to run Both.
01:45 Coke in which order?
01:46 Coke does that matter?
01:46 darbelo It doesn't matter AFAICT. They handle different files.
01:46 darbelo I only remember it because it bit me when I bumped PBC_COMPAT in the nfg branch.
01:47 Coke UGH; they're both convolunted shell scripts that look like they do teh same (#*&$ thing.
01:48 Coke (perhaps, as you say, to slightly different files). What a cluster.
01:48 darbelo Then I forgot about it 'till today. I *think* they do the same (slightly wrong) thing to different parts of the tree, for similar purposes.
01:49 Coke well, it's going to take another half hour to run this script. back later.
01:57 snarkyboojum joined #parrot
02:03 Coke msg szabgab the screencast is nifty, but the colors in the editor make the code unreadable for me. need higher contrast. I look forward to more 'casts. =-)
02:03 purl Message for szabgab stored.
02:04 Coke AIGHHH
02:04 Coke I ran mk_)native_pbc again.
02:06 Coke mk_packfile_pbc is actually VERY quick.
02:09 dalek parrot: r48149 | coke++ | trunk/t/native_pbc (4 files):
02:10 dalek parrot: run tools/dev/mk_packfile_pbc
02:10 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48149/
02:10 dalek parrot: r48150 | coke++ | trunk/docs/project/release_manager_guide.pod:
02:10 dalek parrot: Be sure to mention the OTHER, similarly named, similarly-functional script
02:10 dalek parrot: (That actually runs MUCH faster.)
02:10 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48150/
02:10 dalek parrot: r48151 | coke++ | trunk/docs/project/release_manager_guide.pod:
02:10 dalek parrot: -except, use the actual name of teh other file.
02:10 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48151/
02:11 Coke ... worst. release. ever.
02:13 bubaflub Coke++
02:14 mikehh Coke: looks good
02:17 snarkyboojum joined #parrot
02:23 Util Coke++
02:24 Coke re-re-re starting fulltest...
02:25 darbelo Coke++
02:25 darbelo On that note. I'm going to catch some z's.
02:32 mikehh Coke: All tests PASS - (pre/post-config, make corevm/make coretest, make world/make test, fulltest) at r48151 - Ubuntu 9.10 amd64 (g++)
02:34 tcurtis joined #parrot
02:39 theory joined #parrot
02:42 LoganLK joined #parrot
02:47 bubaflub joined #parrot
02:48 Coke Gej?
02:48 purl Gej is logged in
02:48 Coke thanks purl!
02:53 cotto coke++
02:54 janus joined #parrot
02:58 cognominal joined #parrot
03:05 cotto It there any reason to use two bytes for a Lorito opcode when we'll certainly have fewer than 255 ops?
03:10 Coke given a diffstat of
03:10 Coke 202 files changed, 32012 insertions(+), 34217 deletions(-)
03:11 Coke how would you summarize "this many lines of code changed"
03:11 Coke diff the insert/deletions?
03:11 ash_ cotto: even java doesn't have more than 255 op's...
03:11 Chandon Coke: Sum them?
03:12 Coke cotto: one byte WFM.
03:12 Chandon Hmm... that's wrong. Maybe take the bigger one.
03:13 Coke Chandon: now that I think about it, that contains changes to generatd files. I'llj ust leave that off.
03:14 Chandon lol. Parrot just has really productive programmers that happen to be perl scripts.
03:14 theory joined #parrot
03:17 cotto I smell a release.
03:17 cotto It smells like rump.
03:17 cotto ;)
03:18 cotto Coke, the entry in parrothist.pod should be starred.
03:20 kthakore Tene: ping
03:21 kthakore hi cotto
03:21 kthakore hi Coke
03:21 cotto hi kthakore
03:21 kthakore cotto: I am seriously stuck again :(
03:21 kthakore oh wait ...
03:21 purl i heard wait ... was that one of his other silly conventions? placing a 'G' in front of any account that he thinks is global?
03:21 kthakore cotto: do you know the pmc stuff?
03:21 kthakore cotto: TT 1639?
03:21 kthakore cotto:
03:22 kthakore cotto: http://trac.parrot.org/par​rot/ticket/1639#comment:5 <-------- HALP
03:22 * cotto hears a cry for halp
03:22 Coke 2.6.0 tarballs uploaded to the ftp server. please build and double check shas.
03:23 Coke cotto: I am willing to let that be wrong in the release. =-)
03:23 cotto sure.  not even close to a big deal
03:24 cotto Coke, docs updated too?
03:25 Coke cotto: RSN.
03:25 cotto rsn wfm
03:25 kthakore oh well ...
03:25 Chandon Coke: sha sums look right
03:25 kthakore I spent many hours on this
03:26 kthakore bacek_at_work: also you lied when you said it was newbie ticket :D
03:26 kthakore bacek_at_work: way too much fun to be a newbie ticket
03:26 atrodo to me, newbie ticket != easy
03:27 kthakore atrodo: yes they LIE!
03:27 dalek tracwiki: v4 | cotto++ | LoritoOps
03:27 dalek tracwiki: remove some unneeded ops, add say to the temporary i/o ops
03:27 dalek tracwiki: http://trac.parrot.org/parrot/wiki/​LoritoOps?version=4&amp;action=diff
03:27 dalek tracwiki: v5 | cotto++ | LoritoOps
03:27 dalek tracwiki: separate coerce and set in an attempt to minimize magic
03:27 dalek tracwiki: http://trac.parrot.org/parrot/wiki/​LoritoOps?version=5&amp;action=diff
03:27 nbrown joined #parrot
03:27 kthakore atrodo: now I am knee deep in seg faults and no mem
03:28 atrodo Yea, i saw your huge malloc attempt in the log
03:28 kthakore atrodo: where?
03:28 kthakore atrodo: what log?
03:28 purl o/` it rolls downstairs, alone or in pairs, rolls over your neighbour's dog, it fits on your back, it's good for a snack, it's log, log log! o/`
03:28 atrodo goodness, i love the random things purl knows
03:28 atrodo the irc log for this channel
03:28 kthakore atrodo: it is the mirror of this channel's ops
03:28 kthakore atrodo: they are all crazy
03:29 kthakore oops
03:29 cotto purl doesn't care about ops or oops
03:29 purl cotto: what?
03:29 * kthakore se '@'atrodo
03:29 kthakore sees*
03:29 cotto purl listens to everyone
03:29 purl cotto: i'm not following you...
03:29 kthakore purl: go fuck yourself
03:29 purl kthakore: what?
03:29 kthakore purl: fucking bot!!! give me more memory!
03:29 purl kthakore: excuse me?
03:29 kthakore bah
03:29 kthakore cotto: HALP?
03:29 purl I CAN HAS SOMEBODY?
03:29 cotto Please avoid profanity when abusing the bot.
03:29 atrodo purl> botsmack
03:29 purl please!  another hit!  just one more.... *sigh*
03:30 kthakore cotto: oh ok ..
03:30 cotto thanks
03:30 kthakore cotto: but profanity helps me ...
03:30 atrodo cotto> looks like there was a good discussion about lorito today at ps
03:30 kthakore cotto: it cleanse my soul and pumps my evil black heart
03:30 cotto atrodo, one in a long series
03:31 kthakore When is the best time to come for pmc help?
03:31 kthakore oh well ... I am going to sleep
03:31 kthakore :\
03:31 cotto kthakore, I'm taking a look at your patch, so now.
03:31 kthakore cotto: oh ok ...
03:32 cotto what timezone are you in?
03:32 atrodo Hope so.  I was going to try and join in the discussion today, but forgot the company was going to a baseball game
03:32 kthakore cotto: Canada
03:32 kthakore cotto: hehe toronto
03:32 kthakore so 2331 right now
03:32 dalek parrot: r48152 | coke++ | tags/RELEASE_2_6_0:
03:32 dalek parrot: tag the 2.6 release.
03:32 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48152/
03:32 dalek parrot: r48153 | coke++ | trunk/docs/parrothist.pod:
03:32 dalek parrot: 2.6 was a supported release
03:32 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48153/
03:32 atrodo kthakore> Eastern then?
03:32 kthakore dalek: exterminate!
03:32 purl EXTERMINATE! EXTERMINATE! EXTERMINATE!
03:33 kthakore atrodo: sure
03:34 Chandon Coke: configure/make/make test works for me with both tarballs
03:37 Coke docs.parrot.org updated
03:38 atrodo cotto> Looking over the LoritoOps page again, so would it now be set_[insp]?
03:40 cotto atrodo, that'd be a better way to write that op
03:41 cotto kthakore, what editor do you use?
03:43 cotto In vim, you can pretty easily fix simple formatting issues by selecting the offending code and pressing =
03:43 Coke ... no 2.3.0 announcement on parrot.org ?
03:44 cotto It probably got unstuck after the 2.4.0 announcement
03:44 * cotto wishes he were smart enough to remember to use corevm *before* running make
03:45 Coke cotto: it's nowhere to be seen.
03:45 cotto kthakore, one of the problems is that buffer_size checks buffer for nullness *before* setting it.
03:49 dalek parrot: r48154 | coke++ | trunk/docs/project/release_manager_guide.pod:
03:49 dalek parrot: don't repeat yourself.
03:49 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48154/
03:50 cotto kthakore, I'm not sure about the exact fix for the other issue, but the problem is that you need to change new_string's encoding to be whatever the encoding ATTR is.
03:50 cotto I'm out.
03:50 cotto happy hacking
03:50 snarkyboojum joined #parrot
04:06 dalek parrot: r48155 | coke++ | trunk/tools/util/release.json:
04:06 dalek parrot: fix JSON typo.
04:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48155/
04:07 dalek website: coke++ | Parrot 2.6.0 "Red-rumped" supported release.
04:07 dalek website: http://www.parrot.org/news/parrot-​2.6.0-red-rumped-supported-release.
04:10 Coke release is cut.
04:13 tcurtis Coke++
04:14 bubaflub hey y'all, just sent out an email to the list about cross compilation support (TT #1195, TT #1516)
04:14 bubaflub and feedback and input welcome
04:16 Coke Chandon, whiteknight - I will attempt to compose an email to list tomorrow to continue our conversation.
04:24 * Coke wondes how one gets to the front page of blogs.perl.org
04:28 dukeleto Coke++ # yay, sha1 sums!
04:29 Coke dukeleto: someone added it to the makefile. easy peasy.
04:29 Coke zzzzzzzzzzzzzzzz
04:31 dukeleto Coke: what kind of SHA sums are they?
04:31 dukeleto Coke: they look SHA256ish
04:31 dukeleto but i am just guessing
04:36 Coke yes.
04:38 Topic for #parrotis now Parrot 2.6.0 | parrot.org Log:  irclog.perlgeek.de/parrot/today | Nopaste: nopaste.snit.ch:8001 |
04:38 Topic for #parrotis now Parrot 2.6.0 | parrot.org Log:  irclog.perlgeek.de/parrot/today | Nopaste: nopaste.snit.ch:8001 | fix 'make html' (talk to Coke), update tutorial (talk to tcurtis)
04:39 dalek parrot: r48156 | Chandon++ | branches/gsoc_threads (10 files):
04:39 dalek parrot: [gsoc_threads] More green threads API.
04:39 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48156/
04:54 Coke joined #parrot
04:56 dalek parrot: r48157 | Chandon++ | branches/gsoc_threads (47 files):
04:56 dalek parrot: [gsoc_threads] Merge from trunk.
04:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48157/
05:36 Chandon joined #parrot
06:06 theory joined #parrot
06:08 dalek rakudo: 3176182 | pmichaud++ | build/PARROT_REVISION:
06:08 dalek rakudo: Bump PARROT_REVISION to latest Parrot release.  Frozen until #31 release.
06:08 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/3​176182a41c5615d74af18a621c6f974b0dd99cc
06:11 uniejo joined #parrot
06:15 PerlJam cd
06:16 dalek tracwiki: v1 | tcurtis++ | LoritoDesignQuestions
06:16 dalek tracwiki: Create a list of questions to consider when thinking about Lorito.
06:16 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Lorito​DesignQuestions?version=1&amp;action=diff
06:16 dalek tracwiki: v6 | tcurtis++ | Lorito
06:16 dalek tracwiki: Add link to LoritoDesignQuestions</a>
06:16 dalek tracwiki: http://trac.parrot.org/parrot/wiki​/Lorito?version=6&amp;action=diff
06:16 baest joined #parrot
06:51 AndyA joined #parrot
06:57 fperrad joined #parrot
07:08 dalek joined #parrot
07:16 whiteknight joined #parrot
07:26 dalek TT #1710 created by pmichaud++: [BUG]  exit of a Coroutine affects all of its sister clones
07:26 dalek TT #1710: http://trac.parrot.org/parrot/ticket/1710
08:13 dalek tracwiki: v2 | dukeleto++ | LoritoDesignQuestions
08:13 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Lorito​DesignQuestions?version=2&amp;action=diff
08:15 dalek parrot: r48158 | mikehh++ | branches/html_cleanup (27 files):
08:15 dalek parrot: merge latest trunk into html_cleanup branch
08:15 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48158/
08:28 dalek rakudo: ac0987c | pmichaud++ | src/Perl6/Actions.pm:
08:28 dalek rakudo: Fix double-gather bug.
08:28 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/a​c0987ce1842194acb613428b6aabcaa476bbce9
08:40 AndyA joined #parrot
09:06 snarkyboojum joined #parrot
09:11 dalek joined #parrot
09:16 dalek plparrot: f414dbf | dukeleto++ | plparrot.c:
09:16 dalek plparrot: Check that the trusted/untrusted interpreters were created correctly before
09:16 dalek plparrot: loading any PBC
09:16 dalek plparrot: review: http://github.com/leto/plparrot/commit/f​414dbff8f48bc7000834af3a72d872489e5816c
09:16 dalek plparrot: ecebc43 | dukeleto++ | plparrot.c:
09:16 dalek plparrot: Better debugging
09:16 dalek plparrot: review: http://github.com/leto/plparrot/commit/e​cebc43aad7208fb1c9bf952a7e7a1c16bb7eec2
09:39 gaz joined #parrot
09:48 dalek rakudo: c412170 | (Kodi Arfer)++ |  (7 files):
09:48 dalek rakudo: Temporal goodness.
09:48 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​41217098254bc2ed05fffdc8b0be821b269b0a7
09:56 kthakore cotto: hi
09:57 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#34990), fulltest) at r48158 - Ubuntu 10.04 amd64 (g++)
10:09 gbacon joined #parrot
10:27 kthakore mikehh: hi
10:27 purl hey, kthakore.
10:30 mikehh kthakore: hi there
10:31 kthakore mikehh: no else seems up yet
10:31 kthakore :D
10:32 mikehh kthakore: it's all about timezones
10:32 mikehh clock
10:32 dalek joined #parrot
10:32 mikehh clock?
10:32 purl mikehh: LAX: Wed 3:32am PDT / CHI: Wed 5:32am CDT / NYC: Wed 6:32am EDT / LON: Wed 11:32am BST / BER: Wed 12:32pm CEST / IND: Wed 4:02pm IST / TOK: Wed 7:32pm JST / SYD: Wed 8:32pm EST /
10:33 mikehh kthakore: I'm on BST, how about you?
10:34 kthakore mikehh: EST
10:35 kthakore mikehh: oh ... man .... I am sooo stuck
10:35 kthakore 2 tests to fix
10:35 kthakore :(
10:35 kthakore oh well
10:35 kthakore coffee :D
10:35 kthakore then fixage :D
10:35 mikehh kthakore: good luck
10:35 purl You'll need it.
10:36 * mikehh needs to reeboot - brb
10:59 mikehh joined #parrot
11:07 dalek parrot: r48159 | gerd++ | trunk (6 files):
11:07 dalek parrot: I take release 2.9; update Fedora spec file to current release
11:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48159/
11:33 kid51 joined #parrot
11:34 kid51 Although nopaste is on channel, it has not worked for me for last 10 hours.
11:35 kid51 Tried to paste this both last night and this morning:  http://nopaste.snit.ch/22189
11:35 kid51 t/pmc/packfile*.t failures on Darwin/PPC at r48151 (trunk)
11:39 dalek parrot: r48160 | gerd++ | trunk/ports/suse (4 files):
11:39 dalek parrot: update suse rpm build port
11:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48160/
11:49 Casan joined #parrot
11:57 Coke kid51: that was the release, no doubt.
11:58 Coke I suspect it's the old bytecode file crap. (I did at least verify those passed on intel linux; I don't even have a ppc box anymore.)
12:00 Coke I think the answer is: if it's failing on your platform, YOU have to update those files. I suspect those have been failing on ppc for a while. (I hope, anyway0
12:14 kid51 Coke:  Darwin/PPC was passing make fulltest as recently as Sunday.
12:14 kid51 I have just now run 'tools/dev/mk_packfile_pbc' and gotten the t/pmc/packfile*.t tests to pass.
12:14 kid51 Shall I commit the modified t/native_pbc/*.pbc files?
12:15 * kid51 has to leave for $job and Rakudo talk in 5 minutes.
12:15 dalek joined #parrot
12:17 kid51 Have to go.
12:21 dalek rakudo: 10a2585 | moritz++ | README:
12:21 dalek rakudo: [README] shorten section on binary packages, and refer to the website instead
12:21 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/1​0a25850f6dcf0acbfc5c64c681362e98dc5a187
12:31 bluescreen joined #parrot
12:33 mikegrb joined #parrot
12:36 whiteknight joined #parrot
12:38 Coke I presume you updated the _4 or _2 files; you're the only one left I know running PPC, so that'll be your job, I guess. =-)
12:38 Coke until we sort out the bytecode stuff we kind of tabled at 1.0
12:52 Coke free karma: remove branches/rm_doc_makefile (nothing's been done, it'll be easier to start over then merge if I do that project.)
12:56 dalek joined #parrot
13:03 kthakore cotto: hi
13:03 purl privet, kthakore.
13:03 kthakore oops
13:03 smash joined #parrot
13:03 kthakore Coke hi
13:03 smash hello everyone
13:04 kthakore smash: hi
13:11 lucian joined #parrot
13:18 Coke kthakore: hio
13:18 Coke whoa, it's Sean Burke!
13:18 Coke (not here)
13:18 kthakore Coke: hi
13:18 purl hello, kthakore.
13:18 kthakore Coke: I am seriously stuck with a problem
13:18 kthakore Coke: TT 1639 .. stil
13:18 Coke k. I'm at $DAYJOB, so I can not, currently, be your huckleberry.
13:18 kthakore Coke: ok ok
13:18 kthakore Coke: thanks
13:18 Coke but I appreciate your work on this. it'll pay off, trust me. =-)
13:20 kthakore Coke: really! there is money and or hookers in payement?
13:20 Coke ... in your increased understanding of the internals.
13:20 Coke I've been working on parrot for 9 years and those sorts of things don't seem to happen.
13:20 kthakore Coke: ahhh ....
13:20 kthakore Coke: it will have happen
13:20 kthakore Coke: you have to *belive*
13:20 kthakore beleive
13:20 kthakore bah can't spell
13:22 kthakore Coke: don't worry if I was looking for $money I would be at $work
13:22 kthakore Coke: oh wait ... I am :D
13:34 NotFound joined #parrot
13:34 NotFound hi
13:34 purl salut, NotFound.
13:36 Casan joined #parrot
13:37 dalek joined #parrot
13:38 kthakore hi NotFound
13:42 Psyche^ joined #parrot
13:50 Coke hello, alphabetically first committer.
14:07 bubaflub joined #parrot
14:08 dalek joined #parrot
14:12 PerlJam joined #parrot
14:12 bubaflub left #parrot
14:12 tcurtis joined #parrot
14:13 tcurtis Hello, #parrot.
14:13 moritz hi
14:14 kthakore hi tcurtis
14:14 kthakore hi moritz
14:15 kthakore moritz: I learned pmc ... and learned that I can cause 'out of mem'
14:15 moritz kthakore: oh, that's easy :-)
14:16 kthakore moritz: hehe
14:16 kthakore moritz: now I have to find where .. I am gobling up memor
14:16 kthakore memory
14:17 atrodo tcurtis++, good lorito questions
14:28 dalek tracwiki: v3 | tcurtis++ | LoritoDesignQuestions
14:28 dalek tracwiki: Add another question.
14:28 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Lorito​DesignQuestions?version=3&amp;action=diff
14:41 mmcleric_ joined #parrot
14:42 mmcleric_ joined #parrot
14:51 dalek joined #parrot
14:55 mmcleric_ joined #parrot
15:02 Andy joined #parrot
15:02 davidfetter joined #parrot
15:04 kthakore hi
15:06 theory joined #parrot
15:08 kthakore how can I get the string in PMC's STRING ?
15:15 Casan joined #parrot
15:15 bubaflub joined #parrot
15:16 NotFound kthakore: VTABLE_get_string
15:20 kthakore NotFound: no that just returns a STRIN*
15:20 kthakore NotFound: I want to print out the value for the STRING*
15:20 kthakore NotFound: in gdb
15:21 kthakore like printf( "%s", cahr_from_string(STRING ) ?
15:21 kthakore NotFound: btw does get_string make a clone or pass?
15:22 moritz our strings are immutable
15:22 moritz why should it clone?
15:22 kthakore moritz: that is my question
15:23 NotFound Maybe some PMC still does a clone, but after the switch to immutable strings it shouldn't.
15:23 kthakore get_string has a clone in it for StringBuilder
15:23 NotFound kthakore: StringBuilder isn't a String.
15:24 kthakore I know
15:24 NotFound ATTR STRING *buffer;    /* Mutable string to gather results */
15:24 kthakore NotFound: I am working on TT# 1639
15:24 kthakore NotFound: that is going to PMC*
15:24 NotFound kthakore: the "Mutable" is the key here.
15:24 kthakore err
15:24 kthakore NotFound: I know
15:24 kthakore see the ticket please
15:25 NotFound It uses (or abuses) string internals, so it can't just return that string.
15:26 NotFound There is a comment about that in get_string, BTW.
15:26 kthakore NotFound:  did you see my ticket?
15:27 kthakore NotFound: what is the comment?
15:27 purl somebody said the comment was pretty exhaustive, read it carefully
15:27 kthakore NotFound: I am trying to use set_native_string ....
15:27 kthakore and still running out of mem
15:27 NotFound -> /* We need to clone buffer because outside of StringBuilder strings */
15:27 NotFound -> /* are immutable */
15:27 kthakore NotFound: ok
15:27 kthakore NotFound: but ...
15:27 kthakore Fuck
15:28 kthakore NotFound: how do I get it not to run out of memeory?
15:28 NotFound kthakore: current StringBuilder abuses STRING internals, but it protects the outside world from its abuses.
15:28 kthakore right
15:28 kthakore that is why I am doing TT 1639
15:29 kthakore but see this
15:29 purl i think see this is a lesson you shouldn't get involved in things :)
15:29 kthakore in io/api.c
15:29 kthakore in readline
15:29 kthakore if we have a string handler
15:29 kthakore I do this
15:29 kthakore VTABLE_set_string_native(interp, stringhandle, result);
15:29 kthakore right
15:29 NotFound io/api.c also abuses string internals last time I looked at it.
15:29 bubaflub joined #parrot
15:29 kthakore but I am gettign it to use StringBuilder
15:30 kthakore stringhandle's attrbute stringhandle is now a stringbuilder
15:30 [1]Casan joined #parrot
15:30 cotto coke++
15:30 kthakore NotFound: have you seen the ticket?
15:30 kthakore hi cotto
15:31 NotFound I's like to do some funny things to wich choose the name of that ATTR, with a chainsaw or something.
15:31 moritz I guess the IO stuff abuses the string API, because the string API itself doesn't expose the raw buffer for easy access, or so
15:31 kthakore it does now
15:31 kthakore jeez guys
15:31 kthakore have you seen the ticket?
15:31 * moritz hasn't
15:31 kthakore moritz: TT 1639
15:32 moritz TT #1639 # now the IRC logs turn it into a link, and I can access it more conveniently :-)
15:33 kthakore moritz: oh ok
15:33 kthakore moritz: wait you do irclogs.perlgeek.de right?
15:33 moritz right
15:33 kthakore moritz: can I hack a feature in your code?
15:33 kthakore moritz: it is my biggest pet peeve
15:33 moritz kthakore: which one?
15:33 kthakore moritz: new stuff on top
15:33 kthakore moritz: so reverse the irc
15:33 kthakore moritz: so on iphone
15:33 NotFound kthakore: that code is abusing StringHandle internals. If you change StringHandle internals, it booms.
15:33 moritz kthakore: works for me as an option, but not as the default
15:34 kthakore moritz: I don't have to scroll 10 gazillion light years
15:34 kthakore moritz: yeah
15:34 kthakore moritz: as an option
15:34 kthakore NotFound: yup
15:34 kthakore NotFound: now I am fixing said boom
15:34 kthakore NotFound: first booms are gone
15:34 kthakore NotFound: but readline is killing me
15:34 moritz kthakore: bonus points for doing it in client-side js, so that the server doesn't have to double the cache size
15:34 kthakore moritz: ugh ... js
15:34 kthakore moritz: ... I left that scene 6 years ago
15:35 kthakore moritz: sure fine
15:35 moritz kthakore: I said "bonus points", ot "required"
15:35 moritz s/ot/not/
15:35 kthakore moritz: whar be the code?
15:35 kthakore moritz: I will see
15:35 kthakore moritz: please let the code be on git hub
15:35 moritz kthakore: http://github.com/moritz/ilbot/
15:35 kthakore :D
15:35 kthakore WOOOT!
15:35 kthakore moritz++ for seeing the light
15:35 kthakore moritz: thanks man
15:36 kthakore moritz: I will see it soonish
15:36 kthakore NotFound: is there a better way to do readline with StringBuilder?
15:36 kthakore NotFound: there should be
15:36 kthakore I mean StringBuilder should handle all the stuff in io/api.c for us
15:36 kthakore no?
15:37 moritz kthakore: you have commit privs to ilbot now. Let me know when I should pull anew
15:37 kthakore moritz: oh ok
15:37 kthakore where is the js stuff this?
15:37 NotFound kthakore: I'll kill all that code in io/api.c and forward it to a method in StringHandle
15:38 moritz kthakore: no idea, I didn't do it... probably one of the templates
15:38 kthakore NotFound: yay!
15:38 NotFound Best way to handle abuse of internals is to stop doing it.
15:38 kthakore NotFound: can you put it in my patch
15:38 kthakore NotFound: yes
15:38 kthakore NotFound: then we can handle all this junk in StringHandle
15:38 kthakore internall?
15:38 kthakore NotFound: so we just do
15:38 NotFound Internals of StringHandle abused from io/
15:38 kthakore VTABLE_readline(interp, pmc)
15:39 kthakore right?
15:39 kthakore and it checks for PMC_IS_NULL and what not?
15:39 kthakore NotFound: I just dont know how to do that yet
15:39 kthakore NotFound: first non trivial ticket that lied and said it was newbie
15:40 kthakore :D
15:40 NotFound kthakore: when people mark tickets as appropiate for newbies usually mean "I don't want to do it"
15:41 kthakore well I want to
15:41 kthakore but I have no clue ...
15:41 kthakore I just do what I tried to clean from src + docs
15:41 kthakore and the docs ... don't help
15:41 [1]Casan joined #parrot
15:44 NotFound kthakore: The StringHandle readline method currently calls Parrot_io_readline. IMO the first step will be to sanitize that by doing it the other way: let Parrot_io_readline use the StringHandle method.
15:45 NotFound When the outside world is no longer abusing StringHanlde internals, the task will be easier.
15:45 kthakore yes
15:45 kthakore NotFound: can you put some hints? cookie crumbs? in the ticket
15:45 * kthakore crosses fingers
15:47 macroron joined #parrot
15:47 NotFound kthakore: the hint is easy: delete lines 420-441 in io/api.c and put that functionality in StringHandle.readline
15:47 kthakore ok
15:47 kthakore ...
15:47 kthakore but how do I make VTABLE thiny?
15:47 NotFound readline is a method, not a vtable function.
15:48 kthakore ah ok
15:48 kthakore so METHOD?
15:48 * kthakore looks thorugh docs
15:49 NotFound The method already exists, line 288 of stringhandle.pmc
15:49 NotFound In trunk
15:55 kthakore ah ok
15:55 kthakore NotFound: ermm have you seen it?
15:55 kthakore NotFound: it just calls io_readline
15:55 kthakore hha
15:55 kthakore hahaha
15:56 kthakore that is hilarious
15:56 NotFound kthakore: that was the point. Instead of calling io_readline from the method, call the method from io_readline
15:56 kthakore yeah
15:57 kthakore I get it now
15:57 kthakore thank you
15:58 cotto_work joined #parrot
15:58 NotFound If you fix that, and any other abuse of StringHandle internals that may happen elsewhere, refactoring StringHandle will be far easier.
15:58 cotto_work ~~
15:58 cotto_work mibbit--
15:58 kthakore NotFound: there some more places
15:59 kthakore NotFound: in the mean time ... can I please accept that ticket?
15:59 kthakore NotFound: or maybe just assign me to it?
16:00 NotFound kthakore: Don't know what permissions are needed to accept. If you can, do it. If not, tell me and I'll try to assign.
16:00 kthakore I can't do it
16:00 kthakore I can just comment
16:01 NotFound What's your trac account name?
16:01 lucian joined #parrot
16:01 NotFound NM, it's in the comments.
16:02 particle i have track_admin... i can give kthakore whatever perms necessary. NotFound, can you?
16:02 particle if not, i'll give you trac_admin
16:02 NotFound Assigned.
16:04 NotFound particle: I'm not sure if I want to learn more trac administration %-)
16:04 particle kthakore: i changed you from 'TICKET_APPEND' to 'developer' in trac
16:05 particle NotFound: what's your trac id?
16:05 NotFound particle: NotFound
16:05 purl somebody said NotFound was Julián Albo <mailto:julian.notfound@gmail.com>
16:06 particle ah, sorry missed it, it's not alphabetical for some reason, just *mostly* alphabetical. sigh.
16:06 * NotFound thinks about creating a mostly_sort opcode
16:07 particle NotFound: i'm sorry, you're a trac admin now ;)
16:07 NotFound I'll have to live with that, I suppose ;)
16:09 kthakore particle: oh no! I am developer.... but I don't feel like it
16:09 atrodo http://gist.github.com/484399 # So far, lorito is turning out magic
16:09 kthakore particle: :p
16:09 kthakore particle: thank though
16:09 NotFound The trac admin page looks better now, sure.
16:09 kthakore atrodo: does lorito change string stuff?
16:10 kthakore atrodo: liek get_string ?
16:10 atrodo don't know yet
16:10 kthakore atrodo: I thought I saw a question about it in wiki
16:11 atrodo Yea, there's some questions about do we make strings into objects, and if should use strings or symbols
16:12 kthakore http://trac.parrot.org/parrot/wiki/LoritoRoadmap
16:12 NotFound I read that question as: "Do we make strings mutable again? And switch again to immutable later?" }:)
16:13 kthakore NotFound: yes ...
16:13 kthakore NotFound: I see more breakage
16:13 kthakore and I just started 2 days ago
16:13 kthakore ..
16:13 pmichaud joined #parrot
16:13 kthakore ok lunch
16:13 kthakore NotFound: tahnk
16:13 kthakore moritz: thanks
16:13 NotFound kthakore: Don't worry, my few weeks in parrot were mostly locating and deleting shit.
16:14 kthakore NotFound: yeah ...
16:14 * purl doo wop doo wop // shang a langa shanga langaa
16:14 kthakore that is sooo cool
16:14 kthakore I just broke more sutff
16:14 kthakore hehe
16:14 kthakore I will do it after lunch
16:14 particle kthakore++ you have the right attitude to work on parrot :)
16:14 NotFound kthakore: well, the beauty of deleting unused code is that you hardly break anything :D
16:15 atrodo NotFound> I hope that's not the case.
16:15 cotto_work bubaflub, fwiw I'd love to have a separate build dir.
16:15 atrodo But, remind me, the string primitive is immutable right now, right?
16:15 NotFound (unless you fail to detect it's really unused)
16:15 dalek tracwiki: v6 | cotto++ | LoritoOps
16:15 dalek tracwiki: rename set, atrodo++ for noticing
16:15 dalek tracwiki: http://trac.parrot.org/parrot/wiki/​LoritoOps?version=6&amp;action=diff
16:15 bubaflub cotto_work: sweet!  do you have a preference between these two options
16:16 bubaflub perl ../Configure.pl
16:16 bubaflub perl Configure.pl --build-dir=build
16:16 NotFound atrodo: is immutable, except in a few places that don't let the outside world see what are doing.
16:16 atrodo NotFound> That's what i thought
16:17 particle atrodo: spare me a commit bit for lorito?
16:17 cotto_work bubaflub, the first is a little simpler, but if you can make either work it'll be great.
16:17 bubaflub cotto_work: yeah, i'm leaning towards the first as that is how i've seen it usually done
16:18 atrodo particle> done
16:18 cotto_work That's how firefox does it and iirc llvm
16:18 particle bubaflub: the first forces perl to be run from the root of the build dir
16:18 particle or, expects perl to be run from...
16:18 bubaflub particle: so is that a vote for the first one?
16:19 NotFound bubaflub: the fisrt way is more autotools-alike.
16:19 particle i'm not sure, actually.  i hate autotools
16:19 particle ok, let's look at it like this:
16:19 NotFound particle: that is a point that autotools handle well... mostly.
16:20 particle the source directory is a resource, not a place to run any code from
16:20 particle that statement is somewhat true.
16:20 particle i'd like it to be fully true.
16:21 particle so, that means, we shouldn't be running Configure.pl from the source dir
16:21 particle which means, it should be run  from the build dir, so perl ../Configure.pl makes sense
16:21 particle does anyone disagree?
16:22 NotFound Makes sense to me.
16:22 cotto_work +1
16:22 purl 1
16:22 Coke cotto_work: ?
16:22 eternaleye joined #parrot
16:22 moritz but please also make it work from within the root dir
16:22 bubaflub moritz: of course. "normal" building won't be affected.
16:23 cotto_work Coke: what's confusing?  I was responding to particle
16:23 bubaflub if configure dir == build dir then everything will still work
16:23 Coke (newbies) - honestly, notfound, I like doing those myself. I don't like sharing them. =-)
16:24 Coke cotto_work: no, you karma'd me like an hour ago.
16:24 cotto_work release
16:25 cotto_work you have to get used to that the day after a release
16:29 NotFound BTW Coke++
16:30 cotto_work see
16:30 Coke note to self: never use a netbook for a release.
16:31 cotto_work ouch
16:31 cotto_work no wonder you were complaining about the speed
16:32 Coke it worked!
16:32 purl What do you mean it worked? Did it run to completion? Did it bomb out early? Did it finish the job early? Did it tell your girlfriend "let's just be friends"? Be specific!
16:32 cotto_work If it weren't a bad idea for other reasons, I'd probably try using a 48-core machine here at work to cut a release.  I'd be done in 5 minutes.
16:33 NotFound Next time use tablet, fits better with current fashion trends.
16:34 cotto_work releasing from an iPad would be awesome
16:34 mikehh Coke: Hi - recovered from release No 1, ready for release No 2?
16:35 khairul joined #parrot
16:35 cotto_work clock?
16:35 purl cotto_work: LAX: Wed 9:35am PDT / CHI: Wed 11:35am CDT / NYC: Wed 12:35pm EDT / LON: Wed 5:35pm BST / BER: Wed 6:35pm CEST / IND: Wed 10:05pm IST / TOK: Thu 1:35am JST / SYD: Thu 2:35am EST /
16:36 cotto_work good evening, khairul
16:36 khairul good morning to you cotto
16:43 Coke mikehh: yah. I'll be doing that one from my slightly better powered imac. =-)
16:44 pmichaud joined #parrot
17:02 Coke mikehh++ #updating the branch.
17:03 dukeleto joined #parrot
17:03 bubaflub morning dukeleto
17:03 * Coke creates a multiline, colored, svn and git aware, unicode using bash prompt.
17:04 dukeleto bubaflub: mornin!
17:04 Coke +1 to whoever posted their bash prompt in a npaste yestereday.
17:04 cotto_work Coke, want
17:05 dalek parrot: r48161 | coke++ | branches/rm_doc_makefile:
17:05 dalek parrot: this branch has no commits - start with a fresh branch if we continue
17:05 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48161/
17:05 cotto_work btw, iwbn if the footer on docs.parrot.org wasn't unreadable
17:06 Coke cotto_work: you do any web work? should be a simple fix to the CSS in resources.
17:07 Coke if not, open a ticket, assign it to me.
17:07 cotto_work When I do web work, it encourages real web developers to step in.
17:08 nopaste "coke" at 192.168.1.3 pasted "coke's bashrc" (38 lines) at http://nopaste.snit.ch/22196
17:08 darbelo joined #parrot
17:08 Coke hokay. ticket it is.
17:08 Coke aw, it mangled my unicode!
17:09 cotto_work done
17:12 nopaste "coke" at 192.168.1.3 pasted "actual unicodey bits pasted in directly?" (1 line) at http://nopaste.snit.ch/22197
17:13 cotto_work2 joined #parrot
17:18 bubaflub who is the keeper of Configure.pl and related modules?
17:23 dalek TT #1711 created by cotto++: unreadable footer on docs.parrot.org
17:23 dalek TT #1711: http://trac.parrot.org/parrot/ticket/1711
17:27 tcurtis joined #parrot
17:28 Coke bubaflub: kid51 does a lot of maintenance work on Configure.pl ; I'm not sure anyone owns it.
17:30 bubaflub Coke: thanks.
17:30 smash Coke: just commented with a quick possible solution to TT#1711, i don't think i have access to the resources files to fix it myself
17:30 Coke I can probably answer some questions if you need pointers
17:30 Coke smash: lost your commit bit?
17:31 smash Coke: is the CSS file on the repository ?
17:31 bubaflub Coke: i'm working on getting out of directory building working, and the first step is getting Configure.pl to include the right files and what have you
17:32 cotto_work docs/resources/parrot.css
17:32 bubaflub I can use FindBin on Configure.pl itself ENV{PWD} for the build path, but was wondering how i should propagate that information to the other configure modules
17:33 Coke the build dir is already in the config.
17:33 smash cotto_work: cool, thks
17:34 Coke (after a build, do "./parrot_config build_dir"
17:34 dalek partcl: 1ccfaa1 | Coke++ | config/PARROT_VERSION:
17:34 dalek partcl: we work with parrot-2.6.0, bump to that version.
17:34 dalek partcl: review: http://github.com/partcl/partcl/commit/1​ccfaa161c5fe04de46ad807441d07196e126f66
17:35 smash Coke: fixed the file css file, do i need to do anything else besides commiting it ?
17:35 bubaflub Coke: i mean being able to build something completely out of the source directory
17:35 bubaflub say i've got my source in /parrot, i can make /parrot/build and then run `perl ../Configure.pl && make&
17:35 bubaflub whoops, that last & should be a `
17:36 gbacon joined #parrot
17:37 Coke bubaflub: well, that would fail today, as make needs to be run int he same dir as the config.pl
17:38 Coke so I presume you know that and want to deal with it. =-)
17:38 bubaflub Coke: exactly.  it's for my GSoC with RTEMS
17:38 dalek parrot: r48162 | smash++ | trunk/docs/resources/parrot.css:
17:38 dalek parrot: * simple fix for TT#1711
17:38 Coke well, step one is to find where build_dir is currently being set and override it.
17:38 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48162/
17:39 Coke steps 2 through several thousand is making things respect the already_present build_dir setting in the Config.
17:39 bubaflub Coke: build_dir gets set in config/auto/defaults.pm
17:39 Coke see config/init/defaults for the setting part.
17:40 bubaflub whoops, init
17:40 bubaflub but i think long before that i need to make some modifications
17:40 Coke ok. so you're already a step ahead of me. what are you stuck on, now?
17:40 smash bbl
17:40 smash cotto_work: just changed the CSS file, not sure if i need to do anything else for it to show correcly in the website
17:41 smash i'll check it later
17:41 bubaflub Coke: before it gets to running those steps it dies on trying to open the VERSION file
17:41 bubaflub Coke: i can easily figure out what the source directory is (FindBin on Configure.pl) and can also easily figure out where I'm building from (some dancing with $0)
17:41 bubaflub i'm just wondering what the best way is to get that information to all the Parrot::Configure modules
17:41 bubaflub for example, some of them are doing 'use lib'
17:42 Coke bubaflub: ... by putting it the config object with build_dir.
17:42 Coke and then fix EVERYTHING that assumes build_dir=src_dir. which is pretty much the whole build process.
17:42 bubaflub Coke: i think the script is dying before we reach even the config object
17:42 Coke for your VERSION thing - sounds like you want to delay the VERSION check until you've sorted out src_dir vs. build_dir.
17:43 bubaflub Coke: some of the Parrot:Configure modules are including other files that assume 'lib' is one folder away
17:43 Coke bubaflub: the VERSION check looks like it's also happening in init::defaults
17:44 Coke (once you put thigns in the config object, you have that at every step of the configure. You probably need to rewrite those use lib's as hand-written updates to INC basec on $config
17:45 bubaflub okey dokey
17:45 Coke You can probably even split out defaults into defaults and ... prelude or something.
17:45 Coke and move the build_dir stuff into that new step (and make it the first thing called)
17:45 Coke if that's easier than juggling the defaults code.
17:50 bubaflub Coke: this is the error I'm getting (after fixing the include stuff in Configure.pl with FindBin) http://gist.github.com/484834
17:50 bubaflub it looks like way before a step and inside an include
17:50 bubaflub that something is getting eval'd
17:51 jsut joined #parrot
17:56 dalek TT #1712 created by doughera++: Packfile failures in 2.6.0 on SPARC
17:56 dalek TT #1712: http://trac.parrot.org/parrot/ticket/1712
17:59 Coke bubaflub: I have no idea why "parrot_revision" is being called outside the step. move it in to just before it's used.
17:59 bubaflub Coke: okey dokey.
18:11 rurban joined #parrot
18:14 dalek tracwiki: v4 | cotto++ | LoritoDesignQuestions
18:14 dalek tracwiki: make questions into headings so they'll be easier to distinguish from answers
18:14 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Lorito​DesignQuestions?version=4&amp;action=diff
18:22 dukeleto bubaflub: defining build_dir basically needs to be the first step in the entire build process, and then everything else needs to use it instead of assuming $PWD
18:22 dukeleto bubaflub: may the farce be with you
18:22 bubaflub dukeleto: yep.  i think i can sneak it in very early in the build setup, throw it in the $conf->options hash
18:23 bubaflub dukeleto: and also with you
18:24 atrodo Do I need a bit flipped in trac to make edits to the wiki?
18:25 dukeleto atrodo: i don't think so, have you tried?
18:26 atrodo I'm looking at the LoritoDesignQuesitons page, logged in, and I don't see an edit button
18:28 dukeleto bubaflub: it also sounds like you want to write a function that does something like this : sub build_dir { File::Spec->catfile($build_dir,@_) }, so you don't have to litter the code with File::Spec calls and save yourself some typing
18:29 dukeleto atrodo: very bottom left? you may have to scroll
18:29 dukeleto atrodo: i don't like it, there should be edit buttons on the top, but that is where Trac puts them
18:29 atrodo dukeleto> Nope, nothing down there
18:31 dukeleto Coke, cotto_work : do y'all need to flip a trac bit for people to edit the wiki?
18:31 dukeleto atrodo: this may have been caused by getting lots of trac spam
18:31 Coke yes.
18:31 Coke to bothm. moment.
18:31 atrodo dukeleto> that would make sense
18:31 dukeleto Coke++
18:31 cotto_work Ok.  I though you just had to make sure the person responded to the welcome email.
18:32 cotto_work p&w?
18:32 purl p&w is http://tinyurl.com/23dfwut
18:32 Coke The user atrodo has been granted the permission WIKI_MODIFY.
18:32 Coke cotto_work: except that all our trac spammers have valid, working emails. :P
18:32 * dukeleto ponders that we need a bot like hugme to do stuff like giving people wiki privs and commit bits
18:32 atrodo There it is.  Coke++, dukeleto++ thanks
18:32 cotto_work dukeleto: sounds like a job for aloha
18:33 dukeleto aloha?
18:33 Coke dukeleto: That would be spiffy.
18:33 cotto_work bacek's bot
18:33 Coke ... or hugme.
18:33 Coke but it happens so often, it's not worth my time. =-)
18:34 Coke I'll happily create an admin account for this if someone gets it working securely, though.
18:34 dukeleto maybe someone can ask nicely about hugme hanging out in #parrot ?
18:47 dalek tracwiki: v5 | cotto++ | LoritoDesignQuestions
18:47 dalek tracwiki: add some answers that I'm reasonably sure about
18:47 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Lorito​DesignQuestions?version=5&amp;action=diff
18:48 theory joined #parrot
18:49 patspam joined #parrot
18:51 * particle hugs dukeleto
18:51 particle ...until hugme arrives.
18:52 kthakore how do I gett and atrribute of a pmc in another pmc
18:52 kthakore I am doing
18:52 kthakore GETATTR_StringBuilder_buffer
18:54 kthakore StringBuilder has pmclass StringBuilder provides string auto_attrs { ATTR STRING *buffer;
18:54 kthakore :tabp
18:54 cotto_work That should work.  You just need to include the proper header
18:55 cotto_work and make sure that the makefile dependencies are updated
18:55 kthakore ah ok ...
18:55 kthakore what header do I need?
18:56 * cotto_work can't wait until we have Lorito and can do all this junk programatically instead of via stupid hacks.
18:56 kthakore cotto_work: src/pmc/stringbuilder.pl has pmclass StringBuilder provides string auto_attrs { ATTR STRING *buffer;
18:56 kthakore pmc
18:56 kthakore cotto_work: oooh magical mystical lorito
18:56 kthakore cotto_work: we don't have it now though
18:56 kthakore -.-
18:56 atrodo we should tho.  Magic should just happen
18:57 kthakore where is the make file deps stuff for stringhandle.pmc add?
18:57 cotto_work pmc/pmc_x.h
18:57 kthakore atrodo: we shod
18:57 kthakore so ../src/pmc/pmc_stringbuilder.pmc" ?
18:58 cotto_work just pmc/pmc_stringbuilder.pmc
18:58 kthakore ok
18:58 kthakore where doese make deps goo?
18:58 cotto_work the generated headers are in include/pmc
18:58 kthakore ah ok
18:59 cotto_work config/gen/makefiles/root.in
18:59 purl well, config/gen/makefiles/root.in is what generates parrot/Makefile
18:59 * cotto_work pats purl onna head
18:59 kthakore yay more working
18:59 NotFound kthakore: I'll try to avoid that. The buffer should be a StringBuilder internal detail that no one outside should care.
18:59 kthakore nbut it mutates
18:59 kthakore when I do get_string
19:00 kthakore it does clone on it
19:01 kthakore OMG IT WORK!
19:01 kthakore WORKED HUGHGHGHGHHG
19:02 * kthakore hugs everyone!
19:02 kthakore wooooooth!!!
19:02 cotto_work the boy seems exicitable
19:02 kthakore cotto_work: WOOOOT!
19:02 kthakore \m/
19:03 kthakore one last testcase to fix
19:03 kthakore ... ugh
19:03 kthakore stringbuilder has fixed_8
19:03 kthakore not utf8
19:03 kthakore are they the same?
19:03 cotto_work no
19:03 kthakore crap
19:03 kthakore crappity crpa
19:03 kthakore crap
19:04 cotto_work in some cases you can pretend that they're the same but in general it's a Bad Idea
19:05 kthakore but stringbuilder uses fixed_8
19:05 kthakore sigh
19:06 cotto_work darbelo would be good to ask about that
19:08 kthakore darbelo: ping. i have free hug ready just to give away :D.
19:08 * Coke backs away slowly.
19:09 atrodo huh, this room is now uncomfortable for me
19:09 * kthakore huggles Coke and atrodo  real quick. Ninja liek :D
19:10 atrodo drat, and me without my ninja repellent today
19:10 kthakore hugging Coke gives me a high!
19:10 cotto_work ok.  That's weird.
19:11 kthakore cotto_work: well snorting Coke should too
19:11 kthakore cotto_work: any manner of contact with Coke can give you a high.
19:11 kthakore :d
19:11 kthakore :p
19:11 Coke O_O;
19:11 cotto_work I've met him.  It didn't work.
19:12 cotto_work no hugs though
19:14 Coke You don't want YAPC SARS, anyway.
19:14 kthakore hehe
19:15 kthakore cotto_work: well for some Coke brings you down
19:15 kthakore cotto_work: its sad really
19:15 cotto_work pmichaud: ping
19:16 kthakore wth ...
19:17 kthakore when I run it outside the harness I get utf8
19:17 kthakore -.-
19:20 AndyA joined #parrot
19:24 bluescreen joined #parrot
19:38 ash_ joined #parrot
19:42 kthakore um ... how is StringHandle open even ever called?
19:42 kthakore if I do
19:43 kthakore ifh = new ['StringHandle']
19:43 kthakore ifh.open('temp_file')
19:43 kthakore it calles Perl_io_open
19:43 kthakore not the StringHandle.open methead
19:45 cotto_work That's odd.
19:46 cotto_work seen allison or chromatic
19:47 cotto_work seen allison
19:47 purl allison was last seen on #parrot 12 days, 22 hours, 47 minutes and 23 seconds ago, saying: NotFound: that removes the roadblock, so someone can work on it when inclined  [Jul  8 20:59:36 2010]
19:47 cotto_work seen chromatic
19:47 purl chromatic was last seen on #parrot 21 hours, 37 minutes and 11 seconds ago, saying: TT #1639, dukeleto.
19:48 kthakore cotto_work: ok I will update the ticket more ...
19:49 kthakore cotto_work: hey that is the ticket I am working on
19:49 kthakore trac?
19:49 purl well, trac is a web-based software project management and bug/issue tracking system emphasizing ease of use and low ceremony. It provides an interface to the Subversion revision control systems, integrated Wiki and convenient report facilities.  http://projects.edgewall.com/trac/ or Python, SQLite and ClearSilver or killing killtrac or a bug-tracking tool or at https://trac.parrot.org/parrot/ or slow or REALLY slow
19:49 cotto_work That may be the correct behaviour.  I can't say for sure.  It's just surprising to me.
19:51 kthakore cotto_work: me too
19:52 cotto_work kthakore: in Parrot_io_open, there's a special case for StringHandle
19:52 cotto_work else if (new_filehandle->vtable->base_type == enum_class_StringHandle) {
19:52 kthakore I know
19:52 kthakore it just returns
19:52 kthakore nothing esle
19:53 ash__ joined #parrot
19:53 cotto_work that TODO comment isn't entirely clear
19:53 kthakore line 151 ?
19:54 kthakore there is not TODO there
19:54 cotto_work 136
19:54 cotto_work looks like whiteknight's doing
19:55 kthakore but that makes sense ...
19:57 kthakore I am not sure why stringhandle even needs open
19:57 cotto_work me neither
19:57 cotto_work That call to Parrot_io_open is a noop.
19:58 kthakore yeah
19:58 kthakore but why the hell was Stringhandle.open even made?
19:58 cotto_work so it has the same interface as FileHandle
19:59 cotto_work If you use FileHandle, you can substitute a StringHandle for easy testing with no additional changes.
19:59 cotto_work It's nice that way.
19:59 kthakore ok ...
20:00 kthakore that seems pointless to me ... but I don't know much about parrot
20:00 NotFound open sets the r/w mode
20:01 kthakore NotFound: but it is NEVER CALLED
20:01 kthakore see Perl_io_open
20:01 kthakore for stringhandle
20:01 NotFound kthakore: I doubt thatm
20:01 kthakore around line 151
20:01 kthakore NotFound: I walked trough the code line by line
20:01 kthakore ....
20:01 kthakore brain hurts now
20:01 NotFound http://tapir2.ro.vutbr.cz/cover/cover-results​/48160/c_cover/src-pmc-stringhandle-pmc.html
20:02 kthakore ??
20:02 cotto_work the Parrot_io_open might be there just for the flags.
20:02 NotFound 100% coverage
20:02 purl 100% coverage is impossible. 80% is trivial.
20:02 kthakore ok
20:02 kthakore cotto_work: so where is the encoding changing?
20:02 kthakore I don't see it
20:02 kthakore in readall?
20:03 cotto_work not sure
20:03 kthakore can open be called on null pmc?
20:04 kthakore what is the point of doing string_result = string_make(INTERP, "", 0, "unicode", 0);
20:05 kthakore if encoding_is_utf8
20:05 NotFound kthakore: because utf8 is the default encoding for unicode charset and people are lazy.
20:06 kthakore that shouldn't mess with encoding though
20:06 kthakore right
20:06 kthakore I mean we don't set the encoding to anything
20:06 NotFound And because string_make is obsolete and should be replaced.
20:07 kthakore *sigh*(
20:07 kthakore wth ...
20:07 kthakore ok
20:07 kthakore what should I use?
20:09 NotFound kthakore: unfortunately there is no good replacement. Just don't be too surprised by the ugliness of string creation.
20:10 kthakore ok ..
20:10 kthakore sigh
20:10 kthakore I am done
20:12 kthakore how do I leave messages?
20:12 kthakore maybe I shouldn't
20:12 kthakore oh well
20:13 cotto_work msg kthakore like this
20:13 purl Message for kthakore stored.
20:14 kthakore cotto_work will people hate me for leaving a silly message like 'HALP' at TT 1639 ?
20:15 cotto_work you should be as specific as possible
20:15 kthakore HALP PLEASE?
20:15 purl I CAN HAS SOMEBODY?
20:15 kthakore cotto_work: ok
20:15 kthakore wait who should I talk to about this stuff?
20:15 kthakore fixed_8 stuff
20:16 cotto_work svn blame will tell you who last modified any given chunk of code
20:16 cotto_work if you can't find out any other way, that's a good start
20:16 kthakore cotto_work: but I don't even know where this is?
20:17 cotto_work ack for some relevant-looking code and ping whoever svn blame points at
20:17 kthakore where is it set?
20:17 cotto_work or grep
20:17 kthakore I did
20:17 kthakore ack -l fixed_8
20:17 kthakore only thing I see is string/api.c
20:18 kthakore but ...
20:18 cotto_work src/string/encoding/fixed_8.c
20:18 kthakore I know
20:18 kthakore but where is that called
20:18 kthakore I meah ...
20:18 kthakore I went true each line of code in gdb
20:18 kthakore don't see a change to encoding of the stringhandle
20:19 kthakore oh well
20:20 kthakore gtg home
20:20 kthakore will try tommorow
20:27 theory joined #parrot
20:35 tcurtis joined #parrot
20:47 eternaleye joined #parrot
20:50 jsut_ joined #parrot
21:00 [1]Casan joined #parrot
21:06 dalek winxed: r569 | NotFound++ | trunk/winxedst1.winxed:
21:06 dalek winxed: make sure that float constants looks like that in generated pir
21:06 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=569
21:19 snarkyboojum joined #parrot
21:28 dalek rakudo: 1d4ba47 | (Martin Berends)++ | Test.pm:
21:28 dalek rakudo: [Test.pm] use pir::time__N for the fractional seconds removed from time
21:28 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/1​d4ba47f2295136b34a1df03e6c1f37d4ae24c77
21:40 theory joined #parrot
22:22 dalek TT #1713 created by coke++: helper script to find committers.
22:22 dalek TT #1713: http://trac.parrot.org/parrot/ticket/1713
22:45 kthakore how can I get the value of a STRING* in gdb?
22:45 kthakore like
22:45 cotto_work p s->strstart
22:45 kthakore cotto_work: thanks man
22:45 cotto_work just don't do that in c code
22:45 kthakore cotto_work: what would I do with out you guys
22:46 cotto_work flail for a bit and figure it you a little less efficiently
22:46 cotto_work ;)
22:46 cotto_work s/you/yourself/
22:53 kthakore haha
22:53 * kthakore flails around
22:53 kthakore woopwoopwoopwooopwooopwopp
22:54 tcurtis cotto_work: concerning method dispatch in Lorito, you said that MMD would be implemented on top of Lorito. What about single dispatch, though?
22:55 cotto_work That might take an optimized path, but it'd go through the same code.
22:55 theory joined #parrot
22:59 kthakore cotto_work: um ... p s->strstart is a PASM
22:59 kthakore ...
22:59 kthakore how do I get the "string"
23:00 tcurtis cotto_work: alright.
23:00 cotto_work kthakore: you're not making sense
23:01 kthakore ok
23:01 kthakore cotto_work: say I have a string
23:01 tcurtis kthakore: what does p s->strstart output?
23:01 kthakore like "foo"
23:01 kthakore tcurtis: ask cotto_work
23:02 kthakore then I set it to a STRING*
23:02 tcurtis kthakore: I mean, what is it outputting for you?
23:02 kthakore 0xf00000 (PASM)
23:02 dalek winxed: r570 | NotFound++ | trunk/winxedst1.winxed:
23:02 dalek winxed: avoid generating and using unneeded temporary registers in some cases
23:02 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=570
23:02 kthakore ok screw this
23:02 kthakore I am not explaining
23:02 kthakore what I am doing
23:02 kthakore ok
23:03 tcurtis kthakore: I think that means that the contents of the string are "PASM".
23:03 kthakore tcurtis: cotto_work: I am working on (still) TT 1639
23:03 kthakore tcurtis: ah ok
23:03 kthakore I am trying to find when fixed_8 is set
23:03 kthakore as the encoding
23:04 theory joined #parrot
23:04 kthakore but it goes all the way into filehandle.pmc
23:04 cotto_work in that case, the contents of the string s  are "PASM"
23:04 kthakore instead of stringhandle.pmc
23:04 kthakore cotto_work: ok
23:04 cotto_work That's an odd address though
23:05 kthakore cotto_work: http://trac.parrot.org/par​rot/ticket/1639#comment:8
23:05 kthakore cotto_work: that was just random
23:05 kthakore cotto_work: I just made it 0xf00000
23:06 kthakore the test is t/stringhandle.t
23:06 [1]Casan joined #parrot
23:07 kthakore test is in regards to readall() - utf8 on opened stringhandle
23:10 kthakore I updated the ticket
23:14 cotto_work in the future, don't do that.  A memory address doesn't reveal anything valuable about your computer
23:14 cotto_work copy/paste is fine
23:21 cotto_work kthakore, did you intend to change a test with that patch?
23:39 theory joined #parrot
23:40 theory_ joined #parrot
23:45 theory joined #parrot
23:57 Psyche^ joined #parrot

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

Parrot | source cross referenced