.
--
David Cantrell
David Cantrell
System Architect
The Hut Group<http://www.thehutgroup.com/>
Tel:
Email: david.cantr...@uk2group.com<mailto:david.cantr...@uk2group.com>
For the purposes of this email, the "company" means The Hut Group Limited, a
company registered in England and
pretty
powerful.
For checking deeply nested data structures in XML I like XPath.
Data::DPath appears to allow similar syntax for inspecting perl data
structures.
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
Just because it is possible to do this sort of thing
in the English langua
out of the picture, is lsof working
in the same way for every OS where perl is running?
Never mind working - is it even installed?
--
David Cantrell | Official London Perl Mongers Bad Influence
You are so cynical. And by cynical, of course, I mean correct.
-- Kurt Starsinic
this on? Or is it a limitation of the website and/or the
Devel::Cover::Report::Coveralls module?
--
David Cantrell | top google result for internet beard fetish club
comparative and superlative explained:
Huhn worse, worser, worsest, worsted, wasted
On Fri, Mar 20, 2015 at 01:56:45PM +0100, Paul Johnson wrote:
On Fri, Mar 20, 2015 at 11:42:32AM +, David Cantrell wrote:
Coveralls appears to only count the number of statements hit and not
look at whether my tests cover all the conditions in my code.
Does anyone know if there's some
just
work
The latter is really important. It lets companies add their non-public
code to a CPAN mirror-a-like. It lets you pin some of your
dependencies to particular versions. It lets you do things like the
cpXXXan.
--
David Cantrell | Godless Liberal Elitist
In My Egotistical Opinion, most
/Public/Bug/Display.html?id=96719
I understand that Test::Builder::Tester is the way to go these days -
and it's distributed with Test::Builder, so incompatibilities should
never* happen.
* yeah right
--
David Cantrell | Nth greatest programmer in the world
If you can't imagine how I do
Is anyone here skilled in the mysterious arts of bashing perl, github,
javascript and jenkins together? My lovely employers are looking for
someone to help us with about a week's work in London - please contact
me off-list if you might be interested.
--
David Cantrell
/MyPackage.pm
package MyPackage;
sub import { print import() was called\n }
1;
$ perl -e 'use t::lib::MyPackage;'
$ perl -e 'use lib t/lib;use MyPackage;'
import() was called
There may be other hidden weirdness that I've forgotten about.
--
David Cantrell | Godless Liberal Elitist
worked on safety-critical systems!
--
David Cantrell | even more awesome than a panda-fur coat
Longum iter est per praecepta, breve et efficax per exempla.
dev to live. We have a staging
environment in which real people hammer on the application. Ideally,
they'll record what they do and create repeatable tests completely
independently of the developers.
--
David Cantrell | semi-evolved ape-thing
You don't need to spam good porn
themselves. For two
reasons. First, that means you have to scatter house-keeping crap all
over your tests. Second, if you have a test failure you want the
results to be sitting there in the database to help with debugging.
--
David Cantrell | even more awesome than a panda-fur coat
All
must clean out the database at
startup.
--
David Cantrell | Cake Smuggler Extraordinaire
Nuke a disabled unborn gay baby whale for JESUS!
Raised as github issue 51:
https://github.com/pjcj/Devel--Cover/issues/51
--
David Cantrell | Bourgeois reactionary pig
23.5 degrees of axial tilt is the reason for the season
;
* $foo is false, $bar is true;
* $foo is true and we don't care about $bar
I'm surprised that you can bet NYTProf working but not Cover - in my
experience, they either both work easily or both fail horribly.
--
David Cantrell | Bourgeois reactionary pig
Vegetarian: n: a person who, due
(and the double quotes on Linux will cause any
variables in my perl code to get intepreted by the shell. :-/
Use the multi-argument form of system() to avoid all shell nastiness,
and use Capture::Tiny to catch its output.
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
All
use
different quoting conventions anyway, as Cygwin will use
/some/path/bin/sh vs Win32 using cmd.exe. Which is why you should avoid
the shell entirely.
--
David Cantrell | A machine for turning tea into grumpiness
The word urgent is the moral of the story The boy who cried wolf. As
a general
processes should be infected by that environment variable.
Anyone got any clues?
--
David Cantrell | A machine for turning tea into grumpiness
On Tue, Dec 04, 2012 at 10:32:00PM +0100, Paul Johnson wrote:
On Thu, Nov 29, 2012 at 12:02:00PM +, David Cantrell wrote:
Devel::Cover breaks my tests!
Oops, sorry.
...
If you fancy adding it to github
(https://github.com/pjcj/Devel--Cover/issues?sort=createddirection=descstate=open
for me on where to start patching Devel::Cover?
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
Irregular English:
ladies glow; gentlemen perspire; brutes, oafs and athletes sweat
On Fri, Oct 26, 2012 at 03:29:27PM -0700, Karen Etheridge wrote:
On Thu, Oct 25, 2012 at 04:05:05PM +0100, David Cantrell wrote:
I'm liberating some code that we use at work. A first cut at CPAN-
ising it is here (yes, I know it has no tests yet):
https://github.com/DrHyde/perl-Devel
data *into* your code,
whereas mine is aimed more at testing how you call those other things in
the first place. Also I think that my code's interface is nicer :-)
--
David Cantrell | A machine for turning tea into grumpiness
All praise the Sun God
For He is a Fun God
which is redirected to from
http://cpancover.com but I need to come up with a main page linking to
the available versions and perhaps some way of keeping links alive for a
reasonable amount of time.
Ooh, shiny!
Feature request: some way of easily seeing just my dists.
--
David Cantrell | Cake
On Mon, Dec 05, 2011 at 06:21:13PM -0600, brian d foy wrote:
In article 20111205154758.gh17...@bytemark.barnyard.co.uk, David
Cantrell da...@cantrell.org.uk wrote:
There's at least one other significant difference: CPAN has an
up-to-date index. BackPAN doesn't.
Well, CPAN's index is also
could be an
option.
FWIW, there's at least two other types of repository:
* MiniCPAN
* cpXXXan
MiniCPANs contain *only* what's in the index. cpXXXans have a
restricted index but otherwise have all the content of a BackPAN.
--
David Cantrell | http://www.cantrell.org.uk/david
There's
is for the use of Test::Builder2 only. You should not use
it. It is subject to arbitrary incompatible changes from one version
to another.
=cut
--
David Cantrell | Godless Liberal Elitist
Aluminum makes a nice hat.
All paranoids will tell you that.
But what most do not know
for many instances of 'use Test::More'.
If you like, I can benchmark the new Test::More/Builder against our code
and we can see whether the slowdown is *really* significant or not.
--
David Cantrell | Reality Engineer, Ministry of Information
Seven o'clock in the morning is something
give it a kick.
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
Every normal man must be tempted at times to spit on his hands,
hoist the black flag, and begin slitting throats. -- H. L. Mencken
::Harness is eating them all. And what, dare I ask, constitutes a
kick? :-D
Control-C. But I don't just do it if nothing appears to be happening.
But if there's no change in several minutes then I might do it.
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
If you can read
hasn't yet applied, or
if you've not yet released the latest version of something to the CPAN,
for example.
--
David Cantrell | even more awesome than a panda-fur coat
Seven o'clock in the morning is something that
happens to those less fortunate than me
/distcontaining/::Crypt::DH
which, apart from the annoying 'authors/id/' in the middle, which could
be trivially dealt with using mod_rewrite, looks deliciously RESTish.
--
David Cantrell | Reality Engineer, Ministry of Information
Your call is important to me. To see if it's important
free ponies and kittens
--
David Cantrell | Minister for Arbitrary Justice
function for probing libraries' internals as well as just checking that
a library exists and can be linked.
--
David Cantrell | top google result for internet beard fetish club
We found no search results for crotchet. Did you mean crotch?
to learn.
So I'd like to find someone to take over maintenance, fix the bugs, be
able to test it on both Windows (Cygwin, MSVC and ideally Borland too)
and Unix, and get a release out. If you know VMS (for which it has no
support at all) then all the better!
Any volunteers?
--
David Cantrell | Cake
are welcome!
The password for git is the same as the username, cos I couldn't persuade
Linux and ssh to permit no password at all.
--
David Cantrell | top google result for internet beard fetish club
The Law of Daves: in any gathering of technical people, the
number of Daves
On Sat, Nov 14, 2009 at 10:29:20PM -0600, Jonathan Rockway wrote:
* On Mon, Nov 09 2009, David Cantrell wrote:
On Mon, Nov 09, 2009 at 11:41:21AM +0100, Philippe Bruhat (BooK) wrote:
On Mon, Nov 09, 2009 at 02:24:11AM -0800, Ovid wrote:
Thinking about this more, what about a compile_ok
On Mon, Nov 09, 2009 at 12:15:52PM -0500, Erik Osheim wrote:
On Mon, Nov 09, 2009 at 04:32:18PM +, David Cantrell wrote:
Why not test that the script *works*, not just that it compiles?
That's a good idea. Maybe something like run_ok()?
No, test that it does what it says on the tin, like
that needs testing (since
most of the work is done in the modules), but that one would at least
check that they compile.
Why not test that the script *works*, not just that it compiles?
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
Irregular English:
ladies glow
a bit dodgy, but I guess that that doesn't
matter if this is only run when you 'make* test' by hand. Probably
worth noting in the docs though when you release it seperately.
* for values of make that might be spelt ./Build
--
David Cantrell | Nth greatest programmer in the world
Elliot Shank wrote:
David Cantrell wrote:
The normal way is to have them skip unless some magic environment
variable is set.
Perl::Critic used to do this and then we'd get bug reports from people
who used the same environment variables to run their author tests.
You clearly need
unless some magic environment
variable is set.
--
David Cantrell | Enforcer, South London Linguistic Massive
PERL: Politely Expressed Racoon Love
not installing because it's broken but passed its
tests. I'd worry about false positives.
* at least not for users. It would presumably require a bit more code
in CPAN::Reporter etc.
--
David Cantrell | Enforcer, South London Linguistic Massive
I'm in retox
into
Devel::Hide instead of releasing Yet Another Module Hiding Module to do
it.
--
David Cantrell | Bourgeois reactionary pig
cpan testers out there. If I
can, then I agree, it makes things easier.
I think it's a safe assumption to make. Testers generally just do
whatever CPAN.pm or CPANPLUS would do, they just record and parse the
results instead of throwing them away.
--
David Cantrell | Bourgeois reactionary pig
-effect of how it works, and is documented
under caveats, but I don't imagine it'll change, as to fix that would
require (even more) Dark Magic. Probably tieing @INC, if that's
possible.
--
David Cantrell | Minister for Arbitrary Justice
EIN KIRCHE! EIN KREDO! EIN PAPST!
On Wed, May 06, 2009 at 12:15:38PM -0400, David Golden wrote:
On Wed, May 6, 2009 at 12:05 PM, David Cantrell da...@cantrell.org.uk wrote:
That's true, but this isn't just about testing libs - it's any lib I
might delete from the distribution.
You want Devel::Hide.
I think the original
of doing it.
How about a little Test::Moose module that exports the function you
need and translates it into something that Test::Mo(st|re) understands.
--
David Cantrell | Bourgeois reactionary pig
You can't judge a book by its cover, unless you're a religious nutcase
what a package manager is
for, and why you don't 'Makefile.PL;make;make install' on live, you do
that in dev and test, create a package, install that on staging, test
to buggery again, then install on live.
I wish.
--
David Cantrell | Hero of the Information Age
Longum iter est per praecepta
(...);
}
done_testing();
--
David Cantrell | top google result for internet beard fetish club
You don't need to spam good porn
-64int.
There is also one pass with that, but that's also the only result for
perl 5.8.7.
This tool will convert from a report id to the tester's email address,
hopefully one of them will be able to help you:
http://stats.cpantesters.org/cpanmail.html
--
David Cantrell | Enforcer, South London
intsize=4 (but longsize=8 and ivtype=long), so I'm not sure if my perl
is truly 64 bit or not.
http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3116778.html
--
header FROM_DAVID_CANTRELLFrom =~ /david.cantrell/i
describe FROM_DAVID_CANTRELLMessage is from David Cantrell
score
:
http://perl-qa.hexten.net/wiki/index.php/TestFAQ#How_do_I_update_the_plan_as_I_go.3F
Nice! Ugly as hell, but nice. Thanks!
--
David Cantrell | http://www.cantrell.org.uk/david
It wouldn't hurt to think like a serial killer every so often.
Purely for purposes of prevention, of course.
the normal test
harnesses. It's those that would need to ignore xt/. Which, I believe,
is what they do anyway.
--
David Cantrell | A machine for turning tea into grumpiness
[OS X] appeals to me as a monk, a user, a compiler-of-apps, a
sometime coder, and an easily amused primate
/mysql_create_db.pl
I've not (yet) bothered with PG, Oracle etc. When I need them, I'll
probably extract it out into a nice neat Test::something module with a
bunch of database-specific back-ends.
--
David Cantrell | Nth greatest programmer in the world
NANOG makes me want to unplug everything
Before I upload it to the CPAN, could I ask if someone using MirOS BSD
could check that this release candidate detects it correctly?
http://www.cantrell.org.uk/david/private/Devel-CheckOS-1.44.tar.gz
It should detect it as:
MirOSBSD
Unix
OSFeatures::POSIXShellRedirection
--
David
better, and easier, to just make it use Archive::Tar,
and patch that if necessary.
--
David Cantrell | Minister for Arbitrary Justice
Today's previously unreported paraphilia is tomorrow's Internet sensation
on a Windows machine, and have all the normal Windows tools + bsdtar
that I installed for packing modules, how do I pack the module so it's
directories won't be world writable?
--
David Cantrell | http://www.cantrell.org.uk/david
Suffer the little children to come unto me, as
their buying habits
...
Solaris
$ /usr/bin/tar --help | grep no-same-permissions
Usage: tar {c|r|t|u|[EMAIL PROTECTED] [blocksize]
[tarfile] [size] [exclude-file...] {file | -I include-file | -C
directory file}...
--
David Cantrell | Official London Perl Mongers Bad Influence
Stepped on something soft and wobbly
,
they'll be no worse off than they are now. The only possible problem is
that one of its pre-reqs isn't pure perl - but that's a compression
library thing, so could be made into an optional pre-req, falling back
to the local gzip if necessary.
--
David Cantrell | A machine for turning tea
do:
NetBSD
FreeBSD
Irix
Solaris
They all appear to be different - at least, they all respond differently
to 'tar --help'. This would tend to indicate to me that the solution is
use Archive::Tar.
Someone should also test using GNU tar on Cygwin and GNU tar on Win32.
--
David Cantrell
, not everyone creates their
tarballs on a platform to which Unix permissions map well. eg, Windows
users.
--
David Cantrell | Official London Perl Mongers Bad Influence
I caught myself pulling grey hairs out of my beard.
I'm definitely not going grey, but I am going vain.
of just having a blanket no. A
security-conscious admin would know that security ain't binary.
--
David Cantrell | Official London Perl Mongers Bad Influence
Compromise: n: lowering my standards so you can meet them
trying to work 'Liturgy' into
it. It's probably a good thing that I failed.
--
David Cantrell | top google result for topless karaoke murders
On Thu, Sep 11, 2008 at 02:17:41PM -0700, Michael G Schwern wrote:
The way it looks right now, I want my CC's back. :(
My understanding of The Plan is that you will be able to get them back
soon, once that bit is written.
--
David Cantrell | Reality Engineer, Ministry of Information
NANOG
with Data::Compare.
--
David Cantrell | Godless Liberal Elitist
Aluminum makes a nice hat.
All paranoids will tell you that.
But what most do not know
Is reflections will show
On the CIA's evil landsat.
relationships, politely asking a
CPAN-tester WTF? won't get you slapped.
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
In this episode, R2 and Luke weld the doors shut on their X-Wing,
and Chewbacca discovers that his Ewok girlfriend is really just a
Womble with its nose chopped off.
that's currently at the
top of this page:
http://www.cpantesters.org/show/DateTime.html#DateTime-0.4304
or maybe you won't, cos the overwhelming number of passes would still
swamp it, just like it swamps the two fails that are there already.
--
David Cantrell | top google result for internet beard
?
--
David Cantrell | top google result for topless karaoke murders
All principles of gravity are negated by fear
-- Cartoon Law V
.
--
David Cantrell | Enforcer, South London Linguistic Massive
Perl: the only language that makes Welsh look acceptable
On Thu, Sep 04, 2008 at 06:50:37PM +0100, David Cantrell wrote:
On Thu, Sep 04, 2008 at 10:09:20AM -0700, chromatic wrote:
I fail to understand ...
that much is obvious
[etc]
My apologies chromatic, I shouldn't have lost my temper and said that.
--
David Cantrell | London Perl Mongers
who insists that I read every report I send to them
will just get no reports from me.
Again, all you have to do to stop me sending you reports is *tell me to
stop sending you reports*.
--
David Cantrell | Nth greatest programmer in the world
comparative and superlative explained:
Huhn worse
On Tue, Sep 02, 2008 at 06:21:34PM -0700, Eric Wilhelm wrote:
# from Jan Dubois
On Tue, 02 Sep 2008, David Cantrell wrote:
$ tar tzvf perl-ldap-0.37.tar.gz
?rw-rw-rw- root/root52 2008-08-28 12:52:15 pax_global_header
unknown file type `g'
It is not actually a file
On Wed, Sep 03, 2008 at 08:00:49AM +0200, Andreas J. Koenig wrote:
[git comment in tarballs]
CPAN 1.92_64 is uploaded with a workaround for broken tar
implementations.
Thanks, that appears to work. At least, it Does The Right Thing for
perl-ldap-0.37.
--
David Cantrell | A machine
case of I don't care why it happens.
(Actually we didn't make widgets - we made things that tell other things
where to go Boom. Scary.)
--
David Cantrell | Hero of the Information Age
All children should be aptitude-tested at an early age and,
if their main or only aptitude
and make failures. The vast majority of such failures are because of
deficiencies - such as missing third-party binaries - in the tester's
environment and so shouldn't be reported.
--
David Cantrell | http://www.cantrell.org.uk/david
I think the most difficult moment that anyone could face
, they'll just get pissed off that they get some weird error
twelve screens back (if they bother scrolling back) about Can't locate
method and just assume that your module is broken. And that by
extension, *perl* is broken. They're wrong, but that doesn't matter.
--
David Cantrell | top google
On Tue, Sep 02, 2008 at 10:41:08AM -0700, chromatic wrote:
On Tuesday 02 September 2008 07:11:12 David Cantrell wrote:
On Mon, Sep 01, 2008 at 05:26:11PM -0700, chromatic wrote:
(Step three is probably to stop rewarding people for sending ever-more
reports and start rewarding people
exactly what I type at work to install modules.
The solution there, BTW, is to use $^X or Probe::Perl.
--
David Cantrell | Cake Smuggler Extraordinaire
On Tue, Sep 02, 2008 at 03:17:56PM -0500, Andy Lester wrote:
Can the cpan-testers please get a dedicated list that is not perl-qa?
It's called [EMAIL PROTECTED]
--
David Cantrell | Official London Perl Mongers Bad Influence
Blessed are the pessimists, for they test their backups
, I'll prefer the one that doesn't suffer
from all the world's a Free Unix disease because I want my code to run
on Solaris as well). It is *more* useful as a module developer though.
Follow-ups set to cpan-testers-discuss.
--
David Cantrell | top google result for internet beard fetish club
On Tue, Sep 02, 2008 at 04:38:20PM -0500, Graham Barr wrote:
On Sep 2, 2008, at 4:10 PM, David Cantrell wrote:
I already know that my distributions don't work if you don't
install the
dependencies
I'm pretty damned sure that this a straw man. Can you point at any
regular tester who *right
On Tue, Sep 02, 2008 at 04:38:20PM -0500, Graham Barr wrote:
On Sep 2, 2008, at 4:10 PM, David Cantrell wrote:
I already know that my distributions don't work if you don't
install the
dependencies
I'm pretty damned sure that this a straw man. Can you point at any
regular tester who *right
On Thu, Aug 07, 2008 at 11:43:00AM -0700, Eric Wilhelm wrote:
# from David Cantrell
Please don't take focus away from the window I'm working in. Please
don't cover up any of the many windows I've carefully arranged so that
I can see everything I need.
I would say it only appears
,
because I'm using ADSL and not a local 100Mbps LAN.
--
David Cantrell | Minister for Arbitrary Justice
Irregular English:
you have anecdotes; they have data; I have proof
On Mon, Jun 30, 2008 at 04:27:17PM -0700, Eric Wilhelm wrote:
# from David Cantrell
If you truly have *the* Evil Cargo-Culted t/pod.t (which has been
previously discussed here and elsewhere), it fails spuriously for
some users.
Is this The Evil?
http://drhyde.cvs.sourceforge.net/*checkout
to the copy of the code that runs that particular site. In
reality, if people suggest things, and he thinks they're a good idea,
then he does them. Especially if it's something as simple as adding a
link to a page.
--
David Cantrell | top google result for internet beard fetish club
Irregular
On Mon, Jun 30, 2008 at 08:48:28PM -0500, Andy Lester wrote:
Right. Which is another reason I've started up rethinking-cpan ...
How do I subscribe to that list?
--
David Cantrell | Hero of the Information Age
I apologize if I offended you personally,
I intended to do
On Tue, Jul 01, 2008 at 02:42:55PM +0100, Andy Armstrong wrote:
On 1 Jul 2008, at 14:35, David Cantrell wrote:
Even if you had the source code, it would still be up to him to add
your patch to the copy of the code that runs that particular site. In
reality, if people suggest things, and he
what I was going to say. For
DBI, Iain Truskett wrote my review for me, on 2008-08-13. This appears
to be very soon after cpanrantings was launched.
--
David Cantrell | Nth greatest programmer in the world
Immigration: making Britain great since AD43
is well-formed without
running any code from the distribution in question?
--
David Cantrell | Godless Liberal Elitist
Suffer the little children to come unto me, as
their buying habits are most easily influenced.
-- Marketroid Jesus
chromatic wrote:
On Monday 30 June 2008 15:03:14 David Cantrell wrote:
Surely you can at least check that all POD is well-formed without
running any code from the distribution in question?
Sure, but that's a very different question from Did the author write useful
documentation for everything
On Mon, Jun 30, 2008 at 03:56:42PM -0700, Eric Wilhelm wrote:
# from David Cantrell
I favour the latter, although I find that having the Evil Cargo-Culted
t/pod.t in my distributions is rather useful for finding bugs before I
release my code so I'm gonna continue using it.
If you truly have
at end of file of module tomorrow.
--
David Cantrell | Nth greatest programmer in the world
Immigration: making Britain great since AD43
, and london.pm.
--
David Cantrell | top google result for topless karaoke murders
Planckton: n, the smallest possible living thing
it for the Z80 assembler I'm writing. Trouble is,
this time I have to write all the test case data myself instead of just
using someone elses, and so I'm procrastinating.
--
David Cantrell | top google result for internet beard fetish club
PLEASE NOTE: This message was meant to offend everyone
get local pre-paid SIMs at most airports. I assume Oslo is no
different.
--
David Cantrell | A machine for turning tea into grumpiness
Wow, my first sigquoting! I feel so special now!
-- Dan Sugalski
trap CTRL-C, check for subprocess exiting
with an error and do an orderly FAIL.
FWIW, I'm experiencing similar weirdness on Solaris and NetBSD, but
haven't taken the time to thoroughly investigate it. I probably should.
--
David Cantrell | top google result for topless karaoke murders
On Fri, Mar 14, 2008 at 12:20:40PM -0700, Matisse Enzer wrote:
What are other good reasons to have package declarations match file
paths?
Because it's what everyone does and there are no good reasons to *not*
do it.
--
David Cantrell | Official London Perl Mongers Bad Influence
On Sat, Mar 15, 2008 at 09:00:27AM -0700, Matisse Enzer wrote:
On Mar 15, 2008, at 6:45 AM, David Cantrell wrote:
On Fri, Mar 14, 2008 at 12:20:40PM -0700, Matisse Enzer wrote:
What are other good reasons to have package declarations match file
paths?
Because it's what everyone does
so that when you bundle them, the PAUSE and search.cpan don't
think you're doing an unauthorised release of my modules.
--
David Cantrell | A machine for turning tea into grumpiness
1 - 100 of 202 matches
Mail list logo