User:Michael Murtaugh/Notes: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
Line 1: Line 1:
== An exercise in Performative Language ==
== SVG Pipeline ==


View: Put-That-There
Free Software: Free Licenses?
 
* Declarative vs. Procedural Languages (Handout!)


An introduction to using lxml to manipulate a structure like SVG?
An introduction to using lxml to manipulate a structure like SVG?
Line 18: Line 16:
(2) Obtained from online (open clip art, street maps? ...)
(2) Obtained from online (open clip art, street maps? ...)
(3) Place back online with an appropriate license...
(3) Place back online with an appropriate license...
== An exercise in Performative Language ==
* Declarative vs. Procedural Languages (Handout!)
View: Put-That-There


* Code readings
* Code readings

Revision as of 10:36, 12 October 2011

SVG Pipeline

Free Software: Free Licenses?

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)

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