Monthly Archives: May 2016

DynamoDB: An AttributeValue may not contain an empty string (Exception)

Problem com.amazonaws.AmazonServiceException: One or more parameter values were invalid: An AttributeValue may not contain an empty string (Service: AmazonDynamoDBv2; Solution This cryptic message basically says that dynamodb is not able to save fields with empty strings (or null) (a rather … Continue reading

Posted in Uncategorized | Leave a comment

org.codehaus.mojo:nbm-maven-plugin: Module has friend dependency on but is not listed as a friend

Problem [ERROR] Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:3.14:manifest (default-manifest) on project move: Module has friend dependency on org.netbeans.bootstrap but is not listed as a friend. -> [Help 1] Solution Add scope: provided; e.g.: <dependency> <groupId>org.netbeans.modules</groupId> <artifactId>org-netbeans-bootstrap</artifactId> <version>RELEASE81</version> <scope>provided</scope> </dependency>   keywords: … Continue reading

Posted in Uncategorized | Leave a comment

Upgrading Gephi 0.8 to 0.9

Gephi’s API had a rather significant API changes; here are some tips for the upgrades. This nifty repo can get you started quickly: https://github.com/gephi/gephi-plugins This repo provides good examples of API usage: https://github.com/gephi/gephi-toolkit-demos API Changes AttributeColumn subGraphFitnessCol = model.getNodeTable().getColumn(FLD_SUBGRAPH_FITNESS, AttributeType.DOUBLE); -> Column … Continue reading

Posted in Uncategorized | Leave a comment

Machine Learning Book Recommendations

I am often asked to recommend books on machine learning (ML).  Here is a WIP list of my recommendations: http://www.amazon.com/gp/registry/wishlist/1TLVK1WKJF47S/  

Posted in Uncategorized | Leave a comment

Using AWS Lambda Alias with API Gateway

Using AWS lambda with specific alias through API Gateway; as described here with a command like: aws lambda add-permission –function-name arn:aws:lambda:us-east-1:xxxxxx:function:getData –source-arn arn:aws:execute-api:us-east-1:xxxxxx:t463p6g84d/*/POST/data –principal apigateway.amazonaws.com –statement-id  –action lambda:InvokeFunction Resulted in an error aws: error: argument operation: Invalid choice, valid choices are: … Continue reading

Posted in Uncategorized | Leave a comment