Category Archives: Database

Using the Mongo wire protocol for API services

So the startup I work for uses Mongo. I have my own opinions of Mongo,
some good, some bad. I have a decent amount of experience with the wire
protocol. I’ve written an asynchronous C driver[1] for GObject, rewritten a
python-twisted driver[2], and my own BSON implementation. We wrote ourselves
a “schema” verifier for Mongo that works offline against [...]

mongo-glib 0.2.0

I’ve just released a new version of my Mongo driver for GObject. The main development this cycle was to support lazy connections to Mongo so that we could queue requests during network partitions, startup, and failover. As always, there is plenty of resiliency work to do, but the design is starting to take shape. The [...]

Faster code completion

The python code completion engine in MonoDevelop is now much faster. It’s was a simple fix and one that I think gets overlooked too often in these “dynamic” days.
Thankfully, python makes it easy to index information based on a fully-qualified name. Everything can basically be represented in package format such as “xml.etree.ElementTree.ElementTree.isinstance”. [...]

Catalina

I’ve written another library, Catalina. It started as an example for using the threading library Iris and turned into what I think is a useful library. Catalina is an object data-store for glib and gobject. It provides access through a natural key/value pair interface.
Transparent serialization is supported to and from storage for [...]

BDB46 and GtkTreeModel

Over the vacation, I’ve been hacking on a few different projects, mostly Mono related this time. I’ve updated Joshua Tauber’s BDB wrapper from 4.3 to 4.6. It has many hacks to make DB_RECNO databases more friendly. If you truly are interested in using it with 4.6, I suggest you diff the two [...]

Needed: Lucene.NET Guru

Do you enjoy working with the low-levels of full-text search engines? Do you have experience with Lucene (java, py, or c#) or Xapian, or tsearch2, or similar? MySpace is looking to hire immediately. Send your resume to christian at myspace dot com.
Did I mention we are based in beautiful Beverly Hills, California?

Database for GObjects

Not to long ago I found myself in need of a small object database for GObject to embed in projects. Apparently, there are no projects providing this… Until now.
While inspired by Emmanuele Bassi’s json-glib library I went on to start hacking something quick together. The embedded DB is called Catalina and its primary purpose [...]

More SqliteTreeStore, and python

Being that I love python, I decided to do another iteration of the sqlite store in my language of choice. I have to admit, the ease of creating GtkTreeModels in python is mind blowing. Couple that with the awesomeness of python decorators, and you can get way more done in way less code.
This python recipe [...]

EggSqliteStore, A GtkTreeModel ontop of SQLite3.

The other day, Saturday to be exact, I was trying to come up with ways to load an immense amount of data into a GtkTreeView without loading huge amounts of memory. I’ve come up with part one of what I hope to be a 2 part series in dealing with this.
So what exactly is the [...]