Today I’ve uploaded an old Sargon song that we recorded back in 2005. It was supposed to be included in the Transcriptions album, but we took it out in the very last minute. I think it’s a pretty good song. Brings me really good memories. Enjoy!
My favorite place in New York. So beautiful. Go between 3pm and 5pm. In the Fall. And you’ll see the most amazing things.
I tend to work with multiple tabs in my terminals, keep opening, closing them, and so it is very useful to me to open a new terminal in my current folder instead of going to the home.
I’ve found this nice script that will do the work for you:
osascript -e 'tell application "Terminal"' \
-e 'tell application "System Events" to tell process "Terminal" to keystroke "t" using command down' \
-e "do script with command \"cd `pwd`;clear\" in selected tab of the front window" \
-e 'end tell' &> /dev/null
If you c&p this in a new file called “nt” in your /usr/local/bin, and you change it’s permissions to be executable ( chmod +x /usr/local/bin/nt ), all you have to do to open a new tab in your current directory will be:
UPDATE: Apparently, this also works on Snow Leopard. Not only that, but it might be the only way to use it under Snow Leopard.
It is frustrating to download the latest stable version of PortAudio, try to compile it on the new version of Mac OSX 10.7 (Lion), and get a bunch of errors.
However, for some reason, the previous stable release does work on 10.7.
Here the instructions (nothing fancy, just regular UNIX commands to compile and install):
- Download the source file
- Go to your directory and untar:
$> tar zxvf pa_stable_v19_20110326.tgz
$> cd portaudio
$> sudo make install
Now you should be able to go to the examples directory and compile and run the examples.
You must change the commas in
#include "portaudio.h" for brackets:
#include <portaudio.h>, so that the linker will look for the portaudio library inside your library path. To compile, for example paex_sine.c, you should type (inside the exmaples directory):
$> gcc -o paex_sine paex_sine.c -lportaudio
Then, you can just type
./paex_sine to listen to a 5 seconds sinewave.
If you are one of those who don’t like to install new libraries in your system path, you can always link with your libraries locally. In this case, you can leave the include with the commas. From the examples directory, you could compile some of these examples like this:
$> gcc -o paex_sine paex_sine.c -I../include/ -L../lib/.libs/ -lportaudio
In this case you will also need your DYLD_LIBRARY_PATH variable to point to your portaudio lib directory. Like this (it’s better to put the full path, I’m just putting the local path here as an example):
$> export DYLD_LIBRARY_PATH=../libs/.libs/
Now you can run it (from the examples directory):
You’re all set.
Have fun coding with PortAudio!
The Spanish general election will take place in 10 days. Since my country is so fucked up, and all human candidates are either retarded, senile, or both, the Great Cthulhu finally woke up in R’lyeh to offer the only sane political option for any Spaniard right now. He is the Leader for the Non-Euclidean Party (PNOE in Spanish), a new political party that will make the end of our days less stupid, more meaningful, and much shorter.
I finally have a Real Leader to vote for in my country.
Vote for PNOE on 11/20!
Cthulhu for president!
Party in R’lyeh to celebrate the end of our days!
That is not dead which can eternal lie,
And with strange aeons even death may die.