Software Dev

Getting Started with Instruments

Has there ever been a more powerful, but under-utilised tool than Instruments?

Instruments is a tool included with Xcode that helps you analyze, profile, and debug your live iOS app. Solve memory leaks. Visualize memory. Monitor disk, network, memory, and battery usage. You can even find zombies. 🧟‍♂️

It lets you do incredible things but is also overwhelming to new developers, in which case this Ray Wenderlich tutorial can come in pretty handy.

👉 Getting Started with Instruments

There’s also an Apple WWDC presentation with this same name. 😆

Visual Memory Debugger

Via iOS Dev Weekly.

The World

I Hate Quantum Mechanics 🤦🏻‍♂️

I love science. I love philosophy. I love math. But I hate quantum mechanics.

Sorry, it just makes absolutely zero sense and hurts my brain. 🤯 It’s obviously all made up just to annoy us. 😉

It started with a Schrödinger’s cat joke on Reddit, which was perfect because the joke itself was intentionally as annoying as quantum mechanics itself.

Schrödinger’s cat jokes never get old.
Well, they do, but, they don’t.

Doesn’t make sense, right? Not funny? Annoying AF? Totally agreed.

But I had to know what this joke really meant, so then I went down the rabbit hole of what Schrödinger’s cat was all about. The good news is that the Schrödinger’s cat puzzle was actually tying to point out how silly at last one interpretation of quantum mechanics is. 👍

This trail of sorrow leads to obviously incorrect 😉 theories like quantum superposition, which says that something can be in two different states at the same time. (Thus the annoying joke. ☝️) And the Heisenberg Uncertainty Principle, which says that nothing is ever in one specific place or traveling at any known speed. Tell that to your local traffic cop, amiright?

Science, I love you. Physics, I love you. Quantum mechanics… ehhh… okay, I love you too. But I will never truly understand you. 🧐

Me

All the “Things” 2020

I’ve been using the Things app to track all my personal to-do’s and projects for a couple of years now. I love this Mac-assed Mac app and use it all the time.

I recently discovered how to get access to the Things database and took the chance to reflect on how I’m spending my time.

So here are some highlights of all my “Things” in 2020.

Lastly year, I completed 108 personal projects. Each project consists of a number of specific to-do items (tasks). A project can be something small like 🛳 Renew passport (6 tasks) or big like 🎸Convert guest room to a music studio (31 tasks).

I generally include an emoji in my project names because somehow they help motivate me. 🤷🏻‍♂️

Some favorite completed projects of 2020 were:

  • 🗳Vote (3 tasks)
  • 🤹‍♂️Plan for best self (7 tasks)
  • 🦠Corona (5 tasks), my most fitting “project” for 2020

I canceled 9 projects, such as:

  • 🌶Home gardening
  • 🥋Grav Maga
  • 🦃 Holiday family plans, the most fitting cancellation for 2020

I completed 11 projects to “fix” things, including:

  • 🐍Fix that gap under my door (3 tasks)
  • 🥁Fix drums (luckily only 2 tasks and zero dollars)
  • ✍️Blog fix up (6 tasks)

Top project in progress:

  • 📘Write a book (43 tasks completed, many more to go — and growing)

In 2020, I completed about 7 per day on average. This is useful because it tells me how to pace myself.

I canceled about 1.4 per day. Canceling isn’t a bad thing — it’s just the opposite. It’s a conscious choice not to do something you thought you needed to do.

Going into the new year, I have 62 projects in progress. Hmm, it already looks like a busy year coming up. 🤔


Here is one of the SQLite queries I used for this post. 👨🏻‍💻

SELECT title, date(creationDate, 'unixepoch') as start, date(stopDate, 'unixepoch') as stop from TMTask
WHERE type = 1
AND status = 3
AND date(creationDate, 'unixepoch') BETWEEN '2020-01-01' AND '2020-12-31'
ORDER BY creationDate