Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
技術書査読・校正の現場から
Search
HayaoSuzuki
November 24, 2017
Technology
0
4.9k
技術書査読・校正の現場から
Lightning talk at BPStudy #123
HayaoSuzuki
November 24, 2017
Tweet
Share
More Decks by HayaoSuzuki
See All by HayaoSuzuki
Tasting "Python Distilled"
hayaosuzuki
0
180
Let's implement useless Python objects
hayaosuzuki
0
1.5k
How to Write Robust Python Code
hayaosuzuki
5
3.7k
Unknown Evolution of the Built-in Function pow
hayaosuzuki
0
1.3k
Python for Everyday
hayaosuzuki
1
1.8k
How to Use In-Memory Streams
hayaosuzuki
1
4k
Do you know cmath module?
hayaosuzuki
0
3.1k
Elementary Number Theory with Python
hayaosuzuki
1
3.4k
Django QuerySet "ARE" Patterns
hayaosuzuki
0
3.2k
Other Decks in Technology
See All in Technology
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
240
社内で最大の技術的負債のリファクタリングに取り組んだお話し
kidooonn
1
540
いざ、BSC討伐の旅
nikinusu
2
770
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
1
220
AIチャットボット開発への生成AI活用
ryomrt
0
170
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
Platform Engineering for Software Developers and Architects
syntasso
1
510
Can We Measure Developer Productivity?
ewolff
1
150
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
3
520
強いチームと開発生産性
onk
PRO
33
11k
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.6k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
25
5k
Speed Design
sergeychernyshev
24
610
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Music & Morning Musume
bryan
46
6.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Adopting Sorbet at Scale
ufuk
73
9.1k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Faster Mobile Websites
deanohume
305
30k
Building Applications with DynamoDB
mza
90
6.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Bash Introduction
62gerente
608
210k
Transcript
ٕज़ॻࠪಡɾߍਖ਼ͷݱ͔Β Hayao Suzuki BPStudy #123 Lightning Talk November 24, 2017
Who Am I? About Me Name Hayao Suzuki (@CardinalXaro) Blog
http://xaro.hatenablog.jp/ Major Mathematics (Combinatorics, Number Theory) Work Python Programmer at iRidge, Inc. Reviewed Books Effective Python (O’Reilly Japan) ΞϧΰϦζϜΫΠοΫϦϑΝϨϯε ୈ 2 ൛ (O’Reilly Japan) ॳΊͯͷ PHP (O’Reilly Japan) Effective Debugging (O’Reilly Japan) ͢Β͢ΒΘ͔Δ Python ʢᠳӭࣾʣ Python ͱ JavaScript Ͱ͡ΊΔσʔλϏδϡΞϥΠθʔγϣϯ (O’Reilly Japan) 2 / 15
Today’s Theme ٕज़ॻࠪಡɾߍਖ਼ͷݱ͔Β 3 / 15
Question ݻ༗໊ࢺਖ਼֬ʹ Reqeusts ΣϒαΠτʹΞΫηεͯ͠ HTML ͳͲͷσʔλΛऔಘ͢ ΔͨΊͷϥΠϒϥϦͰ͢ɻ ɿޡΓΛࢦఠͤΑʢ10 ʣ 4
/ 15
Answer ݻ༗໊ࢺਖ਼֬ʹ Requests ΣϒαΠτʹΞΫηεͯ͠ HTML ͳͲͷσʔλΛऔಘ͢ ΔͨΊͷϥΠϒϥϦͰ͢ɻ ಉ͡υΩϡϝϯτʹ Requests ͷ௲Γؒҧ͍͕
3 Օॴ͋Γ·ͨ͠ɻ 5 / 15
Question ݻ༗໊ࢺਖ਼֬ʹ Anacondaʢ͘ΘΕ͍ͯΔੳϥΠϒϥϦͷ΄ͱΜͲΛศརͳύο έʔδʹ·ͱΊͨ Phtyon ϓϥοτϑΥʔϜʣͷ͓͔͛ͰɺҎલ໘ ͩͬͨ OS ͝ͱʹҟͳΔΠϯετʔϧํ๏ݻ༗ͷบΛઆ໌͢Δ͜ͱ͕ͱ ͯ༰қʹͳΓ·ͨ͠ɻ
ɿޡΓΛࢦఠͤΑʢ10 ʣ 6 / 15
Answer ݻ༗໊ࢺਖ਼֬ʹ Anacondaʢ͘ΘΕ͍ͯΔੳϥΠϒϥϦͷ΄ͱΜͲΛศརͳύο έʔδʹ·ͱΊͨ Python ϓϥοτϑΥʔϜʣͷ͓͔͛ͰɺҎલ໘ ͩͬͨ OS ͝ͱʹҟͳΔΠϯετʔϧํ๏ݻ༗ͷบΛઆ໌͢Δ͜ͱ͕ͱ ͯ༰қʹͳΓ·ͨ͠ɻ
௲Γਖ਼֬ʹɻ 7 / 15
Question จ๏ਖ਼֬ʹ 2 ͭͷݴޠͷओͳྨࣅͱ૬ҧΛࣔͨ͠ޙʹɺPython ͱ JavaScript ͷֶशڥΛ༻ҙ͍͠·͢ɻ ɿޡΓΛࢦఠͤΑʢ10 ʣ 8
/ 15
Answer จ๏ਖ਼֬ʹ 2 ͭͷݴޠͷओͳྨࣅͱ૬ҧΛࣔͨ͠ޙʹɺPython ͱ JavaScript ͷֶशڥΛ༻ҙ͠·͢ ɻ ڧ͍͍͚ͯͳ͍ɻ 9
/ 15
Question Python 3 ܥରԠʁ $ python -m SimpleHTTPServer ɿPython 3
ʹରԠͤ͞Αʢ10 ʣ 10 / 15
Answer Python 3 ܥରԠʁ $ python -m http.server Python 3
Ͱ http.server ໊শ͕มߋ͞Εͨɻ 11 / 15
Question Python ͷݴޠ༷ Python ʹ 3 ͭͷܕ͕͋Γ·͢ɻֶੜͷΛΩϟετͨ͠ 32bit ͷ intɺJavaScript
ͷ number ʹ૬͢Δ floatʢIEEE 754ʣ ɺҙ ਫ਼ԋࢉ༻ͷ long Ͱ͢ɻ ɿPython 3 ରԠΛᨳ͍ͬͯΔͱ͍͏લఏͰɺ͜ͷจΛमਖ਼ͤΑɻ ʢ10 ʣ 12 / 15
Answer Python ͷݴޠ༷ Python ʹ 3 ͭͷجຊతͳܕ͕͋Γ·͢ɻֶੜͷΛΩϟετ͠ ͨҙਫ਼ͷ intɺJavaScript ͷ
number ʹ૬͢Δ float ʢIEEE 754ʣ ɺෳૉͷ complex Ͱ͢ɻ͞Βʹɺेਐුಈখࢉज़ͷͨ Ίͷ Decimal ܕɺ༗ཧͷ Fraction ܕ͕͋Γ·͢ɻ Python 3 Ͱ Python 2 ͷ int ͱ long ͕౷߹͞Εͨɻجຊతͳ ܕͷதʹෳૉܕ͕ଘࡏ͢Δ͜ͱΛΕ͍͚ͯͳ͍ɻ 13 / 15
Question ͬͱΒ͍͠هड़Ͱ͋Δ͕ HTML ɺ1980 ʹཧֶऀͷ Tim Berners-Lee ͕࠷ॳʹఏҊ͠ ·ͨ͠ɻ൴࣌ɺεΠεʹ͋ΔཻࢠՃثࢪઃɺCERN Ͱಇ͍͍ͯ·
ͨ͠ɻ ɿ͜ͷจͷؒҧ͍ΛࢦఠͤΑʢ10 ʣ 14 / 15
Answer ͬͱΒ͍͠هड़Ͱ͋Δ͕ HTML ɺ1980 ʹܭࢉػՊֶऀͷ Tim Berners-Lee ͕࠷ॳʹఏ Ҋ͠·ͨ͠ɻ൴࣌ɺεΠεʹ͋ΔཻࢠՃثࢪઃɺCERN Ͱಇ͍͍ͯ
·ͨ͠ɻ Tim Berners-Lee CERN ʹ Consultant Software Engineer ͱͯ͠ಇ͍͍ͯΔɻҰํɺେֶͰཧֶΛֶΜͰ͍Δɻ 15 / 15