- Headline
Web Developer Meetup Presentation: MongoDB and NoSQL
- Date
- March 30th, 2012
- Category
- Developer
- Story
Gave a presentation to the web developer meetup group at Cerner talking about MongoDB and NoSQL. Video
- Comments
- No Comments »
- Headline
Having a Positive Influence on Lifestyles
- Date
- March 1st, 2012
- Category
- Random
- Story
Over the past few months at Cerner we’ve been working on a website called cernerhealthwins.com. It’s a competition website where people can compete against each other to get the most steps, which are tracked by Fitbit pedometers, or lose the most percent of their body weight. This morning, I was walking into work and realize … read more
- Comments
- No Comments »
- Headline
Unix Command Line Cheat Sheet
- Date
- February 24th, 2012
- Category
- Developer
- Story
Here are some unix commands I find useful. Display All Running Processes $ ps aux Limit to only look at celeryd processes: $ ps aux | grep celeryd List Contents of a Directory including Hidden Files/Folders: $ ls -l -a Make Directory and All Subdirectories Will create all folders that haven’t already been created in … read more
- Comments
- No Comments »
- Headline
Ubuntu Bus Error
- Date
- February 23rd, 2012
- Category
- Developer
- Story
The Problem Ran into an issue where we couldn’t restart celeryd on our production servers. When we’d try to restart celery using our init.d script we would see the following: $ /etc/init.d/celeryd restart Bus error We then tried to go to our Django project and go into the shell and came across the same error: … read more
- Comments
- No Comments »
- Headline
MongoDB Cheat Sheet
- Date
- February 22nd, 2012
- Category
- Developer
- Story
A few commands that help with querying and troubleshooting mongodb. This document assumes we have a database called “test” and we have a collection called “comments”. Commands Number of documents in a collection: $ db.comments.count() 42232 Show the size of the Index: $ db.comments.totalIndexSize(); 73696 Show details of a specific query: $ db.comments.find({ tags : … read more
- Comments
- No Comments »
- Headline
Django Production Environment Setup with MongoDB
- Date
- November 22nd, 2011
- Category
- Developer
- Story
Many developers are often curious on what a possible web environment setup looks like in production. That answer can vary greatly depending on what exactly you want your application to do. A few question to ask yourself: Are you expecting heavy traffic on the site? How will you be notified if something in your system … read more
- Comments
- 1 Comment »
- Headline
Django, Celerybeat and Celery with MongoDB as the Broker
- Date
- November 22nd, 2011
- Category
- Developer
- Story
Enhance your user experience by preventing your users from having to wait long periods of time for certain actions to occurs. There are times when you want to send an email to many people or do other processor intensive work that you won’t want your user to have to wait on. In cases like these, … read more
- Comments
- 2 Comments »
- Headline
MongoDB with RAID 10 on Ubuntu 11.04
- Date
- November 8th, 2011
- Category
- Developer
- Story
I recently setup RAID 10 on our MongoDB server. I thought I would share how and why I did it. We’re using Amazon’s Web Services (AWS) and running Ubuntu 11.04. What is RAID 10 Why We Chose RAID 10 Setup RAID 10 with MongoDB on Ubuntu 11.04 Monitor the RAID Troubleshooting What to do When … read more
- Comments
- 8 Comments »
- Headline
Python Cheat Sheet
- Date
- October 17th, 2011
- Category
- Developer
- Story
Frequently used methods I use in Python with examples. Date and Datetime Lists and Sets Finding Intersection of 2 Lists Working with Urls Date and Datetime Useful links: http://docs.python.org/library/datetime.html#strftime-and-strptime-behavior http://labix.org/python-dateutil String to Datetime Convert a string into a datetime object. >>> from datetime import datetime >>> datetime.strptime(‘Jun 1 2005 1:33PM’, ‘%b %d %Y %I:%M%p’) datetime.datetime(2005, … read more
- Comments
- No Comments »
- Headline
Installing and Running MongoDB on a Mac
- Date
- March 21st, 2011
- Category
- Developer
- Story
MongoDB is a very powerful schema-free, document oriented database. The following steps will show you how to get MongoDB up and running. Install MongoDB I used the Homebrew package manager to install mongodb. If you have Homebrew, run the following commands: $ brew update $ brew install mongodb You will see output like the following: … read more
- Comments
- 3 Comments »
