2021 was quite the year! COVID was in full swing. Institutions were in a permanent state of hybrid, and Bo Burnham released a banger of a special. I did some things as well. Let’s talk about them.
Table of Contents
- Accomplishments in 2021
- Favorite Photos of 2021
- Favorite Creations of 2021
- Projects in 2021
- Metrics 2017-2021
- A Look into 2022
Accomplishments in 2021
For most folks, 2021 was a hard year—myself included. As a result, I’m going to list off just about anything positive that happened as a major win:
- Passed qualifying exam
- Started a business bank account
- Watched a lot of movies, series, and anime
- Continued my Duolingo streak to 1300+ days
- Visited family for holidays (with caution)
- Got vaccinated against COVID three times
- Went to an in person hackathon
- Expanded several open-source libraries including Subete and SnakeMD
- Published my first conference paper
- Went camping in a tent and glamping in a cabin
- Visited my friend’s family in Florida for the first time
- Started learning Japanese
- Visited home a lot
- Passed all my classes
- Got back into teaching
Over the span of the year, I’d have to say my proudest achievement is passing my qualifying exam. That said, I think getting the chance to finally travel a bit is the thing I’ll remember the most about 2021. What sort of things did you accomplish? Surviving is a perfectly good answer!
Favorite Photos of 2021
While brainstorming the list above, I thought it would be fun to share some of my favorite photos from the past year.
In here, you’ll find a nice mix of camping photos, pet photos, and nephew photos. Oh and don’t forget that short trip to Florida! I’d love to go down there again.
Favorite Creations of 2021
I don’t remember exactly when I moved from posting twice a week to once a week, but I do know that 2021 was a light publishing year. At most, I wrote 4 articles a month, so putting together this list was pretty easy.
- January 2021: Roll Your Own Minimum Function in Python
- One series I kicked off this year was around rolling your own functions in Python. I have mostly neglected this series, but I really enjoyed it in concept as it mirrors the type of work that my friend, Robert, does every day.
- February 2021: 27 Best Anime Backed by Science
- How could I not celebrate February with an article about my birthday? This upcoming year I’m looking to really rile folks up with a post about the best programming languages.
- March 2021: How to Get Better at Programming: Lessons From Music
- Another series I started was basically a way for me to get away with sharing my interests outside of programming. To keep them topical, I tied my hobbies back to how they help me code.
- April 2021: So, How Bad Is Artifact Farming in Genshin Impact Really?
- Last year, I got sucked into the Genshin Impact madness. One of the more frustrating elements of that game is artifact farming, so I set out to figure out why it’s so painful.
- May 2021: Can You Actually Return Multiple Values From a Function in Python?
- Oh, I liked this article because it was one of the few times that I actually wrote a response to someone else’s content.
- June 2021: Python Basics: Everything You Need to Know to Get Started
- Apparently, I also got into writing a few “learn Python” series that I never finished. That’s pretty normal for me!
- July 2021: Introduction to Python Coding With Discord Bots
- Now, this is a series I should really flesh out. Discord bots are a really fun way to learn to code.
- August 2021: Sample Programs Docs Generator 2.3.0 Features How To Python README Automation
- Automating markdown generation was one of my big wins last year. Going into 2022, I’m going to pay special attention to folks making use of this!
- September 2021: I Passed My Qualifying Exam!
- Late last year, I finally checked off another major milestone in my PhD program. I passed my qualifying exam!
- October 2021: Programmatically Explore Code Snippets of Many Languages Using Python
- While automatically generating markdown is my favorite coding accomplishment of the last year, it shouldn’t get all the credit. I also wrote a tool to browse the Sample Programs repo using Python.
- November 2021: Comparing Java to Python: A Syntax Mapping
- As a lover of Python and a teacher of Java, I often find myself trying to convert students to Python. This article is a testament to that.
- December 2021: Documenting My Coding Course Upgrades
- In the daytime when I’m not working toward my PhD, I teach! This article captures some of the changes I’ve made to the course since I started teaching it.
At the moment, I don’t have a lot of plans for future content. I’ll be posting once a week as always, but I expect a particularly challenging semester ahead. As a result, I’ll be going with the flow.
Projects in 2021
Again, 2021 was a bit of a mess. Of course, that didn’t stop me from working on a bunch of cool and weird projects. Let’s get into it!
Sample Programs in Every Language
The Sample Programs repo has been my baby since early 2018. It’s the first open source project that really took off for me, and I’ve enjoyed working on it ever since.
That said, it’s a project that tends to revolve around the yearly Hacktoberfest mess. Rarely do I get folks contributing to it throughout the year, and I haven’t really heard of anyone using it. So, I have no clue if it’s getting any love.
To no surprise, the past year was yet another sort of Hacktoberfest-only year. That said, I did a lot of cool things around the idea of the Sample Programs repo. For instance, I made a template repo, so folks can make their own collections.
Likewise, I did a ton of work to extract some of the cooler parts of the workflow. For instance, I automated all of the READMEs. And, I even pulled out the README automation code into its own repo! More on that next.
SnakeMD
At various points in maintaining the Sample Programs repo, I thought about ways to automate painful tasks. For example, I found the process of maintaining the READMEs for each programming language to be cumbersome. As a result, I wrote some code to automate them.
As you may know, GitHub READMEs are in Markdown. When I wrote the tools to automate the READMEs, I inadvertently wrote a Markdown generation script. Eventually, I ended up sharing that Markdown code with several of my own repos before deciding to extract it into its own library.
The resulting library ended up being called SnakeMD. It’s a silly name because what I really wanted was PyMD, but we can’t get everything we wanted. As a result, I settled on SnakeMD which sounds like a snake doctor. Instead, it generates Markdown files for you.
I’m extremely proud of such a simple script because it’s one of the few things I’ve made that I think will actually help folks. And I’m not wrong! I’ve done basically no marketing for it and 8 repos are already making use of it. How cool is that? The wild part is I don’t even know how folks are finding the repo because I can’t seem to get it to show up in Google.
Subete
Since we’re on the topic of Sample Programs ports, another library that I put together this past year was subete. Subete is a silly library, but I kind of love it. It allows me to programmatically browse the Sample Programs repo in Python.
I’ve most recently used this library to automate my profile page on GitHub. Once a week, I post (automatically) a different code snippet from the repo.
I’ve also used the library to generate some pretty plots of data related to the repo. I haven’t looked at these plots in ages, but I imagine they’re cool!
Oh, I’ve also used the library to create a Discord bot that shares random code snippets from the repo. It’s a silly thing, but I love it.
Metrics 2017-2021
I’ve been tracking data about the site for a long time. These days, I don’t really pay attention to the metrics, but maybe you’ll enjoy taking a peek at them.
Page Views: Months & Years
As far as page views are concerned, all I can really say is “L + Ratio.” Joking aside, my view counts have definitely dropped over the years. That said, I think they’ve more or less stabilized, which is a positive in my eyes.
Month | 2017 | 2018 | 2019 | 2020 | 2021 |
---|---|---|---|---|---|
Jan | 427 | 19.1k | 21.1k | 11.8k | |
Feb | 397 | 16.2k | 24.8k | 11.6k | |
Mar | 1.1k | 31.0k | 21.9k | 13.9k | |
Apr | 379 | 1.3k | 45.4k | 18.8k | 13.9k |
May | 317 | 1.4k | 52.7k | 17k | 11.5k |
Jun | 337 | 780 | 26.7k | 13.5k | 11.7k |
Jul | 253 | 1.7k | 19.8k | 13.9k | 10.3k |
Aug | 714 | 1.9k | 19.9k | 16k | 12.1k |
Sep | 505 | 5.7k | 22.5k | 15.4k | 11.9k |
Oct | 5.1k* | 10.9k | 17.8k | 17.3k | 13.7k |
Nov | 904 | 9.9k | 15.0k | 15.4k | 13.6k |
Dec | 202 | 13.9k | 11.8k | 12.2k | 12.7k |
Total | 8,773 | 49.6k | 298k | 208k | 149k |
I don’t really have any goals for view count in 2022, but I’d be content with keep the site over 10k views a month. That seems reasonable!
Top Posts & Pages
I was a bit weirded out with the top pages this year. Surely, the Python stuff stands out. I realize that’s my niche. That said, an article I didn’t even write snuck into my top five, and that does make me sad from time to time.
That said, I am pleased with the spread of top posts. Once again, I don’t really have a single post running away with the view count like in 2019. Obviously, I wouldn’t be opposed to that kind of traffic, but I prefer the stability of the current setup.
Top Sources of Traffic
There’s no surprise that my top sources of traffic are organic. That said, what I’m most pleased by is the growth of support from other search engines like Bing and DuckDuckGo. With Google, I’ve found that I’ve slowly be falling off. I don’t know why Google refuses to recommend my content, but it’s frustrating. Thankfully, we’re seeing respectable growth from other sources.
Rank | 2017 | 2018 | 2019 | 2020 | 2021 |
---|---|---|---|---|---|
#1 | Google 2.3k views | Google 39k views | Google 259K views | Google 92.9k views | Google 74.8k views |
#2 | Facebook 418 views | GitHub 809 views | DuckDuckGo 4.8k views | Bing 22.3k views | Bing 24.9k views |
#3 | Twitter 64 views | Bing 451 views | Bing 4.8k views | DuckDuckGo 19.2k views | DuckDuckGo 20.6k views |
#4 | LinkedIn 30 views | Google+ 266 views | WordPress Android App 1.3k views | Yahoo 3.9k views | Ecosia 3.8k views |
#5 | StumbleUpon 20 views | WordPress Reader 247 views | GitHub 967 views | Ecosia 3.1k views | Yahoo 3.5k views |
#6 | Yahoo 14 views | Twitter 246 views | Yahoo Search 777 views | Dev 2.2k views | Dev 869 views |
#7 | Bing 12 views | DuckDuckGo 215 views | Ecosia 522 views | GitHub 1.3k views | GitHub 682 views |
#8 | GitHub 9 views | Facebook 193 views | Twitter 289 views | TopDev 810 views | Yandex 557 views |
#9 | WordPress Reader 8 views | Instagram 86 views | Qwant 160 views | Edabit 550 views | Qwant 471 views |
#10 | DuckDuckGo 3 views | Yahoo 85 views | Yandex 144 views | Qwant 500 views | Edabit 216 views |
Next year, I’d like to see DuckDuckGo and Bing (combined) take over Google. Then, I could finally prove that Google just hates my content.
Top Countries
Not much to say here. My content thrives in English speaking countries.
Rank | 2017 | 2018 | 2019 | 2020 | 2021 |
---|---|---|---|---|---|
#1 | United States of America (4,037 views) | United States of America (20,949 views) | United States of America (115,649 views) | United States of America (57.6k views) | United States of America (44.3k views) |
#2 | South Korea (578 views) | India (6,230 views) | India (33,496 views) | India (20.9k views) | India (17.4k views) |
#3 | France (542 views) | United Kingdom (2,581 views) | United Kingdom (14,206 views) | Germany (14.2k views) | United Kingdom (8.4k views) |
#4 | Russia (221 views) | Canada (1,716 views) | Germany (13,664 views) | United Kingdom (10.5k views) | Germany (8.2k views) |
#5 | Germany (220 views) | Germany (1,517 views) | Canada (11,003 views) | Canada (7.7k views) | Canada (5.7k views) |
#6 | Philippines (189 views) | France (1,066 views) | France (8,636 views) | France (5.3k views) | France (4.4k views) |
#7 | Canada (183 views) | Australia (807 views) | Brazil (6,097 views) | Australia (3.8k views) | Russia (3.8k views) |
#8 | India (173 views) | Israel (718 views) | Australia (5,445 views) | Netherlands (3.6k views) | Netherlands (2.9k views) |
#9 | Japan (150 views) | Brazil (685 views) | Netherlands (4,847 views) | Brazil (3.3k views) | Australia (2.9k views) |
#10 | Cambodia (145 views) | Netherlands (611 views) | Spain (4,237 views) | Russia (2.7k views) | Brazil (2.5k views) |
Top YouTube Videos
Despite barely publishing at all over the past year, I didn’t see much in terms of fall off that a lot of YouTube folks describe. Perhaps my content is somewhat evergreen. Let’s see what happens in 2022.
Rank | 2019 | 2020 | 2021 |
---|---|---|---|
#1 | 3 Ways to Check If a List Is Empty in Python (232 views) | 3 Ways to Element-Wise Sum Two Lists in Python (974 views) | 3 Ways to Map Two Lists to a Dict in Python (876 views) |
#2 | 4 Ways to Reverse a Dictionary in Python (146 views) | 4 Ways to Reverse a Dictionary in Python (571 views) | 3 Ways to Element-Wise Sum Two Lists in Python (592 views) |
#3 | 3 Ways to Element-Wise Sum Two Lists in Python (142 views) | 3 Ways to Map Two Lists to a Dict in Python (353 views) | 4 Ways to Reverse a Dictionary in Python (511 views) |
#4 | 3 Ways to Map Two Lists to a Dict in Python (44 views) | 3 Ways to Check If a List Is Empty in Python (214 views) | 3 Ways to Compare Strings in Python (457 views) |
#5 | The Definitive Guide to List Comprehensions in Python (37 views) | 4 Ways to Get the Last Element of a List in Python (143 views) | 4 Ways to Get the Last Element of a List in Python (408 views) |
Also, YouTube is nice enough to share a year in review email which included some fun 2021 stats:
- 6,763 minutes of watch time
- 2,941 views
- 49 likes
- 2 comments
Maybe I’ll have more time to post in 2022!
Total Revenue
Ah yes, the money question! As a quick overview, money was about as good this year as last year, which is saying a lot given the decrease in traffic.
That said, let’s talk about income sources in more detail. Up first is Patreon which has shown a small decrease in support over the last year. That said, I picked up two more folks that I don’t even know, so that’s cool!
Month | 2019 | 2020 | 2021 |
---|---|---|---|
Jan | $0.00 | $17.37 | $18.14 |
Feb | $0.00 | $17.37 | $18.14 |
Mar | $0.00 | $17.37 | $18.14 |
Apr | $0.00 | $17.37 | $18.14 |
May | $0.00 | $23.75 | $18.14 |
Jun | $0.00 | $23.75 | $18.14 |
Jul | $8.30 | $23.74 | $18.14 |
Aug | $22.72 | $23.74 | $18.14 |
Sep | $22.72 | $23.75 | $18.14 |
Oct | $22.72 | $23.75 | $18.14 |
Nov | $22.72 | $18.14 | $9.84 |
Dec | $22.72 | $18.14 | $9.84 |
Total | $121.90 | $248.24 | $201.08 |
While I’m happy with the Patreon income, we have to talk about the Amazon income. Amazon is funny one for me because 99% of it comes from my trombone site which I don’t publish on anymore. That said, it’s still bringing me a fairly decent chunk of change at the end of the year. In fact, it outperformed last year! Maybe I’m in the wrong field.
Month | 2019 | 2020 | 2021 |
---|---|---|---|
Jan | $0.00 | $1.49 | $4.23 |
Feb | $0.00 | $0.00 | $14.30 |
Mar | $0.00 | $12.70 | $8.51 |
Apr | $0.00 | $11.63 | $8.18 |
May | $0.00 | $0.90 | $6.09 |
Jun | $0.00 | $12.78 | $4.12 |
Jul | $0.00 | $0.98 | $2.66 |
Aug | $0.00 | $0.94 | $2.20 |
Sep | $0.00 | $0.62 | $4.37 |
Oct | $0.20 | $0.38 | $9.84 |
Nov | $0.00 | $8.59 | $10.84 |
Dec | $0.00 | $7.24 | $4.39 |
Total | $0.20 | $58.25 | $79.73 |
As you probably know, I’m not a huge fan of ads. That said, they’re a fairly stable way of earning income, so I turned them back on this year. With just a handful of ads on the site (two in the sidebar and two in the footer), I managed to make over $100 in the span of a year. I would not be surprised if that number goes up in the next year.
Month | 2018 | 2019 | 2020 | 2021 |
---|---|---|---|---|
Jan | $0.00 | $12.84 | $0.00 | $2.72 |
Feb | $0.34 | $8.93 | $0.00 | $8.34 |
Mar | $1.68 | $21.71 | $0.00 | $9.23 |
Apr | $1.68 | $28.18 | $0.00 | $8.76 |
May | $1.49 | $30.53 | $0.00 | $6.27 |
Jun | $1.05 | $17.00 | $0.00 | $10.98 |
Jul | $1.94 | $10.67 | $0.00 | $7.67 |
Aug | $0.56 | $9.78 | $0.00 | $7.23 |
Sep | $5.87 | $4.99 | $0.00 | $14.55 |
Oct | $9.28 | $0.00 | $0.00 | $18.63 |
Nov | $12.19 | $0.00 | $0.00 | $18.99 |
Dec | $15.56 | $0.00 | $0.00 | $10.89 |
Total | $49.96 | $144.63 | $0.00 | $124.26 |
One last table I like to include is for historical reasons: the membership revenue. Prior to Patreon, I rocked a membership site. That’s long gone, thankfully.
Month | 2019 | 2020+ |
---|---|---|
Jan | $4.55 | $0.00 |
Feb | $4.55 | $0.00 |
Mar | $9.10 | $0.00 |
Apr | $9.10 | $0.00 |
May | $9.10 | $0.00 |
Jun | $9.10 | $0.00 |
Jul | $4.55 | $0.00 |
Aug | $0.00 | $0.00 |
Sep | $0.00 | $0.00 |
Oct | $0.00 | $0.00 |
Nov | $0.00 | $0.00 |
Dec | $0.00 | $0.00 |
Total | $50.05 | $0.00 |
Outside of the big three sources of income (i.e., Patreon, Amazon, and Google Ads), I don’t really have other sources of revenue. That said, I started an official bank account for the site, and I even began investing the earnings. Maybe in the future we can talk about how those investments are going. For now, let’s call it a day.
A Look into 2022
These days, I try to move one day at a time. Between working toward candidacy and caring for family, I have little time to dedicate to the site. That said, this is one of those things that I’m proud to have said I started and continue to maintain. As a result, who knows what 2022 will bring, but I guarantee I’ll still be here.
With that said, is there anything you want to see in 2022? Let me know!
While you’re thinking about that, here are some of the other review posts for your perusal:
Otherwise, happy new year! Let’s make 2022 great.
Recent Posts
While creating some of the other early articles in this series, I had a realization: something even more fundamental than loops and if statements is the condition. As a result, I figured we could...
Today, we're expanding our concept map with the concept of loops in Python! Unless you're a complete beginner, you probably know a thing or two about loops, but maybe I can teach you something new.