Blog


Getting Started with Mongoose and Node.js – A Sample Comments System

In this post, we’re going to be creating a sample comments system using Node, Express and Mongoose. Mongoose provides an object oriented interface for using MongoDB in Node. Everything in Mongoose starts with a Schema. Each schema maps to a MongoDB collection and defines the shape of the documents within that collection. If you are […]




Silverlight’s Missing ScrollViewer .ScrollChanged Event

If you’ve worked with Silverlight’s ScrollViewer you may have noticed the ScrollChanged event is missing. It exists in WPF but Microsoft conveniently left it out in Silverlight. If you need to be notified of changes to the VerticalOffset or HorizontalOffset you can use a dependency property which listens to the change of Offset properties of […]




iOS 7 Bugs – message sent to deallocated instance

First of all, I know this error has been around way before iOS 7. However, in one of my own apps I started getting this error when I upgraded it to iOS 7 SDK. Not exactly sure why it started since it worked perfectly fine with iOS 6 SDK. After hours of debugging, I finally […]




iOS 7 Blur Effect

The Control Center, introduced in iOS 7, has a really cool blur effect when opened. Unfortunately, Apple didn’t give us access to use this blur effect in our UIViews. Luckily for us, there’s a few ways to achieve this blur effect. iOS-blur A really clever developer came up with a solution of copying the layer […]




iOS 7 Bugs – The Status Bar and Modal View Controllers

In iOS 7, the status bar and navigation bar are now unified. The status bar is translucent which is suppose to merge seamlessly with the navigation bar. This works great for the most part until you try to present a view controller or use a modal segue in storyboards. [self presentViewController:myViewController animated:YES completion:nil]; Using these […]



CSS Hacks Per Browser

First of all, most CSS hacks are generally considered bad practice and should be avoided whenever possible. With that said, there are times when using a CSS hack is necessary to target browser specific technologies. Internet Explorer IE is at the root of most CSS problems. To target IE specifically, create a seperate stylesheet for […]




Creating Custom Modules in Node.js

If you’ve been using Node.js, you’ve probably been using modules for some time. A module is basically a javascript file that exposes internally scoped functions using the exports variable. In this tutorial, I’ll show how to create a simple string splitting module to give you a basic understanding. Getting Started Lets start off by creating […]