Case Study: URL Design for petcheatsheets.com

Source article: Case Study: URL Design for petcheatsheets.com Backstory: On Saturday, November 17, 2012 Audrey Roy and I decided to participate in the Petcentric hackathon, a Los Angeles area Pet-themed product/coding contest held at Amplify. We arrived a bit late, but armed with Audrey’s idea of creating a pet based reference sheet for owners, pet […]

Case Study: URL Design for petcheatsheets.com

Source article: Case Study: URL Design for petcheatsheets.com Backstory: On Saturday, November 17, 2012 Audrey Roy and I decided to participate in the Petcentric hackathon, a Los Angeles area Pet-themed product/coding contest held at Amplify. We arrived a bit late, but armed with Audrey’s idea of creating a pet based reference sheet for owners, pet […]

Case Study: URL Design for petcheatsheets.com

Source article: Case Study: URL Design for petcheatsheets.com Backstory: On Saturday, November 17, 2012 Audrey Roy and I decided to participate in the Petcentric hackathon, a Los Angeles area Pet-themed product/coding contest held at Amplify. We arrived a bit late, but armed with Audrey’s idea of creating a pet based reference sheet for owners, pet […]

Is Python call-by-value or call-by-reference? Neither.

Source article: Is Python call-by-value or call-by-reference? Neither. One aspect of Python programming that trips up those coming from languages like C or Java is how arguments are passed to functions in Python. At a more fundamental level, the confusion arises from a misunderstanding about Python object-centric data model and its treatment of assignment. When […]

Is Python call-by-value or call-by-reference? Neither.

Source article: Is Python call-by-value or call-by-reference? Neither. One aspect of Python programming that trips up those coming from languages like C or Java is how arguments are passed to functions in Python. At a more fundamental level, the confusion arises from a misunderstanding about Python object-centric data model and its treatment of assignment. When […]

Managing style sheets and JavaScript files with webassets

Source article: Managing style sheets and JavaScript files with webassets webassets is an application that manages (compress and join) static files like JavaScript or CSS (LESS, SASS too) files. It can work with various frameworks, including Django. Everything is described in the documentation. Compressed files have slightly smaller size and they load faster. One file […]

Django Extensions 1.0.1

Source article: Django Extensions 1.0.1 Minor version update Django-Extensions 1.0.1 is out. This release fixes the following problems: spelling typo in README tests: shebang line in run_tests.py logging: Fix compatibility with python 2.6 media: Fix media directory in packaging admin extensions: Do not $ in javascript to avoid conflicts and redefines. Read full article at […]

How to create a virtual environment that also uses global modules

Source article: How to create a virtual environment that also uses global modules Last weekend I upgraded my Mac to Mountain Lion. I installed Python 2.7 with PIL and MySQLdb and virtualenv using MacPorts. When I created and activated a virtual environment with cd myprojectvirtualenv .. bin/activate the PIL and MySQLdb modules were unrecognizible in […]