mike dirolf

A _New Perspective_ on _MongoDB_

28 March 2011
I've been nominally using MongoDB since 2008, but most of my experience has been as a MongoDB developer, not a real end user. Over the past few months I've made the transition to other side, _using_ MongoDB rather than developing it. The project I've been working on, fiesta, uses MongoDB exclusively for data storage. Here are some thoughts on MongoDB from my new perspective. (more…)

Create a _Mailing List_ With _fiesta.cc_

09 March 2011
Introduction and beta invite to my new project (fiesta.cc), which makes it easy to create group emails / mailing lists. (more…)

_MongoDB_ Contest _Winners_

07 January 2011
Announcing the winners of the "MongoDB book giveaway":/2010/12/30/mongodb-the-definitive-guide-giveaway.html. (more…)

_MongoDB_: The Definitive Guide _Giveaway_

30 December 2010
I have a few copies of "the MongoDB book":http://www.amazon.com/gp/product/1449381561?ie=UTF8&tag=mikdir-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1449381561 sitting in my apartment, and I've decided to give them away! Click through for details on how to win a copy. (more…)

Connecting to a _Replica Set_ from _PyMongo_

16 August 2010
PyMongo makes working with "replica sets":http://dochub.mongodb.org/core/rs easy. Here we'll launch a new replica set and show how to handle both initialization and normal connections with PyMongo. This blog post will also be going up as an example in the "PyMongo docs":http://api.mongodb.org/python/current/examples/index.html - check that page out for more examples of how to get things done with PyMongo. (more…)

_Hackabit_ and _be bit.ly_

15 July 2010
Last night the folks at "bit.ly":http://bit.ly hosted a hackathon, called "hackabit":http://hackabit.com, to celebrate their 2nd anniversary. I worked on a quick little game called "be bit.ly". (more…)

_PyMongo_ _1.7_ Released

17 June 2010
A new release for "PyMongo":http://api.mongodb.org/python has been long overdue – the last release (1.6) was made on May 11th, over two months ago! It's been a busy couple of months with travel and "writing":http://oreilly.com/catalog/9781449389536/ (and life), so a release hasn't been on the top of the list. I finally made the effort to get a release out today, though, and the result is PyMongo 1.7. For a full list of changes, check the "changelog":http://api.mongodb.org/python/1.7/changelog.html; in this post I'll talk about a few of them in detail. (more…)

Videos from _MongoNYC_

02 June 2010
MongoNYC happened in the end of May and was one of my favorite conferences of the past year. All of the talks I went to were very good, and I also had a chance to meet and talk with a ton of interesting people. The videos from the conference were just posted - I've embedded the videos of my talks and linked to a couple others I thought were great. (more…)

Inside _MongoDB_

27 May 2010
Slides from a talk called "Inside MongoDB - the Internals of an Open-Source Database". (more…)

_Introduction_ to _MongoDB_

09 April 2010
The "Intro to MongoDB" deck that I presented at PhillyETE, as well as some brief thoughts on the conference. (more…)

Working With _Stored_ _JavaScript_ in _MongoDB_

05 April 2010
(more…)

_Gluecon_ Early Bird _Discount_

30 March 2010
I'll be speaking at "Gluecon":http://www.gluecon.com/2010/ in the end of May. The early bird pricing for registration ends on April 2nd, and you can get an additional 10% off of early bird registration as a reader of this blog if you use the code "spkr12"! (more…)

A _New_ _GridFS_ Implementation for _PyMongo_

29 March 2010
One weak point of PyMongo has always been its support for GridFS. The GridFS API is a bit confusing and hard to work with, and sometimes allows incorrect operations to be performed. I've just finished a new implementation of GridFS for PyMongo -- this post introduces the new API and requests feedback before it gets officially released. (more…)

_pyporter2_

22 September 2008
This is an implementation of the "Porter2 (english) stemming algorithm":http://snowball.tartarus.org/algorithms/english/stemmer.html in Python. It was born out of some academic work I did on clustering algorithms in the spring of 2008. The "Porter Stemming Algorithm":http://tartarus.org/~martin/PorterStemmer/ was first published in "this":http://tartarus.org/~martin/PorterStemmer/def.txt 1979 paper - it is now one of the most widely known and used "stemming":http://en.wikipedia.org/wiki/Stemming algorithms. An "implementation":http://tartarus.org/~martin/PorterStemmer/python.txt of the Porter stemmer already existed in Python, but not of the updated Porter2 stemmer. I decided to implement a Python version of Porter2 as an exercise. (more…)

_Zoomix_ -- Another _JavaScript Game_

30 November 2007
Yesterday I wrote another game using JavaScript and the canvas tag, which I've named *Zoomix*. This time the design of the game is completely original, and I think it came out pretty nicely. Hopefully you should be able to figure out the rules / object of the game after playing with it for a few minutes. Let me know what you think! (And post your high scores in the comments). (more…)

Enabling _Cross-Domain AJAX_ in _Firefox_

11 June 2007
Tonight I have finally conquered one of the biggest annoyances of the past year for me (in terms of development at least). Developing web applications with Firefox is a pleasure because of the "firebug extension":http://getfirebug.com/. Nothing comes close in Safari. Unfortunately, Firefox doesn't allow cross-domain XMLHttpRequests for security reasons. While good security is a plus, this restriction can make development and testing a real chore. For those of us willing to risk the security vulnerability, here is how to bypass the cross-domain restriction once and for all. (more…)

_MDCave_ -- A _JavaScript Game_

07 June 2007
In lieu of a real post here's a time-waster for those I haven't showed already. This is a game I wrote to procrastinate about a month or two ago, meant to be a larger version of "this game":http://www.sfcave.com/javaCave.php. It should work in Safari and Firefox. Also, cut me some slack for the lack of polish, as it really was a one night affair. The whole thing is written using Apple's canvas tag and JavaScript, feel free to use the "source":http://github.com/mdirolf/mdcave for whatever you want. Post your high scores in the comments. (more…)

You should try playing Barabbit!

© 2007-2011 Michael Dirolf — Licensed under a Creative Commons LicenseSubscribe feed
All code examples are licensed under the Apache License, Version 2.0.