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
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
220
20241220_S3 tablesの使い方を検証してみた
handy
4
390
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
330
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
170
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
190
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
450
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
110
Amazon SageMaker Unified Studio(Preview)、Lakehouse と Amazon S3 Tables
ishikawa_satoru
0
150
Jetpack Composeで始めるServer Cache State
ogaclejapan
2
170
NilAway による静的解析で「10 億ドル」を節約する #kyotogo / Kyoto Go 56th
ytaka23
3
380
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
1
200
Featured
See All Featured
Making Projects Easy
brettharned
116
5.9k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
How GitHub (no longer) Works
holman
311
140k
We Have a Design System, Now What?
morganepeng
51
7.3k
GitHub's CSS Performance
jonrohan
1030
460k
A Tale of Four Properties
chriscoyier
157
23k
Six Lessons from altMBA
skipperchong
27
3.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
How to Ace a Technical Interview
jacobian
276
23k
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