From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WKfzIJYrrV5IJwAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 08:13:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YCqVK58rrV7UOQAAB5/wlQ (envelope-from ) for ; Sat, 02 May 2020 08:13:19 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CB4D79429B5 for ; Sat, 2 May 2020 08:13:18 +0000 (UTC) Received: from localhost ([::1]:53988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUnGw-0002eA-Q6 for larch@yhetil.org; Sat, 02 May 2020 04:13:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUnGb-0002br-F6 for emacs-orgmode@gnu.org; Sat, 02 May 2020 04:12:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUnGX-000306-N1 for emacs-orgmode@gnu.org; Sat, 02 May 2020 04:12:57 -0400 Received: from mail.tuxteam.de ([5.199.139.25]:39056) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1jUnGW-0002zp-A9 for emacs-orgmode@gnu.org; Sat, 02 May 2020 04:12:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=BNWlVsmkliy0PbB6uahBSPpMCoQJogGoGfhbZBBhL0E=; b=nrUfglkTSsTO4YSape/H68mNtZHdxEFvcmFl7LcvAWLAWTpP5tomiiP4QhbpsV0ykrfv8eOoZnnHIHZfFzNcZw+dRxF8fH6bzpIbNifsx7ncOzHN+rGaZbp1Awic4K2XZJQCuoIAy5L3lk4Oszu4uW9DCL0p1cYcmIJX4xBo5PAitn885THBjnbViOLGCVen/YJIcbXP08kpX68ZjRMZFghusKg+XlW0vYfFBxBj1jSZLIOTT1f571bSbQYEtG7jTJUc8hjZVc/IHqM+Sw6QIw4cklm5V58AvIPfl3Iv3dwdF0XeiDLGOK3203ljwKPa3eeFcx6djstGD8C30fjTzA==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jUnGO-0002e0-AU for emacs-orgmode@gnu.org; Sat, 02 May 2020 10:12:44 +0200 Date: Sat, 2 May 2020 10:12:44 +0200 To: emacs-orgmode@gnu.org Subject: Re: How to properly set up reminders for paying cellphone fees in org? Message-ID: <20200502081244.GC7696@tuxteam.de> References: <87imhh4lc7.fsf@kyleam.com> <87y2qaokhn.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sHrvAb52M6C8blB9" Content-Disposition: inline In-Reply-To: <87y2qaokhn.fsf@mbork.pl> User-Agent: Mutt/1.5.21 (2010-09-15) From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 04:12:44 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -2.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=nrUfglkT; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-2.31 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49484535202717]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail,tuxteam.de:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[tuxteam.de:+]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[tomas@tuxteam.de,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[]; URIBL_BLOCKED(0.00)[tuxteam.de:dkim,kyleam.com:email,mbork.pl:url]; R_DKIM_ALLOW(-0.20)[tuxteam.de:s=mail]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[tuxteam.de]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 3HDYNePuWp5S --sHrvAb52M6C8blB9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 02, 2020 at 09:37:40AM +0200, Marcin Borkowski wrote: >=20 > On 2020-04-30, at 07:02, Kyle Meyer wrote: >=20 > > And note that a utility like datefudge or libfaketime is useful for > > testing these sorts of things out. For example: > > > > $ datefudge "2020-02-18" emacs [...] >=20 > Shameless plug: I wrote about this use-case of datefudge sime time ago: > http://mbork.pl/2019-08-05_datefudge_and_agenda_testing >=20 > (I don't know libfaketime). It just plays games with LD_PRELOAD to trick the application (which is supposed to use the usual libs when asking for time, but most do that). Infinitely more lightweight than a container or a VM. On Debian: tomas@trotzki:~$ apt show libfaketime Package: libfaketime [...] Download-Size: 31.2 kB APT-Sources: http://ftp.de.debian.org/debian buster/main amd64 Packages Description: Report faked system time to programs (preload library) The Fake Time Preload Library (FTPL, a.k.a. libfaketime) intercepts various system calls which programs use to retrieve the current date and time [...] FTPL allows you to specify both absolute dates (e.g., 2004-01-01) and relative dates (e.g., 10 days ago). You might need a VM for an app which bypasses the "usual libraries", but then, I don't know whether I would like to have such a thing on my box. Probably not without a good reason :-) Cheers -- t --sHrvAb52M6C8blB9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl6tK3wACgkQBcgs9XrR2kaSpACfULwTr3+zE4GKDjc9d9YtDxJu UmMAnjbmzyGD8ayGugstDTD4/4+rsM1Q =PImT -----END PGP SIGNATURE----- --sHrvAb52M6C8blB9--