asarazan | 4 years ago | on: Show HN: Create slide presentations with your voice
asarazan's comments
asarazan | 6 years ago | on: Show HN: VR-OS is a desktop operating system beyond the limits of your monitor
asarazan | 9 years ago | on: Ask HN: Would You Hire an Udacity Nanodegree Graduated?
asarazan | 11 years ago | on: Show HN: Ask for a Raise Day
asarazan | 11 years ago | on: Show HN: Does Facebook know your friends better than you do?
asarazan | 12 years ago | on: Open source style checker for Objective C
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
I would imagine this is what leads to the 0.4% crash rate I mentioned at the top of the article :-(
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
Another commenter recommended touching a file at launch and at sleep to track untraceable crashes, which we do for various other reasons, but don't upload the stats. We may begin doing this.
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
However, imo the intention and semantics behind a call like CFMakeCollectable implies a transfer of ownership to an external system. A newbie Apple coder could be forgiven for thinking it would still transfer ownership in RC environments, just to the autorelease pool instead of a collector. In all likelihood this is what happened. An intern got at the code and didn't know the details about GC.
Obviously the point stands that this interpretation is well-documented to be false, but its naming is definitely misleading.
Double edit: I see from your edit that some of my basic assumptions about CFMakeCollectable were wrong, having never actually worked with it. My bad.
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
Doesn't it make sense to say that without the existence of Apple GC, the bug never would have existed? Doesn't that at least somewhat justify the title?
edit: Furthermore the original intent of including garbage collection in the title was as an ironic twist based on the fact that ios has never had garbage collection. Maybe that didn't convey as well as I would have liked.
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
asarazan | 12 years ago | on: How a bug in ported garbage-collected code trashed our iOS app
This is because if memory usage gets too high, the OS will send a kill signal to the process, which can be neither detected nor caught.
This means that in our original decision to use this fix, all we had was anecdotal evidence of untraceable crashes. Luckily we had dedicated QA that was keeping pretty solid track of them all, and they piled up.
In our case I think it was worth it.
asarazan | 13 years ago | on: The Open Source Report Card: Dynamic progress reports for Github developers
Either way bravo, great idea.
asarazan | 13 years ago | on: TheKitchenSync - A Tool Belt for iOS Concurrency
Then again, if you can do things like background non-essential operations, then the higher-level benefits can probably outweigh that.
asarazan | 13 years ago | on: TheKitchenSync - A Tool Belt for iOS Concurrency
asarazan | 13 years ago | on: TheKitchenSync - A Tool Belt for iOS Concurrency
In this case, however, our goal was to take common, familiar interfaces and idioms in Objective C, and make them safer/more powerful.
Something more like channels-like would be quite useful, but it would likely be published under a different project.