From 26bdd486011e6f71c9366071c2223cf8282d9b6e Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 15 Apr 2021 18:33:37 -0400 Subject: Gemlog update --- .../2021-04-12-girl-2020-land-before-time.gmi | 35 ++++++ .../2021-04-13-digital-hygiene-one-week-in.gmi | 77 ++++++++++++ gemini/gemlog/2021-04-15-capsule-stats.gmi | 129 +++++++++++++++++++++ gemini/gemlog/index.gmi | 3 + 4 files changed, 244 insertions(+) create mode 100644 gemini/gemlog/2021-04-12-girl-2020-land-before-time.gmi create mode 100644 gemini/gemlog/2021-04-13-digital-hygiene-one-week-in.gmi create mode 100644 gemini/gemlog/2021-04-15-capsule-stats.gmi diff --git a/gemini/gemlog/2021-04-12-girl-2020-land-before-time.gmi b/gemini/gemlog/2021-04-12-girl-2020-land-before-time.gmi new file mode 100644 index 0000000..beb5d7f --- /dev/null +++ b/gemini/gemlog/2021-04-12-girl-2020-land-before-time.gmi @@ -0,0 +1,35 @@ +# Girl (2020) and The Land Before Time + +This weekend, my girlfriend and I sat down on Saturday night to watch a movie after dinner. She was scrolling on Hulu earlier in the day and we saw the new release: Girl 2020. We figured "a thriller? might be interesting". Afterwards, we had some time so we decided to watch another, and I had recently gotten The Land Before Time for us to watch, so we watched that. + +## Girl 2020 + +This movie was just disappointing. I gave a 45% out of 100%. I was good enough to not turn off completely, and it kept my girlfriend and I talking. I find a bad movie is one of three things: terrible and I just shut it off, mediocre sparking critiques and criticisms, or that perfect bad movie that becomes good again. + +Girl is that frustrating mediocre bad movie. We found ourselves just complaining about lingering shots, pointless decisions, why are her tits out? etc. If you like Bella Thorne it might be worth watching, but honestly its a pass from me. + +## The Land Before Time + +This left us wanting so I pulled this up to watch. I loved this movie when I was a child. I watched this all the time and the sequels growing up. So I wanted to revisit this childhood classic. + +I'd give it a 90%. This comes with a caveat of: this is a kids movie, nothing more. It is a beautiful film. The animation is smooth and captures the magic and wonder it film invokes. + +I loses points for being very short, at 69 minutes, it really feels like nothing actually happens. I feel like they could've spent more time giving each character something to overcome. I don't honestly remember if Ducky or Spike had anything themselves to overcome. + +And also for being too quick to change the colors when the lighting changes. Each dinosaur will drastically change color scene to scene and it throws you off. + +### Tears for days + +This movie is very sad, but nothing makes me ear up like that credits music. I cannot hear it without getting misty eyed. + +I think any child will still enjoy this movie, so I still recommend it. If you're an adult who hasn't seen it: it is maybe going to leave you wanting more from it. + +## Conclusion + +I don't normally talk about movies, but I spent my weekend decompressing, so this was all I really had to write about. I am curious what other childhood movies still hold up. Have you revisited any of your childhood classics? What are your bad movie thresholds? What do you do when you are watching a bad movie? + +# Links + +=> /gemlog/ Gemlog +=> / Home + diff --git a/gemini/gemlog/2021-04-13-digital-hygiene-one-week-in.gmi b/gemini/gemlog/2021-04-13-digital-hygiene-one-week-in.gmi new file mode 100644 index 0000000..e6f6b78 --- /dev/null +++ b/gemini/gemlog/2021-04-13-digital-hygiene-one-week-in.gmi @@ -0,0 +1,77 @@ +# Digital Hygiene - One Week In + +I wanted to post a follow-up since I did make some changes after my first post about trying to clean up my digital hygiene as I called it. + +=> 2021-04-03-digital-hygiene.gmi Original Post - 2021-04-03 - Digital Hygiene + +## What is working + +### Mindful YouTube + +I have cut out the mindless YouTube browsing. I have caught myself going through a recommended feed, but it was brief and I stopped myself, thankfully. That awareness is what is important. I had disabled the app just today as I found myself busier than usual to where the notifications are no longer really necessary, because I'll see what is new once I have time to watch / listen. + +### Clean Email + +I also have been great about keeping my email clean. Unsubscribing to anything I don't really need/care for. And setting up filters for important things to go to where they're categorized. However, now it is sad just looking at Thunderbird and seeing nothing in my inbox. But the mailing list has been keeping the email traffic steady at least! + +### No more Reddit + +I also have cut Reddit out significantly. I still use it in my search filters when I am looking for info or suggestions for things that I feel Reddit is useful for. And I've been decently good about not navigating to it. I hope to get better at it, as there is nothing stopping me from using it on my PC. + +### Purged Apps + +Unsuprisingly, I haven't had a need for any of the apps I deleted. I stopped using a task app and the RSS reader as they didn't really work out. But I am continuing to consider what apps to keep and remove, and if stuff like ESPN/Yahoo/Sleeper are worth keeping in the off season of Fantasy Football? I think the main thing has been that nothing on my phone is a distraction now. I don't find myself on an app doing something pointless, just "browsing". + +### Podcast(s) + +I have replaced the mindless YouTube with Podcast(s). Mainly, a single podcast, Cortex, that I mentioned in the first post. I had listened to it a few times before, and since then listened to it as my primary source of entertainment. I may need to set a time where/when I listen to this, as it can be quite distracting, but it has been much more meaningful and given me ideas for topics to write about, so for now I am filing it under a win. It is nice too, especially in this pandemic time, having some conversation based entertainment. Cortex has also been really interesting since I am at that point where I am thinking about what my career trajectory is going to be. I am solidly in the "senior engineer" position at my company, and the team I am on is going through a transition. So it has been nice hearing from two self employed (one podcast company co-founder, the other a profession YouTuber) advice on becoming self employed, the problems the face, and things like that. It often divulges into some fun, but has honestly helped me reflect on my salaryman lifestyle and what I value from my work and if there is anything in my life that I think I could do as as side-gig or even transition into full-time self employment (the answer is no, but it's interesting to think about). + +A PC parts YouTube channel that I frequent, JayzTwoCentz also recently started a "tech lifestyle" podcast: The RTFM Show so that has been nice to listen too as well. What is a "tech lifestyle" podcast? Well, at least based on the two episodes they've done, just general life stuff relating to tech so: things about tech that they feel has made their lives better, most frustrating tech problems, etc. So, it can be nice to listen to on a Friday. They do stream it live on YouTube, so it feels like another YT video, but it really is just them chatting, so I count it. + +Both of these are very comical because the hosts personality leads to jokes and comedy, but they are not comedy podcasts. I believe I touched on in my previous post that in the past all I listened to, podcast wise, were comedy podcasts. And I am debating jumping back into some of those. The primary target being "Hey Riddle Riddle" which is a... riddle podcast? It's three improvisers as hosts that essentially just goofing off for an hour under the guise of a riddle podcast. + +And I have been, though they do feel more like YouTube videos, been listening to Mega64s podcasts, as they are obviously making less YouTube videos throughout the pandemic. These are still the podcast episodes I listen to the second they're posted, so I guess I'll need to keep an eye out on Tuesdays when then episode will drop on YouTube, since I don't watch them live on Twitch. They also made an offshoot podcast about quarantine life that I enjoy as well. + +=> https://relay.fm/cortex [https] Cortex +=> https://anchor.fm/rtfmshow [https] The RTFM Show +=> https://headgum.com/hey-riddle-riddle/ [https] Hey Riddle Riddle +=> https://youtube.com/mega64 [https] Mega64 (youtube) + +### Gaming + +I purchased while 70% off on Steam: F1 2020. I had an itch to play a racing game for a month or two and decided to get this since $20 or so for a modern game felt like a decent deal, and I wanted a racing sim. + +This was a lot of fun, I was able to get into it and it is VERY challenging. I listen to Cortex while I do my laps which is nice. I have found this a great replacement for just mindless activities online. It requires a specific amount of focus that eventually just slides back into repetition / some level of comfortability. Thought, now I am even more tempted to budget for a proper racing sim setup... + +## What isn't working + +### RSS + +RSS was a failure. I still have it setup on Thunderbird where I can feed some info into it, that works well for getting some news. But using an RSS feed to capture web based notifications to my phone has just not really amounted to anything meaningful. I'll maybe revisit it and look at some more apps but for now I am trying out manually visiting the sites manually. + +### Learning + +I also haven't been doing any learning. I didn't expect learning to pick up really, but it is something I REALLY need to start again. I am in the process of packing so I have packed away a lot of my instruments and other hobby stuff, so I hope that will incentivise me to do other things. + +### Reading + +I also haven't been going to bed at my usual hour, 10pm, and reading. Though, writing these gemlogs usually comes at night time as I wind down, so it isn't necessarily that I am filling the time I could be reading with trivial mindless things. But I do want to read more. I think what it is, is that I haven't actually found something TO read. I should pick up where I left off with The Witcher books, as I think non-fiction right now is just not the entertainment I am looking for, especially since the Podcasts I am listening to are essentially "non-fiction" entertainment/learning. + +I am resisting the urge to reread the first two books in the Hyperion Cantos as a prereq to finishing the cantos... (if you feel the remaining books are worth it PLEASE LET ME KNOW, I had a bit of trouble getting into the third book) + +## Conclusion + +Cleaning up what I do on my computer, phone, the internet has been a pretty good success. Things are definitely BETTER, but there is still room to improve. I need to make sure I am not replacing one vice (mindless internet activity) with another (podcast over-listening). But I think I just need to find that right book. I have some cyberpunk classics in my queue, I should just try and see what sticks, if The Witcher doesn't. + +Have you tried to clean up your digital hygiene? Do you know of a good racing sim to try next? Or a good beginner setup who can't really afford the space for a dedicated rig (does a 'small racing setup exist?') + +- Senders + +# Links + +=> /gemlog/ Gemlog +=> / Home + + + + diff --git a/gemini/gemlog/2021-04-15-capsule-stats.gmi b/gemini/gemlog/2021-04-15-capsule-stats.gmi new file mode 100644 index 0000000..e5b8fc3 --- /dev/null +++ b/gemini/gemlog/2021-04-15-capsule-stats.gmi @@ -0,0 +1,129 @@ +# Capsule Stats + +I was curious what the general traffic of my capsule was. I tinkered with the idea for my webserver actually setting up some sort of Elk (elastic, logstash, kibana) setup to get some monitoring and metrics on my actual server. But for gemini, where I actually HAVE traffic, I decided to just to have a live look at it. + +## Logfile + +I am running my own server whose access logging is in the syntax: + +```access.log +2021-04-15T02:41:04,899Z IN /67.86.nnn.nnn:33378 gemini://senders.io/feed/atom.xml 33 +2021-04-15T02:41:04,907Z OUT 20 application/xml; lang=en; 3452 +2021-04-15T02:41:04,950Z IN /67.86.nnn.nnn:33380 gemini://senders.io/gemlog/feed/atom.xml 40 +2021-04-15T02:41:04,951Z OUT 20 application/xml; lang=en; 3467 +``` + +These are tab separated lines broken down into two categories: IN and OUT. + +### IN logline + +IN logs are requests: + +```access.log IN +[timestamp] [tab] IN [IP] [tab] [URI] [tab] [SIZE] +``` + +### OUT logline + +OUT logs are responses: + +```access.log +[timestamp] [tab] OUT [STATUS] [tab] [META] [tab] [SIZE] +``` + +## Generating stats + +These are tab structured lines and it is pretty easy to just calculate some basic stats on incoming and outgoing messages using the wonderful world of bash scripting. + +### calc.sh + +```calc.sh +#!/usr/bin/env bash + +LOGFILE=$1 +OUTFILE=$2 + +if [ $# -lt 2 ]; then + echo "Usage: + ./calc.sh logs/access.log gemini/stats.gmi + " +fi + +# Stats for today +TODAY=$(date -Id) +echo -e "Stats for day:\t$TODAY" > $OUTFILE +echo -e " Total Reqs:\t"$(grep 'OUT' ${LOGFILE} | grep "${TODAY}" | wc -l) >> $OUTFILE +echo -e " Gemlog Reads:\t"$(grep 'IN' ${LOGFILE} | grep "${TODAY}" | grep "gemlog" | grep "gmi" | wc -l) >> $OUTFILE +echo "Top 5 Gemlogs" >> $OUTFILE +echo "--------------" >> $OUTFILE +grep "IN" ${LOGFILE} | grep "${TODAY}" | cut -f4 | grep "gemlog" | grep ".gmi" | sort | uniq -c | sort -rn | head -n5 >> $OUTFILE + +# Stats total +EARLIEST=$(head -n1 $LOGFILE | cut -f1) +echo "" >> $OUTFILE +echo -e " Stats since:\t$EARLIEST" >> $OUTFILE +echo -e " Total Reqs:\t"$(grep 'OUT' ${LOGFILE} | wc -l) >> $OUTFILE +echo -e " Gemlog Reads:\t"$(grep 'IN' ${LOGFILE} | grep "gemlog" | grep "gmi" | wc -l) >> $OUTFILE +echo "Top 5 Gemlogs" >> $OUTFILE +echo "--------------" >> $OUTFILE +grep "IN" ${LOGFILE} | cut -f4 | grep "gemlog" | grep ".gmi" | sort | uniq -c | sort -rn | head -n5 >> $OUTFILE + +# print generating timestamp +echo -e "\n// generated $(date -u -Is)" >> $OUTFILE +``` + +This bash script is basically a combination of: grep, cut, sort, uniq. I know that I can optimize this much further, but I wrote this in a way where I filter down in steps to aid in my understanding of what and why I am filtering. + +I also wrote the script to be run where I can change the in and out file, but that was a relic of this being something I ran locally and not to a fixed location on my server. + +### What I filter for + +I decided to break information into two things: total requests - where I filter all log lines basically. And then "gemlog reads" since the homepage and atom.xml are things I don't really care about. But it's pretty good to see the percent of the requests are page reads. And I also decided to show the "from the beginning of the file" stats as well (originally I just was just calculating the stats for day). + +### The output + +```stats.txt +Stats for day: 2021-04-14 + Total Reqs: 301 + Gemlog Reads: 155 +Top 5 Gemlogs +-------------- + 53 gemini://senders.io/gemlog/2021-04-13-digital-hygiene-one-week-in.gmi + 14 gemini://senders.io/gemlog/2021-04-09-humans-first-words.gmi + 13 gemini://senders.io/gemlog/2021-04-12-girl-2020-land-before-time.gmi + 7 gemini://senders.io/gemlog/2021-04-10-floc.gmi + 7 gemini://senders.io/gemlog/2021-04-03-digital-hygiene.gmi + + Stats since: 2021-04-07T00:53:38,811Z + Total Reqs: 3500 + Gemlog Reads: 1852 +Top 5 Gemlogs +-------------- + 239 gemini://senders.io/gemlog/2021-04-10-floc.gmi + 207 gemini://senders.io/gemlog/2021-04-13-digital-hygiene-one-week-in.gmi + 186 gemini://senders.io/gemlog/2021-04-07-devlog-4-deployed-in-production.gmi + 173 gemini://senders.io/gemlog/2021-04-09-humans-first-words.gmi + 138 gemini://senders.io/gemlog/2021-04-12-girl-2020-land-before-time.gmi + +// generated 2021-04-15T02:56:01+00:00 +``` + +## Generating this file + +I run this via a cronjob because I don't have any CGI support to load these stats on demand on my server. I run the calc script every minute to write it to file on my capsule: + +=> /stats.txt /stats.txt + +## Conculsion + +I found this a fun exercise to see how well a particular gemlog "was doing" - were people clicking into it? It's also interesting to see some traffic numbers on days (like today) where I haven't posted. + +## P.S - GDPR + +I realized upon writing this calc process - I probably should do something about the fact I am logging IPs onto my server outside of the EU, but I know some of you are IN the EU. I have a retention setup via cron to wipe my logs every month which if I recall should be compliant. But I might just remove the actual IP from the log and add a UUID on the IN and OUT so I can properly match up the IN and OUT lines. I really don't need your IP, nor would I want my IP sitting on some random server somewhere (though I am not subject to GPDR so I probably have no recourse to ask you to remove it). I know some of you run larger sites/capsules - what do you do about access logs? If this were HTTP it would probably make sense to keep the IP logs to capture/manage any traffic to monitor for potentially malicious actions and ban them etc? So just curious to not reinvent the wheel here... + +I thought it was neat to take a look at the general traffic on my server and share the script :) + +=> /gemlog/ Gemlog +=> / Home + diff --git a/gemini/gemlog/index.gmi b/gemini/gemlog/index.gmi index 43022a6..8c91adf 100644 --- a/gemini/gemlog/index.gmi +++ b/gemini/gemlog/index.gmi @@ -4,6 +4,9 @@ Welcome to my gemlog. I post whenever I do something I feel is worth writing abo ## My posts +=> 2021-04-15-capsule-stats.gmi 2021-04-15 - Capsule Stats +=> 2021-04-13-digital-hygiene-one-week-in.gmi 2021-04-13 - Digital Hygiene - One Week In +=> 2021-04-12-girl-2020-land-before-time.gmi 2021-04-12 - Girl (2020) and The Land Before Time => 2021-04-10-floc.gmi 2021-04-10 - FLoC, Some Thoughts => 2021-04-09-humans-first-words.gmi 2021-04-09 - Human's First Words? => 2021-04-08-devlog-5-fun-bug.gmi 2021-04-08 - Devlog 5 - Fun Bug -- cgit v1.2.3-54-g00ecf