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

From LCA2014 Delegate Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
This is an index of all the "Birds of a feather" sessions organised and run on an informal basis by attendees of the conference.
+
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.
  
==TBA:==
+
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.
  
* [[HAM Radio BoF]]
+
== What will be covered? ==
* [[OpenRadio BoF]]
+
* [[CAcert]]
+
  
==BoFs Recurring on Multiple Days==
+
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.
  
=== Running BoF - New location ===
+
* 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.
  
6am conference mornings from the back of St Georges college on Park Ave. Anyone driving can park right next to this location on Park Ave and it is in the park already.
+
We unfortunately won't be able to cover some interesting topics, including
  
Conference mornings, Perth has no Daylight saving and it will be hot in January, we will be keen to get a morning run out of the way early.
+
* How to get code to run under python 2 and 3 simultaneously.
In past years we have met up at 6am to head out for a run, anyone keen to join in is welcome. There are a large number of options in the Kings park area to really enjoy a morning run.
+
* How to port python extension modules.
 +
* How to use brand new features which have been introduced in python 3.
  
My initial suggestion is meet out the front of Trinity College each morning and we can find runs to do into Kings Park and along the river. I have done some runs in both areas in the past and it really is worthwhile. There ares ome interesting features such as Jacobs Ladder, a set of stairs many runners test themselves out on at the end of Cliff St at the other end of the park. Good trails through the park and some great scenery along the river for easier runs.
+
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!).
  
Also possibly of interest to anyone arriving early (there in time for Saturday morning 4th of Jan or still around the following Saturday morning 11th Jan) there are free timed weekly 5km runs all around Australia called Parkrun. They started in the UK and there a re a huge number over there. In Perth there are 3 on and the closest to the campus is Claisebrook Cove. http://www.parkrun.com.au/claisebrookcove/
+
== What to bring ==
  
I (Steven Hanley) will be competing in both of them as an out of state tourist. To compete and get a time you need to register and bring a printed barcode to the event.
+
* 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
  
=== Hackerspace Visits ===
+
All examples are platform agnostic and should work on linux/osx/windows.
  
The [http://artifactory.org.au Artifactory] will be open on Monday and Friday evenings from 7pm.
+
== What to do ==
  
See the Artifactory, chat with other Hackerspace delegates, touch up your pet hacks.
+
* Turn up :-)
We'll fire up the barbecue on Friday night following the LCA closing talks.
+
* 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".
  
Public Transport isn't great, bus route 400 comes within 700m, route 98 is faster but stops 1.3Km out.
+
I look forward to seeing you all for a fun and interesting session.
  
The Industrial Park is largely abandoned after 5pm, so there's plenty of parking for those with transport.
+
@timl
 
+
== Monday afternoon/evening ==
+
 
+
=== [[Astronomy BoF]] - Stargazing at Perth Observatory (8:30pm - 10:30pm) ===
+
 
+
Visit the Astronomy BoF page for details on:
+
 
+
* Tour to Perth Observatory [confirmed]
+
* Astronomy BoF Lunch [TBC]
+
 
+
=== BoFs Following on from Monday Miniconfs ===
+
 
+
https://lca2014.linux.org.au/programme/schedule/monday
+
 
+
==== 17:40 - 18:40 Monday ====
+
 
+
{| class="wikitable"
+
!GEO:WOOLNOUGH
+
!GGL:GENTILLI
+
!GGL:WEBB
+
!ENG:LT1
+
!ENG:LT2
+
|-
+
|
+
| [[bitcoin BoF|Bitcoin (et al) BoF]]
+
| [[emacs BoF]]
+
| OpenStack CI
+
| [[Practical Crypto BoF]]
+
|}
+
 
+
==== 18:40 - 19:40 Monday ====
+
{| class="wikitable"
+
!GEO:WOOLNOUGH
+
!GGL:GENTILLI
+
!GGL:WEBB
+
!ENG:LT1
+
!ENG:LT2
+
|-
+
|
+
|
+
|
+
|
+
|
+
|}
+
 
+
== Tuesday morning/afternoon ==
+
 
+
https://lca2014.linux.org.au/programme/schedule/tuesday
+
 
+
=== BoFs before Tuesday's Miniconfs ===
+
* [[Martial Arts Bof]]
+
 
+
=== BoFs Following on from Tuesday Miniconfs ===
+
* [[OpenRadio BoF]]?
+
 
+
==== 17:40 - 18:40 ====
+
{| class="wikitable"
+
!GEO:WOOLNOUGH
+
!GGL:GENTILLI
+
!GGL:WEBB
+
!ENG:LT1
+
!ENG:LT2
+
|-
+
| BlueHackers http://bluehackers.org
+
| Google Summer of Code
+
|
+
| [[Pi_BoF|Raspberry Pi BOF]]
+
| [[Jobs BOF]]
+
|}
+
 
+
==== 18:40 - 19:40 ====
+
{| class="wikitable"
+
!GEO:WOOLNOUGH
+
!GGL:GENTILLI
+
!GGL:WEBB
+
!ENG:LT1
+
!ENG:LT2
+
|-
+
| [[Key signing]]
+
| [[OSIA BoF]]
+
|
+
|
+
|
+
|}
+
 
+
== Saturday 11th ==
+
 
+
[[Castledare Miniature Railway Bof]]
+

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