View _fix_pip_import_error.md

It can come up while installing anything really. I'm not sure exactly which versions of pip are affected, I know I had 1.5.6 and it was affected.

These examples are grabbed from my system level Python, but of course you should use a virtualenv.

  Running setup.py install for simplegeneric
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Library/Python/2.7/site-packages/setuptools/__init__.py", line 12, in <module>
        import setuptools.version
View sonarqube and gradle and analysis mode.md

SonarQube not "uploading"? Be careful about sonar.analysis.mode=issues (or, if using Gradle, systemProp.sonar.analysis.mode=issues). This analysis mode seems required for some purposes (some plugins maybe?), but it was making Gradle not generate the report or upload it to SonarQube server. I haven't figured out the details yet but I wanted to leave this memo...

View omnifocus_solarized_light_fantastaque.ofocus-style
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>colorPalette</key>
<dict>
<key>ArchiveExpectationsBarBottomColor</key>
<dict>
<key>a</key>
<real>0.20000000000000001</real>
View ipython_embed_example.py
# -*- coding: utf-8 -*-
if __name__ == "__main__":
# Code code code...
# Code code code...
# Code code code...
from IPython import embed; embed()
View logging_formatter_string.py
import logging
LOGGING_FORMAT_DEBUG = '%(levelname)-5s:%(name)s:%(module)s.%(funcName)s() L%(lineno)d | %(asctime)s %(message)s'
LOGGING_FORMAT_DEFAULT = "%(levelname)-5s:%(name)s:%(message)s"
# stuff ...
logger = logging.getLogger('<library_or_product_name>')
handler = logging.StreamHandler(stream=sys.stderr)
logger.addHandler(handler)
View steeef_hangtwenty.zsh_theme
# prompt style and colors based on Steve Losh's Prose theme:
# http://github.com/sjl/oh-my-zsh/blob/master/themes/prose.zsh-theme
#
# vcs_info modifications from Bart Trojanowski's zsh prompt:
# http://www.jukie.net/bart/blog/pimping-out-zsh-prompt
#
# git untracked files modification from Brian Carper:
# http://briancarper.net/blog/570/git-info-in-your-zsh-prompt
export VIRTUAL_ENV_DISABLE_PROMPT=1
View building-borderlands.md
title date description categories tags
Building Borderlands Granular on Ubuntu 12.04 LTS
2012-10-23
music
linux
music
linux
synth
granular

##What Borderlands is

View _colordisco1.shader
void main () {
//PERFORMANCE
// turn this on to go into dark realmz (B mode)
float fullDark =
// 3.0;
0.;
View dive_into_machine_learning_footnote.md

This is a footnote to "Dive into Machine Learning". Just providing a link to another resource, with some personal commentary.

Jason Brownlee's article, "Machine Learning for Programmers," has a hack-first focus. In this way, it's similar to "Dive into Machine Learning." Brownlee's article has some useful and empowering advice. I want to note some caveats, though.

If I put myself in the shoes of someone who has more experience with ML ... someone with a PhD in or related to ML ... I would find Brownlee's article a bit vexing. Its tone is extreme. The good thing about Brownlee's article is that it may help some developers get into machine learning ... The bad thing about Brownlee's article is that it has a certain attitude, and that attitude is discouraging towards inquiry and curiosity. If everyone had the attitude of this article, nobody would have done the "un-pragmatic" inquiries and research, for decades and decades, that lead up to Machine