Quotes

“Don’t explain your philosophy. Embody it.”

I love this quote, which I came across in a list of ancient stoic quotes (with some pretty good visuals).

Don’t explain your philosophy. Embody it.

Epicteus

This quote reminds me of a series on Confucius, Buddha, Jesus, and Muhammad.

This series noted the one thing these leaders had in common: sure, they all had interesting ideas, but more importantly, they lived by their ideas. If they had just talked a lot, they would not have had the real-world impact that they had. Their actions were inspiring.

So if you want to be a pretty cool and impactful person, in whatever form that takes, then figure out what you stand for and live it.

I know, I know… that’s easier said than done.

But what else are you going to do that could be any better?

Besides, it’s fun to do stuff, and talking gets old.

Via Alex Mathers
Songs

And finally, SoundCloud ☁️

A few months ago, I knocked off a bucket list item by recording a song with a friend who can sing.

The actual bucket list item was “Make a song that I can play in my car using Siri that I actually enjoy.” 😉 So I made sure to get it out on all the streaming sites.

I followed this up by taking a shot at singing and got that out to there too.

But the one streaming service I missed, and probably the most helpful as a musician, was SoundCloud. This site is a little more artist-oriented. You can upload songs instantly, give and get feedback, and basically do whatever you want without going through a distributor.

So here’s my new SoundCloud account.

I have a couple new songs in the works, but none good enough yet to post here even by show-your-work standards. When I do post something, it’ll go SoundCloud first.

Software Dev

At a glance: stack views

Next up in iOS at a glance series, where I give you a quick visual about an iOS development concept, we’ll jump into stack views.

Sticking with old-school UIKit concepts a little conger, stack views give us a simple way (pre-SwiftUI) to lay out a screen without a bunch of constraints, which can quickly become ungainly.

Stack views just organize subviews in a row, either vertically or horizontally. Stack views can be combined with each other as well to create complex layouts, such as below.

Stack views are typically invisible and only used to contain other views, so what we actuality see is this.

So there it is: stack views boiled down to a quick visual. Of course, the topic goes much deeper, including options for distribution, alignment, and spacing.

entertainment · Quotes

“I wasn’t making any waves, so l made a decision.”

I always love a good story of transformation.

The documentary STEVE (martin) tells the story of a really awkward, out-of-place aspiring comedian who wants to do something genuinely new but was initially failing badly.

It is cringe-worthy at times. What is this guy doing?

But Steve keeps relentlessly trying things, observing, and changing. It goes something like this (so far)…


Is there a future for me as a magician?

-> No, that looks like a dead end. Let’s try comedy.

Should I follow the classic comedy conventions like using “indicators” to signal when the punch line happened?

-> Nope. Let the awkward tensions build naturally and see what happens.

Should I open for other acts and perform for 1000 people who are there to see someone else?

-> Nope. This is getting me nowhere. I’d rather headline for 50 people who actually want to see me.


And finally, this long-haired comedian who looked he was “trying to be the Eagles” decided to change his whole look and attitude. I just like the clarity he finds.

I wasn’t making any waves, so l made a decision.

Instead of being at the tail end of an old movement, I’ll be at the front end of a new one.

And he follows it up with action.

And so l decided, “Okay, I’m putting on a suit, I’m putting on a tie and I’m cutting my hair.”

Instead of looking like a hippie from the ’60s, I’ll look like somebody new from the ’70s.

And of course kind of a punch line.

Or like someone from the future.

Someone from the future indeed. He was about to become the biggest comedian in the world.

STEVE (martin)
STEVE (martin)
Photos · Quotes

Invincible summer (pic) 🌱

A while back, I blogged one of my favorite quotes.

In the depths of Winter, I finally learned that within me there lay an invincible summer.

Albert Camus

Today I found myself looking right at this phenomenon in my little garden.

You see, this winter’s cold snap savagely killed almost all the plants . As a memorial, I left a sad, dead, spiky blackberry stalk sticking high out of the ground.

Now that dead stalk is getting overrun by new green growth. Blackberry sprouts are shooting up in other parts of the garden as well. The plant is even flowering, meaning fresh blackberries are on the way.

Life is resilient. 💪

Just don’t touch that dead stalk. That thing is not kidding around – ouch!

My blackberry vine coming back to life.
Software Dev

Autoresizing at a glance ⍈

Kicking off the iOS development “at a glance” series, we’ll start pretty basic: autoresizing.

Autoresizing was Apple’s first shot in the days of yore (iOS 2, circa 2011) at letting early iPhone views rearrange themselves (this is the “auto” part) in response to screen rotations. It was limited and clumsy, as was pretty much all of iOS at the time. Mail, contacts, calendars, and the App Store were new features on the iPhone.

So autoresizing makes for a fitting intro to this series.

Autoresizing allows the developer to specify how one view relates to its super-view as far as its size and margins, and which parts are are flexible vs. fixed.

In the days since autoresizing was introduced, more capable layout tools like Auto Layout with constraints and now SwiftUI have been introduced.

But you’ll still see the autoresizing “mask” (an old-school programming term) hiding out in the Size Inspector in Xcode under the View section. If you wondered what that was, now you know.

You

Be a (good) shark 🦈

This Medium post lists some great ways to make your life easier: Focus on next steps. Be present. Say no a lot. Focus on one thing.

One really surprised me, though: speed up.

I was going to add a point about slowing down but then decided to mix things up a bit and go the other way.

Alex Mathers

I second that idea. 👍

“Speeding up” is what I like to think of as relaxed focus. Just keep moving forward; the motion keeps your momentum up and keeps your thoughts and actions fresh and relevant. No more paralysis of analysis.

Get moving. Prioritise a kind of fluid, calm urgency in your life.

Now, Ted Lasso said “Be a goldfish“, but I’m going to say “Be a shark.”

A quick drawing of a shark moving quickly.

Okay, a shark is a deadly predator. Don’t do that; set that aside for a minute.

The best quality about sharks is that they understand relaxed focus. A shark is always moving purposefully, but it’s never in a hurry.  A shark don’t stop or wallow or get bored or frustrated.  A shark is always going somewhere and always has a plan. A shark’s movement seems to feed its energy rather than expend it.

So in life, be a shark. Keep moving purposefully and own your little neck of the ocean.

See also

“Creativity is not a talent. It is a way of operating.”

“How can a guy think and hit at the same time?”

General

Hey, this blog has a new name

In case you noticed this blog has a new name and logo, and you thought “this blog got hacked,” fret not. The new name, Mental Break Town, is on purpose.

“But that’s exactly what a hacker would say!” you protest.

Okay, okay, in that case, if I start trying to sell you fake Rolexes, phish you, or spread hate speech, then you’ll know I got hacked. 😉

But why the name change?

Well, patmcg.com was basically just my name, and the blog needed a new name that isn’t about me. It’s about stuff I’m interested in, and hopefully stuff you’re interested in.

Also, this a just a blog and not a company, so I dropped the .com in favor of .blog.

So, I thought of a new name, and luckily the domain name was available. Done. ✔️

Quotes

“Think lightly of yourself and deeply of the world.”

I like this quote from a Mr. Miyamoto Musashi, “a 17th-century Japanese samurai, artist, and writer known for his undefeated fighting record and philosophical work.” Wow, talk about #goals. 🤯

Think lightly of yourself and deeply of the world.

Miyamoto Musashi

He must have been onto something. Yes, the world matters; everything matters. But don’t weigh yourself down personally with it. You are definitely not going to win a lot of sword fights if you do.

This description goes on to say that “After retiring from dueling, the swordsman turned to his community, mentoring students and sharing wisdom through his writing.”

Okay, I have a new hero ✔️ and a new retirement plan ✔️.

Miyamoto Musashi via Wikipedia
Songs

Introducing The Coastal Service

Now that I finished up my first solo cover song, I wanted to get it out in the world. As Steve Jobs said, “Real artists ship.” I’ve been working on that mindset for a while now and trying to show my work along the way.

To get my song out there where it can be streamed anywhere – via Siri, on the HomePod, in the car – I needed to pick an “artist” name to use on all the streaming services. It’s always fun to pick a band name, but I had set a rule for myself from experience messing around fruitlessly with friends in the past: first the music, then the name. You have to earn the name.

So I decided to go with The Coastal Service. 🙌 It’s sort of a play on The Postal Service, an amazing band with one of my favorite albums ever. I am not a Postal Service tribute band; their name just inspired an idea.

“The Coastal Service” is meant to invoke a sense of mystery and fog and awe and danger. It’s about meeting the ocean: like life, it’s big and dangerous and beautiful and meant to be explored.

I also like the idea that this fictional “coastal service” is there to serve humanity and is broader and more secretive and than, say, the US Coast Guard. It’s somewhat inspired by a Wes Anderson vibe, especially Moonrise Kingdom.

I also played around with some sketches on the iPad just for fun.

So there you go: The Coastal Service is born.

I still don’t know if I’m a real artist, but I did ship. 🚢

Songs

“I’m On Fire” – final cut! 🎸

After vacillating a bit on the final arrangement for my I’m On Fire cover, I finally headed some advice from Teddy Roosevelt and picked a direction. 

While I liked the extra guitar part on the previous take, I also felt like it was a bit too much. It sort of changed the song from a “singing” song into a “guitar” song.

After a fresh listen, my buddy Joel had a helpful suggestion.

I’m wondering if you could use the clean version but bring in the guitar at some point under the whistling to add a little depth there.

I tried it out and… bingo. 🎯 This was the best of both worlds. The guitar comes in at the bridge and mixes things up at just the right time. Thanks, Joel.

My kids say the vocals are pretty “echoey”, but I’m hoping that adds to some mysterious ambience. Believe me, you are not ready to hear me singing raw just yet. 😉

Coming soon to a streaming service near you. 😎

Final GarageBand tracks
You

Imperfect is perfect 🙌 (visual)

I like the saying, “Imperfect is perfect”. Sometimes I switch it up to, “Perfect is boring.”

Music that is super-slick and produced starts to sound kind of the same.

As a person’s appearance approaches “perfect” (often with plastic surgery), they start to look the like everyone else who had that surgery.

That’s why I love this visual from Harsh Darji on Medium. All the circles are perfect but the same. The odd one on the end stands out. You could even say it’s outstanding. 👌

Via Harsh Darji

👉 See also: Sometimes it’s their looks, but it’s never just that

Quotes

“Skill and confidence are an unconquered army.” 🎠

William Shakespeare wasn’t the only one writing interesting things in the Elizabethan Era, back when codpieces and lace decoration were all the rage for grown men. Poet and clergyman George Herbert, while not as flowery as Shakespeare, also had some poetic things to say, especially this mighty metaphor.

Skill and confidence are an unconquered army.

George Herbert

George appears to have understood that confidence is key and that brevity is the soul of wit, perhaps even better than the Bard of Avon himself.

George Herbert, via Poetry Foundation.
creativity · Quotes

“Brevity is the soul of wit.” ✋

Brevity is the soul of wit.

William Shakespeare

Amen. Done. ✅

[Author attempts to restrain self and stop here but must link to a related joke, a fashion analogy, and a counter-example.]

Okay, also…

Being a storyteller and not just a basic sage, Shakespeare had some amusing / ironic context around this quote, including a “windy preface”, as part of the play Hamlet.

Brevity is taken to the extreme at The McKittrick Hotel in New York, where you can experience a Shakespearian tale with no words.

Songs

“I’m on Fire” (v2.5, Cosmic remaster)

A few things were bugging me about the second take of my I’m on Fire cover, so I decided to give it a touch up in a few places.

This version includes the following upgrades:

  • A slightly longer drum intro for better lead-in; added a high-hat 🥁
  • Adjusted the rhythm section volumes: quieter drums, more bass, more lead guitar 🎸
  • Consistent panning (guitar left ⬅, vocals right ➡)
  • Vocal improvements: less echo, more volume 🎤

I did this remix on a foray to Cosmic Coffee & Beer Garden on this lovely day, thus the version name.

Stay tuned for with one final pass on the vocals and guitar, with the goal of being streaming-ready with my first solo song by year’s end. 🤞

Quotes · The World

“Ruins, for me, are the beginning. With the debris, you can construct new ideas.”

The artist Anselm Kiefer is new to me but has been around for a long time. I like this quote of his.

Ruins, for me, are the beginning. With the debris, you can construct new ideas.

Anselm Kiefer

This quote is fitting since he was born in Germany at the end of World War 2. This guy is literally the personification of rebirth from ruins.

His art looks amazing. I’ll have to check it out in person next time I’m in New York.

Everyone Stands Under His Own Dome of Heaven
Songs

“I’m on Fire” (first attempt) 🎤

Since I posted about jumping in and trying to sing, I thought I’d post my first attempt. I got inspired to see what I actually sound like now that I’ve had… let’s see… one voice lesson. 😆

I thought Bruce Springsteen’s I’m on Fire would be a good first song since it’s short and simple. And most especially, the vocals (I now know!) are exactly in my natural range, aside from the really high “wooohoo hooo” stuff, which I pushed through and tried anyways.

I wanted to give this song my own sonic touch, with a more modern sound. I think Springsteen was basically trying to do a Johnny Cash song here, so this is me trying to sound like Bruce trying to sound like Johnny. 😆

Here’s Springsteen’s original for comparison.

creativity · Me · Music

“What you don’t know, you can feel it somehow.” 🎤

I always liked the song Beautiful Day for its optimism and presence.

It’s a beautiful day. Don’t let it get away.

Sure, that’s the obvious takeaway and a great reminder that every day counts.

But the last part of the song has been inspiring me even more as I dig into a scary new skill, which I hope is the right kind of difficult for me: playing, singing, and eventually writing my own songs. 😱

I do not have a good track record here so far.

I have spent most of my life as the kind of guy who could play Stairway to Heaven on guitar and be done with it. “I’m a guitarist.” 🤷🏻‍♂️ Then I recorded a cover with a friend and built up some confidence.

What I really want is to do find my own voice. Literally.

Despite never considering myself a singer (and consistently receiving negative feedback whenever I have tried 😆) I am jumping into singing with the help of an expert music teacher who always sees the best possibilities.

And that’s half the journey.

Touch me, take me to that other place
Reach me, I know I’m not a hopeless case

Which brings me to the best part of Beautiful Day: the last bit, the part about forgetting what you don’t have now and feeling your way, somehow, into the new.

What you don’t have, you don’t need it now
What you don’t know, you can feel it somehow

Stay tuned. 🎤

What a beautiful day.

History · Quotes · The World

“When you go to the Middle East, you see immediately how people are imprisoned by history.”

I keep trying to explain this Israel-Hamas war to my kids, and it’s really so caught up in the past, both near and distant. Repeatedly, one side’s autonomy, safety, and identity is violated by the other. And it’s piled up over time to the current conflict.

The Daily tackles this history in their 1948 episode, describing an “arsenal of memory” that gets “chiseled in stone” to define each side’s grievances.

When you go to the Middle East, you see immediately how people are imprisoned by history, the especially in Israeli-Palestinian conflict.

The Daily

It’s understandable but tragically and obviously unhelpful.

Yes, the past is full or pain and terror. Don’t get stuck in it – move past it like any wise person would do.

Right actions for the future are the best apologies for wrong ones in the past.

Tryon Edwards, theologian

And yes, it can be done.

Ireland put a similar conflict behind it: a centuries-old conflict of two intertwined groups of people involving religion, culture, territorial disputes, terror, violence, and injustice.

They ended up with a two-state solution: Ireland and the UK. There is peace and prosperity. People move freely between the countries. There are no checkpoints, walls, vengeance deaths, or bombings.

There are pubs and museums, a peaceful countryside, and a booming film industry.

The past is recognized and understood but no longer used to justify self-destructive, violent behavior. The “Troubles” are gone, but not forgotten.

The world needs to step up and make this happen in the Middle East. Doing so will require setting aside some fear, which is just a mind killer, but a peaceful solution can happen because it has happened elsewhere.

Travel

The pulchritudinous public pools of Paris

Getting back to my long-running European swimming pool fantasy itinerary, it looks like you’d hit the jackpot in Paris.

Yes, we tend to think of Paris as fancy and somewhat formal, but this article says Paris really comes to life in the city’s “stunning” public pools.

She had no answer as to why the most perfectly appointed Parisians, so consumed with fashion rules and rigid etiquette on the city’s streets, have no issue flaunting their informality in the showers.

“We are all a mix of contradictions,” she said.

And best of all, thanks to the upcoming Olympics, they’re even swimming in the Seine now.

👉 pulchritudinous [puhl-kri-tood-n-uhs]
– a synonym for “beautiful” that starts with a “p” 🤷🏻‍♂️

That’s it! Who’s down for a swimmingly fun time in France? 🏊🏻‍♂️

Quotes

Failing to take a risk… is a risk 🤯

I love the idea that playing it safe is a risk. It’s as counterintuitive as it is true. If you don’t believe me, ask Oprah.

I believe that one of life’s greatest risks is never daring to risk … Do the one thing you think you cannot do. Fail at it. Try again. Do better the second time.

Oprah Winfrey

It takes risk to build your confidence, to come back from hearing “no”, to surf a 100-foot wave, to land a rover on Mars, and scariest of all, to let your kids grow up.

Music · Quotes

“The best thing I ever did in my life was to love people.”

I love this quote from Mitski’s profile on Spotify.

The best thing I ever did in my life was to love people.

I wish I could leave behind all the love I have after I die, so I can shine all this goodness, all this love that I’ve created onto other people.

Mitski

Hey, she may love people, but she’s a bit of a heartbreaker herself. 😆

I feel the same way, but it’s not easy. Once you get to a certain point in life, you realize loving is scary – it takes courage and an acceptance of risk. But it’s still the best thing we can do in this world.

Via The Nation

Software Dev

At a glance: frames and bounds 🖼️

Next up in the iOS fundamentals at a glance series: frames and bounds.

This is such a fundamental idea that there are a ton of articles and videos on this topic. But here’s the most basic idea…

Unlike some previous concepts, the term frame is perfect here because it’s just like a frame on a wall.

A frame (subview) is placed on the wall (superview). The frame has a location, defined by its origin in the upper-left, and a size, plus an x/y coordinate system.

Simple enough, right?

Bounds gets a little more confusing. It should probably be called “window” since it defines what part of a potentially larger view you see, but that term was already taken, so here we are with “bounds”.

Like its frame, a bounds also has its origin in the top-left, plus a size and its own x/ycoordinate system. Oddly enough, the y-axis works opposite of the frame. 🤦🏻‍♂️ They do this just to make programming hard, right?

Here we can see that the frame above only showed us part of a bigger picture; what we see is defined by the bounds.

This concept is especially useful for scroll views, which essentially let you move the bounds around to look at different parts of the view.

I hope that helps. And if you ever get confused, remember a frame picture of a wall, like this one at the local coffee shop.

Quotes

“I’m cute, and I can rhyme my ass off. No wonder they want to destroy me.”

Trying to challenge myself and write some original songs instead of just doing covers, I’ve found that the lyrics come a lot easier than the music. Putting together some new and interesting musical chords or, heaven forbid, a melody? That’s hard. But I can rhyme all day.

So I thought it was funny when Keeley Jones, the soccer (aka “football”) team’s vivacious marketing honcho on Ted Lasso, said this on S1E3.

I’m cute, and I can rhyme my ass off. No wonder they want to destroy me.

Kudos to Keeley for that laugh and for giving me something a little lighter to post here today.

Back to your regularly scheduled philosophy quotes, tech sketches, artsy photos, and amateur ramblings later.

Software Dev

At a glance: flow layout ⎓

Continuing with the iOS at a glance series, we’re still digging our way though the old fundamentals of layout.

Introduced way back in iOS 6 with the initial collection view offering, the flow layout gave developers a more natural and fluid way to lay out views than the OG table view.

A flow layout lets your subviews flow just like words on a page (at least in English), from left to right and top to bottom, as the blue pencil line shows below.

The blue pencil lines here illustrate the flow layout working, but of course what the user actually sees is just the subviews.

Flow layouts support landscape or portrait scrolling and have a variety of options such as making all the items different sizes or the same size, adding sections (below), adding section headers and footers, and controlling spacing and alignment.