Musings of a dad with too much time on his hands and not enough to do. Wait. Reverse that.

Tag: parenting (Page 4 of 14)

Family bingo

During the quarantine, one family activity we’ve begun is weekly virtual meetings with family members we’ve been prevented from seeing face-to-face. To add some structure and fun to the meetings, we play simple games like Bingo. It occurred to me that it might be even more fun and interesting to personalize our Bingo games.

For example, take my favorite TV family, The Bundys:

The Bundys

Now, suppose the Bundys were to reunite virtually for a family get together and decided to play a personalized game of Bingo in the manner I’m proposing. They might first create a list of their names: Al, Peggy, Kelly, and Bud. They might add other names to the list like Steve, Marcy, and Jefferson. They could add memorable events like “Polk High” and “Four Touchdowns”, family vacations including “Dumpwater, Florida” and “Lower Uncton, England” and possessions such as “the Dodge” and “Buck the dog”.

Based off a previous post of mine, they could generate personalized bingo cards like so:

import matplotlib.pyplot as plt
import matplotlib.style as style
import numpy as np
import random

%matplotlib inline
style.use('seaborn-poster')


bundy_data = ['Al', 'Peg', 'Kelly', 'Bud', 'Buck', 'Steve', 'Marcy', 'Jefferson', 'Griff', 'Gary\'s\nShoes', 'Polk High', 
              'Four\nTouchdowns', 'Shoe\nSalesman', 'Lucky', 'Dumpwater,\nFL', 'No Ma\'am', 'Wanker\nCounty', 'Dodge', 
              'Bob\nRooney', 'Officer\nDan', 'Psycho\nDad', 'Ike', 'Seven', 'Anthrax', 'Jim\nJupiter', 'Sticky\nthe Clown',
              'Love &\nMarriage', 'Grandmaster\nB', 'chicken', 'Lower\nUncton', '9674\nJeopardy Ln', 'Ferguson\ntoilets', 
              'Chicago']

rowlen = 5  # bingo cards are usually 5x5

fig = plt.figure(figsize=(8, 8))
ax = fig.gca()
ax.set_xticks(np.arange(0, rowlen + 1))
ax.set_yticks(np.arange(0, rowlen + 1))
plt.grid()
_ = ax.set_xticklabels([])
_ = ax.set_yticklabels([])

for i, ltr in enumerate('BUNDY'):
    x = (i % rowlen) + 0.4
    y = 5.0
    ax.annotate(ltr, xy=(x, y), xytext=(x, y), size=20, weight='bold')
    
random.shuffle(bundy_data)
for i, phrase in enumerate(bundy_data[:rowlen**2]):
    x = (i % rowlen) + 0.29
    y = int(i / rowlen) + 0.5
    ax.annotate(phrase, xy=(x, y), xytext=(x, y))
A personalized Bundy family bingo card

The host calling out the bingo squares to mark could simply run Python code like below to generate a random list of squares to call:

nbr_of_picks = 20  # generate, say, 20 squares to call

for i in np.arange(nbr_of_picks):
    print('{0} - {1}'.format(random.choice('BUNDY'), random.choice(bundy_data).replace('\n', ' ')))

This would generate a list like so:

Y - Marcy
Y - Steve
B - Dodge
N - Ike
U - Grandmaster B
U - Lucky
U - Gary's Shoes
N - Griff
U - Steve
U - Marcy
Y - Bud
B - Psycho Dad
B - Polk High
N - Officer Dan
B - Dodge
B - Wanker County
Y - Anthrax
U - chicken
Y - Shoe Salesman
B - Ferguson toilets

If your family name is not five characters long, you could of course use “BINGO” instead or make your cards larger or smaller accordingly. And, of course, come up with your own personal family names, events, and so on for the card data.

Now this is a commencement address

Here’s a rather unconventional commencement address from Mike Rowe:

I like both his gentle irreverence and the simple truths of his points.

How do you succeed professionally? Mr. Rowe makes some suggestions:

  • Practice your craft everyday.
  • Become indispensable to your employer.
  • Show up early.
  • Stay late.
  • Distinguish yourself on the job at every opportunity.

No matter what your child does after high school, these are solid points to be successful.

If you’re a skilled tradesperson with an entrepreneurial spirit, a willingness to get dirty, a disposition to travel, and a burning curiosity to learn all that you can…I’m telling you, your opportunity to prosper has never been better.

Mike Rowe

I think it’s great that he references an “entrepreneurial spirit”…I wish he would have repeated that point a few more times. It shouldn’t be a given that we all must toil for an employer, when there are opportunities to be your own. Along with equally giving voice to the trades, it would be great if our educational institutions would give ample voice to entrepreneurship, as well.

One big 2019 accomplishment

I’ve blogged in the past about the importance of recording your family events and periodically consolidating that work into a polished product for the world–or at least your family and friends–to see.

To that end, I’m now on my twelfth year of creating an annual family video where I painstakingly go through a year’s worth of family pictures, video, artwork, and awards to highlight my family’s accomplishments in an 80 minute montage of clips and fun segues. Here’s a short summary of that work:

My works average about 84 minutes year after year. You may also notice the missing years 2007 and 2008. After all the effort I expelled compiling my 2006 video, I spent the next two years saying, “never again”! I convinced myself to jump back into the fray in 2009 and kept at it ever since.

What sort of effort are we talking about?

I haven’t tabulated the total hours of effort I invest into culling my media for the few minutes of baskets, goals, and solos, but my efforts do span several weeks and consume much of my end-of-year vacation days.

Typically, I start with an outline–a text file. I start going through the year’s worth of media I’ve collected and note the major scenes or sections: for example, basketball season, soccer season, instrumental/choir recitals, family vacation, birthday celebrations, etc. Once I’ve decided on my scenes, I try to decide on how to order them in my outline. For the most part, I try to stick to a chronological order, but if I find that one of my children is the focus in multiple back-to-back scenes, I will try to intersperse those scenes with others that focus on another child, so as to dispel any sense of favoritism in the final product.

Once I have my outline, I wrap it with intro and outro scenes. These scenes allow me a small level of creativity. For my intros, I try to mimic one you might see in a television show or movie. I find some snazzy music bed, play a quick sequence of photos of the family members with fancy transitions over it, and end the quick 30 second intro with a nifty title of the video: something about our family and our goings-on over the year.

Again attempting to mimic conventional outros in the mainstream, I try to find an upbeat, family-friendly song and run a bunch of photos of the members from the year on top of it. I do forgo the credits piece as I tend to be the producer, directory, key grip, and best boy all in one.

With my outline set, the real work begins watching hours of footage to pull out just the highlights. In years past, I would work through the outline in order: building my intro scene and working all the way through to my outro scene. This year, though, I decided to work out-of-order, trying to knock out some of the harder scenes first. I think this proved to be pretty successful and I’ll probably take the same approach next year.

How much media do you really have?

Maybe next year, I’ll try to tally up the minutes and hours I spend assembly the final product. Starting with this year, though, I decided I wanted to at least tally up the number of hours and minutes of raw footage I must sift through to do my work. To do this, I needed to find an easy way to collect duration times of all my media files.

When I wrote my Music to Drive By solution, I wrote a PowerShell script that, in part, tallied up the duration of all the MP3 files it wrote to my thumb drive as an output to the console. That script is soooo slow. Surely there have been new, speedier innovations in capturing media file durations in both PowerShell and Windows since then. Nope. None that I can find, anyway.

WSL, ftw

So, I decided to see what I could do in the Windows Subsystem for Linux. There are many options out there and I decide to give the MediaInfo utility a try based on this helpful post. MediaInfo can only look at one media file at a time, but that same post included some very helpful Bash code to let me loop through directories of my media files and total their durations in miliseconds. Here’s, roughly, the Bash script I came up with:

let total_duration_ms=0
for media_file in /mnt/extdrv/qsync_backup/Videos/2019/*/*/*.{mp3,mp4,mov,wav,MP3,MP4,MOV,WAV}; do
        if [ -f "$media_file" ]; then
                total_duration_ms=$(expr $total_duration_ms + $(mediainfo --Inform="General;%Duration%" "$media_file"))
        fi
done
echo $total_duration_ms

One other item I should note: I house my media files on external hard drives. Getting WSL to see my external hard drive was simple once I mounted it. This post aided in that regard.

So, how much raw footage did I have to work with this year?

25.4 hours

I trimmed over twenty five hours down to an 82 minute family video. Well, less than that, actually, as a good 7-8 minutes of the video was probably still shots and transitions. So, yes, I consider this one of my accomplishments this year.

« Older posts Newer posts »

© 2024 DadOverflow.com

Theme by Anders NorenUp ↑