Bicycle Commuters Overtake Train Commuters In The District Of Columbia!
Comments [0]
Comments [0]
Synchronous Interfaces (suitable for peripherals on the same board or <1 m):
I2C (Inter Integrated Circuit, I squared C)
SPI (Serial Peripheral Interface Bus )
U(S)ART (Universal Synchronous & Asynchronous Receiver Transmitter)
(aka Serial Communication Interface (SCI))
(S) can be synchronous I2C
* true bus, requires only two pins for multiple devices (address space)
* 100kbits/sec, 400kbits/sec, 1Mbits/sec
* half-duplex
* high noise sensitivity, lower data integrity
* slave ack / rx confirmationSPI
* not a true bus, N devices require 3+N pins
* 10Mbits/sec
* full–duplex capability
* any message sizes, suited for longer data streams (I2C limited to 8 bit word)USART
* standard serial connection (also over USB)
* few hundred bits per second (bps) up to 1.5Mbps
* error checking with parity bit
Comments [0]
Uses python to dynamically load Arduino hex images for unit testing. Supports windows and osx via configuration file. To find out where your hex images are placed by the Arduino IDE, hit the shift key before you hit the build (play) button. You can hit the shift for upload as well to find out where your avrdude (command line upload utility) is located. Alternatively, you can look at the included config files and use your install location (using Arduino 0020).
Comments [0]
Spreadsheet:
http://www.stavi.sh/downloads/algerian-cities-lat-long.xls
Comments [0]
Spreadsheet:
http://www.stavi.sh/downloads/Cities_Within_Afghanistan_Latitude_Longitude.xls
Comments [0]
Cassandra excels at storing large, active, decentralized datasets. Additionally, Cassandra’s rich data model allows efficient use for many applications beyond simple associative arrays. One interesting application is the processing of large-scale graph structures.
I have devised a graph application layer to extract and process social network analysis data from Cassandra, using InfiniteGraph. The technical benefits of the social-graph-extract application layer and its use of graph-oriented processing have been articulated.
Social network analysis is one application of a more general category, relationship analytics, as defined by Curt Monash. The relationship analytics problem domain maps well to the unique features of the Cassandra-InfiniteGraph hybrid system:
Current business problems that can utilize these features:
The working codebase for this Cassandra / InfiniteGraph integration can be retrieved from GitHub. Forking of the main project is welcome (including downstream updates). If you have any questions or suggestions, please contact @toddstavish.
Comments [0]
The Daily Kos posted commentary and analysis of a recent Public Policy Polling survey of Delaware voters. The raw data was also posted. I loaded the raw data into Socrata’s social data platform to do some quick visualizations and corroborate the analysis.
After loading the raw data CSV, the first thing that I did was add meta-data into the column labels in Socrata. To do this, I cut and pasted the text descriptions of the questions from the survey PDF to the original raw data column label. You can see the meta information when you hover-over the columns in the tabular view or in the dataset summary; which also includes usage statistics, attribution to PPP, and the orignal PDF and CSV (embedded as attachments).
The benefit of adding meta-data is that anyone that looks at the raw data can now understand the values of the columns quickly. Additionally, in Socrata, the meta-information is decoupled from the actual data, so the data values can change without losing the semantic labeling. Generally, the meta information and data can be combined as part of the ingest process, the manual step was only required for this data-set because of the nature of the existing information. Note, my preferred choice for ingesting is via automated workflow using the web services API.
Markos’ commentary focused on questions 8 and 9 respectively:
To verify the voting result percentages from the survey raw data, I grouped the Question 8 results by vote calculating the sum and percentage (this can all be done in the Socrata User Interface). I could not find the integer vote choice definitions, therefore I had to infer the values from the summary information in the PDF report. Excluding rounding errors, the results are the same, as can be seen in the Social Data Player embedded below:
For visualization choices, I plotted Coons vs Castle on total voter favorability:
Chis Coons charted against favorability by party:
Disclaimer: I have no affiliation or preference for any candidate in any State of Delaware political party. My goal for this write-up was to demonstrate how to visualize and share political data. If you have any questions on how to do any of these visualizations, please submit via @toddstavish.
Comments [0]
Test code to make sure Python and Arduino are working properly. The PDE sends a string out of the serial port. The Python code uses pyserial to receive it and then prints the message to standard out. Pick it up at GitHub via “git clone git://github.com/toddstavish/Python-Arduino-Serial-Text-Send-Receive.git” Any questions or suggestions, you can find me here.
Comments [0]
Spreadsheet to help create heatmaps in Socrata or Google geomap visualizations.
Spreadsheet download:
Spreadsheet with flag images (Countries.xls)
Google Docs:
Country List Latitude Longitude ISO 3166 Codes
Socrata:
Country List ISO 3166 Codes Latitude Longitude
Scribd:
Country List Latitude Longitude Flags ISO 3166 Codes
Previews:
Comments [0]