Saturday, May 30, 2009


design patterns


In order to compile pd on Fedora 10 (Linux), I needed the following packages:

yum install tcl-devel tk-devel fftw3-devel ladspa-devel speex-devel gsl-devel dssi-devel glut-devel pidip-devel imlib2-devel theora-devel vorbis-devel libvorbis-devel libtheora-devel libquicktime-devel -y

Friday, May 29, 2009

from ruby to python

A reddit thread about a programmer going from ruby to python. Which is what I'm doing as well.

Like, I love Ruby, and do all my scripting in it, but everyone else here is doing Python, and we could get more synergy with everyone doing Python.



Analog In - OSC


and autosend

/analogin/5/autosend 1
/system/autosend-interval 10
/system/autosend-udp 1

mmm pie

Piezoelectricity - is the ability of some materials to generate an electric potential in response to applied mechanical stress.


Thursday, May 21, 2009

Tuesday, May 19, 2009

double spacing

Double-spaced sentences

Amazing amount of details, I thought it was simple, but it's actually quite a deep topic.

list style






rest/urls - Fantastic resource for REST
Building Web Services the REST Way



Field: Experimental Programming IDE - From the MIT Media Lab.

Emacs mode, please.




Social construction - A social construction or social construct is any phenomenon "invented" or "constructed" by participants in a particular culture or society, existing because people agree to behave as if it exists or follow certain conventional rules.


Controlling the servo on the Make Controller:

To set the first servo to one quarter its position, send the message

/servo/0/position 256

Leave the argument value off to read the position of the servo:


To set the speed of the first servo to just under full speed, send a message like

/servo/0/speed 975

Monday, May 18, 2009

Monk who prays so much he has left footprints ingrained in the FLOOR

big fonts

I use Firefox for viewing web pages that I want to be pretty, but I use Opera for everything else. It handles tabs much better, and I can have 20-50 tabs open at once.

I like having a nice big font in Opera, so I go into "Tools->Preferences", select the "Advanced" tab and choose "Fonts" from the menu on the right. I then can set the "Minimum font size (pixels)" to some nice big value, I like 20 pixels.

This works great for almost all websites, except for some that get tricky and set the "line-height" css property based on em widths.

To fix this, go into "Tools->Preferences", select the "Advanced" tab and choose "Content" from the menu on the right. Click on "Style Options" and then at the bottom, you can choose a CSS file for your own style. Here's one that is working well for me:

p {
line-height: 20px;

ul {
line-height: 20px;

dl {
line-height: 20px;

Thursday, May 14, 2009

Wednesday, May 13, 2009


Desinging Sound - A textbook for next generation audio


Things I'm thinking about today:

Embodied music cognition
Levenshtein distance
Self-organizing map
New Complexity

Marc Leman - Main research focus: systematic and cognitive musicology (how music generates meaning in the sensorial, perceptive, cognitive, motoric and emotional domains); multimedia technology applied to the arts.

Monday, May 11, 2009





API design matters - From the Communications of the ACM


The TurboGears 2 Wiki Tutorial
Controllers in TG2
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Genshi Python toolkit for generation of output for the web
TG 2.0
TurboGears Documentation



mit, python, and robots, oh my!



Force-based algorithms - What I'm going to use for the mass spring damper system in Actionscript that I'm writing


F-measure in Information Retrieval at wikipedia
F-measure in Precision and Recall
F-measure equation



Boosting - is a machine learning meta-algorithm for performing supervised learning. Boosting is based on the question posed by Kearns[1]: can a set of weak learners create a single strong learner? A weak learner is defined to be a classifier which is only slightly correlated with the true classification. In contrast, a strong learner is a classifier that is arbitrarily well correlated with the true classification.

Wednesday, May 06, 2009

so smooth




URI Escape

You may have seen a string like "%E3%82%82%E3%81%97%E3%82%82%E3%81%97.png". Characters for URI (URL) are limited to subset of ascii characters, therefore other characters (ex. 2 byte characters) are expressed using "% + hex?number" form. The expression "% + hex number" is called as "percent escape". "URI Escape.osax" is a scripting addition to encode strings into pecent escaped form and decode it.

Tuesday, May 05, 2009


Juana Molina - listen!

ms formats

Joel Spolsky on why Microsoft file formats are so complex. A nice adjunct to the last post.


Some thoughts about the PSD format - good blog post about why the Adobe PSD format is so byzantine. It's a product of evolution and backwards compatiblity. Good points.


Ashutosh Mehra has 8 cheques from Knuth from finding bugs in his books. Wow.

Monday, May 04, 2009


Force-based algorithms - are a class of algorithms for drawing graphs in an aesthetically pleasing way. Their purpose is to position the nodes of a graph in two dimensional or three dimensional space so that all the edges are of more or less equal length and there are as few crossing edges as possible.


strokeText.js - The library provides cross API text stroking capability for Canvas and VML. The (built in) sans-serif font is also adapted for SVG to ensure an identical representation.

Looks interesting.


Saturday, May 02, 2009



WordNet - a lexical database for the English language

The distance between words. Interesting for building maps or even taxonomies from tags.


Friday, May 01, 2009


Learning jQuery 1.3 - Book review


REST worst practices

1) Conflating models and resources
2) Hardcoded auth
3) Resource-specific output formats
4) Hardcoded output formats
5) Weak HTTP method support
"Nothing about the REST model says that you have to limit yourself to the Big Four; it simply says that the methods you support need to be supported uniformly. PATCH, in particular, might be a very useful method."

6) Improper use of links
7) Couple the REST API to the application

The take home message is:

Resource != Model.