I have a continual interest in finding the rough edges of learning Django. Some of the points of form and request handling have been coming up for me recently. What follows is an attempt at some explanation of the difference between
form.cleaned_data of a valid Django Form.
There are two different ways to get the info that you're looking for.
request.POST[somekey] Where somekey is a string representing the associated html
<input name="somekey" />.
There is also
forms.cleaned_data[somekey] where somekey is the name of the attribute on the ...
I heard about Toga from twitter. Apparently it was introduced at PyConAU. I took an hour to whip up a small app that will let you touch buttons to launch fabric tasks.
None of them can take arguments, so it relies on defaults and a fully-stocked set of 'env' variables, but that's ok, this is just a silly hack to explore a new gui framework.
What I mean is, it seems to have a long way ...
I'm writing about an interactive art piece I brough to PyOhio and how I built it.
Josh Boles got a (picture)[https://twitter.com/joshboles/status/493466700684091392/photo/1] I like, of the piece while I was talking about something else and the room was playing tetris (More on that soon!)
This post is about the image manipulation.
The piece I built had 20 of the 8 by 8 NeoPixel Matrices to make a canvas. It was arranged like so:
[ 0] [ 1] [ 2] [ 3] [ 4] [ 5] [ 6] [ 7] [ 8] [ 9]   [12 ...
The state of python on embedded systems isn't great. That's not bad news though! Raspberry Pis are cheap and run python pretty darn well.
If you want to drive a single LED on a Raspberry Pi with python, I'm not going to cover that here. I'm going to talk about running a few thousand LEDs, but let's start with some basics.
I like the World Semi set of LEDs called the WS281X series, there are several variations, and working with them with an arduino is REALLY ...
I'm Issac. I live in Oakland. I make things for fun and money. I use electronics and computers and software. I manage teams and projects top to bottom. I've worked as a consultant, software engineer, hardware designer, artist, technology director and team lead. I do occasional fabrication in wood and plastic and metal. I run a boutique interactive agency with my brother Kasey and a roving cast of experts at Kelly Creative Tech. I was the Director of Technology for Nonchalance during the The Latitude Society project. I was the Lead Web Developer and then Technical Marketing Engineer at Nebula, which made an OpenStack Appliance. I've been building things on the web and in person since leaving Ohio State University's Electrical and Computer engineering program in 2007. Lots of other really dorky things happened to me before that, like dropping out of high school to go to university, getting an Eagle Scout award, and getting 6th in a state-wide algebra competition. I have an affinity for hopscotch.