Re: Project Idea: Perl 6 Syntax Explainer

2007-07-12 Thread David Cantrell
gt; elements instead of functions) I proposed a "perldoc -f"-a-like for operators a coupla years ago on p5p. People thought it was a good idea. I even started work on it, but stopped before I got very far cos other stuff intervened. I should get back on it. -- David Cantrell | Reality

Re: the CGI.pm in Perl 6

2006-09-21 Thread David Cantrell
On Tue, Sep 19, 2006 at 08:16:26AM -0700, Randal L. Schwartz wrote: > >>>>> "David" == David Cantrell <[EMAIL PROTECTED]> writes: > >> But don't throw out the simplicity of CGI.pm's basic task handling: parsing > >> the incoming paramet

Re: the CGI.pm in Perl 6

2006-09-18 Thread David Cantrell
that are CGI's bread and butter), but generating tags is most definitely not anything to do with CGI. -- David Cantrell | Enforcer, South London Linguistic Massive All praise the Sun God For He is a Fun God Ra Ra Ra!

Re: Web.pm or something (Re: the CGI.pm in Perl 6)

2006-09-13 Thread David Cantrell
r ala mod_perl. To me the Commong Gateway Interface means a standard method for dealing with data supplied by the user, nothing more. It certainly doesn't specify how you should implement it. Indeed, every mod_perl application I've seen uses CGI. -- David Cantrell | A machine for t

Re: the CGI.pm in Perl 6

2006-09-13 Thread David Cantrell
more recently using a templating language like TT. -- David Cantrell | top google result for "internet beard fetish club" Computer Science is about lofty design goals and careful algorithmic optimisation. Sysadminning is about cleaning up the resulting mess.

Re: On "Gaming" CPANTS, and a Kwalitee Suggestion

2006-07-06 Thread David Cantrell
7;t think that signatures matter in the slightest. It doesn't give you any kind of trust metric (like, say, that the author is a nice guy and his Makefile.PL won't delete your home directory) that you don't already have from the fact that my module had to have been uploaded by me. -- David Cantrell

Re: Fwd: Minimum modules for Production?

2006-06-01 Thread David Cantrell
owadays) would > probably make sense. Basic I/O is talking to filehandles and nyetwork sockets. Anything above the UDP / TCP level should not, IMO, be included. -- David Cantrell | random organic glop and a metric fuckton of electricity On the bright side, if sendmail is tied up routing s

Re: Minimum modules for Production?

2006-05-31 Thread David Cantrell
ty bundle, DB bundle, webserver bundle, algorithms bundle, > Unix sysadmin bundle, Win32 bundle, Math bundle etc. Stuff like > DateTime can go to some kind of a Utils bundle. Thankfully, that's really easy to do with CPAN. See, eg, Bundle::Math or Bundle::Perl6. -- David Cantrell | London Pe

Re: Fwd: Minimum modules for Production?

2006-05-31 Thread David Cantrell
on mostly to those with dvd burners or those willing to purchase > dvd installation disks. Or those willing to feed more than one CD into their machine. -- David Cantrell | London Perl Mongers Deputy Chief Heretic Cum catapultae proscriptae erunt tum soli proscript catapultas habebunt

Re: Minimum modules for Production?

2006-05-30 Thread David Cantrell
ut I'm not sure) > DateTime > CGI > Some object-relational mapper > mod_perl6 or some equivalent > An HTML parser > Various testing modules I doubt a HTML parser is that important. Something like Storable and GDBM_File are though. -- David Cantrell | random organic

Re: 3 Good Reasons...

2006-05-26 Thread David Cantrell
27;s now been cloned as Log4perl. More importantly from a perl programmer's point of view, I'd really like the benighted heathen pythonistas to be able to use my fabulous perl code. -- David Cantrell | Reality Engineer, Ministry of Information It's my experience that neithe

Re: perl 6 hosting?

2006-05-24 Thread David Cantrell
On Tue, May 23, 2006 at 06:29:06PM +0100, Michael Mathews wrote: > Um, yes anyone wanna work on a tryperl6 virtual shell? I might be able to host a virtual machine with perl6 on it and give out accounts. I need to think about how to stop people being naughty though. -- David Cantr

Re: Where can I find a Perl 6 langauge reference?

2006-05-19 Thread David Cantrell
pugs, checked out the latest from the SVN repository (I think > it's http://svn.openfoundry.org/pugs/), and built it. There's an > INSTALL file in the root directory that explains things more. Is there such a thing as an idiots' guide to getting Pugs working on OS X? Cos every

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread David Cantrell
A. Pagaltzis wrote: * David Cantrell <[EMAIL PROTECTED]> [2006-05-03 11:00]: It does work very well though and I prefer it to fighting with the MakeMaker docs to figure out how to get it to install a data file in the right place :-) Perl has language-level support for uuencoding/-decodin

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread David Cantrell
a data file in the right place :-) -- David Cantrell

Re: Module requirements

2006-04-07 Thread David Cantrell
chromatic wrote: On Thursday 06 April 2006 17:53, Adam Kennedy wrote: UNIVERSAL::isa/can when called as a function does a very specific thing, and one that is often misunderstood. ... and never correct, in the face of proxy objects, blessed objects, overloading, and ties. I disagree. In part

Re: Module requirements

2006-04-05 Thread David Cantrell
Smylers wrote: David Cantrell writes: rsnapshot (for example) has its own code for traversing a directory tree, its own cut-down Memoize, and probably a few others that I've not found yet. That said, I don't want to see those things go into the core, because I'm in the "

Re: Module requirements

2006-04-05 Thread David Cantrell
its own code for traversing a directory tree, its own cut-down Memoize, and probably a few others that I've not found yet. That said, I don't want to see those things go into the core, because I'm in the "the core is too big already" camp. -- David Cantrell

Re: Module requirements

2006-04-05 Thread David Cantrell
believe that "there's more than one way to do it and almost all of them are wrong". -- David Cantrell

Re: Module requirements

2006-04-05 Thread David Cantrell
cation is broken if one of its dependencies doesn't work on their version of perl. If you're lucky, they might read the error and determine that the module and not the application (or the language!) is broken, but I'd not put money on them bothering to do that. -- David Cantrell

Re: [OT] TDD only works for simple things...

2006-03-28 Thread David Cantrell
Ben Evans wrote: Strawman. Ad hominem. A graphing library is an obvious example where functional testing should be used prior to automated regression testing. Yes. It is one of many such examples. It just happens to be the one I am working on as we speak. -- David Cantrell

Re: [OT] TDD only works for simple things...

2006-03-28 Thread David Cantrell
Geoffrey Young wrote: David Cantrell wrote: Try writing a test suite ahead of time for a graphing library. It's possible (indeed, it's trivial - just check the md5 hashes of the images that are spat out against images that you have prepared ahead of time in some other way) but i

Re: [OT] TDD only works for simple things...

2006-03-28 Thread David Cantrell
lts are good I then put an md5 hash of the image into a regression test. -- David Cantrell

Re: Trends in Code Quality

2006-03-01 Thread David Cantrell
d has nothing to do with perl programming. -- David Cantrell

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-02-06 Thread David Cantrell
David Landgren wrote: David Cantrell wrote: brian d foy wrote: Seriously though, I would expect things in Win32::* to only work on Windows, things in Linux::* only to work on linux, and so on for many other sections (including Mac::* where I have some modules). Portable code isn't alway

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-31 Thread David Cantrell
at it's an excellent example of a nice portable module. It doesn't work on RISC OS though. -- David Cantrell

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-30 Thread David Cantrell
information. And god help you if you're looking at a TranslateFilenamesUsingFiglet fs (which you wrote using fuse when very very drunk). -- David Cantrell

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-30 Thread David Cantrell
demerphq wrote: On 1/30/06, David Cantrell <[EMAIL PROTECTED]> wrote: So how, then, do I tell the testing system "this module only works on Unix-like filesystems on Unix-like OSes"? Hopefully it will be something like: $I::don't::bother::to::write::portable::code=1; My c

Re: Binary distributions

2006-01-30 Thread David Cantrell
aintanance nightmare and I wish to be no part of that :) Actually, this isn't so bad on Debian. The packaging system copes with having dependencies on particular versions of other packages, and Debian is VERY stable - libfoo just doesn't randomly change version. -- David Cantrell

Re: Dependency trees was: CPAN Upload: D/DO/DOMM/Module-CPANTS-Analyse-0.5.tar.gz

2006-01-30 Thread David Cantrell
ke installing CPAN packages into hosted environments much easier. Can you explain why? I don't understand. Surely if a hosting company doesn't let people install stuff from the CPAN they'll be just as idiotic about the CPPMAN? -- David Cantrell

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-30 Thread David Cantrell
stems on Unix-like OSes"? -- David Cantrell

Re: CPANTS: released_while_burning_midnight_oil

2005-11-15 Thread David Cantrell
tormtrooper Black Helicopters, it has to be a Pinot Noir. -- David Cantrell

Re: Proposed Kwalitee tests: has_license and/or has_meta_yml_license

2005-11-03 Thread David Cantrell
aiming for high Quality instead of Kwalitee. I'm all in favour of adding has_licence, on the grounds that some people care about Kwalitee willy-waving and not Quality, and so it'll be a good way to encourage them to DTRT. -- David Cantrell

Re: New kwalitee test, has_changes

2005-09-21 Thread David Cantrell
modules, like what File::Spec does. I'd not support that argument though - it would make stuff like ... warn("Windows isn't supported\n") if($^O =~ /win32/i); impractical. -- David Cantrell

Re: kwalitee: drop Acme?

2005-09-12 Thread David Cantrell
Adam Kennedy wrote: David Cantrell wrote: Tels wrote: If I were to run CPANTS, I would drop that module like a hot potato at a summer campfire. Oh, and reduce everyone's K rating involved in the little prank by one :) I thought the whole point of CPANTS was to be useful to authors

Re: kwalitee: drop Acme?

2005-09-09 Thread David Cantrell
nt to game my CPANTS rating why would you care? -- David Cantrell

Re: Inline POD vs not (was Re: Modules::Starter question)

2005-08-16 Thread David Cantrell
bout that! What revision of perl (or rather, perldoc) did that appear in? I think I'll stick to #comments though - less typing! -- David Cantrell

Re: [PATCH] recreatable shuffled tests for "prove"

2005-07-28 Thread David Cantrell
demerphq wrote: Whose command line? Mine doesnt by default come with xargs. I expect it didn't come with perl either, yet you seem to have managed to install that yourself. -- David Cantrell

Re: Need to talk to an EU patent attorney

2005-07-13 Thread David Cantrell
y have some decent contacts. See also: http://www.edri.org/ http://www.eff-europe.org/ -- David Cantrell

Re: Module and package version numbering

2005-04-20 Thread David Cantrell
Adrian Howard wrote: On 19 Apr 2005, at 11:40, David Cantrell wrote: The script that generates it doesn't change. The data that it mangles into a module is the bit that changes. Can you add a version number to the data? Yep, did that last night. It's (eg) 1.20050420. I dug through m

Re: Module and package version numbering

2005-04-19 Thread David Cantrell
Adrian Howard wrote: On 18 Apr 2005, at 17:03, David Cantrell wrote: Number::Phone::UK::Data - no version, this is where the .0004 comes from though. It has no version number because the entire file is generated from a *really* dumb

Module and package version numbering

2005-04-18 Thread David Cantrell
from the versions of the several modules contained therein - and if not, where should the package version number come from? and 2) Am I breaking anything? -- David Cantrell

Re: Kwalitee and has_test_*

2005-04-18 Thread David Cantrell
maintenance of a module it is usually with the blessing of the previous maintainer, so that shouldn't be difficult most of the time. -- David Cantrell

Re: Whither "use English"?

2005-04-12 Thread David Cantrell
Urdu, right up to the moment that they want their English, or Russian, or German, or Japanese users to submit patches. -- David Cantrell | London Perl Mongers Deputy Chief Heretic It's my experience that neither users nor customers can articulate what it is they want, nor can they evaluate it when they see it -- Alan Cooper

Re: Whither "use English"?

2005-04-12 Thread David Cantrell
ility* of using non-ascii letters in > > identifiers, even. > I think we already have Latin-1 in identifiers... more's the pity. > Let's see about UTF-8 > pugs> my $??? = 1; > undef > pugs> $???; > 1 I see a sequence of

Re: How to force tests to issue "NA" reports?

2005-04-08 Thread David Cantrell
_application'. Mac::iTunes::Applescript has an obvious prerequisite. The module Net::P0fq that I am slowly working on requires a running copy of p0f. -- David Cantrell

Re: Kwalitee and has_test_*

2005-04-04 Thread David Cantrell
Thomas Klausner wrote: I cannot check POD coverage because Pod::Coverage executes the code. No it doesn't. That said, if you don't want to run the code you're testing, you are, errm, limiting yourself rather badly. -- David Cantrell

Re: Testing Net-SSLeay

2005-04-04 Thread David Cantrell
still using 5.6.0 with no additional modules does > something wrong. That too :-) -- David Cantrell

Re: Kwalitee and has_test_*

2005-04-04 Thread David Cantrell
think how on earth to objectively measure that. -- David Cantrell

Re: Foreign modules in test scripts?

2005-02-21 Thread David Cantrell
#x27;s hard to find amongst the noise of old versions in other distributions Personally, I would probably just the list the module as a dependency, because that's easy for me. Not only easier for you, better for your users. -- David Cantrell

Re: Novice

2005-02-17 Thread David Cantrell
design of the Perl 6 language. Unfortunately an implementation does > not yet exist, but we're working on it. Well, Autrijus is working on it :-) -- David Cantrell | Hero of the Information Age It doesn't matter to me if someone else's computer is faster because I know m

Re: Testing What Was Printed

2005-02-08 Thread David Cantrell
Jim Keenan wrote: Using the standard Test::More framework, is it possible to test whether what was printed to a filehandle matches a predetermined string or list of strings? Would IO::Capture be of help here? -- David Cantrell

Re: Uncle Bob on Coding Standards

2004-12-15 Thread David Cantrell
H.Merijn Brand wrote: Just only today I hit an M$Access database with a table named `./onderw`.`"Bus"; "Taxi"; "Auto"` My mail client inexplicably just quit. I assume because it was so disgusted. -- David Cantrell

Re: --session option to prove

2004-12-13 Thread David Cantrell
e for a .t file is less than optimal, I agree. If you have to go and touch your test file to tell it about a change in your module, that is kinda lame. Changing the module without adding a test for the changes is kinda lame too! -- David Cantrell

Re: FW: Periodic Table of the Operators

2004-06-08 Thread David Cantrell
On Tue, Jun 08, 2004 at 11:30:51AM +0100, Tim Bunce wrote: > On Mon, Jun 07, 2004 at 10:52:32PM +0100, David Cantrell wrote: > > But when I'm using a > > terminal session, I have found that the only practical way of get

Re: FW: Periodic Table of the Operators

2004-06-07 Thread David Cantrell
Mark J. Reed wrote: On 2004-06-07 at 21:33:03, David Cantrell wrote: This is what is so wrong about allowing unicode operators - yes, I don't need to write them, but if some other programmer writes one I have to be able to read it. And I can't. Well, for one thing, just because your ema

Re: FW: Periodic Table of the Operators

2004-06-07 Thread David Cantrell
to type and . This is what is so wrong about allowing unicode operators - yes, I don't need to write them, but if some other programmer writes one I have to be able to read it. And I can't. -- David Cantrell | Reprobate | http://www.cantrell.org.uk/david When a man is tir

Re: Compatibility with perl 5

2004-04-13 Thread David Cantrell
n a package, then start > it with "package main". This is something that should be brought to a wider audience cos then you won't get more people like me wandering in and asking silly questions. I shall write something up for perlmonks tomorrow. -- David Cantrell | Official London Perl Mongers Bad Influence

Re: Compatibility with perl 5

2004-04-13 Thread David Cantrell
On Tue, Apr 13, 2004 at 02:27:08PM +0200, Juerd wrote: > David Cantrell skribis 2004-04-13 13:16 (+0100): > > Perl 6, we are promised, will try to run "legacy" code unchanged. How > > will it spot such legacy code? Doing this reliably is a hard problem, > > but we

Compatibility with perl 5

2004-04-13 Thread David Cantrell
ch a null-op pragma were to go into the next perl 5.8.x release people could start preparing their existing code for perl 6 right now. Which is surely a Good Thing. And of course if the pragma were to also be available to download seperately from the CPAN people still using older 5.x releases could still use it. -- David Cantrell

Re: Why shouldn't sleep(0.5) DWIM?

2001-02-01 Thread David Cantrell
On Wed, Jan 31, 2001 at 04:43:38PM -0500, Dan Sugalski wrote: > The core's going to look big, but be small What, like am inside-out TARDIS? -- David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/ Any technology distinguishable from magic is insufficiently advanc

Re: JWZ on s/Java/Perl/

2001-01-29 Thread David Cantrell
it'll do what I tell it to do. This may have more to do with me having no formal CS education but plenty of 8-bit haXX0ring than anything else :-) -- David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/ Any technology distinguishable from magic is insufficiently advanced

Re: [FWP] sorting text in human-order

2001-01-06 Thread David Cantrell
ighty-nine You are making the common mistake of assuming that your dialect of English is correct for all English speakers. It most obviously isn't. -- David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david The voices said it's a good day to clean my weapons.

Re: [FWP] sorting text in human-order

2001-01-04 Thread David Cantrell
e One thousand eight hundred twenty one Eighteen hundred and twenty one As far as *I* am concerned, the middle one is wrong (although I believe it is considered correct in some parts of the world), and whether to use the first or the thrid form would depend on context. -- David Cantrell | [EMAIL