Expletive/Objects and pdd15

2004-03-27 Thread Harry Jackson
In PDD 15 it says Creating a new class with attributes Adding the attributes a and b to the new class Foo: newclass $P0, "Foo" addattribute $P0, "a", "Foo::a" # This is offset 0 addattribute $P0, "b", "Foo::b" # This is offset 1 maybe I'm just being a numpty but should this not be Creatin

Re: Dependency cleanup in generated makefile

2004-03-26 Thread Harry Jackson
get this running for ages and got absolutely nowhere with it, it was like walking in a minefield. Harry -- Regards, Harry Jackson.

Re: Objects and time

2004-02-23 Thread Harry Jackson
Leon Brocard wrote: Dan Sugalski sent the following bits through the ether: > Objects please! I would second that. I would prefer a cool release to a cool date ;-) Harry Jackson

Re: Backward branch, warnocked.

2004-02-03 Thread Harry Jackson
Dan Sugalski wrote: Your code is fine. It *should* work. That it doesn't is a bug, which needs fixing. For now you're going to have to work around it. I would have swore the code was wrong. Am I being naive thinking that a call to a sub is different than what looked like a call to a label. On fur

Re: Some minor decisions and timetables

2004-02-03 Thread Harry Jackson
Dan Sugalski wrote: Okay, here's a quick scoop and status. *) I'd like to shoot for a Feb 14th release. Names wanted. (I'm partial to the bleeding heart release, but not that partial) You can always find some reference to a bird in it somewhere http://www.newadvent.org/cathen/15254a.htm We coul

Re: Backward branch, warnocked.

2004-02-03 Thread Harry Jackson
Pete Lomax wrote: Leo clarified this as a problem with backward branch circa 3/12/03: Sorry to be a pain in the butt, but I need to be told that there has been no improvement in the last two months on this ;-( ..sub _main goto L1 test: $I1 = 1 ret L1: $I2 = 2

Re: Messages delayed, out of order

2004-01-29 Thread Harry Jackson
Simon Cozens wrote: I think the mail servers for cpan.org/perl.org are having to shift rather a lot of mail at the moment, for some reason. For those that are unaware there is currently a rather serious virus in the wild at the moment and a lot of mailing lists are being afffected. I think its ca

Re: Problem during "make test"

2004-01-19 Thread Harry Jackson
Leopold Toetsch wrote: Harry Jackson <[EMAIL PROTECTED]> wrote: RHAS 2.1 dev edition Harry, do you still see these hanging parrot programs? chromatic, do you run a DeadRat (sorry) linux too? RedHat is well known to provide b0rken patches to otherwise running software. Could you try to u

Re: cvs commit: parrot/imcc imcc.l

2004-01-18 Thread Harry Jackson
Melvin Smith wrote: At 08:44 PM 1/9/2004 +, Harry Jackson wrote: So, are they staying, staying for now or not sure yet? I have a few hundred lines of imcc that uses macros and if they are being removed then I would rather change now and save myself some pain later. I think we are going to

Re: [PATCH] Fix imcpasm tests on Win32

2004-01-17 Thread Harry Jackson
Leopold Toetsch wrote: Jonathan Worthington <[EMAIL PROTECTED]> wrote: The attached patch fixes a problem in imcc/TestCompiler.pm which was causing all imcpasm tests to fail on Win32. Applied, as well as the icu.pl patch. [ Please provide patches relative to parrot root to simplify applying ]

Re: postgres lib

2004-01-16 Thread Harry Jackson
Dan Sugalski wrote: At 2:59 PM +0100 1/16/04, LF wrote: hello i noticed that harry jackson is writing a postgres interface to wrap the nci functions. i'd like him to show what he's written so far and give his comments guess i'm not the only one hoping to test it Just somet

Re: The todo list

2004-01-15 Thread Harry Jackson
Dan Sugalski wrote: Folks, I got reminded the other day that we have a full, working RT installation (as everyone's probably noticed with the tickets that fly past on occasion) and, well, we ought to use it. What I'm going to start doing is putting in tickets for the tasks that need doing, that

Re: Parrot String Doc

2004-01-13 Thread Harry Jackson
Stéphane Payrard wrote: Le Tue, Jan 13, 2004 at 03:06:18PM -0600, le valeureux mongueur Robert Eaglestone a dit: OK, I'm looking at the Parrot String documentation, and I've got questions. It's not like the docs are a total mess, they just need some fleshing out. Yeah, that's it. So here I go.

Re: Docs and releases

2004-01-13 Thread Harry Jackson
Mark Solinski wrote: I'm also a shy lurker but would love to help in any way I can. I have twenty+ years experience in C/C++/OOP. Is there a reasonable place to start? Bloody hell man, what took you so long ;-). With that amount of experience, take your pick. http://www.parrotcode.org/todo Har

Shy Lurkers

2004-01-13 Thread Harry Jackson
Ok. So far we have had 7 replies to the shy lurker post, oops another one just posted, in the word of Mr. Burns "excellent". As to how much elbow grease we can muster between us is open for debate. If you have sent me a message and did not receive a reply please resend the message. We all agree

Re: Shy Lurking

2004-01-13 Thread Harry Jackson
Robert Eaglestone wrote: Well, I may be shy, and I may lurk, but I'm willing and able to contribute. I've coded C professionally, on and off, since 1992, and I like to tinker with things, and I'm not too terrible at documentation. I think a good place to start digging in would be updating docs,

Re: Docs and releases

2004-01-13 Thread Harry Jackson
Paul Cochrane wrote: If there are any shy lurkers out there please speak now or forever hold your peace. I'll admit to being a shy lurker... (and have rudimentary C knowledge, but a bit low on the elbow grease atm :-/) Another one, we are getting more and more of them pop up from all over the

Re: Docs and releases

2004-01-12 Thread Harry Jackson
Dan Sugalski wrote: At 5:01 PM + 1/12/04, Harry Jackson wrote: Tim Bunce wrote: and am always worried about making an ass of myself when posting. Dammit, and here I was trying to lead by example. It's OK! :) Smoothing the path for newcommers, of both types, is very important. I

Re: More object stuff

2004-01-12 Thread Harry Jackson
Harry Jackson wrote: The following shows roughly what I had to do to display it. I am using a global HASH called MetaData that stores various bits about the current statement being executed. Sorry: missed a bit The MetData is where I get the TupleData Array and the associated FieldData Array

Re: More object stuff

2004-01-12 Thread Harry Jackson
Dan Sugalski wrote: At 4:50 PM + 1/12/04, Harry Jackson wrote: done similar to 80 getnext: 81 82 .pcc_begin prototyped 83 .pcc_call fetchrow_hash 84 nextrow: 85 .result rowhash 86 .result answer 87

Re: Questions about abstract pmcs

2004-01-12 Thread Harry Jackson
Dan Sugalski wrote: Which brings up a question. What's the difference between .local and .sym? I was hoping someone would ask this. Harry

Re: More object stuff

2004-01-12 Thread Harry Jackson
e to add a few nice features to it if anyone can think of any. I doubt if any of the functionality that currently exists will be changed but this is not up to me, all that stuff is at a much higher layer of abstraction than where I am currently digging. Harry Jackson

Re: Docs and releases

2004-01-12 Thread Harry Jackson
Robert Eaglestone wrote: Yes, I'm a shy lurker. Are there any more, don't be shy, there might be a lot of barking but no one bites at least I have not had anyone bite me _yet_. Is there anyone on the list who wants to help but does not know where to start. If you are really that shy email me off

Re: More object stuff

2004-01-12 Thread Harry Jackson
Jeff Clites wrote: On Jan 12, 2004, at 8:07 AM, Harry Jackson wrote: Dan Sugalski wrote: Having a fetchrow_hash that returned a Hash where the keys are the column names and the values are the column values would be most of the rest. I read somewhere that accessing a hash was slightly slower

Re: Docs and releases

2004-01-12 Thread Harry Jackson
e tasks etc and was dismayed to find none. There are no lists of things anywhere although I believe Leo compiled one which got warnocked. I know its a pain but a list of easy to complete tasks would be rather helpful for any shy lurkers with some pointers on where to start maybe not now but later.

Re: More object stuff

2004-01-12 Thread Harry Jackson
h 86 .result answer 87 .pcc_end where each call to the function will return the hash containg the next rows data. Do you have any requests for anything else on, around or near this before I start. I should be able to ruffle something up pretty quickly. Harry Jackson Disclaimer: Th

Re: More object stuff

2004-01-12 Thread Harry Jackson
;d love to be. It is entirely up to you lot. If you want it on a stamp I will see what I can come up with ;-) Harry Jackson.

Re: More object stuff

2004-01-12 Thread Harry Jackson
Dan Sugalski wrote: At 9:05 PM +0100 1/11/04, Leopold Toetsch wrote: Harry Jackson <[EMAIL PROTECTED]> wrote: I am at the point now where I need to know what type of format you want the data to come out in. The first question is: how are these data returned in C. For posgres, that&

Re: More object stuff

2004-01-11 Thread Harry Jackson
Harry Jackson wrote: Dan Sugalski wrote: > getting back a full row as an array, getting back a full row as a hash, and stuff like that. Nothing fancy, and nothing that high-level, but enough to work the basics without quite as manual work as the current libpg requires. OK. I am at

Re: More object stuff

2004-01-11 Thread Harry Jackson
80s Any requests, pointers, advice, abuse or general chit chat welcome. Harry Jackson

Re: Some imc questions

2004-01-11 Thread Harry Jackson
Leopold Toetsch wrote: Harry Jackson <[EMAIL PROTECTED]> wrote: 251 .local pmc CONN 252 .local int int_answer 253 print "About to Connect\n" 254 P0 = C[0] 255 S5 = s 256 invoke 257 CONN = P5 Calling the sub is something lik

Some imc questions

2004-01-10 Thread Harry Jackson
I am trying to create an array of global functions from the postgres library mainly to ease passing parameters amongst other things. I have snipped some repetitive code out. I am sure that there are a few errors in the way I am using imc so any corrections or pointers would be much appreciated,

Re: nci

2004-01-10 Thread Harry Jackson
Harry Jackson wrote: I have tested the patches below now. Could someone have a look at them and see if they can get commited especially the patch to the call_list.txt file. # New in libpq.so.3.1 t pt p ptit33i i ptit33i i ptiit33i c pi I have jsut added the

Re: nci

2004-01-10 Thread Harry Jackson
I have tested the patches below now. Could someone have a look at them and see if they can get commited especially the patch to the call_list.txt file. Harry Harry Jackson wrote: Some questions Please note: I have been unable to test these patches with "make test" due to the

Re: Configure.pl Error

2004-01-09 Thread Harry Jackson
Harry Jackson wrote: I am now trying to get Parrot running on debian and have noticed the following error while running "perl Configure.pl" Determining some sizes...Linker failed (see test.ldo) at lib/Parrot/Configure/Step.pm line 233 Parrot::Configure::Step::cc_build()

Re: cvs commit: parrot/imcc imcc.l

2004-01-09 Thread Harry Jackson
Melvin Smith wrote: But, if you want macros to stay, let them stay. So, are they staying, staying for now or not sure yet? I have a few hundred lines of imcc that uses macros and if they are being removed then I would rather change now and save myself some pain later. H

Configure.pl Error

2004-01-08 Thread Harry Jackson
I am now trying to get Parrot running on debian and have noticed the following error while running "perl Configure.pl" Determining some sizes...Linker failed (see test.ldo) at lib/Parrot/Configure/Step.pm line 233 Parrot::Configure::Step::cc_build() called at config/auto/sizes.pl line 3

Re: This week's summary

2004-01-05 Thread Harry Jackson
The Perl 6 Summarizer wrote: Problems with "make test" Harry Jackson couldn't get his build of parrot to finish running "make test". After a certain amount of thrashing about by the team, Dan narrowed it down to issues with the mutant '2.96' versi

Re: Problem during "make test"

2004-01-04 Thread Harry Jackson
Leopold Toetsch wrote: Harry Jackson <[EMAIL PROTECTED]> wrote: Can someone tell me if there is an error in the code below. The code is fine. it repeatedly from the command line it sometimes freezes ie it prints the contents of the array and then just stops and I need to do a CTRL-C

Re: Problem during "make test"

2004-01-04 Thread Harry Jackson
Dan Sugalski wrote: Let us know either way -- if upgrading gcc works then we're going to have to figure out how RH/GCC2.96 is breaking things so we can make it not happen. :( I have now upgraded gcc to 3.3.2 and I am getting the same error. We are still freezing during test. I have also noticed

Re: Thread Question and Suggestion -- Matt

2004-01-04 Thread Harry Jackson
Matt Fowles wrote: I understand if this suggestion is dismissed for violating the rules, but I would like an answer to the question simply because I do not know the answer. The most admiral reason for asking a question and I doubt it will be dismissed. H

Re: Problem during "make test"

2004-01-02 Thread Harry Jackson
problem. If so, we'll need to update configure to do that automatically, since I think we're going to end up running into this for years. :( No Joy. I will upgrade gcc and see what happens. Harry Jackson

Re: Problem during "make test"

2004-01-01 Thread Harry Jackson
/2.96/specs gcc version 2.96 2731 (Red Hat Linux 7.2 2.96-108.1) RHAS 2.1 dev edition Harry Jackson

Re: Problem during "make test"

2004-01-01 Thread Harry Jackson
Leopold Toetsch wrote: Do you have a SMP machine with SMP enabled in your OS? The unpredictable behavior of your freezes makes me think, that it could be related to multi-threading. OTOH arithmetic tests or such don't utilize threads and no events are being generated. I am running a Cray X1 ( I wis

pdd16

2003-12-30 Thread Harry Jackson
I might be going mad here and maybe I have been up too long but, does: http://dev.x.perl.org/perl6/pdd/pdd16_native_call.html have two identical Parrot_callback_C and Parrot_callback_D function signatures. Harry Jackson

Re: Problem during "make test"

2003-12-30 Thread Harry Jackson
Jeff Clites wrote: On Dec 30, 2003, at 3:11 PM, Harry Jackson wrote: 2) Try running one of the tests which blocks, individually. If you can get it to happen this way, then run it in gdb and see what it's doing. (Or, attach to an already blocked one from 'make test'--this i

Re: Problem during "make test"

2003-12-30 Thread Harry Jackson
0:00 ./parrot --gc-debug -b t/op/arithmetics_4.pasm From all of this I am guessing that something has corrupted a module in Perl at least that is all I can think of. Harry Jackson

Re: Strangeness with '.sub' in macros

2003-12-30 Thread Harry Jackson
nfo *** Total memory allocated = 139264 DOD runs = 0 Collect runs = 0 Collect memory = 0 Active PMCs = 1024 Active buffers = 6144 Total PMCs = 1024 Total buffers = 6144 Header allocations since last collect = 7 Memory allocations since last collect = 1 Program exited normally. (gdb) Harry Jackson

nci

2003-12-30 Thread Harry Jackson
Some questions Please note: I have been unable to test these patches with "make test" due to the problems I mentioned in an earler post. I have managed to get the postgres lib working again and I am hoping this is the only thing I have affected with these patches although if someone would like

Re: More object stuff

2003-12-29 Thread Harry Jackson
Dan Sugalski wrote: At 1:02 PM + 12/27/03, Harry Jackson wrote: Being fairly new to parrot and probably naive I can see a few different ways of doing this. A C wrapper ie: parrot/classes/parrotdbi.pmc etc A C wrapper ie: parrot/dynclasses/parrotdbi.pmc etc A loadable pasm function library

Problem during "make test"

2003-12-29 Thread Harry Jackson
During [EMAIL PROTECTED] parrot]$ make test echo imcc/imcc.y -d -o imcc/imcparser.c imcc/imcc.y -d -o imcc/imcparser.c perl -e 'open(A,qq{>>$_}) or die foreach @ARGV' imcc/imcc.y.flag imcc/imcparser.c imcc/imcparser.h perl t/harness --gc-debug --running-make-test -b t/op/*.t t/pmc/*.t t/native_

I could not resist

2003-12-29 Thread Harry Jackson
I was searching on google for core.html parrot and the first link took me to http://www.gurney.co.uk/parrots/dandan.html Do we have a facilty for number 5. H

Re: More object stuff

2003-12-27 Thread Harry Jackson
Dan Sugalski wrote: > > Dunno if I replied, but... Next step is a higher level wrapper, if > you're up for fiddling with Postgres itself. Stuff like a single call > to connect (right now you have to make the connect call and poll over > and over again), I did some benchmarks using your original l

Re: Licenses and library code

2003-12-22 Thread Harry Jackson
Dan Sugalski wrote: We're starting to check in library code, which brings up the annoying issue of licensing. Since we haven't been able to go the easy (i.e. all public domain) route for parrot we need to deal with this. The license on Parrot itself is straightforward enough, albeit a bit odd w

Re: More object stuff

2003-12-18 Thread Harry Jackson
Dan Sugalski wrote: It's util/ncidef2pasm.pl, actually. build_nativecall builds the stub routines for the interpreter if a JIT isn't available. The definitions of the characters are the same, but ncidef2pasm's a bit better documented. (There's embedded POD) Invocation is: perl util/ncidef2pas

Re: More object stuff

2003-12-11 Thread Harry Jackson
Dan Sugalski wrote: Yep, though that's a big part of it. postgres.pasm is generated from postgres.declarations, FWIW--there's a script in the library somewhere. Is /parrot/build_tools/build_nativecall.pl the script in question and if so whats its usage. I have done postgres.declarations, please se

Re: More object stuff

2003-12-10 Thread Harry Jackson
hough I imagine there is more to it than this ;-) As for the OO wrapper. Are you after a pasm library that takes advantage of objects and hides the details of libpq-fe.h? I think I could start something if no one else has already started anything. Harry Jackson (no longer surnameless ;-)

Re: Word for the day: Undocumentation

2003-11-14 Thread Harry Jackson
Forgive me if I am looking in the wrong place for some of this stuff. I am quite new to this. --- Michael Scott <[EMAIL PROTECTED]> wrote: > > I'm fine with that, I understand why - this is not a rant - but I do > think that Parrot has a steep learning curve and that good > documentation is ess

Re: Word for the day: Undocumentation

2003-11-14 Thread Harry Jackson
Forgive me if I am looking in the wrong place for some of this stuff. I only started looking at this today. --- Michael Scott <[EMAIL PROTECTED]> wrote: > > I'm fine with that, I understand why - this is not a rant - but I do > think that Parrot has a steep learning curve and that good > docum