User Tools

Site Tools


python:pycon2013

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python:pycon2013 [2013/03/17 12:27] dblumepython:pycon2013 [2023/04/12 20:44] (current) – external edit 127.0.0.1
Line 20: Line 20:
 >>> hex( int( bin( int( hashlib.md5( s ).hexdigest(), 16 ) )[2:len(s)+2], 2 ) )[2:] >>> hex( int( bin( int( hashlib.md5( s ).hexdigest(), 16 ) )[2:len(s)+2], 2 ) )[2:]
 </code> </code>
 +
 +===== TODO: contextual.io Challenge  =====
 +
 +[[http://www.contextual.io/pycon2013/122111021012022020120210111]]
 +
 +
 +References:
 +  * http://wordaligned.org/articles/steganography
 +  * https://github.com/psibi/Rizzy/blob/master/stepic.py
 +
  
 ===== Disney - Optimizing ===== ===== Disney - Optimizing =====
Line 25: Line 35:
 [[http://davidschachter.com/|David Schachter]] presented a talk on program optimization. [[http://davidschachter.com/|David Schachter]] presented a talk on program optimization.
 [[http://davidschachter.com/ds/PyCon_slides_public.pdf|His slides]] are available, too. [[http://davidschachter.com/ds/PyCon_slides_public.pdf|His slides]] are available, too.
 +
 +There's an interesting slide where he forces a miss on the L1 cache to unblock threads when he's filling up an array, by not accessing sequential addresses.
 +
 +<code>
 +x[1] = ...
 +x[5] = ...
 +x[10] = ...
 +x[2] = ...
 +x[6] = ...
 +x[11] = ...
 +...
 +</code>
  
 ===== New Relic - Managing Python App Performance ===== ===== New Relic - Managing Python App Performance =====
Line 50: Line 72:
   # More stuff... https://code.google.com/p/google-api-python-client/downloads/list   # More stuff... https://code.google.com/p/google-api-python-client/downloads/list
      
-2. Discovery +2.  [[http://goo.gl/cyY1U|Google Developers: Discovery API]]
- +
-[[http://goo.gl/cyY1U]] +
 ===== Lightning Talks ===== ===== Lightning Talks =====
  
Line 156: Line 175:
 People often solve this problem with threads. People often solve this problem with threads.
  
 +===== Raspberry Pi Quick Notes =====
  
 +<code>
 +User: pi
 +Password: raspberry
 +
 +$ startx
 +$ raspi-config
 +$ sudo shutdown -h now
 +</code>
  
 ===== Random Python-related URLs ===== ===== Random Python-related URLs =====
python/pycon2013.1363548479.txt.gz · Last modified: 2023/04/12 20:44 (external edit)