Commits

fdion  committed 1fbd1a9

presentation from june

  • Participants
  • Parent commits c7eebbd

Comments (0)

Files changed (28)

File debug/LICENSE

+Copyright (c) 2012 Francois Dion (francois.dion@gmail.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+

File debug/README.md

+PYPTUG Main talk
+================
+
+The Lost Art Of Digital Entomology by Francois Dion
+---------------------------------------------------
+
+http://www.pyptug.org/2013/06/pyptug-meeting-june-24th.html
+
+This information was presented at PYPTUG meeting, june 24th 2013.
+
+In recent years, the scientific study of "bugs" has been reduced to running a debugger (or perhaps writting a bunch of print statements - you know who you are...). But is it really just that? Do we even need the debugger? Are you one with your logs? Can you quantify the sting?
+
+See http://www.pyptug.org and http://raspberry-python.blogspot.com
+
+Francois Dion's demonstration code is distributed under the MIT license (see LICENSE)

File debug/input.py

+#!/usr/bin/python
+
+answer = raw_input("what is your age")
+number = int(answer)
+print number

File debug/presentation/css/highlight.css

+.highlight .hll { background-color: #ffffcc }
+.highlight .c { color: #408090; font-style: italic } /* Comment */
+.highlight .err { border: 1px solid #FF0000 } /* Error */
+.highlight .k { color: #007020; font-weight: bold } /* Keyword */
+.highlight .o { color: #666666 } /* Operator */
+.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
+.highlight .cp { color: #007020 } /* Comment.Preproc */
+.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
+.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
+.highlight .gd { color: #A00000 } /* Generic.Deleted */
+.highlight .ge { font-style: italic } /* Generic.Emph */
+.highlight .gr { color: #FF0000 } /* Generic.Error */
+.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.highlight .gi { color: #00A000 } /* Generic.Inserted */
+.highlight .go { color: #303030 } /* Generic.Output */
+.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
+.highlight .gs { font-weight: bold } /* Generic.Strong */
+.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.highlight .gt { color: #0040D0 } /* Generic.Traceback */
+.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
+.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
+.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
+.highlight .kp { color: #007020 } /* Keyword.Pseudo */
+.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
+.highlight .kt { color: #902000 } /* Keyword.Type */
+.highlight .m { color: #208050 } /* Literal.Number */
+.highlight .s { color: #4070a0 } /* Literal.String */
+.highlight .na { color: #4070a0 } /* Name.Attribute */
+.highlight .nb { color: #007020 } /* Name.Builtin */
+.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
+.highlight .no { color: #60add5 } /* Name.Constant */
+.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
+.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
+.highlight .ne { color: #007020 } /* Name.Exception */
+.highlight .nf { color: #06287e } /* Name.Function */
+.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
+.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
+.highlight .nv { color: #bb60d5 } /* Name.Variable */
+.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
+.highlight .w { color: #bbbbbb } /* Text.Whitespace */
+.highlight .mf { color: #208050 } /* Literal.Number.Float */
+.highlight .mh { color: #208050 } /* Literal.Number.Hex */
+.highlight .mi { color: #208050 } /* Literal.Number.Integer */
+.highlight .mo { color: #208050 } /* Literal.Number.Oct */
+.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
+.highlight .sc { color: #4070a0 } /* Literal.String.Char */
+.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
+.highlight .s2 { color: #4070a0 } /* Literal.String.Double */
+.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
+.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
+.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
+.highlight .sx { color: #c65d09 } /* Literal.String.Other */
+.highlight .sr { color: #235388 } /* Literal.String.Regex */
+.highlight .s1 { color: #4070a0 } /* Literal.String.Single */
+.highlight .ss { color: #517918 } /* Literal.String.Symbol */
+.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
+.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
+.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
+.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
+.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */

File debug/presentation/css/hovercraft.css

+/* This file left intentionally (almost) blank
+
+   Landslide always adds a print.css and a screen.css, but they
+   are not needed in impress.js, so this theme leaves them blank,
+   except for hiding some things you want to hide.
+   
+   You can modify these files in your own fork, or you can add
+   css-files in the landslide configuration file. 
+   See https://github.com/adamzap/landslide#presentation-configuration
+   
+*/
+
+.impress-supported .fallback-message,
+.step .notes {
+    display: none;
+}
+
+.step {
+    width: 800px;
+}
+
+
+/* Help popup */
+
+#hovercraft-help {
+    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
+    color: #EEEEEE;
+    font-size: 50%;
+    left: 2em;
+    bottom: 2em;
+    width: 26em;
+    border-radius: 1em;
+    padding: 1em;
+    position: fixed;
+    right: 0;
+    text-align: center;
+    z-index: 100;
+    display: block;
+    font-family: Verdana, Arial, Sans;
+}
+
+.impress-enabled #hovercraft-help.hide {
+    display: none;
+}
+
+/*.impress-enabled #hovercraft-help.show {*/
+    /*display: block;*/
+/*}*/
+
+#hovercraft-help.disabled {
+    display: none;
+}

File debug/presentation/css/impressConsole.css

+html#impressconsole {
+    height: 100%
+}
+
+#impressconsole body {
+    padding: 0;
+    margin: 20px;
+    font-family: verdana, arial, sans-serif;
+    font-size: 26px;
+    height: 92%;
+}
+
+div#console {
+    margin: 0;
+    height: 94%;
+}
+
+div#views {
+    float: left;
+    width: 16em;
+    margin-right: 1em;
+}
+
+div#blocker {
+    width: 17em;
+    height: 20em;
+    position: absolute;
+    top: 0;
+    left: 0;
+    display: blocker;
+}
+
+div#notes {
+    overflow-x: hidden;
+    overflow-y: auto;
+    height: 95%;
+}
+
+div#notes p {
+    margin-top: 0;
+}
+
+iframe#slideView {
+    width: 16em;
+    height: 12em;
+}
+
+iframe#preView {
+    width: 8em;
+    height: 6em;
+}
+
+div#controls {
+    margin: 0;
+    height: 6%;
+}
+
+div#prev {
+    float: left;
+}
+
+div#next {
+    float: right;
+}
+
+div#status {
+    margin-left: 2em;
+    margin-right: 2em;
+    text-align: center;
+    float: right;
+}
+
+div#clock {
+    margin-left: 2em;
+    margin-right: 2em;
+    text-align: center;
+    float: left;
+}
+
+div#timer {
+    margin-left: 2em;
+    margin-right: 2em;
+    text-align: center;
+    float: left;
+}

File debug/presentation/imp.css

+   <!-- Styles -->
+    
+    <style type="text/css" media="screen, projection">@charset "UTF-8";b,strong{font-weight:bold}i,em{font-style:italic}a{color:inherit;text-decoration:none;padding:0 0.1em;background:rgba(255,255,255,0.5);text-shadow:-1px -1px 2px rgba(100,100,100,0.9);border-radius:0.2em;-webkit-transition:0.5s;-moz-transition:0.5s;-ms-transition:0.5s;-o-transition:0.5s;transition:0.5s}a:hover{background:rgba(255,255,255,1);text-shadow:-1px -1px 2px rgba(100,100,100,0.5)}.step{width:900px;padding:40px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;font-family:'PT Serif',georgia,serif;font-size:24px;line-height:1.5}.step{-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-ms-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.step:not(.active) {opacity:0.1}#title{padding:0}#title .try{font-size:64px;position:absolute;top:-0.5em;left:1.5em;-webkit-transform:translateZ(20px);-moz-transform:translateZ(20px);-ms-transform:translateZ(20px);-o-transform:translateZ(20px);transform:translateZ(20px)}#title h1{font-size:190px;-webkit-transform:translateZ(50px);-moz-transform:translateZ(50px);-ms-transform:translateZ(50px);-o-transform:translateZ(50px);transform:translateZ(50px)}#title .footnote{font-size:32px}#big{width:600px;text-align:center;font-size:60px;line-height:1}#big b{display:block;font-size:250px;line-height:250px}#big .thoughts{font-size:90px;line-height:150px}#tiny{width:500px;text-align:center}#ing{width:500px}#ing b{display:inline-block;-webkit-transition:0.5s;-moz-transition:0.5s;-ms-transition:0.5s;-o-transition:0.5s;transition:0.5s}#ing.active .positioning{-webkit-transform:translateY(-10px);-moz-transform:translateY(-10px);-ms-transform:translateY(-10px);-o-transform:translateY(-10px);transform:translateY(-10px);-webkit-transition-delay:1.5s;-moz-transition-delay:1.5s;-ms-transition-delay:1.5s;-o-transition-delay:1.5s;transition-delay:1.5s}#ing.active .rotating{-webkit-transform:rotate(-10deg);-moz-transform:rotate(-10deg);-ms-transform:rotate(-10deg);-o-transform:rotate(-10deg);transform:rotate(-10deg);-webkit-transition-delay:1.75s;-moz-transition-delay:1.75s;-ms-transition-delay:1.75s;-o-transition-delay:1.75s;transition-delay:1.75s}#ing.active .scaling{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7);-webkit-transition-delay:2s;-moz-transition-delay:2s;-ms-transition-delay:2s;-o-transition-delay:2s;transition-delay:2s}#imagination{width:600px}#imagination .imagination{font-size:78px}#source{width:700px;padding-bottom:300px;background-position:bottom right;background-repeat:no-repeat}#source q{font-size:60px}#its-in-3d span,#its-in-3d b{display:inline-block;-webkit-transform:translateZ(40px);-moz-transform:translateZ(40px);-ms-transform:translateZ(40px);-o-transform:translateZ(40px);transform:translateZ(40px);-webkit-transition:0.5s;-moz-transition:0.5s;-ms-transition:0.5s;-o-transition:0.5s;transition:0.5s}#its-in-3d .have{-webkit-transform:translateZ(-40px);-moz-transform:translateZ(-40px);-ms-transform:translateZ(-40px);-o-transform:translateZ(-40px);transform:translateZ(-40px)}#its-in-3d .you{-webkit-transform:translateZ(20px);-moz-transform:translateZ(20px);-ms-transform:translateZ(20px);-o-transform:translateZ(20px);transform:translateZ(20px)}#its-in-3d .noticed{-webkit-transform:translateZ(-40px);-moz-transform:translateZ(-40px);-ms-transform:translateZ(-40px);-o-transform:translateZ(-40px);transform:translateZ(-40px)}#its-in-3d .its{-webkit-transform:translateZ(60px);-moz-transform:translateZ(60px);-ms-transform:translateZ(60px);-o-transform:translateZ(60px);transform:translateZ(60px)}#its-in-3d .in{-webkit-transform:translateZ(-10px);-moz-transform:translateZ(-10px);-ms-transform:translateZ(-10px);-o-transform:translateZ(-10px);transform:translateZ(-10px)}#its-in-3d .footnote{font-size:32px;-webkit-transform:translateZ(-10px);-moz-transform:translateZ(-10px);-ms-transform:translateZ(-10px);-o-transform:translateZ(-10px);transform:translateZ(-10px)}#its-in-3d.active span,#its-in-3d.active b{-webkit-transform:translateZ(0px);-moz-transform:translateZ(0px);-ms-transform:translateZ(0px);-o-transform:translateZ(0px);transform:translateZ(0px);-webkit-transition-delay:1s;-moz-transition-delay:1s;-ms-transition-delay:1s;-o-transition-delay:1s;transition-delay:1s}#overview{z-index:-1}#impress.step-overview .step{opacity:1}.slide{display:block;width:900px;height:700px;padding:40px 60px;border-radius:10px;background-color:#fff;box-shadow:0 2px 6px rgba(0,0,0,0.1);border:1px solid rgba(0,0,0,0.3);font-family:'Open Sans',Arial,sans-serif;color:#666;text-shadow:0 2px 2px rgba(0,0,0,0.1);font-size:30px;line-height:36px;letter-spacing:-1px}.slide q{display:block;font-size:50px;line-height:72px;margin-top:100px}.slide q strong{white-space:nowrap}.fallback-message{font-family:sans-serif;line-height:1.3;display:none;width:780px;padding:10px 10px 0;margin:20px auto;border-radius:10px;border:1px solid #e4c652;background:#eedc94}.fallback-message p{margin-bottom:10px}.impress-not-supported .step{position:relative;opacity:1;margin:20px auto}.impress-not-supported .fallback-message{display:block}body{font:14px "Lucida Grande","Trebuchet MS",Verdana,sans-serif;background:#fff;padding:0;margin:0;overflow:hidden}div.presentation{position:absolute;width:100%;display:table-cell;vertical-align:middle;height:100%;background:inherit}div.slides,body.expose div.slides.nocontext{width:100%;height:100%;left:0;top:0;position:absolute;display:block}div.slides.nocontext{width:900px;margin:0 auto;overflow:hidden;position:relative;left:auto;top:auto}div.slide{display:none;position:absolute;overflow:hidden;width:900px;min-height:850px;height:90%;left:50%;top:50%;margin-top:-350px;background:-webkit-gradient(linear,left bottom,left top,from(#fff),to(#ddd));background-color:#eee;background:-moz-linear-gradient(bottom,#fff,#ddd);-webkit-transition:margin 0.25s ease-in-out;-moz-transition:margin 0.25s ease-in-out;-o-transition:margin 0.25s ease-in-out;border-top-right-radius:20px;-moz-border-radius-topright:20px;-webkit-border-top-right-radius:20px;border-bottom-left-radius:0px;-moz-border-radius-bottomleft:0px;-webkit-border-bottom-left-radius:0px;border-top-left-radius:20px;-moz-border-radius-topleft:20px;-webkit-border-top-left-radius:20px;border-bottom-right-radius:0px;-moz-border-radius-bottomright:0px;-webkit-border-bottom-right-radius:0px}div.slide p{font-size:20px}.slide.far-past{display:block;margin-left:-2400px}.slide.past{display:block;margin-left:-1400px}.slide.current{display:block;margin-left:-450px}.slide.future{display:block;margin-left:500px}.slide.far-future{display:block;margin-left:1500px}body.three-d div.slides{-webkit-transform:translateX(50px) scale(0.8) rotateY(10deg);-moz-transform:translateX(50px) scale(0.8) rotateY(10deg);-o-transform:translateX(50px) scale(0.8) rotateY(10deg)}header:not(:only-child) {font-family:"Lucida Grande","Trebuchet MS",Verdana,sans-serif;font-weight:normal;font-size:50px;letter-spacing:-0.05em;color:#fff;color:#000;text-shadow:rgba(0,0,0,0.2) 0 2px 5px;position:absolute;left:30px;top:25px;margin:0;padding:0}header h1,header h2,header h3,header h4,header h5,header h6{display:inline;font-size:100%;font-weight:normal;padding:0;margin:0}header h2:first-child{margin-top:0}section,.slide header:only-child h1{font-family:"Lucida Grande","Trebuchet MS",Verdana,sans-serif;color:#3f3f3f;text-shadow:rgba(0,0,0,0.2) 0 2px 5px;margin-left:30px;margin-right:30px;margin-top:100px;display:block;overflow:hidden}section img.align-center{display:block;margin-left:auto;margin-right:auto}section img.align-right{display:block;margin-left:auto;margin-right:0}section img.align-left{display:block;margin-right:auto;margin-left:0}a{color:inherit;display:inline-block;text-decoration:none;line-height:110%;border-bottom:2px solid #3f3f3f}pre{font-size:16px;font-family:Monaco,Courier,monospace}li{padding:10px 0;font-size:20px}.slide header:only-child h1{line-height:180%;text-align:center;display:table-cell;vertical-align:middle;height:700px;width:900px;font-size:50px;margin-top:100px;margin-bottom:100px}.sidebar{background:-webkit-gradient(linear,top right,bottom right,from(#dde),to(#fff));-webkit-transition:margin 0.25s ease-in-out;background-color:#eee;background:-moz-linear-gradient(right,#dde,#fff);border-right:5px solid #ccd;z-index:9999999;height:100%;overflow:hidden;top:0;position:absolute;display:block;margin:0;margin-left:-400px;padding:10px 16px;overflow:auto;-webkit-transition:margin 0.2s ease-in-out;-moz-transition:margin 0.2s ease-in-out;-o-transition:margin 0.2s ease-in-out}.sidebar h2{text-shadow:rgba(0,0,0,0.2) 0 2px 5px;margin:0 0 16px;padding:0}.sidebar table{width:100%;margin:0;padding:0;border-collapse:collapse}.sidebar table caption{display:none}.sidebar tr{margin:2px 0;border-bottom:1px solid #ccc}.sidebar th{text-align:left;font-weight:normal;max-width:300px;overflow:hidden}.sidebar tr.sub th{text-indent:20px}.sidebar td{text-align:right;min-width:20px}.sidebar a{display:block;text-decoration:none;border-bottom:none;padding:4px 0}.sidebar tr.active{background:#ff0}aside{}aside.source{display:none;position:absolute;bottom:6px;left:10px;text-indent:10px}aside.page_number{position:absolute;bottom:6px;right:10px;text-indent:10px}.notes{display:none;padding:10px;background:#ccc;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px}div.slide p.notes{font-size:90%}img{display:block;margin:auto}body.expose div.slides{float:left;position:relative;overflow:auto;margin-bottom:10px}body.expose div.slide{display:block;float:left;position:relative;left:auto!important;top:auto!important;margin:10px!important;-webkit-transition:none;-moz-transition:none;-o-transition:none;-moz-transform:scale(0.33,0.33);-moz-transform-origin:0 0;-webkit-transform:scale(0.33,0.33);-webkit-transform-origin:0 0;-o-transform:scale(0.33,0.33);-o-transform-origin:0 0;-webkit-transition:none;-moz-transition:none;-o-transition:none;cursor:pointer}body.expose div.slide:hover{background:-webkit-gradient(linear,left bottom,left top,from(#bdd),to(#fff));background-color:#eee;background:-moz-linear-gradient(bottom,#bdd,#fff)}body.expose .slide-wrapper{float:left;position:relative;margin:0.5%;width:300px;height:233px}body.expose .slide footer{}body.expose .slide .inner{}body.expose .slide.far-past,body.expose .slide.past,body.expose .slide.future,body.expose .slide.far-future{margin-left:0}body.expose .slide.current{background:-webkit-gradient(linear,left bottom,left top,from(#ddb),to(#fff));background-color:#eee;background:-moz-linear-gradient(bottom,#ddb,#fff);border:16px solid #fff;-moz-transform:scale(0.315,0.315);-moz-transform-origin:0 0;-webkit-transform:scale(0.315,0.315);-webkit-transform-origin:0 0;-o-transform:scale(0.315,0.315);-o-transform-origin:0 0}.hll{background-color:#ffc}.c{color:#408080;font-style:italic}.err{border:1px solid red}.k{color:green;font-weight:bold}.o{color:#666}.cm{color:#408080;font-style:italic}.cp{color:#bc7a00}.c1{color:#408080;font-style:italic}.cs{color:#408080;font-style:italic}.gd{color:#a00000}.ge{font-style:italic}.gr{color:red}.gh{color:navy;font-weight:bold}.gi{color:#00a000}.go{color:gray}.gp{color:navy;font-weight:bold}.gs{font-weight:bold}.gu{color:purple;font-weight:bold}.gt{color:#0040d0}.kc{color:green;font-weight:bold}.kd{color:green;font-weight:bold}.kn{color:green;font-weight:bold}.kp{color:green}.kr{color:green;font-weight:bold}.kt{color:#b00040}.m{color:#666}.s{color:#ba2121}.na{color:#7d9029}.nb{color:green}.nc{color:#00f;font-weight:bold}.no{color:#800}.nd{color:#a2f}.ni{color:#999;font-weight:bold}.ne{color:#d2413a;font-weight:bold}.nf{color:#00f}.nl{color:#a0a000}.nn{color:#00f;font-weight:bold}.nt{color:green;font-weight:bold}.nv{color:#19177c}.ow{color:#a2f;font-weight:bold}.w{color:#bbb}.mf{color:#666}.mh{color:#666}.mi{color:#666}.mo{color:#666}.sb{color:#ba2121}.sc{color:#ba2121}.sd{color:#ba2121;font-style:italic}.s2{color:#ba2121}.se{color:#b62;font-weight:bold}.sh{color:#ba2121}.si{color:#b68;font-weight:bold}.sx{color:green}.sr{color:#b68}.s1{color:#ba2121}.ss{color:#19177c}.bp{color:green}.vc{color:#19177c}.vg{color:#19177c}.vi{color:#19177c}.il{color:#666}body.presenter_view div.slide{display:inline;position:absolute;overflow:hidden;-moz-transform:scale(0.5,0.5);-moz-transform-origin:0 0;-webkit-transform:scale(0.5,0.5);-webkit-transform-origin:0 0;-o-transform:scale(0.5,0.5);-o-transform-origin:0 0;margin-top:-300px}body.presenter_view .slide.far-past{display:block;margin-left:-1500px}body.presenter_view .slide.past{display:block;margin-left:-975px}body.presenter_view .slide.current{display:block;margin-left:-475px;border:8px solid maroon;z-index:2}body.presenter_view .slide.future{display:block;margin-left:25px;z-index:1}body.presenter_view .slide.far-future{display:block;margin-left:525px}body.presenter_view div#current_presenter_notes{visibility:visible;display:block;position:absolute;overflow:auto;vertical-align:middle;left:50%;top:50%;margin-left:-475px;margin-top:100px;z-index:2;width:950px;border-style:solid;height:30%;background-color:silver}body.presenter_view div#current_presenter_notes section{font-family:"Lucida Grande","Trebuchet MS",Verdana,sans-serif;color:#000;text-shadow:rgba(0,0,0,0.2) 0 2px 5px;display:block;overflow:visible;position:relative;background-color:#fffeff;height:120px;margin-right:30px;margin-top:60px;margin-left:30px;padding-right:10px;padding-left:10px;padding-top:10px}body.presenter_view div#current_presenter_notes section p{margin:0}body.presenter_view div#current_presenter_notes h1{font-size:50%;display:block}div#current_presenter_notes{display:none}div.slide div.presenter_notes{display:none}#blank{position:absolute;top:0;left:0;background-color:#000;width:100%;height:100%;z-index:64;display:none}</style>
+    
+    
+      
+      <style type="text/css" media="screen, projection">p.center{text-align:center}</style>
+      
+    
+    <!-- /Styles -->

File debug/presentation/index.html

+<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><title>The Lost Art Of Digital Entomology</title><meta name="generator" content="Hovercraft! 1.0 http://regebro.github.com/hovercraft"></meta><link rel="stylesheet" href="css/hovercraft.css" media="all"></link><link rel="stylesheet" href="css/impressConsole.css" media="all"></link><link rel="stylesheet" href="css/highlight.css" media="all"></link><link rel="stylesheet" href="imp.css" media="all"></link></head><body class="impress-not-supported"><div id="impress"><div class="step" step="0" data-x="0" data-y="0"><p class="center"><strong>PYPTUG</strong></p><p class="center"><strong>The Lost Art Of Digital Entomology</strong></p><p class="center">Francois Dion - <a href="mailto:francois.dion@gmail.com">francois.dion@gmail.com</a> - @f_dion</p></div><div class="step" step="1" data-x="1600" data-y="0"><h1 xmlns="" id="prevention">prevention</h1><p>documentation</p><p>try: except: raise: (exceptions)</p><p>pep8, pylint, pycoverage</p><p>unit testing</p><p>source control (reporting, auto build, blame)</p></div><div class="step" step="2" data-x="3200" data-y="0"><p>print</p></div><div class="step" step="3" data-x="4800" data-y="0"><h1 xmlns="" id="logging">logging</h1><p>import logging</p><p>logging.debug...</p><p>logging.exception...</p></div><div class="step" step="4" data-x="6400" data-y="0"><h1 xmlns="" id="tracing">tracing</h1><p>python -mtrace --trace script.py</p></div><div class="step" step="5" data-x="8000" data-y="0"><h1 xmlns="" id="pdb">pdb</h1><p>import pdb; pdb.set_trace();</p><p>from pdb import set_trace as brk</p><p>python -mpdb script.py</p><p>full interpreter shell:</p><p>import code; code.interact(local=locals());</p></div><div class="step" step="6" data-x="9600" data-y="0"><h1 xmlns="" id="ipdb">ipdb</h1><p>ipython enabled pdb. pdb exports functions to access the IPython debugger, which features tab completion, syntax highlighting, better tracebacks, better introspection with the same interface as the pdb module.</p><p>bin/ipdb mymodule.py</p><p>python -m ipdb mymodule.py</p></div><div class="step" step="7" data-x="11200" data-y="0"><h1 xmlns="" id="debug">debug</h1><p>pip install debug</p><p>import debug</p><p>really ipdb + see()</p></div><div class="step" step="8" data-x="12800" data-y="0"><h1 xmlns="" id="pydb">pydb</h1><p>pydb --- enhanced Python debugger</p><p>SYNOPSIS
+pydb [debugger-options] python-script [script-options...]
+DESCRIPTION
+This manual page documents briefly the pydb command.</p><p>pydb is an extended Python debugger. It extends the Python standard debugger pdb and is suited for use with the graphical debugger DDD. The purpose of a debugger such as this one is to allow you to see what is going on ``inside'' another program while it executes---or what another program was doing at the moment it crashed.</p><p>Inline literal start-string without end-string.</p><p>We follow gdb's command set unless there's good reason not to.</p></div><div class="step" step="9" data-x="14400" data-y="0"><p>can do four main kinds of things (plus other things in support of these) to help you catch bugs in the act:</p><blockquote><ul><li>Start or restart your Python script, specifying arguments that might affect its behavior.</li><li>Make your program stop at various points possibly determined by</li></ul><p>Bullet list ends without a blank line; unexpected unindent.</p><blockquote><p>specified conditions.</p></blockquote><ul><li>Examine what has happened when your program has stopped.</li><li>Change things in your program, so you can experiment with correcting the effects of one bug and go on to learn about another.</li></ul></blockquote></div><div class="step" step="10" data-x="16000" data-y="0"><h1 xmlns="" id="idle">idle</h1><p>demo</p></div><div class="step" step="11" data-x="17600" data-y="0"><h1 xmlns="" id="winpdb">winpdb</h1><p><a href="http://code.google.com/p/winpdb/wiki/DebuggingTutorial">http://code.google.com/p/winpdb/wiki/DebuggingTutorial</a></p><p>better to do this:
+see remote.py
+launch winpdb, attach -&gt; enter password</p></div><div class="step" step="12" data-x="19200" data-y="0"><h1 xmlns="" id="firefox-plugins">Firefox plugins</h1><p>firebug
+LORI
+firelogger : <a href="http://firelogger.binaryage.com/">http://firelogger.binaryage.com/</a>
+pip install firepython</p></div><div class="step" step="13" data-x="20800" data-y="0"><h1 xmlns="" id="debugging-from-ide">debugging from IDE</h1><p>Python Tools for Visual Studio</p><p>Eclipse (and aptana studio):
+<a href="http://wiki.xbmc.org/index.php?title=HOW-TO:Debug_Python_Scripts_with_Eclipse">http://wiki.xbmc.org/index.php?title=HOW-TO:Debug_Python_Scripts_with_Eclipse</a></p><p>ninja-ide</p><p>python(x,y)</p></div><div class="step" step="14" data-x="22400" data-y="0"><h1 xmlns="" id="os-level-tools">OS level tools</h1><p>dtrace, ldtrace, strace</p><p>top, htop, prstat (-mL !)</p><p>gdb -&gt; you are in trouble if you've gone through all your other options...</p></div></div><div id="hovercraft-help"><table><tr><th>Space</th><td>Forward</td></tr><tr><th>Left, Down, Page Down</th><td>Next slide</td></tr><tr><th>Right, Up, Page Up</th><td>Previous slide</td></tr><tr><th>P</th><td>Open presenter console</td></tr><tr><th>H</th><td>Toggle this help</td></tr></table></div><script type="text/javascript" src="js/impress.js"></script><script type="text/javascript" src="js/impressConsole.js"></script><script type="text/javascript" src="js/hovercraft.js"></script></body></html>

File debug/presentation/js/hovercraft.js

+// Initialize impress.js
+impress().init();
+
+// Set up the help-box
+var helpdiv = window.document.getElementById('hovercraft-help');
+
+if (window.top!=window.self) {
+    // This is inside an iframe, so don't show the help.
+    helpdiv.className = "disabled";
+    
+} else {
+    // Install a funtion to toggle help on and off.
+    var help = function() {
+        if(helpdiv.className == 'hide')
+            helpdiv.className = 'show';
+        else
+            helpdiv.className = 'hide';    
+    };
+    console().registerKeyEvent([72], help, window);
+    
+    // The help is by default shown. Hide it after five seconds.
+    setTimeout(function () {
+        var helpdiv = window.document.getElementById('hovercraft-help');
+        if(helpdiv.className != 'show')
+            helpdiv.className = 'hide';
+    }, 5000);
+}
+
+
+if (console) {
+    console().init(cssFile='css/impressConsole.css');
+    
+    var impressattrs = document.getElementById('impress').attributes
+    if (impressattrs.hasOwnProperty('auto-console') && impressattrs['auto-console'].value.toLowerCase() === 'true') {
+        consoleWindow = console().open();
+    }
+}

File debug/presentation/js/impress.js

+/**
+ * impress.js
+ *
+ * impress.js is a presentation tool based on the power of CSS3 transforms and transitions
+ * in modern browsers and inspired by the idea behind prezi.com.
+ *
+ *
+ * Copyright 2011-2012 Bartek Szopka (@bartaz)
+ *
+ * Released under the MIT and GPL Licenses.
+ *
+ * ------------------------------------------------
+ *  author:  Bartek Szopka
+ *  version: 0.5.3
+ *  url:     http://bartaz.github.com/impress.js/
+ *  source:  http://github.com/bartaz/impress.js/
+ */
+
+/*jshint bitwise:true, curly:true, eqeqeq:true, forin:true, latedef:true, newcap:true,
+         noarg:true, noempty:true, undef:true, strict:true, browser:true */
+
+// You are one of those who like to know how thing work inside?
+// Let me show you the cogs that make impress.js run...
+(function ( document, window ) {
+    'use strict';
+    
+    // HELPER FUNCTIONS
+    
+    // `pfx` is a function that takes a standard CSS property name as a parameter
+    // and returns it's prefixed version valid for current browser it runs in.
+    // The code is heavily inspired by Modernizr http://www.modernizr.com/
+    var pfx = (function () {
+        
+        var style = document.createElement('dummy').style,
+            prefixes = 'Webkit Moz O ms Khtml'.split(' '),
+            memory = {};
+        
+        return function ( prop ) {
+            if ( typeof memory[ prop ] === "undefined" ) {
+                
+                var ucProp  = prop.charAt(0).toUpperCase() + prop.substr(1),
+                    props   = (prop + ' ' + prefixes.join(ucProp + ' ') + ucProp).split(' ');
+                
+                memory[ prop ] = null;
+                for ( var i in props ) {
+                    if ( style[ props[i] ] !== undefined ) {
+                        memory[ prop ] = props[i];
+                        break;
+                    }
+                }
+            
+            }
+            
+            return memory[ prop ];
+        };
+    
+    })();
+    
+    // `arraify` takes an array-like object and turns it into real Array
+    // to make all the Array.prototype goodness available.
+    var arrayify = function ( a ) {
+        return [].slice.call( a );
+    };
+    
+    // `css` function applies the styles given in `props` object to the element
+    // given as `el`. It runs all property names through `pfx` function to make
+    // sure proper prefixed version of the property is used.
+    var css = function ( el, props ) {
+        var key, pkey;
+        for ( key in props ) {
+            if ( props.hasOwnProperty(key) ) {
+                pkey = pfx(key);
+                if ( pkey !== null ) {
+                    el.style[pkey] = props[key];
+                }
+            }
+        }
+        return el;
+    };
+    
+    // `toNumber` takes a value given as `numeric` parameter and tries to turn
+    // it into a number. If it is not possible it returns 0 (or other value
+    // given as `fallback`).
+    var toNumber = function (numeric, fallback) {
+        return isNaN(numeric) ? (fallback || 0) : Number(numeric);
+    };
+    
+    // `byId` returns element with given `id` - you probably have guessed that ;)
+    var byId = function ( id ) {
+        return document.getElementById(id);
+    };
+    
+    // `$` returns first element for given CSS `selector` in the `context` of
+    // the given element or whole document.
+    var $ = function ( selector, context ) {
+        context = context || document;
+        return context.querySelector(selector);
+    };
+    
+    // `$$` return an array of elements for given CSS `selector` in the `context` of
+    // the given element or whole document.
+    var $$ = function ( selector, context ) {
+        context = context || document;
+        return arrayify( context.querySelectorAll(selector) );
+    };
+    
+    // `triggerEvent` builds a custom DOM event with given `eventName` and `detail` data
+    // and triggers it on element given as `el`.
+    var triggerEvent = function (el, eventName, detail) {
+        var event = document.createEvent("CustomEvent");
+        event.initCustomEvent(eventName, true, true, detail);
+        el.dispatchEvent(event);
+    };
+    
+    // `translate` builds a translate transform string for given data.
+    var translate = function ( t ) {
+        return " translate3d(" + t.x + "px," + t.y + "px," + t.z + "px) ";
+    };
+    
+    // `rotate` builds a rotate transform string for given data.
+    // By default the rotations are in X Y Z order that can be reverted by passing `true`
+    // as second parameter.
+    var rotate = function ( r, revert ) {
+        var rX = " rotateX(" + r.x + "deg) ",
+            rY = " rotateY(" + r.y + "deg) ",
+            rZ = " rotateZ(" + r.z + "deg) ";
+        
+        return revert ? rZ+rY+rX : rX+rY+rZ;
+    };
+    
+    // `scale` builds a scale transform string for given data.
+    var scale = function ( s ) {
+        return " scale(" + s + ") ";
+    };
+    
+    // `perspective` builds a perspective transform string for given data.
+    var perspective = function ( p ) {
+        return " perspective(" + p + "px) ";
+    };
+    
+    // `getElementFromHash` returns an element located by id from hash part of
+    // window location.
+    var getElementFromHash = function () {
+        // get id from url # by removing `#` or `#/` from the beginning,
+        // so both "fallback" `#slide-id` and "enhanced" `#/slide-id` will work
+        return byId( window.location.hash.replace(/^#\/?/,"") );
+    };
+    
+    // `computeWindowScale` counts the scale factor between window size and size
+    // defined for the presentation in the config.
+    var computeWindowScale = function ( config ) {
+        var hScale = window.innerHeight / config.height,
+            wScale = window.innerWidth / config.width,
+            scale = hScale > wScale ? wScale : hScale;
+        
+        if (config.maxScale && scale > config.maxScale) {
+            scale = config.maxScale;
+        }
+        
+        if (config.minScale && scale < config.minScale) {
+            scale = config.minScale;
+        }
+        
+        return scale;
+    };
+    
+    // CHECK SUPPORT
+    var body = document.body;
+    
+    var ua = navigator.userAgent.toLowerCase();
+    var impressSupported = 
+                          // browser should support CSS 3D transtorms 
+                           ( pfx("perspective") !== null ) &&
+                           
+                          // and `classList` and `dataset` APIs
+                           ( body.classList ) &&
+                           ( body.dataset ) &&
+                           
+                          // but some mobile devices need to be blacklisted,
+                          // because their CSS 3D support or hardware is not
+                          // good enough to run impress.js properly, sorry...
+                           ( ua.search(/(iphone)|(ipod)|(android)/) === -1 );
+    
+    if (!impressSupported) {
+        // we can't be sure that `classList` is supported
+        body.className += " impress-not-supported ";
+    } else {
+        body.classList.remove("impress-not-supported");
+        body.classList.add("impress-supported");
+    }
+    
+    // GLOBALS AND DEFAULTS
+    
+    // This is were the root elements of all impress.js instances will be kept.
+    // Yes, this means you can have more than one instance on a page, but I'm not
+    // sure if it makes any sense in practice ;)
+    var roots = {};
+    
+    // some default config values.
+    var defaults = {
+        width: 1024,
+        height: 768,
+        maxScale: 1,
+        minScale: 0,
+        
+        perspective: 1000,
+        
+        transitionDuration: 1000
+    };
+    
+    // it's just an empty function ... and a useless comment.
+    var empty = function () { return false; };
+    
+    // IMPRESS.JS API
+    
+    // And that's where interesting things will start to happen.
+    // It's the core `impress` function that returns the impress.js API
+    // for a presentation based on the element with given id ('impress'
+    // by default).
+    var impress = window.impress = function ( rootId ) {
+        
+        // If impress.js is not supported by the browser return a dummy API
+        // it may not be a perfect solution but we return early and avoid
+        // running code that may use features not implemented in the browser.
+        if (!impressSupported) {
+            return {
+                init: empty,
+                goto: empty,
+                prev: empty,
+                next: empty
+            };
+        }
+        
+        rootId = rootId || "impress";
+        
+        // if given root is already initialized just return the API
+        if (roots["impress-root-" + rootId]) {
+            return roots["impress-root-" + rootId];
+        }
+        
+        // data of all presentation steps
+        var stepsData = {};
+        
+        // element of currently active step
+        var activeStep = null;
+        
+        // current state (position, rotation and scale) of the presentation
+        var currentState = null;
+        
+        // array of step elements
+        var steps = null;
+        
+        // configuration options
+        var config = null;
+        
+        // scale factor of the browser window
+        var windowScale = null;        
+        
+        // root presentation elements
+        var root = byId( rootId );
+        var canvas = document.createElement("div");
+        
+        var initialized = false;
+        
+        // STEP EVENTS
+        //
+        // There are currently two step events triggered by impress.js
+        // `impress:stepenter` is triggered when the step is shown on the 
+        // screen (the transition from the previous one is finished) and
+        // `impress:stepleave` is triggered when the step is left (the
+        // transition to next step just starts).
+        
+        // reference to last entered step
+        var lastEntered = null;
+        
+        // `onStepEnter` is called whenever the step element is entered
+        // but the event is triggered only if the step is different than
+        // last entered step.
+        var onStepEnter = function (step) {
+            if (lastEntered !== step) {
+                triggerEvent(step, "impress:stepenter");
+                lastEntered = step;
+            }
+        };
+        
+        // `onStepLeave` is called whenever the step element is left
+        // but the event is triggered only if the step is the same as
+        // last entered step.
+        var onStepLeave = function (step) {
+            if (lastEntered === step) {
+                triggerEvent(step, "impress:stepleave");
+                lastEntered = null;
+            }
+        };
+        
+        // `initStep` initializes given step element by reading data from its
+        // data attributes and setting correct styles.
+        var initStep = function ( el, idx ) {
+            var data = el.dataset,
+                step = {
+                    translate: {
+                        x: toNumber(data.x),
+                        y: toNumber(data.y),
+                        z: toNumber(data.z)
+                    },
+                    rotate: {
+                        x: toNumber(data.rotateX),
+                        y: toNumber(data.rotateY),
+                        z: toNumber(data.rotateZ || data.rotate)
+                    },
+                    scale: toNumber(data.scale, 1),
+                    el: el
+                };
+            
+            if ( !el.id ) {
+                el.id = "step-" + (idx + 1);
+            }
+            
+            stepsData["impress-" + el.id] = step;
+            
+            css(el, {
+                position: "absolute",
+                transform: "translate(-50%,-50%)" +
+                           translate(step.translate) +
+                           rotate(step.rotate) +
+                           scale(step.scale),
+                transformStyle: "preserve-3d"
+            });
+        };
+        
+        // `init` API function that initializes (and runs) the presentation.
+        var init = function () {
+            if (initialized) { return; }
+            
+            // First we set up the viewport for mobile devices.
+            // For some reason iPad goes nuts when it is not done properly.
+            var meta = $("meta[name='viewport']") || document.createElement("meta");
+            meta.content = "width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no";
+            if (meta.parentNode !== document.head) {
+                meta.name = 'viewport';
+                document.head.appendChild(meta);
+            }
+            
+            // initialize configuration object
+            var rootData = root.dataset;
+            config = {
+                width: toNumber( rootData.width, defaults.width ),
+                height: toNumber( rootData.height, defaults.height ),
+                maxScale: toNumber( rootData.maxScale, defaults.maxScale ),
+                minScale: toNumber( rootData.minScale, defaults.minScale ),                
+                perspective: toNumber( rootData.perspective, defaults.perspective ),
+                transitionDuration: toNumber( rootData.transitionDuration, defaults.transitionDuration )
+            };
+            
+            windowScale = computeWindowScale( config );
+            
+            // wrap steps with "canvas" element
+            arrayify( root.childNodes ).forEach(function ( el ) {
+                canvas.appendChild( el );
+            });
+            root.appendChild(canvas);
+            
+            // set initial styles
+            document.documentElement.style.height = "100%";
+            
+            css(body, {
+                height: "100%",
+                overflow: "hidden"
+            });
+            
+            var rootStyles = {
+                position: "absolute",
+                transformOrigin: "top left",
+                transition: "all 0s ease-in-out",
+                transformStyle: "preserve-3d"
+            };
+            
+            css(root, rootStyles);
+            css(root, {
+                top: "50%",
+                left: "50%",
+                transform: perspective( config.perspective/windowScale ) + scale( windowScale )
+            });
+            css(canvas, rootStyles);
+            
+            body.classList.remove("impress-disabled");
+            body.classList.add("impress-enabled");
+            
+            // get and init steps
+            steps = $$(".step", root);
+            steps.forEach( initStep );
+            
+            // set a default initial state of the canvas
+            currentState = {
+                translate: { x: 0, y: 0, z: 0 },
+                rotate:    { x: 0, y: 0, z: 0 },
+                scale:     1
+            };
+            
+            initialized = true;
+            
+            triggerEvent(root, "impress:init", { api: roots[ "impress-root-" + rootId ] });
+        };
+        
+        // `getStep` is a helper function that returns a step element defined by parameter.
+        // If a number is given, step with index given by the number is returned, if a string
+        // is given step element with such id is returned, if DOM element is given it is returned
+        // if it is a correct step element.
+        var getStep = function ( step ) {
+            if (typeof step === "number") {
+                step = step < 0 ? steps[ steps.length + step] : steps[ step ];
+            } else if (typeof step === "string") {
+                step = byId(step);
+            }
+            return (step && step.id && stepsData["impress-" + step.id]) ? step : null;
+        };
+        
+        // used to reset timeout for `impress:stepenter` event
+        var stepEnterTimeout = null;
+        
+        // `goto` API function that moves to step given with `el` parameter (by index, id or element),
+        // with a transition `duration` optionally given as second parameter.
+        var goto = function ( el, duration ) {
+            
+            if ( !initialized || !(el = getStep(el)) ) {
+                // presentation not initialized or given element is not a step
+                return false;
+            }
+            
+            // Sometimes it's possible to trigger focus on first link with some keyboard action.
+            // Browser in such a case tries to scroll the page to make this element visible
+            // (even that body overflow is set to hidden) and it breaks our careful positioning.
+            //
+            // So, as a lousy (and lazy) workaround we will make the page scroll back to the top
+            // whenever slide is selected
+            //
+            // If you are reading this and know any better way to handle it, I'll be glad to hear about it!
+            window.scrollTo(0, 0);
+            
+            var step = stepsData["impress-" + el.id];
+            
+            if ( activeStep ) {
+                activeStep.classList.remove("active");
+                body.classList.remove("impress-on-" + activeStep.id);
+            }
+            el.classList.add("active");
+            
+            body.classList.add("impress-on-" + el.id);
+            
+            // compute target state of the canvas based on given step
+            var target = {
+                rotate: {
+                    x: -step.rotate.x,
+                    y: -step.rotate.y,
+                    z: -step.rotate.z
+                },
+                translate: {
+                    x: -step.translate.x,
+                    y: -step.translate.y,
+                    z: -step.translate.z
+                },
+                scale: 1 / step.scale
+            };
+            
+            // Check if the transition is zooming in or not.
+            //
+            // This information is used to alter the transition style:
+            // when we are zooming in - we start with move and rotate transition
+            // and the scaling is delayed, but when we are zooming out we start
+            // with scaling down and move and rotation are delayed.
+            var zoomin = target.scale >= currentState.scale;
+            
+            duration = toNumber(duration, config.transitionDuration);
+            var delay = (duration / 2);
+            
+            // if the same step is re-selected, force computing window scaling,
+            // because it is likely to be caused by window resize
+            if (el === activeStep) {
+                windowScale = computeWindowScale(config);
+            }
+            
+            var targetScale = target.scale * windowScale;
+            
+            // trigger leave of currently active element (if it's not the same step again)
+            if (activeStep && activeStep !== el) {
+                onStepLeave(activeStep);
+            }
+            
+            // Now we alter transforms of `root` and `canvas` to trigger transitions.
+            //
+            // And here is why there are two elements: `root` and `canvas` - they are
+            // being animated separately:
+            // `root` is used for scaling and `canvas` for translate and rotations.
+            // Transitions on them are triggered with different delays (to make
+            // visually nice and 'natural' looking transitions), so we need to know
+            // that both of them are finished.
+            css(root, {
+                // to keep the perspective look similar for different scales
+                // we need to 'scale' the perspective, too
+                transform: perspective( config.perspective / targetScale ) + scale( targetScale ),
+                transitionDuration: duration + "ms",
+                transitionDelay: (zoomin ? delay : 0) + "ms"
+            });
+            
+            css(canvas, {
+                transform: rotate(target.rotate, true) + translate(target.translate),
+                transitionDuration: duration + "ms",
+                transitionDelay: (zoomin ? 0 : delay) + "ms"
+            });
+            
+            // Here is a tricky part...
+            //
+            // If there is no change in scale or no change in rotation and translation, it means there was actually
+            // no delay - because there was no transition on `root` or `canvas` elements.
+            // We want to trigger `impress:stepenter` event in the correct moment, so here we compare the current
+            // and target values to check if delay should be taken into account.
+            //
+            // I know that this `if` statement looks scary, but it's pretty simple when you know what is going on
+            // - it's simply comparing all the values.
+            if ( currentState.scale === target.scale ||
+                (currentState.rotate.x === target.rotate.x && currentState.rotate.y === target.rotate.y &&
+                 currentState.rotate.z === target.rotate.z && currentState.translate.x === target.translate.x &&
+                 currentState.translate.y === target.translate.y && currentState.translate.z === target.translate.z) ) {
+                delay = 0;
+            }
+            
+            // store current state
+            currentState = target;
+            activeStep = el;
+            
+            // And here is where we trigger `impress:stepenter` event.
+            // We simply set up a timeout to fire it taking transition duration (and possible delay) into account.
+            //
+            // I really wanted to make it in more elegant way. The `transitionend` event seemed to be the best way
+            // to do it, but the fact that I'm using transitions on two separate elements and that the `transitionend`
+            // event is only triggered when there was a transition (change in the values) caused some bugs and 
+            // made the code really complicated, cause I had to handle all the conditions separately. And it still
+            // needed a `setTimeout` fallback for the situations when there is no transition at all.
+            // So I decided that I'd rather make the code simpler than use shiny new `transitionend`.
+            //
+            // If you want learn something interesting and see how it was done with `transitionend` go back to
+            // version 0.5.2 of impress.js: http://github.com/bartaz/impress.js/blob/0.5.2/js/impress.js
+            window.clearTimeout(stepEnterTimeout);
+            stepEnterTimeout = window.setTimeout(function() {
+                onStepEnter(activeStep);
+            }, duration + delay);
+            
+            return el;
+        };
+        
+        // `prev` API function goes to previous step (in document order)
+        var prev = function () {
+            var prev = steps.indexOf( activeStep ) - 1;
+            prev = prev >= 0 ? steps[ prev ] : steps[ steps.length-1 ];
+            
+            return goto(prev);
+        };
+        
+        // `next` API function goes to next step (in document order)
+        var next = function () {
+            var next = steps.indexOf( activeStep ) + 1;
+            next = next < steps.length ? steps[ next ] : steps[ 0 ];
+            
+            return goto(next);
+        };
+        
+        // Adding some useful classes to step elements.
+        //
+        // All the steps that have not been shown yet are given `future` class.
+        // When the step is entered the `future` class is removed and the `present`
+        // class is given. When the step is left `present` class is replaced with
+        // `past` class.
+        //
+        // So every step element is always in one of three possible states:
+        // `future`, `present` and `past`.
+        //
+        // There classes can be used in CSS to style different types of steps.
+        // For example the `present` class can be used to trigger some custom
+        // animations when step is shown.
+        root.addEventListener("impress:init", function(){
+            // STEP CLASSES
+            steps.forEach(function (step) {
+                step.classList.add("future");
+            });
+            
+            root.addEventListener("impress:stepenter", function (event) {
+                event.target.classList.remove("past");
+                event.target.classList.remove("future");
+                event.target.classList.add("present");
+            }, false);
+            
+            root.addEventListener("impress:stepleave", function (event) {
+                event.target.classList.remove("present");
+                event.target.classList.add("past");
+            }, false);
+            
+        }, false);
+        
+        // Adding hash change support.
+        root.addEventListener("impress:init", function(){
+            
+            // last hash detected
+            var lastHash = "";
+            
+            // `#/step-id` is used instead of `#step-id` to prevent default browser
+            // scrolling to element in hash.
+            //
+            // And it has to be set after animation finishes, because in Chrome it
+            // makes transtion laggy.
+            // BUG: http://code.google.com/p/chromium/issues/detail?id=62820
+            root.addEventListener("impress:stepenter", function (event) {
+                window.location.hash = lastHash = "#/" + event.target.id;
+            }, false);
+            
+            window.addEventListener("hashchange", function () {
+                // When the step is entered hash in the location is updated
+                // (just few lines above from here), so the hash change is 
+                // triggered and we would call `goto` again on the same element.
+                //
+                // To avoid this we store last entered hash and compare.
+                if (window.location.hash !== lastHash) {
+                    goto( getElementFromHash() );
+                }
+            }, false);
+            
+            // START 
+            // by selecting step defined in url or first step of the presentation
+            goto(getElementFromHash() || steps[0], 0);
+        }, false);
+        
+        body.classList.add("impress-disabled");
+        
+        // store and return API for given impress.js root element
+        return (roots[ "impress-root-" + rootId ] = {
+            init: init,
+            goto: goto,
+            next: next,
+            prev: prev
+        });
+
+    };
+    
+    // flag that can be used in JS to check if browser have passed the support test
+    impress.supported = impressSupported;
+    
+})(document, window);
+
+// NAVIGATION EVENTS
+
+// As you can see this part is separate from the impress.js core code.
+// It's because these navigation actions only need what impress.js provides with
+// its simple API.
+//
+// In future I think about moving it to make them optional, move to separate files
+// and treat more like a 'plugins'.
+(function ( document, window ) {
+    'use strict';
+    
+    // throttling function calls, by Remy Sharp
+    // http://remysharp.com/2010/07/21/throttling-function-calls/
+    var throttle = function (fn, delay) {
+        var timer = null;
+        return function () {
+            var context = this, args = arguments;
+            clearTimeout(timer);
+            timer = setTimeout(function () {
+                fn.apply(context, args);
+            }, delay);
+        };
+    };
+    
+    // wait for impress.js to be initialized
+    document.addEventListener("impress:init", function (event) {
+        // Getting API from event data.
+        // So you don't event need to know what is the id of the root element
+        // or anything. `impress:init` event data gives you everything you 
+        // need to control the presentation that was just initialized.
+        var api = event.detail.api;
+        
+        // KEYBOARD NAVIGATION HANDLERS
+        
+        // Prevent default keydown action when one of supported key is pressed.
+        document.addEventListener("keydown", function ( event ) {
+            if ( event.keyCode === 9 || ( event.keyCode >= 32 && event.keyCode <= 34 ) || (event.keyCode >= 37 && event.keyCode <= 40) ) {
+                event.preventDefault();
+            }
+        }, false);
+        
+        // Trigger impress action (next or prev) on keyup.
+        
+        // Supported keys are:
+        // [space] - quite common in presentation software to move forward
+        // [up] [right] / [down] [left] - again common and natural addition,
+        // [pgdown] / [pgup] - often triggered by remote controllers,
+        // [tab] - this one is quite controversial, but the reason it ended up on
+        //   this list is quite an interesting story... Remember that strange part
+        //   in the impress.js code where window is scrolled to 0,0 on every presentation
+        //   step, because sometimes browser scrolls viewport because of the focused element?
+        //   Well, the [tab] key by default navigates around focusable elements, so clicking
+        //   it very often caused scrolling to focused element and breaking impress.js
+        //   positioning. I didn't want to just prevent this default action, so I used [tab]
+        //   as another way to moving to next step... And yes, I know that for the sake of
+        //   consistency I should add [shift+tab] as opposite action...
+        document.addEventListener("keyup", function ( event ) {
+            if ( event.keyCode === 9 || ( event.keyCode >= 32 && event.keyCode <= 34 ) || (event.keyCode >= 37 && event.keyCode <= 40) ) {
+                switch( event.keyCode ) {
+                    case 33: // pg up
+                    case 37: // left
+                    case 38: // up
+                             api.prev();
+                             break;
+                    //case 9:  // tab is caught, default prevented, but not acted upon.
+                    case 32: // space
+                    case 34: // pg down
+                    case 39: // right
+                    case 40: // down
+                             api.next();
+                             break;
+                }
+                
+                event.preventDefault();
+            }
+        }, false);
+        
+        // delegated handler for clicking on the links to presentation steps
+        document.addEventListener("click", function ( event ) {
+            // event delegation with "bubbling"
+            // check if event target (or any of its parents is a link)
+            var target = event.target;
+            while ( (target.tagName !== "A") &&
+                    (target !== document.documentElement) ) {
+                target = target.parentNode;
+            }
+            
+            if ( target.tagName === "A" ) {
+                var href = target.getAttribute("href");
+                
+                // if it's a link to presentation step, target this step
+                if ( href && href[0] === '#' ) {
+                    target = document.getElementById( href.slice(1) );
+                }
+            }
+            
+            if ( api.goto(target) ) {
+                event.stopImmediatePropagation();
+                event.preventDefault();
+            }
+        }, false);
+        
+        // delegated handler for clicking on step elements
+        document.addEventListener("click", function ( event ) {
+            var target = event.target;
+            // find closest step element that is not active
+            while ( !(target.classList.contains("step") && !target.classList.contains("active")) &&
+                    (target !== document.documentElement) ) {
+                target = target.parentNode;
+            }
+            
+            if ( api.goto(target) ) {
+                event.preventDefault();
+            }
+        }, false);
+        
+        // touch handler to detect taps on the left and right side of the screen
+        // based on awesome work of @hakimel: https://github.com/hakimel/reveal.js
+        document.addEventListener("touchstart", function ( event ) {
+            if (event.touches.length === 1) {
+                var x = event.touches[0].clientX,
+                    width = window.innerWidth * 0.3,
+                    result = null;
+                    
+                if ( x < width ) {
+                    result = api.prev();
+                } else if ( x > window.innerWidth - width ) {
+                    result = api.next();
+                }
+                
+                if (result) {
+                    event.preventDefault();
+                }
+            }
+        }, false);
+        
+        // rescale presentation when window is resized
+        window.addEventListener("resize", throttle(function () {
+            // force going to active step again, to trigger rescaling
+            api.goto( document.querySelector(".active"), 500 );
+        }, 250), false);
+        
+    }, false);
+        
+})(document, window);
+
+// THAT'S ALL FOLKS!
+//
+// Thanks for reading it all.
+// Or thanks for scrolling down and reading the last part.
+//
+// I've learnt a lot when building impress.js and I hope this code and comments
+// will help somebody learn at least some part of it.

File debug/presentation/js/impressConsole.js

+/**
+ * impressConsole.js
+ *
+ * Adds a presenter console to impress.js
+ *
+ * MIT Licensed, see license.txt.
+ *
+ * Copyright 2012 impress-console contributors (see README.txt)
+ *
+ * version: 1.1
+ * 
+ */
+
+(function ( document, window ) {
+    'use strict';
+
+    // This is the default template for the speaker console window
+    var consoleTemplate = '<!DOCTYPE html>' + 
+        '<html id="impressconsole"><head>' + 
+          '<link rel="stylesheet" type="text/css" media="screen" href="{{cssFile}}">' +
+        '</head><body>' + 
+        '<div id="console">' +
+          '<div id="views">' +
+            '<iframe id="slideView" scrolling="no"></iframe>' +
+            '<iframe id="preView" scrolling="no"></iframe>' +
+            '<div id="blocker"></div>' + 
+          '</div>' +
+          '<div id="notes"></div>' +
+        '</div>' +
+        '<div id="controls"> ' +
+          '<div id="prev"><a  href="#" onclick="impress().prev(); return false;" />Prev</a></div>' +
+          '<div id="next"><a  href="#" onclick="impress().next(); return false;" />Next</a></div>' +
+          '<div id="clock">00:00:00 AM</div>' +
+          '<div id="timer" onclick="timerReset()">00m 00s</div>' +
+          '<div id="status">Loading</div>' +
+        '</div>' +
+        '</body></html>';
+
+    // Default css location
+    var cssFile = "css/impressConsole.css";
+    
+    // All console windows, so that you can call console() repeatedly.
+    var allConsoles = {};
+    
+    var useAMPM = false;
+    
+    // Zero padding helper function:
+    var zeroPad = function(i) {
+        return (i < 10 ? '0' : '') + i;
+    };
+    
+    // The console object
+    var console = window.console = function (rootId) {
+
+        rootId = rootId || 'impress';
+        
+        if (allConsoles[rootId]) {
+            return allConsoles[rootId];
+        }
+        
+        // root presentation elements
+        var root = document.getElementById( rootId );
+
+        var consoleWindow = null;
+
+        var nextStep = function() {
+            var nextElement = document.querySelector('.active').nextElementSibling;
+            var classes = "";
+            while (nextElement) {
+                classes = nextElement.attributes['class'];
+                if (classes && classes.value.indexOf('step') !== -1) {
+                   return nextElement;
+                }
+                nextElement = nextElement.nextElementSibling;
+            }
+            // No next element. Pick the first
+            return document.querySelector('.step');
+        };
+        
+        // Sync the notes to the step
+        var onStepLeave = function(){
+            if(consoleWindow) {
+                // Set notes to next steps notes.
+                var newNotes = document.querySelector('.active').querySelector('.notes');
+                if (newNotes) {
+                    newNotes = newNotes.innerHTML;
+                } else {
+                    newNotes = 'No notes for this step';
+                }
+                consoleWindow.document.getElementById('notes').innerHTML = newNotes;
+
+                // Set the views                
+                var baseURL = document.URL.substring(0, document.URL.search('#/'));
+                var slideSrc = baseURL + '#' + document.querySelector('.active').id;
+                var preSrc = baseURL + '#' + nextStep().id;
+                var slideView = consoleWindow.document.getElementById('slideView');
+                // Setting them when they are already set causes glithes in firexof, so we check first:
+                if (slideView.src !== slideSrc) {
+                    slideView.src = slideSrc;
+                }
+                var preView = consoleWindow.document.getElementById('preView');
+                if (preView.src !== preSrc) {
+                    preView.src = preSrc;
+                }
+                
+                consoleWindow.document.getElementById('status').innerHTML = '<span style="color: red">Moving</span>';
+            }
+        };
+    
+        // Sync the previews to the step
+        var onStepEnter = function(){
+            if(consoleWindow) {
+                // We do everything here again, because if you stopped the previos step to
+                // early, the onstepleave trigger is not called for that step, so
+                // we need this to sync things.
+                var newNotes = document.querySelector('.active').querySelector('.notes');
+                if (newNotes) {
+                    newNotes = newNotes.innerHTML;
+                } else {
+                    newNotes = 'No notes for this step';
+                }
+                var notes = consoleWindow.document.getElementById('notes');
+                notes.innerHTML = newNotes;
+                notes.scrollTop = 0;
+                
+                // Set the views
+                var baseURL = document.URL.substring(0, document.URL.search('#/'));
+                var slideSrc = baseURL + '#' + document.querySelector('.active').id;
+                var preSrc = baseURL + '#' + nextStep().id;
+                var slideView = consoleWindow.document.getElementById('slideView');
+                // Setting them when they are already set causes glithes in firexof, so we check first:
+                if (slideView.src !== slideSrc) {
+                    slideView.src = slideSrc;
+                }
+                var preView = consoleWindow.document.getElementById('preView');
+                if (preView.src !== preSrc) {
+                    preView.src = preSrc;
+                }
+                
+                consoleWindow.document.getElementById('status').innerHTML = '<span style="color: green">Ready</span>';
+            }
+        };
+
+        var spaceHandler = function () {
+            var notes = consoleWindow.document.getElementById('notes');
+            if (notes.scrollTopMax - notes.scrollTop > 20) {
+               notes.scrollTop = notes.scrollTop + notes.clientHeight * 0.8;
+            } else {
+               impress().next();
+            }
+        };
+        
+        var timerReset = function () {
+            consoleWindow.timerStart = new Date();
+        };
+        
+        // Show a clock
+        var clockTick = function () {
+            var now = new Date();
+            var hours = now.getHours();
+            var minutes = now.getMinutes();
+            var seconds = now.getSeconds();
+            var ampm = '';
+        
+            if (useAMPM) {
+                ampm = ( hours < 12 ) ? 'AM' : 'PM';
+                hours = ( hours > 12 ) ? hours - 12 : hours;
+                hours = ( hours === 0 ) ? 12 : hours;
+            }
+          
+            // Clock
+            var clockStr = zeroPad(hours) + ':' + zeroPad(minutes) + ':' + zeroPad(seconds) + ' ' + ampm;
+            consoleWindow.document.getElementById('clock').firstChild.nodeValue = clockStr;
+            
+            // Timer
+            seconds = Math.floor((now - consoleWindow.timerStart) / 1000);
+            minutes = Math.floor(seconds / 60);
+            seconds = Math.floor(seconds % 60);
+            consoleWindow.document.getElementById('timer').firstChild.nodeValue = zeroPad(minutes) + 'm ' + zeroPad(seconds) + 's';
+            
+            if (!consoleWindow.initialized) {
+                // Nudge the slide windows after load, or they will scrolled wrong on Firefox.
+                consoleWindow.document.getElementById('slideView').contentWindow.scrollTo(0,0);
+                consoleWindow.document.getElementById('preView').contentWindow.scrollTo(0,0);
+                consoleWindow.initialized = true;
+            }
+        };
+
+        var registerKeyEvent = function(keyCodes, handler, window) {
+            if (window === undefined) {
+                window = consoleWindow;
+            }
+            
+            // prevent default keydown action when one of supported key is pressed
+            window.document.addEventListener("keydown", function ( event ) {
+                if ( !event.ctrlKey && !event.altKey && !event.shiftKey && !event.metaKey && keyCodes.indexOf(event.keyCode) !== -1) {
+                    event.preventDefault();
+                }
+            }, false);
+                    
+            // trigger impress action on keyup
+            window.document.addEventListener("keyup", function ( event ) {
+                if ( !event.ctrlKey && !event.altKey && !event.shiftKey && !event.metaKey && keyCodes.indexOf(event.keyCode) !== -1) {
+                        handler();
+                        event.preventDefault();
+                }
+            }, false);
+        };
+    
+        var open = function() {
+            if(top.isconsoleWindow){ 
+                return;
+            }
+            
+            if (consoleWindow && !consoleWindow.closed) {
+                consoleWindow.focus();
+            } else {
+                consoleWindow = window.open();
+                // This sets the window location to the main window location, so css can be loaded:
+                consoleWindow.document.open();
+                // Write the template:
+                consoleWindow.document.write(consoleTemplate.replace("{{cssFile}}", cssFile));
+                consoleWindow.document.title = 'Speaker Console (' + document.title + ')';
+                consoleWindow.impress = window.impress;
+                // We set this flag so we can detect it later, to prevent infinite popups.
+                consoleWindow.isconsoleWindow = true;
+                // Add clock tick
+                consoleWindow.timerStart = new Date();
+                consoleWindow.timerReset = timerReset;
+                consoleWindow.clockInterval = setInterval('console("' + rootId + '").clockTick()', 1000 );
+                
+                // keyboard navigation handlers
+                // 33: pg up, 37: left, 38: up
+                registerKeyEvent([33, 37, 38], impress().prev);
+                // 34: pg down, 39: right, 40: down
+                registerKeyEvent([34, 39, 40], impress().next);
+                // 32: space
+                registerKeyEvent([32], spaceHandler);
+                
+                // Cleanup
+                consoleWindow.onbeforeunload = function() {
+                    // I don't know why onunload doesn't work here.
+                    clearInterval(consoleWindow.clockInterval);
+                };
+                
+                // It will need a little nudge on Firefox, but only after loading:                
+                onStepEnter();
+                consoleWindow.initialized = false;
+                consoleWindow.document.close();
+
+                return consoleWindow;
+            }
+        };
+
+        var init = function(css) {
+            if (css !== undefined) {
+                cssFile = css;
+            }
+
+            // Register the event
+            root.addEventListener('impress:stepleave', onStepLeave);
+            root.addEventListener('impress:stepenter', onStepEnter);
+            
+            //When the window closes, clean up after ourselves.
+            window.onunload = function(){
+                if (consoleWindow && !consoleWindow.closed) {
+                    consoleWindow.close();
+                }
+            };
+            
+            //Open speaker console when they press 'p'
+            registerKeyEvent([80], open, window);
+        };
+                
+        // Return the object        
+        allConsoles[rootId] = {init: init, open: open, clockTick: clockTick, registerKeyEvent: registerKeyEvent};
+        return allConsoles[rootId];
+        
+    };
+    
+})(document, window);

File debug/remote.py

+#!/usr/bin/python
+
+"""A simple script."""
+import rpdb2
+
+rpdb2.start_embedded_debugger("pass")
+
+a = 1
+b = 2
+
+c = a + b
+
+print c

File debug/simple.py

+#!/usr/bin/python
+
+"""A simple script."""
+
+a = 1
+b = 2
+
+c = a + b
+
+print c

File debug/simpledebug.py

+#!/usr/bin/python
+
+"""A simple script."""
+
+a = 1
+b = 2
+import pdb; pdb.set_trace()
+
+c = a + b
+
+print c

File islanders/Puppy.py

+""" This module is my container for the attributes of a puppy """
+
+age=None

File islanders/cpp/puppy.cpp

+#include <iostream>
+using namespace std;
+
+class Puppy
+{
+
+	int m_Age;
+	
+	public:
+	
+	int  getAge() const { 
+		return m_Age; 
+	}
+	
+	void setAge(int age) {
+		m_Age = age;
+	}
+	
+};
+
+int main( int argc, const char* argv[] )
+{
+ Puppy benji;
+
+ benji.setAge(1);
+ cout << "age :" << benji.getAge() << endl;
+}

File islanders/csharp/puppy.cs

+using System;
+
+public class Puppy
+{
+   private int puppyAge;
+
+   public int GetAge()
+   {
+       return puppyAge;
+   }
+
+   public void SetAge(int value)
+   {
+       puppyAge = value;
+   }
+   
+   static public void Main ()
+   {
+       Puppy benji = new Puppy ();
+       
+       benji.SetAge(1);
+   	   Console.WriteLine ("age: " + benji.GetAge());
+   }
+}

File islanders/dogyears.py

+class DogYears(object):
+    def __get__(self, instance, owner=None):
+        dog_years = (21+(instance.age-2)*4) if instance.age >=2\
+                    else 10.5*instance.age
+        return dog_years
+

File islanders/dogyears.pyc

Binary file added.

File islanders/java/Puppy.class

Binary file added.

File islanders/java/Puppy.java

+public class Puppy{
+   
+   private int age;
+
+   public Puppy(){
+   }
+
+   public void setAge( int theAge ){
+       age = theAge;
+   }
+
+   public int getAge( ){
+       return age;
+   }
+   public static void main(String []args){
+      Puppy benji = new Puppy();
+
+      benji.setAge( 2 );
+
+      /* Call another class method to get puppy's age */
+      System.out.println("age :" + benji.getAge( )); 
+   }
+}

File islanders/presentation/benji.png

Added
New image

File islanders/presentation/java.jpg

Added
New image

File islanders/presentation/presentation.html

+<!DOCTYPE html>
+<!--
+  Copyright 2010 Google Inc.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+  Original slides: Marcin Wichary (mwichary@google.com)
+  Modifications: Ernest Delgado (ernestd@google.com)
+                 Alex Russell (slightlyoff@chromium.org)
+
+  landslide modifications: Adam Zapletal (adamzap@gmail.com)
+                           Nicolas Perriault (nperriault@gmail.com)
+-->
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="chrome=1">
+    <title>Hands on Python: From Java to Burma</title>
+    <!-- Styles -->
+    
+    <link rel="stylesheet" media="print" href="file:///usr/local/lib/python2.7/dist-packages/landslide/themes/default/css/print.css">
+    <link rel="stylesheet" media="screen, projection" href="file:///usr/local/lib/python2.7/dist-packages/landslide/themes/default/css/screen.css">
+    
+    
+    <!-- /Styles -->
+    <!-- Javascripts -->
+    
+    <script type="text/javascript" src="file:///usr/local/lib/python2.7/dist-packages/landslide/themes/default/js/slides.js"></script>
+    
+    
+    <!-- /Javascripts -->
+</head>
+<body>
+  <div id="blank"></div>
+  <div class="presentation">
+    <div id="current_presenter_notes">
+      <div id="presenter_note"></div>
+    </div>
+    <div class="slides">
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide">
+          <div class="inner">
+            
+            <header><h1>Hands on Python: From Java to Burma</h1></header>
+            
+            
+            <section><p>by <em>Francois Dion</em> @f_dion</p>
+<p><img alt="PYPTUG" src="file:///home/fdion/pyptug/islanders/presentation/pyptug.png" /></p>
+<p>PYPTUG @WFU Monday August 26th 2013</p></section>
+            
+          </div>
+          <div class="presenter_notes">
+            <header><h1>Presenter Notes</h1></header>
+            <section>
+            
+            </section>
+          </div>
+          <footer>
+            
+            <aside class="source">
+              Source: <a href="slides.md">slides.md</a>
+            </aside>
+            
+            <aside class="page_number">
+              1/17
+            </aside>
+          </footer>
+        </div>
+      </div>
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide">
+          <div class="inner">
+            
+            <header><h1>Hands on Python: From Java to Burma</h1></header>
+            
+            
+            <section><p><img alt="Java" src="file:///home/fdion/pyptug/islanders/presentation/java.jpg" /></p>
+<h2>The Islanders</h2>
+<p>Getters and setters are an engrained pattern for the islanders of Java, C++ and some other islanders. Naturally, as these islanders travel to Myanmar and encounter The Python (well, yes, we do know that Python is from that TV show, and not the reptile, be it a Burmese or other kind), they continue these ancient customs.</p>
+<p>In this hands on session, we will show you how to keep it simple and we will get deep into attributes, properties, descriptors and have fun with them.</p></section>
+            
+          </div>
+          <div class="presenter_notes">
+            <header><h1>Presenter Notes</h1></header>
+            <section>
+            
+            </section>
+          </div>
+          <footer>
+            
+            <aside class="source">
+              Source: <a href="slides.md">slides.md</a>
+            </aside>
+            
+            <aside class="page_number">
+              2/17
+            </aside>
+          </footer>
+        </div>
+      </div>
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide">
+          <div class="inner">
+            
+            <header><h1>Meet Benji</h1></header>
+            
+            
+            <section><p><img alt="Benji" src="file:///home/fdion/pyptug/islanders/presentation/benji.png" /></p>
+<p>Attributes?</p></section>
+            
+          </div>
+          <div class="presenter_notes">
+            <header><h1>Presenter Notes</h1></header>
+            <section>
+            
+            </section>
+          </div>
+          <footer>
+            
+            <aside class="source">
+              Source: <a href="slides.md">slides.md</a>
+            </aside>
+            
+            <aside class="page_number">
+              3/17
+            </aside>
+          </footer>
+        </div>
+      </div>
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide">
+          <div class="inner">
+            
+            <header><h1>Attributes</h1></header>
+            
+            
+            <section><ul>
+<li>age</li>
+<li>gender</li>
+<li>race</li>
+<li>color</li>
+<li>height</li>
+<li>weight</li>
+<li>vaccinated</li>
+<li>hair</li>
+<li>bark</li>
+</ul></section>
+            
+          </div>
+          <div class="presenter_notes">
+            <header><h1>Presenter Notes</h1></header>
+            <section>
+            
+            </section>
+          </div>
+          <footer>
+            
+            <aside class="source">
+              Source: <a href="slides.md">slides.md</a>
+            </aside>
+            
+            <aside class="page_number">
+              4/17
+            </aside>
+          </footer>
+        </div>
+      </div>
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide has_code">
+          <div class="inner">
+            
+            <header><h1>Namespaces</h1></header>
+            
+            
+            <section><h2>Just like math</h2>
+<p>age=1</p>
+<h2>My age and Benji's age</h2>
+<p>print(age)</p>
+<p>How is the computer supposed to know if it is my age, your age 
+or Benji's age.</p>
+<p>We need a container to hold all the attributes for benji, and a
+completely different one for you and I.</p>
+<h2>Puppy, Human</h2>
+<div class="highlight"><pre><span class="lineno">1</span> <span class="n">Puppy</span><span class="o">.</span><span class="n">age</span>
+<span class="lineno">2</span> <span class="n">Human</span><span class="o">.</span><span class="n">age</span>
+</pre></div>
+
+<p>We can do it with modules or with classes, but...</p></section>
+            
+          </div>
+          <div class="presenter_notes">
+            <header><h1>Presenter Notes</h1></header>
+            <section>
+            
+            </section>
+          </div>
+          <footer>
+            
+            <aside class="source">
+              Source: <a href="slides.md">slides.md</a>
+            </aside>
+            
+            <aside class="page_number">
+              5/17
+            </aside>
+          </footer>
+        </div>
+      </div>
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide has_code">
+          <div class="inner">
+            
+            <header><h1>Modules</h1></header>
+            
+            
+            <section><div class="highlight"><pre><span class="lineno">1</span> <span class="kn">import</span> <span class="nn">Puppy</span>
+</pre></div>
+
+<p><em>hands on</em></p></section>
+            
+          </div>
+          <div class="presenter_notes">
+            <header><h1>Presenter Notes</h1></header>
+            <section>
+            
+            </section>
+          </div>
+          <footer>
+            
+            <aside class="source">
+              Source: <a href="slides.md">slides.md</a>
+            </aside>
+            
+            <aside class="page_number">
+              6/17
+            </aside>
+          </footer>
+        </div>
+      </div>
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide has_code">
+          <div class="inner">
+            
+            <header><h1>Class</h1></header>
+            
+            
+            <section><div class="highlight"><pre><span class="lineno">1</span> <span class="k">class</span> <span class="nc">Puppy</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
+</pre></div>
+
+<p><em>hands on</em></p>
+<p>What if I wanted to add dog years?</p></section>
+            
+          </div>
+          <div class="presenter_notes">
+            <header><h1>Presenter Notes</h1></header>
+            <section>
+            
+            </section>
+          </div>
+          <footer>
+            
+            <aside class="source">
+              Source: <a href="slides.md">slides.md</a>
+            </aside>
+            
+            <aside class="page_number">
+              7/17
+            </aside>
+          </footer>
+        </div>
+      </div>
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide has_code">
+          <div class="inner">
+            
+            <header><h1>Java</h1></header>
+            
+            
+            <section><div class="highlight"><pre><span class="lineno"> 1</span> <span class="kd">public</span> <span class="kd">class</span> <span class="nc">Puppy</span><span class="o">{</span>
+<span class="lineno"> 2</span> 
+<span class="lineno"> 3</span>     <span class="kd">private</span> <span class="kt">int</span> <span class="n">age</span><span class="o">;</span>
+<span class="lineno"> 4</span> 
+<span class="lineno"> 5</span>     <span class="kd">public</span> <span class="nf">Puppy</span><span class="o">(){</span>
+<span class="lineno"> 6</span>     <span class="o">}</span>   
+<span class="lineno"> 7</span>     <span class="kd">public</span> <span class="kt">void</span> <span class="nf">setAge</span><span class="o">(</span> <span class="kt">int</span> <span class="n">theAge</span> <span class="o">){</span>
+<span class="lineno"> 8</span>         <span class="n">age</span> <span class="o">=</span> <span class="n">theAge</span><span class="o">;</span>
+<span class="lineno"> 9</span>     <span class="o">}</span>
+<span class="lineno">10</span>     <span class="kd">public</span> <span class="kt">int</span> <span class="nf">getAge</span><span class="o">(</span> <span class="o">){</span>
+<span class="lineno">11</span>         <span class="k">return</span> <span class="n">age</span><span class="o">;</span>
+<span class="lineno">12</span>     <span class="o">}</span>
+<span class="lineno">13</span> 
+<span class="lineno">14</span>     <span class="kd">public</span> <span class="kd">static</span> <span class="kt">void</span> <span class="nf">main</span><span class="o">(</span><span class="n">String</span> <span class="o">[]</span><span class="n">args</span><span class="o">){</span>
+<span class="lineno">15</span>         <span class="n">Puppy</span> <span class="n">benji</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Puppy</span><span class="o">();</span>
+<span class="lineno">16</span> 
+<span class="lineno">17</span>         <span class="n">benji</span><span class="o">.</span><span class="na">setAge</span><span class="o">(</span> <span class="mi">2</span> <span class="o">);</span>
+<span class="lineno">18</span> 
+<span class="lineno">19</span>         <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="s">&quot;age:&quot;</span> <span class="o">+</span> <span class="n">benji</span><span class="o">.</span><span class="na">getAge</span><span class="o">(</span> <span class="o">));</span> 
+<span class="lineno">20</span>     <span class="o">}</span>
+<span class="lineno">21</span> <span class="o">}</span>
+</pre></div>
+</section>
+            
+          </div>
+          <div class="presenter_notes">
+            <header><h1>Presenter Notes</h1></header>
+            <section>
+            
+            </section>
+          </div>
+          <footer>
+            
+            <aside class="source">
+              Source: <a href="slides.md">slides.md</a>
+            </aside>
+            
+            <aside class="page_number">
+              8/17
+            </aside>
+          </footer>
+        </div>
+      </div>
+      
+      <!-- slide source: slides.md -->
+      <div class="slide-wrapper">
+        <div class="slide has_code">
+          <div class="inner">
+            
+            <header><h1>C++</h1></header>
+            
+            
+            <section><div class="highlight"><pre><span class="lineno"> 1</span> <span class="cp">#include &lt;iostream&gt;</span>
+<span class="lineno"> 2</span> <span class="k">using</span> <span class="k">namespace</span> <span class="n">std</span><span class="p">;</span>
+<span class="lineno"> 3</span> 
+<span class="lineno"> 4</span> <span class="k">class</span> <span class="nc">Puppy</span><span class="p">{</span>
+<span class="lineno"> 5</span>     <span class="kt">int</span> <span class="n">m_Age</span><span class="p">;</span>
+<span class="lineno"> 6</span> 
+<span class="lineno"> 7</span>     <span class="nl">public:</span>