Hello people of module-authors!
I have been working on a module which will allow one to do some
relatively advanced storage and lookup mechanisms
on pure Perl object references.
The features are as follows:
1) Use perl objects as keys.
2) You may choose whether the database will retain a stro
iately.
If the author becomes responsive, they can choose to merge your fork, or
simply update the docs of the first branch to recommend the branch you
maintain.
Mark
crub( allow => [qw/b i em strong/] ) ]
> }
> };
I like the API and as the Data::FormValidator maintainer, I welcome this
addition to the Data::FormValidator name space. I suspect I'll use this
contribution myself!
Mark
on
Skatepark.org, and include the unrated items at the bottom. (Which
encourages people to rate things they like!)
Alternatively, it could be useful if cpanratings.perl.org allowed some
way to browse modules by topic or keyword, with a sorting by rating.
Mark
to evaluate a module when I can see what others think about it as well.
Mark
uments. Public discussion on this
moment would eat all our time. Of course, we hope it will grow into a
community project after the YAPC.
--
Regards,
MarkOv
----
Mark Overmeer MSc
e, though.
I say: If you are care about a module's maintenance, start acting like
you own it, being considering that others, especially the current
maintainer, may feel the same way.
Mark
David Landgren wrote:
> Andy Lester wrote:
>>
>> On Sep 7, 2006, at 9:08 AM, Mark Stosberg wrote:
>>
>>> I say: If you are care about a module's maintenance, start acting like
>>> you own it, being considering that others, especially the current
>&
monly used as a development tool.
Mark
Pretty sure you just don't use it. HTH. -MARKLE
On Wed, Aug 27, 2014 at 12:17 AM, Jonas Brømsø Nielsen
wrote:
> Hello,
>
> I am a getting a lot of failure reports from CPAN testers on issues with
> UNIVERSAL. These testers are using:
>
> perl 5.21.3
>
> Example:
>
> -
> http:/
, the subroutine "return" function
broadcasts to ask which listener expects its results. Implement map-reduce
this way? And whatever...
Mark
On Sep 7, 2014 11:01 AM, "Dana Hudes" wrote:
> There exists a Perl interface to Hadoop. I can't look up right now, but i
> thin
have potentional for namespace conflicts if
the application uses
it's own "Crazy::Horse" module, and that's already in use in the modules
directory?
-mark
http://mark.stosberg.com/
> We could, alternatively, use Tracker. I like that cause its less typing.
I prefer Apps::Tracker for being more descriptive.
-mark
http://mark.stosberg.com/
ilar to an existings module:
DBIx::UserDB
Maybe yours could be DBIx::Auth?
I'm new at module naming myself.
-mark
http://mark.stosberg.com/
n extra step to
do something I could do quicker directly.
OTOH, perhaps there are OO purists out there that will better appreciate
having the environment variables available through this framework. :)
-mark
>
> SYNOPSIS
> use Env::Object;
>
> my $env = Env::Objec
ce a very
> strong emphasis on being a wrapper around %ENV. I should
> definitely modify that, because %ENV is just one possibility,
> and, as Mark pointed out, not a particularly good one.
Ah, thanks for the clarification Darren.
> True. But, using the DBI::Env example from t
uch issues ?
Mark
P.S. Please respond also to my explicit email since I just registered on the
list and am not yet sure I'm getting emails from it.
- --
Name: Mark Veltzer
Title: Research and Development
Company: Meta Ltd.
Address: Habikaa 17/3, Kiriat Sharet
City: Holon
Zip code: 58495
C
On Sat, 27 Oct 2001, Mark Veltzer wrote:
> Hello!
>
> I'm an author of a single CPAN package. I have recently tried to use the CPAN
> package Compress-Bzip2-1.00 and it didn't compile not pass tests. I fixed it
> up and managed to use it on my machine but couldnt give
er modules probably have the same problems.
I can understand the reasoning not to let every author step on other authors
packages - but somehow the situation that occured with Compress::Bzip2 should
not be allowed to occur again.
Anyone care to comment ?
Mark.
- --
Name: Mark Veltzer
Title
having a chance to see these changes on CPAN ?
Olivier,
This is addressed in the FAQ:
http://www.cpan.org/misc/cpan-faq.html#How_maintain_module
-mark
http://mark.stosberg.com/
nchmark module, as it's used like this:
use Benchmark;
$t0 = new Benchmark;
# ... your code here ...
$t1 = new Benchmark;
$td = timediff($t1, $t0);
print "the code took:",timestr($td),&
re a field named "cc_no" is being validated with the "cc_number" constraint,
taking the cc_no and cc_type. It's possible to use a code ref to define
to custom function with more complex checking if you'd like.
With that said could
scribe a complex data structure like the above in plain english.
Perhaps the documentation just needs more examples or better structure.
Suggestions welcome. :)
-mark
. . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg Principal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 223 website development
. . . . . http://www.summersault.com/ . . . . . . .
my @list = some_func();
die if($seen->get(\@list));
$seen->set(\@list,1);
}
Map::List, Map::Hash, Map::Set, and Map::Bag all have
similar interfaces. They differ in how they determine
equality.
Thanks for any advice, including advice on whether I
should conside
Thank you for your reply. I believe your system works
for lists. For hashes, things get complicated because
equal hashes may serialize with their keys in
different orders using Data::Dumper or Storable.
FreezeThaw seems to work, though.
So, only Map::Set and Map::Bag now seem relevant, as
they
s hard to tell which of similar modules
which actually be useful for the task at hand.
-mark
. . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg Principal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 223 website development
. . . . . http://www.summersault.com/ . . . . . . .
Steve Fink wrote:
>
> If you're just worried about an exact collision and are ok with a
> semantic one, you could use DBD::Mux. Or DBD::Demultiplex -- the
> difference is mostly a matter of perspective. DBD::Hub?
> DBD::TrafficCop? DBD::Router? DBD::Any?
I suggest: DBD::A
read the definition here:
http://www.alankorn.com/briefs/mendler.html#_ftn2
Maybe that's a little different than what you want. :)
-mark
. . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg Principal Developer
[EMAIL PROTECTED] Summersa
.. If you know the
state
space, such as [0..255], you can use an array instead
of a hash, initializing each element to zero (or
treating undef appropriately when encountered). Array
references can be blessed just as hash references can,
and array lookups are a bit faster.
Mark Dilger
--- Rhe
fine job of download-and-install, but there's no
> inventory function or query-for-update.
I thought that's what the "r" (for reinstall) function in the CPAN shell
does. It appears to emit a list of your currently installed packages
compared with their latest versions.
-mark
http://mark.stosberg.com/
two throw-away blessed
objects, but I don't know if your proposed
solution wouldn't throw away at least a couple
of hashes after the compare anyway...
Hope this helps,
Mark Dilger
--- Janek Schleicher <[EMAIL PROTECTED]> wrote:
> Terrence Brannon wrote at Thu, 27 Jun 2002 15:53
in Set::Scalar.
(Perhaps you're already using Set::Scalar in
your implementation and I just haven't looked?)
Is there a motivation for putting these methods
in the same package? Why not List::Compare,
Set::Compare, and Bag::Compare as seperate
classes?
mark
--- Mark Dilger <[EMAIL P
say at a glance teh power and
features of your module.
Mark
http://mark.stosberg.com/
* +1
>
> Unix::Dialog::*
After following the discussion, I'm in favor of ::Backend, because it's
clearer. It sounds like it will frequently be used indirectly, so it
won't need to be typed out much anyway.
Mark
--
http://mark.stosberg.com/
/cpan-faq.html#How_maintain_module
This document doesn't answer the question "...if all else fails, then
what?". That is, I'm still unclear how namespace authority is
transferred, or if it is enforced at all.
Mark
--
http://mark.stosberg.com/
nformation about it:
http://use.perl.org/~markjugg/journal/13121
This project is already underway and in its early stages in the form
of "Module::CPANTS".
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
suppose that explains why searching for "lbdb" with "All" takes me
directly to "Acme::Pr0n".
(by contrast: kobesearch just returns "no results" on the default
search. )
Is there is a Soundex::FamilyFriendly::Filter out there? I wasn't
expecting the Pr0n to popup there like that on my innocent query. :)
Mark
pan.org/misc/cpan-faq.html#How_maintain_module
Mark
se about.
At least a couple of us are:
http://rt.cpan.org/NoAuth/Bug.html?id=2978
I think it's a stale joke that's wasting new resources daily.
Mark
LSIP flags for the modules it contains.
That information /is/ integrated into kobsearch.cpan.org, though:
http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?modinfo=18026
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
ord search /and/ it is well rated, it should be easier
to find.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven we
will be a field to put in an owner
for all the new tickets.
That's it.
Mark
--
http://mark.stosberg.com/
eleased, a major upgrade. I'm interested to know in generate what plans
there are to enhance this RT installation. It's certainly proven to be
very useful!
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL
. And no I dont think the name is that great.
I agree "FileSize" is not a good name, because the module appears to
deal with unit conversion and display, which could be for something
besides file size. I think like idea of checking the "unit" name space.
Mark
rmValidator, there's also code to support this
kind of syntax for older Perl's without "qr". It uses an RE to match
an RE. It looks more hackish than just supporting 'qr', but it works
reliably in that application.
I'd rather see something like this than a prolifer
uses regularly Perl scripts for the Makefile equivalent, you could just
use File::Find and standard perl techniques to find and process files.
No extra function would be needed. (Although some kind of syntactic sugar
could still be desirable).
Mark
--
. . . . . . . . . . . . . . . . . .
generated, changing references to the name as needed.
Perhaps someone else will know a better solution and enlighten us both.
:)
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault,
be cumbersome at times.
I can't see I have a better pattern to suggest for this case, rather
it's a question I've run into myself and haven't fully resolved.
Mark
--
http://mark.stosberg.com/
That might help the discussion of the appropriate name.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
uot;. The specific module used in this case is here:
http://search.cpan.org/~dwheeler/App-Info-0.24/lib/App/Info/RDBMS/PostgreSQL.pm
Perhaps a helper module like this could simplify the needed
configuration in your case as well.
Mark
. The mutt
> docs simply call them "patterns", but that's much too generic a name for
> this module, I think.
They seem like a kind of regular expression to me. Something under
one of these name spaces makes sense to me:
Regexp::Mutt
Regexp::MuttPatterns
Having "
ubClass".
It seems like the concern related to "MethodMaker" is similar.
I also agree that "Authors::" seem ripe for abuse-- The point of CPAN is
to share code. If good re-usable code starts to squirrelled aware in
Authors:: where it's hard to find, this community sy
#x27;m open to cleaning it up some as
you suggest.
Still that leaves the issue of naming it. It's still best described as
"a module for building CGI applications Mark's way". I could give it
some generic name like "CGI::Application::TurboCharge", but that se
On Fri, Nov 14, 2003 at 02:19:44PM -0600, Eric Wilhelm wrote:
> > The following was supposedly scribed by
> > Mark Stosberg
> > on Friday 14 November 2003 02:02 pm:
>
> >Still that leaves the issue of naming it. It's still best described as
> >"a modu
I maintain Data::FormValidator and switched to using Module::Build. I
find it much easier and more intuitive to work with. I've gotten very
few complaints from users about the switch. I recommmend evaluating it
yourself.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
a module
> that fits in with the structure.
>
> Of course plans never quite fit the bill in practice, so it would just
> be a guideline.
>
> Comments, questions, moral support?
A plan sounds like a good idea to me.
Mark
t a hash
structure back. Keys with multiple values are supported, although I
usually don't have that case.
Your solution may well be cleaner for general cases.
Mark
eturns DateTime objects, giving you
all the flexibility of formatting and features that a such an object
implies.
I'd be interesting in hearing a bit more about cases where this new
module would be a better choice.
Mark
--
http://mark.stosberg.com/
On Fri, Dec 19, 2003 at 03:44:51PM +0100, Marco Marongiu wrote:
>
> Mark Stosberg wrote:
> >Dosn't DateTime::Set and DateTime::SpanSet already address this
> >problem-space, but in a more flexible way?
> >
> >http://search.cpan.org/~fglock/DateTime-Set-0.14/l
ences?
Will this be implemented with the DBI interface? Then DBD::YourProject
seems appropriate.
"DBD::SQLite" seems to be a related case, although it's not Pure Perl,
it just allows you install it as a standard DBI driver.
Mark
b.html
I plan to also write a tutorial to clarify things even further.
Mark
--
http://mark.stosberg.com/
pan.org/perldoc?Data::FormValidator
Thanks!
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
On Mon, Jan 12, 2004 at 09:38:27PM -0500, David Manura wrote:
> Hi Mark,
>
> Taking a scan though this. The first issue concerns how the
> documentation is is put forth. It's not quickly clear to me what the
> module does. At first glance I thought "CGI::UploadD
me
they be shorter, rather than having fewer top-level name-spaces with
longer names.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
On Mon, Jan 19, 2004 at 08:42:09AM -0600, Chris Josephes wrote:
> On Mon, 19 Jan 2004, Mark Stosberg wrote:
>
> > I would rather CPAN be wide at the top level than have un-intuitive
> > names. The author based system will also become more difficult when
> > authors cha
ou expect
to be compatible. Unfortunately, unless the author of the required module
has made clear version numbers like you suggest...it make take some
digging to figure out exactly which versions should be required.
Mark
istribution of it that contains all its
dependencies, but is easily installable.
That seems like a good solution to me.
Mark
a lot more sense.
That's more what I want it mind. The MIME::Lite standard distribution
would be unaffected, but another option would be available, at least for
this one use. Isn't this kind of packaging sort of what the "PAR" project is about?
http
* Dave Rolsky ([EMAIL PROTECTED]) [040126 23:58]:
> On Mon, 26 Jan 2004, Mark Overmeer wrote:
> > > >- Not so great API. The API isn't so bad that I'd call it awful,
> > > > but it's inelegant and bulky, and definitely doesn't make
> > >
ct of the functionality on a level of "starter"
is certainly useful, but I had no time for that yet. Volunteers?
--
MarkOv
----
drs Mark A.C.J. OvermeerMARKOV Solutions
[E
ed values, like is time UTC,
> > etc.).
Some things are not repeated often enough. It's quite hard to write
suffient docs, and 50,000 lines of it is apparently not enough. However,
in case of 'time' is repeated on many places that it is in the same
format as provided by
ave other ideas on what to do when the best design
for the future is not backwards compatible?
Mark
--
http://mark.stosberg.com/
* Terrence Brannon ([EMAIL PROTECTED]) [040129 00:09]:
> Mark Overmeer wrote:
>
> >Mail::Box was designed to start with EVERYTHING which the RFCs specify,
> >and ALL uses I know with e-mail. A very high level library. And that's
> >quite a lot... And therefore suf
e
begin to give you a sensible result.
This public prominence would also encourage more people to use the
system, I believe.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-
On Tue, Feb 10, 2004 at 09:59:32AM +0100, A. Pagaltzis wrote:
> * Mark Stosberg <[EMAIL PROTECTED]> [2004-02-09 15:26]:
> > I think the CPAN rating system could be of further help here as
> > well. It could be integrated with the search.cpan.org search
> > engine. The
ely
stop at the first one that seemed "good enough".
Mark
directory:
> - inc
> - eg
> - t
Assuming this works:
Since the file is auto-generated, how do you make the change persistent?
It seems something would need to be added to Makefile.PL or Build.PL.
Mark
setup and teardown for itself.
Is that what you do, Andy?
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
it would be propagated
everywhere. It seems reasonable to break with the ideal of "self
contained tests" a bit and put shared test setup/tearcode code into
a re-usable testing module. (which itself might have a single set of
tests run against it).
Mark
--
. . . . . . . . . . . .
n zero in one it and turn on the verbose option:
prove -v -I../perllib m1/shelter_add_edit_func.pl
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939
fail,
> the entire department gets notified.
Very helpful Andy.
> smoke $@ >> /home/smoke/smoke.out 2>&1
And what does the inside of this 'smoke' script look like?
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg
okup.
Since it is 100% compatible with the test files already in use, there
is nothing to lose by trying it or using it. It's not as if it's a new
dependency that module users have to to have to install it.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mar
ld useful to include "ExtUtils::ModuleMaker" in a SEE ALSO
section, and explain the key differences. At first glance the projects
seem quite similar.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL P
field as a particular
constraint".
That clarification doesn't lead me to great name though.
Here are some which seem to have right meaning, but I'm don't
really like them anyway.
Data::FormValidator::FieldBased
Data::FormValidator::ElementAPI
Data::FormValidator::Elemen
stem available from each module page.
As ratings and comments accumulate, it will become easier for future
visitors to figure out which modules are worthwhile and why.
(It's certainly not a total solution, though! )
Mark
hat yo've read.
Just vote everything you read up or down. :) Admittedly, that strategy
works best once you've been there a while and have lots of votes to use.
Mark
--
http://mark.stosberg.com/
an
assumption that the applications have decently unique names, and not
generic ones that might look like an existing standard use of a
top-level domain (CGI, HTML, Data, WWW, etc).
Mark
ed so I can safely assume no one uses
> them. I think I can just delete all of their copies from CPAN, right ?
Right.
I believe even if you delete them all from your directory, everything
ever uploaded is still available on 'backpan':
http://backpan.cpan.org/
ftp://pause.perl.org/pub/b
currently recommend it. Check out
the bug reports currently filed against it.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
Thanks for the feedback Andy.
> On Sat, May 01, 2004 at 09:00:36AM +0100, Andy Wardley wrote:
> Mark Stosberg wrote:
> > I think I want to make some slight tweaks to the API, but it's about
> > ready for 1.0. It's built around my own common usage: Uploading images
&g
f the documentation.
Mark
--
http://mark.stosberg.com/
md5_hex($id);
$md5_path =~ s|^(.)(.)(.).*|$1/$2/$3|;
my $final_path = "$md5_path/$id.$ext";
My example depends on each file having a unique ID, which your case
didn't. Perhaps you could use an MD5 of the file contents to generate
unique strings for them, though.
/HTMLDoc.pm
It clearly supports tables and landscape mode. The documentation
indicates that it has some image support. I haven't tested how well
that works myself. I have used it to transform HTML tables,
and that works great.
It can even run under mod
t, but doesn't seem like it would help you convert it to/from PDF.
I haven't tried it myself.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202
that the current rating system is
helping. After receiving several negative ratings, CGI::NeedSSL has been
pulled from CPAN.
Mark
Slashdot-style system would work better. The "story" would simply be
the module name, and reviews could be posted as comments. The highest
moderated reviews would become the most prominent.
Maybe use.perl.org could help with something like this?
Mark
ferent backends:
JavaScript::Tooltip::SVG
JavaScript::Tooltip::PDF
(I'm not even sure that PDF would support this kind of tooltip, but
I imagine SVG would.)
Mark
aving a number of similar sites
available.
Personally, I haven't gotten a lot of benefit out of SourceForge hosting
so many sites. Usually I use the tools related to one specific project.
Rarely do I use any tools that benefit from
ding 'And' in the name is how people usually refer to the
technique. However, for a module name I think it may be clear enough to
exclude the word 'And' in favor of a shorter name that is 'good enough'.
Mark
http://www.summersault.com/
, plain .
>
> Please tell me if it isn't so.
Tooltips can be implemented purely in CSS, as documented here:
http://www.madaboutstyle.com/tooltip2.html
I can't think of how drag'n'drop could be implemented without JavaScript.
Mark
1 - 100 of 144 matches
Mail list logo