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.7k
技術書査読・校正の現場から
Lightning talk at BPStudy #123
HayaoSuzuki
November 24, 2017
Tweet
Share
More Decks by HayaoSuzuki
See All by HayaoSuzuki
Tasting "Python Distilled"
hayaosuzuki
0
85
Let's implement useless Python objects
hayaosuzuki
0
1.4k
How to Write Robust Python Code
hayaosuzuki
5
3.6k
Unknown Evolution of the Built-in Function pow
hayaosuzuki
0
1.2k
Python for Everyday
hayaosuzuki
1
1.7k
How to Use In-Memory Streams
hayaosuzuki
1
3.8k
Do you know cmath module?
hayaosuzuki
0
2.9k
Elementary Number Theory with Python
hayaosuzuki
1
3.2k
Django QuerySet "ARE" Patterns
hayaosuzuki
0
3k
Other Decks in Technology
See All in Technology
軽いノリで"自動化"に取り組んではいけないという話
tetsuyaooooo
1
600
コード✕AIーソフトウェア開発者のための生成AI実践入門~
yuhattor
4
860
SageMaker学習のツボ / The Key Points of Learning SageMaker
cmhiranofumio
0
200
YAPC::Hakodateの映像記録を支える技術
godan
4
380
エムスリー全チーム紹介資料 / Introduction of M3 All Teams
m3_engineering
1
320
シェルとPerlの使い分け、 そういった思考の道具は、どこから来て、どこへゆくのか?v1.1.0
fmlorg
0
530
LeSSはスクラムではない!?LeSSにおけるスクラムマスターの振る舞い方とは / Scrum Master Behavior in LeSS
toma_sm
0
210
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
48k
Unlearn Modularity
lemiorhan
6
170
Webセキュリティのあるきかた
akiym
32
11k
それでもやっぱり ExpressRoute が好き!
skmkzyk
0
380
Deno Deploy で Web Cache API を 使えるようになったので試した知見
toranoana
1
110
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Done Done
chrislema
181
16k
Building Adaptive Systems
keathley
38
2.2k
How STYLIGHT went responsive
nonsquared
95
5.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Automating Front-end Workflow
addyosmani
1365
200k
Making Projects Easy
brettharned
115
5.9k
Unsuck your backbone
ammeep
668
57k
Teambox: Starting and Learning
jrom
132
8.7k
Code Reviewing Like a Champion
maltzj
519
39k
Building Your Own Lightsaber
phodgson
102
6k
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