Saturday, May 30, 2009
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
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.
Saturday, May 23, 2009
Getting to where you were, terminal navigation all fast-like
alias saved='echo `pwd` > ~/.savedir'
alias showd='cat ~/.savedir'
alias god='cd `cat ~/.savedir`'
Friday, May 22, 2009
Thursday, May 21, 2009
Wednesday, May 20, 2009
Tuesday, May 19, 2009
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
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
Monday, May 18, 2009
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:
Sunday, May 17, 2009
Friday, May 15, 2009
Thursday, May 14, 2009
Wednesday, May 13, 2009
Things I'm thinking about today:
Embodied music cognition
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.
Tuesday, May 12, 2009
Monday, May 11, 2009
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
Boosting - is a machine learning meta-algorithm for performing supervised learning. Boosting is based on the question posed by Kearns: 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.
Saturday, May 09, 2009
Thursday, May 07, 2009
Wednesday, May 06, 2009
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
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.
Sunday, May 03, 2009
Saturday, May 02, 2009
Friday, May 01, 2009
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.