Parrot 2.0.0 "Inevitable" released! | parrot.org | Priorities: merge branches, remove deprecations | Roadmap: icanhaz.com/parrotroadmap | Latest modified TT's: icanhaz.com/parrotbugs
Set by moderator on 9 February 2010.
00:08 patspam joined 00:09 dhg joined 00:10 contingencyplan joined 01:04 abqar joined 01:44 kid51 joined
dalek kudo/master: 5383a13 | (Solomon Foster)++ | src/core/Any-list.pm:
Protos for sub versions of min and max.
01:47
kudo/master: 542bfa5 | (Solomon Foster)++ | src/core/Str.pm:
Cheat version of Str.Num.
kudo/master: ee93de4 | (Solomon Foster)++ | src/core/Any-num.pm:
We were getting an infinite loop in Any.abs, I think possibly because .Num was returning a float instead of a Num. Work around that by calling the pir abs function directly on the value returned from self.Num.
rrot: r43958 | plobsing++ | branches/tt362 (2 files):
eliminate ImageIO.visit_pmc_now
01:57
01:58 jimk joined
dalek rrot: r43959 | plobsing++ | branches/tt362/include/parrot/pmc_freeze.h:
remove unused structs from header
02:14
02:14 hudnix joined 02:17 kid51 joined
dukeleto 'ello 02:23
plobsing yo dukeleto
dalek kudo/master: 2eb5f98 | (Solomon Foster)++ | src/core/Any-list.pm:
Add simple-minded version of uniq.
02:33
kudo/master: 07e96ba | (Solomon Foster)++ | t/spectest.data:
Turn on uniq.t.
02:44
rrot: r43960 | plobsing++ | branches/tt362 (2 files):
eliminate ImageIO.id_list
03:03
kudo/master: 3d02e7c | (Solomon Foster)++ | src/core/Complex.pm:
More Complex versions of infix:<**>.
03:07
kudo/master: cf0cfea | (Solomon Foster)++ | t/spectest.data:
Turn on power.t.
03:08
dukeleto how evil is imcc_initialize ?
i just read what it does. doesn't seem *so* evil at first glance 03:14
03:15 coke joined
dukeleto coke: ahoy 03:16
dalek parrot: cf045c9 | dukeleto++ | src/handler/plparrot.c:
Intialize IMCC and properly destroy the interpreter object
03:21
coke dukeleto: hio 03:23
dalek kudo/master: 70667a0 | (Solomon Foster)++ | t/spectest.data:
Turn on lc.t, uc.t, and e.t.
03:36
03:40 jsut joined 03:41 janus joined
dalek rrot: r43961 | plobsing++ | branches/tt362/src (2 files):
abstract away ImageIO-specific details from visit and thawfinish loops and move these out into src/pmc_freeze.c
04:25
rrot: r43962 | plobsing++ | branches/tt362/src/pmc/imageio.pmc:
eliminate ImageIO.extra_flags and ImageIO.pmc_result
04:58
05:26 patspam joined
dalek rrot: r43963 | plobsing++ | branches/tt362 (3 files):
add ImageIOSize PMC type to efficiently get the size of an image. see tt362 for why.
05:47
05:50 woosley joined 06:33 kurahaupo joined 07:02 AndChat| joined 07:03 uniejo joined 07:27 viklund joined 07:59 iblechbot joined
dalek rrot: r43964 | gerd++ | trunk/config/gen/makefiles/root.in:
extend the changeset r43950 to add all dependency; reflecting ticket 644
08:14
TT #644 closed by gerd++: target 'make hello' broken 09:00
09:15 nbrown joined 09:32 bacek joined
bacek aloha 09:45
Austin Good morning, Bacek
bacek Austin, it's 20:45 here :)
Austin Yeah, but when did you wake up? 09:46
Morning is a state of mind.
bacek about 12 hours ago... 09:47
Austin Oh, well. 09:48
Good evening, then.
How's things in the southern hemisphere?
bacek Pretty well. Today is first dry day in about couple of weeks.. 09:49
Austin Really?
And you posting those sunny day at the beach photos!
bacek Just to remember my self how it should be in summer. 09:50
Austin :)
Did you cut your grass today?
bacek (And annoy people from other side of the World of course)
Austin sings, "Conjunction Junction! What's your function?"
09:51 KingOfKarlsruhe joined
bacek I don't have front/back yard anymore. 09:52
So, no grass cutting. Just enjoying beer.
mikehh t/benchmark/benchmarks.t - Failed test: 9 - Failed test 'examples/benchmarks/freeze.pasm' - Segmentation fault
all other tests PASS (pre/post-config, make corevm/make coretest, smoke (#32203), fulltest) at r43964 - Ubuntu 9.10 amd64 (g++ with --optimize)
Austin Is this because of your move closer to work? 09:56
Or did you make some kind of horrific lawn maintenance error?
bacek I moved close to work. 5 minutes to drive.
Austin Yeah, I remember you mentioning that. 09:57
10:01 AndyA joined
bacek mikehh, I can't reproduce it on i368... 10:08
mikehh also fails on gcc (with --optimize) at r43964, passed at r43954 10:09
bacek I suspect r43956 10:12
sigh...
chromatic That was my fear too. 10:15
10:15 nbrown joined
mikehh also fails gcc without --optimize 10:21
nopaste "bacek" at 114.73.21.243 pasted "Patch for buffers aligned size" (87 lines) at nopaste.snit.ch/19621 10:22
bacek mikehh, can you test nopasted patch?
(I will commit it anyway, but I want to be sure that this is actually fix crash) 10:23
nopaste "mikehh" at 94.11.186.149 pasted "backtrace for examples/benchmarks/freeze.pasm" (37 lines) at nopaste.snit.ch/19622 10:24
mikehh applying the patch now 10:25
bacek ermm.. backtrace looks exactly as without r43956 applied. 10:26
bacek confused
purl You won't be after this episode of Soap!
bacek Austin, (TT#1445) Just add it and get cheap karma! 10:27
10:30 joeri joined
chromatic We have six open defects in Coverity; I think I've closed three of them. 10:32
I'll commit after the release on Tuesday. 10:33
bacek We have 619 open trac tickets. Can you close 300 of them? :) 10:35
It's same ratio as in Coverity!
10:36 gaz joined
dalek TT #1445 created by Austin_Hastings++: Add ResizableStringArray.get_number VTABLE function 10:39
rrot: r43965 | bacek++ | branches/sys_mem_reduce:
Branch to remove/reduce usage of sys_mem_allocate set of functions. Just because there is no such thing as 'system memory' in GC world. TT#1402
10:41
mikehh bacek: same results with the patch 10:44
bacek sigh... 10:45
nopaste "bacek" at 114.73.21.243 pasted "Additional patch" (25 lines) at nopaste.snit.ch/19623 10:46
bacek mikehh, can you also apply second patch? 10:47
On top of first one
mikehh bacek: ok that works 10:58
bacek mikehh++
mikehh make test passes, benchmark_tests PASS 10:59
haven't tried the rest of fulltest ;-}
bacek Too late. I've committed it into svn :)
r43966 11:00
dalek rrot: r43966 | bacek++ | trunk/src/gc (3 files):
Remove aligned_size. Always use aligned_string_size for buffers to avoid crashes in compact_pool
11:14
11:31 mikehh joined, payload joined
mikehh had to reboot - checking i386 first 11:32
All tests PASS (pre/post-config, make corevm/make coretest, smoke (#32205), fulltest) at r43966 - Ubuntu 9.10 i386 (g++ with --optimize) 11:47
ok hrading back to amd64 - bbiab 11:48
11:58 bluescreen joined
Austin Where is Exception::new being defined? 12:17
bacek VTABLE_init(_pmc)? 12:18
Austin Hmm...I'll say no. 12:19
The only things in the namespace at startup are 'annotations' and 'backtrace'. 12:22
Somebody is putting it there...
bacek new "Exception" == op new 12:23
Austin Right. But there's a "new" method in the namespace. 12:25
Apparently I'm putting it there, but I don't know how.
:(
12:27 mikehh joined
bacek "runtime/parrot/library/Parrot/Exception.pir" 12:27
this one?
purl i heard this one was bugged too now
bacek purl forget this one
purl bacek: I forgot this one
Austin Could be, since my test code is run inside nqp. 12:30
Yep. Right at the top of my file, it's already defined. 12:31
Bacek, Exception is declared as "pmclass Exception auto_attrs {..." Does that mean it inherits only from default.pmc ? 12:43
12:59 sri joined
mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#32207), fulltest) at r43966 - Ubuntu 9.10 amd64 (gcc with --optimize) 13:00
13:03 kid51 joined
dalek TT #1446 created by Austin_Hastings++: Exception PMC 'clone' does not work 13:06
13:50 whiteknight joined
Austin Howdy, Whiteknight. 13:50
whiteknight good morning, Austin 13:52
Austin Effing git. Why would anyone expect that having cloned a repository, I might want to push back to it? What possible reason could there be for sharing the write info at the same time? Idiots. 13:54
whiteknight Yeah, I've noticed that in a lot of cases Git is not nearly so easy and intuitive as I had been lead to believe 13:55
I won't argue with it's power or capability, but I'll be damned if it's easy
Austin :)
git--
whiteknight For instance, I almost never use branches on git because it's far too complicated to work with them 13:56
Austin :-O
whiteknight and if I recall, branches are supposed to be the big selling point
Austin Actually, I don't mind the branching model. It's free-form, but it's supposed to be. It's all the "stodgy corporate luser" stuff that I desperately need that doesn't work without a great deal of crank turning and swearing. 13:57
dalek kapo: bffafc6 | austin++ | (42 files):
Created a much smaller 'base' library with minimal structure - mainly pmc types. Reorged some source, moving things into Internals and Parrot dirs. Added more bootstrap tests.
Austin And now I'll have to create a release history file for Kakapo, since I've just tagged release-1. (And discovered that it's not a good release, since it lacks a release history file, among other things.) 13:58
whiteknight Austin: exactly. I routinely work on two computers, and I find sharing branchwork between them is a huge hassle
I do still prefer git in many cases, but my workflow has changed dramatically because I just can't easily do the things I want (or remember all the millions of commands and CLI arguments that make those things happen) 14:03
Austin Put it in your makefile. 14:05
:)
whiteknight I'm going to slowly build up a library of aliases to make git act more like svn when I need it 14:06
14:10 bluescreen joined 14:11 shockwave joined
shockwave What's the name the print function equivalent to C's print, which takes format specifiers? 14:13
This is in PIR. 14:14
Austin No such animal. 14:16
whiteknight parrot has an sprintf
Austin shockwave: Try the String sprintf op, then use say
whiteknight sprintf + print does what you need
Austin (or print)
shockwave I'll look at sprintf. 14:17
Thanks.
whiteknight Austin: TT #1446, what do you suggest to be the solution? implement clone, or implement freeze/thaw? 14:18
Austin I didn't look that far, and I don't really understand what freeze/thaw is about.
I do know a bunch of people hate it. 14:19
For Exception, clone seems like a no-brainer.
whiteknight freeze/thaw is the serialization feature. Freeze turns a PMC into a byte buffer suitable for saving to a file, for example. Thaw turns that byte buffer back into a live PMC
Okay, we can probably add Clone to it
14:21 lucian joined 15:12 mikehh joined 15:15 PacoLinux joined 15:21 cognominal joined 15:23 bubaflub joined 15:28 mikehh joined 15:32 payload joined 15:37 Psyche^ joined
dalek kapo: 1900cf2 | austin++ | (6 files):
Added README, VERSION files, plus basic tests for String.nqp
15:37
shockwave !paste 15:52
nopaste "shockwave" at 76.119.137.239 pasted ".sub 'foo' :method # var x = 2" (10 lines) at nopaste.snit.ch/19624 15:56
shockwave Does anyone know if IMCC, or some underlying system of Parrot, optimizes code like this: 15:57
nopaste.snit.ch/19624
whiteknight shockwave: what kinds of optimizations, like constant folding or pre-computing? 15:58
in either case, the answer is probably "no" 15:59
shockwave dang
ok
whiteknight shockwave: does seem like the kind of thing that could be optimized though
shockwave @whiteknight, at some point, I'm hoping my compiler will perform those optimizations. But for now, it doesn't do them. 16:00
And that's the kind of code that it currently spits out.
Hopefully, it will be good enough.
whiteknight shockwave: if you wrote an optimization add-on to PCT that does this, all languages would benefit
shockwave I'm not using PCT.
whiteknight well, I'm sure if you wrote a class to do it, it could be used in PCT anyway 16:01
my point is, the more people who could benefit from the work, the more help and support you could get
shockwave No doubt.
What language is PCT written in? 16:02
whiteknight PIR and NQP mostly, I think
16:03 theory joined
shockwave My compiler is written in C++. Because of its architecture, I don't know if an optimizer for it would translate to PCT. But if it could, and when I do it, maybe it can be added to PCT in some way. 16:03
whiteknight does your compiler link to libparrot? 16:04
shockwave no
whiteknight oh, so it would be hard then. Nevermind
16:07 rblackwe joined 16:08 NotFound joined
NotFound hi 16:08
purl hey, NotFound.
16:34 payload joined 16:38 payload joined 16:39 darbelo joined
dalek kudo/master: c65c28b | (Martin Berends)++ | docs/compiler_overview.pod:
[docs/compiler_overview.pod] over 80% updated for new master (former ng)
16:55
whiteknight just found a beautiful function that's over 550 lines long 17:22
darbelo So much beauty! 17:23
17:25 tetragon joined
cotto whiteknight, where? 17:26
purl i think whiteknight, is the win64 build working?
whiteknight cotto: in code at work, not Parrot
cotto forget whiteknight,
purl cotto: I forgot whiteknight,
whiteknight luckly all Parrot developers know better 17:27
whiteknight?
purl rumour has it whiteknight is mailto:wknight8111@gmail.com or the grand master funk or wknight8111.blogspot.com/
cotto whiteknight, do you read the daily wtf? It sounds like you've got some submission-worth stuff.
whiteknight cotto: yeah, I read it every day. There are a few gems I have considered posting
bubaflub the code on the dailywtf really hurts my soul sometimes 17:28
17:35 chromatic joined 17:40 kurahaupo joined
whiteknight I have finally gotten suncc to work on my opensolaris VM 17:46
apparently it doesn't play too nicely with gcc
chromatic OpenSolaris doesn't play nicely with GCC? 17:47
darbelo I would guess that we don't know the proper incantations to gcc on OpenSolaris. 17:49
Sun has this habit of shipping several subtly different libraries, and always linking to the wrong one. 17:50
whiteknight chromatic: well, on install they both try to gobble up the alias "cc" 17:51
suncc was having some kind of conceptual difficulty realizing that it wasn't called "cc"
darbelo Oh, I misread. Sorry, 17:52
chromatic Other than that, how did you enjoy the play, Mrs. Lincoln?
whiteknight how do I tell Configure.pl not to build the cgoto core? 17:53
suncc freaks out trying to build that
nevermind, --cgoto=0 17:54
I tell you what, the more I use opensolaris, the less I like it 17:55
17:58 cognominal joined
cotto_work good morning #parrot 17:59
17:59 davidfetter joined 18:15 gaz joined
cotto_work darbelo, you ready to rock the release? 18:26
18:32 whiteknight_ joined 18:33 whiteknight_ joined
cotto_work alternaltely, you could release the rock. 18:45
darbelo cotto_work: Haven't updated NEWS yet. Other thatn that I think we're good to go tomnorrow. 18:49
I'm aiming for a few hours before #parrotsketch.
18:51 payload joined 18:52 bacek joined 19:01 joeri joined 19:07 whiteknight joined 19:10 KingOfKarlsruhe joined
bacek morning... good morning 19:15
whiteknight hello bacek
bacek aloha whiteknight 19:16
whiteknight I saw that TT #1443 fix, very nice
bacek whiteknight, yeah. Apparently I forgot to update couple of other places. So final fix was done yesterday with help of mikehh++ 19:18
whiteknight nie
nice
bacek cursing day when I decided to look at parrot GC
whiteknight you're doing a great job with it though 19:19
can never have too much cleanup
bacek Why? Ideal program with 0 lines code requires no cleanup! 19:20
whiteknight the whole string compactor thing is such a damn mess. That's where we need to do most cleanup
cotto_work no garbage, no collection
whiteknight somehow I don't think Rakudo will run on that "ideal" parrot
darbelo whiteknight: Sure it will, they'll just need to write a few wxtensions ;) 19:21
s/wx/ex/
bacek string compactor isn't so bad actually. 19:22
Only one problem - looks like it's called too early in mark&sweep phase. 19:23
whiteknight really? I dont remember where it gets called
dalek TT #1447 created by allison++: [NQP-rx] failure to capture two duplicate subrules in the same rule 19:26
bacek I just watched total_size inside this function. Pattern is like big chunk/small chunk/big chunk/small chunk 19:27
chromatic How much time do we spend compacting pools? Does it help? 19:30
bacek no idea 19:32
19:33 payload joined
whiteknight i've wanted to get profiling numbers on it for a while 19:40
the alternative is, I suppose, just using raw malloc/free calls to allocate string guts
I would actually suspect that's faster 19:41
19:44 plobsing joined
cotto_work Parrot_gc_compact_memory_pool isn't showing up in the callgrind profile, in spite of being called 11 times when compiling tools/dev/pprof2cg.nqp 19:47
actually, all that shows up is a single call to it, but no info about the function itself. 19:48
19:49 ash_ joined
cotto_work nm 19:49
just needed to make kcachegrind display more items. 19:52
Parrot_gc_compact_memory_pool takes up ~.869% of the time spent compiling tools/dev/pprof2cg,nqp. 19:54
whiteknight okay, so it's obviously not too too expensive 19:56
as an experiment I would eventually like to see what happens to runtime performance if we rip it out completely and replace with free() and malloc() calls 19:57
cotto_work branches are cheap 19:58
20:02 kurahaupo joined
whiteknight yeah, I'll get around to doing it eventually 20:04
kurahaupo pwd 20:05
kurahaupo is obviously lost -- not only wrong directory, but wrong window too. 20:06
cotto_work It's too bad purl doesn't reply to short messages 20:10
darbelo pwd? 20:11
purl /home/darbelo/private/naked-monkey-photos
darbelo pwd
kurahaupo :-) 20:12
darbelo That '?' makes the difference, apparently.
ash_ doncha hate when your you change windows and are apparently writing over what your working on with cd somedir
kurahaupo huh? 20:13
ash_ yeah, apparently i fail at english today 20:14
i meant to say, don't you hate when you change windows and are apparently writing over what your working on, as in you accidently end up on your text editor instead of the terminal 20:15
kurahaupo (purl doesn't know "huh")
kurahaupo wonders how 1 missed focus and 4 keystrokes can derail #parrot 20:17
ash_: don't ask "who is purl", you don't want to know :-) 20:18
tewk Anyone know of a cpan package that wraps git for scripting etc? 20:19
ash_ as a simplification layer or as a library call? 20:20
tewk ash_, I'm interested in both, but a simplification layer 20:21
ash_ cogito is something worth looking into if you want a simplification, its even made by the developers of git 20:22
url: git.or.cz/cogito/
oh, umm wow, just realized it's apparently been deprecated so... that might not be worth looking into, sorry about that, i need to stop using it (or find a replacement) 20:23
tewk: git.wiki.kernel.org/index.php/Inter...dsAndTools has a list of front ends to git if you want to look there 20:25
20:26 kurahaupo joined 20:28 hercynium joined
whiteknight purl msg Coke can you take a look at the "depends" branch? It's 7 months old and appears to be dealing with dependencies, which I know you've been taking a fresh stab at 20:53
purl Message for coke stored.
whiteknight bacek: ping
bacek whiteknight, pong 20:54
whiteknight bacek: the "pmc_i_ops" branch, what's the status on that?
I suspect it's getting unviable
chromatic sets the linker on fire
bacek Waiting for architect decision.
chromatic In theory, you can tell GNU ld to use an improved hashing algorithm to reduce relocation collisions. 20:55
In practice... will it do so? You tell me.
bacek It's basically replacing 3-arg VTABLEs in terms of 2-args
whiteknight bacek: can we ping allison to make her remember the question?
purl msg Util what's the status of the "autoprops" branch? Doesn't look like any activity in 4 months. Probably better to delete and replace with a fresh branch if needed? 20:56
purl Message for util stored.
bacek whiteknight, why not? 20:57
whiteknight bacek: does it have a ticket associated with it?
bacek whiteknight, probably no...
whiteknight seen rblasch?
purl I haven't seen 'rblasch', whiteknight
whiteknight purl msg pmichud: what's the status of the dectx branch? Looks like no movement in 2 months. Might be better to delete this and create a fresh branch if you need to do work? 20:58
purl Sorry, I've never seen pmichud before.
whiteknight purl msg pmichaud: what's the status of the dectx branch? Looks like no movement in 2 months. Might be better to delete this and create a fresh branch if you need to do work? 20:59
purl Message for pmichaud stored.
whiteknight I really wonder what's the value of the old vc9 branch? 21:01
GeJ Good morning everyone!@#
whiteknight It's basically 10,000 revisions old, and predates 1.0.0
cotto_work You can always take a diff from the most recent sync point and see what it changes. 21:02
btw, whiteknight++ for spring cleaning
dalek rrot: r43967 | whiteknight++ | branches/vtable_massacre:
this branch has been merged to trunk
21:05
rrot: r43968 | whiteknight++ | branches/tt_1020:
deleting an old branch that was never used and is now woefully out of date
cotto_work There's not much love for TT #1020. 21:06
chromatic allison had some ideas about it.
whiteknight it was quite ambitious. Maybe overly so
I like the idea but I worry about the performance implications
anyway. Heading home. Later 21:11
21:15 payload joined 21:33 Psyche^ joined
dalek rrot: r43969 | bacek++ | trunk/compilers/pirc/src (9 files):
Add headerizer directives to PIRC
21:37
rrot: r43970 | bacek++ | trunk/src/pmc_freeze.c:
Add headerizer into pmc_freeze.c
rrot: r43971 | bacek++ | trunk/compilers/pirc/src (9 files):
Add more headerizer directives into PIRC and rerun headerizer
rrot: r43972 | bacek++ | trunk (2 files):
Make headerizer happy with Parrot_gc_sys_name.
rrot: r43973 | bacek++ | trunk/src (2 files):
Rerun headerizer
chromatic Rakudo precomiling Test.pm to Test.pir spends 9% of its execution time managing COW STRINGs. 21:40
11.66% of its time sweeping GC pools. 21:42
21:48 bacek joined
bacek chromatic, can we have immutable strings please? 21:49
chromatic Love to. 21:51
cotto_work headerizer is more complainey than normal 21:54
but it works, so bacek++
dalek TT #1423 closed by cotto++: pirc breaks headizer 21:56
cotto_work and only now do I notice that I spelled "headerizer" incorrectly
22:06 patspam joined 22:07 Whiteknight joined
chromatic Hm, some low-hanging fruit in the String PMC. 22:08
22:10 shillo joined
Whiteknight ? 22:12
do tell
22:14 shillo joined
chromatic Removing extraneous COW copies by replacing get_string() calls with attribute access. 22:15
Coke msg Whiteknight see trac.parrot.org/parrot/wiki/BranchDescriptions - that's petdance's branch. trac.parrot.org/parrot/changeset?ne...0372@trunk shows that there's not much worth saving over the current state. (I'd ask petdance if he wants to save it.) 22:24
purl Message for whiteknight stored.
Whiteknight Coke: okay, thanks. 22:25
dalek rrot: r43974 | plobsing++ | branches/tt362 (5 files):
use ImageIOSize in Parrot_freeze_size

this completes the todo item in this function and satisfies tt362
22:27
Coke Whiteknight: I wrote that page/tool to show who is working/worked on the branch so you can target those sorts of "who is the person to talk to about this branch" emails. (I'm fine with getting pinged on depends since I am working on that; the vc9 one you could probably have just bounced off Bob. 22:28
Whiteknight Coke: I've been trying to ping the correct parties on most branches, I pinged you on this one because I haven't seen petdance in a while and you're working on the makefile 22:29
pmichaud purl msg whiteknight dectx branch can be destroyed -- I don't need it for anything 22:41
purl Message for whiteknight stored.
Whiteknight thanks, will do
done 22:44
cotto_work pmichaud, when will you have time to look at the ops_pct branch? 22:47
pmichaud cotto_work: don't know. I'm a bit behind on rakudo stuff at the moment and have a slight cold to boot :( 22:50
I'm only operating at about 60% efficiency, I think :(
I'll try to take a look tonight or tomorrow morning (more likely tomorrow after sleep)
cotto_work sounds fine 22:57
dalek kudo/master: 8564837 | (Solomon Foster)++ | src/core/Any-str.pm:
Add trim-leading and trim-trailing, and reimplement trim in terms of them.
22:59
kudo/master: 4246be2 | (Solomon Foster)++ | t/spectest.data:
Turn on trim.t.
rrot: r43975 | whiteknight++ | branches/dectx:
removing unused branch on request from pmichaud++
23:01 payload joined
dalek kudo/master: cfe8cb3 | chromatic++ | (7 files):
Merge branch 'master' of git@github.com:rakudo/rakudo
23:05
kudo/master: 1c51479 | chromatic++ | build/Makefile.in:
[build] Fixed PMC include path when building bind.c.
23:06
kudo/master: e5f4b23 | chromatic++ | src/binder/bind.c:
[binder] Fixed compiler warnings.
kudo/master: 448a825 | chromatic++ | src/pmc/perl6multisub.pmc:
[PMC] Fixed compiler warnings.
kudo/master: ee1e518 | chromatic++ | (2 files):
Merge branch 'master' of git@github.com:rakudo/rakudo
23:06 dolmen joined 23:10 cotto_work joined 23:12 payload joined
chromatic Signs you have a lousy hashing implementation: when you reduce the number of GCables created, but performance decreases because of more hash collisions and more hash bucket chain walking. 23:16
cotto_work lta 23:17
Whiteknight hash algorithm should be easy enough to change, right? 23:24
chromatic Yeah, it ought to be.
darbelo We don't know if it actually is, though. 23:25
Whiteknight it should be properly encapsulated behind a clean function or two
darbelo Maybe it is, I try to not look at hash internals too much.
chromatic It's pretty precarious. 23:26
wagle if i want to do a find_name, and want to catch the exception if it doesn't exist, which of the exception handling instructions do i use? 23:28
Whiteknight goddamnit, why can't any of these older subsystems have been coded to any level of quality?
wagle: push_eh and pop_eh 23:29
wagle goes off to stare at those the hardest for a bit 23:30
Whiteknight wagle: find_method_not_null might be interesting too 23:34
wagle generic pmc.. actually, i want to die if its set, not die if its not.. i think.. 23:35
or else I might change my tactics entirely.. but thanks, will look at that 23:36
23:36 lucian joined 23:37 cotto_work joined
wagle docs need examples.. whats the simplest way to say something like: throw "aieeee!" 23:39
wagle is learning pir 23:40
Whiteknight I think that's exactly it: throw "aieee!"
wagle doesnt like it
davidfetter catches an "aieee!"
wagle The opcode 'throw_sc' (throw<1>) was not found. Check the type and number of the arguments
darbelo segfaults
purl No whammies!
darbelo wagle: You want to throw an Exception, not a string. 23:41
Whiteknight no
$P0 = new ['Exception']
$P0['message'] = "aieee"
throw $P0
wagle makes sense thanks
Whiteknight I thought we had a throw_s form 23:42
we do have die_s, that makes for lousy symmetry
cotto_work Such a form could be added easily enough.
but then it wouldn't have any type information or severity 23:43
Whiteknight cotto_work: for most uses, those things aren't needed or wanted anyway 23:44
and it's not like you couldn't construct an exception "the long way" too
darbelo Does anyone know what was the purpose of bacek's orederedhash_revamp branch was?
Other than revamping OrderedHash.
bacek_at_work darbelo, replace hackish implementation with not-so-hackish one 23:45
cotto_work make the internals less hacky iirc
Whiteknight yeah, the internals are much cleaner now
darbelo But the interface changed, didn't it?
bacek_at_work darbelo, little bit. 23:46
It actually same apart from iterating over OH with removed keys.
darbelo Ok. I guess I'm done with NEWS for today then. 23:47
wagle howcome I cant do: \t$P0['message'] = concat "aieeee!","foo" 23:52
Whiteknight wagle: it's an assembly language. Too low-level 23:53
$S0 = concat "aieee!", "foo"
wagle isnt that a basic/simple assignment?
Whiteknight $P0['message'] = $S0
wagle guessnot
Whiteknight no, it's two operations: the concat and the indexed assign
wagle hokeh 23:54
23:54 payload joined