Py.rate.chnic sessions/2018-2019

From XPUB & Lens-Based wiki

XPUB2 2017-2019 (PAST)


8.10.2018: Tash & Joca // Scrape, rinse and repeat

Edition 1 is a workshop about web scraping: extracting data from websites and exploring applications of it within an artistic practice.Workshop leaders Tash and Joca will share how they use scraping in their graduation projects: from analyzing self-censorship in Indonesia to remixing the design of your daily news. Then it's time for you to collect data, and experiment with ways to present it.

Please read the information below, to make sure you are ready to scrape, rinse and repeat!

Where & when:

Monday the 8th of October 11:00 till 17:00, in our lovely XPUB studio

Things to prepare:

To get started quickly, make sure you have the following software installed

   python3
   pip3
   html5lib
   selenium

You can find installation instructions on the pad: https://pad.xpub.nl/p/pyratechnic1


Programme:

PART 1: human scraping Introduction: Why scraping? Examples of projects Start with pen and paper, analyzing different components, rearranging them

PART 2: programmatic scraping Scraping using Python3: offering two basic scripts to start with 1. html5lib and elementtree (e.g. text, link, and tag scraping) 2. selenium (scraping via web browser automation, e.g. for dynamic elements like comments)

Work in small groups on different scraping prototypes (try different sources, extract different elements, find different presentation forms)

PART 3: performative scraping PRESENT! what did you scrape? can you show it visually? read it aloud? anything surprising? Feedback and wrap-up

29.10.2018: Zalan & Alex

Where & When

Monday, 29.10.2018

11:00 – 17:00 in the small project space

Things to prepare:

Please, if possible, [try to] install the following dependencies:

  • h5py==2.8.0
  • Keras==2.2.4
  • Keras-Applications==1.0.6
  • Keras-Preprocessing==1.0.5
  • numpy==1.15.2
  • Pillow==5.3.0
  • protobuf==3.6.1
  • PyYAML==3.13
  • scipy==1.1.0
  • six==1.11.0
  • tensorflow==1.0.0

Installation

If you wish to use a virtual environment (optional): (first cd to your working directory)

python3 -m venv pyrate.venv
source pyrate.venv/bin/activate

for the rest just use pip3 install as follows:

pip3 install h5py==2.8.0
pip3 install Keras==2.2.4

and so on with the rest!


Programme:

  • 11:00–11:30 Short introduction & discussion about machine learning and computer vision
  • 11:30–13:00 Programming a script in groups of 3–4 (1st years mixed with 2nd years) (?)
  • 13:00–14:00 Lunch
  • 14:00–14:30 Finalising the script
  • 14:30–15:00 Showing the outcomes of the script
  • 15:00–15:10 Coffee break
  • 15:10–15:40 Short introduction & discussion about data visualisation and spatial installations
  • 15:40–16:30 Creating different spatial installations from the outcomes of the first script in groups of 3–4 (1st years mixed with 2nd years)
    • How can the dataset and the algorithm be projected into space / how can the dataset be »experienced«
  • 16:30–17:00 Showing the outcomes of the installations

PAD https://pad.xpub.nl/p/pyrate2

12.11.2018: Angeliki & Alice

PAD

https://pad.xpub.nl/p/pyratechnic_3

OuCuPo - (Ouvroir de Cuisine Potentielle) A prototyping workshop into a 'diwo' collective cooking session with food alternatives - cooking with restrictions

12:00-12:30: Short introduction on what we're going to do, introduction to the topic of meal replacements 12:30-13:00: Split groups, inspect ingredients and recipes, make a plan for after break 13:00-13:50: break 14:00-15:00: Make both 'cakes', take notes on the role of each person/action/ingredient 15:00-15:30: Discussion


OuMéPo - (Ouvroir de Médiation Potentielle)

15:30-15:45 

Introduction and set-up

15:45- 17:15

Equipment needed:

   headphones 
   laptop with Skype/Jitsi or smartphone
   2 cameras

17:15-18:00

Eating and talking 🍕 at the end