Tell the story of an interaction you had today– written in computer code.

Yes, we know many of you are not programmers. It should just be a series of logic instructions, or if/then statements, or… well just be creative, heck make up your own personal programming language!

IF (PROGRAMMER != YOU) THEN MAKEUPALANGUAGE=TRUE
STORY = YOU + IMAGINATION * CREATIVITY
ABETTER PLACE = STORIES->YOURS + STORIES->MINE
Add your response

 

Submitted by Alan Levine

There are 7 written responses to this assignment.


Yes, We Have No Tomatillos

Written by Cris Crissman @Cris2B on September 22, 2013 11:54 pm
Leave a comment

Tomatillos :: = yummy salsa / roasted w poblano + jalapeno + garlic

@ Farmers Market / quest 4 tomatillos

Farmer 1 :: = 0 tomatillos

Farmer 2 :: = 0 tomatillos

Farmer 3 :: = 0 tomatillos

All Farmers :: = 0 tomatillos

End :: = 0 tomatillos /Raleigh, North Carolina

No yummy salsa ;-(


House Unpack

Written by karenatsharon on September 22, 2013 10:45 pm
Leave a comment

//newhouse.com/unpacking/stress/ruining_relationships

When Tempers Fray…<br /> boxesstackedhigh.jpg</p> <p> When moving into a new home, chances are that you’re going to become very frustrated. Here’s what to do so you can keep calm and stress free.</p> <p>1. Make a floor plan of where you want your furniture to go.<br /> 2. Do not lose your temper when no one follows your floor plan.<br /> 3. Do not ask to have the furniture moved again after it has been moved more than two times.<br /> 4. Do not critize your partner and their deplorable lack of skill in moving furniture.<br /> 5. Make sure you know where the kleenex are.<br /> 6. Make sure you know where the wine and wine glasses are.<br /> 7. Have the pizza palace on speed dial. </p> <p> </pre></div><hr /><h2 class="entry-title"><a href="https://tdc.ds106.us/writings/a-family-expedition/">A Family Expedition</a></h2><div class="post-header-info"><address class="vcard author">Written by Dave Barr on September 22, 2013 10:32 pm</address><span class="comments-link"><a href="https://tdc.ds106.us/writings/a-family-expedition/#Comments">Leave a comment</a></span></div><div class="entry-content clearfix"><pre><p> -this would be the doctype tag<br /> -this would be the html tag<br /> <title> -this would be the title tag<br /> ds106 Story<br /> -this would be the closing title tag

-would be the body tag

-This is the start of the script (Javascript)

var me = “Dave, “;
var groupmaker = ” and “;
var family = “Norma, James, Dawn and Hunter”;
var destination = ” in the woods “;
var activity1 = ” went for a walk “;
var activity2 = ” walked some more, “;
var activity3 = ” saw some trees, “;
var activity4 = ” saw some more trees, “;
var timeframe = “Today “;
var grouppronoun = “They “;
var conclusion = ” Then they all went home, tired but happy.”;

var beginning = timeframe.concat(me);
beginning = beginning.concat(family);
beginning = beginning.concat(activity1);
beginning = beginning.concat(destination);

document.write(beginning);

var storybody = grouppronoun;
for(var i=0;i<100;i++) {
storybody = storybody.concat(makeStory(activity2,activity3,activity4));
}

document.write("

“);
document.write(storybody);

document.write(“

“);
document.write(conclusion);

function makeStory(step1,step2,step3)
{
var nextstep = step1.concat(step2);
nextstep = nextstep.concat(step3);
return nextstep;
}

-this is the end of the script

-this would be the closing body tag
-this would be the closing html tag


First Window Cleaning in Years!

Written by @raccooncity on September 22, 2013 7:16 pm
Leave a comment

IF windows are dirty THEN call window cleaners ELSE do it yourself
REPEAT screen removal UNTIL all are outside
INPUT total number of screens cleaned
LET total number of screens = TNS
PRINT total cost = (price per screen x TNS) + base price
ON price presentation GOTO chequebook
WHILE windows are clean enjoy the view
END


SundayAfterNoonRoutine

Written by Bill Smith @byzantiumbooks on September 22, 2013 3:23 pm
Leave a comment

Start:SundayAfterNoonRoutine

define:
fam=
gen(1)=Bill, Liz
gen(2)=Holly, Daniel
gen(2:attachments)=Ryan, Tabatha
gen(3)=Emeline

Action:
din=grilled chicken, penne pasta, corn
dinsub(1)=grill chicken
dinsub(2)=cook pasta
dinsub(3)=cook corn
arrivalsub(1)=unlock front door
dinsub(4)=set table

subs=
dinsub(1)=open gas valve, heat grill, grill chicken time?=done
dinsub(2)=heat gallon water, insert pasta, boil time?=11minutes
dinsub(3)=open cans, dump corn in pot, heat time?=done
dinsub(4)=six each:plates, forks, knives, napkins

afterAction:
cleansub(1)=dishes: rinse, insert into dishwasher, run dishwasher
relaxsubopt(1)=tv?football
relaxsubopt(2)=nap?closeeyes
relaxsubopt(3)=play?withbaby
relaxsubopt(4)=talk?withfam
relaxsuprequired(1)=DailyCreate time?-finish

endtime?17:00:everyoneelse:gohome


use mower;

Written by Stephen (the Cossack) Downes on September 22, 2013 12:42 pm
Leave a comment

mow_lawn {
use mower;use battery;
insert battery($mower);
if (battery != charged) { &charge_battery(); }
push @lawn,$mower;
}

charge_baggery {
use plug;
remove_battery;
set_timeout (plug, 15 hours);
if (battery != charged) {
$battery = &replace_battery();
charge_battery();
}
insert_battery;
}

replace battery {
use money;
read battery_info;
search(online,”battery_info”);
open(“car door)->address(“Canadian Tire”);
exchange($money,$battery);
return $battery;
}


function getNicecastWorking

Written by johnjohnston on September 22, 2013 12:06 pm
Leave a comment
//this validates!
//but is a few functions short;-)
//I wonder if the whitespace will be preserved?
 
function getNiceCastWorking(anotheridea){
	addEffects(anotheridea);
	setGains(anotheridea);
	startBroadCast();
	phoneSkypeLady();
	stopBroadCast();
	listenToArchive();
}

function listenToArchive(){
	if(audable){
		cheer;
		getSomeSleep;
		break;
		}else{
			var morefacts = readInternet();
			var newidea=getNewIdea(morefacts);
			getNiceCastWorking(newidea);
		}
}