IPython notebook + IRuby - RubyConfAR 2013
-
Upload
runa -
Category
Technology
-
view
964 -
download
1
Transcript of IPython notebook + IRuby - RubyConfAR 2013
![Page 1: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/1.jpg)
IPython Notebook+ Ruby = IRubyRubyConf Argentina - 2013
martin sarsale @runixo
http://www.properati.com.ar
![Page 2: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/2.jpg)
Que es IPython Notebook
● un REPL○ read-eval-print loop. tipo irb o pry o
interactive_editor● … pero Web● Un kernel agnóstico (Python / Ruby /
Javascript)● Output “enriquecido” ( Texto / Gráficos /
Javascript)● Input: Codigo + Markdown
![Page 3: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/3.jpg)
El porqué de esta charla
● Soluciona MIS problemas○ probablemente los suyos sean parecidos
● Una herramienta que se monta sobre “algo” conocido○ Curva de aprendizaje mínima - deliciosa
● Instalable / usable / explorable; *ya*
![Page 4: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/4.jpg)
Que es IPython Notebook (II)
![Page 5: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/5.jpg)
Celdas de código o markdown
![Page 6: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/6.jpg)
Como funciona
Notebook Server
(Python)
Kernel Rubyeval()
IPython Notebook Web
(HTML/JS)
cliente servidor
![Page 7: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/7.jpg)
Como funciona
Notebook Server
(Python)
Kernel Rubyeval()
IPython Notebook Web
(HTML/JS)
0MQ “1+1”
Websockets: “1+1”
2
2
cliente servidor
![Page 8: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/8.jpg)
Para que sirve: mostrar código
![Page 9: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/9.jpg)
Para que sirve: mostrar códigoEl output forma parte del notebook guardado!
Basta de demostraciones en vivo!
![Page 10: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/10.jpg)
Para que sirve: enseñar / aprenderLearn Data Science (!!)
Open content for self-directed learning in data science
What● A collection of Data
Science Learning materials in the form of IPython Notebooks.
● Associated data sets.
![Page 11: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/11.jpg)
Para que sirve: explorar datos
✉ Che… ¿Cuales son las inmobiliarias que tienen más propiedades?
![Page 12: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/12.jpg)
Para que sirve: explorar datos
✉ Che… ¿Cuales son las inmobiliarias que tienen más propiedades?
![Page 13: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/13.jpg)
✉ Che… ¿Cuales son las inmobiliarias que tienen más propiedades?
http://192.168.0.144:9999/227275d5-6447-493f-a245-343d127168f3
Top 10 Inmobiliarias por cantidad de avisos
![Page 14: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/14.jpg)
Para que sirve: explorar datos
![Page 15: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/15.jpg)
Para que sirve: explorar datos
![Page 16: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/16.jpg)
Como lo usamos
● Server de IPython Notebook en la LAN● Que carga config/boot.rb
○ nuestra configuración (db, sphinx, redis)○ nuestras clases
● Un Notebook en vez de ‘un scriptcito de 5 líneas’
![Page 17: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/17.jpg)
Como lo usan otros
● Damián Avila y sus slides○ bioquímico○ blog
● Javier Burroni y sus numeritos○ actuario○ blog
![Page 18: IPython notebook + IRuby - RubyConfAR 2013](https://reader036.fdocuments.net/reader036/viewer/2022062313/55889b58d8b42a27268b472f/html5/thumbnails/18.jpg)
IPython Notebook+ Ruby = IRubyRubyConf Argentina - 2013
martin sarsale @runixo
http://www.properati.com.ar