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. Flexibility In the…
</a> Over the past few months I’ve been working on a project called fiesta.cc . I thought I’d do a quick post to explain what fiesta.cc is, and share an invite code so you can try it out! The goal with fiesta.cc is to make it easy to communicate with groups using email. The current state of the art here seems to be a choice of: Reply-all chains (Someone sends an email to a bunch of addresses. To…
It has been about a week since I announced that I was giving away of copies of MongoDB: The Definitive Guide . So, it’s time to announce the winners! I did a random drawing of the people who commented on the post (only including those who actually listed their favorite restaurant!). The winners are (drum roll): Rob D (Robdoherty2) Shehab Hamad Sam Sen If you’re one of the winners, please send me…
Updated 2011-1-7: The contest is closed and the winners have been announced . I don’t think I’ve mentioned it here, but a few months ago Kristina and I finished writing MongoDB: The Definitive Guide . Writing the book was a big undertaking, and for a while it seemed like it would take a miracle just to finish it on time. Well, to make a long story short, the book is finished and it’s on the…
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…
Last night the folks at bit.ly hosted a hackathon, called hackabit , to celebrate their 2nd anniversary (congratulations guys!). It was awesome; there were a bunch of us there from 10gen , the bit.ly people are great, and it was fun just hanging out and working on stuff. There was a lot of coding being done, but I don’t have links to much of it (one cool project was a Python url normalization…
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…
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, and they can all be found here . The two talks I did are embedded below, but I’d also recommend checking out at least the talks by Kushal…
Updated 2010-10-29: There is now video of this talk (from when it was given at Mongo Boston) available here . This year at Gluecon I was asked to speak about MongoDB, and specifically to give a “very technical” talk about it. I realized that this would be a good opportunity to do a talk other than the usual introduction to MongoDB and decided speak about MongoDB internals. Here’s the deck I used:…
I just finished giving a presentation introducing MongoDB at PhillyETE . Here’s the deck I used; I think video will be available soon and I’ll post that when it’s up: </embed> I think the presentation went well, and overall the conference was great. My favorite talk (besides the MongoDB one, of course) was one by Geir . His talk was ostensibly about Project Voldemort, but ended up being more about…
Stored JS in MongoDB is saved in the special system.js collection. The documents there should be structured like: { _id : " sum " , value : function ( x , y ) { return x + y ; }} _id is the name of the function, and value is the JS code defining the function. Here’s an example of saving such a function and then using it in an eval. This can be run using the MongoDB shell: > db . system . js . save…
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 ”! The conference looks to have a great lineup — Dwight will be speaking as well so there will be a couple of members of the 10gen team in…
The API (Application Programming Interface) for PyMongo , the Python driver for MongoDB , has been pretty stable for quite some time now. In general, I think that the driver does a great job of exposing all of MongoDB’s functionality in a way that is both MongoDB-ish and Pythonic (of course I’m biased — if you have suggestions for improvements please let me know). There have been some minor tweaks…
This “post” is actually just the pyporter2 homepage, reformatted as a blog post. This is mainly so that the link doesn’t disappear on anybody. about 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…
Updated 2009-12-13: Adding the actual game itself to this page, mainly so that Aaron has a place to play. GAME OVER - Press Spacebar to Restart Score: 0 The game would be here if you were using a browser that supported the [canvas tag](http://www.whatwg.org/specs/web-apps/current-work/#the-canvas-element ) Yesterday I wrote another game using JavaScript and the canvas tag, which I’ve named Zoomix…
Updated 2009-12-13: This post seems to be the most popular of those from the old incarnation of this blog. As such I’ve decided to migrate it over. Unfortunately I can’t migrate the comments as well. One comment which seems that it might be useful comes from [stefano](http://myblog.digitalemagine.com/) (I’ve editorialized somewhat): > Good trick, but there’s an easier way to enable cross domain…
Updated 2009-12-13: Adding the actual game itself to this page, mainly so that Aaron has a place to play. Also changing the title to MDCave — A JavaScript Game from A Fun Game . GAME OVER - Press Spacebar to Restart Score: 0 The game would be here if you were using a browser that supported the [canvas tag](http://www.whatwg.org/specs/web-apps/current-work/#the-canvas-element ) In lieu of a real…