[rohrpost] CHMOD +X ART, 2-7 March 2010, Groningen (NL)

Jan-Kees van Kampen vacca at goto10.org
Son Jan 24 11:20:14 CET 2010


sorry for exit 1, please exit 0

#!/bin/bash
cat <<":*" |
_
_ _ ____ _ _ _______|_|
| |_ _| | _|____|_ | | _|_| | _____|
|+----------------------------------------+_
|| chmod +x, Groningen(NL) 2-7 March 2010 |_|
|+----------------------------------------+___
|_|_ |_| |___| |_| |_| |_| |_________|
|_|_ ____ _______ _________
|_| _|____|_ | _____|_ |___ ___|_ _
| |____| | | |_____|_| | | |_| |_|
| __ | | _ _| | |
| | |_ | | | |_|___ _|_|
|_| |_| |_| |___| |_|


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.

Workshop hello wor(l)d!, exhibition, Hocus Pocus lecture evening,
Placard headphone concert, breakfast club, speed geeking & PechaGnucha,
bookshop.

With: Wayne Clements (GB), Martin Howse (GB), Graham Harwood (GB),
IOhannes Zmölnig (AT), Pall Thayer (IS), Dave Griffiths (GB), Gabor
Papp (HU), Agoston Nagy (HU), Florian Cramer (DE), Nathalie Magnan (FR),
Dmytri Kleiner (RU), ...

http://makeart.goto10.org/chmod+x

-- 

Make art is een internationaal festival rond Free/Libre/Open Source
Software (FLOSS) en open content in digitale kunst. Make art biedt
performances, presentaties, workshops en een expositie, rond de vage
grens tussen kunst en het programmeren van software.

De vijfde editie - chmod +x art - vindt plaats in Groningen (NL) van
2 tot en met 7 maart 2010.

Workshop hello wor(l)d!, expositie, Hocus Pocus lezingen avond, Placard
koptelefoon concert, breakfast club, speed geeking & PechaGnucha,
boekwinkel.

Met: Wayne Clements (GB), Martin Howse (GB), Graham Harwood (GB),
IOhannes Zm??lnig (AT), Pall Thayer (IS), Dave Griffiths (GB), Gabor
Papp (HU), Agoston Nagy (HU), Florian Cramer (DE), Nathalie Magnan (FR),
Dmytri Kleiner (RU), ...

http://makeart.goto10.org/chmod+x

:*

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 at GOTO10.ORG