Discussions on Shot or Not?
Fun app
Hi James, this is a fun app. Are you going to develop it further? It's also the first Freebase / Google App Engine app that I've seen.
There's seems to be problem in that I keep get an error message (seems to be related to mis-guessed selections).
Yeah, the problem is related to getting more than one cause back from the following query:
mjt.freebase.MqlRead({
I belive I just need to expand the cause_of_death request so that there is a limit of one cause returned.
This is actually done in MJT. From the documentation I thought that doing what you suggest and then using syntax like
'$q.result.cause_of_death[0].cause_of_death'
would work. Because if I just ask for cause of death: [] and then use $q.result.cause_of_death when there are multiple entries,it will return something like "SkiingSkiiningAccident" for Sonny Bono.
got it, I suppose the first one on the list is good enough. But, you know, what if the person in question was shot *while* skiiing into a tree? :)
That's for the coroner to decide, I believe.
But actually, you have a point. Is AIDS a cause of death? Is murder a cause of death? It's a bit of a pandora's box.
Anyways, the two games are up. Very modest in scope, but they were useful for learning the basics of MJT.
I'm working on a new one now that is somewhat more complex, so I'll throw that up when it's ready.
re: Fun App
And yes, Will, I'm going to be updating these apps whenever I have time. I'm preparing to graduate from college right now, so I'm lacking significant spare time right now.
And I'm also working on a third app.I'll be posting updates on my blog: http://jamtoday.beehold.us
Thanks for your interest!

