270 karma · joined Mar 31, 2015 (11y ago) · 174 submissions
comment 5y ago · link · parent
comment 6y ago · link · parent
-Dwight D. Eisenhower
comment 6y ago · link · parent
https://www.atlasobscura.com/articles/the-unfathomable-pursu...
comment 7y ago · link · parent
Eventually the silent push notifications (content-available: 1) will not be delivered to the app at all. They are throttled by how much energy the app uses when launching in response.
Send too many or do too much with each one, and you'll find iOS no longer launches the app. The limits are not documented.
The maddening part is everything will work fine while you're developing and have your phone plugged in to power. You'll only notice this on battery power.
comment 8y ago · link · parent
I have talked to many people who have had a hard time getting past the square brackets - I did at first too. But now I think of them as book ends around the work. In my opinion, they are clearer to divide actions with. They can of course be abused with many layers of [[[]]], but so can the optional unwrapping code golf one-liners I see written in Swift.
And I agree with you, block syntax is terribly hard to remember. I still copy paste or use typedefs. But I love using blocks – they've done so much for readability of asynchronous code. The language really has come a long way since the first iPhone.
comment 8y ago · link · parent
At least that is how I use them in Obj-C, which is proving to me to be the more flexible alternative to Swift (despite the hype that Swift is amazing in every use case).
This roots back to one of my main problems with Swift: it doesn't adequately support the in-code conversation between developers. For example: no header files to quickly digest key object interfaces and concepts. The language feels like it is optimized to solve compiler problems and point out null value bugs at the expense of outputting joyfully easy to follow code.
comment 8y ago · link · parent
https://en.wikipedia.org/wiki/The_Chase_(Star_Trek:_The_Next...
comment 8y ago · link · parent
Level 3, also referred to as quick charging, is typically 50-100 amps, and can get you 100 miles in 30 minutes. It is for a different use case, like a road trip.
comment 8y ago · link · parent
comment 8y ago · link · parent