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
5k
技術書査読・校正の現場から
Lightning talk at BPStudy #123
HayaoSuzuki
November 24, 2017
Tweet
Share
More Decks by HayaoSuzuki
See All by HayaoSuzuki
Tasting "Python Distilled"
hayaosuzuki
0
230
Let's implement useless Python objects
hayaosuzuki
0
1.6k
How to Write Robust Python Code
hayaosuzuki
5
3.9k
Unknown Evolution of the Built-in Function pow
hayaosuzuki
0
1.3k
Python for Everyday
hayaosuzuki
1
1.9k
How to Use In-Memory Streams
hayaosuzuki
1
4.2k
Do you know cmath module?
hayaosuzuki
0
3.2k
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
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
510
Amazon Kendra GenAI Index 登場でどう変わる? 評価から学ぶ最適なRAG構成
naoki_0531
0
100
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
150
kargoの魅力について伝える
magisystem0408
0
200
アップデート紹介:AWS Data Transfer Terminal
stknohg
PRO
0
170
Jetpack Composeで始めるServer Cache State
ogaclejapan
2
160
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
160
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.1k
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
210
Postman と API セキュリティ / Postman and API Security
yokawasa
0
200
複雑性の高いオブジェクト編集に向き合う: プラガブルなReactフォーム設計
righttouch
PRO
0
110
ブラックフライデーで購入したPixel9で、Gemini Nanoを動かしてみた
marchin1989
1
520
Featured
See All Featured
Designing for humans not robots
tammielis
250
25k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Site-Speed That Sticks
csswizardry
2
190
A Tale of Four Properties
chriscoyier
157
23k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Fireside Chat
paigeccino
34
3.1k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
How STYLIGHT went responsive
nonsquared
95
5.2k
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