public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
Cc: Dennis de Champeaux <ddcc@ontooo.com>,
	       Dennis de Champeaux <atlantisician@yahoo.com>,
	       "newlib@sourceware.org" <newlib@sourceware.org>
Subject: Re: Qsort defects
Date: Tue, 19 Feb 2013 15:08:00 -0000	[thread overview]
Message-ID: <5123952A.1090406@redhat.com> (raw)
In-Reply-To: <5122A94B.8000609@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2878 bytes --]

On 02/18/2013 03:20 PM, Eric Blake wrote:
> On 02/18/2013 02:39 PM, Dennis de Champeaux wrote:
>> I have been advised that this is the proper list// see below:::
> 
> You were also advised that attaching the new version of a file is not
> the proper way to submit a patch; rather, you should attach the output
> of 'diff -u broken fixed'.
> 
> Looking at other patches on this list might be helpful on learning how
> to properly submit a patch:
> http://sourceware.org/ml/newlib/2013/msg00079.html

On re-reading this message, I see that I may have come across harsher
than intended.  Email is a lousy medium for conveying emotion.  So let
me add an apology and the following additional information:

First, a big thanks for taking the time to track down a problem, and to
attempt to address it.  Open source works at its best when anyone,
including first-time posters like yourself, can feel welcome to
contribute their improvements.  Scratching your own itch, as you have
done by investigating the poor performance of qsort, is encouraged.

Second, this list is run mostly by volunteers.  I am not paid to
contribute to newlib, but it is something I do in my spare time, and,
like many others, I don't seem to have much of that.  In the open source
world, you must remember that many of the list readers are doing so on
their own time, and that anything you can do to make the maintainer's
job easier makes it that much more likely that your improvements will be
accepted.  If you submit something half-baked, and force a maintainer to
spend 20 minutes to polish into a final product, you have cost that
maintainer 20 minutes that they could have been doing something more
productive; whereas if you submit something that already complies with
list standards, the maintainer can spend less than a minute
incorporating your work.  Since you are already familiar with the code
you are fixing, it will take you less time to submit something perfect
than it will for someone else to come up to speed to fix your
submission.  In the open source world, receiving feedback that asks for
a re-submission is a GOOD sign - it means that someone agreed with your
analysis enough that they would like to help YOU do the additional work
to get it incorporated.

It may help to read the following:
http://www.linuxchix.org/content/courses/kernel_hacking/lesson9
While that page is more geared towards kernel hacking, and newlib is not
quite as strict as the kernel folks, the points it raises are good food
for thought - patches work best when the contributor makes life easier
for the maintainer.

So again, my apologies if I came across sounding mean or harsh, and I
look forward to your resubmission according to list policy.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]

  reply	other threads:[~2013-02-19 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 21:39 Dennis de Champeaux
2013-02-18 22:21 ` Eric Blake
2013-02-19 15:08   ` Eric Blake [this message]
2013-02-19 15:36     ` Joel Sherrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5123952A.1090406@redhat.com \
    --to=eblake@redhat.com \
    --cc=atlantisician@yahoo.com \
    --cc=ddcc@ontooo.com \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).