Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Live long and prosper. -- Spock, "Amok Time", stardate 3372.7


devel / comp.unix.shell / Re: Execute a command in a different time frame

SubjectAuthor
* Execute a command in a different time frameJanis Papanagnou
+* Execute a command in a different time frameJavier
|`- Execute a command in a different time frameJanis Papanagnou
`* Execute a command in a different time framehymie!
 `- Execute a command in a different time frameKeith Thompson

1
Execute a command in a different time frame

<ufe99b$2u0tk$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=7455&group=comp.unix.shell#7455

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Execute a command in a different time frame
Date: Mon, 2 Oct 2023 13:24:25 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <ufe99b$2u0tk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 Oct 2023 11:24:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="10deb1676524c1162bdacdffe95ff976";
logging-data="3081140"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mykWlGq/qQx9z6h5jXw6F"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:it2B1sf3NsOmyW9plu/uC03w1Rk=
X-Mozilla-News-Host: news://news.eternal-september.org:119
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Mon, 2 Oct 2023 11:24 UTC

While looking for a 'find' substitute I stumbled across a program
on my disk called 'warp' to execute a command in a different time
frame. It was written by Glenn Fowler and I think it's a cool ksh
script; you can not only shift but also stretch the time scale.
Just want to share... - I put a copy at volatile.gridbug.de/warp
Man page can be retrieved by: warp --man

DESCRIPTION
warp executes a dynamically linked command in a different time frame by
intercepting time related system calls and modifying the times seen by
command using the formula:
time = time + warp + (time - base) * (factor - 1)
...

(Note that it needs commands to be dynamically linked to work.)

Enjoy.

Janis

Re: Execute a command in a different time frame

<1dmcne2b7uJYWIf4nZ2dnZfqnPSdnZ2d@brightview.co.uk>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=7459&group=comp.unix.shell#7459

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 02 Oct 2023 13:29:41 +0000
From: invalid@invalid.invalid (Javier)
Subject: Re: Execute a command in a different time frame
Newsgroups: comp.unix.shell
References: <ufe99b$2u0tk$1@dont-email.me>
Message-ID: <1dmcne2b7uJYWIf4nZ2dnZfqnPSdnZ2d@brightview.co.uk>
Date: Mon, 02 Oct 2023 13:29:41 +0000
Lines: 11
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-rki8bLTgD/9pfCBjBdfujoigU1rl7am1lsNGuC/WEfL50n3rrmLkWD0973BISLPunF7PlpVhI9Up7Ii!y5qY7YzjoEi/QxhLZyK4Y5JbTWc8rxc2sW22UmXJpBVQErAcebbwwFnoQ2ehL/G9/SDC6xB6GuvO!qBIR7ztKSDIPvX1BrSHu32hsX+EU
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 1437
 by: Javier - Mon, 2 Oct 2023 13:29 UTC

Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> DESCRIPTION
> warp executes a dynamically linked command in a different time frame by
> intercepting time related system calls and modifying the times seen by
> command using the formula:
> time = time + warp + (time - base) * (factor - 1)

I guess it was popular at the time when propietary software came
with licenses that only lasted for a month or a year. I remember
myself in the 90s changing the system time clock in order to make
some program work.

Re: Execute a command in a different time frame

<ufeh6j$2ve2c$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=7461&group=comp.unix.shell#7461

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: Execute a command in a different time frame
Date: Mon, 2 Oct 2023 15:39:30 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <ufeh6j$2ve2c$1@dont-email.me>
References: <ufe99b$2u0tk$1@dont-email.me>
<1dmcne2b7uJYWIf4nZ2dnZfqnPSdnZ2d@brightview.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 Oct 2023 13:39:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5ea5cc6f44d41f8e21bc681ec9fcea2a";
logging-data="3127372"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LSJrgZqUWVCb2a8d2X+Xq"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:sgd54I8+M5tMzRUXfTP9KFqIBiQ=
In-Reply-To: <1dmcne2b7uJYWIf4nZ2dnZfqnPSdnZ2d@brightview.co.uk>
 by: Janis Papanagnou - Mon, 2 Oct 2023 13:39 UTC

On 02.10.2023 15:29, Javier wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>> DESCRIPTION
>> warp executes a dynamically linked command in a different time frame by
>> intercepting time related system calls and modifying the times seen by
>> command using the formula:
>> time = time + warp + (time - base) * (factor - 1)
>
> I guess it was popular at the time when propietary software came
> with licenses that only lasted for a month or a year. I remember
> myself in the 90s changing the system time clock in order to make
> some program work.

Yes. But it has also several [legal] application usages. - I recall
to have used it in a testing context where the time frame mattered,
and in context where I had to slow down or speed up the time scale.
(But don't recall the details, that was way back.)

Janis

Re: Execute a command in a different time frame

<slrnuhlq8m.o0p.hymie@nasalinux.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=7463&group=comp.unix.shell#7463

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
Newsgroups: comp.unix.shell
From: hymie@nasalinux.net (hymie!)
Subject: Re: Execute a command in a different time frame
References: <ufe99b$2u0tk$1@dont-email.me>
Organization: Eric Conspiracy Secret Labs
User-Agent: slrn/pre1.0.4-6 (Linux)
Message-ID: <slrnuhlq8m.o0p.hymie@nasalinux.net>
Lines: 12
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Mon, 02 Oct 2023 16:00:22 UTC
Date: Mon, 02 Oct 2023 16:00:22 GMT
X-Received-Bytes: 1134
 by: hymie! - Mon, 2 Oct 2023 16:00 UTC

In our last episode, the evil Dr. Lacto had captured our hero,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com>, who said:
> While looking for a 'find' substitute I stumbled across a program
> on my disk called 'warp' to execute a command in a different time
> frame. It was written by Glenn Fowler and I think it's a cool ksh
> script; you can not only shift but also stretch the time scale.
> Just want to share... - I put a copy at volatile.gridbug.de/warp
> Man page can be retrieved by: warp --man

Also https://github.com/wolfcw/libfaketime

--hymie! http://nasalinux.net/~hymie hymie@nasalinux.net

Re: Execute a command in a different time frame

<87bkdgrg87.fsf@nosuchdomain.example.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=7464&group=comp.unix.shell#7464

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.unix.shell
Subject: Re: Execute a command in a different time frame
Date: Mon, 02 Oct 2023 12:12:24 -0700
Organization: None to speak of
Lines: 22
Message-ID: <87bkdgrg87.fsf@nosuchdomain.example.com>
References: <ufe99b$2u0tk$1@dont-email.me>
<slrnuhlq8m.o0p.hymie@nasalinux.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="6816c872b10fd8ea07c97b3fd0fa3d65";
logging-data="3248171"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zJsSIX/MesWupd4qE36XC"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:NqfZWT90cD5rCwNFbyFFIJrHM7k=
sha1:iJbxbd/9+8nsMtdOd1/4qV/hArw=
 by: Keith Thompson - Mon, 2 Oct 2023 19:12 UTC

hymie! <hymie@nasalinux.net> writes:
> In our last episode, the evil Dr. Lacto had captured our hero,
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com>, who said:
>> While looking for a 'find' substitute I stumbled across a program
>> on my disk called 'warp' to execute a command in a different time
>> frame. It was written by Glenn Fowler and I think it's a cool ksh
>> script; you can not only shift but also stretch the time scale.
>> Just want to share... - I put a copy at volatile.gridbug.de/warp
>> Man page can be retrieved by: warp --man
>
> Also https://github.com/wolfcw/libfaketime

Which provides the "faketime" command, installable on Ubuntu and
probably other systems:

$ faketime 'jan 1 1970' /bin/date
Thu Jan 1 12:00:00 AM PST 1970

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor