The internet is full of impostors, unreliable narrators, replicas, spoofers, parodies, and stories that present fiction as fact. Some things that started as fiction become fact, and this also happens in reverse. In conversation, current and former residents Joanne McNeil and Lauren McCarthy will discuss their work and give examples of the murky space between real and fake.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="jquery.js"/></script> | |
<script> | |
$(document).ready(function() { | |
$('#show').click(function() { | |
$('#wiki').fadeIn(); | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
socket.on('user message', function(msg){ | |
console.log('msg: '+msg); | |
var url = 'https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&source=en&target=de&q='+encodeURI(msg); | |
restclient.get(url, function(data) { | |
socket.emit('bot message', data.translations[0].translatedText); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = 300; | |
var y = 300; | |
var speed = 0; | |
var input; | |
var button; | |
var url = "http://api.openweathermap.org/data/2.5/weather?q="; | |
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
background(200); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://www.alchemyapi.com/api/sentiment/proc.html | |
var http = require('http'); | |
//Create the AlchemyAPI object | |
var AlchemyAPI = require('./alchemyapi'); | |
var alchemyapi = new AlchemyAPI(); | |
var demo_text = 'Yesterday dumb Bob destroyed my fancy iPhone in beautiful Denver, Colorado. I guess I will have to head over to the Apple Store and buy a new one.'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example calling API twice for two difference sentences | |
var s = 'The cat is mad.'; | |
$.getJSON(s, params, function(data) { | |
console.log(data); | |
}); | |
s = 'I am very old and tired and sad.' | |
$.getJSON(s, params, function(data) { | |
console.log(data); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////// JQUERY | |
// openweathermap | |
$(document).ready(function(){ | |
$.getJSON("http://api.openweathermap.org/data/2.5/weather?id=5128581&units=imperial", function(data) { | |
alert("Temperature is: " + data.main.temp ); | |
}); | |
}); | |
// nytimes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="p5.js"></script> | |
<script type="text/javascript" src="p5.dom.js"></script> | |
<script type="text/javascript"> | |
function setup() { | |
var c = createCanvas(400, 400); | |
devicePixelScaling(false); | |
background(0); | |
textSize(40); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var text = "The shore line was peaceful and flat, and the calm sea bumped it playfully along the sandy beach. In the distance a beautiful island covered with palm trees and flowers beckoned invitingly from the sparkling water. Nothing can possibly go wrong now, cried the Humbug happily, and as soon as he'd said it he leaped from the car, as if stuck by a pin, and sailed all the way to the little island. And we'll have plenty of time,'' answered Tock, who hadn't noticed that the bug was missing--and he, too, suddenly leaped into the air and disappeared. It certainly couldn't be a nicer day, agreed Milo, who was too busy looking at the road to see that the others had gone. And in a split second he was gone also."; | |
var words = text.split(" "); | |
var sentences = text.split(/[.?!;:]/); | |
//var sentences = text.split(/and|if|the/); | |
console.log("There are "+words.length+" words."); | |
console.log("There are "+sentences.length+" sentences."); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.lmccart.glassolalia; | |
import com.google.android.glass.media.Sounds; | |
import com.google.android.glass.widget.CardBuilder; | |
import com.google.android.glass.widget.CardScrollAdapter; | |
import com.google.android.glass.widget.CardScrollView; | |
import com.google.android.glass.content.Intents; | |
import android.app.Activity; | |
import android.content.Context; |