Slide 1

Slide 1 text

Jupyter IRuby Notebook RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 1

Slide 2

Slide 2 text

RORLAB 84ߣ૩ ݽ੐ 2015. 4. 14. RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 2

Slide 3

Slide 3 text

RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 3

Slide 4

Slide 4 text

REPL of Ruby irb(ܖ࠺ ղ੢ REPL) PRY (ഛ੢ REPL) RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 4

Slide 5

Slide 5 text

PRY an IRB alternative and runtime developer console RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 5

Slide 6

Slide 6 text

IRuby Notebook sciruby/iruby RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 6

Slide 7

Slide 7 text

Demo #1 • Executing IRuby Notebook server • IRuby Notebook interface • Evaluating simple Ruby expressions RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 7

Slide 8

Slide 8 text

What is REPL? Read–eval–print loop RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 8

Slide 9

Slide 9 text

from Lisp RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 9

Slide 10

Slide 10 text

IRuby Notebook 2012. 3. 25. ~ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 10

Slide 11

Slide 11 text

IPython 2001֙ࠗఠ ٜ݅য૓ Python REPL੄ ഛ੢ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 11

Slide 12

Slide 12 text

IPython 0.0.1 https://gist.github.com/fperez/1579699 RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 12

Slide 13

Slide 13 text

Python੄ REPL ҳഅ • ӝࠄ REPL • python • ഛ੢ REPL • ipython • bpython RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 13

Slide 14

Slide 14 text

৵ Python REPL੄ ഛ੢ਸ ٜ݅঻ਸө? RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 14

Slide 15

Slide 15 text

৵ Python REPL੄ ഛ੢ਸ ٜ݅঻ਸө? I started using Python in 2001 and liked the language, but its interactive prompt felt like a crippled toy compared to the systems mentioned(maple, mathematica, etc) above or to a Unix shell. — Fernando Perez RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 15

Slide 16

Slide 16 text

ܖ࠺ীࢲ੄ pry RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 16

Slide 17

Slide 17 text

RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 17

Slide 18

Slide 18 text

IPython 0.12 RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 18

Slide 19

Slide 19 text

IPython 0.12 The major new feature with this release is the IPython Notebook, an interactive Python interface running in the browser. Download it now, or read more about what’s new. — IPython 0.12 Release Note RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 19

Slide 20

Slide 20 text

IPython Notebook 2011~ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 20

Slide 21

Slide 21 text

IPython 0.11 RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 21

Slide 22

Slide 22 text

IPython 0.11 - qtconsole Rich GUI IPython client RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 22

Slide 23

Slide 23 text

IPython 0.11 - ZeroMQ • ZeroMQ ӝ߈ ݫद૑ दझమ بੑ • ࢿמ ޙઁ ೧Ѿ ߂ qtconsole ߔূ٘ • ipython notebook RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 23

Slide 24

Slide 24 text

ӝઓ੄ REPL • ೧׼ೞח प೯ӝ ঱য۽ ҳഅ • lisp -> lisp, irb -> ruby • python -> python • ௿ۄ੉঱౟(ࣕ)৬ ߔূ٘(प೯ӝ)੄ ъೠ Ѿ೤ • ܻ࠙ೞӝ য۰਑ • REPL੉ о૑ח Ӕࠄ੸ੋ ઁড RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 24

Slide 25

Slide 25 text

ZeroMQо بੑػ ੉ਬ ࢿמ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 25

Slide 26

Slide 26 text

ZeroMQо بੑػ ੉ਬ ZeroMQ provides us with much tighter control over memory, higher performance, and its communications are impervious to the Python Global Interpreter Lock because they take place in a system-level C++ thread." — IPython 0.11 Release Note RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 26

Slide 27

Slide 27 text

ZeroMQ بੑী ઱ݾ೧ঠ ೞח ੉ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 27

Slide 28

Slide 28 text

ZeroMQ ੉੹ ױੌ ೐۽Ӓ۔ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 28

Slide 29

Slide 29 text

ZeroMQ ੉റ ௿ۄ੉঱౟৬ ߔূ٘੄ ডೠ Ѿ೤ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 29

Slide 30

Slide 30 text

׮নೠ ௿ۄ੉঱౟ ૑ਗ • Notebook(client) - IPython Server • qtconsole • IPython Notebook • IPython • BIPython RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 30

Slide 31

Slide 31 text

׮নೠ ௿ۄ੉঱౟ ૑ਗ(2) RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 31

Slide 32

Slide 32 text

RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 32

Slide 33

Slide 33 text

Message Protocol • Messaging in IPython • 0.11ীࢲ ҕѐ • ੗୓ ߡ੹ਸ о૑Ҋ ੓ਵݴ അ੤ 5.0 • ZeroMQ ӝ߈ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 33

Slide 34

Slide 34 text

प೯ӝ(ழօ)੄ ܻ࠙ • Message Protocolী ٮܰח Kernel ѐ֛ بੑ • Python प೯ӝо Python Kernel۽ ܻ࠙ؽ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 34

Slide 35

Slide 35 text

IRuby੄ ੿੄ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 35

Slide 36

Slide 36 text

IRuby = Interactive Ruby? RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 36

Slide 37

Slide 37 text

IRuby = IPython Kernel for Ruby RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 37

Slide 38

Slide 38 text

IPython਷ ঱যী ࠺ઙࣘ੸ੋ REPL • ழօ੉ ܻ࠙غݶࢲ ׮নೠ ழօ੉ ѐߊؽ • ӝઓ੄ بҳ/ࢤక҅ܳ Ӓ؀۽ ੉ਊ оמ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 38

Slide 39

Slide 39 text

IPython Kernels • IPython kernels for other languages • Julia, Haskell, FSharp, Ruby, Go • Scala, Mathics, Aldor, Calico, Erlang • Lua, R, OCaml, Forth, Perl, Perl6 • Octave, Scilab, MathLab, Bash, CSahrp • Clojure, Hy, Redis, Javascript, Calysto, ... RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 39

Slide 40

Slide 40 text

IPython 3.0 = Jupyter • Project Jupyter • ؊ ੉࢚ Python݅ਸ ਤೠ بҳо ইשਸ ੋ੿ • ౵੉ॆী ҙ۲ػ ೐۽ં౟ -> IPython • ׮঱য ૑ਗਸ ਤೠ ೐۽ં౟ -> Jupyter • Jupyter Protocol • Jupyter Notebook(HTML+Javascript ܻ࠙) RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 40

Slide 41

Slide 41 text

Jupiter тܾۨয় тܾۨ੉ - য়ېػ ഴܯೠ दпച ࢎ۹ link RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 41

Slide 42

Slide 42 text

Jupyter = Julia + Python + R RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 42

Slide 43

Slide 43 text

Jupyter = Julia + Python + R RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 43

Slide 44

Slide 44 text

Jupyter ੉੹ - ఋ঱য ழօ ࢎਊߨ IPython਷ ழօী ੄ઓ੸ਵ۽ प೯ $ ipython notebook --kernel RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 44

Slide 45

Slide 45 text

Jupyter ੉റ - Kernelspec ౠ੿ ழօী ࠺੄ઓ੸ਵ۽ प೯ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 45

Slide 46

Slide 46 text

ࢸ੿ ٣۩ఠܻ ҳઑ $ tree -d -L 1 ~/.ipython ~/.ipython ├── db ├── extensions ├── kernels # <- ৈӝ ├── log ├── nbextensions ├── pid ├── profile_default ├── security ├── startup └── static RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 46

Slide 47

Slide 47 text

ఋ঱য ழօ ࢎਊ -> ׮঱য ழօ ࢎਊ IRuby, IBash ࢸ஖ ੉റ $ tree -d -L 1 ~/.ipython/kernels ~/.ipython/kernels ├── ruby └── bash RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 47

Slide 48

Slide 48 text

Jupyter Interface ೞա੄ Jupyter Instanceীࢲ ׮঱য ழօ प೯оמ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 48

Slide 49

Slide 49 text

Demo 2 • Ruby • Haskell • Bash RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 49

Slide 50

Slide 50 text

IPython Notebook IPython 0.11~ (2011֙~) RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 50

Slide 51

Slide 51 text

What is the big deal about IPython Notebooks? RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 51

Slide 52

Slide 52 text

ਢ গ೒ܻா੉࣌ • ߧਊ੸ੋ ਬ੷ ੋఠಕ੉झ • ࠺ࢶഋ੸ ௏٘ प೯ • CodeMirror ী٣ఠ • Javascript ജ҃ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 52

Slide 53

Slide 53 text

ߧਊ੸ੋ ਬ੷ ੋఠಕ੉झ • ਢীࢲ оמೠ ݽٚ Ѫ • HTML, CSS, Image, Canvas, SVG, ... RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 53

Slide 54

Slide 54 text

࠺ࢶഋ੸ ௏٘ प೯ (1) ࢶഋ੸ੋ प೯ - REPL੄ ࠄ૕੸ੋ ೠ҅ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 54

Slide 55

Slide 55 text

࠺ࢶഋ੸ ௏٘ प೯ (2) ௏٘ח ࣄ ױਤ۽ ಞ૘ೞҊ, प೯غҊ, ੤प೯ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 55

Slide 56

Slide 56 text

CodeMirror ী٣ఠ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 56

Slide 57

Slide 57 text

Javascript ജ҃ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 57

Slide 58

Slide 58 text

Demo 3 • Javascript Magic • D3 Notebook ৘ઁ(दпച झఠ٣) • Interactive Widget • InlineAttachment ৘ઁ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 58

Slide 59

Slide 59 text

ৈӝө૑ח ೐۽Ӓې߁ ੉ঠӝ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 59

Slide 60

Slide 60 text

ৈӝࠗఠח Notebook ੉ঠӝ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 60

Slide 61

Slide 61 text

৵ Jupyterী ઱ݾ೧ঠ ೞחо? RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 61

Slide 62

Slide 62 text

REPL • ࣗݽࢿ ೐۽Ӓې߁ ജ҃ • ࠁా ૣ਷ ௏٘ పझ౟ਊ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 62

Slide 63

Slide 63 text

REPL੄ ೠ҅ܳ ֈযࢲ • ӝ۾ਸ ਤೠ ೐۽Ӓې߁ ജ҃ • ׮নೠ ಴അ ૑ਗ • ࣄ ױਤ੄ ௏٘ ಞ૘ ૑ਗ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 63

Slide 64

Slide 64 text

োणҗ ӝ۾ Examples are reusable ideas in the form of customizable code snippets; examples can serve as an alternative to fixed, monolithic typologies; examples are a shared extension of memory. — Eyeo 2013 - For example by Mike Bostock RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 64

Slide 65

Slide 65 text

Demo 4 • naycot/euler_project RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 65

Slide 66

Slide 66 text

௏٘৬ Ӗ ࢎ੉੄ ࠄ૕੸ੋ ޙઁ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 66

Slide 67

Slide 67 text

௏٘ IPython code ઺ ੌࠗ - BSD License RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 67

Slide 68

Slide 68 text

Ӗ Discourse on Floating Bodies, by Galileo Galilei RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 68

Slide 69

Slide 69 text

௏٘৬ Ӗ ≒ ޛҗ ӝܴ • п੗ Ҋਬೠ ݓۅਸ о૗ • ੹ഃ ׮ܲ ߑधਵ۽ ॳৈ૗ • بҳ۽ ୊ܻೡ ࣻ ੓ח ࠗ࠙੉ ׮ܴ • ޙߨ ࠙ࢳҗ ݏ୺ߨ/য়ఋ • Syntax ೞ੉ۄ੉౴ • 80੗ ઁೠҗ ޙױ ѐ֛ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 69

Slide 70

Slide 70 text

Ӗ উী ನೣػ "લয੓ח" ௏٘ ଼ী पܽ ௏٘ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 70

Slide 71

Slide 71 text

௏٘৬ Ӗ੄ Ҋਬೠ ݓۅী ؀ೠ Ҋ޹ٜ • Donal E. Knuth - Literate Programming • Alan Kay - Active Essays • Fernando Perez - Data-driven Journalism RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 71

Slide 72

Slide 72 text

Literate Programming(ޙ೟੸ ೐۽Ӓې߁) Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. — Donald E. Knuth RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 72

Slide 73

Slide 73 text

э਷ ಣݶ ਤী ৢ۰૓ ௏٘৬ ޙࢲ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 73

Slide 74

Slide 74 text

CWeb (1) RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 74

Slide 75

Slide 75 text

CWeb (2) ҳઑ੸ ޙࢲചܳ ਤೠ CWEB दझమ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 75

Slide 76

Slide 76 text

"࢓ই੓ח" ௏٘ উী ನೣػ Ӗ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 76

Slide 77

Slide 77 text

Sphinx (1) ansible-modules-core/cloud/docker/docker.py RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 77

Slide 78

Slide 78 text

Sphinx (2) Ansible Documentation - docker RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 78

Slide 79

Slide 79 text

Ӗ উী ನೣػ "࢓ই੓ח" ௏٘ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 79

Slide 80

Slide 80 text

knitr (1) from future import dream knitrܳ ੉ਊೠ ਕ٘೐ۨझ ನझ౴ೞӝ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 80

Slide 81

Slide 81 text

knitr (2) from future import dream knitrܳ ੉ਊೠ ਕ٘೐ۨझ ನझ౴ೞӝ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 81

Slide 82

Slide 82 text

d3 بࢲ(o'reilly) O'Reilly Atlas + jsbin RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 82

Slide 83

Slide 83 text

Active Essays An “Active Essay” is a new kind of literacy, combining a written essay, live simulations, and the programs that make them work in order to provide a deep explanation of a dynamic system. The reader works directly with multiple ways of representing the concepts under discussion. By “playing with” the simulations and code, the reader gets some hands-on experience with the topic. — Alan Kay RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 83

Slide 84

Slide 84 text

Steven Wittens' Presentation • Making WebGL Dance • Source Code RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 84

Slide 85

Slide 85 text

Setosa blog • Markov Chains RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 85

Slide 86

Slide 86 text

Jiongster • ..., Why React is Awesome • Presenting The Most Over-Engineered Blog Ever RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 86

Slide 87

Slide 87 text

Awesome! • ಴അ بҳ۽ࢲ੄ ੗߄झ௼݀౟ • ೞ૑݅, ೞա੄ ਢࢎ੉౟ۄҊ ࠊঠ... • ੷੘ ജ҃ = Ӓր ೐۽Ӓې߁ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 87

Slide 88

Slide 88 text

ӒܻҊ, Jupyter RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 88

Slide 89

Slide 89 text

"௏٘"৬ "োҳ"੄ ݅թ അઓೞח о੢ ߧਊ੸ੋ Scientific Research ജ҃. RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 89

Slide 90

Slide 90 text

"Ӗ"җ "௏٘"੄ Ҋਬೠ ݓۅ അઓೞח о੢ ߧਊ੸ੋ Active Essays ੷੘ ജ҃. RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 90

Slide 91

Slide 91 text

Scientific Research RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 91

Slide 92

Slide 92 text

Data-driven Journalism Our job with IPython is to think deeply about questions regarding the intersection of computing, data and science, but it's clear to me at this point that we can contribute in contexts beyond pure scientific research. I hope we'll be able to provide folks who have a direct intersection with the public, such as journalists, with tools that help a more informed and productive debate. — Fernando Perez RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 92

Slide 93

Slide 93 text

Reproducible Notebook • ௏٘ܳ प೯೧ࠁח Ѫী Ӓ஖૑ ঋ਺ • ੷੢ೞҊ, ѱदೞҊ, ҕਬೞب۾ ب৬ષ • ipython ജ҃੉ ੓׮ݶ प೯೧ࠁח Ѫب оמ • HTML ١ ׮ܲ ನݘਵ۽ ୹۱ ӝמ ઁҕ • nbviewer • ipynb ࠭য ࢲߡ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 93

Slide 94

Slide 94 text

IPython Notebookਵ۽ ࠶۽Ӓೞӝ • Fernando Perez Blogging with the IPython notebook • Pythonic Perambulations • Box and Whisker IPython Notebookਵ۽ ࠶۽Ӧೞӝ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 94

Slide 95

Slide 95 text

ࢎ۹ ܖ࠺੄ Ԣ, ৌѢ੗ Enumerable ݽٕ ܖ࠺(Ruby) పझ౟ ೐ۨ੐ਕ௼ RSpec 2.14 ݒ୛ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 95

Slide 96

Slide 96 text

.ipynb ࠽٘ helper/markdown_helper.rb def render_ipynb(filename) source = "./source/iruby/#{filename}.ipynb" output = "./source/iruby/#{filename}" cmd = "ipython nbconvert --to html --template basic #{source} --output #{output}" system(cmd) end RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 96

Slide 97

Slide 97 text

Demo 5 • ܖ࠺੄ Ԣ, ৌѢ੗ Enumerable ݽٕ प೯ೞӝ RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 97

Slide 98

Slide 98 text

Thank you! @nacyo_t RORLAB / ઱ೖఠ(Jupyter) ೐۽ં౟ - IRuby Notebook © nacyot 2015 - 98