Re: [perl #130160] AutoReply: [BUG] Flattened list iteration

2016-11-24 Thread Tim Bollman
through the @partials list at least once first), the output will be correct. Thanks, Tim Bollman use v6; sub find-words(@partials) { state $output = ''; # my @a = @partials.kv; for @partials.kv -> $i, $word { my $backup = $output; $output ~= $wor

Re: Rationale for a VM + compiler approach instead of an interpreter?

2014-12-07 Thread Tim Bunce
Perhaps write either an interpreter or a compiler for any language of your choice _in_ Perl 6. I hear it's rather good at that :) Tim.

Re: File content is not written if close not called

2012-07-17 Thread Tim Bunce
ave an option > to issue a warning whenever a open filehandle is closed due to > garbage collection, though. Could that be via a mechanism that could be applied to any object? I imagine they'll be other kinds of objects that have similar issues and needs. Tim.

Re: Lessons to learn from ithreads (was: threads?)

2010-12-02 Thread Tim Bunce
On Fri, Oct 15, 2010 at 11:04:18AM +0100, Tim Bunce wrote: > On Thu, Oct 14, 2010 at 11:52:00PM -0400, Benjamin Goldberg wrote: > >> From: tim.bu...@pobox.com > >> > >> So I'd like to use this sub-thread to try to identify when lessons we > >

Re: threads?

2010-10-18 Thread Tim Bunce
ti sub infix:<+>($a, $b) will optimize { > ... > } > > (User-defined ops can be markes in exactly the same way.) > > All that's needed after that is a &reduce sub that's sensitive to such > traits. Oh, and threads. Minimizing the overhead of such a mechanism would be crucial to making it beneficial for use on non-massive data sets. For this kind of thing to work well we'd need to have multiple threads able to work in a single "interpreter". Tim.

Re: Lessons to learn from ithreads (was: threads?)

2010-10-16 Thread Tim Bunce
. On Fri, Oct 15, 2010 at 01:22:10PM +0200, Leon Timmermans wrote: > On Wed, Oct 13, 2010 at 1:13 PM, Tim Bunce wrote: > > If you wanted to start a hundred threads in a language that has good > > support for async constructs you're almost

Re: Lessons to learn from ithreads (was: threads?)

2010-10-16 Thread Tim Bunce
ould be complex, hard to implement, hard to test, and fragile to use. It is, for example, more complex than ithreads, so the long history of ithreads bugs should server as a warning. I'd rather err on the side of simplicity. Tim.

Re: Lessons to learn from ithreads (was: threads?)

2010-10-13 Thread Tim Bunce
On Wed, Oct 13, 2010 at 04:00:02AM +0200, Leon Timmermans wrote: > On Wed, Oct 13, 2010 at 12:46 AM, Tim Bunce wrote: > > So I'd like to use this sub-thread to try to identify when lessons we > > can learn from ithreads. My initial thoughts are: > > > >

Lessons to learn from ithreads (was: threads?)

2010-10-13 Thread Tim Bunce
So I'd like to use this sub-thread to try to identify when lessons we can learn from ithreads. My initial thoughts are: - Don't clone a live interpreter. Start a new thread with a fresh interpreter. - Don't try to share mutable data or data structures. Use message passing and serialization. Tim.

Ruby Fibers (was: threads?)

2010-10-13 Thread Tim Bunce
s perspective but he gives a good explanation of the issues. He shows how writing async code using callbacks rapidly gets complex and how continuations can be used to avoid that. Well worth a look: http://blog.envylabs.com/2010/07/no-callbacks-no-threads-ruby-1-9/ Tim. p.s. If short on time start at 15:00 and watch to at least 28:00.

Re: Filesystems and files [Was: Re: The obligation of free stuff: Google Storage]

2010-07-02 Thread Tim Bunce
This thread reminded me of something I'd posted a while ago: ---snip--- Date: Wed, 26 Nov 2008 14:23:11 + From: Tim Bunce To: Richard Hainsworth , perl6-langu...@perl.org Subject: Re: Files, Directories, Resources, Operating Systems On Wed, Nov 26, 2008 at 12:40:41PM +0100, Mark Ove

Berkeley Orders Of Magnitude project

2010-06-25 Thread Tim Bunce
This struck me as interesting... http://highscalability.com/blog/2010/6/18/paper-the-declarative-imperative-experiences-and-conjectures.html "The Declarative Imperative: Experiences and Conjectures in Distributed Logic" http://www.eecs.berkeley.edu/Pubs/TechRpts/2010/EECS-2010-90.pdf Tim.

Re: r29770 - docs/Perl6/Spec

2010-02-18 Thread Tim Bunce
On Wed, Feb 17, 2010 at 11:02:58PM +0100, pugs-comm...@feather.perl6.nl wrote: > Author: lwall > New Revision: 29770 > > Modified: >docs/Perl6/Spec/S04-control.pod > +resumed that the stack is unwound the the phasers called. "the the" Tim.

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-25 Thread Tim Bunce
eduled yet). So I'd be grateful for any feedback on the talk. Corrections, improvements, extra data etc. Thanks again! Tim. p.s. I've already fixed the suprious reference to CPANTS.

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-15 Thread Tim Bunce
On Tue, Sep 15, 2009 at 12:15:10PM -0400, Nathan Gray wrote: > On Mon, Sep 14, 2009 at 12:15:05PM +0100, Tim Bunce wrote: > > You can find my current draft at http://files.me.com/tim.bunce/65oikg > > (2.3MB PDF) > > page 73 - Haskell should be spelled with two Ls Thank you

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-15 Thread Tim Bunce
On Tue, Sep 15, 2009 at 04:46:33PM +0200, Carl Mäsak wrote: > Tim (>), Carl (>>), Tim (>>>): > >> > I'd be grateful for feedback on any of the slides, but I'm especially > >> > interested in updates for: > >> > > >> &

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-15 Thread Tim Bunce
On Mon, Sep 14, 2009 at 03:46:54PM +0200, Carl Mäsak wrote: > Tim (>): > > I'd be grateful for feedback on any of the slides, but I'm especially > > interested in updates for: > > > >    page 73 - Perl 6 implementations > >                I

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-15 Thread Tim Bunce
2007: Devel::Declare, local::lib 2008: Padre, Enlightened Perl Organization 2009: Iron Man Blogging Challenge with a speaker note of All this happened after the Perl 6 project was announced. Modern Perl, 21st Century Perl, is very different to 20th Century Perl. Tim.

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-15 Thread Tim Bunce
larly good that you're backing up > what you say in general with data, so its easier to trust, verify, and > convince. And graphs are easy to absorb / make an impact. Thanks for all the feedback Darren. > I hope you're going to post another draft between now and the talk, so > people can review it again post changes. Possibly not before Dublin (on Saturday) but certainly before Moscow (3 weeks away). Tim.

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-14 Thread Tim Bunce
igure). I think jruby has a larger test suite that's being adopted as the ruby test suite. If sometone knows more about this, or ruby testing in general, please send me an email. Tim.

Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-14 Thread Tim Bunce
progress I've just updated this to the latest myself. Anything else I should add, change or remove? I'm especially interested in verifyable metrics showing effort, progress, or use. Ideally graphical. Any interesting nuggets that fit with the theme will be most welcome. Thanks! Tim.

Re: Rukudo-Star => Rakudo-lite?

2009-08-09 Thread Tim Bunce
hat > "Rakudo light" might be a bit more descriptive. I'll have to > mull it over a while. Perhaps it's worth asking what we might call the release after that one. "Rakudo not-quite-so-lite"? I like "Rakudo Star". It doesn't try to be descriptive. It's just a name. Tim.

[perl #63360] [PATCH] Update configure script and makefiles for installed Parrot

2009-07-29 Thread Tim Nelson via RT
Attached patch is updated according to pmichauds comments on IRC recently. diff --git a/build/Makefile.in b/build/Makefile.in index 9ee3f7b..97452a0 100644 --- a/build/Makefile.in +++ b/build/Makefile.in @@ -1,6 +1,8 @@ # Copyright (C) 2006-2009, The Perl Foundation. # $Id$ +DESTDIR

[perl #63360] [PATCH] Update configure script and makefiles for installed Parrot

2009-07-27 Thread Tim Nelson via RT
Ok, here's a new patch against the updated ins2 branch. pmichaud has done some "make install" stuff, and I've added to it as required for building RPMs. Other than adding a few useful files to the installation image (ie. the setting *.pm files could come in handy), it should have no effect on non

Concurrency Features in JDK 7 (Work-Stealing)

2009-07-09 Thread Tim Bunce
These seem interesting and relevant here: http://www.ddj.com/go-parallel/blog/archives/2009/04/java_7_will_evo.html http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-5515.pdf http://www.infoq.com/news/2007/07/concurrency-java-se-7 Tim.

[perl #63360] [PATCH] Update configure script and makefiles for installed Parrot

2009-06-01 Thread Tim Nelson via RT
t;', $outfile) || -die "Unable to write $outfile\n"; -print {$MAKEOUT} $maketext; -close $MAKEOUT or die $!; - return; } @@ -157,6 +192,8 @@ General Options: Set parrot config option when using --gen-parrot

Re: Not a bug?

2009-01-12 Thread Tim Bunce
~ "}" was rewritten to "{$foo}" at compile-time. And if "{" and "}" were replaced with variables, for example, then the interpolation wouldn't have happened. Right? Tim.

Fwd: [perl #58704] [BUG] t/src/compiler.t failures with VC++ / Win32

2009-01-07 Thread Tim Heckman
Begin forwarded message: From: Tim Heckman Date: January 5, 2009 11:52:47 PM EST To: Reini Urban Cc: Ron Blaschke , NotFound , parrot-...@perl.org, bugs- bitbuc...@netlabs.develooper.com Subject: Re: [perl #58704] [BUG] t/src/compiler.t failures with VC+ + / Win32 Reini Urban wrote

Re: r24769 - docs/Perl6/Spec

2009-01-05 Thread Tim Bunce
applied to $self as attributes, overriding any attributes with the same names". Makes it clearer that the attributes aren't applied to nested elements. > +=item isa > + > + our Bool multi method isa ($self:, $type) > + > +Returns true if a the invocant an instance of class C<$type>, or typos "Returns C if the invocant is an instance ..." Tim.

Re: For your encouragement

2008-12-06 Thread Tim Bunce
DBI. The [EMAIL PROTECTED] (note the 'i' in dbdi) mailing list is a good place to discuss these and related issues. Email [EMAIL PROTECTED] to subscribe. ---snip--- There's an archive at http://www.mail-archive.com/[EMAIL PROTECTED]/index.html which shows almost no activity since Feb 2004. It would be great to get some life into it. Tim.

Re: Files, Directories, Resources, Operating Systems

2008-11-26 Thread Tim Bunce
ronous I/O operations, socket-channel binding and configuration, and multicast datagrams.") which enables things like being able to transparently treat a zip file as a filesystem: http://blogs.sun.com/rajendrag/entry/zip_file_system_provider_implementation See http://javanio.info/filearea/niose

t/pmc/nci.t failing (parrot vm panic) on linux / amd64 / ubuntu 8.04

2008-11-17 Thread Tim Heckman
8.8 built for x86_64-linux-gnu-thread-multi [EMAIL PROTECTED]:~/code/parrot$ uname -a Linux pegasus 2.6.24-21-generic #1 SMP Tue Oct 21 23:09:30 UTC 2008 x86_64 GNU/Linux --Tim

[perl #57978] Implement last/redo/next/continue control exceptions

2008-10-23 Thread Tim Nelson via RT
On Sat Aug 16 07:29:31 2008, [EMAIL PROTECTED] wrote: > - Needs last/redo/next/continue exceptions in PCT (PCT) This is done in rakudo; does that mean that this ticket is done?

Re: globs and trees in Perl6

2008-10-02 Thread Tim Bunce
On Thu, Oct 02, 2008 at 07:01:39PM +1000, Timothy S. Nelson wrote: > On Thu, 2 Oct 2008, Tim Bunce wrote: > >> On Wed, Oct 01, 2008 at 11:24:04PM -0400, Brandon S. Allbery KF8NH wrote: >>> On 2008 Oct 1, at 22:23, Timothy S. Nelson wrote: >>>> On Wed, 1 Oct 200

Re: globs and trees in Perl6

2008-10-02 Thread Tim Bunce
sk the question: could grammars be used to match tree-like data structures? I think the current answer is no. Grammars are too tightly bound to the concept of a position in a linear string. But I have a nagging suspicion that this is a very powerful idea. Applying the expressive power of a grammar-like mechanism to search, backtrack, and match within a tree-like data structure. Is this new or has anyone discussed it before? Tim.

Re: [perl #58704] [BUG] t/src/compiler.t failures with VC++ / Win32

2008-09-09 Thread Tim Heckman
NotFound wrote: On Tue, Sep 9, 2008 at 5:23 AM, via RT Tim Heckman <[EMAIL PROTECTED]> wrote: # New Ticket Created by "Tim Heckman" # Please include the string: [perl #58704] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Tic

[perl #58704] [BUG] t/src/compiler.t failures with VC++ / Win32

2008-09-09 Thread Tim Heckman
# New Ticket Created by "Tim Heckman" # Please include the string: [perl #58704] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58704 > Output of prove -v t\src\compiler.t is attached. The generated link

compile error Win32/MSVC in src/ops/core.ops

2008-08-08 Thread Tim Heckman
Wasn't able to build parrot for smoke testing. This was using the MS Visual C++ compiler. src\ops\core_ops.c src\ops\core.ops(821) : error C2275: 'opcode_t' : illegal use of this type as an expression C:\work\parrot\include\parrot/config.h(128) : see declaration of 'opcode _t' src\op

[perl #52198] [BUG]: Test failures on Win32: t/op/arithmetics.t t/op/sprintf.t t/pmc/complex.t t/pmc/float.t

2008-07-22 Thread Tim Heckman
does not skip: MSWin32 VMS hpux:10.20 openbsd netbsd:1.5 irix actual: >0< --- Tim

Re: [perl #56756] [BUG] t\pmc\pmc.t failure on win32

2008-07-22 Thread Tim Heckman
t;"CODE", <These registers are set at the beginning of pmc_5 but nothing more is done with them within the scope of that test that I can see. Removing those lines from the test will also cause it to return with a 0 status code. No idea why, though. --- Tim

Re: [perl #56756] [BUG] t\pmc\pmc.t failure on win32

2008-07-22 Thread Tim Heckman
ilds on the same machine. --- Tim

Re: [perl #55954] [PATCH]: Add 'make smolder_test' target

2008-07-21 Thread Tim Heckman
Using TAP::Harness::Archive 0.12, successfully ran a "make smolder_test" on windows. http://smolder.plusthree.com/app/public_projects/report_details/2381 --- tjh On Jul 19, 2008, at 8:51 AM, Michael Peters wrote: Tim Heckman wrote: One thing I've found is that I canno

Re: [perl #55954] [PATCH]: Add 'make smolder_test' target

2008-07-19 Thread Tim Heckman
One thing I've found is that I cannot install TAP::Harness::Archive on windows machines because of test failures. I submitted a ticket about this to rt.cpan.org for this along with possible fixes http://rt.cpan.org/Public/Bug/Display.html?id=37795 tjh On Jul 15, 2008, at 10:35 AM,

Re: [perl #56948] [BUG] .parrot_current_rev broken

2008-07-16 Thread Tim Heckman
Confirmed fixed on windows in r29509. -- tjh On Jul 16, 2008, at 5:02 AM, NotFound wrote: On Wed, Jul 16, 2008 at 6:08 AM, Tim Heckman <[EMAIL PROTECTED]> wrote: Starting in r29489, .parrot_current_rev contains "0" instead of the revision number. I was using a simpli

Re: [perl #56948] [BUG] .parrot_current_rev broken

2008-07-15 Thread Tim Heckman
Starting in r29489, .parrot_current_rev contains "0" instead of the revision number. -- tjh On Jul 15, 2008, at 11:23 PM, Tim Heckman wrote: Seems to be broken as of r29503. nmake realclean (.parrot_current_rev is deleted) svn update perl Configure.pl .parrot_current_rev c

Re: [perl #56948] [BUG] .parrot_current_rev broken

2008-07-15 Thread Tim Heckman
For r29488, what I observe (on Windows) is that * Configure.pl generates .parrot_current_rev with the correct revision number (but this is broken in r29503 -- see my earlier message) * Configure.pl does update .parrot_current_rev when the file already exists, provided the revision numb

Re: [perl #56948] [BUG] .parrot_current_rev broken

2008-07-15 Thread Tim Heckman
Seems to be broken as of r29503. nmake realclean (.parrot_current_rev is deleted) svn update perl Configure.pl .parrot_current_rev contains "0" Also, if I run Configure.pl again, the timestamp on the file does not change. -- tjh On Jul 15, 2008, at 1:26 PM, NotFound wrote: I fixed th

Re: [perl #56948] [BUG] .parrot_current_rev broken

2008-07-15 Thread Tim Heckman
It may also be relevant that on the Windows box where I run the smoke tests, my ".svn" directories are actually "_svn". http://svn.collab.net/repos/svn/trunk/notes/asp-dot-net-hack.txt --- tjh > On Tue, Jul 15, 2008 at 3:58 PM, via RT Will Coleda > <[EMAIL PROTECTED]> wrote: >> -- For

SquirrelFish (was: Dynamic Languages Strike Back)

2008-06-04 Thread Tim Bunce
n of a real-world register-based bytecode engine, with a sliding register window calling consign to ---snip--- I'd guess there's some useful ideas in there. Tim.

Re: parrot benchmarking

2008-04-16 Thread Tim Bunce
ds) would just need to set an env var in their .profile, for example, and carry on as now. No changes in their procedures, and no changes in the docs (other than to mention the env var). Then chromatic's recipie works well for all. Tim.

Re: Status of docs/embed.pod and Parrot::Embed?

2007-12-21 Thread Tim Bunce
On Mon, Dec 10, 2007 at 04:37:31PM +0200, Allison Randal wrote: > Tim Bunce wrote: > > >> I meant docs/pdds/draft/pdd10_embedding.pod > >> > >> I could trying hacking on it to at least mention all the functions in > >> embed.h > >> with a few wo

Re: Status of docs/embed.pod and Parrot::Embed?

2007-12-11 Thread Tim Bunce
x27;t be the same as the tasks that interest me or the > next new contributor. Sometimes at hackathons I've gone through the ticket > queue with new contributors until I see their eyes light up at a particular > task. I know that's where they should start. Perhaps new contributors could make notes about stumblings blocks encountered along the way, so we know where to put signposts for others who follow. Tim.

Re: Status of docs/embed.pod and Parrot::Embed?

2007-12-10 Thread Tim Bunce
On Mon, Dec 10, 2007 at 10:57:05AM -0800, chromatic wrote: > On Monday 10 December 2007 01:59:40 Tim Bunce wrote: > > > Meanwhile there's some housekeeping I can be getting on with. > > Like fixing the broken Makefile.PL (seems best to make it a wrapper for > > th

Re: Status of docs/embed.pod and Parrot::Embed?

2007-12-10 Thread Tim Bunce
t; and integrate the build process for Parrot::Embed into Parrot's build > process (which is all Makefiles). Okay. Will do. Tim. p.s. How do I get a commit bit? Or should I just post patches for now?

Status of docs/embed.pod and Parrot::Embed?

2007-12-10 Thread Tim Bunce
Embed in sync and address the items in the TODO file along the way. Sound okay? Meanwhile there's some housekeeping I can be getting on with. Like fixing the broken Makefile.PL (seems best to make it a wrapper for the working Build.PL) Tim.

Re: Status of docs/embed.pod and Parrot::Embed?

2007-12-10 Thread Tim Bunce
On Mon, Dec 10, 2007 at 09:59:40AM +, Tim Bunce wrote: > Also, what's the status of docs/embed.pod? It seems out of date and/or > imcomplete (no mention of Parrot_call_sub, for example). I meant docs/pdds/draft/pdd10_embedding.pod I could trying hacking on it to at least ment

Re: old link, pugs not on CPAN?

2007-09-04 Thread Tim Bunce
likely be much happier just checking it out of svn. > (For the current version you'll need ghc 6.6.1 to compile it.) One word of warning: the https://svn.openfoundry.org/pugs repository mirror seems to be out of date. Use http://svn.pugscode.org/pugs/ instead. Tim.

Interfacing parrot with the new Java Scripting API

2007-08-12 Thread Tim Bunce
ink JDBC for a start. Tim.

Re: Query regarding Java/perl interface

2007-06-20 Thread Tim Bunce
to Perl 5 interface, see Inline::Java on CPAN: > > http://search.cpan.org/dist/Inline-Java/ Inline::Java seems to be the main form of integration with perl5 these days. See http://search.cpan.org/~timb/JDBC/lib/JDBC.pm for an example. Tim. > For a Java to Perl 6 API translator, see Java:

Re: Perl 6 Microgrants. Now accepting proposals.

2007-03-22 Thread Tim Bunce
I'd like the Java parser to be reusable by others. Here's a related idea: write a tool that reads BNF grammar, such as http://java.sun.com/docs/books/jls/third_edition/html/syntax.html http://java.sun.com/docs/books/jls/third_edition/html/grammars.html and writes a parser in Perl 6

Re: Synposis 26 - Documentation [alpha draft]

2006-10-12 Thread Tim Bunce
On Thu, Oct 12, 2006 at 03:57:01PM -0700, Jonathan Lang wrote: > Tim Bunce wrote: > >Damian Conway wrote: > >> Dave Whipp wrote: > >> >I'm not a great fan of this concept of "reservation" when there is no > >> >mechanism for its enforceme

Re: Synposis 26 - Documentation [alpha draft]

2006-10-12 Thread Tim Bunce
ead docs written for newer ones. Would a loud warning plus some best-efforts fail-safe parsing be possible? Tim. > The whole point of reserving these namespaces is not to prevent users from > misusing them, but to ensure that when we eventually get around to using a > particular block

Re: Runtime Role Issues

2006-10-11 Thread Tim Bunce
at runtime, a instance of that > class in another scope may specifically *not* want that role. I always thought when a role is applied to a class at runtime you get a new (anonymous) subclass. The original class isn't affected. Tim. > Is there > a way of restricting a role to a pa

Re: PDD 22 - I/O release candidate 1

2006-09-27 Thread Tim Bunce
ter. If so, then perhaps speed-sensitive ops that are likely to be used in loops can be given the PMC to (re)use. Tim.

Re: CPANDB - was: Module::Dependency 1.84

2006-07-12 Thread Tim Bunce
On Wed, Jul 12, 2006 at 03:03:14AM +0200, Tels wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Moin Tim, > > On Tuesday 11 July 2006 18:34, Tim Bunce wrote: > > I needed some code to trawl through a directory tree parsing perl > > modules and scripts t

Module::Dependency 1.84

2006-07-11 Thread Tim Bunce
ile, not to mention supporting arbitrary queries - Look at using Graph::Easy to rewrite/replace Module::Dependency::Grapher. Tim. =head1 NAME pmd_dump.pl - Query and print Module::Dependency info =head1 SYNOPSIS pmd_dump.pl [options] object-patterns object-patterns can be: f=S

Re: Revised Perl++ Wiki Proposal / $1k bounty

2006-06-22 Thread Tim Bunce
l 6 wiki, aka Perl++. I believe some would disagree with 'industrial-strength'. I'd recommend reading http://blogs.sun.com/roller/page/alanbur?entry=twiki_rant Tim. > The source code would be placed in the Pugs .../other/... subtree for > us to incrementally convert p

Re: [perl #39255] Revision 12862 fails tests on OS X

2006-06-03 Thread Tim Bunce
On Fri, Jun 02, 2006 at 09:35:00AM -0400, Will Coleda wrote: > Per leo, "As of r12867 this is fixed." Fixed for me. Thanks Leo! Tim. > On Jun 2, 2006, at 8:24 AM, Will Coleda wrote: > > >Known failures. > > > >Per Leo, failing tests were committed

Perl 6 implmenentation of the Java JDBC API?

2006-05-17 Thread Tim Bunce
On Tue, May 16, 2006 at 11:59:48PM +0100, Tim Bunce wrote: > That's partly why I added the following idea to The Perl Foundation's Summer > of Code > project list (http://www.perl.org/advocacy/summerofcode/ideas.html): > > Reimplement the DBI v1 API in Pugs > Des

DBI2 reborn with DBI1 facade

2006-05-17 Thread Tim Bunce
he familiar DBI API while radically refactoring the internals to make best use of Perl 6 and so enable greater functionality and extensibility. (Likely mentor: Tim Bunce) Trying to come up with both a new architecture and a new API was too much. A great deal can be achieved by radically refactori

Re: NCI 'v' vs '' in function parameter signatures

2006-03-03 Thread Tim Bunce
Any news on this? Is it okay? Should I send it via parrotbug? Tim. On Tue, Feb 28, 2006 at 03:36:20PM +, Tim Bunce wrote: > On Tue, Feb 14, 2006 at 10:04:59PM +0100, Leopold Toetsch wrote: > > On Feb 14, 2006, at 18:29, Tim Bunce wrote: > > > > >The runtime dlf

Re: Rare failure of t/dynoplibs/myops alarm sequence

2006-02-28 Thread Tim Bunce
On Tue, Feb 28, 2006 at 03:37:23PM +0100, Leopold Toetsch wrote: > > On Feb 28, 2006, at 14:59, Tim Bunce wrote: > > >FYI I saw this once but haven't been able to repeat it: > > > >t/dynoplibs/myopsok 6/7 > > This can happen if the mac

Re: NCI 'v' vs '' in function parameter signatures

2006-02-28 Thread Tim Bunce
On Tue, Feb 14, 2006 at 10:04:59PM +0100, Leopold Toetsch wrote: > On Feb 14, 2006, at 18:29, Tim Bunce wrote: > > >The runtime dlfunc code will need to be altered to normalize away the > >trailing v so old code won't break. Should it warn about that? > > Yes, a warn

Rare failure of t/dynoplibs/myops alarm sequence

2006-02-28 Thread Tim Bunce
..dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 7 Failed 1/7 tests, 85.71% okay Tim [using r11741]

Re: NCI 'v' vs '' in function parameter signatures

2006-02-14 Thread Tim Bunce
On Tue, Feb 14, 2006 at 02:48:41PM +0100, Leopold Toetsch wrote: > Tim Bunce wrote: > >What's the difference between 'v' and '' for NCI function parameters? > > There isn't any, except the extra 'v' char. > > >I ask because bot

NCI 'v' vs '' in function parameter signatures

2006-02-13 Thread Tim Bunce
04) Those warnings come from a version of tools/build/nativecall.pl I've modified to 'normalize' the signatures to use 'v' and detect duplicates. (As a side effect the nci.o file dropped from 354K to 347K.) Also, what's the protocol for adding signatures to call_list.txt? I've at least one I want to add ('p itl' for mysql_real_connect) and may have more soon. Should I just post a patch here? Tim.

ncidef2pasm - generate PIR?

2006-01-23 Thread Tim Bunce
sm.pl can't generate pir, though I see that being suggested by chromatic in http://www.nntp.perl.org/group/perl.perl6.internals/21353 Was it written by hand, or is there some utility I'm missing? Tim.

Class::Role, Class::Roles, and run-time role composition for Perl5

2005-10-21 Thread Tim Bunce
class if it's already generated one for ref($random_object)+$role_name. I'd work on it myself but I'm busier than usual at the moment[1] and I don't know which of Class::Role or Class::Roles I should add it to. If no one volunteers I'll have a go in a week or three. Tim.

Re: HLL Namespace Design

2005-09-06 Thread Tim Bunce
On Tue, Sep 06, 2005 at 02:22:23PM +0100, Jonathan Worthington wrote: > "Tim Bunce" <[EMAIL PROTECTED]> wrote: > >Having said all that, I don't think it's worth worrying about > >inter-language issues until more fundamental namespace co-existance > &g

Re: HLL Namespace Design

2005-09-06 Thread Tim Bunce
ve each HLL its own 'virtual root' near the top of a shared namespace hierarchy. See this thread, especially message 16 (and then 13,14,15 :) http://groups.google.com/group/perl.perl6.internals/browse_frm/thread/678fbfc5a14813b5 How close is Parrot to supporting that functionality now? (Please excuse me and point me to the docs if this is already settled.) Tim.

Re: Call for B0rked

2005-09-01 Thread Tim Bunce
r Ponie needs most". I'm sure Nicholas can come up with something more specific! Tim.

Re: Perl 6 Summary for 2005-08-15 through 2005-08-22

2005-08-23 Thread Tim Bunce
On Mon, Aug 22, 2005 at 09:43:41PM -0400, Matt Fowles wrote: > >Java on Parrot > Tim Bunce asked some preliminary questions about Java on Parrot. I > provide preliminary answers, and Nattfodd and Autrijus posted links to > related work. The important question of wh

Re: DBI v2 - The Plan and How You Can Help

2005-08-17 Thread Tim Bunce
On Tue, Aug 16, 2005 at 12:12:02PM -0700, Dean Arnold wrote: > Tim Bunce wrote: > > >And nobody mentioned JDBC as a potential model. Odd that. > > I was sorely tempted to do so (and did mention it a few times in > my posts, along w/ ODBC and ADO.NET), but there are some thin

Re: DBI v2 - The Plan and How You Can Help

2005-08-17 Thread Tim Bunce
On Tue, Aug 16, 2005 at 01:16:19PM -0700, Darren Duncan wrote: > At 4:04 PM +0100 8/16/05, Tim Bunce wrote: > >I was a little dissapointed that there wasn't greater focus on using > >Perl6 features - especially as it would have helped kick-start my own > >understand

Re: Parrot <-> Java integration

2005-08-17 Thread Tim Bunce
On Tue, Aug 16, 2005 at 04:39:06PM +0200, Nattfodd wrote: > Tim Bunce wrote: > > >Anyone given any thought to Parrot <-> Java integration? > > > >Possible? > >Practical? > >How much would would be involved? > > > >Tim. > > If I'

Re: DBI v2 - The Plan and How You Can Help

2005-08-17 Thread Tim Bunce
On Tue, Aug 16, 2005 at 03:58:54PM -0400, John Siracusa wrote: > On 8/16/05, Tim Bunce <[EMAIL PROTECTED]> wrote: > > I was a little dissapointed that there wasn't greater focus on using > > Perl6 features - especially as it would have helped kick-start my own > &g

Re: DBI v2 - The Plan and How You Can Help

2005-08-16 Thread Tim Bunce
art my own understanding of Perl6 topics that I expect to be significant (such as Roles and Pairs, to pick two at random). Perhaps the community of Perl6+DBI users is too small at this point. And nobody mentioned JDBC as a potential model. Odd that. Still, I'm sure things will liven up once I've put an initial sketch together... Tim.

t/dynclass/gdbmhash.t failures

2005-08-16 Thread Tim Bunce
function `Parrot_GDBMHash_get_bool': gdbmhash.pmc:171: warning: function call has aggregate value /opt/local/include/gdbm.h:85 reads: extern GDBM_FILE gdbm_open __P((char *, int, int, int, void (*)())); This is on OSX 10.4 with a recent svn update: Last Changed Rev: 8966 Last Changed Date: 2005-08-15 04:57:58 +0100 (Mon, 15 Aug 2005) Tim.

Parrot <-> Java integration

2005-08-16 Thread Tim Bunce
Anyone given any thought to Parrot <-> Java integration? Possible? Practical? How much would would be involved? Tim.

Translating (or at least parsing) Java interface definitions

2005-08-08 Thread Tim Bunce
Anyone done any work on parsing Java interface definitions? And, ideally, translating them into roughly equivalent Perl 6? Tim.

Re: Container model - pictures and questions

2005-08-08 Thread Tim Bunce
m of 'pointer' from a container to the cell it currently contains. (I'm trying to avoid using the term reference.) The description of the container model might benefit from making that pointer more explicit. It would help to clarify the action of the := operator. (And =:= ?) Please correct me if I'm laboring under too much perl5 baggage or confused in other ways. Tim.

Re: DBI v2 - The Plan and How You Can Help

2005-07-21 Thread Tim Bunce
On Sat, Jul 02, 2005 at 01:06:02AM +0100, Tim Bunce wrote: > Once upon a time I said: I'm back now and, after digesting a small mountain of non-DBI related emails, I'll start digesting all your replies and getting up to speed with Perl 6. Many thanks to all who replied on and off-list. Tim.

Re: DBI v2 - The Plan and How You Can Help

2005-07-21 Thread Tim Bunce
same results, or > maybe they did and it all went into the Perl Development Fund instead? The Perl Foundation default donation page doesn't list the DBI Development Fund (for various reasons). To get that option you can use http://dbi.perl.org/donate/ which will redirect you[1] Thank yo

DBI v2 - The Plan and How You Can Help

2005-07-01 Thread Tim Bunce
fully absent of any hi-tech gear beyond a mobile phone. When I get back I'll gather up your emails and try to distill them into a coherent whole. Have fun! Tim.

Re: [Maybe Spam] Re: DBD-mysql coverage == 56% - am I on drugs ??

2005-05-14 Thread Tim Bunce
27;s not really that difficult. Would be _great_ if that could all be automated as far as possible. I presume the gcov files could be automatically detected and processed, for example. Tim.

Re: Test failures on OSX

2005-05-14 Thread Tim Bunce
On Thu, May 12, 2005 at 10:31:06PM +0200, Leopold Toetsch wrote: > Tim wrote: > >Fresh (and first) checkout and build of parrot (#8075) > > first???\ :-) I know, I know. Real life, real work and all that. I've been "watching from afar" though at all this great

Test failures on OSX

2005-05-12 Thread Tim
Fresh (and first) checkout and build of parrot (#8075) on a Mac running OSX 10.3 using the default perl v5.8.1-RC3 built for darwin-thread-multi-2level. Failed two tests. Are these known problems or should I dig deeper? Tim. t/pmc/config...NOK 2# Failed test (t/pmc/config.t

Namespaces, again

2005-05-11 Thread Tim
Seems like the last major thread on namespace issues, especially inter-language issues, was around October last year and didn't reach any firm conclusions. What's the current status? Tim.

Re: Tests running Tests

2005-04-13 Thread Tim Bunce
#!perl -w local $ENV{DBI_PUREPERL} = 2; do 't/01basics.t' or warn $!; die if $@; exit 0 I found the "... or warn $!; die if $@;" incantation worked best. The DBI's Makefile.PL automatically writes a zvpp_*.t for all existing *.t files.

Re: Dynamic Perl, Part 1 [IMCC]

2005-04-08 Thread Tim Bunce
it does" then could PerlArray be an 'empty subclass' of it? If the answer the first question is yes, then couldn't you just rename PerlArray to something without "Perl" in it? Is the taxonomy of PMCs and what functionality they have, written out somewhere? If not th

  1   2   3   4   >