Check out Boostnote: https://boostnote.io/
HN user
kupo
Surprised it hasn't been mentioned yet but WizNote is a pretty decent Evernote clone with clients for all platforms. Use Google translate on the site: https://wiz.cn/
median = size % 2 == 0 ? (homework[mid] + homework[mid-1]) / 2 : homework[mid];
In my opinion the ternary operator is misused here when an if/else would have been clearer.
Though I also recommend this book, their example code teaches bad habits (such as assignment within conditionals and horrendous compound statements) which should be avoided in any sort of production code.
Embedded/RTOS
The Playbook is more business orientated (secure QNX OS) but is also on sale to consumers. The kindle is purely a consumer product.
Spotify is 100% licensed. AFAIK, Grooveshark is more like Napster in that it's a free-for-all with user uploaded content, though they have worked out deals with some of the record companies.
Does the app produce a unique coded signal of flashing screen colours for each user? Otherwise, what's to stop someone from loading an image of their own face with someone else's barcode onto their smartphone and stealing sandwiches?