ite way round to each other. I wonder why. (Not relevant to any bug
in Sort::Naturally, but it's now intriguing me.)
Smylers
the Ä out of place for the Sort::Naturally line?
It looks it to me. But there's clearly far more going on here than I
understand.
Smylers
BC writes:
> I'd like some feedback and advice for naming some modules I am
> contemplating.
>
>Image::Stereo::MPO
>Image::Stereo::JPS
>Image::Stereo::JPG
Sounds good to me — you've clearly considered this carefully, and your
explanations make sense.
Sm
rather than the existing
ones, then others might too. Don't be discouraged from publishing yours
as an alternative for users to choose from.
Smylers
--
http://twitter.com/Smylers2
ningful —
and therefore longer — name, and include in your distribution a script
which uses it (similarly to how the Image::Size module comes with the
imgsize program). Then when you want a quick one-liner that creates
objects like this, use that script in place of perl.
Smylers
--
http://twitter.com/Smylers2
hypothetical future rival Git-multi-bisect distribution — and
there may not be one — come up with an adjective that distinguishes
itself from yours.
Alternatively, Devel::Git::MultiBisect would indicate that this is a
tool for Perl development use.
Good luck!
Smylers
--
http://twitter.com/Smylers2
Aaron Trevena writes:
> On 24 October 2016 at 09:49, Smylers wrote:
>
> > If your module is Json-specifiec and there already exists a JSON::
> > top-level namespace, then I think it's much better to put it
> > somewhere under JSON:: than Data::, which is so ge
27;s much better to put it somewhere
under JSON:: than Data::, which is so generic it tells users very little
about the module's purpose.
How about JSON::Schema::Inferred?
Smylers
--
http://twitter.com/Smylers2
elprime.com/thelexicon/
So maybe Math::Boolean::Minimise would be the best name, to annoy
everybody equally?
Smylers
--
http://twitter.com/Smylers2
ne that's valid in both makes more sense.
There are plenty of cases (like ‘colour’/‘color’) where UK and USA
spellings are disjoint and you just have to pick one which will be
‘wrong’ somewhere, but this isn't one of those cases.
Smylers
* I believe -ize was the original UK form, in us
module can look up
its docs, whereas it'd be sad for a would-be fan of your module never to
learn of its existence.
Smylers
--
http://twitter.com/Smylers2
ract::Excel
module is only intended to be used with other modules in your framework
and doesn't really make sense as a standalone module for somebody just
wanting to extract data from an Excel spreadsheet (and get back a Perl
data structure they can do what they want with). The brand name
indicates that it's part of the framework and to be used with that.
Hope that helps.
Smylers
--
http://twitter.com/Smylers2
e. If everybody starts
putting unfinished serious modules in Acme, it makes it harder to find
the fun!
Smylers
--
http://twitter.com/Smylers2
ties of
being a defined piece of work with tangible output.
Anybody feeling inspired to give it a go?
Smylers
--
The UK gov's proposed gagging law will suppress protest and campaigning by
charities and political groups. Read more: http://civilsocietycommission.info/
Please sign this petition:
y manner
for MetaCpan.
So an alternative course of action would be:
• Get a job at Google (they seem to always be recruiting).
• Join the search algorithm team.
• Enhance the algorithm to address the above.
Any takers?
Smylers
--
The UK gov's proposed gagging law will suppress protest and
7;t
sound very different from Google giving prominence in search results to
people who pay them for that privilege.
(Not criticizing your article at all, Gabor — given that Google are
doing this, it makes sense for Cpan authors who are on Google+ to link
their accounts as you describe.)
Smyl
Greg Lindahl writes:
> On Thu, Sep 12, 2013 at 05:38:00PM +0100, Smylers wrote:
>
> > How about Vehicle::Tesla::ModelS then?
> >
> > Does putting Device:: in front of that lot actually add anything,
> > other than to the unwieldiness of the name?
>
> Vehic
etc.
How about Vehicle::Tesla::ModelS then?
Does putting Device:: in front of that lot actually add anything, other
than to the unwieldiness of the name?
Smylers
--
Stop drug companies hiding negative research results.
Sign the AllTrials petition to get all clinical research results published.
Read more: http://www.alltrials.net/blog/the-alltrials-campaign/
on't think applies
I think that's OK, too.
It's better for a module name to be generally helpful in indicating its
purpose rather than precisely correct in all circumstances. If you see
the major use of your module to be for refactoring Perl, then I think
you should feel free to use t
her than the
> fact that it's pure-Perl, is the more important thing to put in the
> name.
Yes. After all, most of Cpan is pure Perl modules.
>Mac::Alias::Parse
Sounds good to me. Says what it does, without clobbering an overly
generic namespace that others may wish to share.
itely comply with the WMI package's terms.
You could put a note in the doc asking people to contact you if they
would find your module more useful under a different licence. That way
you can postpone researching the matter further until somebody does (or
possibly never).
Cheers
Smylers
-
:Zilla or BeLike where I'm
explicitly trying to be like a particular author), cos that sounds like
it's personal to that author.
> that I don't think have a proper place on CPAN right now,
What do you mean by that?
If you aren't sure whether something would be worthwhile, upl
e module.
Apart from anything else, it seems hard to come up with a filename which
makes both a good command name for users and works well as module name
in a use line by something else which wants to use the module.
Cheers
Smylers
--
http://twitter.com/Smylers2
AS/libwww-perl-6.04/bin/lwp-request
Would an approach like that work for your situation? If not, can you
share a few details on what makes your module different, so we can work
out a solution that does apply?
Thanks.
Smylers
--
http://twitter.com/Smylers2
Shawn H Corey writes:
> On 12-07-19 01:07 PM, Smylers wrote:
>
> > Please can you run:
> >
> >$ cpan -J | grep sudo
>
> 'mbuild_install_build_command' => 'sudo ./Build',
> 'make_install_make_c
Shawn H Corey writes:
> On 12-07-19 11:34 AM, Smylers wrote:
>
> > Do you have a file called ~/.cpan/CPAN/MyConfig.pm? If so, are there
> > any lines mentioning sudo in there?
>
> No, none.
Well that rules out one possibility, so we must be getting closer!
Please c
gt; I didn't authorize any use of sudo, so someone else put it in there.
Do you have a file called ~/.cpan/CPAN/MyConfig.pm? If so, are there any
lines mentioning sudo in there?
Smylers
--
http://twitter.com/Smylers2
Bill Ward writes:
> On Wed, Dec 14, 2011 at 3:46 AM, Smylers wrote:
>
> > Bill Ward writes:
> >
> > > File::RegexMatch?
> >
> > I think having ::Find:: in there would be better, so that it's
> > immediately obvious that this module performs a s
27;p' appears to be the canonical Perl way of
spelling it:
% perl -E "say ref qr//"
It's also a superset of the spelling 'Regex', so searching for 'Regex'
should still find it, whereas searching for 'Regexp' wouldn't match
'Regex'.
On the downside, 'Regexp' is considerably harder to say than 'Regex'.)
Smylers
ick the
'source' link near the top to see the file it's using.
Cheers
Smylers
--
http://twitter.com/Smylers2
o has only vaguely heard of
roles. And it gives those who haven't something to Google or Duck for.
Searching the web for "does" is unlikely to yield the desired
explanation.
> Although there is no reason not to make a keyword 'which' for that
> matter.
Yes, 'which does autopilot' reads nicely.
Smylers
--
http://twitter.com/Smylers2
e install /
> ./Build install.
Though that can be irritating if your install hangs at that point,
waiting for you to provide a password. An alternative is to
pre-authenticate sudo with the -v flag, so that even the first install
will become root without prompting:
% sudo -v && c
Ovid writes:
> If these corpuses (corpi?)
"Corpora" (similar to "opus" -> "opera").
Smylers
but not elsewhere --
so I thought it worth checking.
Smylers
ing part of the 'main function' of your program.
But none of those names sound bad -- they're all pretty self-
explanatory, so any of them would do.
Smylers
Keith Ivey writes:
> (It seems like object-oriented modules should have names that are
> nouns,
I agree.
(The non-noun suggestions were in case your module isn't
object oriented.)
Smylers
inder, or
> maybe Barcode::Recognizer. Anyone have any better ideas?
Barcode::OCR?
Barcode::Decode or ::Decoder?
Barcode::Interpreter?
Barcode::Read?
Barcode::Image2Numbers?
Smylers
e latest.pm lives
> use latest 'Module::Build'; # Knows to look in inc/bundled/
>
> The general-purpose logic for doing version comparisons lives in latest.pm .
But what if the bundled version of latest.pm is buggy and I already have
a later latest.pm installed on my system? That will use the wrong one!!
Smylers
oom for somebody else to create and
name a module which does write them.
Smylers
ist would be a
good way of handling that").
Whereas if it's purpose is to handle a particular Apple format ("I've
got this plist; how can I deal with that in Perl?"), then that should be
what is emphasized in the name.
Smylers
o.
>
> No! Spam me, spam me! :-)
If you're into RSS, you can get a feed of all your modules' test
results:
http://testers.cpan.org/author/ROODE.rss
Smylers
d in a compiled language', so suggest
Cache::libmemcached. Yes, Cache:: has some other modules in it you
don't want to be associated with, but then so do most Cpan namespaces --
I'm sure you won't be tainted by them!
Or if you want Lib::, then Lib::memcached makes the most sense.
Smylers
;new, '... and we can call it';
> isa_ok $cust, $CLASS, '... and the object it returns';
>
> Those BEGIN blocks really annoy the hell out of me at times :(
Well don't have them then -- put the assignment in the use statement,
which is run at BEGIN time anyway:
use Test::More tests => 1;
my $CLASS;
use ok $CLASS = 'DateTime';
Smylers
an.org/~rgarcia/perl-5.9.5/pod/perl595delta.pod#Module_changes
Smylers
, you have to redo your
distribution.
Which for some people is fine, and, on balance, their prefered way of
working. But it doesn't suit everybody.
Smylers
ople using the Makefile.PL (who currently can't
install your module at all, it seems). Those using Module::Build still
get the Build.PL, so shouldn't be any worse off than they are at the
moment.
Smylers
A. Pagaltzis writes:
> * Smylers <[EMAIL PROTECTED]> [2007-03-02 22:55]:
>
> > A. Pagaltzis writes:
> >
> > > * Smylers <[EMAIL PROTECTED]> [2007-03-01 21:45]:
> > >
> > > ... how do you tell whether `bastract` is a typo or extension
>
rom a user's point of view it's arbitrary
which headers have X- and which don't, and very hard to remember.
Smylers
A. Pagaltzis writes:
> * Smylers <[EMAIL PROTECTED]> [2007-03-01 21:45]:
>
> > Can't we just start using cc-author as a field, then if it takes off
> > get it blessed as part of the official spec?
>
> Then how do you tell whether `bastract` is a typo or
a field in
> META.yml like "notes" for this kind of extra information. E.g.:
>
> notes:
>cc_author: no
Similar kind of problem: "notes" is very generic (like "other" or
"misc"), such that it's arbitrary which is a 'proper' field and which is
a 'notes' field.
Can't we just start using cc-author as a field, then if it takes off get
it blessed as part of the official spec?
Smylers
Nice catch -- I hadn't thought of that one!
> How's that for a great way to turn my software development efforts
> into a personal statement that can help me kid myself into thinking I
> didn't do absolutely *nothing* to make the world a better place
> today? ... What, do I think that you kill people for a living but
> yet, for some odd reason, obey software licenses?
I'm amazingly impressed that you found all the time to put into this.
Thank you.
Smylers
7;multiple packages in one file'
rather than %INC.
Smylers
in your experience of the past week or so the current process is
too slow?
I'm not entirely sure what problem you're trying to solve here. But
that's largely irrelevant -- because however good your idea is, there's
bound to be somebody in the Perl community questioning it or objecting
to it! So don't wait for approval: just do it, whatever "it" is, then
show folks.
Good luck!
Smylers
odule author. :)
Erm, I think he did -- on 2 separate addresses. I'm reading this on the
Module Authors mailing list, where Dariusz's original message had these
headers:
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
CC: module-authors@perl.org, modules@perl.org
Smylers
Darek Dwornikowski writes:
> Dave Rolsky napisał(a):
>
> > On Tue, 2 Jan 2007, Alberto Simões wrote:
> >
> > > Accordingly with http://search.cpan.org/~simonflk/, Simon last
> > > release date for all modules is 25 Mar 2005. I would say the best
> > > approach is to fork it...
> >
> > In this cas
ith a function which
always returns undef, and that isn't very interesting!
Smylers
s with mortgages; what else could it
do but calculate them?
"Calculator" is a little like "Process" or "Do" or "Library" or so on:
given that without any help from the name we already know this is a Perl
library that does something, it doesn't really add anything.
Smylers
Chris writes:
> On Wed, 1 Nov 2006, Smylers wrote:
>
> > Dmitri Tikhonov writes:
> >
> > > I intend to write a new module, Finance::MortgageCalculator, with the
> > > express purpose of calculating mortgages. Does anyone foresee any
> > > problem wi
r calculations you are doing will be appropriate
in other countries?
Something like Finance::Mortgages::ZZ may be more appropriate, where
"ZZ" is your country code.
Smylers
on in there that you'd be happy
to respond to any bug reports which are sent to you.
But otherwise just accept that everybody gets some bad reviews from
time-to-time -- as actors, for example, have had to deal with for
centuries!
Smylers
to me.
> Neither are discussions on annocpan,
That was discussed on this list soon after it launched. My memory is
that we decided that it was OK for AnnoCpan to alert an author the first
time a comment is made on her module, and then give the option of
subscribing to future alerts.
Smylers
ng all the Pause volunteers at once.
Smylers
.
> ... so I have to find a different solution.
Not necessarily. Try again; follow-up to the thread, making sure you
include the entire list, and see what happens.
Smylers
;s because DateTime emits in ISO 8601 format by
default, so you don't need to do anything special to get it.
Smylers
n't see the problem with
Leo's actions, but that I simply don't think it's an appropriate use of
Cpan Ratings to launch attacks like this at all.
[*0] And also that he can't spell "flexible"; that's less useful to
know.
Smylers
tures...
Why?
In the case where the user supplied a hash surely you could remember
this and return the results as a hash too?
Smylers
m this shouldn't mess things up in automated
environments.
Smylers
it exactly would likely mean either the namespaces' names
being unwieldily long or fragmenting each namespace into lots of
separate namespaces for each of the niches.
If Module:: is what's being used then use it, and don't worry that
sometimes packages don't contain any modules.
Smylers
to itself.
Whereas "template" is an ordinary generic English word which is useful
to many modules, so it isn't as reasonable for one particular templating
module to snaffle that entire top-level namespace from everybody else.
Smylers
h, or whether it's a different
concept entirely.
> Not only that but CamelHump identifiers are considered to bad style in
> the eyes of much of the community.
It is harder for a coder to enter style-heaven than it is to fit a
CamelHump through the eye of the community?
Smylers
A. Pagaltzis writes:
> * Smylers <[EMAIL PROTECTED]> [2005-12-04 03:35]:
>
> > That's because the default ftplugin/perl.vim sets iskeyword to
> > include the colon, so that all gets treated as a single word.
> > Until now I hadn't seen a disadvantage of
Eric Wilhelm writes:
> # from Smylers
> # on Saturday 03 December 2005 03:41 am:
>
> > That sounds tedious when written down like this, but basically it
> > just involves holding down Ctrl and pressing P and X a few times.
>
> Neat. My vim does it all at once if the
7;d prefer CAD::, Graphics::,
Video::, and whatever -- cos those are the sorts of modules that work
together (even if only some of them are to do with file-types), rather
than all the modules dealing with file-types.
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
Austin Schutz writes:
> On Sat, Dec 03, 2005 at 08:30:20AM +0000, Smylers wrote:
>
> > [Austin wrote:]
> >
> > > Do I care what it's called?
> >
> > A large search results listing is one such place. You want to be able
> > to pick out the p
A. Pagaltzis writes:
> * Smylers <[EMAIL PROTECTED]> [2005-12-03 09:20]:
>
> > But that's still grouping together all file-format-related
> > modules (under Process::), rather than grouping them by
> > function.
>
> I was not being serious. :-)
Ooops
about which module name is better
> than some other similar name are a waste of time,
If you don't care what modules are called then don't participate in
them! By definition whatever a module ends up being called you will be
satisified! If some of the rest of us (including a modules&
A. Pagaltzis writes:
> * Smylers <[EMAIL PROTECTED]> [2005-12-02 22:10]:
>
> > Eric Wilhelm writes:
> >
> > > I'm working on CAD::DXF for now,
> >
> > "Cad" is a well-known acronym. I have no use for anything
> > cad-relate
sage is a great way of finding something. Anybody
who wants to use CSS for something else is bound to know that HTML is
its dominant usage.
CSS has recently been used to format a book using Yes Logic's Prince ...
but HTML was still used for the mark-up.
Smylers
--
May God bless us with enough
27;t heard of FLV before
this thread, and I wouldn't guess "FF" without this thread either.
With Flash::FLV I still wouldn't know what "FLV" stands for, but I'd
have a clue as to its context -- enough of a clue to know whether I'm
interested in investigati
vides analogous behaviour on things that
aren't sets, I don't think that would bar it from using PowerSet in its
name.
> (I rule out Algorithm::*, since the you're not actually supposed to
> care how it does its business, only that it does it).
That's a good point, and I
hanks for confirming
it.
> I've just scheduled MSERGEANT/Apache-Reload-0.07.tar.gz for
> reindexing ...
Thank you!
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
Matt Sergeant writes:
> On 22 Aug 2005, at 09:55, Smylers wrote:
>
> > ... there seems to be something odd about the Apache-Reload-0.07
> > distribution. I first noticed that my usual way of jumping to a
> > module's documentation on the Cpan Search website
That newer, smarter versions
of these tools exist doesn't help them.
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
Perl 5 modules. If a Perl 6 DBI module exists, I
posit that it would not be a good thing if this was what the CPAN or
CPANPLUS modules automatically down load, nor if that's what the Cpan
Search website presents as being the most recent version of DBI.
Smylers
--
May God bless us with enough
Sam Vilain writes:
> Smylers wrote:
>
> > Sam (or any other IO::All users reading this), what's your
> > experience of IO::All? How much effort has it saved you? Does it
> > make your code look
Hi Sam -- thanks for taking the time to answer.
> I've only
#x27;s
quite possible there are other people also reading that feed who did
likewise and then actually went on to use the modules.
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
rkers
will have trouble with it.
(Actually, possibly one of the reasons I'm liking using Path::Class is
that while it theoretically is a better interface to using File::Spec,
we weren't using File::Spec previously, but concatenating and
interpolating strings, awkwardly and non-cross-platformily; so it's a
definite improvement.)
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
Rhesa Rozendaal writes:
> Smylers wrote:
>
> > my %opts = (countername => $countername, @_);
> [...]
> > bless \%opts, $pkg;
> >
> > But supplying the default values for each individual option means
> > this technique doesn't avoid having
7;t clone the counter's value but resets it to the initial
value.)
Finally, in the doc here:
http://search.cpan.org/~rhesa/DBIx-Counter-0.01/lib/DBIx/Counter.pm#new
I think it'd be less confusing if the big code block only contained
things that are actually Perl code. My pod knowle
ould be good to emphasize that stringification is happening, and
that the value can be interpolated into strings:
print "Item $c is being processed\n";
Cheers.
Smylers
Philippe 'BooK' Bruhat writes:
> Le mercredi 06 avril 2005 à 12:11, Smylers écrivait:
>
> > Also "PropertySet" makes it sounds that it _sets_ properties,
> > whereas you said your module reads them.
>
> It all depends if you hear "set" as a
hidden flags,
> > ownership, etc.
>
> Or maybe Win32::Storage::PropertySet?
I would expect something with "storage" in its name to be quite
low-level; it wouldn't occur to me that it would deal with
document-specific properties.
Also "PropertySet" makes it sounds that it _sets_ properties, whereas
you said your module reads them.
Smylers
Chris Josephes writes:
> Any idea of what it would take to get a password reset on a CPAN
> account?
Mail modules@perl.org and ask what you can do to persuade one of the
people there that you are who you say you are.
Smylers
and mine both are. And even being less pedantic, it
seems odd to have to choose "other" for a situation which isn't
remarkable or unusual (and which, until such a time as a later version
of the GPL is released, is in practice the same as Perl's own licence).
Smylers
.
Of course, even if we change _where_ this metadata is stored, we still
have to address Robert's original points about the data itself.
Smylers
s module rather than other modules.
You only have to type the module name in the use line and in any class
methods, often just a constructor.
"GST" can mean many things (try Googling for it) -- even within the
context of Gnome it has another meaning:
http://www.gnome.org/projects/gst/
Smylers
o be modelling something tangible. Here we can have "a
Math::RootFind", which doesn't really make sense, and I called the
variable above "$thingy" because there isn't an obvious name for what it
represents; that is often a red flag that such an entity is representing
an artificial entity.
Smylers
to
be forced to pick IDs that are not valid Pause IDs (possibily by
insisting on including a digit or underscore or space). That could also
be an unpopular policy.
Smylers
ur scraping is very much appreciated.
Smylers
n the second module with the first
one.
This does mean that very specific modules do end up with rather long
names, but generally they don't have to be typed very often (the use
line, plus in the constructor for OO modules), and in the long run a
meaningful name is worth more than a few keystrokes.
Smylers
1 - 100 of 158 matches
Mail list logo