Monthly Archives: November 2011

MongoDB AND query

As of version 2 MongoDB allows “AND” query (link) For those of us that don’t yet have version 2; a hack could be used to partially emulate functionality of AND query by sorting on the field.  Note that this may only … Continue reading

Posted in Uncategorized | Leave a comment

GWT Image Tooltip

Use Image.setTitle(String) Keywords: gwt image tooltip gwt tooltip tool-tip tool tip

Posted in Uncategorized | Leave a comment

GWT Collection: Hashtable Hashmap Vector etc.

A lot of classes are not supported in GWT; which results in errors such as: No source code is available for type com.google.gwt.dev.util.collect.HashMap<K,V>; did you forget to inherit a required module? If you want to use some of the regular … Continue reading

Posted in Uncategorized | Leave a comment

GWT GAE JSON Parsing Issue: No source code is available for type com.google.gwt.json.client did you forget to inherit a required module?

Problem: Compiling module … Validating newly compiled units Ignored 1 unit with compilation errors in first pass. Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. Finding entry point classes [ERROR] Errors in ‘file:/Users/neil/Documents/neil/Research/Motivation-Model/code/gwt-ui/gwt-UI/src/org/activeintel/motivation/ui/client/Gwt_UI.java’ … Continue reading

Posted in Uncategorized | 1 Comment

MongoLab Query Parameters (Limit Skip)

Adding the skip and limit parameters of mongodb did not work from the MongoLab’s interface “{}, {}, 10, 20”; the equivalent of the following shell code: db.users.find().skip(20).limit(10); db.users.find({}, {}, 10, 20); // same as above, but less clear My final … Continue reading

Posted in Uncategorized | Leave a comment

MongoDB REST RESTful API

I was hoping that MongoDB would provide a REST API (same as CouchDB); for some reasons (perhaps security) it does not.  It does provide a lot of libraries (including JavaScript) so you may be able to use it directly.  Personally, … Continue reading

Posted in Uncategorized | Leave a comment

Using GWT Designer with Google App Engine (GAE)

I love Google’s products; although sometime judging by the lack of integration (of their own products) and poor documentation it feels like Google doesn’t really want anybody to use them (also Google please hire some decent designers to make things … Continue reading

Posted in Uncategorized | 1 Comment