I build some functionality into emacs to use
crontab.guru behind the scenes to interpret
tab lines displaying inside of emacs, without
using the web browser.
I then build a GPT-3 prompt which does exactly
the same thing without crontab.guru and
provide the initial script I made to
examplary (my GPT-3 DSL) as an example
generator, to enhance the prompt if that is
When lines in cron format appear in an emacs
buffer, the crontab-guru function is
suggested, allowing you to easily understand
title: "crontab translator"prompt: |+ crontab
17 * * * *
At minute 17.
25 6 * * *
47 6 * * 7
At 06:47 on Sunday.
52 6 1 * *
At 06:52 on day-of-month 1.
<1>engine: "davinci"temperature: 0.3max-tokens: 60top-p: 1.0frequency-penalty: 0.5# If I make presence-penalty 0 then it will get very tersepresence-penalty: 0.0best-of: 1stop-sequences:
- "###"inject-start-text: yesinject-restart-text: yesshow-probabilities: offvars:
- "30 7 * * *"external: "interpret-crontab"filter: no# Keep stitching together until reaching this limit# This allows a full response for answers which may need n*max-tokens to reach the stop-sequence.stitch-max: 0
Example output from GPT-3:
15 7 * * *
On day-of-week 7, at 15:00.
Moral of the story
The moral of the story is that if a person
builds a website like crontab.guru, its
functionality actually becomes learned by the
next iteration of GPT and then its
functionality is able to be reproduced.
Thanks for reading.
If this article appears incomplete then it may be
intentional. Try prompting for a continuation.