Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast...

36
Connecting the Dots by Kirby Urner, 4D Solutions, Summer of 2007

Transcript of Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast...

Page 1: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Connecting the Dots

by Kirby Urner, 4D Solutions, Summer of 2007

Page 2: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

What is P4E?

oscon 2007

Page 3: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

P4E in Portland, Oregon circa 2007

Page 4: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Programming for Everybody (P4E)

• Guido, IDLE and the .mil sector (CP4E)• Add-ons from the .edu sector (e.g.

VPython)• Edu-sig archive at Python.org• M. Shuttleworth matrix (kusasa.org etc.)• A. Kay matrix (Dynabook, OLPC etc.)• K. Urner matrix (HP4E etc.)• A. Siegel matrix (Pygeo etc.)• … and so on (every “gnu math teacher”

gets a “matrix” and applies a “spin” – KU’s namespace)

Page 5: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

OK, so who am I then?

START: Chicago;

MOVE: Portland;

MOVE: Rome;

MOVE: Florida;

MOVE: Philippines;

MOVE: Princeton… (lots of MOVEs)

Page 6: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth program (LAAP), NPYM delegate to AFSC

AFSC = American Friends Service Committee, Nobel Peace Prize 1947, NPYM = North Pacific Yearly Meeting

Page 7: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Looking back: St. Dominic Academy (Jersey City, 1981), Americans for Civic Participation (Wash. DC), McGraw-Hill (New York City, 1984); Center for Urban Education (PDX); BFI webmaster; 1st International Conference on Bucky Balls (Santa Barbara, 1993); GENI Centennial (1995); Parliament of World Religions (Cape Town, 1999), xBase programmer (dBase then FoxPro), student of Python (starting Python 1.x).

Page 8: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

We’ll get back to me later…

Page 9: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Let’s look at four “cave paintings” I drew…

Page 10: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Everything is an object…

…including “math objects.”

Like vectors, polynomials, polyhedra, fractals, factories… permutations.

Math topics + object-oriented model = a new standard (one of many).

Page 11: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Useful multilingual mnemonic: a Python has lots of __ribs__

Page 12: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Multi-lingual mnemonic: a Python has lots of __ribs__

Python Bridge, Amsterdam

Multi-cultural uroboros imagery

Page 13: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Many languages can do it…

Python plays well with others

Python is a “glue” language

The name of the game is: Interoperability.

e.g. multiple VHLLs targeting the same VM.

Page 14: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Python @ Home

Page 15: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

“Math is an Extensible Type System” – K. Urner

“Maths are Extensible Type Systems” – U.K. version

KEY:

N = NaturalZ = IntegerQ = Rational R = RealC = Complex

Bull’s Eye: Aiming for Zero(keeping it very high level)

Page 16: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Lexical versus Graphical:finding the right balance

Left: using string.Template to interpolate into POV-Ray’s scene description language Above: an X3D visualization in FluxPlayer, also template driven.

Page 17: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Lexical-Graphical Bridge One:

Figurate and Polyhedral Number Sequences

Page 18: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Polyhedral Numbers: HP4E Fits Here

Page 19: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

What is HP4E?

Page 20: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

HP4E: HexaPents for Everybody

Page 21: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

HP4E Pentagon Maths

By K. Urner, with Python + POV-Ray, for Design Science Toys

Page 22: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Lexical-Graphical Bridge Two:

Vectors, Edges & Facesin a Computational

GeometryXYZ, CCP

V + F = E + 2

edges, surface, volume

spin, scale, translate

linear algebra

vector, scalar

v0 + v1 ( __add__ )

s * v0 ( __mul__ )

Descartes, Hamilton, Gibbs, Grassmann, Clifford et al

quadrays, quaternions

Page 23: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

string.Template: Mad Libs

Page 24: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

string.Template: Mad Libs

Page 25: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

string.Template: X3D etc.

gl_theedge is boilerplate X3D (XML version)

Page 26: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

string.Template: X3D etc.

edict contains key:value pairs for an X3D Edge

Page 27: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

X3D: Visualizing a Model

Page 28: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Lexical-Graphical Bridge Three:

Geography

GIS / GPS

SQL

XML-RPC

AJAX

CGI

Client side

Server side

Web services

TCP/IP

Internet

Networks

GST

Astronomy

Physics

Geocaching

Surveying

Page 29: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

SQL + CGI:a “bare bones” beginning

http://www.4dsolutions.net/ocn/geoquiz.html

Page 30: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

XML & Web Services

http://www.4dsolutions.net/ocn/winterhaven/

Page 31: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Lexical-Graphical Bridge Four:

Game Engines with Python Bindings

Page 32: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

More recent autobio…

EuroPython 2005 (Chalmers): Pythonic Math, HP4E links

OSCON 2005 (PDX) : Friends of Fuller open source

Shuttleworth Foundation 2006 (London): Kusasa project

Page 33: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

• Less reliance on expert authorities (peers teaching peers)

• A focus on modeling, endowing objects with behaviors

• Immersive environments implemented in software

• Students demonstrate their ability to learn and apply tools without becoming too attached to any specific tool

A project of The Shuttleworth Foundation

Page 34: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

P4E in PDX

Saturday Academy: recruiting new Silicon Foresters

• 2004: Adventures in Open Source (sa:); West Precinct, HPD; J. Collord & K. Urner

• 2005 – 2006: Python @ Winterhaven Public School; K. Urner

• 2005 – 2007: Pythonic math courses (sa:); OGI, PSU; K. Urner

Page 35: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Model, View, ControllerModel: polyhedra.py; Views: VPython, POV-Ray, X3D; Controller: *toyz.py

http://www.4dsolutions.net/ocn/cp4e.html

Page 36: Connecting the Dots - 4D Solutions · 2007. 9. 8. · Son of AFSC work camp leaders in Mideast (Fischer vs. Spassky), Asia-Pacific Issues News (writer, editor), clerk of AFSC youth

Related PDFs:

Connecting the Dots: American Transcendentalism Meets Pythonic Math by Kirby Urner, June 2007

http://www.4dsolutions.net/presentations/urner_europython_2007.pdf

These slides:

http://www.4dsolutions.net/presentations/connectingthedots.pdf