Blog Archives

Sphinx – Documentation for Python

Python is a wonderful language also because of the awesome tools that are available.
One of which is Sphinx. It is like markdown, but even more powerful, with cross referencing of pages and autogeneration of doc for python code.
Start with installing [...]

Tagged with:
Posted in Development

Tips for Developers Upgrading to Mountain Lion

If you are a developer using Python for any purposes (warning: you could be using without knowing), do take heed.
Mountain Lion Kills Python
As discussed in my previous post, upgrading to Mountain Lion will cause many of Python packages not to [...]

Tagged with: ,
Posted in Development, How-to

Setting up Django with Scrapy

This guide is about using Django, the most popular Python web framework, and Scrapy, the most popular Python scraping framework. Both of the frameworks are awesome, and they work very well standalone.
Before you continue reading, make sure you are already beyond [...]

Tagged with: ,
Posted in Development, How-to, whatever

Dotcloud Django Setup Guide, with a Bootstrap Template

I have created a bootstrap template for Dotcloud + Django + MySQL project.
The rationale for creating a template is because the Dotcloud Django guide is missing how you should setup your local development environment, and it definitely needs a template to [...]

Tagged with: , ,
Posted in Development, How-to

Python Debugger Guide (pdb) – Kind of like gdb

A lot of programmers starting with Python use just a plain vanilla text editor, and command line.
Although fancier IDE such as WingIDE comes with a built-in debugger, the IDE-less way of programming is still very awesome. Moreover, my  favorite IDE – [...]

Tagged with:
Posted in Development, How-to

Sniff iPhone HTTP Traffic using mitmproxy

Sniffing traffic is a very hackish thing to do. So if you are against hacking things, stop reading.
There are a couple of ways to sniff the HTTP traffic. Using Wireshark, which has a nice user interface, is one of the [...]

Tagged with: ,
Posted in Development, How-to

Find the real exception in Xcode debugger

There are times when you have exceptions raised in Xcode, but it breaks at UIApplicationMain in main(), and without giving you clues on where the error comes from.
There is a way to show more helpful debugging info.
Basically you need to set [...]

Tagged with:
Posted in Development, iPhone

The Better Guide to Installing Android SDK

I wasn’t impressed with Android team on their documentation for installing Android SDK. It is long, and jumps from page to page. Here is my better version:
 
Step 1 – Install Eclipse IDE
Go to http://www.eclipse.org/downloads/ and download Eclipse Classic (the latest version is 3.7.1).
After [...]

Posted in Android, Development, How-to

HTML5 or Native App for mobile ?

This is a decision that mobile developers got to make when they develop an app.
There are pros and cons to both the platforms, and the decision largely depends on what you need to accomplish. These are the main factors.

Capabilities [...]

Tagged with: ,
Posted in Development

My THack (Hackathon) Experience

I participated in a 24hr hackathon over last weekend, and created Guidebnb – an app to find local guides. It is an Airbnb for local guides.
If you want to try out, head over to http://guidebnb.just2us.com.
The whole hacking session was fun, [...]

Tagged with:
Posted in API, Development, Interesting
Archives