creativity · You

Genius Happens When You’re Not Thinking

I love the idea that your brain makes its most interesting breakthroughs and connections when you’re not actively thinking. It is well stated in this article.

👉 Your Unconscious Mind Is a Supercomputer. Use It to Achieve Breakthroughs.

With really interesting problems, you usually don’t need to think harder. You need to relax and let you mind do its thing while you sleep or do errands. That is when genius strikes. ⚡️

Creativity is all about making interesting connections. Albert Einstein called it “combination play.”

In my experience, this unconscious combo play is important for figuring out what do to and not so much how to do it. Once the what is clear in your mind, it can be followed by all the conscious thinking and hard work to get it done. Unfortunately, that part does not happen in your sleep. 😉

As a side note, there is also a beautiful space when your mind is so immediate and present that is simply doesn’t have time to think. This is what I like about improv. And also baseball.

You can’t think and hit at the same time.

Yogi Berra (maybe)
Software Dev

The Mac Developer’s Swiss Army Knife

I get so annoyed when I find myself using random websites 🤮 or all different apps 🤷🏻‍♂️ to do things like format JSON, test regex’s, encode/decode Base64, encode/decode URLs, or convert Unix time strings.

This nifty little Mac app does all the basic things any developer regularly needs natively, locally, and offline. And it’s free if you build it yourself. Or pay for the official build. Up to you.

👉 DevUtils.app – Developer Utilities for macOS

DevUtils.app screenshot

Via iOS Dev Weekly. See also: Mac-assed Mac Apps 😆

Software Dev

It’s Time for Snapshot Testing

I love the idea of snapshot testing. It’s a simple way to automatically test an app’s UI.

It works like this:

  1. Set the app up in a certain state and take a screenshot. Save the screenshot. 📸
  2. Next time when you run the same test, you compare screenshots. 📷 📸
  3. If something changed unexpectedly, then you know there’s trouble. 💥

Here’s a nice series about how to do it for iOS/ Xcode.

👉 Snapshot Testing. Testing the UI and Beyond (Part 1)

And GitHub: swift-snapshot-testing

The coolest thing is that you actually upload your screenshots in any new pull requests, so you can literally see what the change is all about (“The perfect pull request”). 🤯

Image for post

Via iOS Dev Weekly.