Results 13 comments of Howard

(I don't have an SD card installed on the device, maybe that's the problem?)

terminal output from latest version: ``` /Users/howardyeend/Downloads/AndroidTool 2.app/Contents/Resources/getCurrentActivityForIdentifier.sh /Users/howardyeend/Downloads/AndroidTool 2.app/Contents/Resources/getCurrentActivityForIdentifier.sh: line 13: /Users/howardyeend/Downloads/AndroidTool: No such file or directory /Users/howardyeend/Downloads/AndroidTool 2.app/Contents/Resources/takeScreenshotOfDeviceWithSerial.sh ###### /Users/howardyeend/Desktop/AndroidTool Taking screenshot of P772N10_VIRGIN Error opening file: /sdcard/appContentsResourcesgetCurrentActivityForIdentifier-sh:line13:UsershowardyeendDownloadsAndroidTool:Nosuchfileordirectory-02132016080256.png...

I don't think dominant color is the right metric here. I think a sampling-based approach is better. I.e. take 500 points at random x,y coords across the image, and return...

You could modify the kmeans function so instead of saying this.centroids = this.randomCentroids(...) you could pass the centroids in as an argument. That should allow different runs to produce the...

Would actually be better to allow people to supply their own sort function, with something like this as the default, imho.

confirmed; ``` $ cd - /Users/howardyeend/Sites/ $ nodeunit /Users/howardyeend/Desktop/test.js /usr/local/lib/node_modules/nodeunit/lib/nodeunit.js:72 if (err) throw err; ^ Error: ENOENT, stat '/Users/howardyeend/Sites/Users/howardyeend/Desktop/test.js' ```

503 is in line with Google's advice: https://plus.google.com/115984868678744352358/posts/Gas8vjZ5fmB

should be as simple as changing the line in server.js to this ``` const anthropic = new Anthropic({ apiKey: process.env['ANTHROPIC_API_KEY'] });