**Eric P. Nichols**

'via Blog this'

**Peekaboo: Machine Learning Cheat Sheet (for scikit-learn)**

One of the requests there was to provide some sort of flow chart on how to do machine learning.

As this is clearly impossible, I went to work straight away.

This is the result:"

**Python Shortcuts for the Python Beginner - Max Burstein's Blog**

The following are just a collection of some useful shortcuts and tools I've found in Python over the years. Hopefully you find them helpful.

Swapping Variables

x = 6

y = 5

x, y = y, x

print x

>>> 5

print y

>>> 6"

'via Blog this'

**ongoing by Tim Bray · How to Think About OAuth**

'via Blog this'

**Ben Alman » A Bit of Advice for the JavaScript Semicolon Haters**

Not just that, but he mentioned that he finds it amusing when, amidst hundreds of lines of otherwise pristine semicolon-less code, there is a single line that starts with a semicolon.

"

'via Blog this'

**MindCipher - 12 Identical Balls**

This is not easy… try hard to figure this out before looking at the answer."

'via Blog this'

**bpostlethwaite/colormap · GitHub**

options = {

colormap: "jet" // pick your colormap

, nshades: 72 // how many divisions

, format: "hex" // "hex" or "rgb"

}

cg = colormap(options)

where leaving options = {} or undefined results in the defaults given above. There is a minimum number of nshades divisions you can select since the algorithms for each colormap have different requirements. colormap throws an error if there are too few divisions for the chosen colormap and gives the minimum number required. You should be safe with n > 10 for all the colormaps, though some require much less (much simpler to implemenent)."

**colormap/example at master · bpostlethwaite/colormap · GitHub**

'via Blog this'

**New HTML Parser**: The long-awaited libxml2 based HTML parser
code is live. It needs further work but already handles most
markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!