<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
<rss version="0.92">
<channel>
	<title>Standard Deviations</title>
	<link>http://parand.com/say</link>
	<description>Parand Tony Darugar: A Cruel and Petty Dictator</description>
	<lastBuildDate>Wed, 11 Jan 2012 20:33:20 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>How To Dynamically Import Python Modules</title>
		<description>Here's how you import a python module dynamically: say your module is called "mysettings" and it's in the directory "config". Make sure you have a __init__.py in your "config" directory and use:


mysettings = __import__("config.mysettings", fromlist=["config"])



This is equivalent to


from config import mysetings

 </description>
		<link>http://parand.com/say/index.php/2012/01/11/how-to-dynamically-import-python-modules/</link>
			</item>
	<item>
		<title>How To Scan Multiple Pages Into a Single PDF on OS X</title>
		<description>My new printer has a document feeder which makes scanning of multiple pages easy, but I didn't know how to kick off the scan on OS X. Turns out it's quite easy:

	Open the OS X Preview app
	Go to the File menu and select Import From Scanner
	Select your printer
	Look for the ...</description>
		<link>http://parand.com/say/index.php/2011/11/15/how-to-scan-multiple-pages-into-a-single-pdf-on-os-x/</link>
			</item>
	<item>
		<title>Titanium Studio: How To View Android Log Messages</title>
		<description>Apparently with Titanium Studio it's not possible to see log messages in the Titanium console.

Here's how you see your log messages:
adb logcat &#124; grep "TiAPI"

adb is in the tools directory of your Android sdk. </description>
		<link>http://parand.com/say/index.php/2011/08/15/titanium-studio-how-to-view-android-log-messages/</link>
			</item>
	<item>
		<title>Easy way to view cookies in Chrome</title>
		<description>Here's an easy way to see the cookies for the current site in Chrome:

javascript:void(document.cookie=prompt(document.cookie,document.cookie));

Via stackoveflow. </description>
		<link>http://parand.com/say/index.php/2011/07/27/easy-way-to-view-cookies-in-chrome/</link>
			</item>
	<item>
		<title>Django: Checking If A User Is In A Group</title>
		<description>Adding to my earlier post on the django permission system:

You can check if a user is part of a group using this simple snippet. It will allow you to check if a user is in a group with the following template syntax:

{% if user&#124;in_group:"Friends,Enemies" %}
 </description>
		<link>http://parand.com/say/index.php/2011/06/16/django-checking-if-a-user-is-in-a-group/</link>
			</item>
	<item>
		<title>Uniforms</title>
		<description>I went to a school that required uniforms (private school in England). We were forced to be uniform.

This afternoon driving by the high school near my house I was amused to see uniforms everywhere - here a patch of girls all wearing the same types of shorts, with hair pulled ...</description>
		<link>http://parand.com/say/index.php/2011/03/04/uniforms/</link>
			</item>
	<item>
		<title>Future of Work and New Dial Tones</title>
		<description>My friend Paul Kedrosky's post on one of his main investment theses, the application of currently consumer oriented technologies to business (DropBox, Twitter, FaceBook, Yelp, ...), got me thinking about how the future of work will look.



I've made a career of working far from where I live. I've generally considered ...</description>
		<link>http://parand.com/say/index.php/2010/12/08/future-of-work-and-new-dialtones/</link>
			</item>
	<item>
		<title>Generating static html from markdown in python</title>
		<description>Note to self, for future reference.

	Markdown reference

Generating static html:


import markdown2
file('classification.html','w').write( markdown2.markdown_path('classification.md', extras=["code-friendly"]) )
 </description>
		<link>http://parand.com/say/index.php/2010/11/29/generating-static-html-from-markdown-in-python/</link>
			</item>
	<item>
		<title>Retention Bonuses Don&#8217;t Work</title>
		<description>Retention bonuses don't work because they only motivate presence, not contribution. </description>
		<link>http://parand.com/say/index.php/2010/11/19/retention-bonuses-dont-work/</link>
			</item>
	<item>
		<title>mo.com Interviews Me</title>
		<description>The lovely folks at mo.com recently asked me about my experiences at Yahoo, the background and business model for Xpenser, and thoughts on funding and raising VC money. The interview has been published here, drop by and take a gander. </description>
		<link>http://parand.com/say/index.php/2010/11/08/mo-com-interviews-me/</link>
			</item>
</channel>
</rss>

