Daniel Bernal

👋 Howdy!
I write apps and websites while tinkering on
the interwebs from beautiful Valencia. 🇪🇸

June 14, 2023

0.2 seconds faster

Over the past few days, I watched “The Days”, a Netflix series about the 2011 Fukushima nuclear disaster. Far from flawless and clearly inferior to HBO’s Chernobyl, it is still well-produced and manages to seize your attention and keep you locked in the seat. Besides just recounting the events, portrayed from the view of the plant mana...
Read more
June 1, 2023

The Status Quo bias

Many times, we become victims of our own choices. Not just the bad ones, but even worse, the choices that stick around well past their expiration date. We become hostages to the 'business as usual' mentality, a cognitive straightjacket that stifles change and breeds complacency, and all those stubborn bad choices that we can’t just see...
Read more
March 22, 2023

A different learning groove

Not all learning has to be confined within classroom walls or follow a rigid checklist. Often, the most valuable lessons emerge as we venture off the beaten path. As someone who embraces “Experiential learning” – learning by doing and making mistakes – my approach differs from the traditional method of lectures, readings, and exercises...
Read more
February 23, 2023

@backDeployed: Could SwiftUI be backward compatible?

One of the most exciting (yet obscure) changes with iOS 16.4 is the @backDeployed attribute in Swift. @backDeployed will allow you to mark certain functions or properties as backward-compatible. When using it, the Swift compiler generates code that checks at runtime whether the feature is available on the target device. If not, it will...
Read more
February 13, 2023

AI: Convenience Vs. Curiosity

AI blowing us away with its superhuman abilities is cool, but that's the tip of the iceberg. The real magic of AI, especially in search, is its availability and affordability. With traditional search engines, you still have to dig and check a few sites before finding what you're looking for. This helps ensure the source is trustworthy ...
Read more
January 27, 2023

I'm not rich enough to buy cheap things

While it might be tempting to go for the cheapest option, when it comes to your work tools, it's not worth it in the long run. Tools are an investment. Putting your money into something that will last, and help you do your work faster, will save you time, money, and frustration in the long run. Buying cheap things means you'll likely e...
Read more
January 21, 2023

The multiple priorities conundrum

Let's assume you lead a development team and you're given the following list of priorities. Next year's priorities: • Improve app stability • Improve app performance • Improve app accessibility • Update the app's UI design • Remove low-usage features • Improve Quality Where would you start? — Does that mean you have to do all of that n...
Read more
January 21, 2023

Empathy Saves

As I was walking around downtown the other day, this graffiti caught my eye. Roughly translated, it says: Empathy saves… Empathy saves lives, situations, whales, oceans, relationships, wishes, thoughts, homes, families, friends, ideas, bees, cyclists, pedestrians, poems, kisses, conversations, hugs, breakfasts, bakeries, companies, son...
Read more
January 21, 2023

Looking for older stuff?

Here are a few links to the blog archive: 2022 • Moving out of WordPress • A plan is not a strategy • A/B testing your app icon • We’re not saving lives here • A/B test your design, not your product 2021 • Live preview for your UIKit views • Hello Spain! 🇪🇸 • Writing a Networking Library with Combine, Codable and Swift 5 2020 • Getting...
Read more