User:Michael Murtaugh/Notes: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
Line 2: Line 2:


Free Software: Free Licenses?
Free Software: Free Licenses?
[http://en.wikipedia.org/wiki/Exquisite_corpse Cadavre Exquis]


An introduction to using lxml to manipulate a structure like SVG?
An introduction to using lxml to manipulate a structure like SVG?
Line 9: Line 11:
* Wikipedia, Gutenberg, Librivox, Open Clip Art
* Wikipedia, Gutenberg, Librivox, Open Clip Art
* Cadavre Exquis SVG
* Cadavre Exquis SVG
 
* SVG
[http://en.wikipedia.org/wiki/Exquisite_corpse Cadavre Exquis]


Source + Tweak...
Source + Tweak...

Revision as of 21:29, 12 October 2011

SVG Pipeline

Free Software: Free Licenses?

Cadavre Exquis

An introduction to using lxml to manipulate a structure like SVG?

  • Graphviz to SVG
  • Mapping (OpenStreetMap) to SVG?

(need tips on other sources of SVG)

  • Wikipedia, Gutenberg, Librivox, Open Clip Art
  • Cadavre Exquis SVG
  • SVG

Source + Tweak...

Python as a tweaking tool

Assignment: To alter an existing SVG, either: (1) Generated from software (2) Obtained from online (open clip art, street maps? ...) (3) Place back online with an appropriate license...

An exercise in Performative Language

  • Declarative vs. Procedural Languages (Handout!)

View: Put-That-There


  • Code readings
  • Moving up and down the hierarchy ... maybe link to Danny Hillis Pattern in the Stone text / presentation?!

Signicant and non-obvious idea: with free software, one really (can) begin with the code and use the code itself as documentation (it sometimes is the best / only documentation).

  • Performing a script
  • The concept of a "PATH"
    • Creating a "bin" folder, ensuring it's in the path.
    • Creating a "pythonlib" folder and adding it to the PYTHONPATH
  • building a video Sniff / downloader

Claiming the terminal

  • gtypist:
    • Typing
    • GNU
    • Fortune
    • .bashrc

(though... ktouch is better)

Open .bash_aliases in your HOME directory, and add:

export PYTHONPATH=$PYTHONPATH:$HOME/pythonlib

Bash

what is a script?

what is a variable?

what is a loop?

sources of (live) information:

  • date
  • traceroute