Don’t Listen to me, Listen to People who have Lived This Experience

If you are reading this near when I wrote it, you are likely aware of the worldwide protests related to the murder of George Floyd.

I have a lot of words that I could say about this, but you shouldn’t be listening to me. You should be listening to people who have actually lived this experience.

A good place to start is one or more of the books on this excellent list from the Toronto Public Library. The first book on the list is by Desmond Cole, an excellent local journalist, activist, and writer:

https://account.torontopubliclibrary.ca/shared/blacklivesmatter-a-booklist/7a30VmdcoaVzXnHz5QRMyCEAsh7MfWLIhaF08xO8JLFLNB1xuF

You can get these books from the library, but if you can, it is good to support writers, for example from a Toronto black owned bookstore: https://www.adifferentbooklist.com/

If you want to learn some more about the history of the civil rights movement in the mid-20th century, the story of Fred Hampton [Wikipedia] may be instructive, here summarized in a twitter thread.

There are some interesting findings about what does and does not work for police reform, summarized in a twitter thread here.

Some words about how to be a good ally.

12 ways you can be an activist without going to a protest.

And finally, some words from one of my favourite people in the world, Neil DeGrasse Tyson.

To Move Forward, We need to Address This First

If you are reading this near when I wrote it, you are very likely aware of the worldwide protests related to the murder of George Floyd.

At the root of it, these protests are about police brutality, and many are asking the question “are the police really who we should be calling in order to solve the problems we see?”

There is a movement to defund the police. Specifically, there are a number of jobs that we have been asking the police to do that could be done more effectively (and with less violence, and likely in a less costly way). The following pictures paint a vision of what would be possible if we diverted more of our resources towards solving some of these problems instead of suppressing them with people who are trained primarily in the use of force.

[image of text: SOMEONE IS BEHAVING ERRATICALLY & IN HARM'S WAY. IMAGINE... ...TEXTING A NUMBER & AN UNARMED URGENT RESPONDER TRAINED IN BEHAVIORAL AND MENTAL HEALTH COMES WITHIN 5 MINUTES. AN HOUR LATER THAT PERSON IS SAFE & GETTING THE SUPPORT THEY NEED. ____ isn't that public safety?]
[image of text: SOMEONE IS BEHAVING ERRATICALLY & IN HARM’S WAY.
IMAGINE…
…TEXTING A NUMBER & AN UNARMED URGENT RESPONDER TRAINED IN BEHAVIORAL AND MENTAL HEALTH COMES WITHIN 5 MINUTES.
AN HOUR LATER THAT PERSON IS SAFE & GETTING THE SUPPORT THEY NEED.
____
isn’t that public safety?]
[image of text: SOME FOLKS ARE SLEEPING ON BENCHES IN THE PARK. IMAGINE... ...A CITY EMPLOYEE COMES BY & CHECKS IN TO SEE IF THEY NEED A PLACE TO SLEEP, FOOD, WATER, OR HEALTH CARE. AN HOUR LATER, THOSE WHO WANT A DIFFERENT PLACE TO SLEEP HAVE ONE. _____ isn't that public safety?]
[image of text: SOME FOLKS ARE SLEEPING ON BENCHES IN THE PARK.
IMAGINE…
…A CITY EMPLOYEE COMES BY & CHECKS IN TO SEE IF THEY NEED A PLACE TO SLEEP, FOOD, WATER, OR HEALTH CARE.
AN HOUR LATER, THOSE WHO WANT A DIFFERENT PLACE TO SLEEP HAVE ONE.
_____
isn’t that public safety?]
[image of text: YOU ARE EXPERIENCING A MENTAL HEALTH CRISIS & AFRAID IMAGINE... ..YOU CALL +311 & A FIRST RESPONDER TRAINED IN MENTAL HEALTH COMES TO YOUR DOOR. 1 HOUR LATER, YOU ARE IN A SAFE PLACE WITH YOUR CONSENT, WITH PLANS FOR FOLLOW UP CARE. _____ isn't that public safety?]
[image of text: YOU ARE EXPERIENCING A MENTAL HEALTH CRISIS & AFRAID
IMAGINE…
..YOU CALL +311 & A FIRST RESPONDER TRAINED IN MENTAL HEALTH COMES TO YOUR DOOR.
1 HOUR LATER, YOU ARE IN A SAFE PLACE WITH YOUR CONSENT, WITH PLANS FOR FOLLOW UP CARE.
_____
isn’t that public safety?]
[image of text: YOU DON'T REALIZE, BUT YOUR BRAKE LIGHTS AREN'T WORKING. IMAGINE... ... A CITY EMPLOYEE SIGNALS FOR YOU TO PULL OVER & SAYS, "HEY - HOW ABOUT I REPLACE THOSE LIGHTS FOR YOU RIGHT HERE SO NO ONE GETS HURT?" AN HOUR LATER, BOTH LIGHTS WORK & YOU'RE AT HOME. ______ isn't that public safety?]
[image of text: YOU DON’T REALIZE, BUT YOUR BRAKE LIGHTS AREN’T WORKING.
IMAGINE…
… A CITY EMPLOYEE SIGNALS FOR YOU TO PULL OVER & SAYS, “HEY – HOW ABOUT I REPLACE THOSE LIGHTS FOR YOU RIGHT HERE SO NO ONE GETS HURT?”
AN HOUR LATER, BOTH LIGHTS WORK & YOU’RE AT HOME.
______
isn’t that public safety?]
[image of text: YOU ARE EXPERIENCING INTIMATE PARTNER VIOLENCE. IMAGINE... ...TEXTING A NUMBER & A TRAUMA INFORMED CRISIS INTERVENTION SPECIALIST MEETS YOU IN A SAFE PLACE. AN HOUR LATER YOU ARE WORKING TOGETHER TO MAKE A PLAN THAT WILL KEEP YOU SAFE LONG TERM. ____ isn't that public safety?]
[image of text: YOU ARE EXPERIENCING INTIMATE PARTNER VIOLENCE.
IMAGINE…
…TEXTING A NUMBER & A TRAUMA INFORMED CRISIS INTERVENTION SPECIALIST MEETS YOU IN A SAFE PLACE.
AN HOUR LATER YOU ARE WORKING TOGETHER TO MAKE A PLAN THAT WILL KEEP YOU SAFE LONG TERM.
____
isn’t that public safety?]
[image of text: YOUR FRIENDS ARE INTOXICATED & FIGHTING BUT YOU DON'T WANT THEM TO GET IN TROUBLE. IMAGINE... ...YOU CALL +311 AND A CRISIS INTERVENTION TEAM COMES TO YOUR DOOR. 1 HOUR LATER, YOUR FRIENDS ARE SLEEPING IT OFF AT HOME. ____ isn't that public safety?]
[image of text: YOUR FRIENDS ARE INTOXICATED & FIGHTING BUT YOU DON’T WANT THEM TO GET IN TROUBLE.
IMAGINE…
…YOU CALL +311 AND A CRISIS INTERVENTION TEAM COMES TO YOUR DOOR.
1 HOUR LATER, YOUR FRIENDS ARE SLEEPING IT OFF AT HOME.
____
isn’t that public safety?]
[image of text: SOMEONE SEEMS TO BE SNOOPING IN CAR WINDOWS IN YOUR BLOCK. IMAGINE... ...CALLING YOUR NEIGHBORS WHO ARE TRAINED IN SELF-DEFENSE & DEESCALATION & APPROACHING THE PERSON. AN HOUR LATER THE CONFLICT IS RESOLVED & THE PERSON RESPONSIBLE IS GETTING THE SUPPORT THEY NEED. ____ isn't that public safety?]
[image of text: SOMEONE SEEMS TO BE SNOOPING IN CAR WINDOWS IN YOUR BLOCK.
IMAGINE…
…CALLING YOUR NEIGHBORS WHO ARE TRAINED IN SELF-DEFENSE & DEESCALATION & APPROACHING THE PERSON.
AN HOUR LATER THE CONFLICT IS RESOLVED & THE PERSON RESPONSIBLE IS GETTING THE SUPPORT THEY NEED.
____
isn’t that public safety?]

2020: Processing How We Got Here I

It’s now been 11 weeks since we went into social isolation, somewhere between 12 and 13 weeks since S said “Perhaps we should stock up a little.” Since then, (our part of) the world has been upended, time has lost all meaning, even while the season has turned. Looking back at pictures that I took back then[1], there was snow on the ground, and today it was sunny and 19C.

But like I said, time has lost all meaning. It’s been difficult a couple of times the last couple of weeks remembering which day of the week it is, even taking into account a working-from-home[2] schedule. I keep coming back to ‘time has lost all meaning’. I’m one of those people for whom it’s easy to lose an hour[3], if I get into something, or get distracted by something. I can even lose weeks because I’m in the barely-slept now. But this is very different.

Some of you know that a main reason that I started blogging was because I was afraid of life passing me by, of the fear of looking back and not having anything tangible to show for all the time I had spent on this world. I successfully wrote every day for 7 months, and even after I fell off the wagon after falling sick, I was still able to gather myself and write intermittently. In fact, I was in the process of restarting a regular cadence[4]…then all of this happened.

How does one write a long series of in-depth articles about a phone strategy game that no one has heard of or cares about, when there’s a global pandemic that is the only thing on everyone’s mind? Is that even a remotely responsible thing to do? It took me a while to understand that I needed to write about this experience instead, and first, as a way of processing everything that I was feeling and experiencing. Some people say it’s important to document along the way, to help you (and others) understand later what it truly felt like. All I can say is that the allostatic load has been so high, that it took me this long to find the mental space to do this. But back to our story…

There was a flurry of activity, reading up every bit of information on Covid[5], preparing ourselves, seeing my mom one last time, going out to see friends one last time…then on March 9th, I went to the office for the last time, and then…waiting…waiting…waiting for people to take this seriously enough.

On the 11th, I shared this article “Why you must act now“. We had spent the previous week in a ‘hair-on-fire’ state, S had her last day in the office on the 6th, I told my team at work that same day to bring everything home that they needed for an extended stay.

So, we were personally ready (we thought) for this exponential threat that was coming at us, I was telling the people I knew that it was coming, and they seemed to be aware of the danger, but we weren’t seeing it in a bunch of the people as we walked around, and we weren’t seeing it in the media. The previous Thursday (March 12th), Doug Ford was saying that school would be closed for two weeks after March break, but still saying that people should ‘enjoy themselves’ over March Break. Later that day, Sophie Gregoire-Trudeau self-isolated (and eventually tested positive). I think this ended up being a good thing, as it put a human face on the pandemic, and perhaps helped convince people that everyone was susceptible (and perhaps put more of the fear into the politicians).[6]

This is getting long, so I think I will stop here, somewhere in the second week of March. We’re safely isolated and stocked up, (we think)[7] we know what this will feel like, some politicians (in Canada at least) are juuust starting to say the right things, but people are still getting ready to go for March Break, and we’re hunkering down for the long waiting period of ‘turning the ship’ of convincing tens of millions of people to change this seriously and change their behaviour.

Thank you for reading this. This feels cathartic in a good way, and really important to help me process this. πŸ™‚

[1] In the ‘Before Times’.

[2] I have a lot of words to say here, but fundamentally, I feel so lucky and blessed to have a job/career that allows this easily.

[3] Or five.

[4] Huge thanks to L here, who suggested meeting up in a local cafe, where I got a lot of good writing notes in, that will be interesting posts some day, hopefully soon. πŸ™‚

[5] I feel uncomfortable saying the word ‘Covid’. I’m not sure why. It may be that I have very strong and complex feelings about the word, and I assume others do too, and I very much want a specific and understood[5a] reaction to each word that I use, and words that are this loaded make me apprehensive.

[5a] To the extent that a human can ever be said to understand another human…

[6] This also eventually gave us this magical song: Justin Trudeau sings ‘Speaking Moistly’
(Original clip here: https://www.youtube.com/watch?v=slK5IY_GJzI )

[7] Ha ha ha so wrong… πŸ™

What is Management?

So, I’ve been thinking about management training recently[0], and while I’m collecting my thoughts, I thought it would be good to talk about what ‘management’ is, at its most fundamental.

I’m going to make some assumptions here:
– Management is about the art of helping[1] people to work together towards a common goal
– We’re talking about ‘good’ management, which is trying to do the above in a positive and sustainable way
– The things we’re going to talk about will be relevant to all[2] organizations with some sort of hierarchy, and perhaps some without

“Those who can, do. Those who can’t, manage.’
– A paraphrase of a quote from George Bernard Shaw

The quote above, while flip, has some interesting truth to it. I would argue that, beyond perverse financial incentives[3], those who decide to go into management from an individual contributor (IC) role do so because of some competitive advantage pushing that choice. Likely one of:
– They are better at managing then at being an individual contributor (leading to the quote above)
– They are better as an IC than as a manager, but they are better than anyone else at being a manager (competitive advantage)
– They are better as an IC than as a manager, but they are afraid that any one other than them chosen to be manager will be worse (and/or they want control over their work environment/process)

So, having some idea of why people ‘get into’ management, what is ‘management’?

Like we said above, ‘management’ is the art of helping people work together towards a common goal, in a positive and sustainable way.

To me, this includes the following components:
– Helping people work together towards the goals of one’s team
– Helping people work together towards the goals of the larger organization
– Helping people and the organization as a whole improve goals and process[4]
– Helping your team (and yourself[5]) achieve career goals
– Keeping your team (and yourself) happy

Now that we have some categories, we’ll continue next time going into a little more detail. Thanks for listening. πŸ™‚

[0] And feeling super-pompous about it. Luckily, I have good friends who will tell me when I’m full of it. πŸ™‚

[1] I use the word ‘helping’ here, a relatively positive word, and probably suitable for working with one’s direct reports, or in a truly psychologically safe environment. Sadly, most environments are not that, and people must often be convinced to do what is in the best interests of the organization (and often must be convinced to do what is in their own best interest, too). ‘Convincing’, or ‘getting’ might be used in other environments, but even in those environments, I think ‘helping’ is still a healthier and more productive choice.

[2] Public, private, etc…

[3] There are some organizations where the structure is such that one can only advance in one’s career (read payscale) by advancing in ‘management’. Some would say that most large organizations are like this to some extent. This discussion, while important, is out of scope.

[4] I have much to say (and many books have been written) about the ways in which organizations do non-optimal things, decide on non-optimal goals, or otherwise lose their way. (My favourite book which touches on this is ‘The Goal’, by Eliyahu M. Goldratt.)

[5] It’s incredibly important to support your team, and do the best you can to ensure their success. In general, you become successful when your team is successful. There will be points where this diverges, though, and it’s important to know when those are, as you and your team members will be healthier with healthier boundaries.

Some More Management Roles

A few years ago, I talked about some management roles, specifically how the traditional ‘Team Lead’ role could be de-convolved into five different roles:

Performance Manager (Worker Evaluation)
Estimatrix (Estimator)
Product Owner (Prioritization)
Scrum Master (Removing Obstacles)
(People) Development Manager (Development Conversations)

At the time, while I’d been running important teams in my organization, it was still a relatively small organization (each CEO knew me by name), so the role and significance of each team was more clear (or at least had been justified by someone before me).

Since then, I’ve learned a little more about what is important in a large organization, and I have some more roles to add. The above management roles have more to do with day-to-day management of a team, and assume that managing upwards and managing long-term are taken care of elsewhere. (Theoretically, they are probably most likely part of the ‘Product Owner’, but most likely they would be part of the ‘reserve power‘, and would devolve to whomever was considered ‘highest’ in whatever organizational hierarchy was present.)

I had also been blessed with excellent technical leads on all of my teams at all of the places I’ve worked, enough so that I didn’t think to explicitly call out ‘Technical Lead’ as one of the ‘traditional’ management roles.

(So now, we have six):

Technical Lead (Software Architecture & Implementation Decisions)
Performance Manager (Worker Evaluation)
Estimatrix (Estimator)
Product Owner (Prioritization)
Scrum Master (Removing Obstacles)
(People) Development Manager (Development Conversations)

(There are also some questions about the exact line between ‘roles’ and ‘skills, for example: ‘Running a Meeting’ ‘Presenting engaging presentations’), so I will include them for completeness, even though they bleed into many of the other ‘roles’.

As mentioned above, the roles below would fall under some combination of:
– ‘Product Owner’ (because they involve working with people or groups outside/above the team in question)
– ‘Scrum Master’ (because the team would notice that they were blocked or impeded by not paying attention to a certain type of issue, and might be perceptive enough to up-level the discussion to a more general/role-based one)
– ‘Reserve Power’ (roles or tasks that are automatically put under a traditional ‘Team Lead’, but no one really considers them separately, even though they take real time and effort)

Anyways, here are some other longer-term and/or more upward-facing roles to add to the above:

Milestone setter
Team Vision & Planning
Recruiting, Interviewing, & Hiring
Team compositions planning/Team Development (this is development of the team as a whole)
Building relationships (travel, phone, random 1:1s)
Running Meetings
Preparing & presenting engaging presentations
Tech architect (Longer-term decisions about code structure)
Code reviews (this would likely fall under ‘Tech Lead’ above, but ‘what is good enough’ would likely fall under the next line, ‘Quality decision-making’)
Quality decision-making (how good is ‘good enough to ship’?)
Quality Assurance & testing
Asking for resources
Team Champion, in charge of Dog & Pony shows[1] (Why is the work that the team does important?)

Some of the above roles are systematized, automated, or otherwise circumscribed by processes in larger organizations, for example, they may have specific processes for project planning, or for recruiting or development conversations.

But still, there are a lot of these. This suggests that either teamwork is super-complex, and requires too many different things to easily handle without tools[2], or there must be some way of grouping them into meaningful ‘roles’.

So, how do we group them? We could group them into the familiar Agile ‘Technical Lead’, ‘Scrum Master’, and ‘Product Owner’, but that just really puts us back where we started, shoehorning roles into boxes that don’t quite fit, or with a bunch left over.

Fundamentally, all of the above roles are some combination of tasks and making different kinds of decisions.

I’ll do what I can to define, codify, and group them tomorrow.

[1] I am somewhat flip in my naming here, but in any large organization, any team should have a story for how they are planning to remind the management structure of why they are important. This serves a number of functions:
0) The obvious ‘remember who we are and what we do’
1) It’s a good check-in, to make sure that what they are doing is actually perceived as important
2) It’s good practice for the inevitable re-orgs in any large organization, or even if one’s boss changes because they leave for another position or organization

[2] Like checklists, or more advanced tools like JIRA and wikis.

Sriracha & Potato Stir-Fry

So, we were experimenting with stir-fry composition, and happened upon a new favourite: Sriracha & (Rosemary) Potato.

It goes as follows:

Total preparation and cooking time: 25-30 mins.
Serves 2.

Recommended music: https://www.youtube.com/watch?v=UkSr9Lw5Gm8
(Because cooking is very much like building things.)

Equipment required:
– Some sort of stove
– Some sort of frying pan
– Some sort of stirring/spatuling instrument

Ingredients required:
– Some sort of cooking oil (we’ve been using grape oil, which is actually super-tasty)
– Two medium potatoes
– One medium onion (I prefer yellow) or 1/2 bunch of green onion
– Three half peppers
– Two cloves of garlic
– Sriracha sauce
– Some sort of soy sauce (we used Kikkoman low sodium)
– Rosemary (cf. Rosemary Potatoes)
– Some sort of herbs/spices (we used Oregano & Basil)

Pairs well with rice & greek salad, as seen here:

The delicious stirfry from today:
The delicious stirfry from today:

Directions:
– Turn on the stove to medium-low (I do 3/10 on our stove’s large burner, with both parts of the burner turned on)

– Thin-slice the potatoes, and cut these slices in four (I cut the potatoes in half, cut them into thin slices, and then put the pile on the cutting board, and cut again in four.)
– Add the potatoes and some cooking oil to the frying pan.
– You are going to want to stir on a regular basis. Potatoes are frying pan-sticky
– If you’re using a medium/cooking onion (not green onion), chop up the medium onion and add it to the frying pan. (I top and tail the onion, remove the outer layer or two, then slice it, then chop the stack of slices in four or six. I usually rinse the onion before chopping, but that was not enough to protect me today.)
– Chop up the garlic and add it to the mix (I do garlic the same way I do onions, top & tail ,then remove outer layer, and then slice, then cut stack of slices in two or four.)
– You may need or want to add a little more cooking oil, to prevent burning or sticking.
– This is a good time to add the herbs (rosemary is the most important), and the sriracha & soy sauce. For the sriracha, enough to go back and forth in the frying pan a few times, and perhaps 3-5 splashes of soy sauce.
– Chop up the peppers (I chop three in half, so I can get red/orange/yellow, and save the other halves for tomorrow’s meal). I wash them, remove the tops, rinse them, cut them in half, remove the bottom center part, then slice and then dice them. Throw them into the mix.
– You’re still stirring, right?
– Keep stirring until the potatoes are soft enough that you want to eat them. Total elapsed time was about 30 mins today. (Total time yesterday was about 25 mins at a stove setting of 4/10, but I was worried about burning the mix throughout the entire process.)

Serves 2.

On the Importance of ‘Technical Debt’

A couple of years ago, I was talking with a good friend of mine, we were talking about the difficulties of prioritizing the maintainability of software in a large organization development context.

And so, logically, the concept of ‘Technical Debt’ came up. Interestingly, he had never heard the term before[1], although as soon as he heard it, he grasped the importance.

(I remember it as being a really inspiring conversation, but sadly, my notes from that day don’t well capture what I found so inspiring about it. πŸ™ )

Although the concepts of ‘clean up after yourself’ and ‘do it the right way’ are likely as old as human civilization, it was likely only after systems reached a certain level of complexity that the concept of ‘Technical Debt’ was really useful. There is a limit to how complex a mechanical system can get[2], and most other systems are amenable to human factors and psychological safety solutions.

It’s also interesting to think about what is different about software, that makes it: A) possible to make a working product with large (including conceptual) defects, B) Useful to ‘go into debt’ to get a product out the door faster (or more cheaply).

One wonders how much it is the sheer complexity of software systems, the number of interacting modules, or perhaps the number of layers involved, from OS to dev_tools, to language, to standard libraries, to 3rd party libraries, to user-made helper functions. Perhaps it is just that one can ‘go into debt’ in the uppermost layer, because there exists a good foundation.

It could also simply be that software is an automation of so many smaller tasks, that any human system as complex would have similar useful concepts of debt[3].

Doing a little bit of digging, it seems that the concept was first termed ‘debt’ sometime in 1992[4], but it was not until later that it was termed ‘Technical Debt’.

Articulating the concept of ‘Technical Debt’ has a number of important benefits:

1) It puts a name on the category of ‘things we want to clean up in our code’, adds an urgency, and calls out more precisely why this is important.

2) It links the concept of ‘do things the right way’ with ‘Business’ concepts of money. This enables much better CTO-CFO conversations, allows better and more informed project funding decision making, and (hopefully) enables better and more structured funding for Technical Debt reduction[5].

3) It enables conversations in the moment, during architecture conversations and code reviews (and everything in between), where the parties involved can directly weigh/balance the time/resource costs of proper implementation with the opportunity costs of delaying time to market (or MVI/MVP[6]).

It will be interesting to see how organizations (and organizational decision-making) change as this concept spreads from ‘pure’ software companies.

[1] We theorized that this was because he had grown up in Hardware companies.

[2] I am not a Mechanical Engineer, and I’m happy to hear counterexamples, as well the conceptual frameworks used to address this… πŸ™‚

[3] Such as ‘Organizational Debt‘.

[4] https://www.martinfowler.com/bliki/TechnicalDebt.html “As far as I can tell, Ward first introduced this concept in an experience report for OOPSLA 1992. It has also been discussed on the wiki http://wiki.c2.com/?ComplexityAsDebt.”

[5] My favourite label for this is the ‘FBI’ list[7], as in ‘Can you F****** Believe It?’, passed down to me by an executive from a famous Canadian software company.

[6] ‘Minimum Viable Increment/Minimum Viable Product‘, from various implementations of Agile theory.

[7] Things that might linger on a list like this include things filed ‘Too Dangerous to Fix’, which are often interesting memoir fodder.

The Mysterious Case of the Regex Dot

So, I’m in the middle of organizing my photos into folders, something more useable than the default Photos application on Mac[1].

While trying to count the number of photos/videos[2] in each subdirectory in my …/2018/ folder:

$ time find * |grep IMG|grep -o ‘^[0-9][0-9]/.’|uniq -c
22 04/0
3297 05/1
104 05/2
100 06/0
1830 06/2
2040 10/2

I first tried the supposedly logical:

$ time find * |grep IMG|grep -o ^..|uniq -c|head
1 04
1 /0
1 1/
1 20
1 18
1 04
1 01
1 -0
1 00
1 41

Interestingly, grep (and/or the OS) seemed to be taking the front off of each line, and then putting it back into the STDIN hopper for the next call to grep.

As this was not doing what I expected (nor wanted), I tried:

$ time find * |grep IMG|grep -o ‘^[0-9][0-9]/’|uniq -c|head
1 04/
1 01/
1 04/
1 01/
1 04/
1 01/
1 04/
1 01/
1 04/
1 01/

Which, while better…

$ time find * |grep IMG|grep -o ‘^[0-9][0-9]/’|uniq -c|sort|uniq -c
22 1 01/
22 1 04/
3501 1 05/
1930 1 06/
2040 1 10/
3297 1 13/
104 1 23/
1830 1 24/
2040 1 27/

…gave me too many results by about a factor of two, and somehow found 27 months in the year.

I quickly figured out that while parsing mm/dd/yyyymmdd-hash/IMG_[0-9][0-9][0-9][0-9].[FILETYPE], this particular grep/OS combination will happily grab the ‘mm/’, and then also grab the ‘dd/’. This habit, while charming, does not solve my problem.

After google searching https://www.google.com/search?q=grep+one+match+per+line proved unfruitful, I decided to try:

$ time find * |grep IMG|grep -o ‘^[0-9][0-9]/.’|uniq -c
22 04/0
3297 05/1
104 05/2
100 06/0
1830 06/2
2040 10/2

and it worked!

I was stumped, until I figured out that the issues that I had been seeing before were entirely because grep was finding results at the start of the newly chomped string, and that by chomping part of the next ‘match’, I was stopping grep from finding any more matches.

#themoreyouknow

[1] Right now, when Photos organizes photos, it puts each photo into its own folder, based on year/month/day/yyyymmdd-hash, which makes it super-annoying to use anything about the Photos app, which is super-slow and annoying to use.

[2] The images are all in the format ‘IMG_[0-9][0-9][0-9][0-9].[FILETYPE]’, where FILETYPE can be ‘PNG’ (screenshots), ‘JPG’ (camera pictures), ‘MOV’ (camera movies), ‘GIF’ (saved .gifs), or perhaps some other recognized image format.

Processing Endgame VI: Captain America: The First Avenger

Please note that this is one a series of posts, all of which may contain spoilers for the MCU, and particularly Endgame.

Selflessness. Nobility. Bravery. What are the words that come to mind when you think of Captain America?

I wasn’t sure what to expect when we started watching Captain America. I had seen enough clips over the years since I had first watched it, and the story wasn’t really that complex. Scrawny kid gets chosen to be a super soldier, the serum works, but because of a mishap, he is the only one it works on[1]. He then goes and defeats the menace, and crashes the plane to protect millions of civilians.

Watching it, I think I perhaps now understand a little more of when people talk about ‘formula’.

I mean, don’t get me wrong. I liked the movie. It just felt a little flat compared to the Iron Man movies (perhaps even compared with The Hulk).

A great part of these origin story[2] movies is seeing the hero[3] going through character growth, as they struggle with their inner selves because of a huge inner stimulus. But Steve Rogers always knew what he wanted to do, on the inside. It was just that his outer self was not capable, and when he was finally able, he slipped into that new body, no problem. His struggles were all against external forces, his internal forces were consistently always ‘in alignment’.

I can’t help but compare and contrast with another superhero period war piece that came out recently, Wonder Woman. It’s also an origin story, of a character with singular origins, who is created to created to defeat a similarly (previously) constructed[4] villain, one that didn’t quite work out the first time.

But Wonder Woman feels deeper, perhaps because it asks deeper questions about the human condition and truth, that Evil has more depth, and wants more than just power, and that Good has self-doubts[5], and has motivations other than punching caricatures of nazis[6]

Perhaps the one thing that Cap really learned was that although he has great power as a propaganda tool, he’s much more powerful/useful/effective as the leader (from the front) of a small squad.

Some other observations: The first time we watched it, back in the day, S found Chris Evans’ digitally altered physique super-incongrous (I didn’t really know who he was, so I hadn’t noticed it). Expecting it this time, it didn’t bother me so much (except for where, even <10 years back, some CGI looks almost uncanny valley). What I did notice (and bothered me) was the bass/baritone/large voice of Chris Evans coming out of the tiny-seeming character. It kinda threw me out of suspension of disbelief. I had forgotten that it started in present-day with Cap's plane, but this was ultimately unimportant to the story. Rogers and the scientist (Dr. Erskine) ultimately bonded over their mutual dislike of bullies. The 'Genetic Code' is mentioned during WWII, placing it about 20 years ahead of our reality, where the first part of it was discovered in 1961.

[moving a blue power source from a Hydra weapon from one WALDO arm to another]
[explosion]
Howard Stark: “Write that down!”

Here we see the interest in knowledge (at the cost of self-image) that so characterized Tony Stark in his (recorded) experiments. (Perhaps their playboy/famous lifestyle/attractiveness acted as insulation or a helpful counter, allowing them more leeway to make fools of themselves…)

S: “What if they had found Cap as a skeleton?” “How would that change the rest of the series?”

Would Tony and Thor have worked out their differences in Avengers? Would the team have been able to work together as well to defeat the Chitauri? (Who would have let Iron Man out of the helicarrier rotor?)

Would there still be a Civil War? Tony would probably have still overreached in some way, whether it was Ultron or some other thing, that caused a calamity, that caused him character growth.

Would Bucky have caused even worse problems? Would Tony have become even more powerful and megalomaniacal, with no moral foil (that he trusted)?

Would Vision have fallen at the beginning of Infinity War? Would Thor and Iron Man have been able to delay Thanos for long enough during the final battle in Endgame?

It feels like Cap is a subtle but vital part of the MCU, perhaps more as a foil to Tony than anything else, perhaps as someone to look after all of the other Avengers, to get them to actually work together as a team, rather then minions of Iron Man (you could think of them as a lead vs. a tech lead, and how it’s important to have each of them, but you want to have the correct person in each role).

The post-credits scene, with Cap realizing that he’s lost everyone, but now he has a job to do, a new war to fight, helps understand his motivation going into Avengers. Perhaps we see him as the ‘Noble Super-Soldier’ because that’s all he has left, and he doesn’t find anything else (except for a few moments with Bucky) until the end of Endgame.

Interestingly, all of the MCU movies are PG-13, but Captain America had significantly more onscreen deaths and seemed much more violent than Avengers.

Captain America throws his shield kinda like a baseball pitcher[7] (although slightly more underhanded), using the whole body (which makes sense), but not like a javelin, discus, or shot-putter. (Note that it’s hypothesized that he is able to aim and ricochet his shield so well because of his super-reflexes and super-ability to calculate trajectories.

More parallels: Both Cap and Iron Man are saved by a foreign scientist with an accent[8] who helps them get their super powers. It is perhaps telling that they are given different messages, Tony hearing ‘don’t waste this gift, do something better’, and Cap hearing ‘Don’t change who you are’.

Coming up next, Avengers (2012), where we finally get to see many of these threads come together, and we see what everyone has learned. Stay tuned!

[1] Although, we know at this point that The Hulk was a result of others (Bruce Banner) playing around with the same super soldier serum. Interestingly, I don’t think we’ve ever seen Cap go up against The Hulk in the MCU. Only Thor & Iron Man (amongst the heroes) have done so, ‘our biggest guns’ as per Cap (Avengers). If it is the same serum, does that mean that Cap is acting at his full potential? Or does Hulk’s anger (and whatever went wrong) push his power level up?

[2] If you’re lucky, your character has enough growth for more than one movie, like the tormented Tony Stark, or the ‘continually-buffeted-by-forces-even-he-can’t-control’ Thor.

[3] Or Anti-hero (but not in this case).

[4] The Red Skull was the first recipient of the (not yet perfected) super soldier serum, and Ares stated ‘only a god can kill another god’, showing them to be two sides of a coin[9].

[5] Can you think of any time in this movie that Captain America had self-doubt? Perhaps when he was performing to sell war bonds, instead of being in actual war zone, but even then, it seemed that he was able to justify it to himself as the optimal use of his talents. Even when he had the largest defeat of his life (Infinity War), it only redoubled his motivation, as emphasized in his tag line: “I can do this all day”. He did have other things happen to him, his whole life in the future shaped by the tragedy of losing everyone he held most dear while frozen, his losing and finding and losing and finding Bucky, but even that felt like a secondary reason for his conflict with Tony Stark (I’m sure more on this later).

[6] As satisfying as that may be…

[7] And yes, of course, there’s a “Captain America Shield Throwing Compilation” on Youtube.

[8] There must be some kind of social commentary here, if only that the best scientists often have accents, as talent knows no borders.

[9] Note that I didn’t specify how many sides this coin had.

Processing Endgame V: Thor (2011)

Please note that this is one a series of posts, all of which may contain spoilers for the MCU, and particularly Endgame.

“Shakespearean Drama.” If you read any articles about Thor (2011), it’s hard to miss the choice of Kenneth Branagh, an acclaimed Shakespearean actor, as director. I had been expecting something of the sort when I watched the movie, but as it was happening, I realized that I didn’t really know what that meant.

It seemed to me a very human story, an uncomplicated story of youthful brashness and foolhardiness, leading to a fall from grace, redemption through discovering selflessness. A nice uncomplicated origin story (with one of a thousand faces)[1].

But so well told. It felt good all the way through, it made sense all the way through, the blending of magic & science worked all the way through. This is perhaps because of the way the character was originally conceived:

“Thor, at his best, has always had a classic bent in terms of his history, the way he speaks and the often Shakespearean dramas that surround him. That kind of dialogue and character needs someone who comes from a classically trained background in order for it not to sound forced or artificial. Branagh is the perfect choice.”

β€”J Michael Straczynski, co-writer of Thor, on Kenneth Branagh

“Thor’s powers are godly, yes … But at the end of the day, he’s a man … Odin sends him to Earth because he’s not perfect. He’s brash, arrogant. Even over-confident … he also bleeds. He struggles. Life kicks him where it hurts the most … You want to feel Thor’s rage when he rages. You want to see him fight like hell, and take as much as he dishes out — maybe more. You want to have a visceral reaction to the guy, and what happens to him. You don’t want his adventures to be clean and antiseptic. You want to see the dirt, and grime and blood. You want to feel every bone crunching moment of every fight. And when he unleashes the storm, you want to feel like you’re seeing the power of a GOD at work.”

β€”Ashley Miller, co-writer of Thor, about the project

Yes, world-shaking and family-shaking[2] Shakespearean Drama, all in one accessible package. That’s Thor (& his family).

The film opens with Thor triumphant[3], on his way to being named heir to the throne of Asgard, but the jealous younger[4] son Loki organizes an interruption to embarrass him, setting off the chain of events that cascade through most of the rest of the MCU Phases 1->3.[5]

The film does an interesting bait and switch, setting up the frost giants to be the antagonist, but even though Colm Feore[6] does a fine job as Laufey, I never particularly felt threatened by them (perhaps because I had seen the movie before, and we were watching it on a small screen). They could have used more time/space to set them up as a more believeable adversary.

But the bait and switch still worked, as it didn’t occur to me until later, that it was indeed Loki who had orchestrated the original break-in (even fooling the all-seeing Heimdahl), to embarrass his brother. It wasn’t until a little later, that he tipped his hand and fully became the overt antagonist.

But was he really? You can say that Odin had the best interest of the Nine Realms in mind when he kidnapped Loki, to raise him as Asgardian[7], but ultimately, he didn’t do it well enough, perhaps because he didn’t know about the idea of ‘Sevastokrator‘, a power-sharing agreement to help younger children work together with their older siblings (You could also see the ceremony of naming Thor heir being this type of ceremony, but he must have known, after hundreds of years of raising him, how Loki would react…).

So, maybe the real antagonist of Thor (and Phases 1-3) was Odin’s inability to emotionally communicate and connect with his family[8]. This eventually ends the movie, with Loki, unwilling to accept that he has failed his father, voluntarily letting go and falling off the Bifrost into oblivion[9].

But there’s other aspects of toxic masculinity, not just Odin’s inability to communicate, or to defuse competition between his children, there’s the aftereffects of this, Loki’s mocking Thor being ‘soft’ for caring about Earth, because he cares for one of the people there, even trying to turn it against him, to try to get Thor to stop trying to prevent Loki’s genocide of the Frost Giants, by saying ‘you’ll never see her again’ if he breaks the Bifrost bridge[10].

As far as other characters in the movie, we were surprised that Coulson was such a hard-nosed, by-the-book agent (although he did vote for science in allowing Thor to try to wield the hammer), and not really a likeable character (Perhaps J.J.Abrahms made all the difference there, in ‘Avengers’.)

Natalie Portman got to be a strong, intelligent woman, to be the first to really understand what is going on with the Einstein-Rosen (bifrost) bridge[11]

It did feel kind of like an odd couple, with Thor being so massively muscled. It was nice, that he did remember to steal her notebook on the way out, as he had promised.

Darcy also showed indications of how she would be stealing the show in Thor:The Dark World, especially with little comedic timing gestures like getting her taser[12] ready as they’re talking about going to find Thor again.

Later in the movie, we have a touching moment, where Erik Selvig comes to rescue Thor in custody (and pretends that he is ‘Donald Blake'[13], in a fun comic callback). Remembering Thor calling Erik Selvik ‘He is a friend’ when they discover he is under control by Loki has so much more poignancy when you see the scene where he is the one to go drink with him, where Thor opens up about how he is truly feeling about being cast out, that Erik is the one who was there when he needed someone the most.

I also enjoyed the ‘Son of Coul’ moment, where Thor declares himself an ally of Midgard, and promises to return. (Not to be confused with the cute Coulson moment, where he confronts the Destroyer with a megaphone.)

So, what did Thor learn in this film? That he had more to learn…that some humility is in order, that he does not always have the answers, and that his decisions can get people killed. Perhaps some sense of the responsibility of defending all nine of the realms, not just Asgard. Maybe even the sense that even when he is cast out, and at his worst, that there are people who will care about him, just for himself.

There’s also always the danger that every time you surmount another unsurmountable foe/obstacle, it’s another opportunity to become arrogant? This is a common human failing, and also allows second movies (such as Iron Man 2), but is perhaps not as well understood as a concept, and is perhaps why those second movies fail more often[14].

What defences against Thanos fall in this movie?
– The Destroyer (would not have stood up to Hela, but would have perhaps allowed some help vs. Thanos’ minions)
– S: “It could rotate like that, because there’s nothing inside.” As a design, it’s a really interesting piece of machinery, and bespeaks some really good industrial design in Asgard’s past.
– The unity of Thor & Loki (really, Loki) as protectors of Asgard & the Nine Realms
– Odin has to enter the odinsleep
– Frost Giants are no longer really possible allies

What alliances/defences are forged?
– Thor & SHIELD/Jane Foster

[1] It might fall under ‘Voyage & Return‘, but it is for sure a ‘Hero’s Journey‘.

[2] I think the key here is to have the world-shaking events, but to also have the family-shaking events happening at the same time, having the family-shaking events be almost a synecdoche or accessible proxy for the world-shaking events.

[3] Well, it starts with him being hit by a van, but that’s beside the point…

[4] ‘Younger brother'[15], the trope of so much fiction (and history), caused by the flawed practice of Primogeniture. Like many older concepts, it might have been one that humans had to pass through on the way to greater enlightenment. Perhaps better than Partible Inheritance[16], but only a stepping stone towards modern republics & representative democracies[17].

[5] One could argue that Loki letting the Frost Giants past Heimdahl, leading to Thor’s overreaction, leading to Thor being banished to Earth, leading to SHIELD increasing activity to deal with external threats, leading to Loki being cast out, to working with Thanos, to the invasion of Earth, to Tony’s PTSD, to Ultron, to the Sokovia Accords, to the Civil War, to the death of Frigga & Odin, to the unpreparedness for the Infinity War, to the eventual resolution, is the main arc of the series. I feel like it is still a point of contention as to whether this was a ‘best’ (or even good) way for this to turn out, but 1 in 14,000,605 should tell you something.

[6] I first heard of Colm Feore as being that famous person performing in Toronto musicals. I’m glad to see him doing so well. πŸ˜€ Also, he had a super-interesting note about the power of ‘Shakespearean Shorthand’:

“He said the Shakespearean training he shared with Hopkins and director Branagh helped keep production moving briskly, saying that “during the breaks, Tony, myself and Ken would be talking in Shakespearean shorthand about what the characters were doing, what we thought they may be like, and how we could focus our attention more intelligently. These were discussions that took no more than a few minutes between takes, but they allowed Ken, Tony and [me] to understand each other instantly without Ken taking an hour away to explain to the actors exactly what was going on. So that was enormously helpful.”

[7] So much colonialism in this movie, that I don’t have the chops to fully dissect.

[8] Made explicit in conversations between Loki & Thor in Thor:Ragnarok.

[9] Well, ‘Avengers’.

[10] I really enjoyed the portrayal of the Bifrost bridge (the bridge to the sphere where the Bifrost emerges from) as some sort of conduit from some power source in the heart of Asgard to the (probably dangerous) sphere that emits the Bifrost. (Interestingly, there are electrical discharges when making the Bifrost happen, which might be dramatic license, or they may be associated with Thor’s power (or indicate something fundamental about the connection of Thor’s power with the power of Asgard), or they may be something that falls out of Wormhole equations.)

[11] I have all kinds of questions after Thor:Ragnarok & Infinity War about where Thor’s power comes from, and how the Bifrost works after Asgard has been destroyed, even if Stormbreaker is made of Uru metal.

[12] I always took the fact that Thor was susceptible to tasers to be an indication that he had lost his powers (or at least confidence, similar to Thor:Ragnarok, with the control chip).

[13] Interestingly, Marvel seems to really enjoy taking people who have or feel a duality, and then doing the gedanken experiment of ‘what if they were separate people?’, or ‘what if they grew apart?’ We see this with Hulk’s story arc, and apparently it happened in the comic books with Donald Blake.

[14] This could also be selection bias, where 80% (made up number) of all movies fail, so having 80% of sequels fail is not unexpected.

[15] “Loki’s like a comic book version of Edmund in King Lear, but nastier.” (Edmund being an illegitimate son.)

[16] I became most aware of this concept from a problematic book I read a while back, which talked about the Partition of Poland (1138). Others might use more classical examples, such as Clovis, or the Partition of Babylon (or Triparadisus).

[17] One could make an argument here for an analogy with Polytheism -> Monotheism -> Atheism, but that would be outside our scope here.