For chmod +x I developed
a software setup for automated poster production based on a software setup
that was written for WTF?!
.
sorry for exit 1, please exit 0
#!/bin/bash cat <<":*" | _ _ _ ____ _ _ _______|_| | |_ _| | _|____|_ | | _|_| | _____| |+----------------------------------------+_ || chmod +x, Groningen(NL) 2-7 March 2010 |_| |+----------------------------------------+___ |_|_ |_| |___| |_| |_| |_| |_________| |_|_ ____ _______ _________ |_| _|____|_ | _____|_ |___ ___|_ _ | |____| | | |_____|_| | | |_| |_| | __ | | _ _| | | | | |_ | | | |_|___ _|_| |_| |_| |_| |___| |_|:*sed "s|[^A-Za-z]| |g" | sed "s| *| |g" | ( cat <<"=(^-^)=" | #define _BSD_SOURCE #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> const int N=27;int main(int argc,char**argv){int count[N][N][N][N], i,j,k,l;for(i=0;i<N;++i){for(j=0;j<N;++j){for(k=0;k<N;++k){for(l=0; l<N;++l){count[i][j][k][l]=0;}}}}i=0;j=0;k=0;while(0<=(l=getchar()) ){if('A'<=l&&l<='Z'){l-='A'-1;}else if('a'<=l&&l<='z'){l-='a'-1;} else{l=0;}count[i][j][k][l]++;i=j;j=k;k=l;}unsigned char probs[N][N ][N][N];for(i=0;i<N;++i){for(j=0;j<N;++j){for(k=0;k<N;++k){int total=0;for(l=0;l<N;++l){total+=count[i][j][k][l];}if(total==0){ total=1;}int p=0;for(l=0;l<N;++l){p+=count[i][j][k][l];probs[i][j][ k][l]=(255*p)/total;}}}}srand(time(0));i=0;j=0;k=0;while(1){ unsigned char r=rand();int c=0;for(l=0;l<N;++l){if(probs[i][j][k][l ]>=r){c=l;break;}}putchar(" abcdefghijklmnopqrstuvwxyz"[c]);fflush( stdout);i=j;j=k;k=c;usleep(40000);}} =(^-^)= gcc -xc -std=c99 -Wall -pedantic -o chmodxart - && ./chmodxart )--
GOTO10 ONE WAY NFO L!ST
HTTP://GOTO10.ORG
—
HTTP://IDENTI.CA/GOTO10
IRC.GOTO10.ORG #GOTO10
TO UNSUBSCRIBE SEND A MAIL TO
NFO-UNSUBSCRIBE@GOTO10.ORG
http://makeart.goto10.org/chmod+x
Make art is an international festival focused on Free/Libre/Open Source Software (FLOSS) and open content in digital arts. Make art offers performances, presentations, workshops and an exhibition, focused on the blurred line between art and software programming. The fifth edition — chmod +x art — will take place in Groningen (NL), from the 2nd to the 7th of March 2010.