Python + NoSQL in Animations

7,672 views

Published on

"Python + NoSQL in Animations", a talk I gave in PyConTW 2013.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,672
On SlideShare
0
From Embeds
0
Number of Embeds
5,841
Actions
Shares
0
Downloads
20
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Python + NoSQL in Animations

  1. 1. 官順暉in  Animaons  NoSQL  Python  +  
  2. 2. What  can  you  expect?  One  mans  journey  of  learning  python  in  animaon  industry.  
  3. 3. http://www.flickr.com/photos/nidalm/3523404908/Conf. Room #2: Sphinx Documentation Conf. Room #1: Pyramid Pro
  4. 4. • In  Gaming,  anima*on,  VFX  industry?  • Coding  in  Autodesk  Maya?  http://inequalitybyinteriordesign.wordpress.com/2012/03/09/glitterbomb/
  5. 5. NoSQL?      CouchDB?    MongoDB?  http://commons.wikimedia.org/wiki/File:Core-repository_hg.jpg
  6. 6. 官順暉  (Drake)  R&D  Manager,  Digimax  Inc.  @drakeguan  
  7. 7. http://hohobear.wordpress.com/2010/12/19/1161/
  8. 8. http://blog.codility.com/2012/05/codility-on-acm-icpc.html
  9. 9. http://www.nakuz.com/bbs/viewthread.php?action=printable&tid=4352983&sid=3XQfMO
  10. 10. Peregrine  /  Brilliance  Studio  
  11. 11. •  太極影⾳音 (Digimax Inc.)•  Animation Studio / Post-production•  ~100 employees•  artist : engineer = 70% : 10%
  12. 12. Digimax  Producon  
  13. 13. Rookies!  Lets  build    our  animaon  pipeline!  http://paceaustralia.wordpress.com/2011/03/01/the-difference-between-a-sales-funnel-and-a-sales-pipeline/
  14. 14. A  project  for  coding  in  Python  http://www.wallscorner.com/matrix-coding-wallpapers.html
  15. 15. GUI  Programming  is  King  http://www.joelonsoftware.com/uibook/fog0000000249.html
  16. 16. PyGTK,  PyQt  or  WxPython?  http://commons.wikimedia.org/wiki/File:WxPython-logo.pnghttp://www.pygtk.org/ http://aralbalkan.com/1675/
  17. 17. http://blog.narendrasisodiya.com/2011/04/learn-wxpython-using-example-wxpython.html
  18. 18. • Version  control  for  arsts  • Meaningful  color/layout  • All-­‐in-­‐one  >>  separated  • GUI  +  multhreading  http://misswargoenglish.wikispaces.com/Dracula
  19. 19. Lets  talk  about  animaon  
  20. 20. Programming  in  Maya  
  21. 21. Python  in  Maya!  http://usa.autodesk.com/adsk/servlet/item?linkID=9242256&id=13587662&siteID=123112
  22. 22. Ever  wondering    users  behaviors?  
  23. 23. Logging  first  name valuelevel DEBUGuser stellahost pc0111ip 192.168.101.111os posixpid 12039timestamp 2011-12-22T16:46:55Zklass CinemaSelectorControllerfunction OnModelUpdateShotsparams ([sh0010, sh0020, sh0030, sh0040, sh0050], )filename src/core/controller/CinemaSelectorController.py
  24. 24. The  most  clicked  buons  (funcons)?  http://commons.wikimedia.org/wiki/File:Panic_button.jpg
  25. 25. http://couchdb.apache.org/
  26. 26. The  most  clicked  buons  (funcons)?  
  27. 27. Pre-­‐defined  behavior  analysis  l  The  crash  rate  of  this  app?  l  Who  and  how  many  people  works  in  weekend?  l  The  heartbeat  of  the  produc*on  team?  l  ….  
  28. 28. Behavior  logging/mining  in  CouchDB  •  秒殺  •  易⽤用  •  JSON  loves  Dict  Cons  •  View  by  MapReduce  •  第⼀一次產⽣生  View  超慢  •  Disk  monster  •  Javascript?!  Pros  
  29. 29. Structured?      Database  in  animaon!  http://www.archello.com/sites/default/files/imagecache/media_image/story/media/09-12-15_Close_Up_IMAGIC_WEAVE_(26)(1).jpg
  30. 30. http://blog.prowork.me/post/41349307980/inserts-and-the-new-mongodb-php-driver-1-3
  31. 31. http://www.guardian.co.uk/news/datablog/2013/apr/25/forget-big-data-small-data-revolutionWe risk overlooking the much more importantstory here, the real revolution, which is themass democratisation of the means of access,storage and processing of data. This storyisnt about large organisations runningparallel software on tens of thousand ofservers, but about more people than everbeing able to collaborate effectively around adistributed ecosystem of information, anecosystem of small data.
  32. 32. Asset  management  for  creave  environment  • DB  schema?  • Query  performance?  • JIT  dev/deploy?  http://www.flickr.com/photos/bluishorange/6327156918/
  33. 33. Takeaway  • Version  control  for  non-­‐programmer  is  an  un-­‐explored  area.  • Python  dominates  anima*on/VFX  industry.  • Anyone  can  benefit  from  NoSQL  and  other  cloud  techniques.  http://pennywize.co/takeaway-rather-fakeaway/boxed-lunch-2/

×