Data Detection in Swift
The Atomic Birdhouse25 Oct 2017
I have a love/hate relationship with regular expressions. I love them because they’re great for examining text to find useful information and, often, to change the text in some way.
The Atomic Birdhouse25 Oct 2017
I have a love/hate relationship with regular expressions. I love them because they’re great for examining text to find useful information and, often, to change the text in some way.
Saket Narayanby Saket Narayan29 Jun 2017
While going through the codebase of a former client, I found that I was using four different ways for showing HTML on Android.
Distillby Gabriel Goh4 Apr 2017
Here’s a popular story about momentum [1, 2, 3]: gradient descent is a man walking down a hill. He follows the steepest path downwards; his progress is slow, but steady.
Kirkus Reviewsby Finalists About the Kirkus Prize16 Jan 2017
by Sidura Ludwig ; illustrated by Sophia Vincent Guy ‧ RELEASE DATE: yesterday A quiet, loving introduction to a key Jewish holiday.
Jesse Shawl4 Jan 2017
Cacheing API Calls I recently made a few upgrades to updog.co which have decreased the Time To First Byte dramatically. Before: After: Wait, What?! How?!
The Atomic Birdhouse10 Nov 2016
Over the past year or so I’ve been trying out Resilio Sync (formerly BitTorrent Sync) as a possible alternative to Dropbox. It’s gradually improved to where I think I can rely on it.
The Atomic Birdhouse6 Nov 2016
This post is based on a lightning talk I gave at CocoaConf San Jose a couple of days ago. It’s that time of year– the time when summer time, or “Daylight Saving Time” as we for some reason call it...
Distillby Augustus Odena; Vincent Dumoulin; Chris Olah17 Oct 2016
When we look very closely at images generated by neural networks, we often see a strange checkerboard pattern of artifacts.
Saket Narayanby Saket Narayan11 Sept 2016
There are two ways of “linkifying” URLs in a TextView. First, as an XML attribute: <TextView ... android:autoLink="phone|web" /> and second, programmatically: TextView textView = (TextView)...
The Atomic Birdhouse4 Aug 2016
One of the cool things UIStackView can do for you is make it easy to dynamically update your app’s user interface while it’s running, with smooth animations and not a lot of code.
The Atomic Birdhouse25 Feb 2016
Just use NSDate, right? The obvious choice for handling dates in iOS and OS X apps is NSDate. It’s obvious, right? It’s got “date” right in its name, doesn’t it? And that’s the thing about NSDate.
The Atomic Birdhouse16 Mar 2015
Over the past month or so I’ve been diving into Swift, after many years of working with Objective-C on Macs and iOS. It’s been a change but, gradually, I’m learning the Swift way of doing things.
The Atomic Birdhouse20 Nov 2014
Since iOS app extensions run as part of a host application rather than as part of their containing app (i.e. your app’s extensions run in somebody else’s app), data sharing isn’t automatic.
The Atomic Birdhouse3 Oct 2014
Recently I’ve been working on some iOS 8 app extensions, and I’ve run into a few non-obvious details that might come in handy for anyone else in the same situation.
The Atomic Birdhouse9 Jun 2014
My Passbook and iBeacon enabled business card was something of a hit at WWDC last week. Some people wanted more detail on how it worked or how to create their own version.
Jesse Shawl27 May 2014
Clean up pull requests with git merge --squash Sometimes, I will receive a pull request to one of my repositories that has commits that affect several files.
Jesse Shawl23 May 2014
Clean up Commits with git cherry-pick -n Sometimes I binge code for like 3+ hours and work on several unrelated things.
Jesse Shawl21 May 2014
Warning! push.default is not set Have you seen this before when running git push with no remote or branch name specified?
The Atomic Birdhouse28 Oct 2013
If you’re writing an iOS app and you need to know the user’s current location, the answer is straightforward: use Core Location. That fires up device GPS (when available).
The Atomic Birdhouse7 May 2013
In today’s installment of my continuing series on using iCloud with Core Data I’m going to discuss how factors beyond your control may render iCloud unusable, even if everything is working...