<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Puerto Rican Rails Dude &#187; Databases</title>
	<atom:link href="http://www.dennmart.com/category/databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dennmart.com</link>
	<description>Official Blog of Dennis Martinez</description>
	<lastBuildDate>Mon, 26 Jul 2010 23:13:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>No Rest For The Unemployed</title>
		<link>http://www.dennmart.com/2010/01/26/no-rest-for-the-unemployed/</link>
		<comments>http://www.dennmart.com/2010/01/26/no-rest-for-the-unemployed/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 04:25:42 +0000</pubDate>
		<dc:creator>Dennis Martinez</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.dennmart.com/?p=178</guid>
		<description><![CDATA[After two years, yesterday was my final day of being a developer for BarterQuest. As anyone living in expensive New York City in the same situation, I have been focusing part of my energy looking for a new gig. I&#8217;m pretty confident, despite the current economy, that I will land on my feet sooner rather [...]]]></description>
			<content:encoded><![CDATA[<p>After two years, yesterday was my final day of being a developer for <a href="http://www.barterquest.com/">BarterQuest</a>. As anyone living in expensive New York City in the same situation, I have been focusing part of my energy looking for a new gig. I&#8217;m pretty confident, despite the current economy, that I will land on my feet sooner rather than later. I have a few leads, with one in particular that I am really hoping will come through.</p>
<p>In the meantime, I&#8217;m not just throwing my resumé in the face of companies everywhere in the U.S. I have also decided that since now that I have quite a few extra hours in my days, I should really do productive things instead of sitting on my couch and re-watching all previous seasons of <em>24</em> (believe me, I would watch all 7 seasons in a row if I could) or jamming away to <em>Guitar Hero</em>. This is a perfect chance to do lots of technical things I&#8217;ve been wanting to do for months, but just never got the time to do so. Here&#8217;s a short list of some goals I&#8217;d like to get started on.</p>
<p><strong>Learning new stuff</strong></p>
<p>For the past two years, I&#8217;ve been exclusively using Ruby and Ruby on Rails at my day job. I&#8217;ve always wanted to broaden my skills by doing other types of programming, but when you take into consideration that I would usually be at work more between 9-10 hours per day, plus a commute that would sap an additional two hours, there wasn&#8217;t much time for me to be able to do personal things, let along learn new stuff. Now that I&#8217;m finally free, I can now spend more time with those things I&#8217;ve wanted to experiment with.</p>
<p>I&#8217;ve always wanted to learn iPhone application development. I know the basics of Objective-C, and have the book <a href="http://pragprog.com/titles/amiphd/iphone-sdk-development">iPhone SDK Development</a> by Bill Dudney, but I was never able to sit down and code something up. I have a few ideas for apps, so even if I can make a simple app that&#8217;s accepted to Apple&#8217;s App Store will be an achievement for me.</p>
<p>I&#8217;ve been very interested in implementing <a href="http://en.wikipedia.org/wiki/Push_technology">Push technology</a> to web apps, like <a href="http://en.wikipedia.org/wiki/Comet_%28programming%29">Comet</a> or <a href="http://dev.w3.org/html5/websockets/">Web Sockets</a>, using nginx&#8217;s <a href="http://pushmodule.slact.net/">Push Module</a> and <a href="http://orbited.org/">Orbited</a>.</p>
<p>Although I&#8217;ve never had the opportunity to work with extremely large data sets, I&#8217;ve always been curious about frameworks like <a href="http://labs.google.com/papers/mapreduce.html">Google&#8217;s MapReduce</a> and <a href="http://hadoop.apache.org/">Apache Hadoop</a>, particularly how well they can &#8220;crunch&#8221; the data thrown at them.</p>
<p><strong>Keep on with what I already know</strong></p>
<p>As I mentioned, I&#8217;ve been using Ruby for years now, and I know Ruby on Rails and Sinatra pretty well. However, just because I want to learn new things doesn&#8217;t mean that I want to abandon this awesome language. In fact, I want to keep using it more with the latest toys.</p>
<p>Thanks to <a href="http://rvm.beginrescueend.com/">Ruby Version Manager</a>, I was able to safely install the latest versions of Ruby 1.9 and MacRuby and start learning their new features. I was also able to check any possible compatibility issues in my older applications with different major Ruby versions. Seriously, if you are a Ruby developer using a Mac or Linux, install RVM now if you haven&#8217;t.</p>
<p>Recently, there have been more and more news about Ruby on Rails 3, the next major release for the wonderful framework. I&#8217;d like to stay one step ahead of the pack and start learning about the new changes before it officially hits the web. One of the leaders of the newest Rails changes, Yahuda Katz, has written <a href="http://yehudakatz.com/tags/rails-3/">lots of blog posts relating to the changes in Rails 3</a>. They&#8217;re definitely worth a read.</p>
<p><strong>Strengthening my shortcomings</strong></p>
<p>There are quite a few things &#8211; development-wise &#8211; that have been bugging me for a long time, yet I&#8217;ve never taken the proper steps to correct. Now is as good a time as any to take on these things and finally conquer them.</p>
<p>My main weakness, as a web developer, is that I&#8217;m pretty bad at design. I know CSS and its properties, I know about browser incompatibilities (having been a victim many times before by the evil and immortal Internet Explorer 6 browser) and all that stuff. But as far as design goes, like font sizes, element placement, usability and colors, these things are not my strong suit. I&#8217;ve actually stocked up on some books about these subjects (like <a href="http://www.sensible.com/dmmt.html">Don&#8217;t Make Me Think</a> by Steve Krug and <a href="http://pragprog.com/titles/bhgwad/web-design-for-developers">Web Design for Developers</a> by Brian Hogan), so I hope that by the time my unemployment ends, I&#8217;ll be much better off making my work look good &#8211; or at least decent.</p>
<p>Another weakness I consider is that I get distracted from development from time to time. It&#8217;s not frequent enough to affect the quality of my work, but it&#8217;s enough to annoy me when I do it subconsciously and I then catch myself in the act. I have read some people who had some success using the <a href="http://www.pomodorotechnique.com/">Pomodoro technique</a>, so starting tomorrow I decided that I&#8217;ll give it a try. There&#8217;s a nice little app called <a href="http://getconcentrating.com/">Concentrate</a> for the Mac that seems to be just the thing I need during those times when I need to get stuff done and not get distracted.</p>
<p><strong>Beef up my GitHub profile</strong></p>
<p>I have to admit that I&#8217;m a little bit ashamed to see my <a href="http://github.com/dennmart">GitHub profile</a> virtually empty. For a long time, I&#8217;ve been wanting to add more of the projects that I have in my laptop to GitHub and see if some of them take a life of their own. Sadly, for whatever reason, I haven&#8217;t done that. Most of the times I&#8217;m a bit too critical at my code and think it&#8217;s embarrassing to make public, but that&#8217;s really what I need to do to get better as a developer. I can take criticism with the best of them, so there&#8217;s really no excuse. I need to make more of my code open-source, period.</p>
<p>Not only do I want to show my own work, I also want to give back to the community. I have used so many open-source projects over the years, yet I&#8217;ve only submitted a handful of patches to very few projects. I don&#8217;t want to be a person who takes, takes, takes and never gives anything back in return. So I&#8217;m going to take steps to correct that. I&#8217;ve started cloning some repositories of my favorite projects from GitHub to my computer to start reading their code more in-depth, which I had been doing anyway. I&#8217;ll check if these projects have <a href="http://lighthouseapp.com/">Lighthouse</a> pages with open tickets, or if there are any open issues on their GitHub page. A few years ago, Dr. Nic wrote an excellent post titled <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">&#8220;8 steps for fixing other people’s code&#8221;</a> that inspired me to start finding features or defects that I can handle.</p>
<p>I have to say, I&#8217;m only one day into this routine, and I don&#8217;t remember the last time I felt this free and liberated doing what <em>I</em> wanted to do. Full-time employment is great for earning money and making substantial stuff, but sometimes there&#8217;s a feeling of emptiness due to not being able to explore on your own. Being unemployed doesn&#8217;t mean that you need to spend all your time looking for work. Unless you&#8217;re truly struggling economically and can&#8217;t pay the bills in the next couple of weeks or even days, why not spend part of your time gearing up for the future?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dennmart.com/2010/01/26/no-rest-for-the-unemployed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MongoShort &#8211; URL Shortener using SInatra and MongoDB</title>
		<link>http://www.dennmart.com/2010/01/14/mongoshort-url-shortener-using-sinatra-and-mongodb/</link>
		<comments>http://www.dennmart.com/2010/01/14/mongoshort-url-shortener-using-sinatra-and-mongodb/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 02:56:58 +0000</pubDate>
		<dc:creator>Dennis Martinez</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.dennmart.com/?p=175</guid>
		<description><![CDATA[As many other developers, I&#8217;ve been experimenting with the different &#8220;NoSQL&#8221; data stores. Most of them are really great, like Redis, Tokyo Cabinet and CouchDB. My favorite so far, however, is MongoDB. I think it hits the sweet spot between a normal relational databases and key-value stores. After a while playing around MongoDB, I decided [...]]]></description>
			<content:encoded><![CDATA[<p>As many other developers, I&#8217;ve been experimenting with the different &#8220;NoSQL&#8221; data stores. Most of them are really great, like <a href="http://code.google.com/p/redis/">Redis</a>, <a href="http://1978th.net/tokyocabinet/">Tokyo Cabinet</a> and <a href="http://couchdb.apache.org/">CouchDB</a>. My favorite so far, however, is <a href="http://www.mongodb.org/">MongoDB</a>. I think it hits the sweet spot between a normal relational databases and key-value stores. After a while playing around MongoDB, I decided to do something with it. That something that I did is called <a href="http://github.com/dennmart/mongoshort">MongoShort</a>.</p>
<p>MongoShort is a very simple URL shortening service, written with Sinatra and MongoDB. I originally wrote this little app to be used as part of a larger Rails application. However, it was mostly done as a way to do something with MongoDB. Particularly, I wanted to start using the awesome <a href="http://github.com/jnunemaker/mongomapper">MongoMapper</a> library. It&#8217;s really a breeze to use all these tools together, and it makes developing small apps on Ruby really fun. I hope someone can grab a copy of MongoShort and learn a bit of the basics of these wonderful tools.</p>
<p><a href="http://github.com/dennmart/mongoshort">Go fork MongoShort on GitHub now!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dennmart.com/2010/01/14/mongoshort-url-shortener-using-sinatra-and-mongodb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redis rocks!</title>
		<link>http://www.dennmart.com/2009/11/05/redis-rocks/</link>
		<comments>http://www.dennmart.com/2009/11/05/redis-rocks/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 17:16:25 +0000</pubDate>
		<dc:creator>Dennis Martinez</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.dennmart.com/?p=170</guid>
		<description><![CDATA[In my development blog, I previously wrote that MongoDB was the future of database storage. I might reconsider my decision, now that I&#8217;ve discovered Redis. In a nutshell, Redis is a key-value store. But it&#8217;s not a simple key-value database, as it has lots of commands and extra goodies, such as file persistence (so data [...]]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://development.dennmart.com/2009/10/08/mongodb-and-mongomapper-the-future.html">development blog</a>, I previously wrote that <a href="http://www.mongodb.org/">MongoDB</a> was the future of database storage. I might reconsider my decision, now that I&#8217;ve discovered <a href="http://code.google.com/p/redis/">Redis</a>. In a nutshell, Redis is a key-value store. But it&#8217;s not a simple key-value database, as it has lots of <a href="http://code.google.com/p/redis/wiki/CommandReference">commands</a> and extra goodies, such as file persistence (so data can be stored from memory to a file, and restored in case of failure) and awesome data structures like lists (with push / pop) and sets (even ordered sets). Besides that, Redis boasts atomicity and even master-slave replication. It&#8217;s quite a lot of stuff for a lean package.</p>
<p>One of the things I love the most about Redis is it&#8217;s speed. Believe me, this little database is <em>fast</em>. Redis includes a benchmark tool, so I ran the default benchmark (Approximately 10,000 total requests per command, from 50 simultaneous clients) just to demonstrate its raw speed. These tests were run on a Mac Mini (1.83 GHz Intel Core 2 Duo, 2 GB RAM) under Ubuntu 9.10 Server:</p>
<p><code><br />
    dennmart@ubuntu:~$ redis-benchmark<br />
    ====== SET ======<br />
      10005 requests completed in 0.14 seconds<br />
      50 parallel clients<br />
      3 bytes payload<br />
      keep alive: 1<br />
    <br />
    34.89% <= 0 milliseconds<br />
    99.19% <= 1 milliseconds<br />
    100.00% <= 2 milliseconds<br />
    74111.11 requests per second<br />
    <br />
    ====== GET ======<br />
      10003 requests completed in 0.13 seconds<br />
      50 parallel clients<br />
      3 bytes payload<br />
      keep alive: 1<br />
    <br />
    34.62% <= 0 milliseconds<br />
    99.79% <= 1 milliseconds<br />
    99.83% <= 2 milliseconds<br />
    99.87% <= 3 milliseconds<br />
    99.91% <= 4 milliseconds<br />
    99.94% <= 5 milliseconds<br />
    99.97% <= 6 milliseconds<br />
    99.99% <= 7 milliseconds<br />
    100.00% <= 8 milliseconds<br />
    74649.25 requests per second<br />
    <br />
    ====== INCR ======<br />
      10005 requests completed in 0.15 seconds<br />
      50 parallel clients<br />
      3 bytes payload<br />
      keep alive: 1<br />
    <br />
    25.60% <= 0 milliseconds<br />
    99.73% <= 1 milliseconds<br />
    99.80% <= 2 milliseconds<br />
    99.83% <= 3 milliseconds<br />
    99.86% <= 4 milliseconds<br />
    99.89% <= 5 milliseconds<br />
    99.92% <= 6 milliseconds<br />
    99.95% <= 7 milliseconds<br />
    99.97% <= 8 milliseconds<br />
    100.00% <= 9 milliseconds<br />
    65392.16 requests per second<br />
    <br />
    ====== LPUSH ======<br />
      10001 requests completed in 0.13 seconds<br />
      50 parallel clients<br />
      3 bytes payload<br />
      keep alive: 1<br />
    <br />
    37.62% <= 0 milliseconds<br />
    99.78% <= 1 milliseconds<br />
    99.82% <= 2 milliseconds<br />
    99.86% <= 3 milliseconds<br />
    99.89% <= 4 milliseconds<br />
    99.93% <= 5 milliseconds<br />
    99.96% <= 6 milliseconds<br />
    99.99% <= 7 milliseconds<br />
    100.00% <= 8 milliseconds<br />
    77527.13 requests per second<br />
    <br />
    ====== LPOP ======<br />
      10000 requests completed in 0.14 seconds<br />
      50 parallel clients<br />
      3 bytes payload<br />
      keep alive: 1<br />
    <br />
    34.13% <= 0 milliseconds<br />
    99.69% <= 1 milliseconds<br />
    99.82% <= 2 milliseconds<br />
    99.86% <= 3 milliseconds<br />
    99.90% <= 4 milliseconds<br />
    99.93% <= 5 milliseconds<br />
    99.96% <= 6 milliseconds<br />
    99.98% <= 7 milliseconds<br />
    100.00% <= 8 milliseconds<br />
    74074.07 requests per second<br />
    <br />
    ====== PING ======<br />
      10000 requests completed in 0.12 seconds<br />
      50 parallel clients<br />
      3 bytes payload<br />
      keep alive: 1<br />
    <br />
    43.79% <= 0 milliseconds<br />
    99.80% <= 1 milliseconds<br />
    99.85% <= 2 milliseconds<br />
    99.89% <= 3 milliseconds<br />
    99.91% <= 4 milliseconds<br />
    99.93% <= 5 milliseconds<br />
    99.97% <= 6 milliseconds<br />
    100.00% <= 7 milliseconds<br />
    86206.90 requests per second<br />
</code></p>
<p>Yeah, you read that right. On this somewhat low-end computer (by today's standards), Redis still manages to do over 74,000 SET (write) and GET (read) operations <em>per second</em>. Push and pop list operations also do well over 70,000 requests. On bigger hardware, expect these numbers to be much higher. Besides speed, I've also been impressed by the stability of Redis. I've been running Redis non-stop on the Mac Mini for over two weeks, and I've never had a single issue with it.</p>
<p>I got really interested in Redis after <a href="http://ozmm.org/">Defunkt</a> (of <a href="http://github.com/">GitHub</a> fame) open-sourced <a href="http://github.com/defunkt/hurl">Hurl</a>. Hurl was an entry in this year's <a href="http://r09.railsrumble.com/entries">Rails Rumble</a> competition. I used it quite extensively when developing with PayPal's APIs. After it was released, I noticed that Hurl used Redis for persistence. I was kind of puzzled why a key-store value was used for this. However, Defunkt wrote <a href="http://ozmm.org/posts/sort_in_redis.html">an excellent post</a> mostly explaining the SORT operation, but also included some additional details on how Redis was used in Hurl. It made the decision to use Redis clear. Well, I'm also willing to bet that he used Redis because us programmers love to use the new hotness.</p>
<p>I feel that Redis will be something big soon. There are a few open-source projects using it, including the aforementioned Hurl and <a href="http://github.com/defunkt/resque">Resque</a>. I already have a few ideas where I can use some of this functionality for current sites that I'm working on (such as simple counters, or a tag-like system where we can push and pop tags from a list). Check Redis out if you need some quick and simple storage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dennmart.com/2009/11/05/redis-rocks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What Have I Been Up To?</title>
		<link>http://www.dennmart.com/2009/03/06/what-have-i-been-up-to/</link>
		<comments>http://www.dennmart.com/2009/03/06/what-have-i-been-up-to/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 02:00:41 +0000</pubDate>
		<dc:creator>Dennis Martinez</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[BarterQuest]]></category>
		<category><![CDATA[CouchDB]]></category>
		<category><![CDATA[MacBook Pro]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.dennmart.com/?p=128</guid>
		<description><![CDATA[It&#8217;s been quite a while since I last updated this blog. I should seriously start writing more often. So, what have I been up to? With the cold weather here in New York City, it gets difficult sometimes to go out and have fun in the city. As usual, most of my time is spent [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been quite a while since I last updated this blog. I should seriously start writing more often. So, what have I been up to? With the cold weather here in New York City, it gets difficult sometimes to go out and have fun in the city. As usual, most of my time is spent on technology, software development, stuff like that. Here&#8217;s a brief recap of what I&#8217;ve been working on:</p>
<p><strong>Got a new MacBook Pro, and I love it</strong> &#8211; I finally gave in and bought myself a shiny new <strong><a href="http://www.apple.com/macbookpro/features-15inch.html">MacBook Pro</a></strong>. I&#8217;m having a blast with it. For the open-source developer in me, this has everything I could ever want. It&#8217;s a beautiful and sleek machine that has gotten me highly motivated to start expanding my knowledge in different directions. While I still consider these laptops to be pricey, they&#8217;re really great.</p>
<p><strong>Learning Objective-C for Mac and iPhone development</strong> &#8211; Since I got a nice Mac, I figured I should start learning Objective-C, then eventually get into Cocoa and the iPhone SDK. I&#8217;ve always been impressed by some nicely-done open-source Mac applications, and iPhone apps have always seemed to be so creative, so I wanted to learn how to build some myself. Since I&#8217;ve been working for so many years on dynamically typed languages (like PHP and Ruby), it&#8217;s kind of a total change of pace to go back to a somewhat-statically typed language like Objective-C. It&#8217;s been a bit of a challenge, since I last used a C-based language back in my college days. But it&#8217;s going along well so far. </p>
<p>I&#8217;ve compiled quite a few resources for learning all of these things.  I recently purchased a book called <strong><a href="http://www.amazon.com/Programming-Objective-C-2-0-Developers-Library/dp/0321566157">Programming In Objective-C</a></strong>, which seems like the de-facto book on Objective-C, as it&#8217;s pretty extensive..And there are a few good screencasts &#8211; <strong><a href="http://www.peepcode.com/">PeepCode</a></strong> developed a screencast dubbed <strong><a href="http://peepcode.com/products/objective-c-for-rubyists">Objective-C for Rubyists</a></strong>, and <strong><a href="http://pragprog.com/">The Pragmatic Programmers</a></strong> have a screencast series by Bill Dudney called <strong><a href="http://pragprog.com/screencasts/v-bdobjc/coding-in-objective-c-2-0">Coding in Objective-C</a></strong>. Of course, Apple has done a fine job with <strong><a href="http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/chapter_1_section_1.html">their Objective-C documentation</a></strong>. All of these resources should get you coding in Objective-C in no time.</p>
<p>The iPhone development part is mostly being learned because at my day job we would like to create a nice iPhone app for users of our site. I truly think that a mobile interface will expand our user base easily, even if people say they don&#8217;t really use mobile interfaces for a lot of things. I find myself using Facebook and Amazon&#8217;s iPhone apps more than I visit their sites.</p>
<p><strong><a href="http://www.barterquest.com/">BarterQuest</a> is getting better and better</strong> &#8211; It&#8217;s been a wild ride on BarterQuest since <strong><a href="http://www.dennmart.com/2008/07/10/barterquest-the-trading-site-on-the-internet/">we launched</a></strong>. We&#8217;ve been featured all over the place, from blogs to television shows, and we&#8217;re getting more and more users visiting, registering and trading on our site every single day. I&#8217;ve even traded twice already, and everything has gone as smoothly as it possibly could. It&#8217;s a great way to get the stuff you want by getting rid of the stuff you don&#8217;t want.</p>
<p>If you haven&#8217;t checked out our site yet, or haven&#8217;t done so in a while, I highly recommend you visit us soon. We&#8217;re going to be adding support for <strong><a href="http://www.barterquest.com/home/real_estate">Real Estate</a></strong> in a few weeks, so our range of tradable items will greatly expand. And stay up to date with all that we&#8217;re doing by <strong><a href="http://twitter.com/barterquest">following us on Twitter</a></strong>.</p>
<p><strong>Learning (and liking) <a href="http://couchdb.apache.org/">CouchDB</a></strong> &#8211; My curiosity with CouchDB started when people were mentioning it quite a bit, and some Rails libraries like <strong><a href="http://github.com/jchris/couchrest/tree/master">CouchRest</a></strong> were gaining some attention. So I checked it out for the first time, and I had no freakin&#8217; clue why someone would use document-oriented databases, when relational databases did just fine.</p>
<p>Then a week I was working on a side project, and when trying to design my classes, I noticed that I would either have to denormalize my database tables, or be strict with normalization, but have a rather messy database schema. Then it just hit me &#8211; I finally knew the reason why CouchDB would rock in this scenario, where the data I was storing wouldn&#8217;t always follow the same structure. So I got into it, and I&#8217;m really liking it a whole lot. It&#8217;s something different, yet really useful in some situations. Seeing that there&#8217;s a market for databases like these, like <strong><a href="http://aws.amazon.com/simpledb/">Amazon SimpleDB</a></strong>, it seems like CouchDB (and document-oriented databases in general) will gain much popularity in the foreseeable future.</p>
<p>These are just a few things I&#8217;m playing along with. It seems like there are a lot of fun times ahead in software development and computing in general. I&#8217;m just happy to be able to ride the wave.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dennmart.com/2009/03/06/what-have-i-been-up-to/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Securing MySQL&#8217;s Default Installation &#8211; Quick And Dirty Too!</title>
		<link>http://www.dennmart.com/2008/10/02/securing-mysqls-default-installation-quick-and-dirty-too/</link>
		<comments>http://www.dennmart.com/2008/10/02/securing-mysqls-default-installation-quick-and-dirty-too/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 20:39:30 +0000</pubDate>
		<dc:creator>Dennis Martinez</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.dennmart.com/?p=100</guid>
		<description><![CDATA[I just stumbled upon a script that MySQL includes nowadays called mysql_secure_installation. It runs a series of steps to remove some of the default installation options that MySQL installs, like an anonymous user and a test database. When you run the script, it does for the following: Prompts you to change your MySQL root password, [...]]]></description>
			<content:encoded><![CDATA[<p>I just stumbled upon a script that MySQL includes nowadays called <strong><a href="http://dev.mysql.com/doc/refman/5.1/en/mysql-secure-installation.html">mysql_secure_installation</a></strong>. It runs a series of steps to remove some of the default installation options that MySQL installs, like an anonymous user and a test database. When you run the script, it does for the following:</p>
<ul>
<li>Prompts you to change your MySQL root password, especially if you haven&#8217;t set a root password yet.</li>
<li>Removes anonymous access to your database server.</li>
<li>Restricts root access to localhost only.</li>
<li>Drops the &#8216;test&#8217; table that&#8217;s installed automatically.</li>
<li>Flushes the privileges so that all changes are taken immediately without having to restart the database server.</li>
</ul>
<p>Here&#8217;s <strong><a href="http://gist.github.com/14434">the output</a></strong> when running the mysql_secure_installation in one of my servers.</p>
<p>In all, it&#8217;s something that I&#8217;ve been doing manually for a while. And I bet that there are many, many developers out there who, even on production servers, don&#8217;t even bother to remove these things. Obviously, this isn&#8217;t the &#8220;be-all and end-all&#8221; of MySQL security, but it&#8217;s a big step away from the default installation. Go run this script now! Well, unless you&#8217;re a security expert who already did this, either manually or with the script. If so, then I salute you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dennmart.com/2008/10/02/securing-mysqls-default-installation-quick-and-dirty-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.131 seconds -->
