User:Lucia Dossin/Thematic Seminars/Politics of Craft: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "==== Retro Analog Nostalgia ==== https://www.kickstarter.com/projects/udam2/a-memory-between-us-a-postcard-kit-when-you-travel")
 
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
==== Retro Analog Nostalgia ====
<h1> Retro Analog Nostalgia </h1>
Just came across this project the other day...


https://www.kickstarter.com/projects/udam2/a-memory-between-us-a-postcard-kit-when-you-travel
http://www.kickstarter.com/projects/udam2/a-memory-between-us-a-postcard-kit-when-you-travel
 
<h1> Print Cake </h1>
Presented at V2 from June 24 to June 29 2014, ''News from Nowhere'' exhibition
 
== Description ==
''Print Cake'' is an installation/performance where cupcakes are decorated with a snippet of William Morris' News from Nowhere printed on edible paper and edible ink and sold for customers/visitors.
 
There are two kinds of cupcakes: the standard and the customized. The former costs less than the latter. For the customized version, customers choose a color and a word, through a simple interface (a one-page website running on full screen browser without navigation bars). The word generates a snippet of text (taken from News from Nowhere). This text is placed onto a designed template and in combination with the chosen color is printed on edible paper and placed on top of the cupcake. In the standard version no choices are possible – they all have the same color and just a few variations on the text snippets.
 
== Sketch ==
[[File:Table-sketch.png|600px]]
 
== Design ==
=== Print templates ===
 
[[File:Template-print-cake.png|600px]]
 
The ornament used in the template above was designed by Artyom Kocharyan for this exhibition.
 
[[File:Artyom-vector.png|600px]]
 
== System ==
=== Orders ===
Front end
<gallery>
File:Screensaver00.jpg | front end screenshots
File:Screensaver01.jpg
File:Screensaver02.jpg
File:Screensaver03.jpg
File:Screensaver04.jpg
File:Screensaver05.jpg
File:Screensaver06.jpg
File:Screensaver07.jpg
File:Screensaver08.jpg
File:Screensaver09.jpg
File:Screensaver10.jpg
File:Screensaver11.jpg
File:Screensaver12.jpg
</gallery>
Back end
<gallery>
File:Orders0.jpg | orders, back end screenshots
File:Orders1.jpg
File:Orders2.jpg
File:Orders3.jpg
</gallery>
 
=== Database ===
<source lang="python">
#code from stackoverflow by Haymond Hettinger
from re import finditer
from itertools import tee, islice, izip, chain, repeat
 
file = open('pg3261.txt', 'r')
#News from Nowhere in txt format, downloaded from gutenberg.org
 
text = file.read()
 
 
def kwic(text, tgtword, width=10):
    #'Find all occurrences of tgtword and show the surrounding context'
    matches = (mo.span() for mo in finditer(r"[A-Za-z\'\-]+", text))
    padded = chain(repeat((0,0), width), matches, repeat((-1,-1), width))
    t1, t2, t3 = tee((padded), 3)
    t2 = islice(t2, width, None)
    t3 = islice(t3, 2*width, None)
    for (start, _), (i, j), (_, stop) in izip(t1, t2, t3):
        if text[i: j] == tgtword:
            context = text[start: stop]
            yield context
 
#print list(kwic(text, 'pleasure'))
#instead of simply printing, I printed in SQL syntax so that I could easily run a SQL INSERT INTO directly in PHPMyAdmin to populate the DB
 
lista = kwic(text, 'pleasure')
iterator = 245
#last ID in the DB
 
f1 = open('sqlfile.txt', 'w+')
 
for item in lista:
    str_it = str(iterator)
f1.write( "(" + str_it +  ", 'pleasure', :'" + item + "')," )
iterator = iterator +1
f1.close()
</source>
 
Database screenshots
 
<gallery>
File:Db0.jpg
File:Db1.jpg
File:Db2.jpg
File:Db3.jpg
File:Db4.jpg
File:Db5.jpg
File:Db6.jpg
File:Db7.jpg
File:Db8.jpg
File:Db9.jpg
File:Db10.jpg
File:Db11.jpg
File:Db12.jpg
File:Db13.jpg
File:Db14.jpg
</gallery>
 
== Photos ==
<gallery>
File:P6244930-by-michael.jpg|photo by Michael Murtaugh
File:P6244935-by-michael.jpg|photo by Michael Murtaugh
File:P6244936-by-michael.jpg|photo by Michael Murtaugh
File:P6244929-by-michael.jpg|photo by Michael Murtaugh
File:DSCF7253-by-mathijs.jpg|photo by Mathijs van Oosterhoudt
File:New-9-by-luisa.jpg|photo by Ana Luisa Moura
</gallery>

Latest revision as of 16:57, 3 July 2014

Retro Analog Nostalgia

Just came across this project the other day...

http://www.kickstarter.com/projects/udam2/a-memory-between-us-a-postcard-kit-when-you-travel

Print Cake

Presented at V2 from June 24 to June 29 2014, News from Nowhere exhibition

Description

Print Cake is an installation/performance where cupcakes are decorated with a snippet of William Morris' News from Nowhere printed on edible paper and edible ink and sold for customers/visitors.

There are two kinds of cupcakes: the standard and the customized. The former costs less than the latter. For the customized version, customers choose a color and a word, through a simple interface (a one-page website running on full screen browser without navigation bars). The word generates a snippet of text (taken from News from Nowhere). This text is placed onto a designed template and in combination with the chosen color is printed on edible paper and placed on top of the cupcake. In the standard version no choices are possible – they all have the same color and just a few variations on the text snippets.

Sketch

Table-sketch.png

Design

Print templates

Template-print-cake.png

The ornament used in the template above was designed by Artyom Kocharyan for this exhibition.

Artyom-vector.png

System

Orders

Front end

Back end

Database

#code from stackoverflow by Haymond Hettinger
from re import finditer
from itertools import tee, islice, izip, chain, repeat

file = open('pg3261.txt', 'r') 
#News from Nowhere in txt format, downloaded from gutenberg.org

text = file.read()


def kwic(text, tgtword, width=10):
    #'Find all occurrences of tgtword and show the surrounding context'
    matches = (mo.span() for mo in finditer(r"[A-Za-z\'\-]+", text))
    padded = chain(repeat((0,0), width), matches, repeat((-1,-1), width))
    t1, t2, t3 = tee((padded), 3)
    t2 = islice(t2, width, None)
    t3 = islice(t3, 2*width, None)
    for (start, _), (i, j), (_, stop) in izip(t1, t2, t3):
        if text[i: j] == tgtword:
            context = text[start: stop]
            yield context

#print list(kwic(text, 'pleasure'))
#instead of simply printing, I printed in SQL syntax so that I could easily run a SQL INSERT INTO directly in PHPMyAdmin to populate the DB

lista = kwic(text, 'pleasure')
iterator = 245 
#last ID in the DB

f1 = open('sqlfile.txt', 'w+')

for item in lista:
    str_it = str(iterator)
	f1.write( "(" + str_it +  ", 'pleasure', :'" + item + "')," )
	iterator = iterator +1
	
f1.close()

Database screenshots

Photos