Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki...
-
Upload
ada-bennett -
Category
Documents
-
view
213 -
download
0
Transcript of Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki...
![Page 1: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/1.jpg)
Python and more
![Page 2: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/2.jpg)
6.893 Spring 2004: Intro & Python Larry Rudolph
Administration
Check the wiki daily; please contribute
http://money.lcs.mit.edu
Pick partners and tell me
pairs and triplets
![Page 3: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/3.jpg)
6.893 Spring 2004: Intro & Python Larry Rudolph
Connecting to ipaqSerial cable (not usb)
after boot, can just login via some terminal program (minicom/hyperterm)
ssh over the network
setup wireless connection to network
‘ssh -l root 18.24.6.xxx’ into the ipaq
need ip address (do not need dns name)
make sure you are connecting to YOUR ipaq. Easy to mistype ip address.
any issues connecting on campus (MIT or NUS)?
![Page 4: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/4.jpg)
6.893 Spring 2004: Intro & Python Larry Rudolph
Installing software
/etc/ipkg.conf points to “feeds”
we will maintain our own feed
ipkg picks first matching file, not last while searching list of feeds
Copy files to ipaq via
secure copy“scp localFile.py root@ipaqip:/usr/bin/”
serial cablexmodem/ymodem, sx on linux
![Page 5: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/5.jpg)
6.893 Spring 2004: Intro & Python Larry Rudolph
Is your ipaq, your ipaq?
Anonymous vs Personal handheld
Telephone exampleLandline telephones are anonymous
Cell/Mobile phones are personal
Tradeoffs
private statecan be lost or stolen; should be protected
setup overhead on user
daily underhead on user -- setup once and forget
less dependent on connectivity
public/private keys easy to use once setup
![Page 6: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/6.jpg)
6.893 Spring 2004: Intro & Python Larry Rudolph
Our own basic infrastructure
Initialization
NetworkStatic IP, DNS server -- why IPv6 and why not
DHCP: get ip and dns server -- vast improvement
ServersFeed, chat, device, anything new
too many servers & must always be up
What will naive user do?
![Page 7: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/7.jpg)
6.893 Spring 2004: Intro & Python Larry Rudolph
Let’s design it right
What do we want?
Should just work without setup
Observation
most interaction is local
remote interaction is rare
overhead for rare cases is ok
How to setup/find a chat server without a fixed name or ip address?
Interactive class discussion
![Page 8: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/8.jpg)
Python overview
Borrow from the web
![Page 9: Python and more. 6.893 Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.](https://reader036.fdocuments.net/reader036/viewer/2022071807/56649e0e5503460f94af8028/html5/thumbnails/9.jpg)
6.893 Spring 2004: Intro & Python Larry Rudolph
Online Tutorials
Tutorialshttp://www.python.org/doc/tut/tut.html
http://diveintopython.org/
http://www.intelinfo.com/newly_researched_free_training/Python.html
use google or go to python.org