Difference between pages "Practical Crypto BoF" and "Tutorials/Python 3: Making the Leap!"

From LCA2014 Delegate Wiki
(Difference between pages)
Jump to: navigation, search
(Attending)
 
 
Line 1: Line 1:
A BoF on the topic of personal security and practical cryptography. Especially relevant given this morning's keynote.
+
On Wednesday at 10:40 in the Robert Street Lecture Theatre I will be running a tutorial on porting code written for python 2 to work in python 3.
  
=== Time & Location ===
+
This session will be live and interactive, so to get the most out of the tutorial, please bring along a laptop and be ready to hack.
  
 +
== What will be covered? ==
  
Time: Monday 06/01 5:40pm - 6:40pm
+
Getting code to run on python 3 is a *massive* topic, and we could spend an entire week looking at it and not cover everything. As we only have 100 minutes we will only cover a relatively small, but IMHO important, subset of the topic. In particular, we will look at.
  
Room: ENG:LT2
+
* How to get code which currently runs under 2.7 to run under 3.3 (without maintaining 2.7 backwards compatibility).
 +
* How to modify your 2.7 code to be as close to 3.3 compatible as possible.
 +
* How to use different tools to automate the porting process.
 +
* Common gotchas with the automated tools which may require manual intervention
 +
* Strategies for using all the different tools and techniques to make the porting process as simple as possible.
  
 +
We unfortunately won't be able to cover some interesting topics, including
  
=== Agenda ===
+
* How to get code to run under python 2 and 3 simultaneously.
 +
* How to port python extension modules.
 +
* How to use brand new features which have been introduced in python 3.
  
We'll spend the first 5 minutes to set an agenda for discussion.
+
The session will cater to a fairly broad range of abilities. If you're a python newbie, you should be able to keep up with everything. If you're a python guru you might just learn something new (I know I did while preparing the session!).
  
During discussion, suggest a FIFO speaking list managed by a chair, with 2-3 minutes speaking at a time.
+
== What to bring ==
  
Some potential topics for discussion:
+
* A laptop with python 2 and python 3 installed.
 +
* A shell and text editor.
 +
* Any python code which you'd like help porting form 2 to 3.
 +
* The example code from github: https://github.com/timleslie/LCA_py2to3
  
* how the LA community can engage w/ tech security issues & resist subversion
+
All examples are platform agnostic and should work on linux/osx/windows.
* vectors for advocacy
+
* efficacy (or otherwise) of various "secure" webmail providers
+
* hacking on tor, libpurple OTR, etc.
+
* secure mobile communications (e.g. [6])
+
* using OTR chat in Linux
+
* running a tor bridge in Linux
+
* running a secure SIP server in Linux
+
* using tails, the privacy-focused live OS based on Debian
+
  
 +
== What to do ==
  
=== Attending ===
+
* Turn up :-)
 +
* Follow along with all the examples.
 +
* Try out the techniques on your code as we go.
 +
* Ask questions if you would like clarification...
 +
* ... but understand that the answer might be "that's beyond the scope of this session, come and chat with me later".
  
* [[user:Daniel Bryan|Daniel Bryan]]
+
I look forward to seeing you all for a fun and interesting session.
* [[User:Thomas_Sprinkmeier|Thomas Sprinkmeier]]
+
 
* [[User:Daniel_sobey|Daniel Sobey]]
+
@timl
* [[User:Christopher Willoughby|Chris Willoughby]] - possibly
+

Revision as of 18:12, 7 January 2014

On Wednesday at 10:40 in the Robert Street Lecture Theatre I will be running a tutorial on porting code written for python 2 to work in python 3.

This session will be live and interactive, so to get the most out of the tutorial, please bring along a laptop and be ready to hack.

What will be covered?

Getting code to run on python 3 is a *massive* topic, and we could spend an entire week looking at it and not cover everything. As we only have 100 minutes we will only cover a relatively small, but IMHO important, subset of the topic. In particular, we will look at.

  • How to get code which currently runs under 2.7 to run under 3.3 (without maintaining 2.7 backwards compatibility).
  • How to modify your 2.7 code to be as close to 3.3 compatible as possible.
  • How to use different tools to automate the porting process.
  • Common gotchas with the automated tools which may require manual intervention
  • Strategies for using all the different tools and techniques to make the porting process as simple as possible.

We unfortunately won't be able to cover some interesting topics, including

  • How to get code to run under python 2 and 3 simultaneously.
  • How to port python extension modules.
  • How to use brand new features which have been introduced in python 3.

The session will cater to a fairly broad range of abilities. If you're a python newbie, you should be able to keep up with everything. If you're a python guru you might just learn something new (I know I did while preparing the session!).

What to bring

  • A laptop with python 2 and python 3 installed.
  • A shell and text editor.
  • Any python code which you'd like help porting form 2 to 3.
  • The example code from github: https://github.com/timleslie/LCA_py2to3

All examples are platform agnostic and should work on linux/osx/windows.

What to do

  • Turn up :-)
  • Follow along with all the examples.
  • Try out the techniques on your code as we go.
  • Ask questions if you would like clarification...
  • ... but understand that the answer might be "that's beyond the scope of this session, come and chat with me later".

I look forward to seeing you all for a fun and interesting session.

@timl