Sorry Google, I jumped the gun.
I recently tweeted that something broke when I updated my Quote Crate application from version 1.2.5 of the AppEngine SDK to version 1.3.1. As it turns out this was unfair to Google (sorry). It doesn’t appear to have had anything to do with the SDK change but rather my poor implementation of Lucene for the AppEngine datastore.
Since the data in my application was all my test data I wiped it all and and tested the application again. Much to my surprise, with no data entries saved without a problem until I had nine entries. After the ninth entry it started dying again. This, along with the still failing after rolling back to 1.2.5, makes me pretty certain it’s my code and nothing to do with the AppEngine.
So it seems it’s time to go back to the drawing board on how that all operates but it looks like someone else has tackled the Lucene on AppEngine problem in the form of GAELucene on Google code. I’m going to dig through this a bit and see how that works and if I can take some inspiration from it in order to clean up my code.
Respect is Earned
This is why I love the internet. There are people out there that believe nearly exactly the things I do. They write about them, and write about them well. So well in fact that all I have to say is “Me too.” This is one of those times.
To Brian Carper I say, “Me too.”
What I learned today
I found a couple of new and interesting bits about languages and applications I use on a daily basis. I love it when that happens.
Scala
-
Option(null)returns None (in 2.8) -
Option(_)where _ is a non-null value returns Some(_) (in 2.8)
Vim
When navigating in normal mode after leaving insert mode gi can be used to jump back to insert mode at the location of the last edit.
I also learned Ubuntu, in 9.10 (Karmic Koala), is using CouchDB to store a number of application specific settings.
Tidbits 21 November 2009
Poedit is a useful tool for providing source files and having it extract text based on specific keywords. I used this for a Facebook application and it seems to be pretty speed, likely this is because it is “harcoded” so it essentially does a lookup. In any case this could be useful in languages other than PHP as well if there are libraries to interact with it.
A couple personal learning. I’ve been drinking more coffee lately. This started because of some rough nights and hence tired mornings but I discovered I’m actually enjoying it. Also my tastes in general seem to be changing. For example I had a tasty pickle the other day. I used to really dislike pickles.
Lastly for today I’ve come to accept I am in fact a smoker. I smoke infrequently because of the health concerns but I’ll smoke ‘em if you’ve got ‘en. I feel this is the same sort of important personal admission as admitting to a drinking problem.
