2023 February
-
(Cross-posted from the TriviaStorm blog) Shutting Down The Twitter Bot Sad news today, as Twitter has announced that API access will no longer be free startong on Feb 9, 2023. Sadly this means the end of the bot's run on Twitter which started in Feb 2017. Almost 5 years! It was fun while it lasted. The Twitter bot will run until it can't. Migrating to Mastodon That was the bad news. The good news is that a version of the trivia bot is already up and running on the fediverse/Mastodon networks. You can follow the bot at https://botsin.space/@triviastorm. It follows
2019 February
-
A while back I started a Twitter trivia bot as a weekend project. That bot is still up and running on Twitter, you can check it out there! But today, I thought I'd write about the answer-checking mechanism used by the bot. It was a bit interesting to me because it was the first nontrivial use I had for Django's unit testing framework. I'm not too keen on unit testing web functionality (something I still have to learn), but this seemed an appropriate first use of a unit test framework for several reasons: the bot had to be able to
2018 October
-
Ten years ago this month, I started studying Django by trying to build my own blog application. I found the code lying around while I was going through some backups lately. It's way out of date, it uses an early version of django. I thought of bringing it up to speed, but that didn't seem practical. Instead, for archival purposes, I cleaned it up a bit and uploaded the code to a github repo. (Helpful github immediately warned me that having a very old version of Django was a security risk lol). There's a lot more information in the README.md
2017 February
-
I had been meaning to try writing a Twitter bot for a while now. I figured a trivia bot would be pretty easy to implement, so I spent some time a couple of weekends to rig one together. It's (mostly) working now, the bot is active as triviastorm on Twitter, with a supporting webapp deployed on https://triviastorm.net/. The bot tweets out a trivia question once every hour. It will then award points to the first five people who gave the correct answer. The bot will only recognize answers given as a direct reply to the tweet with the question, and