Searched for "August 23, 2019" in this user's bookmarks. Found 39 results

« earlier   

Twitter
The redesign killed discoverability for indies with a low or nonexistent budget.

— Daniel Nations (@DanielNations) August 23, 2019
FavoriteTweet  DanielNations 
august 2019 by mjtsai
Twitter
And just like that, the flakiness seemed to be gone. For years I made the assumption that an open NSURLSession connection would be allowed to finish as long as you had a background task active like NSURLConnection did - but NOPE it doesn't do that by default!

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
I didn't want to dig into adopting the background session stuff right then, so I tried setting shouldUseExtendedBackgroundIdleMode to YES and of course it fixed it. Rather than nuking my connection when the app entered the background, it's kept open and the transfer finishes.

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
It appears that they REALLY want you to use the special background support in NSURLSession. In fact they seem to say to go ahead and use it all the time - don't try to make it conditional.

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
Waitaminute! What is this? Does this mean there's now an assumption that the connection will NOT be kept open when moving into the background?! Holy buckets on a wagon.

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
I scoured the NSURLSessions docs looking for a clue and came across something I had missed all the times before - a property called shouldUseExtendedBackgroundIdleMode "In addition to requesting that the connection be kept open ... when the app moves to the background."

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
As far as I knew, using a background task to request a bit more time should have been all I'd need - and now that I was certain the task state was correct everywhere, why did it sometimes still feel hit-or-miss when sending a tweet and backgrounding the app right away?

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
So now we come to this week where I just solved the Core Data crashing in the background thing and I get to thinking... what if that old networking oddness is somehow related to this? After all, it DID seem to just be a backgrounding issue, after all!

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
A few years ago, I tried to figure out wtf was going on. I eventually determined that sometimes a request would fail to start and the error code returned by the NSURLSessionDataTask would be something odd like NSURLErrorNetworkConnectionLost or the ever-helpful NSURLErrorUnknown.

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
Converting to NSURLSession wasn't very hard and we did it a long time ago. However something had been bothering me and I could never quite pin it down. Specifically, it really felt like network tasks that started while foregrounded and ended while backgrounded were less reliable.

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
Long ago we used NSURLConnection for basically everything. It was a simple API with simple assumptions and it worked well enough. Eventually, seemingly like all simple and obvious APIs, it got deprecated and was replaced with NSURLSession which is more complicated.

— Sean Heber (@BigZaphod) August 23, 2019
FavoriteTweet  BigZaphod 
august 2019 by mjtsai
Twitter
I do wonder where this leaves us in 5 years. More to the point: where does it leave Apple if there is no viability to selling via the App Store? If only big companies can do it, the diversity of product is going to be terrible.

— Tony Arnold (@tonyarnold) August 23, 2019
FavoriteTweet  tonyarnold 
august 2019 by mjtsai
Twitter
The App Stores are incredibly depressing. I hope no developer measures their self worth in terms of sales. https://t.co/pR4pnZgAQT

— Daniel Jalkut (@danielpunkass) August 23, 2019
FavoriteTweet  danielpunkass 
august 2019 by mjtsai
Twitter
More natural function pointer typedef syntax:

typedef int MyFPType(…);
MyFPType *fp = &f;

Works with block pointers (^) too.

— Jonathan Grynspan (@grynspan) August 23, 2019
FavoriteTweet  grynspan 
august 2019 by mjtsai
Twitter
Pop quiz, hot shot: how many user interactive controls are in this popover?

(Bonus question: who knew this dialog existed in the first place? I only discovered it today.) pic.twitter.com/yeGbs5aNzr

— Brian Webster (@bwebster) August 23, 2019
FavoriteTweet  bwebster 
august 2019 by mjtsai
Twitter
After a lot of fiddly work, the Swift runtime and standard library no longer depend on Foundation! (they’ll still use it for bridging if it’s present)https://t.co/OSpic0rVIQ

Next up: finding out where the last thing linking CoreFoundation is hiding and decoupling from that too

— David Smith (@Catfish_Man) August 23, 2019
FavoriteTweet  Catfish_Man 
august 2019 by mjtsai
Twitter
Apple Photos would also benefit from a lot of family-oriented updates. it’s ridiculous that I can easily access any app my wife has bought on the App Store but there’s no way for me to get a photo she took without her manually sharing it with me (via album or more often iMessage)

— Matt Birchler (@mattbirchler) August 23, 2019
FavoriteTweet  mattbirchler 
august 2019 by mjtsai
Twitter
Amazon Has Ceded Control of Its Site: https://t.co/kQaeTdRPe6 #mjtsaiblog

— Michael Tsai (@mjtsai) August 23, 2019
mjtsai  Twitter 
august 2019 by mjtsai
Twitter
Some Obscure C Features: https://t.co/1eHIPfuXTs #mjtsaiblog

— Michael Tsai (@mjtsai) August 23, 2019
mjtsai  Twitter 
august 2019 by mjtsai
Twitter
iMessage, NSKeyedArchiver, and _NSDataFileBackedFuture: https://t.co/dhvTAdlXAa #mjtsaiblog

— Michael Tsai (@mjtsai) August 23, 2019
mjtsai  Twitter 
august 2019 by mjtsai

« earlier   

Copy this bookmark:



description:


tags:



Copy this bookmark:



description:


tags: