rizwan's comments

rizwan | 7 years ago | on: Inventor May Have Cured Motion Sickness Without Drugs

I attended SIGGRAPH 2005, and there was a group in the booths that had some headset you would put on that would alter your balance to make you walk in different directions. They had a video playing if someone walking with this device and blind folds on, and someone with a joystick could turn them left and right.

Looked it up and it appears to be a similar type of technology: Galvanic Vestibular Stimulation:

https://dl.acm.org/citation.cfm?id=1187315

rizwan | 7 years ago | on: Ask HN: Ex-FAANG developers, where are you now and why?

> If what you do doesn't make an impact for customers and/or other teams in the organization, was it really worth doing?

The problem is that, at review time at Google, you have to be able to "quantify" the impact. Many types of impact are quantifiable (e.g. "Made server request scale from 100 query-per-second to 1,300 qps", "reduced code size by 30%", etc.).

It's much harder to measure, say, the impact of a refactor where you made the code easier to reason about and more maintainable, so that future work can be done on it more easily.

I witnessed the same thing at Google; I worked on a project that everyone joked only existed because the person who wrote it wanted promo, and the best way to get it was to design a very complex system, and convince others to adopt it. (He did get it, and promptly switched teams.)

Some things have been made better, though. I've heard that going from L4 → L5 now involves much more influence from your manager, since they would know and, without quantifying something like a refactor, can speak to the positive impact you had in a project.

rizwan | 7 years ago | on: The Story of Why I Left Riot Games

In the context of sales, you can have a conversation about perseverance and not taking no for an answer. However:

> At the end of that example, Brandon laughed and said, “I was about to say something.” He paused, and then went on to say, “No doesn’t necessarily mean no.”

Brandon _changed_ the context into something offensive and then made the joke. This was an attempt at rape joke. He even prepped the audience for it by laughing and saying, "I wasn't going to say this, but..."

rizwan | 8 years ago | on: Amazon Prime Video arrives on Apple TV in over 100 countries

Glad it's here, so I no longer have to Airplay from an iOS device. But can we talk about the UI? It seems Amazon's dumped an entire web renderer into the app (https://twitter.com/stroughtonsmith/status/93857361817446400...), and loading their "smart" TV UI.

It ignores the tvOS human interface guidelines (https://developer.apple.com/tvos/human-interface-guidelines/...), discarding all the accessibility features and the focus model.

I get that, to Amazon, the Prime Video app on Apple TV is probably not worth spending any time and effort on. But it's unfortunate for those of us that are paying the strategy tax and getting a "smart" tv app designed for low-powered CPUs.

rizwan | 8 years ago | on: AIM will shut down after 20 years

AIM did go mobile. It was in the iPhone App Store on day 1. Push notifications didn’t even exist back then. When push notifications were announced by Apple in June 2009 as part of iPhone OS 3.0, AIM was the “partner” they used to load-test it during WWDC.

Source: I worked on AIM for iPhone.

IMO AIM struggled because: - it was a highly tuned, specialized C backend, and it never migrated to something that could be improved easily. - backend technical challenges (as well as legal issues) made storing chat history very difficult - Hardly any info was collected about AIM screennames, so it was hard to build a social graph from it - AIM registration was the same as AOL signup, and that registration process was very cumbersome, imo. - Most AIM accounts had no email address associated with them, so it was impossible to do password resets, for all the locked up AIM screennames.

As a client developer on AIM, it was hard to make a material improvement to AIM, though we certainly did try

rizwan | 9 years ago | on: The email Zenefits CEO David Sacks sent employees as it lays off 9%

I think the way they framed The Offer is a good one. He makes it clear that he wants you to stay if you want to stay, and is giving you a way out if you're not passionate or happy in your job anymore.

Many years ago they did that at AOL (a voluntary severance package), and IIRC I don't think it came across as that sincere.

rizwan | 10 years ago | on: CareKit Framework

To further expand on Apple's recommendation to not make Swift libraries just yet — It's also an matter of compatibility. You could certainly make a Swift framework, but given that Swift as a language is changing every 6 months or so right now, it doesn't make sense to make a framework using Swift.

You could easily hold up another project if you haven't changed your Swift code to the latest, or the opposite is true as well: Your Swift framework is up-to-date with the latest language, but the app using your framework is not, etc.

rizwan | 10 years ago | on: The Apple Watch feels like a stalled platform

In addition to some constraints on the type of product (i.e. watch apps have to be focused, super-quick interactions), there's another reason we haven't seen a lot of app, imo:

This year was an unusually crazy year for iOS developers. Apple released: - watchOS 1, with a slow and clunky experience - iOS 9, with adaptive multitasking - watchOS 2, requiring a rewrite of the watch app – tvOS, a whole new platform, with more easily translatable app experiences.

Additionally, with the "2-versions behind" strategy for Xcode, a lot of app developers (myself included) dropped iOS 7 support. This was actually one of the most complex transitions ever. (So many backwards incompatible changes (size classes, presentation controllers, push notifications).)

So something had to give. For me, and for many others, I'd say it was probably the watch.

rizwan | 10 years ago | on: Should you use interface builder?

Choose whatever works for you. Interface Builder can save you so much time building some of the smaller aspects of your app (help/about screens) etc. that it's foolish in my opinion to just "do away" with IB on principle.

Sure, if you have 1 storyboard for your entire app, and 9 people are working on it, you will have collisions. 9 people on an iOS project is bound to have merge conflicts in code too, unless it's coordinated.

Xcode 7's storyboard references should help avoid some conflicts here, as it breaks up a single, conflict-magnet file into several. Hell, you can organize them like XIB files before Apple started pushing the 1 storyboard "simple" approach to ease the learning curve.

Side note: The title of this post should have been "Reasons we are switching away from Interface Builder", as it doesn't actually answer the question. But then it wouldn't be interesting enough to click on.

rizwan | 10 years ago | on: How iOS 9's Safari View Controller could change your app’s onboarding experience

OP here. iOS 9's SFSafariViewController, unlike UIWebView or WKWebView, runs out-of-process and cannot be data-scraped. Beacause of this, SFSafariViewController shares cookies with Mobile Safari. The use-case here is essentially loading a special URL on the website that will take any logged in session and return back an oAuth token that the native app can use.

The communication method in the demo is as if you were talking indirectly with Mobile Safari, using a custom url protocol (e.g. fooapp://), or by using the new (safe) Universal links (apps can register specific domains/urls that will redirect back to the app, using their Associated Domains entitlements).

rizwan | 11 years ago | on: VLC 2.2.0 multi-releases

Do you guys have a link to the VLC app on the iOS App Store? I ask because there are so many clones it is very hard to find it.

On a related note. Is there anything you can do (trademark, etc.) about getting the scammy clones off of the store?

rizwan | 11 years ago | on: Why iOS 8 Represents a New Kind of Challenge for Developers

iOS 8 added many useful APIs, but I find many are hard to use while maintaining support for iOS 7.

For example: - To share code between your app and your iOS 8 extensions, you want to put them in a shared framework, something which was just added in Xcode 6, and compatible only with iOS 8. So using shared code from iOS 7 means you'd have to keep copies of your source in the main app framework.

- Photos.framework is really great, but is completely different from Assets.framework, so building a photo app means writing your code twice. Yes, you can use Assets framework from iOS 8, but it's unclear how iCloud Photo Library will work with it (iOS 8.0 inadvertently removed "Camera Roll" from Assets framework, for example)

- Can't clean up your UIActionSheet, UIAlertView, UIPopoverController code with UIAlertController until you go iOS 8+

So iOS 8 moves a lot of things forward really nicely, and building an iOS 8-only app has been really great, but I feel, more so than before, that it's harder to maintain support for older iOS versions.

I was hoping iOS 8's adoption numbers would be rising faster than it did for iOS 7, so it'd be easier to justify dropping iOS 7 support sooner, but anecdotally it seems the large installation binary has made it hard to update 16GB devices.

rizwan | 11 years ago | on: Samsung's Gear VR Is a Portable Oculus Rift for the Galaxy Note 4

It doesn't appear to have positional sensors (the Oculus DK2 does, with a stationary dongle to compare your relative head movements).

It is very disorienting if you only have rotational support (as if your head's at the same point in space) and not also positional (head moving forward, backward, up, down, left, right, etc.)

rizwan | 11 years ago | on: Programming is not math

100% agree with this. Anecdotally, I know a lot of people who would be great at programming but they'd never consider it because of their pre-conceived notion that they'd have to be good at math first.

I've never been particularly good at math, and learned enough to get by in my CS theory classes. I hardly ever use math to program, unless the problem is specifically math-based or geometry-based. To me, programming is communication and organization.

rizwan | 11 years ago | on: iOS 8 Privacy Updates

Sure, that's possible. When you're passing around the links to other people, it gets old to have a bunch of "[link] and search for 'Keychain|HealthKit|HomeKit'"
page 1