Re: Benchmark for Scala, Ruby and Perl

2022-01-15 Thread Paul Procacci
Sorry, it's 5:00am here and needless to say it's wy past my bedtime and I'm making mistakes. The comparison should have been between both ruby versions ugh. I'll let you play though. Have a great night. On Sat, Jan 15, 2022 at 4:57 AM Paul Procacci wrote: >

Re: Benchmark for Scala, Ruby and Perl

2022-01-15 Thread Paul Procacci
On Sat, Jan 15, 2022 at 5:03 AM Jon Smart wrote: > > Thanks Paul. I am surprised that mmap has that huge IO advantages > comparing to the classic way. So ruby take more benefit from this mmap > calling. Just get learned from your case. > > Regards > > It's not always

Re: Your idea on how to detect random directory names

2023-12-08 Thread Paul Procacci
encing a file or not: my @to_skip = dir(".", test => { .IO.d && / ^ <[a..z]> ** 32 $ / } ) ; If that possibility doesn't exist, then I personally would use: my @to_skip = dir(".", test => { / ^ <[a..z]> ** 32 $ / } ) ; As always, there's more than one way to skin a cat. ~Paul -- __ :(){ :|:& };:

IO::Socket::INET timeout?

2024-01-08 Thread Paul Procacci
mple of connecting a socket, and reading/writing to that socket with timeouts? Thanks, Paul Procacci -- __ :(){ :|:& };:

Re: IO::Socket::INET timeout?

2024-01-21 Thread Paul Procacci
On Sat, Jan 20, 2024 at 5:02 PM William Michels wrote: > Hi Paul, > > Did you get any resolution on this? I've only found these links: > > https://docs.raku.org/type/IO/Socket/INET > > > https://stackoverflow.com/questions/72639883/how-to-deal-with-exceptions-in

.pl extension

2001-09-14 Thread Paul Johnson
we get too many .pl files. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Using int32_t instead of IV for code

2001-09-13 Thread Paul Johnson
32_t be platform-specific. I'd have thought it made sense to define it as a bytecode_t type, or some such which could be platform specific. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Automatic porting with register-based VMs?

2002-01-03 Thread Paul Baranowski
technical problems in doing this? -Paul Baranowski

RE: Automatic porting with register-based VMs?

2002-01-04 Thread Paul Baranowski
about though. :) -Paul B > -Original Message- > From: Bryan C. Warnock [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 03, 2002 11:11 PM > To: Paul Baranowski > Cc: [EMAIL PROTECTED] > Subject: Re: Automatic porting with register-based VMs? > > > On

Re: New Todo

2002-01-29 Thread Paul Johnson
On Tue, Jan 29, 2002 at 09:57:16PM +, Simon Cozens wrote: > I've started a new TODO list. Remind me of anything else that needs > doing; Sandboxes. Has anyone given any thought as to whether Parrot should support "use Safe", and if so, how? -- Paul Johnson - [

Re: De Morgan's theorum

2002-02-20 Thread Paul Johnson
gt; >However, I just don't > >think most programs spend enough time doing logical comparison to > >really matter. Besides which, such techniques work best on complex > >expressions, which are rare indeed. I suspect this is true. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Unary dot

2002-04-12 Thread Paul Johnson
Larry to say, "We have decided to use $me, $myself and $i. And then we also get the Perl 6 theme tune thrown in for free. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Unary dot

2002-04-12 Thread Paul Johnson
they are calling a method or accessing an instance variable, and when I change my implementation from one to the other they shouldn't have to change their code. See http://www.elj.com/elj/v1/n1/bm/urp/ for more details. Languages like C++ don't support this and you end up writing lo

Re: Loop controls

2002-04-27 Thread Paul Johnson
eed to weigh in with opinions. Had I designed Perl there would have been an elsunless and I would have used it. Now I'm glad there isn't an elsunless and I never had the chance to use it :-) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Accessor methods ?

2002-05-11 Thread Paul Johnson
I've always found the word "like" to be very wishy-washy in a computer langauge. In what way is newbaz like baz? And just how alike are they? There must be a better way to describe this. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Proposed enhancement to the warnings pragma for Module writers

2000-08-13 Thread Paul Marquess
allows the warnings::* functions to detect the place in the caller list where the object was first used. If "doit" is rewritten like this: package abc ; ... sub doit { my $self = shift ; if (warnings::enabled($self)) { #... warnings::warn($self, "some message") ; } } 1 ; the warning will be reported at this line $a->dosomething() ; That seems like the right thing to do. Comments... please? Paul

RE: Proposed enhancement to the warnings pragma for Module writers

2000-08-14 Thread Paul Marquess
From: Simon Cozens [mailto:[EMAIL PROTECTED]] > On Sun, Aug 13, 2000 at 09:36:48PM -0400, Ronald J Kimball wrote: > > On Sun, Aug 13, 2000 at 09:04:41PM +0100, Paul Marquess wrote: > > > I'm cc-ing this to p6 because there doesn't seem to be anyone left on p5p. &g

Re: perl6-language-regex summary for 20000911

2000-09-13 Thread Paul Grzesina
RFC this week. I only read the announce list and must have missed this RFC earlier, but I think "subst" is much too close to "substr" for comfort. I find "substitute" to be too long and annoying to type, so I suggest "replace" instead. -- Paul Gr

RE: RFC 264 (v1) Provide a standard module to simplify the creation of source filters

2000-09-26 Thread Paul Marquess
s is the *norm*, since newlines are just whitespace most > places in Perl. Aaah! I see where you are coming from now. Is that mentioned in the RFC and module docs? If not, it really needs to be emphasised. It completely passed me by. If you like, next time I do a Filters release, I'll updat

Re: [svn:parrot-pdd] r17921 - trunk/docs/pdds

2007-04-01 Thread Paul Cochrane
lso have to change the way the coda looks for top-of-file version wrt the bottom-of-file version. Some elegant, general way of setting editor hints in files would be really nice, but we've not found the answer to that yet ... :-/ Paul

Re: [perl #42293] t/doc/pod.t vs. tools/doc/pod_errors.pl

2007-04-04 Thread Paul Cochrane
p anything either. So it seems that at times podchecker isn't as strict. The output from tools/docs/pod_errors.pl at least gives information about where the problem is in the file, which is something that t/doc/pod.t unfortunately doesn't. Just my 2c. Paul

Re: RT #41858, reasonable set of rules for splint (was: Re: Parrot Bug Summary)

2007-04-18 Thread Paul Cochrane
for everyone, but Parrot is going to be the most platform independent thing out there so making it as compliant as possible with every platform/compiler/etc is of interest to the project as a whole. So yes, I'd say there's interest :-) Does anyone have an objection to it? None whatsoever. Paul

Re: [perl #41168] graceful "no compiler" error message?

2007-04-27 Thread Paul Cochrane
On 28/04/07, James Keenan via RT <[EMAIL PROTECTED]> wrote: On Mon Apr 16 16:36:56 2007, [EMAIL PROTECTED] wrote: > I ran Makefile.PL on a random windows box which hasn't had its > compiler > installed correctly yet. Rather than emitting an error message about > how it couldn't find my compiler,

Re: [perl #41168] graceful "no compiler" error message?

2007-04-27 Thread Paul Cochrane
ig options recommended by Parrot (which actually points to the Perl 5 docs...) and so haven't actually been able to get Parrot to *start* building. Anyway, Configure most certainly can't find a compiler. So, *essentially* yes, a standard Win32 box with no compiler. Hope that helps, Paul

Re: [perl #41897] [BUG]: Parrot::Pmc2c::STMRef gets 'subroutine prederef redefined' warning

2007-05-01 Thread Paul Johnson
Devel::Cover has sometimes uncovered questionable constructs that have otherwise gone unnoticed, but my first thoughts would be that it was a bug in Devel::Cover. Has anyone managed to shine any additional light on this in the last six weeks? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [svn:parrot] r18369 - in trunk: config/gen/platform/cygwin config/gen/platform/generic config/gen/platform/netbsd config/gen/platform/openbsd config/gen/platform/solaris src src/jit/ppc src/jit/su

2007-05-06 Thread Paul Cochrane
way you wish. Send questions, comments, complaints, performance data, etc to [EMAIL PROTECTED] possibly it should be exempt from coding standards. Agreed. The file has been set exempt from the coding standards in r18434. Paul

Re: [perl #41908] [PATCH] 5 feature enhancement of src/library.c (extension guessing), and solutions for the install target problems

2007-05-07 Thread Paul Cochrane
Mike, I don't remember it breaking win32. As I remember it, it was committed the day before 0.4.10 , which wasn't appropriate for a patch like this. Please accept my apologies, you're correct it didn't break anything, just wasn't appropriate so close to a release. Paul

Re: [perl #41908] [PATCH] 5 feature enhancement of src/library.c (extension guessing), and solutions for the install target problems

2007-05-07 Thread Paul Cochrane
hanks :-) I've tested the patch on linux x86, could others please confirm that it works as expected on their platforms? Paul

Re: [perl #42897] [PATCH] spelling fixes in src/library.c

2007-05-07 Thread Paul Cochrane
A couple of minor spelling fixes in library.c , patch attached Applied in r18447, thanks!

Re: svn r18461 indentation problem?

2007-05-08 Thread Paul Cochrane
Mark, It's highly likely that I was wrong to indent your example. I've noticed that particle has done some more work on the pod and he's moved it back :-) Anyway, your work is now in. Good stuff! Thanks for the help! Paul On 08/05/07, Mark Glines <[EMAIL PROTECTED]>

Re: [perl #42929] [BUG] t/doc/pod_todo.t: Massive failures from newly added test file

2007-05-12 Thread Paul Cochrane
was wanting to do some work on and most certainly didn't want everyone to run straight away. I'll skip it for the time being so that it doesn't disturb people. Paul

Re: [perl #42947] [PATCH] revise Parrot_get_runtime_prefix API for safety and usablility

2007-05-15 Thread Paul Cochrane
on #42944 to apply. Cheers, Mike Mattie - [EMAIL PROTECTED] Mike, It seems the patch didn't come through with the email, could you send it again? Paul

*.dev = docs/dev/*.pod ??

2007-05-20 Thread Paul Cochrane
es in this directory instead of the *.dev files. Thanks! Paul

Re: [perl #43081] [p6] Get p6 tests from pugs.

2007-05-31 Thread Paul Cochrane
x27;t allow you to check out source from a different repository into another repository's path (for fairly obvious reasons). Or is there another way to get copies of the relevant files in a fashion able to be used in a make target? Paul

Relocation of the pod_todo.t test

2007-05-31 Thread Paul Cochrane
test, removing the extra output skipping the test generates in 'make test' output, and allowing people to run the test manually as opposed to part of the main test suite. Is this ok? If noone complains I'll make the change in the next couple of days. Paul

Re: Relocation of the pod_todo.t test

2007-06-03 Thread Paul Cochrane
On 02/06/07, chromatic <[EMAIL PROTECTED]> wrote: On Thursday 31 May 2007 13:48:04 Paul Cochrane wrote: > I recently added a test for TODO items in the pod source, but added it > to the t/doc/ test suite. It is more of a coding standards test > anyway, and I was wondering if it

Re: Parrot Bug Summary

2007-06-05 Thread Paul Cochrane
some sense myself) we need categories for: - Tru64, OpenSolaris, a tag to specify 32 or 64 bit, IntelMac (in platforms) - imcc, pir (in languages) - RFE, CAGE, PGE, TGE, PDD (in tags) Paul

Re: [perl #39426] [BUG] Can't build with cygwin.

2007-06-06 Thread Paul Cochrane
Without the manual setting of PATH before building? With the manual PATH setting. There are several tickets for cygwin not building in RT; are they all related? Is there something like a hints file where the information about the PATH can be set so that cygwin builds out of the box? Paul

Re: [perl #38217] r11124: Cygwin build fails

2007-06-06 Thread Paul Cochrane
On 05/06/07, Greg Bacon <[EMAIL PROTECTED]> wrote: In message <[EMAIL PROTECTED]>, "Paul Cochrane via RT" writes: : cygwin is building as of r18821. Is this ticket required anymore? I'm still seeing a failure in r18824: [...] make[1]: Entering directory `/u

RT Ticket Management [was: Re: Parrot Bug Summary]

2007-06-06 Thread Paul Cochrane
s? Also, Jerry mentioned sharing of queries on RT. How does one go about this? I have my own searches for [TODO], [CAGE], [BUG], and [PATCH] and I don't know if they are of any help to others, but they might be. How do I use other people's other queries? Paul

Re: [perl #43148] [TODO] Rename rpath hash element to be more general (config/init/hints/darwin.pm)

2007-06-07 Thread Paul Cochrane
esolve the ticket. Thanks for helping out by looking into the comment! :-) Paul

Re: Building with icc

2007-06-07 Thread Paul Cochrane
(ICC) 9.1 20061103 Copyright (C) 1985-2006 Intel Corporation. All rights reserved. Thought this might be of interest. Paul

Re: [perl #41569] t/distro/file_metadata.t fails on win32

2007-06-11 Thread Paul Cochrane
set of slashes with another. Comments welcome! :-) Paul file_metadata.patch Description: Binary data

Re: [perl #41569] t/distro/file_metadata.t fails on win32

2007-06-11 Thread Paul Cochrane
On 11/06/07, Ron Blaschke <[EMAIL PROTECTED]> wrote: jerry gay wrote: > On 6/11/07, Paul Cochrane <[EMAIL PROTECTED]> wrote: >> On 09/03/07, chromatic <[EMAIL PROTECTED]> wrote: >> > On Friday 09 March 2007 05:00, Ron Blaschke wrote: >> > >&g

Re: [perl #41569] t/distro/file_metadata.t fails on win32

2007-06-11 Thread Paul Cochrane
On 11/06/07, jerry gay <[EMAIL PROTECTED]> wrote: On 6/11/07, Paul Cochrane <[EMAIL PROTECTED]> wrote: > On 09/03/07, chromatic <[EMAIL PROTECTED]> wrote: > > On Friday 09 March 2007 05:00, Ron Blaschke wrote: > > > > > Attached patch replac

Re: [perl #41569] t/distro/file_metadata.t fails on win32

2007-06-12 Thread Paul Cochrane
here is a ticket in RT trying to get rid of MANIFEST. Anyway, attached is another patch, which hopefully does the right thing now. If everyone's happy with the patch, I'll apply and commit it to trunk. Ron, would it be ok if you could check the patch to see if it works on Win32? Thanks heaps in advance. Paul file_metadata.patch Description: Binary data

Re: Is Perl 6 too late? (an aside)

2007-06-14 Thread Paul Hodges
es, if you don't get the aesthetics of the Schwartzian Transform, then you should probably be using python or java anyway, hm? Let's let Perl be Perl. It's a new Perl, but it's still a pearl. =o) *Paul --- Larry Wall <[EMAIL PROTECTED]> wrote: > On Mon, May 14, 2007

Re: [perl #39426] [BUG] Can't build with cygwin.

2007-06-16 Thread Paul Cochrane
Paul Cochrane wrote: >> Without the manual setting of PATH before building? > > With the manual PATH setting. There are several tickets for cygwin > not building in RT; are they all related? Is there something like a > hints file where the information about the PATH can be se

Re: [perl #41569] t/distro/file_metadata.t fails on win32

2007-06-16 Thread Paul Cochrane
y identical to yours) so that you can give it a quick test. If all is happy, then I'll commit the change and close the ticket. Thanks heaps for your help! Paul file_metadata.patch Description: Binary data

Re: Referring to source code within Perldoc: the new A<> code

2007-06-21 Thread Paul Seamons
as well - if the code doesn't compile, then perldoc would not be able to generate the code - but it could always show an error that the code doesn't compile and then show what poddoc would show. The outcome is that poddoc can be Pod6 "pure" and perldoc can be (as its name suggests) documentation for Perl. Just my opinions. Paul Seamons

Re: Referring to source code within Perldoc: the new A<> code

2007-06-21 Thread Paul Seamons
y want a 7000 ft view (aka the executive summary). Paul

Re: Referring to source code within Perldoc: the new A<> code

2007-06-21 Thread Paul Seamons
extract the POD tags ala poddoc and then add the inlined/introspectable documentation for that particular language. Now the "only" hard part is getting the other language designers to allow ignoring pod markup in their languages. All of the Parrot based variants could easily incorporate this feature. Paul

Re: [perl #41496] [TODO] config - profiling options should have their own step in config/init/defaults.pm

2007-06-25 Thread Paul Cochrane
kid51, On 25/06/07, James Keenan via RT <[EMAIL PROTECTED]> wrote: On Tue Feb 13 08:01:12 2007, ptc wrote: > The profiling options specified in config/init/defaults.pm should be > moved into their own 'step' of the configure process. Paul: Can you explain your rational

Re: Web Module (Was: Perl6 new features)

2007-06-25 Thread Paul Hodges
How about a Bundle::Common? Streamline both the core and the inclusion of the most commonly used modules? The core does include the CPAN module, right? Personally, I *prefer* grabbing what I need piecemeal, but I understand making it easy if possible --- Luke Palmer <[EMAIL PROTECTED]> wrote

Re: [perl #41915] [TODO] remove unused manifest-generating scripts

2007-06-25 Thread Paul Cochrane
t_skip() and subsequently t/distro/manifest_skip.t have been broken for some time. Does anybody mind if I remove them? It's ok with me. IIRC I tried to remove them about a year ago, but managed to break Parrot and never managed to get around to finding the right way to remove them. Paul

Re: [perl #42427] [CAGE] cleanup perlcritic errors

2007-06-26 Thread Paul Cochrane
27; policies. It is then simple to create a general hash for specifying which policies need to be processed in any given run. See r19332 for more details. If you think my implementation can be improved, please say! I'm always up to learn more :-) Thanks for the feedback! It helps me sharpen my perl skills. Paul

Re: [svn:parrot] r19381 - trunk/src/dynpmc

2007-06-28 Thread Paul Cochrane
decided to standardise everything to 'interp'. I'm just doing some extra cleanup. I've not found any problems with build or tests, hence why I checked this in. Is there something I've missed? Is this causing problems somewhere? Paul

Re: [perl #43413] [TODO] Pass options to policies from perlcritic.t command line

2007-06-28 Thread Paul Cochrane
On 28/06/07, Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote: Paul Cochrane (via RT) schrieb: > # New Ticket Created by Paul Cochrane > # Please include the string: [perl #43413] > # in the subject line of all future correspondence about this issue. > # http://rt.p

Re: [perl #43431] build problem

2007-06-29 Thread Paul Cochrane
[PAST-pm.pbc] Error 1 Did you do a make realclean && perl Configure.pl after svn up? This could help. Paul

Re: Building with icc

2007-06-30 Thread Paul Cochrane
On 07/06/07, Paul Cochrane <[EMAIL PROTECTED]> wrote: > perl Configure.pl --cc=icc --link=icc --ld=icc I tried this, but got the following output from Configure.pl: [EMAIL PROTECTED] parrot_svn2 $ perl Configure.pl --cc=icc --link=icc --ld=icc Parrot Version 0.4.12 Configure 2.0 Cop

Re: Building with icc

2007-07-06 Thread Paul Cochrane
d to --ccflags and nothing else. It's therefore possible that your -I/usr/include/c++/4.1.1 isn't actually making it into parrot's configuration data and therefore never being passed to the C compiler, hence causing the problem you're seeing. Paul

Can't edit parrot wiki pages with Opera

2007-07-10 Thread Paul Cochrane
t'd be nice to be able to use more browsers to edit the pages. Thanks! Paul

Re: Can't edit parrot wiki pages with Opera

2007-07-10 Thread Paul Cochrane
I've found that when using the Opera web browser that I can't edit any parrot wiki pages. I click on the "Edit" button, a hash character (#) gets appended to the URL, and nothing else happens. I've only had success at editing the wiki pages with firefox, but it'd be nice to be able to use more b

Re: Can't edit parrot wiki pages with Opera

2007-07-10 Thread Paul Cochrane
On 11/07/07, Jesse Vincent <[EMAIL PROTECTED]> wrote: On Jul 10, 2007, at 4:44 PM, Paul Cochrane wrote: >> I've found that when using the Opera web browser that I can't edit >> any >> parrot wiki pages. I click on the "Edit" button, a hash chara

Add a --ccflags-append option to Configure.pl?

2007-07-11 Thread Paul Cochrane
he configure command line. So, is it alright if I go and add yet another command line option to configure? Namely --ccflags-append? Paul

Re: Add a --ccflags-append option to Configure.pl?

2007-07-12 Thread Paul Cochrane
On 11/07/07, Andy Dougherty <[EMAIL PROTECTED]> wrote: On Wed, 11 Jul 2007, Paul Cochrane wrote: > To be able to configure parrot to build with icc (the intel C > compiler) one currently needs a command line which looks like this: > > perl Configure.pl --cc=icc --link=icc --

Re: [svn:parrot] r19863 - in trunk/lib/Parrot: . Configure

2007-07-14 Thread Paul Cochrane
anges out. I'm still sometimes at the edge of my ability wrt perl so please accept my apologies (I thought the return ... for did the right thing). Paul > Modified: trunk/lib/Parrot/Configure/Data.pm > === >=== --

Re: [svn:parrot] r19863 - in trunk/lib/Parrot: . Configure

2007-07-14 Thread Paul Cochrane
); +return unlink map "test$_", qw( .c .cco .ldo .out), > $conf->data->get(qw( o exe )); } > > =item C I'm really not sure the return value from unlink is useful here. Again, what would be a useful return value here? Would returning success or failure of the unlink be appropriate? I'd really appreciate the feedback. I am trying to help out and to learn so that (a) I don't make the mistakes again and (b) so that I can be more effective in my contributions to the project. Paul

Re: [svn:parrot] r19863 - in trunk/lib/Parrot: . Configure

2007-07-15 Thread Paul Cochrane
On 14/07/07, chromatic <[EMAIL PROTECTED]> wrote: On Saturday 14 July 2007 12:57:37 Paul Cochrane wrote: > I realized a while after having written my last email that I lost a > bit opportunity in sending such a short reply: to actually *learn* > something and to improve my skill

Re: [perl #43481] t/examples/shootout.t (shootout_16.pir) fails on gentoo/x86

2007-07-15 Thread Paul Cochrane
ng to pass on Linux (which I've upgraded to Debian 4.0). Interestingly enough, it's passing for me using gcc on Gentoo Linux, but *failing* with icc. Something interesting is happening somewhere... Paul

Re: [perl #37015] [TODO] docs - svn howto

2007-07-17 Thread Paul Cochrane
r_guide.pod in the repository, and added a manifest entry, as this occured just before this month's release. so, at least for now, it's double-tee. Gah! I *knew* I'd forget to update the manifest... I ran mk_manifest_and_skip.pl and checked everything as well :-/ Thanks Jerry! Great work on getting the release out :-) Paul

Re: [perl #44121] [BUG] What happened to tools/build/fingerprint_c.pl?

2007-07-24 Thread Paul Cochrane
t Configure.pl line 395 What happened to it? I believe this is an automatically generated file as part of Andy's gcc sniffing stuff (it keeps coming up as a file of zero length on my system). It probably should be in MANIFEST.SKIP or something... Paul

Re: One Data Point on the Static Analysis Tests

2007-07-28 Thread Paul Cochrane
On 28/07/07, chromatic <[EMAIL PROTECTED]> wrote: > Let me preface this by saying that I know that our static analysis tests > represent a tremendous amount of work by several people (especially Paul, > with an enormous amount of respect to everyone who's contributed also to &g

Floating point comparisons

2007-07-31 Thread Paul Cochrane
ould I be using a macro instead? Thanks heaps in advance! Paul

Re: Floating point comparisons

2007-07-31 Thread Paul Cochrane
ink you'd gone offline). Since we're only comparing against zero, would something like: fabs(x) <= DBL_EPSILON ? 1: 0 do the job? We're still running into the problem of "what if x is float or double?". I have a horrible feeling I missed your point when we were discussing things on #parrot; could you explain how you would do it again? Thanks! Paul

Re: Floating point comparisons

2007-07-31 Thread Paul Cochrane
t for one of the values being > NAN but allow INFs to be compared. Andy Lester's post mentioned that we're only comparing against zero in each instance so we don't really need the general solution and so shouldn't need to worry about this case. Paul

Re: [perl #44291] [PATCH] Fix for suncc

2007-08-01 Thread Paul Cochrane
On 01/08/07, chromatic <[EMAIL PROTECTED]> wrote: > On Tuesday 31 July 2007 23:23:22 Paul Cochrane wrote: > > Hi Paul, > > > This is what I thought. However, making the change made suncc > > happier, which made me wonder if it worked on other platforms (it > &

Re: [perl #44333] [BUG] parrot build breaks with msvc

2007-08-02 Thread Paul Cochrane
ttribute__... is used (gcc specific), which msvc of course doesn't understand. I was going to pack an #ifdef WIN32 or similar around that to patch up the problem temporarily, but other things got in the way. Anyway, thought you'd be interested in the results of my digging. Paul On 02

Re: [perl #44391] r19820 breaks other JITs

2007-08-04 Thread Paul Cochrane
architectures in the repository. I'm sorry that this has caused headaches. I did make a mention of the fact that I couldn't update all architectures in RT#40392 which I'm pretty sure made it to the list. Is there anything I can do to help out? Paul

Re: [perl #44379] config/auto/attributes.pm ought to use its own test_c.in

2007-08-04 Thread Paul Cochrane
ributes were being ignored by icc and your post has helpt to answer that question :-) Paul

Re: [perl #44391] r19820 breaks other JITs

2007-08-06 Thread Paul Cochrane
On 05/08/07, Joshua Isom <[EMAIL PROTECTED]> wrote: > > On Aug 4, 2007, at 5:28 AM, Paul Cochrane wrote: > > > On 03/08/07, via RT Joshua Isom <[EMAIL PROTECTED]> > > wrote: > >> # New Ticket Created by Joshua Isom > >> # Please include the strin

Re: [perl #44553] [PATCH] Add a new PIR tutorial for defined

2007-08-11 Thread Paul Cochrane
robably be > changed to the new syntax as well (patches welcome!). > > $P1 = new .String # deprecated > $P1 = new String # deprecated This would make a great CAGE task. Would you be able to open a ticket for this with a list of the old syntaxes and what the new syntax should be? Paul

Re: [perl #44553] [PATCH] Add a new PIR tutorial for defined

2007-08-12 Thread Paul Cochrane
On 11/08/07, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Sat, Aug 11, 2007 at 05:00:33PM +0200, Paul Cochrane wrote: > > > Within the past few months we've standardized on always quoting > > > type names in PIR, so the above needs to read &

Re: [perl #44607] [CAGE] Hoist slurp_file() into Parrot::Util

2007-08-14 Thread Paul Cochrane
enough to not re-invent the wheel. Agreed. Why not just make it part of Bundle::Parrot? Paul

Re: [svn:parrot] r20688 - in trunk: include/parrot src

2007-08-21 Thread Paul Cochrane
best to perform floating point comparisons, I'm now in favour if removing the warning. Having now seen the pros and cons it seems we're not getting much benefit from a large amount of effort. Is it ok then if I switch the warning off? Paul

Re: [perl #44845] [PATCH] C++ cleanups for Solaris CC

2007-08-22 Thread Paul Cochrane
27;t return, and we should be able to tell the compiler that (this is what Andy Lester has been doing a lot of with his recent function attribute work). I'm guessing that suncc throws a warning here can be rectified in the fullness of time. Just my $0.02 Paul

Re: [perl #44845] [PATCH] C++ cleanups for Solaris CC

2007-08-22 Thread Paul Cochrane
On 22/08/07, Steve Peters <[EMAIL PROTECTED]> wrote: > On Wed, Aug 22, 2007 at 04:11:38PM +0200, Paul Cochrane wrote: > > > --- src/encoding.c.old Wed Aug 22 08:15:22 2007 > > > +++ src/encoding.c Wed Aug 22 08:15:58 2007 > > > @@ -105,6 +105,7 @@ >

Re: [perl #44845] [PATCH] C++ cleanups for Solaris CC

2007-08-22 Thread Paul Cochrane
d gotos but switching them off actually makes suncc build Parrot and allows the tests to run. Paul

Re: [perl #44845] [PATCH] C++ cleanups for Solaris CC

2007-08-22 Thread Paul Cochrane
On 22/08/07, Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Wed, Aug 22, 2007 at 05:40:45PM +0200, Paul Cochrane wrote: > > > We can leave it out, but then we'll never be able to compile Parrot with > > > Solaris CC. > > > > I just tried to compile

Re: [perl #44967] Using a freed variable (Coverity CID 98)

2007-08-26 Thread Paul Cochrane
On 26/08/07, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Am Sonntag, 26. August 2007 20:14 schrieb Paul Cochrane: > > The variable ins2 is freed by the call to subst_ins() but is then > > later assigned to later in the if-block. Um, this isn't a good idea > > is i

Re: [perl #44967] Using a freed variable (Coverity CID 98)

2007-08-27 Thread Paul Cochrane
On 26/08/07, chromatic <[EMAIL PROTECTED]> wrote: > On Sun, Aug 26, 2007 at 11:14:11AM -0700, Paul Cochrane wrote: > > > The variable ins2 is freed by the call to subst_ins() but is then > > later assigned to later in the if-block. Um, this isn't a good idea > >

Re: [perl #44967] Using a freed variable (Coverity CID 98)

2007-08-27 Thread Paul Cochrane
On 27/08/07, Ron Blaschke <[EMAIL PROTECTED]> wrote: > Paul Cochrane wrote: > > On 26/08/07, chromatic <[EMAIL PROTECTED]> wrote: > >> On Sun, Aug 26, 2007 at 11:14:11AM -0700, Paul Cochrane wrote: > >> > >>> The variable ins2 is freed by the call

Re: [perl #44967] Using a freed variable (Coverity CID 98)

2007-08-27 Thread Paul Cochrane
On 27/08/07, Ron Blaschke <[EMAIL PROTECTED]> wrote: > Paul Cochrane wrote: > > On 27/08/07, Ron Blaschke <[EMAIL PROTECTED]> wrote: > >> Paul Cochrane wrote: > >>> On 26/08/07, chromatic <[EMAIL PROTECTED]> wrote: > >>>> On Sun, Au

Re: [perl #44995] Dereferencing NULL pointers (Coverity)

2007-08-27 Thread Paul Cochrane
On 27/08/07, Joshua Isom <[EMAIL PROTECTED]> wrote: > > On Aug 27, 2007, at 11:13 AM, Paul Cochrane (via RT) wrote: > > > # New Ticket Created by Paul Cochrane > > # Please include the string: [perl #44995] > > # in the subject line of all future correspond

Year ranges in copyright information in source files

2007-08-29 Thread Paul Cochrane
e the file might not have been updated for a couple of years. So, the question I'd like to post to the list is: how do we define the year range in the copyright statement in source files? Should it be C-C or C-C? Thanks heaps in advance! Paul

Re: get_branch_regno not found it tags

2007-08-29 Thread Paul Cochrane
g up functions defined in imcc properly. I had a look in the tags file generated by ctags, and the functions exist, but when one tries to use vim to go to the function, it complains that such a function doesn't exist. Odd. Haven't come up with a solution though... BTW: thanks for the review! Paul

Re: What should Configure.pl do when one of its steps fail?

2007-09-02 Thread Paul Cochrane
, if Configure.pl can't find a C-compiler there isn't much use in continuing, however, to continue is the current behaviour. I have the vague feeling that this question has been raised before, but no firm answer has arisen... Just my 0.02 Euro. Paul

Re: [perl #44967] Using a freed variable (Coverity CID 98)

2007-09-02 Thread Paul Cochrane
On 01/09/07, Ron Blaschke <[EMAIL PROTECTED]> wrote: > Paul Cochrane wrote: > > I've had a chance to look at this and the implementation looks quite > good to me. > > There's one thing that still bothers me. The snipped output is: > > > Event alias: alia

Re: [perl #45025] Failures in t/configure/107-inter_progs.0[12].t

2007-09-03 Thread Paul Cochrane
t would be a good idea to have Configure pick this up. It would also help those people who use rsync instead of svn/svk/git as then some tests can be skipped in a cleaner manner than the current mechanism. I'll open a ticket in RT for this in a mo'. Paul

Re: [perl #45137] [TODO] Add a revision control test in Configure.pl

2007-09-03 Thread Paul Cochrane
ence, we probably don't need the added overhead of a configure step just for the sake of one test. Paul

<    2   3   4   5   6   7   8   9   10   11   >