Mark Stosberg | 1 Nov 2011 14:29
Picon
Favicon
Gravatar

Re: Report after triaging 2.8 release blocker: what remains to be done


> Packs are the only really significant new user feature awaiting release.
> I'd hold the release for them - what's the hurry ?

Releases are sign of vitality for both users and developers. As someone
who has maintained some Perl projects for several years, I've learned
it's a morale booster for contributers to make a contribution, and see
that quickly turned around and appear in a release.

Related to that, people also like to see their names appear in the
ChangeLog,
as a contribution they point to with pride. (And perhaps something they
whould show to a new employeer as evidence of skill).

Right now the darcs "NEWS" file doesn't provide any direct credit to the
contributors for a release. I recommend listing the contributors here in
some form. It could either list names next to each feature, as some do,
or at the bottom of a release section, it could say:

"Thanks to XXX, YYY, ZZZ and the darcs community for their contributions
for to this release."

Who following along here would prefer to their name in the ChangeLog?
Who here would like to see their contribution released sooner rather
than later?

I appreciate the concern about a buggy or underwhelming release, but
that's not the only public perception and motivation issue to be
balanced here. Check out the top item from the darcs blog:

(Continue reading)

Eric Kow | 1 Nov 2011 21:29
Favicon
Gravatar

hcar 2011-11

Folks,

We have a few days extension for our HCAR entry this November.

What do you think?

http://wiki.darcs.net/hcar/Darcs.tex

Don't forget you can also darcs get --lazy http://wiki.darcs.net

Thanks,

--

-- 
Eric Kow <http://erickow.com>
Simon Michael | 1 Nov 2011 22:42
Gravatar

Re: Report after triaging 2.8 release blocker: what remains to be done

On 11/1/11 6:29 AM, Mark Stosberg wrote:
> Releases are sign of vitality for both users and developers. As someone
> who has maintained some Perl projects for several years, I've learned
> it's a morale booster for contributers to make a contribution, and see
> that quickly turned around and appear in a release.

Hey Mark.. I fully agree with the general points you're making here. I just want to be clear that I feel darcs
is a 
special case right now, because:

1. We have failed to stick to a time-based release schedule, so most folks will perceive and evaluate the
next release 
as a feature release. What we say won't change this much.

2. With strong competition, a long-running perception of flaws, and a recent history of regressions,
darcs needs to be 
more careful than most projects to avoid marketing setbacks and build confidence and interest.

>   http://blog.darcs.net/
>
> It's a "weekly" news item, but it's dated back to July (a bad sign). The
> top item is an announcement that 2.8 will appear in August, but August
> has come and gone with no follow-up (another bad sign).

That post may have been premature, or circumstances simply changed. The right thing in this case was to have
new posts 
explaining the new status, since the release just wasn't ready.

> As it stands on the blog, it looks like darcs suddenly went dormant in
> July. What I saw from the ChangeLog review was very different story--
(Continue reading)

Neil Mitchell | 6 Nov 2011 14:23
Picon
Gravatar

Re: darcs patch: switch Darcs.Patch.FileName to be ByteString.Char8 int...

Hi Jason,

Sorry for the ridiculous delay in replying, but perhaps the information is still useful. I think having a filepath-bytestring package could be very useful for path heavy apps such as darcs. However, before doing that I would suggest you profile inside the filepath library. It was written for correctness, not speed, and there are plenty of places I traverse a string many more times than necessary. There are plenty of tests, so any performance improvements should be easy to check.

Thanks, Neil

On Friday, September 25, 2009, Jason Dagit <dagit <at> codersbase.com> wrote:
>
>
> On Thu, Sep 24, 2009 at 1:13 AM, Reinier Lamers <reinier.lamers <at> gmail.com> wrote:
>>
>> Hi Jason,
>>
>> 2009/9/24 Jason Dagit <dagit <at> codersbase.com>:
>> > Doing the above test I have discovered that Darcs.Patch.FileName is a
>> > very costly module.  It is costly mainly in terms of space usage.  The
>> > space usage forces the garbage collector to run far too frequently and
>> > this burns up CPU time, allocates a ton of virtual memory, and wastes
>> > siginificant amounts of ram.  On my test machine, the virtual memory
>> > usage is just over 1GB when profiling, and uses 400-500 megs of
>> > physical ram.
>>
>> Great that you do this research! If we keep up the current pace of
>> performance hacking, darcs will complete before you even hit the enter
>> key in a few years :-)
>
> Heh.  Thanks.  I haven't had any real luck improving things yet though.  In fact, at Ganesh's request I think I'm giving up on optimizing the darcs.net source any further.  I've moved on to working with darcs-hs.  I just sent Petr a patch for hashed-storage that makes zipTrees significantly faster on my test case and now darcs-hs can run my test in about 23 seconds (regular darcs is about 29 seconds, so yay!).  zipTrees could probably be further improved but at this point it's no longer on the radar as a slow point in the code so I'm moving on to other functions.
>
> System.FilePath is one of the big slow downs now.  I wonder if we need a System.FilePath.ByteString version?  I don't know if it would help.  The real problem is that we do a lot of path munging that we should perhaps not be doing.
>
> Hashed.Storage.AnchoredPath.floatPath looks like this:
> -- | Take a relative FilePath and turn it into an AnchoredPath. The operation
> -- is unsafe and if you break it, you keep both pieces. More useful for
> -- exploratory purposes (ghci) than for serious programming.
> floatPath :: FilePath -> AnchoredPath
> floatPath = AnchoredPath . map (Name . BS.pack) . splitDirectories
>             . normalise . dropTrailingPathSeparator
>
> The expensive parts are as follows (from most expensive to least):
> 1. normalise
> 2. BS.pack
> 3. splitDirectories
>
> splitDirectories and normalise both come from System.FilePath.  Neil, do you think a ByteString filepath would help?
>
> The other thing I don't understand here is the haddock for this function.  What does it split?  I don't understand what pieces it makes; it certainly seems that it just returns an AnchoredPath.  If it's a joke then I don't understand it (I also don't think a joke belongs in a haddock because it's confusing).  The other odd thing is that it's used quite a lot in Darcs.IO.  If it's unsafe and meant for interactive use why do we rely on it so much?  Is that a bug waiting to happen?  Petr, comments please?
>
> Thanks,
> Jason
>

_______________________________________________
darcs-users mailing list
darcs-users <at> darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users
Simon Michael | 18 Nov 2011 17:35
Gravatar

http://joyful.com/repos/darcsum

Hi Jens.. thanks for the report, I see the same thing. That url redirects, which I thought worked fine with
darcs. This works for me:

darcs get --no-cache http://joyful.com/darcsden/simon/darcsum

though with another error at the end, which seems harmless.

On Nov 17, 2011, at 11:18 PM, Jens Petersen wrote:
> I tried to check out darcsum and got the error below.
> 
> Jens
> 
> 
> Copying pristine 1 done, 10 queued. .authorspellings
> Hash failure in
> /home/petersen/.darcs/cache/pristine.hashed/439c0df465c841454692683ee54c62d8c7a3c0255d833cdae08a38d8c7d8f56b
> Hash failure in
> http://joyful.com/repos/darcsum/_darcs/pristine.hashed/439c0df465c841454692683ee54c62d8c7a3c0255d833cdae08a38d8c7d8f56b
> 
> darcs failed:  Couldn't fetch
> `439c0df465c841454692683ee54c62d8c7a3c0255d833cdae08a38d8c7d8f56b'
> in subdir pristine.hashed from sources:
> 
> thisrepo:/home/petersen/.emacs.d/lisp/darcsum
> cache:/home/petersen/.darcs/cache
> repo:http://joyful.com/repos/darcsum
Eric Kow | 23 Nov 2011 14:38
Favicon
Gravatar

want less darcs mail? try the announce topic

Folks,

I have created an 'announce' topic filter for darcs-users.  

If you select it from the mailing list configuration UI, you will receive announcements and no other traffic.
Announcements will be detected by regex, right now just the existence of ANNOUNCE in the subject

http://lists.osuosl.org/mailman/options/darcs-users

I don't know if it works yet.  
You'll see a test message from me following this one.

Thanks,

--

-- 
Eric Kow <http://erickow.com>
Eric Kow | 23 Nov 2011 14:40
Favicon
Gravatar

ANNOUNCE: the darcs 'announce' topic filter

See http://lists.osuosl.org/pipermail/darcs-users/2011-November/026321.html

Sorry for the noise.  
I just wanted to make sure my test account receives 'announce' messages but not the rest

Cheers,

--

-- 
Eric Kow <http://erickow.com>

Gmane