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
190
Let's implement useless Python objects
hayaosuzuki
0
1.6k
How to Write Robust Python Code
hayaosuzuki
5
3.8k
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
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
110
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
170
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
6
640
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
360
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
240
TypeScript、上達の瞬間
sadnessojisan
46
13k
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
0
110
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
32
1.5k
Producing Creativity
orderedlist
PRO
341
39k
Automating Front-end Workflow
addyosmani
1366
200k
Why Our Code Smells
bkeepers
PRO
334
57k
The World Runs on Bad Software
bkeepers
PRO
65
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Designing for Performance
lara
604
68k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
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