commit 5cf0348bde8dc5f550f249c3077000cbef76f890
parent f44093575e47eee216e02cd689f1d5b066bf36a0
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date: Tue, 21 Nov 2023 14:04:51 -0300
Record many pushes and report
Diffstat:
| M | absurdor | | | 5 | +++++ |
| A | archive/2023-11-13 | | | 61 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | archive/2023-11-21 | | | 62 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| M | log.json | | | 82 | ++++++++++++++++++++++++++++++++++++++++++++----------------------------------- |
4 files changed, 174 insertions(+), 36 deletions(-)
diff --git a/absurdor b/absurdor
@@ -248,6 +248,11 @@ if args.command == "report" then
end
elseif args.command == "record" then
if args.what == "push" then
+ for _,e in ipairs(log) do
+ if e.when == args.when then
+ die("There's already an event recorded at that time.")
+ end
+ end
io.write(string.format("%s pushed the boulder at %s\n", args.who, os.date("%Y-%m-%d %H:%M %z", args.when)))
table.insert(log, {
when = args.when,
diff --git a/archive/2023-11-13 b/archive/2023-11-13
@@ -0,0 +1,61 @@
+Date: Mon, 13 Nov 2023 20:00:56 -0300
+From: juan <juan@juanmeleiro.mat.br>
+To: agora-official@agoranomic.org
+Subject: [Absurdor] The State of the Absurd
+Message-ID: <r5nhzbynzqyup37eje6kkn4ekzvhgvux2n5hvroloskpr7yinv@wbpxq7a5ppwc>
+Mail-Followup-To: agora-official@agoranomic.org
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf-8
+Content-Disposition: inline
+Content-Transfer-Encoding: 8bit
+X-Mutt-Resume-Draft: 1
+
+======================================================================
+absurdor: juan The State of the Absurd 2023-11-13
+======================================================================
+
+ ##### _/
+ ####### /
+ ######### /
+ |#########_/
+ / #######/
+ /_ #####/
+ / /O_/ / The Boulder
+ | /_ / is at 12
+ /_/\. /
+ // // _/
+ /‘ /‘_/
+ / __`/
+ `_/
+ /
+
+
+|############ <- the heighest we've ever reached! Edward Murphy, snail, 4st
+|######### kiako, snail, juan
+|###### snail
+|##### snail
+|#### kiako
+|### snail
+|## juan
+|# juan
+|#
+|# juan
+|#####
+|##### snail
+|####
+|####
+|####
+|#### juan, snail
+|##
+|##
+|## juan
+|#
+|# 4st
+----------------------------------------------------------------------
+Do you have any suggestions on what I should put on the report?
+Send them to me!
+======================================================================
+
+--
+juan
+Registrar, Absurdor
diff --git a/archive/2023-11-21 b/archive/2023-11-21
@@ -0,0 +1,62 @@
+Date: Tue, 21 Nov 2023 14:04:35 -0300
+From: juan <juan@juanmeleiro.mat.br>
+To: agora-official@agoranomic.org
+Subject: [Absurdor] The State of the Absurd
+Message-ID: <lhskhtjgmabp4kdzyda335dpij2psbp53zgvj4vam4cznonibt@sjagcuvrlpwj>
+Mail-Followup-To: agora-official@agoranomic.org
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf-8
+Content-Disposition: inline
+Content-Transfer-Encoding: 8bit
+X-Mutt-Resume-Draft: 1
+
+======================================================================
+absurdor: juan The State of the Absurd 2023-11-21
+======================================================================
+
+ ##### _/
+ ####### /
+ ######### /
+ |#########_/
+ / #######/
+ /_ #####/
+ / /O_/ / The Boulder
+ | /_ / is at 17
+ /_/\. /
+ // // _/
+ /‘ /‘_/
+ / __`/
+ `_/
+ /
+
+
+|################# <- the heighest we've ever reached! Crystalizedmire, Goren Barak, Goren Barak, Zipzap, snail
+|############ Edward Murphy, snail, 4st
+|######### kiako, snail, juan
+|###### snail
+|##### snail
+|#### kiako
+|### snail
+|## juan
+|# juan
+|#
+|# juan
+|#####
+|##### snail
+|####
+|####
+|####
+|#### juan, snail
+|##
+|##
+|## juan
+|#
+|# 4st
+----------------------------------------------------------------------
+Do you have any suggestions on what I should put on the report?
+Send them to me!
+======================================================================
+
+--
+juan
+Registrar, Absurdor
diff --git a/log.json b/log.json
@@ -1,36 +1,46 @@
-{"what":"report","height":0,"when":1687186898}
-{"what":"push","who":"4st","when":1687483775}
-{"what":"report","height":1,"when":1687783602}
-{"what":"report","height":1,"when":1688411251}
-{"what":"push","who":"juan","when":1688997918}
-{"what":"report","height":2,"when":1689001176}
-{"what":"report","height":2,"when":1689965374}
-{"what":"report","height":2,"when":1690248734}
-{"what":"push","who":"juan","when":1690814390}
-{"what":"report","height":3,"when":1690814458}
-{"what":"push","who":"snail","when":1690842943}
-{"what":"report","height":4,"when":1691422342}
-{"what":"report","height":4,"when":1692015498}
-{"what":"report","height":4,"when":1692643133}
-{"what":"push","who":"snail","when":1693175927}
-{"what":"report","height":5,"when":1693231987}
-{"what":"report","height":5,"when":1693918103}
-{"what":"report","height":5,"when":1693918207}
-{"what":"report","height":0,"when":1694441365}
-{"what":"push","when":1694441716,"where":"20230911141516.fg7w76yg5yvuavhr@grimnir","who":"juan"}
-{"what":"report","height":1,"when":1695040187}
-{"what":"report","height":0,"when":1695655471}
-{"what":"push","who":"juan","when":1695655510}
-{"what":"report","height":1,"when":1696278128}
-{"what":"push","when":1696278126,"where":"e3siqismfpl6bxsvqppizt4it52jpnyn4laayp6lo7vkqbub74@ybz7yynnllio","who":"juan"}
-{"what":"push","when":1696591280,"where":"CAFDWCJa3n0G0-L68xN-Q23Z_-AEeQiKcqf0-K4cnZrjRPdzjYQ@mail.gmail.com","who":"snail"}
-{"what":"push","when":1697257473,"where":"7d233f1d-ba60-4ffa-9a2d-5867441f5228@gmail.com","who":"kiako"}
-{"what":"report","height":4,"when":1697462276}
-{"what":"push","when":1697794974,"where":"CAFDWCJZ9V6e+RMdZg639WvhcQ2v=PxM_Z9K2wNG7yDC2ymra1g@mail.gmail.com","who":"snail"}
-{"what":"report","height":5,"when":1698073095}
-{"what":"push","when":1698612663,"where":"CAFDWCJZygQrTjYe0qz1KLOK3JS3HmBv64h69mXSjGOwbPVP_cg@mail.gmail.com","who":"snail"}
-{"what":"report","height":6,"when":1698694564}
-{"what":"report","height":6,"when":1699285556}
-{"what":"push","when":1699293000,"where":"33255be4-743b-4ee0-ae4b-ac35d2c3ca1d@gmail.com","who":"kiako"}
-{"what":"push","when":1699445073,"where":"CAFDWCJaZVKE2AJJpe-w5c8W6xeDYGnE3AV6=TbWxEHE7GqoOzQ@mail.gmail.com","who":"snail"}
-{"what":"push","when":1699448836,"where":"f4kaxlwpvu52qzvqgrhunlj3r2ycom7k2apyeb6n4zeyukl6te@bq76vycwlw4r","who":"juan"}
+{"height":0,"what":"report","when":1687186898}
+{"who":"4st","what":"push","when":1687483775}
+{"height":1,"what":"report","when":1687783602}
+{"height":1,"what":"report","when":1688411251}
+{"who":"juan","what":"push","when":1688997918}
+{"height":2,"what":"report","when":1689001176}
+{"height":2,"what":"report","when":1689965374}
+{"height":2,"what":"report","when":1690248734}
+{"who":"juan","what":"push","when":1690814390}
+{"height":3,"what":"report","when":1690814458}
+{"who":"snail","what":"push","when":1690842943}
+{"height":4,"what":"report","when":1691422342}
+{"height":4,"what":"report","when":1692015498}
+{"height":4,"what":"report","when":1692643133}
+{"who":"snail","what":"push","when":1693175927}
+{"height":5,"what":"report","when":1693231987}
+{"height":5,"what":"report","when":1693918103}
+{"height":5,"what":"report","when":1693918207}
+{"height":0,"what":"report","when":1694441365}
+{"who":"juan","where":"20230911141516.fg7w76yg5yvuavhr@grimnir","what":"push","when":1694441716}
+{"height":1,"what":"report","when":1695040187}
+{"height":0,"what":"report","when":1695655471}
+{"who":"juan","what":"push","when":1695655510}
+{"height":1,"what":"report","when":1696278128}
+{"who":"juan","where":"e3siqismfpl6bxsvqppizt4it52jpnyn4laayp6lo7vkqbub74@ybz7yynnllio","what":"push","when":1696278126}
+{"who":"snail","where":"CAFDWCJa3n0G0-L68xN-Q23Z_-AEeQiKcqf0-K4cnZrjRPdzjYQ@mail.gmail.com","what":"push","when":1696591280}
+{"who":"kiako","where":"7d233f1d-ba60-4ffa-9a2d-5867441f5228@gmail.com","what":"push","when":1697257473}
+{"height":4,"what":"report","when":1697462276}
+{"who":"snail","where":"CAFDWCJZ9V6e+RMdZg639WvhcQ2v=PxM_Z9K2wNG7yDC2ymra1g@mail.gmail.com","what":"push","when":1697794974}
+{"height":5,"what":"report","when":1698073095}
+{"who":"snail","where":"CAFDWCJZygQrTjYe0qz1KLOK3JS3HmBv64h69mXSjGOwbPVP_cg@mail.gmail.com","what":"push","when":1698612663}
+{"height":6,"what":"report","when":1698694564}
+{"height":6,"what":"report","when":1699285556}
+{"who":"kiako","where":"33255be4-743b-4ee0-ae4b-ac35d2c3ca1d@gmail.com","what":"push","when":1699293000}
+{"who":"snail","where":"CAFDWCJaZVKE2AJJpe-w5c8W6xeDYGnE3AV6=TbWxEHE7GqoOzQ@mail.gmail.com","what":"push","when":1699445073}
+{"who":"juan","where":"f4kaxlwpvu52qzvqgrhunlj3r2ycom7k2apyeb6n4zeyukl6te@bq76vycwlw4r","what":"push","when":1699448836}
+{"who":"Edward Murphy","where":"7f5b42e6-cec3-441e-bfc0-3da1c0c1c4c9@gmail.com","what":"push","when":1699829267}
+{"who":"snail","where":"CAFDWCJbQdvD4Z442k3cMAc4-WVkQDqGJ8s0xu4Z2pjtOLJ9sfQ@mail.gmail.com","what":"push","when":1699863594}
+{"who":"4st","where":"CAA-e8fPCYVT56vOQuUSCJgD=q6_p-mdVggstcZNKX0DqkKC3DA@mail.gmail.com","what":"push","when":1699864349}
+{"height":12,"what":"report","when":1699916458}
+{"who":"Crystalizedmire","where":"CANT-9FRGV9JmdAVfRxNswK9X=-nWb3vpdP8LUeJN-cq7-sHDqw@mail.gmail.com","what":"push","when":1700317898}
+{"who":"Goren Barak","where":"b052aeed8ba98d4a951c46b8cb94f9eb@riseup.net","what":"push","when":1700355073}
+{"who":"Goren Barak","where":"3a2430a542825a2ba197a7510d158647@riseup.net","what":"push","when":1700404979}
+{"who":"Zipzap","where":"1a2f1e5b-dc0b-4c47-8ddf-4861a56bf575@gmail.com","what":"push","when":1700500507}
+{"who":"snail","where":"CAFDWCJbvBaVu=WLX0ocKBNNuQLpVoJjRd7VBjfFnQ+Qv-GXigw@mail.gmail.com","what":"push","when":1700366499}
+{"height":17,"what":"report","when":1700586276}