PLAYERS TASKS PRAXIS TEAMS EVENTS
Username:Password:
New player? Sign Up Here
Sean Mahan
Level 4: 566 points
Alltime Score: 5041 points
Last Logged In: June 25th, 2024
BADGE: Admin BADGE: Journey To The End Of The Night BADGE: The Sweet Cheat Gone TEAM: 761 Oak Street TEAM: San Francisco Zero TEAM: The Icepacks TEAM: LØVE TEAM: test team TEAM: Public Library Zero TEAM: INFØ TEAM: The Restored Images Team BART Psychogeographical Association Rank 1: Commuter EquivalenZ Rank 2: Human Googlebot The University of Aesthematics Rank 1: Expert Society For Nihilistic Intent And Disruptive Efforts Rank 2: Trickster


40 + 91 points

Physical Representation Of A Virtual Occurrence by Sean Mahan, qwerty uiop

November 3rd, 2005 11:06 PM / Location: 37.77387,-122.4318

INSTRUCTIONS: Create a public or semi-public physical representation of a virtual occurrence.

working light 2We set up a light to turn on whenever players submit proof of a completed task. In fact, the light is on...right now!

When we approve the proof, the light turns off again.

The light originally comes from ikea. We found it on the street on a table with a bunch of other stuff. it looked like someone had made a lot of impulse ikea purchases and then had a change of heart and threw everything out. we got some convex mirrors too.

anyway, putting up the thing was pretty easy, just drilled some holes in the wall. for some reason, the power drill wasn't working so well, so we used a regular screw driver.

I approved the task, and now the light is off again.

- smaller

working light

working light


sean preparing

sean preparing


sean at work

sean at work


sam at work

sam at work


the light is up

the light is up


the light on

the light on


working light 2

working light 2



18 vote(s)



Favorite of:


Terms

everyoneshouldsee

6 comment(s)

Here's the shell script
posted by Sean Mahan on November 3rd, 2005 11:07 PM

#!/usr/bin/php -q
< ?php
$anypending=fopen('[whatever url]',r);
while (!feof($anypending)){
$buffer = fgets($anypending, 30);
$any = $buffer;
}
fclose($anypending);

if ($any=='yes'){
$yadda= popen("br -c A -n 1",r);
}
else if ($any=='no'){
$yadda= popen("br -c A -f 1",r);
}
? >

Here's the web script
posted by Sean Mahan on November 3rd, 2005 11:18 PM

< ?php
$c = mysql_connect([the server], [the user], [the password]);
$d =mysql_select_db([the database],$c);
$thepending=mysql_query("SELECT [the field] FROM [the table] WHERE [the field]=1",$c);
$counter=mysql_num_rows($thepending);
mysql_close($c);
if ($counter>0){
echo 'yes';
}
else {
echo 'no';
}
? >

Before there was drilling, there was coding. Sort of
posted by Sean Mahan on November 3rd, 2005 11:44 PM

How it works
A script runs every x minutes (currently, x=1) on a computer at our apartment, which checks a url that spits out either "yes" or "no". That answer comes from a script that checks the SF0 database to see if there are any tasks that are completed, but haven't yet been approved. The local computer runs a command line utility called Bottle Rocket ("br"), which is so named because it controls the FireCracker [Warning: hideous website] serial X-10 interface. Depending on whether it got a "yes" or a "now", it sends either the "on" or "off" command (respectively) to a box sitting between our an outlet and our light.

And don't give me shit about the FireCracker kit ostensibly costing $39.99. I picked it up for $6 (well, "free" + S&H) a couple years ago, when x10.com occasionally ran such a promotion. It didn't succeed in spurring me to buy an entire smarthome's worth of x10 gear, but it did end up being perfectly suited to this task...

Love Love love… dun dah dah… +1
posted by Blue on August 18th, 2007 3:03 PM

I fucking love you guys…
If there were more like you on SFØ there would be a lot better tasks coming out of equivalenz.

Ya'll make being nerds look so fucking cool…
We should make SFØ the møvie!

P.S. How dare you spend $39.99 on firecracker… sheesh!
*Sarcasm triggered light illuminates*

(no subject)
posted by Fonne Tayne on January 18th, 2008 11:13 AM

Umm... is SFØ the movie still on track?

Also, no one told me bout the light. I have basked in its glow, ignorant but pleased.

(no subject)
posted by Lincøln on January 19th, 2008 2:15 PM

Actually, the best part of going to your place was seeing that light on. I totally geeked out. It was like meeting a celebrity for the first time after only knowing them on screen. The first hour or so of that party I was totally out of it. And it had a lot to do with that light right there. I mean sure, I met p00n and Dax and Ms. Envy and Zemaluco and Sh'laco and Eddy and JTony and everybody else, but this light made me all giddy.