From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: imgur.el and small packages to interface with commercial services Date: Wed, 20 Jul 2016 15:16:37 +0200 Message-ID: References: <8760sqlec9.fsf@lifelogs.com> <87ziq0j3to.fsf@lifelogs.com> <87eg78izip.fsf@lifelogs.com> <8760s0bgg5.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469020691 12338 80.91.229.3 (20 Jul 2016 13:18:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jul 2016 13:18:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 20 15:18:03 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bPrNz-0002Rq-F7 for ged-emacs-devel@m.gmane.org; Wed, 20 Jul 2016 15:18:03 +0200 Original-Received: from localhost ([::1]:34530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPrNy-0008Pt-MV for ged-emacs-devel@m.gmane.org; Wed, 20 Jul 2016 09:18:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPrMu-0008Eh-Qb for emacs-devel@gnu.org; Wed, 20 Jul 2016 09:16:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPrMr-0001Dc-3L for emacs-devel@gnu.org; Wed, 20 Jul 2016 09:16:55 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:40320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPrMq-0001DQ-Sd for emacs-devel@gnu.org; Wed, 20 Jul 2016 09:16:53 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bPrMl-00056f-28 for emacs-devel@gnu.org; Wed, 20 Jul 2016 15:16:50 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUEAQP07+oyKiUIAwUU DhDazsd/b1m6f2uVAAACXElEQVQ4jW1Sy27cMAwkIqH3PfhuUKzOgqXmbEjE3jeo9wO0a/3/J3Ro B0nahgdbmOGbQ5RP09KaNnuJPRqZ5a9WuGV40P+MtFw0U3IJTHKZ3DtxDblKpqwzBVIq5A4qFaCL KHlNtIKo9EK+lRWeqpWVnJ5lHHnyq29VUb4yE5W0yMmRIRqK1lpBgMUXv4bMvbKMR63C9EMavvCs cOX+Ovp4qhEvrQgiNdeHk4WX0WMvqiBC4rr0au9UWEE8QSi9PBz8GKm6S3oNo0sqDYR/0lJfa1Qe 1NZljl3oiMDYXq/PmjliO4tE1uTV2p1dEUYyjbPHJIXK6gUFKaAtll9vccw+OfbMTb3iHkFpDnId Y8y0ZkwbFFvPhFnWOQAe+jBCACsZoXUOGgdHDrSWtXgcasV5sKBZbV+CvFg5TtZyKJhcVGphwY2a HcclF86VCJItYgIoyVHyMy5ejBgqsbM21yANN7saoRQQnuMQrADlyAeHpLEdBA7Jqiu04meXsTEM CKJax3Sqy61+ZXTNAboEkQ50BsH7oykL5yMinTB2PLbtN/pkQbdyEAYTxW3b3kpBKpM4m6BWC/LA t7tAh2yaP9SWUN0j4AaGuZeg2hRyNrE7S3S5TLepjxrQASSaF5Z03e63C2y7TcPUNDoV28eyb/tB XLZt6lxH7wTlSR3bfT/wy4SUHVLq1EdnFBhngIWga4aWDN8/At7tzpFwux1Oty8w+ruD6Ls1egBW 4LTLRNEm+0Q+jK7/4mfSiX7+jX8Uov0Dx9hfeqDNhn0vfvuMmMia+5awat8TSPsd8Qe9o9FyJCoj AAAAAABJRU5ErkJggg== In-Reply-To: <8760s0bgg5.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 20 Jul 2016 09:13:30 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205867 Archived-At: Ted Zlatanov writes: > I suggest making the token automatic, stored in auth-source and > generated on demand (so it will be local to the user). That is generally not possible. To get an imgur token you have to register yourself on their web site and exchange some emails, and then you get a token. > The auth-source code supports that case, except for the actual token > generation. The default choice can be a generic token for each > service, but I doubt the FSF/GNU team wants to maintain such a thing, > and it would be easy to abuse it. It doesn't really matter that much. imgur rate-limits per IP address, not per token. Other services probably have other rules. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no