commit 459ff521e35f49f26ae3a41443c7c43ec1aa600f
parent 34fabba81204d5ab0f7095fbbeee5b592bce9d38
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date: Mon, 1 Apr 2024 17:10:48 -0300
Report
Diffstat:
3 files changed, 125 insertions(+), 3 deletions(-)
diff --git a/absurdor b/absurdor
@@ -35,7 +35,7 @@ function decodewith(decoder, fn)
die(not path.isfile(fn), fn.." is not a file.")
local f, err = io.open(fn, "r")
die(err)
- status, res = xpcall(decoder, die, f)
+ status, res = xpcall(decoder, die, f:read("a"))
f:close()
die(not status, res)
return res
@@ -138,7 +138,7 @@ parser:command("log", "Display log")
local args = parser:parse()
fn = "log.json"
-log = decodewith(parse_jsonl, fn)
+log = decodewith(json.decode, fn)
if args.command == "report" then
@@ -288,6 +288,6 @@ elseif args.command == "log" then
end
end
-encodewith(write_jsonl, fn, log)
+encodewith(json.encode, fn, log)
os.execute(string.format('jq --sort-keys . %s > .tmp', fn))
os.execute(string.format('mv .tmp %s', fn))
diff --git a/archive/2024-04-01 b/archive/2024-04-01
@@ -0,0 +1,99 @@
+Date: Mon, 1 Apr 2024 17:10:18 -0300
+From: juan <juan@juanmeleiro.mat.br>
+To: agora-official@agoranomic.org
+Subject: [Absurdor] The State of the Absurd
+Message-ID: <vio4p2wzz4psnehembrp2zsy74ltz4y2665yatuvoz3vujwh3r@eigkorac6f63>
+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 2024-04-01
+======================================================================
+
+ ##### _/
+ ####### /
+ ######### /
+ |#########_/
+ / #######/
+ /_ #####/
+ / /O_/ / The Boulder
+ | /_ / is at 76
+ /_/\. /
+ // // _/
+ /‘ /‘_/
+ / __`/
+ `_/
+ /
+
+
+TOP PUSHERS
+#01 24 ======================== snail
+#02 18 ================== Murphy
+#03 10 ========== Ben
+#04 8 ======== Mercury
+#05 6 ====== juan
+#06 3 === 4st
+#07 3 === kiako
+#08 2 == Goren Barak
+#09 2 == Maloney
+#10 1 = Yachay
+#11 1 = Snail
+#12 1 = Liz
+#13 1 = Crystalizedmire
+#14 1 = Jaff
+#15 1 = Zipzap
+
+THE ROAD SO FAR
+|############################################################################ <- the heighest we've ever reached! Jaff, Murphy
+|########################################################################## snail, kiako
+|######################################################################## Murphy
+|####################################################################### Murphy, snail, snail, Ben, Mercury
+|################################################################## Mercury, Murphy, Ben
+|############################################################### snail, Murphy
+|############################################################# Murphy, Mercury
+|########################################################### Ben, Maloney, Murphy, Mercury
+|####################################################### Mercury, Murphy, snail
+|#################################################### Mercury, snail, Murphy, Maloney, snail
+|############################################### Mercury, Murphy, Ben
+|############################################ snail, Mercury, Ben, Murphy, Ben
+|####################################### Murphy, Snail, Ben
+|#################################### Murphy, snail, Yachay
+|################################# Murphy, snail, Ben
+|############################## 4st, Murphy, snail
+|########################### Murphy, Liz, Ben
+|######################## snail, Ben, snail
+|##################### Murphy, snail, snail
+|################## Crystalizedmire, Goren Barak, Zipzap, snail, Goren Barak, snail
+|############ 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
@@ -671,5 +671,28 @@
"height": 73,
"what": "report",
"when": 1711383097
+ },
+ {
+ "what": "push",
+ "when": 1711411191,
+ "where": "cc049e02-51e8-495b-a0b4-643256482e3a@gmail.com",
+ "who": "kiako"
+ },
+ {
+ "what": "push",
+ "when": 1711763882,
+ "where": "CALkccvFT3D-roEGfhFnLSqUDdnqyK7aY1KPj8i6it38RPxQDeA@mail.gmail.com",
+ "who": "Jaff"
+ },
+ {
+ "what": "push",
+ "when": 1711908748,
+ "where": "3ae25579-fb36-4fb1-9f2f-dd4e404665b6@gmail.com",
+ "who": "Murphy"
+ },
+ {
+ "height": 76,
+ "what": "report",
+ "when": 1712002231
}
]