From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@member.fsf.org>
Cc: guix-devel@gnu.org
Subject: Re: [WIP][PATCH] download: Don't report the progress too fast
Date: Tue, 19 Sep 2017 13:32:11 +0200 [thread overview]
Message-ID: <87efr26i10.fsf@gnu.org> (raw)
In-Reply-To: <87d16ticpx.fsf@member.fsf.org> ("宋文武"'s message of "Thu, 14 Sep 2017 22:20:10 +0800")
Hello!
iyzsong@member.fsf.org (宋文武) skribis:
> ludo@gnu.org (Ludovic Courtès) writes:
[...]
>> To address these, I would use ‘abort-to-prompt’ & co., possibly with
>> “suspendable ports”, but this is a 2.2 feature. (It may be that we
>> should use Fibers directly.)
>
> Sure, I’d like to try fibers. When we can drop the support of Guile
> 2.0? (I guess one sign is that 2.2 is in the debian stable.)
“Sometime.” :-)
IMO we should keep supporting 2.0 until 2.2’s compiler has reasonable
resource consumption.
>> Tricky! Not sure what to do here.
>>
>> Thoughts?
>
> How about replace the use of thread from ‘progress-reporter/file’ by a
> ‘rate-limited’ render procedure, and then change the elapsed time to
> ETA, which is okay without updating in seconds?
Roughly what you did initially, right? That sounds good to me.
Thanks,
Ludo’.
prev parent reply other threads:[~2017-09-19 11:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-26 10:51 [WIP][PATCH] download: Don't report the progress too fast 宋文武
2017-08-30 8:45 ` Ludovic Courtès
2017-09-08 15:12 ` 宋文武
2017-09-10 21:25 ` Ludovic Courtès
2017-09-14 14:20 ` 宋文武
2017-09-16 6:27 ` 宋文武
2017-09-19 11:34 ` Ludovic Courtès
2017-09-20 12:04 ` 宋文武
2017-09-19 11:32 ` Ludovic Courtès [this message]
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=87efr26i10.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=iyzsong@member.fsf.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.