How to make 1 month pass by in lockdown

..through “unproductive” means.

With the global pandemic keeping people in their homes for weeks, I got around to thinking what I, as a person who had experienced months/years long stretches of unemployment, would suggest people do to pass the time without going outside.

Some quick maths:

Let’s assume 8 hours of sleep as there’s no reason to skimp on that when you’re on lockdown. Then 2 hours minimum for daily rituals – eating, bathing, laundry (assuming the whole household shares the chores), etc. 

14 hours a day, multiplied it by 31 and we get 434 hours which could be rounded down to 400 hours.

So what can eat up 400 hours?

This leads us to why I had to add “unproductive” as a restriction: learning and practicing new skills can easily eat up all of those 400 hours as long as you have the passion and drive to work through the learning humps along the way. Similarly, time will quickly pass by if you use your own existing skills to create something you’ve always wanted but didn’t have the time before. Heck, mundane stuff like cleaning your room can take longer than you expect.

On the other end of the spectrum, I had to add the “” to exclude the most unproductive activities, namely spending all day on social networks and pollute your mind with fake news/outrage about the pandemic. Though after writing that down, I guess this would also include watching the mainstream news which has by now degraded to “all the clickbait about COVID-19 that you want to see”.

Anyway, back to the question at hand…

Computer gaming is an obvious answer. You can spend thousands of hours on your favorite game/genre, just ask any MOBA or Battle Royale player.

It’s 2020, though: video game developers have figured out that the limiting factor for most gamers isn’t money or hardware – it’s the fact that people only have less than 5 hours of free time a day. This limited nature can be exploited to enticing people to spend money rather than grind in-game for rewards.

But now you have people with a lot of free time on their hands and no reason to spend cash on non-essential things.

Long story short, you can take advantage of this exploitative trend and easily consume an entire day just by fulfilling the “daily” and “weekly quests” of 5 free-to-play/gacha/lootbox/microtransaction games.

Maybe you’re not keen on supporting money-grubbing game publishers that overuse these tricks. Or maybe you’re not confident that you’ll have stable internet for the next few months. What else can you play aside from online games and gacha?

Apart from gaming, the next obvious choice is streaming. Go clear your “To Watch” backlog then let the algorithm suggest new stuff for you.

If paying for a monthly subscription isn’t for you, there’s always YouTube. In fact, when I asked myself what can eat up 400 hours, the first thing that came to mind was Critical Role.

Critical Role is a weekly web show “where a bunch of nerdy-ass voice actors play Dungeons and Dragons”. Episodes average around 4 hours long and they just recently hit their 5 year mark. This gives you over 700 hours of content even if you skip the intros and breaks.

However, I didn’t mention Critical Role earlier due to a couple of reasons. First off, gaming is arguably more engaging for many people than simply watching something. 

More importantly, though, it’s a very niche recommendation.

If you’re familiar with tabletop role playing games, it has a good chance of hooking you as it shows what top-tier RPG gaming looks like, something that has always been described in books or articles but never been seen on video before. The cast being voice actors also add another layer to the show; they may not be A-list or even C-list celebrities, but you’ve probably heard some of them in your favorite video games, cartoons, or dubbed anime. Their acting chops also mean that they often stay in-character in critical moments, further enhancing the immersion.

That said, if you have no interest in TRPGs nor do you care about voice acting, Critical Role’s probably not for you.

Even not counting CR, your average YouTube content creator who has been constantly uploading content for over 5 years will have at least a hundred hours of content. Find a channel that talks about something that interests you, watch a few of their videos then binge the rest if they suit your palate.

Here’s a small sample of the channels I’ve binged in the past few years:

  • RedLetterMedia – initially popular for the then-groundbreaking Plinkett reviews, they’ve followed it up by posting movie reviews and doing bad movie viewings. While pretty much every movie review channel does the same thing, they stand out by being professional (sort-of) filmmakers themselves giving them insights into movie making that the others don’t. They also prefer to be consistent rather than worry about trivial stuff like subscriber counts.
  • Bon Appétit – formerly just an obligatory YouTube channel for a respected food magazine, a couple of hit “shows” with clever editing (It’s Alive with Brad, Gourmet Makes) transformed it into a “The Office“-like sitcom, with editors, writers, test kitchen staff, and production crew as the “cast”. It’s still a good cooking channel underneath, but everyone’s really after the meta-icing on the top.
  • Forgotten Weapons – there are gun channels, those that examine guns, take them apart, and shoot them. And there are history channels. But there are only a few gun history channels, ones that talk about both guns and their role in the history of warfare. What’s great about this channel is that while Ian McCollum can be subjective in describing guns and how they feel when shooting, he’s very objective in their politics and history.
  • Brady Haran’s educational video channels – other science channels present either bite-sized summarized content or very verbose discussions. Brady’s content tends to hover around the sweet spot – not too short that other points are glossed over, but not too long that it gets boring/repetitive.
  • I used to watch Let’s Play channels like Game Grumps, but I can’t recommend them anymore as most of them have trouble with juggling being entertaining and actually playing the game. Nowadays, I’d rather watch highlight videos for entertainment (eg. TheRussianBadger) or speedruns/edited long plays for gameplay.

Before I move on to the last option, I have to mention that “sailing the high seas” is definitely an alternative to streaming series and movies, especially those not available in local streaming services. Sure, it can be legally ambiguous, but if your internet breaks down and there aren’t any available repair techs in your area due to the quarantine, you’d be glad to have gigabytes of locally stored media to stave off boredom.

“Written work” wraps up this list of obvious time eating options.

E-books are reasonably cheap and I won’t be surprised if Amazon and other e-book companies offer discounts in these trying times. You can also legally get free e-books in sites like Project Gutenberg.

Then there’s web novels, self published work where writers upload chapters one at a time. While we’re at it, let’s include fanfiction which follow the same format.

Literary snobs may scoff at these two as they often lack proper editing and, to put it bluntly, most of them are shit. But I have to include them here because of their length.

The average person can leisurely read about 100,000 words a day, maybe 200,000 if totally focused on the text. With the average fantasy/sci-fi paperback running around 100,000 words, you can finish one novel in a day or two.

Web serials can run in the millions, easily matching their published book series counterparts. For example, Worm clocks at 1.68 million words. You can spend weeks bingeing on web serials and there will still be content to read.

Written media’s biggest advantage over the previous two is it’s size: you can fit more novels in the same space as TV series, movies, or (non-retro) games. Spotty internet won’t bother you as much as in the other options.

We can’t talk about written work without talking about comics. They sit between what’s generally accepted as written work/literature and movies/TV series. They don’t have the small data footprint of the former, but with proper compression techniques, a single TV episode can be equivalent to a dozen graphic novel volumes.

I won’t go into too much detail about them apart from pointing out that you can get comics and manga the same way as other written work: through online stores, free legal online readers, self-published web comics, legally gray sites and downright illegal means.

And that’s my list. In hindsight, all of these are too obvious, and you probably will be doing a combination of these three, hopefully with some “productive” stuff in between.

RailsFTW v0.19 now out, with Rails 4.2.0 and RubyGems SSL fix

After waking up at 4AM to the n-th “How do I fix the SSL problem in RailsInstaller/RubyInstaller?” in both project’s mailing lists, I stopped watching AGDQ for a couple of hours to spin up new Windows 7 virtual machines to upgrade RailsFTW to deal with those problems.

Version 0.19 is now out, with Rails 4.2.0 and RubyGems SSL fix.

Changing Gimp’s Default Save Folder

UPDATE: This fix doesn’t work with GIMP 2.8 and later.

Having to deal with image manipulation every once in a while, having Gimp not remember my last save folder is a bit annoying since my image folder isn’t the same as My Pictures. A quick Google search later, I found that the fix was pretty easy.

The trick here is that Gimp considers the current directory (i.e. where it is executed) as the default directory. Thus, to change the “default” directory setting in Windows, all you need to do is to open the launcher properties:

gimp settings

And change the “Start in” setting to the folder of your choice.

Take periodic screenshots in Ubuntu with scrot and cron

I had to log my hourly effort in my last gig (stupid policy IMO; what am I, a factory worker?) but since I’m not working on Windows, I couldn’t use ManicTime to do the tracking for me.

Taking a cue from oDesk, I decided to make a simple script that takes screenshots of my desktop every few minutes so that I could just review them at the end of the day. For this I used scrot for taking the screenshots and cron for the scheduling.

First install scrot:

$ sudo apt-get install scrot

Then write a script, say /path/to/home/scrot.sh:

#!/bin/sh
LOCATION="$(date +/path/to/home/Pictures/shots/%Y/%m/%d)"
mkdir -p $LOCATION
cd $LOCATION
DISPLAY=:0 scrot '%Y-%m-%d-%H%M.jpg' -q 20

This script will take a low quality screenshot of the desktop and put it in the Pictures/shots folder separated by date.

Set the permissions with chmod:

$ chmod u+x /path/to/home/scrot.sh

You can now test this by running:

$ /path/to/home/scrot.sh

Now time to add the script as a cron job. There are a lot of cron tutorials out there, but to summarize what you need to do, here are the basic steps:

Run crontab -e to edit the cron table file for your current user.

Add a line that will execute scrot.sh whenever you want it to run. For example, here’s the entry for running the script every three minutes on Monday to Friday:

*/3 * * * 1-5 /path/to/home/scrot.sh

Customize Ubuntu Lock Screen Background

Changing your desktop background in Ubuntu (and practically any desktop OS) is trivially easy.

Changing your login background picture in Ubuntu will take a bit of Google-ing, but it’s still pretty easy to do.

Changing the background of the lock screen, however, is a different thing altogether.

original lockscreen

If you do some digging around, you’ll find out that this lock screen is defined in /usr/share/gnome-screensaver/lock-dialog-default.ui. In other words, it uses Glade for its design. On one hand, that means you could design funky lock screens like the NSA Lock Screen. On the other hand, simple tasks like changing the background can be a pain to do.

To spare you the effort in studying Glade just to change your lock screen’s background, I’ve created a Github project to point you at the right direction.

As shown in the relevant commit, changing the background requires 3 things present in your /usr/share/gnome-screensaver/:

  • a background image (the source of the quote should be pretty obvious),
  • a gtkrc file to add theming to the UI, and
  • the updated .ui file

This customization assumes you’re using a 1366×768 monitor. Modifying it to suit your monitor resolution shouldn’t be hard to do.

And the finished product:

customized lockscreen