curl http://stream.twitter.com/1/statuses/sample.json -u<user>:<pass> | mongoimport -c twitter_live
One thing that you can do with mongo is have 1 streaming master and 1 read/write master
server A:
./mongod —master —dbpath /tmp/a
server B
./mongod —dbpath /tmp/b —master —slave —source localhost:27017 —port 9999
You can then pipe the stream into server a, and it will only process the live stream.
Server B will replicate all changes. You can also write to it, query on it, etc… This way you can do operations that block writing on server B, but server A will never backlog.
I think I’m going to try blogging again. Its not from a lack of opinions that I don’t, just a lack of time :) And perhaps a small algorithm somewhere in my brain that prevents me from putting all my thoughts out there…
I think I’m sick of the iPhone keyboard (or lack there of). Back to a blackberry? Or see what android phones come out this year?
Got fc10 working on old ppc mac hardware. Now we can use that 4 year old stuff
So i went to the gym for the first time since Sara was born. Ouch
This got me thinking about locks at the gym. Shouldn’t the weight know I haven’t been there in months? Even if they don’t track me, can’t they see my physique? “whoa that’s too heavy!”.
The whole gym should be smart. Making fun of you to prod you. Encouragement on those rare times you meet a goal. Telling you not to lift that weight… even though younused to be able to…
And bybyhe way, no one wants to hear you (yes you) grunt.
boost boost-dev boost-devel: all names for the same thing in different package managers. a _tiny_ bit of standardization would be nice.
Wish I had a valid reason to play with this: http://github.com/dyoo/moby-scheme/tree/master
Don’t have an android phone or an app (or time).
Testing the dashboard widget. This might be an easy way to post really quick thoughts.

