Camelia, the Perl 6 bug

IRC log for #parrot, 2010-05-05

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:05 darbelo Coke: Just to add to your hesitation: Think of the PCC method call overhead.
00:13 dalek tracwiki: v5 | darbelo++ | GSoCersStartHere
00:13 dalek tracwiki: Make "CLA" into links to the CLA.
00:13 dalek tracwiki: http://trac.parrot.org/parrot/wiki/GSoC​ersStartHere?version=5&action=diff
00:13 Coke darbelo: ... no, that IS my hesitation.
00:13 Coke :P
00:14 darbelo Optimize now. Somebody will clean it up later ;)
00:18 dalek parrot: r46294 | coke++ | branches/codestring (99 files):
00:18 dalek parrot: merge latest changes from trunk
00:18 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46294/
00:33 ash_ joined #parrot
00:34 dalek parrot: r46295 | chromatic++ | trunk/src/pmc/continuation.pmc:
00:34 dalek parrot: [PMC] Tidied Continuation's code and added documentation.  No functional
00:34 dalek parrot: changes.
00:34 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46295/
00:42 ash_ github svn now has subversion write support , so you can pull and push from svn on github, as well as pull and push from git
00:46 * darbelo ponders svnhub
00:48 plobsing joined #parrot
00:53 * Coke tries to find where String's concat vtable is.
00:54 Coke it goes to MMD offa default.pmc
01:02 dalek TT #1609 closed by gerd++: tools/docs/filename_and_chapter.pl:  Can we make this work with our coding ...
01:02 dalek TT #1609: http://trac.parrot.org/parrot/ticket/1609
01:03 tewk Coke: Scalar I believe
01:04 * Coke grabs the samples from default and modifies them.
01:14 cotto ohai
01:14 Coke question: should concat on a codestring auto-append a newline too?
01:14 Coke I'm thinking no.
01:23 dalek parrot: r46296 | coke++ | branches/codestring/t/pmc/codestring.t:
01:23 dalek parrot: Make sure that CodeString works with inplace concat.
01:23 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46296/
01:29 Coke getting docs/pdds/pdd17_pmc.pod
01:29 Coke er.
01:29 Coke Method 'HOW' not found for invocant of class 'P6role'
01:29 Coke when building rakudo on my branch. that's not happening in trunk, is it?
01:39 chromatic No.
01:39 Coke hurm.
01:39 dalek parrot: r46297 | coke++ | branches/codestring/src/pmc/codestring.pmc:
01:40 dalek parrot: make i_concat* vtables use the RSA
01:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46297/
01:42 Coke chromatic: you see anything squirrely about r46297 ?
01:48 chromatic No, I don't.
01:48 chromatic It might have been an earlier commit.
01:49 Coke bother.
01:50 Coke bisecting.
01:50 purl i think bisecting is easy if you use svn-bisect
01:59 Psyche^ joined #parrot
02:15 elmex joined #parrot
02:26 bacek_at_work joined #parrot
02:28 Coke yup, that did it. :P
02:46 snarkyboojum joined #parrot
02:47 cotto joined #parrot
02:48 Coke odd. it was i_concatenate that was a problem - _str was fine.
02:50 cottoo joined #parrot
03:02 dalek parrot: r46298 | coke++ | branches/codestring/src/pmc/codestring.pmc:
03:02 dalek parrot: remove vtable - was causing build failure on rakudo. :(
03:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46298/
03:02 dalek parrot: r46299 | jimmy++ | trunk/src/pmc/hash.pmc:
03:02 dalek parrot: revert part of my r46276
03:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46299/
03:06 Coke is there a "parrot foo" equivalent to parrot-nqp?
03:07 janus joined #parrot
03:08 Coke ah, there it is.
03:11 ash_ what do you mean by parrot foo?
03:12 Coke invoke parrot directly with something like nqp-rx.pbc (also installed).
03:12 Coke it was just buried a bit.
03:16 ash_ you mean like Q:PIR { } ?
03:16 Coke ... no, from the command line.
03:17 Coke instead of invoking "parrot-nqp foo.nqp", I want "parrot ./path/to/nqp-rx.pbc foo.nqp"
03:17 Coke then  I can pass arguments to parrot.
03:17 ash_ ah, i see what you mean, got ya
03:18 tcurtis compilers/nqp/nqp.pbc ?
03:19 sorear Coke: bacek: We don't *need* StringBuilder.
03:19 sorear Little known fact: PIR is a binary file format.
03:19 sorear It's specced using bytes, so we don't actually need to track encodings
03:20 Coke tcurtis: no, that nqp is gone.
03:20 sorear So... ByteBuilder
03:20 sorear a.k.a
03:20 sorear ResizableByteArray
03:20 Coke sorear: um.
03:20 Coke we're not doing bytes. we're doing /strings/
03:20 Coke Strings ain't PIR.
03:20 sorear PIR is made of bytes, not characters
03:21 sorear If PIR was made of characters, you could just say "ø"
03:21 sorear But PIR is made of bytes, so you have to specify: unicode:"ø"
03:21 bacek_at_work sorear, it's not PIR
03:21 bacek_at_work It's our bloody strings.
03:21 sorear strings, in PIR, are reduced to byte sequences *before* becoming embedded in the PIR matrix
03:21 bacek_at_work sorear, they are not.
03:22 sorear bacek_at_work: I thought CodeString was only used to output PIR.  My mistake.
03:22 bacek_at_work Inside STRING* there is "encoding" and "charset"
03:22 bacek_at_work (Which is actually really-really bad)
03:22 bacek_at_work afk # lunch
03:25 tcurtis Coke: runtime/parrot/library/nqp-rx.pbc is what's used to make parrot-nqp, so it should be what you need.
03:26 cognominal joined #parrot
03:26 jsut_ joined #parrot
03:29 Coke tcurtis: ayup.
03:31 Coke (really bad) Here comes some NFG!
03:31 tewk March PCC hackathon removed GETATTR_CallContext_returns_values, where is it now?
03:32 Coke anyone with feather privs who could install kcachegrind?
03:34 chromatic tewk, I think that was unused after the hackathon.
03:34 tewk I have DARKPARROT code that used that.
03:35 ash_ Coke: what is nfg?
03:35 purl nfg is No Fscking Good! or grapheme normalization form (see docs/pdds/draft/pdd28_character_sets.pod)
03:35 ash_ ah
03:35 ash_ thanks purl?
03:35 Coke ash_: there's a GSOC project for implementing NFG.
03:36 Coke tewk: NOOO
03:36 Coke joined #parrot
03:37 bubaflub ash_: darbelo just wrote this up today: http://www.parrot.org/content/wha​t-nfg-why-you-want-parrot-have-it
03:38 Coke hurm. kcachegrind is in macports... crossing fingers...
03:38 LoganLK joined #parrot
03:38 tcurtis DARKPARROT?
03:39 tewk is a play on DarkPAN, code that isn't publically available, or in this case checked into parrot's repo
03:39 Coke DARKPAN?
03:39 purl i guess DARKPAN is the 90% of modules that you can't see, because they're not on CPAN. The dark matter of the Perl world
03:42 tewk chromatic: how are returns handled now, do I want to replace the curren retcontinuation?
03:43 ash_ does icu provide any thing to help with NFG's?
03:44 chromatic RetCont is gone.  We unified calls and returns.
03:45 sorear tewk: look at blizkost_call_in in blizkost, it's the most complete single user of PCC at this time AFAIK
03:53 tewk blizkost?
03:53 purl somebody said blizkost was http://github.com/jnthn/blizkost/tree/master or the last Jonathan's project, an embedding of Perl 5 in Perl 6
03:56 Coke chromatic: has you a writeup on using kcachegrind/
03:57 tewk :q
03:57 chromatic I don't.
03:58 JimmyZ joined #parrot
03:59 * Coke stares at the pretty pictures for a few minutes.
04:00 chromatic Change the sorting on the left pane.
04:00 purl chromatic: that doesn't look right
04:00 chromatic You probably want to detect cycles.
04:00 chromatic You probably also want to show relative percentages.
04:01 snarkyboojum joined #parrot
04:06 Coke diakopter installed it on feather; it's wicked slow remoting in. :(
04:06 Coke (or is it always wicked slow?)
04:08 dalek parrot: r46300 | jimmy++ | trunk/src (68 files):
04:08 dalek parrot: changed interp in pmc class to INTERP for unification
04:08 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46300/
04:19 bacek_at_work purl, forget Change the
04:19 purl bacek_at_work, I didn't have anything matching change the
04:19 bacek_at_work purl, forget Change
04:19 purl bacek_at_work, I didn't have anything matching change
04:20 bacek_at_work purl, forget 'Change '
04:20 purl bacek_at_work, I didn't have anything matching 'change '
04:20 bacek_at_work purl, forget 'cange
04:20 purl bacek_at_work, I didn't have anything matching 'cange
04:20 bacek_at_work purl, forget change '
04:20 purl bacek_at_work, I didn't have anything matching change '
04:20 bacek_at_work purl, forget change
04:20 purl bacek_at_work, I didn't have anything matching change
04:20 bacek_at_work stupid robots...
04:20 JimmyZ purl: Change
04:20 purl JimmyZ: that doesn't look right
04:21 JimmyZ purl: Change is <reply>
04:21 purl JimmyZ: that doesn't look right
04:21 JimmyZ purl: no, Change is <reply>
04:21 purl OK, JimmyZ.
04:21 JimmyZ purl: Change
04:21 purl JimmyZ: sorry...
04:21 JimmyZ Change it to that
04:21 purl JimmyZ: that doesn't look right
04:25 cottoo I think it's equivalent to "no, x is ..."
04:25 cottoo cows?
04:25 purl hmmm... cows is "Where Are The Cows", at http://www.scullucs.com/wac/ (Firefox only)
04:26 Coke bacek?
04:26 purl bacek is THE MANIAC or some sort of magical coding robot
04:26 cottoo I don't know what that is but it may be amazing.
04:27 bacek_at_work Coke?
04:27 purl well, Coke is Will Coleda <mailto:will@coleda.com> or perpetually annoyed. or magical ticket robot or (if Diet), something that turns into formaldehyde in my blood. or getting those data_json issues in Coke's build. or tempted to remove "ticket_append" for authenticated. or on OSX 10.6.3
04:27 Coke change bacek to crazy bot mangler.
04:27 purl Coke: that doesn't look right
04:27 JimmyZ jimmy?
04:27 purl jimmy is translating some docs to chinese. or allegedly a sloth
04:27 JimmyZ JimmyZ?
04:27 purl hmmm... JimmyZ is getting rid of PARROT_CAPTURE(SELF), so changed it to use PMC_data is better.
04:28 cottoo oic
04:28 cottoo change 100  USD to euro
04:28 purl cottoo: Either 'USD' or 'EURO' is an invalid currency symbol, or Yahoo changed its screen format for the currency exchanger.  Check http://finance.yahoo.com/currency for the list of supported symbols.
04:28 Coke cottoo++
04:28 Coke win 2
04:28 cottoo cotto++
04:28 cotto cottoo--
04:28 cotto all beter
04:28 cotto all better
04:29 cotto purl docs?
04:29 purl hmmm... docs is n00bs should write docs, because once the n00b is an 0ldie, the information is forgotten
04:29 cotto purl docs is also http://www.infobot.org/guide-0.43.x.html
04:29 purl okay, cotto.
04:29 cotto excuse
04:29 purl cotto: positron router malfunction
04:29 cotto excuse
04:29 purl cotto: We only support a 1200 bps connection.
04:29 cotto excuse
04:29 purl cotto: Jan  9 16:41:27 huber su: 'su root' succeeded for .... on /dev/pts/1
04:30 sorear purl troubles?
04:30 purl wish i knew, sorear
04:30 cotto purl stupids
04:30 purl stupids is this a show?
04:31 sorear easy fix
04:31 cotto are you thinking what I'm thinking?
04:31 sorear purl troubles?
04:31 purl sorear: i don't know
04:31 sorear hmm
04:31 cotto purl, stupids =~ s/show/cow/
04:32 purl OK, cotto
04:32 cotto stupids?
04:32 purl rumour has it stupids is this a cow
04:32 sorear I guess it doesn't work the same on magnet
04:32 cotto don't ban purl.  If you need her to shut up just take voice.
04:32 cotto It's much easier to reverse.
04:33 cotto that substitution may come in handy
04:33 cotto purl's mom?
04:33 purl pemungkah's mother is a saint! or capable of multiplexed I/O.
04:33 sorear cotto: on freenode, a ban starting with a % isn't an actual ban
04:34 sorear it's an anti-voice
04:34 sorear allowing normals to speak while purl is gagged
04:34 JimmyZ purl?
04:34 purl JimmyZ?
04:34 JimmyZ purl code?
04:34 purl well, code is already out
04:35 cotto general advice
04:35 purl i guess general advice is create my own COnfig file
04:36 sorear purl, purl, flooterbuck
04:36 purl sorear: what?
04:36 sorear purl, flooterbuck
04:36 purl hmmm... flooterbuck is well, flooterbuck is the kind of infobot that i am or a dagbrown, mendel, warewolf and kd production or actually maintained or http://github.com/dagbrown/flooterbuck/ or git-clone git://github.com/dagbrown/flooterbuck.git or a complete pile of ass written in perl 4 or mostly warewolf's fault really.
04:36 cotto Mmmm.  Perl 4.
04:36 sorear see also #purl if you need admin time (warning: serious tribunal atsmosphere)
04:37 sorear I had to go to them after the parrot quarterly when someone here kb'd perl
04:37 sorear *shudder*
04:38 cotto There aren't enough Perl 6 implementations written in Perl 4.
04:44 * sorear was planning to redo the Parrot build system in Perl 4
04:45 cotto I should probably stop saying things.
04:50 chromatic For April Fools a few years ago, I intended to write Apocalypse -1, which listed all of the changes between Perl 4 and Perl 5 in the style of the Perl 6 Apocalypses.
04:50 chromatic I put it off, then Perl.com turned into a vast wasteland of advertising that has nothing to do with Perl.
04:51 parthm joined #parrot
05:02 JimmyZ_ joined #parrot
05:02 arnsholt joined #parrot
05:03 Maddingue joined #parrot
05:05 particle joined #parrot
05:11 Coke now I want parrot + C kcachegrind interleaved. =-)
05:12 sorear parrot has a time profiler now?
05:12 sorear who wrote it?
05:12 simcop2387 joined #parrot
05:12 chromatic No, that would be silly.
05:14 Coke chromatic: what does called (0) mean?
05:15 cotto sorear, what do you mean by "time profiler"?
05:22 theory joined #parrot
05:23 sorear cotto: a metaprogram which instruments a run of another program such as to break apart the time cost of the program's run and "blame" it on specific subprograms, facilitating efficient use of optimization resources
05:23 sorear compare, space profiler
05:25 cotto I was confused more by "time" than by profiler.
05:26 cotto which ironic because I wrote the profiling runcore
05:29 sorear cotto++ that sounds seriously awesome
05:30 sorear I think we could improve Rakudo's memory usage a great deal by removing a layer of indirection from Object handling
05:31 sorear have PMC_DATA point directly to the attribute bits, instead of having a PMC* attributes_rpa attribute
05:31 sorear or, as a cheap 0th approximation, turn PCT::Node into a PMC
05:31 sorear just a random thought.
05:32 sorear oh, my mistake, PCT::Node isn't an Object, it's a Capture
05:32 sorear which is worse
05:34 sorear every single node in the AST (and there are 3 parallel ASTs during a compile operation) corresponds to an Object PMC (which inherits from Capture), an RPA to hold the Object's attributes, a Hash to hold the named children, and another RPA to hold the numbered children
05:34 sorear and the attribute blocks for all four PMCs
05:34 sorear and the buffers for the two RPAs and the Hash
05:34 sorear that's 11 memory block + however much space hash chains use (unstudied)
05:44 JimmyZ Subversion Write Support
05:44 JimmyZ Subversion Write Support
05:45 JimmyZ oh double messages
06:03 uniejo joined #parrot
06:27 particle joined #parrot
06:51 iblechbot joined #parrot
07:11 parthm joined #parrot
07:36 * cotto would really like svn stash about now
07:37 * sorear never did figure out how to use git stash
07:42 cotto It's half-way between a commit and not a commit.
07:55 moritz sorear: git stash puts all non-committed change into a temporary commit that's managed by a stack
07:55 moritz so it doesn't show up on your branch
07:56 moritz and it then cleans your working dir
08:00 cotto Yeah.  what I said except useful.
08:09 sorear hmm.  PAST cannot generate a parameter without a lexical alias?
08:16 moritz huh?
08:16 moritz rakudo implements anyonymous parameters
08:16 moritz so there must be some way
08:19 sorear how do you spell an anonymous parameter in rakudo?
08:20 moritz sorear: $
08:20 moritz see #perl6
08:20 moritz or @ for that matter
08:20 sorear ah, I was unclear.
08:20 sorear I want to be able to access the parameter, but not expose it to inner lexical scopes
08:21 sorear in PIR it's the normal case
08:29 dalek parrot: r46301 | cotto++ | branches/ops_pct (717 files):
08:29 dalek parrot: revert previous bad sync
08:29 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46301/
08:35 TiMBuS joined #parrot
08:46 * cotto looks forward to merging without spamming parrot-commits
08:51 bacek ~~
08:55 cotto Now that the extra runcores are gone, the only things keeping ops_pct from being merged are speed and dynop support.
08:56 sorear ops_pct?
08:56 purl ops_pct is probably using the old API for parsing
08:56 cotto no, ops_pct is a branch for a nqp-rx ops compiler
08:56 purl okay, cotto.
08:59 sorear ops_pct?
08:59 purl ops_pct is, like, a branch for a nqp-rx ops compiler
09:00 cotto bacek, is there an easy way to verify that the magic number in compilers/opsc/t/06-* in the "Ops parsed correctly" test needs to be changed?
09:01 cotto s/\*/opsfile.t/
09:01 bacek cotto, I don't think so...
09:01 cotto That doesn't make it a very good test in the case where the ops change more frequently than the ops compiler.
09:01 dalek parrot: r46302 | cotto++ | branches/ops_pct (790 files):
09:01 dalek parrot: sync branch with trunk, hopefully for real this time
09:01 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46302/
09:02 cotto this sync looks a lot better
09:02 clinton joined #parrot
09:03 bacek cotto, chicken and egg problem...
09:03 cotto Sure.  I'll see if bootstrap-ops works and call it good if so.
09:04 bacek wfm
09:05 cotto splode
09:05 cotto dwfm
09:07 cotto it might have something to do with the runcore purge.  no way I'm fixing it tonight
09:09 bakkdoor joined #parrot
09:09 cotto btw bacek, that branch should probably either use upstream nqp-rx or you should get your changed merged.
09:10 bacek cotto, I do need pmichauds review on Settings...
09:11 moritz bacek: pmichaud predicted that he'll be much more available next week
09:11 moritz I hope that turns out to be the case
09:11 dukeleto 'ello
09:11 cotto ok.  There's certainly no rush to merge.
09:11 cotto 'i
09:11 bacek moritz, it will be good.
09:18 dalek parrot: r46303 | cotto++ | branches/ops_pct (2 files):
09:18 dalek parrot: [opsc] misc minor updates for thing that have changed since the last sync
09:18 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46303/
09:19 mikehh cotto, bacek: any branch testing you need done?
09:19 cotto There's still that one test failure and the fact that building with the bootstrapped core_ops.c explodes, but the branch is basically up-to-date
09:20 bacek cotto, YOU BROKE IT!!! :)
09:20 cotto Not only that.  I broke it and I'm going to sleep soon. >;0
09:22 cotto night
09:23 cotto also, dukeleto++ for those latest contributions to the git discussion
09:24 sorear dukeleto++ for the nice link
09:24 dukeleto cotto: thanks
09:24 parthm joined #parrot
09:24 dukeleto does anybody see test 13 failing in t/library/pg.t ?
09:25 cotto wfm (and good night for real this time)
09:25 moritz good night
09:26 moritz all skipped here
09:26 moritz what do I need for actually running them?
09:27 dukeleto moritz: that is probably the deal, most people don't generate the pg bindings
09:27 moritz dukeleto: how would I do that?
09:30 dukeleto moritz: it seems that they are auto-detected if you have pg installed system-wide
09:30 dukeleto moritz: there may also be some Configure.pl flag
09:31 moritz I guess I need -dev packages installed?
09:32 * moritz sent another lengthy mail to parrot-dev
09:33 dukeleto moritz: yes, the -dev packages have the headers that are needed at compile-time
09:33 JimmyZ gitbhu has Subversion Write Support now.
09:33 JimmyZ er. github
09:34 moritz dukeleto: installed that, and rebuilding parrot ...
09:35 moritz huh, still all skipped
09:39 dukeleto all pg.t tests pass for me on OS X (pg 9.0devel), but test 13 fails on ubuntu (pg 8.4.3)
09:39 moritz do I need to set up a test database for pg or so?
09:40 dukeleto moritz: yes, which OS are you on?
09:41 moritz dukeleto: debian gnu/linux "lenny" (stable) on amd64
09:41 dukeleto moritz: i think you need to create a database with the same name as the username that runs the tests
09:41 dukeleto moritz: sudo -u psql
09:42 dukeleto moritz: create database user;
09:42 dukeleto moritz: i think?
09:42 dukeleto moritz: i think it is sudo -u postgres, actually
09:43 moritz bah, I first need to install some other stuff
09:43 dukeleto moritz: yeah, libpq-dev probably
09:43 moritz a specific version of the database client and server :-)
09:44 dukeleto moritz: for some reason, debian spreads postgres across many packages that do not have postgres in the name
09:44 dukeleto moritz: which specific version?
09:44 moritz like, 8.0 or so
09:44 moritz No candidate version found for postgresql-8.0
09:44 * moritz hatez it
09:45 dukeleto moritz: try 8.4
09:45 dukeleto moritz:  that is the latest stable release of postgres
09:45 moritz and available from backports.org
09:45 moritz doing that now
09:46 dukeleto moritz: i target 9.0 with PL/Parrot, which has been in a feature freeze for a while and should come out this summer
09:46 moritz and beta1 released already
09:48 * bacek totally failing to understand how protoregexes works...
09:48 moritz seems I need to do a more in-depth blog post or article on them
09:48 dukeleto moritz: i like your helpnow idea
09:48 dalek TT #1610 created by dukeleto++: Parrot_compile_string does not properly catch errors thrown by causing ...
09:48 dalek TT #1610: http://trac.parrot.org/parrot/ticket/1610
09:49 sorear bacek:
09:49 sorear proto regex term { ... }
09:50 bacek "token infix:sym<*>"
09:50 sorear rule term:sym<literal> { \d+ }
09:50 sorear rule term:sym<variable> { \w+ }
09:50 sorear is sugar for
09:51 bacek Reading NQP/Partcl sources doesn't bring light to how it referenced...
09:51 sorear rule term { \d+ | \w+ }
09:51 dalek parrot: r46304 | dukeleto++ | trunk/t/src/embed.t:
09:51 dalek parrot: [t][TT #1610] Add tests for Parrot_compile_string
09:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46304/
09:51 dukeleto moritz: yes, and it is a great idea that parrot should have them as well
09:51 sorear except that 1. they're extendable in derived grammars 2. you can attach actions to each branch
09:51 sorear does that make it clear?
09:52 bacek sorear, I understand it... I don't understand how to migrate "optable" from PCT to Grammar.O in nqp-rx...
09:52 sorear (don't ask why they're called "proto" regexes.  it means nothing in an NQP context.)
09:53 JimmyZ prototype
09:53 purl somebody said prototype was the bastard love child of dolly parton and lord lucan or a bastard, it does the Javascript equivalent of stuffing UNIVERSAL with methods or  use jquery, dojo, mootools or pretty much any other javasscript framework intstead or smells of FormMail.PL and old man wee
09:53 moritz dukeleto: finished my setup... also fails test 13 here
09:54 JimmyZ something like multi sub
09:54 dukeleto just made TT# 1611, can you add that it fails for you as well?
09:54 dukeleto moritz: http://trac.parrot.org/parrot/ticket/1611
09:57 moritz done
09:57 dukeleto moritz++
10:05 dalek TT #1611 created by dukeleto++: t/library/pg.t fails with PostgreSQL 8.4.3 on ubuntu 9.10
10:05 dalek TT #1611: http://trac.parrot.org/parrot/ticket/1611
10:14 dalek plparrot: d4df269 | dukeleto++ | t/sql/test.sql:
10:14 dalek plparrot: Add commented out test for loading standard Parrot PIR libraries
10:14 dalek plparrot: review: http://github.com/leto/plparrot/commit/d​4df2696577638981021d0c8300790b870653a97
10:14 dalek plparrot: 36cbc3e | dukeleto++ | TODO:
10:14 dalek plparrot: Improve TODO
10:14 dalek plparrot: review: http://github.com/leto/plparrot/commit/3​6cbc3e52339a8fdb500ef7fc269aad07fab70c1
10:14 dalek plparrot: 1d8c873 | dukeleto++ | t/sql/test.sql:
10:14 dalek plparrot: Add tests to make sure File.open and FileHandle.open are intercepted
10:14 dalek plparrot: review: http://github.com/leto/plparrot/commit/1​d8c873a8cf80546bf7651304621f2a31bcbcf07
10:15 dalek rakudo: 124895a | moritz++ | src/pmc/ (2 files):
10:15 dalek rakudo: switch two PMCs to auto_attrs. Patch courtesy of Vasily Chekalkin
10:15 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/1​24895afdc3056c72ef5cf309b0281063a8e4025
10:15 dalek rakudo: 60c23d9 | moritz++ | docs/ROADMAP:
10:15 dalek rakudo: [docs] update ROADMAP
10:15 dalek rakudo: put sorear++ into two slots (p5 interop, macros)
10:15 dalek rakudo: comment on progress of some items
10:15 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/6​0c23d95b91177a85fc4775951654a124f807e21
10:24 viklund joined #parrot
10:26 * bacek finally give up on idea to update Squaak grammar to nqprx.
10:26 bacek It's much easy to start from scratch...
10:39 parthm left #parrot
11:20 mikehh joined #parrot
11:30 fperrad joined #parrot
11:42 khairul joined #parrot
11:43 iblechbot joined #parrot
11:57 jsut joined #parrot
12:01 bluescreen joined #parrot
12:01 dalek parrot: r46305 | bacek++ | branches/ops_pct/compilers​/opsc/src/Ops/Trans/C.pm:
12:02 dalek parrot: Remove one space to get generated files close to ops2c.
12:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46305/
12:02 dalek parrot: r46306 | bacek++ | branches/ops_pct (3 files):
12:02 dalek parrot: Remove set_label/get_label from ops.num. They are still in experimental
12:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46306/
12:07 Hunger joined #parrot
12:18 dalek parrot: r46307 | bacek++ | branches/ops_pct/compilers​/opsc/src/Ops/Trans/C.pm:
12:19 dalek parrot: Small tweaks to emit code closer to ops2c
12:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46307/
12:19 dalek parrot: r46308 | bacek++ | branches/ops_pct/src/ops/core_ops.c:
12:19 dalek parrot: Regenerate core_ops.c without line directives
12:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46308/
12:19 dalek parrot: r46309 | NotFound++ | trunk/examples/tools/pbc_checker.cpp:
12:19 dalek parrot: update example pbc_checker to deal with recent pbc changes
12:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46309/
12:22 bacek msg cotto I've resurrected ops_pct. Not it can be self-hosted.
12:22 purl Message for cotto stored.
12:42 dalek lua: bd7eedd | fperrad++ |  (7 files):
12:42 dalek lua: OS becomes a dynpmc, so load it
12:42 dalek lua: review: http://github.com/fperrad/lua/commit/bd​7eedda590fc370d54e43945da0a5aae820d907
12:52 dalek parrot: r46310 | NotFound++ | trunk/t/src/embed.t:
12:52 dalek parrot: change a Parrot_compile_string test from skip to todo
12:52 purl dalek: that doesn't look right
12:52 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46310/
13:20 Coke xkcd++
13:21 atrodo joined #parrot
13:27 jsut_ joined #parrot
13:40 plobsing joined #parrot
13:56 mikehh t/examples/shootout.t - Failed test:  17 - Method 'reverse' not found for invocant of class 'String'
13:56 mikehh all other tests PASS (pre/post-config, make corevm/make coretest, smoke (#33619), fulltest) at r46273 - Ubuntu 10.04 amd64 (g++)
13:56 Coke mikehh: yah, someone just removed that. apparently without checking if it was used. =-)
13:57 mikehh will look at that later - got to do some other stuff
13:57 dalek parrot: r46311 | NotFound++ | trunk/examples/tools/pbc_checker.cpp:
13:57 dalek parrot: fix directory segment reading in example pbc_checker
13:57 Coke np
13:57 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46311/
13:57 mikehh Coke: most people don't run fulltest (or codetest for that matter)
13:58 mikehh but if removing something you should do this
13:59 mikehh or for any bigger change
13:59 Coke or at least 'ack'
13:59 Coke that said, should be a simple fix.
14:00 mikehh agreed
14:00 mikehh yeah - will look at it later - if somebody :-} doesn't fix it first
14:00 mikehh anyway bbl
14:15 dalek parrot: r46312 | bacek++ | trunk (2 files):
14:15 dalek parrot: Consting Parrot_str_concat
14:15 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46312/
14:16 NotFound Coke: supposedly they checked, that remove was discussed yesterday.
14:17 NotFound I suppose the check was just run make test
14:23 Coke no doubt.
14:23 Coke easy enough to resurrect it as an instance method.
14:28 Coke NotFound: is there a one liner in c that combines "pmc_new" and init_int?
14:28 Coke (or is that mainly for PIR?)
14:28 NotFound Parrot_pmc_new_init_int
14:28 Coke danke.
14:35 khairul msg cotto finals over. starting to create a tasklist for the project. anything i should take note of?
14:35 purl Message for cotto stored.
14:41 bubaflub joined #parrot
14:47 dalek parrot: r46313 | coke++ | branches/codestring/src/pmc/codestring.pmc:
14:47 dalek parrot: Give chromatic++ some knobs to tune.
14:47 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46313/
14:55 khairul Coke: hi Coke, could you please grant me the required permissions to post on parrot.org? my drupal username is khairul.
14:56 Coke khairul: done
14:57 khairul Coke++ thanks alot.
14:58 Coke np.
15:09 davidfetter joined #parrot
15:35 theory joined #parrot
15:42 fperrad joined #parrot
15:44 ruoso joined #parrot
16:23 ntaylor joined #parrot
16:25 dalek parrot: r46314 | NotFound++ | trunk (3 files):
16:25 dalek parrot: allocate annotations keys, groups and entries as arrays of structs instead of arrays of pointers to structs
16:25 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46314/
16:29 cotto_work good morning
16:29 purl For you maybe.
16:32 darbelo mornin'
16:32 bubaflub morning cotto_work
16:34 mikehh getting a Segmentation fault in t/op/string_cs.t - Failed test:  37 in make corevm/make coretest - Ubuntu 10.04 amd64 (g++)
16:35 mikehh r46314
16:35 jan joined #parrot
16:35 cotto_work khairul, you should put your task list on the wiki
16:36 fperrad msg bacek Lua updated with OS as dynpmc
16:36 purl Message for bacek stored.
16:37 * moritz is happy to see some gsoc bonding
16:37 * darbelo is glad no superglue is involved.
16:38 mikehh same result - t/op/string_cs.t - Failed test:  37 - Segmentation fault after make world/make test
16:42 khairul cotto_work: will do. top of the list is the blog post homework i guess.
16:42 cotto_work a testing strategy is important too
16:42 cotto_work sure
16:45 whiteknight joined #parrot
16:47 cotto_work bacek, the bootstrapped core_ops.c wfm now on Ubuntu 10.04/x64
16:48 cotto_work or at least it doesn't break the build
16:53 cotto_work could someone regenerated MANIFEST in ops_pct?
16:54 NotFound mikehh: fixed
17:00 dalek parrot: r46315 | mikehh++ | trunk/examples/shootout/revcomp.pir:
17:00 dalek parrot: fix failing examples/shootout.t test that used reverse, which is no longer available
17:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46315/
17:00 dalek parrot: r46316 | NotFound++ | trunk/src/string/api.c:
17:00 dalek parrot: Don't leave a string without charset, add some sanity checks
17:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46316/
17:08 patspam joined #parrot
17:18 atrodo I'm having a hard time figuring this out, and it's probably because I'm skimming the docs for the wrong thing, but once a compiler has a PAST, does parrot handle the rest?
17:19 Tene atrodo: the default HLLCompiler set of stages ends with PCT's PAST compiler, which translates from PAST to POST, and then the POST compiler which translates from POST to PIR
17:20 Tene atrodo: is that what you're asking about?
17:20 ash_ so, i scanned me CLA, but who do I email the scanned copy to?
17:20 particle ash_: consult parrot.org
17:21 particle or email to parrot-directors@lists.parrot.org
17:21 darbelo Wasn't there an email printed on the CLA?
17:21 atrodo Tene> I think so.  So a compiler writer can tweak during the PAST to POST stage, and then the POST to PIR (and beyond) will end up generating the pbc?
17:22 particle darbelo: i think so
17:22 * darbelo checks
17:22 ash_ darbelo: yes, i should of double checked that
17:22 ash_ its there
17:22 darbelo legal@parrot.org
17:22 Tene atrodo: Yes, the result of each stage is passed to the next stage, so if you want to tweak any stage, just insert a stage after it and manipulate it however you want.
17:22 particle ah, that'll do, same place
17:30 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#33643), fulltest) at r46316 - Ubuntu 10.04 amd64 (gcc with --optimize)
17:33 atrodo Tene> Thanks, things are starting to make more sense
17:52 Coke whiteknight: replied to your email.
17:53 whiteknight Coke: that would be awesome. If we have a decent interface in place for this release, we can always swap out the internals later
17:53 whiteknight I'm working on a rope-based approach right now myself
17:54 Coke right.
17:54 Coke I think the interface for a SB really just the string-like vtables.
17:54 Coke no methods needed, except perhaps a forced "coalesce", but that's optional, I think.
17:55 whiteknight wouldn't that be get_string?
17:55 Coke get_string would do it, yes.
17:55 whiteknight get_string could create a string and cache it. So long as the internal RSA didn't change that cached string could stay available for fast access
17:56 Coke (look at branches/codestring/src/pmc/codestring.pmc's get_string for an example of what coalesce would do. we could just factor that out into a separate method. I'm not sure we want to expose that, though. (just like we don't normally expect our users to run "collect")
17:57 Coke I'll leave the method off for now. =-)
17:57 whiteknight Coke: what's the ETA on that branch?
17:58 Coke people should test it and say it's awesome or not. I find that building rakudo is so slow getting useful benchmarks is painful. it's passing all tests right now, though.
17:59 Coke (note that that's just a smarter codestring)
17:59 whiteknight is the branch faster or slower on the Rakudo benchmark than trunk right now?
18:00 Coke I would need someone with a machine with nothing else going on to get a good benchmark. Note that you'd also want to check memory usage.
18:08 bluescreen joined #parrot
18:16 davidfetter joined #parrot
18:20 whiteknight I think I can see some potential bugs in the length calculations in Parrot_str_join
18:21 whiteknight I think we could also optimize that a little by breaking it into two methods: one where j is non-empty, and one where j is empty.
18:28 Coke whiteknight: you're going to have to do the check somewhere, for the join opcode.
18:28 Coke (splitting it out is only going to help when calling from C with an empty argument. (which is fine, I do that and could call that version)
18:32 joeri joined #parrot
18:42 ash_ joined #parrot
18:50 whiteknight Coke: splitting it out would help any time we have a j of zero length
18:52 whiteknight but I'm not going to nitpick it right now, there are lots of potential improvements and optimizations in this string code now
18:52 cotto_work whiteknight: we should make sure that everyone who contributed to 2.4 gets their name in the release announcement.
18:52 whiteknight so...everybody but me?
18:52 whiteknight :)
18:55 davidfetter joined #parrot
18:56 cotto_work There's some other stuff that the perl 5 release announcements do better too but that'd be a good start.
18:56 whiteknight cotto_work: I'm open to any ideas.
18:57 cotto_work The trick is to fix crow.pir so that maximal laziness can be preserved.
19:02 cotto_work It'd be easier with git since that lets the author and committer be different people.
19:03 whiteknight I've really been putting a lot of thought into the idea of a more distributed development workflow
19:05 cotto_work I haven't brought it up because it'll be easier to get one change accomplished at a time, but my sekrit assumption is that once we switch to git our workflow will become more distributed.
19:07 cotto_work I feel much less urgency now that ops_pct is synced again.
19:09 whiteknight it's easy enough to get a list of committers from the svn logs. But what about non-committers who submit patches?
19:10 cotto_work svn log|grep 'courtesy of'
19:10 whiteknight ...assuming all the committers use that format
19:10 cotto_work either that or troll through all the commit messages
19:10 cotto_work which is feasible though annoying
19:10 Coke something else that git will simplify.
19:11 whiteknight I may just troll through all the messages
19:11 Coke I would just be lazy and say "these committers" and everyone who submitted patches, thanks!
19:11 NotFound "pafo and his robots"
19:12 PerlJam I'd look for just "courtesy".  In the Rakudo repo there are some that say "courtesy by Fred", some that say "courtesy Fred" and some that say "courtesy by Fred"
19:12 PerlJam er, s/by/of/
19:13 fperrad joined #parrot
19:13 cotto_work I think it's more valuable to include people who've submitted patches.  People with commit bits should get recognition but we also want to show that anyone who submits code that ends up in trunk is valued.
19:14 joeri joined #parrot
19:20 ash_ joined #parrot
19:23 ntaylor left #parrot
19:24 whiteknight a grep for "++" does much better
19:24 cotto_work it's a heuristic
19:25 Coke msg chromatic - I'm going to carve up codestring into a CodeString and StringBuilder. but in the meantime, I'd appreciate your eye on your benchmark.
19:25 purl Message for chromatic stored.
19:32 nopaste "whiteknight" at 192.168.1.3 pasted "committers and submitters" (28 lines) at http://nopaste.snit.ch/20476
19:33 whiteknight that's the list I have for the month so far
19:35 Coke also bob rogers.
19:36 Coke got a one liner from him that I applied.
19:45 whiteknight rgrjr?
19:45 purl i heard rgrjr was bob rogers
19:46 Coke ... maybe?
19:56 darbelo Commit by me are unlikely to include the word courtesy.
20:00 TimToady phone
20:09 iblechbot joined #parrot
20:18 theory joined #parrot
20:37 Coke bacek++
20:45 Coke hey, PDD28 probably needs to be updated to discuss immutable.
20:46 s1n i read about the discussion to switch to a different vcs for parrot...
20:46 s1n can i ask, what motivated this desire to change?
20:47 darbelo This channel is crawling with svn-haters.
20:48 NotFound moritz: ping
20:48 moritz NotFound: pong
20:48 Coke darbelo: that's true but not entirely helpful. =-)
20:48 ash_ who is still opposed to git? just curious
20:48 moritz ash_: mostly allison, I think
20:48 darbelo s1n: Or, put another way, our development methodology is better suited to git than it is to svn.
20:49 Coke s1n: lots of us use git for other projects, and find it's faster, provides more features, and causes less headaches.
20:49 NotFound moritz: I'm checking TT #1612... str_concat has changed is last releases, can you try with trunk?
20:49 Coke NotFound: hey! do you have an opinion on git vs. svn?
20:49 NotFound I think I've found a problem, bu want to be suere.
20:49 Coke (ISTR your name was mentioned)
20:49 moritz NotFound: I believe r46316 *is* pretty much trunk, no?
20:50 NotFound moritz: uh... I misordered the numbers, sorry X-)
20:50 ash_ regarding immutability, i find it interesting that some languages (like haskell) treat all values as immutable
20:50 NotFound Lame excuse: I'm with a coldness :-')
20:51 darbelo El frio no es excusa ;)
20:51 s1n ash_: haskell has to, that's the whole point of functional languages
20:51 moritz NotFound: the last 24 hours or parrot changes seem to have destabilized rakudo - now 8 test files abort, it used to be 2 or 3 typically during the last two weeks
20:51 NotFound Coke: I think I said several times: I know very few about git, but I can learn.
20:52 s1n Coke: what do you think git will provide that svn doesn't for your development model?
20:52 ash_ s1n: i know, its interesting though, that some languages go to such an extreme that all variables are immutable, i wonder what advantages you get for making everything immutable
20:52 NotFound moritz: I think the problem is that now str_concat allow null, but it calls str_copy wich not,
20:52 dalek TT #1612 created by moritz++: parrot change between r46273 and r46316 cause Rakudo regression
20:52 dalek TT #1612: http://trac.parrot.org/parrot/ticket/1612
20:52 darbelo ash_: That idea is, technically, older than most programing languages in use today.
20:52 dalek TT #1613 created by moritz++: Random segfault in rakudo spectests
20:52 dalek TT #1613: http://trac.parrot.org/parrot/ticket/1613
20:52 s1n ash_: it's not very functional if they're not immutable, it'd just be a wonky language otherwise
20:53 moritz ash_: in theory you get very cheap threading
20:53 * theory his hyperthreaded
20:53 moritz ash_: immutable values can be shared between threads without locking or copying
20:53 s1n ash_: the immutability forces you to do things functionally rather than imperatively
20:54 theory *is
20:54 NotFound The current semi-immutability state is no good for stability.
20:54 Coke s1n: I am less concerned about the model for developers (we're still going to use a centralized setup, primarily), but it will improve branching/merging and the ability for people without a commit bit to fork and contribute back upstream.
20:55 darbelo Coke: That, technically, has happened before.  But has been a pain in the ass to merge back.
20:55 NotFound For the love of Budha, why are we still using enum_stringrep_one?
20:55 Coke darbelo: er, which has?
20:55 s1n how many contributors does parrot manage on average per release?
20:56 darbelo Plobsing did his framebuilder in git, prior to obtainig a +1 bit of commiting.  Merging those patches back to svn was a pain in the ass.
20:57 s1n doesn't git-svn do these types of things? would that fill the need?
20:58 tewk s1n: git-svn is a band-aid, it has limitations
21:00 tcurtis joined #parrot
21:00 darbelo We have some git-svn users, they all agree git-svn doesn't cut it.
21:01 nopaste "NotFound" at 192.168.1.3 pasted "Avoid using noninit string in Filehandle.readall" (23 lines) at http://nopaste.snit.ch/20478
21:01 darbelo IIRC, Coke also decided that git-svn isn't an improvement over svn and has stopped using it.
21:01 NotFound moritz: can you try this patch
21:01 NotFound ?
21:02 darbelo NotFound: +Inf, commit it.
21:03 darbelo Call it a cleanup, even if it doesn't fix anything.
21:03 NotFound darbelo: I was about to do that, but I'm curious.
21:08 NotFound The got_name branch of the method is tested? It doesn't look like it does what it says.
21:09 NotFound The method readall in filehandle, I mean.
21:12 darbelo Probably not.
21:14 Coke darbelo: just because I don't like git-svn isn't damning. =-)
21:14 Coke I was just expecting it to be completely git, when of course it can't be.
21:15 darbelo Coke: Yes it is damning. Anything you don't like deserves to *die*.
21:15 darbelo Or am I overstating the case?
21:15 Coke darbelo: then I suggest you watch out?
21:16 darbelo ;)
21:18 bacek Good morning, my biological friends.
21:19 * darbelo stands up and salutes at the magical coding robot.
21:20 bacek fperrad, (dynpmc OS) It was Coke who moved OS to dynpmc :)
21:20 NotFound Patch improved and applied in r46317
21:23 estrabd joined #parrot
21:23 dalek parrot: r46317 | NotFound++ | trunk/src/pmc/filehandle.pmc:
21:23 dalek parrot: cleanup FileHandle.readall method
21:23 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46317/
21:31 cotto_work bacek, were your changes all that was needed to get the bootstrapped core_ops.c working again?
21:32 bacek cotto_work, committed and pushed I think. Let me check.
21:32 cotto_work it wfm on my work box
21:32 cotto_work I guess the ops.num fix was the important one
21:32 bacek cotto_work, is it latest branch? (Culpit was in "Remove set_label/get_label")
21:33 Whiteknight joined #parrot
21:33 cotto_work ok
21:37 Whiteknight ok?
21:37 cotto_work ok!
21:37 NotFound I fail to understand what Parrot_str_copy does and why. Buffer_bufrefcountptr? Are we refocunting?
21:37 cotto_work if really slow
21:38 NotFound I also fail to understand why "If both strings are C<NULL>, then a new zero-length string is created and returned." in Parrot_str_concat
21:39 NotFound null + null = "" makes sanse for someone?
21:39 bacek NotFound, http://trac.parrot.org/parrot/ticket/1605
21:40 bacek NotFound, (concat) it is not...
21:40 Whiteknight NotFound: buffers are refcounted
21:41 bacek Whiteknight, not. Buffers are not refcounted. And never was afaiu.
21:42 NotFound INTVAL * const buffer_flags = Buffer_bufrefcountptr(d); *buffer_flags |= Buffer_shared_FLAG:
21:43 NotFound This doesn't look like counting.
21:43 bacek TT#1605 about updating docs for Buffers/Strings.
21:44 NotFound And there is some way to know when the buffer isn't not shared anymore?
21:46 darbelo Not really.
21:46 bacek NotFound, during compact_pool we drop "shared" flag on first encountered buffer. Second will set it back.
21:46 bacek If we will have "second".
21:46 darbelo So, just check the flag?
21:47 darbelo Surprisingly sane.
21:47 NotFound bacek: and if we don't have "first"?
21:47 bacek "first" in order of iterating headers.
21:48 bacek If we don't have "first" than we reclaim space :)
21:48 darbelo NotFound: An external string? Those have PObj_external_FLAG set.
21:48 NotFound Then why we need the flag?
21:49 NotFound If they are garbage collected I fail to see the need for the flag.
21:49 bacek For properly (fsvo) calculate required space for compacting.
21:50 bacek s/For/To/
21:50 NotFound Well, the real problem seems to be in str_concat anyway. If b is null it calls str_copy with a, and is NULLOk
21:51 bacek Fixed in r46319
21:51 NotFound But str_copy src isn't NULLOK
21:52 Whiteknight bacek: I thought they were in some fashion. How else does GC work with shared COW buffers?
21:52 NotFound And the new zero-length requirement disallows the obvoios solution of returning STRINGNULL
21:52 Whiteknight and now, how do they work with shared headers pointing into the same buffer?
21:52 bacek Whiteknight, single flag is enough.
21:53 darbelo Whiteknight: It does refcount, but stops counting after one ;)
21:53 bacek Whiteknight, actually 2 flags, "shared" and "moved".
21:53 Whiteknight bacek: single flag? if 10 headers point to 1 buffer, and one header gets collected, how does the collector know not to recycle the buffer?
21:53 darbelo You don't care how many strings are sharing the same buffer, just that it's >1.
21:53 Whiteknight oh shit, nevermind
21:53 Whiteknight I remember, it does a semispace copy
21:54 bacek Whiteknight, something like this. But it's not "semispace", we just allocate new Memory_Block for compacted buffers.
21:54 Whiteknight right, and copy everything to the new block, and then kill the old block
21:54 Whiteknight those are the basics of semispace
21:55 bacek Yes. But in "semispace" it usually have 2 pre-defined "spaces".
21:55 bacek And copy stuff between them.
21:56 bacek Care to take TT#1605 and update docu?
21:56 dalek parrot: r46318 | bacek++ | trunk (2 files):
21:56 dalek parrot: Use CONST_STRING in src/embed.c
21:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46318/
21:56 dalek parrot: r46319 | bacek++ | trunk/src/string/api.c:
21:56 dalek parrot: Avoid creating of empty strings in str_concat if arguments are null.
21:56 dalek parrot: NotFound++ for noticing.
21:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46319/
21:57 NotFound bacek: that does not do what the pod says.
21:58 bacek NotFound, which one?
21:58 darbelo The docs are old and wrong.
21:58 NotFound bacek: r46319
21:58 NotFound The pod says: "If both strings are C<NULL>, then a new zero-length string is created and returned."
21:59 bacek Ah... Update POD?
21:59 bacek Or replace STRINGNULL with str_new("")?
21:59 NotFound bacek: fine for me, but don't know if that will break something
22:00 NotFound Well, let's break something.
22:00 bacek make test passed on my box...
22:00 darbelo ... and all is right with the world.
22:00 bacek Hooray! NotFound++ # I like such mindset
22:01 NotFound bacek: I think the string api is in such confusing state that breaking things and reapiring appropiately is the less evil way.
22:02 bacek Agreed.
22:02 darbelo DESTROY ALL THINGS THAT STAND IN THE WAY OF UTOPIA.
22:03 NotFound But at least don't lie in the function's pod.
22:06 Hunger joined #parrot
22:07 khairul joined #parrot
22:11 Whiteknight Just do it soon
22:12 dalek parrot: r46320 | NotFound++ | trunk/src/string/api.c:
22:12 dalek parrot: synch the pod with the function change in Parrot_str_concat
22:12 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46320/
22:18 GeJ make fulltest PASS on FreeBSD 7/amd64 at trunk @ r46319
22:21 Whiteknight nice
22:24 cotto_work not promising; the second link I clicked in karthik's message was http://sdlperl.ath.cx/projects/SDLPerl/log/src​?rev=9caba57fd300f84488c8dd107ea32b053fd9851e
22:26 Whiteknight that link breaks for me, but none of the other ones I see do
22:27 cotto_work Yeah.
22:36 cotto_work Deluge just uses cgit with Trac but they don't seem too big on referring to commits.
22:37 cotto_work cgit also doesn't integrate too much with the look and feel of trac.  it is pretty speedy
22:43 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#33651), fulltest) at r46320 - Ubuntu 10.04 amd64 (g++)
22:46 Infinoid hello all
22:46 purl It's a crazy world, but hello to you too!
22:46 Infinoid any misbehaving from dalek recently?
22:46 cotto_work nafaict
22:47 Infinoid ok.  when are yall moving to git? :)
22:48 sorear Infinoid: Well, asides from the fact that it constantly disconnects and drops commits on the floor, no
22:50 cotto_work opbots trust cotto
22:50 slavorg But I already trust cotto
22:50 slavorgn But I don't trust you there, cotto_work
22:50 cotto_work opbots trust me
22:50 slavorg But I already trust me
22:50 slavorgn But I don't trust you there, cotto_work
22:50 darbelo opbots trust cotto
22:50 slavorg But I already trust cotto
22:50 slavorgn But I already trust cotto
22:50 sorear opbots trust cotto_work
22:50 slavorg But I already trust cotto_work
22:50 slavorgn Ok
22:50 darbelo opbots trust cotto_work
22:50 slavorg But I already trust cotto_work
22:50 slavorgn But I already trust cotto_work
22:51 cotto_work all happy
22:51 darbelo We are all so trustworthy...
22:51 Infinoid opbots, names
22:51 sorear names?
22:51 purl names is a bit lame at the moment because I'm not checking if the output sent to the client exceeds 510 characters
22:52 Infinoid sorear: go through the list of ops' names and op anyone who isn't already opped.
22:53 sorear Infinoid: Oh, I thought that was automatic
22:54 Infinoid it tries on join, but misses it if you join with another nick (like Infinoid_) and then change
22:58 snarkyboojum joined #parrot
22:59 ruoso joined #parrot
23:01 jjore joined #parrot
23:22 eternaleye joined #parrot
23:38 * Whiteknight just noticed that "MooseX", when converted all to lower-case, looks disconcertingly like "moo-sex"
23:38 * Whiteknight has fond memories of expertsexchange
23:39 cotto_work You don't want to leave that to a n00b.
23:40 Whiteknight no, that's definitely something I would trust an expert with
23:47 Whiteknight in fact, I may just avoid the procedure entirely
23:50 Whiteknight I may need a "for dummies" explanation of the interaction between encodings and charsets
23:50 Whiteknight because there are some things in this strings code that I just do not understand
23:51 NotFound Whiteknight: I was just discovering that now length and bytelenget does the same.
23:51 Whiteknight they are the same?
23:51 NotFound return s->strlen
23:52 NotFound So no wonder that places that logically should use length use bytelength instead and works.
23:52 NotFound This is a mess.
23:54 Whiteknight haha, yeah
23:55 NotFound We are dreaming with grapheme normalization while still doing wrong the most basic things.
23:56 cotto_work It's too bad that darbelo's so shy about removing existing code.
23:57 NotFound Removed code was a mess anyway.

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

Parrot | source cross referenced