<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>MongoDB |  github | twitter</description><title>Eliot's Ramblings</title><generator>Tumblr (3.0; @eliothorowitz)</generator><link>http://eliothorowitz.com/</link><item><title>Streaming Twitter into MongoDB</title><description>&lt;p&gt;curl &lt;a href="http://stream.twitter.com/1/statuses/sample.json"&gt;http://stream.twitter.com/1/statuses/sample.json&lt;/a&gt; -u&lt;user&gt;:&lt;pass&gt; | mongoimport -c twitter_live&lt;/p&gt;
&lt;p&gt;One thing that you can do with mongo is have 1 streaming master and 1 read/write master&lt;/p&gt;
&lt;p&gt;server A:&lt;/p&gt;
&lt;p&gt;./mongod —master —dbpath /tmp/a&lt;/p&gt;
&lt;p&gt;server B&lt;/p&gt;
&lt;p&gt;./mongod —dbpath /tmp/b —master —slave —source localhost:27017 —port 9999&lt;/p&gt;
&lt;p&gt;You can then pipe the stream into server a, and it will only process the live stream.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description><link>http://eliothorowitz.com/post/459890033</link><guid>http://eliothorowitz.com/post/459890033</guid><pubDate>Fri, 19 Mar 2010 21:18:00 -0400</pubDate></item><item><title>Blogging</title><description>&lt;p&gt;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…&lt;/p&gt;</description><link>http://eliothorowitz.com/post/428480143</link><guid>http://eliothorowitz.com/post/428480143</guid><pubDate>Fri, 05 Mar 2010 11:28:25 -0500</pubDate></item><item><title>I think I’m sick of the iPhone keyboard (or lack there of). Back to a blackberry? Or see what...</title><description>&lt;p&gt;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?&lt;/p&gt;</description><link>http://eliothorowitz.com/post/115373233</link><guid>http://eliothorowitz.com/post/115373233</guid><pubDate>Sat, 30 May 2009 13:10:01 -0400</pubDate></item><item><title>Got fc10 working on old ppc mac hardware. Now we can use that 4 year old stuff</title><description>&lt;p&gt;Got fc10 working on old ppc mac hardware. Now we can use that 4 year old stuff&lt;/p&gt;</description><link>http://eliothorowitz.com/post/94958712</link><guid>http://eliothorowitz.com/post/94958712</guid><pubDate>Fri, 10 Apr 2009 17:12:22 -0400</pubDate></item><item><title>So i went to the gym for the first time since Sara was born. Ouch

This got me thinking about locks...</title><description>&lt;p&gt;So i went to the gym for the first time since Sara was born. Ouch&lt;/p&gt;

&lt;p&gt;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!”.&lt;/p&gt;

&lt;p&gt;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…&lt;/p&gt;

&lt;p&gt;And bybyhe way, no one wants to hear you (yes you) grunt.&lt;/p&gt;</description><link>http://eliothorowitz.com/post/92980496</link><guid>http://eliothorowitz.com/post/92980496</guid><pubDate>Sat, 04 Apr 2009 18:10:35 -0400</pubDate></item><item><title>Photo</title><description>&lt;img src="http://28.media.tumblr.com/FrtlFoBf0lw675gfI71fPsblo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://eliothorowitz.com/post/92932261</link><guid>http://eliothorowitz.com/post/92932261</guid><pubDate>Sat, 04 Apr 2009 14:15:23 -0400</pubDate></item><item><title>*nix package management</title><description>&lt;p&gt;boost boost-dev boost-devel: all names for the same thing in different package managers.  a _tiny_ bit of standardization would be nice.&lt;/p&gt;</description><link>http://eliothorowitz.com/post/92654654</link><guid>http://eliothorowitz.com/post/92654654</guid><pubDate>Fri, 03 Apr 2009 15:28:44 -0400</pubDate></item><item><title>Scheme on Android</title><description>&lt;p&gt;Wish I had a valid reason to play with this: http://github.com/dyoo/moby-scheme/tree/master&lt;/p&gt;
&lt;p&gt;Don’t have an android phone or an app (or time).&lt;/p&gt;</description><link>http://eliothorowitz.com/post/92646924</link><guid>http://eliothorowitz.com/post/92646924</guid><pubDate>Fri, 03 Apr 2009 14:53:03 -0400</pubDate></item><item><title>http://buildbot.mongodb.org/waterfall</title><description>&lt;a href="http://buildbot.mongodb.org/waterfall"&gt;http://buildbot.mongodb.org/waterfall&lt;/a&gt;: &lt;p&gt;its all green! for now…&lt;/p&gt;</description><link>http://eliothorowitz.com/post/92624421</link><guid>http://eliothorowitz.com/post/92624421</guid><pubDate>Fri, 03 Apr 2009 13:19:54 -0400</pubDate></item><item><title>Who said this had to be just coding stuff? Testing iPhone app.</title><description>&lt;img src="http://24.media.tumblr.com/FrtlFoBf0lungspkk65WdOVqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Who said this had to be just coding stuff? Testing iPhone app.&lt;/p&gt;</description><link>http://eliothorowitz.com/post/92614491</link><guid>http://eliothorowitz.com/post/92614491</guid><pubDate>Fri, 03 Apr 2009 12:43:24 -0400</pubDate></item><item><title>Testing the dashboard widget.  This might be an easy way to post really quick thoughts.</title><description>&lt;p&gt;Testing the dashboard widget.  This might be an easy way to post really quick thoughts.&lt;/p&gt;</description><link>http://eliothorowitz.com/post/92611422</link><guid>http://eliothorowitz.com/post/92611422</guid><pubDate>Fri, 03 Apr 2009 12:32:49 -0400</pubDate></item></channel></rss>

