Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
半年間で60万回叩かれたAPIを公開した話 / rng-api
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
odanado
July 15, 2017
Programming
1.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
半年間で60万回叩かれたAPIを公開した話 / rng-api
odanado
July 15, 2017
More Decks by odanado
See All by odanado
Vitest Browser Mode への期待 / Vitest Browser Mode
odanado
3
5.8k
@nestjs/bull の活用について
odanado
0
1.6k
クラウド KMS の活用 / TOKYO BLOCKCHAIN TECH MEETUP 2022
odanado
0
1.4k
Vue.observable で状態管理 / vue-observable-state-management
odanado
4
2.2k
nuxtjs-axios-error-handling
odanado
0
430
ブロックチェーンアプリのトランザクションに対するデータ分析 / PyCon-JP-2019
odanado
0
470
スマートコントラクトに対する既知の攻撃とその対策 / bc.tokyo-21
odanado
0
300
最近のweb3.js事情 / bc.tokyo-19
odanado
2
590
YAPC::Tokyo 2019に スタッフ参加してみて / kichijojipm-18
odanado
1
2.4k
Other Decks in Programming
See All in Programming
Crash Auto Pipelines
veronikapj
1
360
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
140
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
890
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
410
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
190
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
140
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
120
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
SODA - FACT BOOK(EN)
sodainc
1
210
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
170
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
14
11k
Inertia Rails: The One-Person Framework with React & Friends
skryukov
0
380
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Code Reviewing Like a Champion
maltzj
529
40k
Visualization
eitanlees
153
17k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
550
The Limits of Empathy - UXLibs8
cassininazir
2
760
Practical Orchestrator
shlominoach
192
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Being A Developer After 40
akosma
PRO
92
590k
sira's awesome portfolio website redesign presentation
elsirapls
0
490
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
650
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
670
Transcript
ؒͰ60ສճୟ͔Εͨ APIΛެ։ͨ͠
ԿͷAPIΛ࡞ͬͨͷ • ϙέϞϯʁ • ిؾͷήʔϜ • ڈൃച͞ΕͨαϯϜʔϯ • ཚௐʁ •
ޙͰ͢ • APIʁ • Application Programming Interface • URLୟ͘ͱඞཁͳใ͕ฦͬͯ͘Δ ϙέϞϯͷཚௐͷͨΊͷΣϒAPIΛ࡞ͬͨ
ཚௐʁ • ٖࣅཚ • seedͷʹΑͬͯͰͨΒΊʹݟ͑Δ͚Ͳ ࣍ʹԿ͕དྷΔ͔Θ͔͍ͬͯΔཚ • ਅͷཚ • ࣍ʹԿ͕དྷΔ͔༧ଌෆՄೳͳຊͷཚ
ήʔϜͷٖࣅཚΛࢥ͍௨Γʹૢ࡞͢Δ͜ͱ seed = 42 ࣍ʹԿ͕དྷΔ͔ ༧ଌՄೳ ࣍ʹԿ͕དྷΔ͔ ༧ଌෆՄೳ
ϙέϞϯͷཚௐʁ • ڧ͍ݸମ৭ҧ͍ͳͲग़͠์ • ιγϟήͰ֬ఆͰSSRΛҾ͘Α͏ͳײ͡ • ྑ͍αΠίϩͷ=ڧ͍ݸମ,SSR • Ͳ͏Δͷ͔ʁ ٖࣅཚͷseedʹΑͬͯ
αΠίϩͷܾ·Δ ٖࣅཚͷseedͷ 0͔Β2"#ͷΛऔΔ αΠίϩͷ͔ΒseedͷΛٯࢉ͢Ε ͦͷޙͷαΠίϩͷ༧ଌՄೳ αΠίϩͷ ήʔϜ্Ͱ؍ଌՄೳ
ཚΞϧΰϦζϜ • ཚΞϧΰϦζϜ • seed ͔ΒαΠίϩͷΛܭࢉ͢Δํ๏ • ཚΞϧΰϦζϜͷछྨ • ฏํ࠾த๏
• ઢܗ߹ಉ๏ • ϝϧηϯψɾπΠελ • xor shift • ͳͲͳͲ ϙέϞϯͰͲͷཚΞϧΰϦζϜ͕ ΘΕ͍ͯΔ͔Θ͔Βͳ͍
ཚΞϧΰϦζϜ • όΠφϦղੳ͢Δ͔͠ແ͍ʁʁ
࡞ͬͨAPIͷ༷ • લॲཧ • αʔόଆͰ࣍ͷͷϖΞΛ2"#ݸܭࢉ • (seed, ࠷ॳnݸͷαΠίϩͷ) • ࠷ॳnݸͷαΠίϩͷͰιʔτ
• ຊॲཧ • Ϣʔβʔ͔Β࠷ॳnݸͷαΠίϩͷ͕དྷΔͱ ೋ୳ࡧͰseedΛܭࢉ • ܭࢉ݁ՌΛjsonܗࣜͰฦ٫
࡞ͬͨAPIͷ༷ ࠷ॳnݸͷαΠίϩͷ seed=42 ͩΑ ʘೋ୳ࡧʗ ʘڧ͍ݸମͷϙέϞϯήοτʗ
࡞ͬͨAPIͷ༷ • αʔόʔ • ͘͞ΒVPS • ϓϩάϥϛϯάݴޠ • લॲཧ&୳ࡧC++ •
API෦Python
࡞ͬͨ݁Ռ • Ͱ60ສճAPI͕ίʔϧ͞Εͨ • ຊࠃ͚ͩ͡Όͳͯ͘ੈքத͔Β • ΫϥΠΞϯτΞϓϦΛ࡞ͬͯ͘ΕΔਓ͕ݱΕͨ • Quandra/PokemonSunMoonRNGTool •
wwwwwwzx/3DSRNGTool • zaksabeast/SMBrowserRNG
ײ • ωοτ্ͷΓ߹͍ͱҰॹʹ͜͜·ͰདྷΕͨ • ੈքதͷਓʹͬͯ͑ͨͷॳͩͬͨ • ͬͺΓϓϩάϥϛϯάָ͍͠ • ࣗͷʹཱͭͱͬͱָ͍͠ •
୭͔ʹͬͯ͑Δͱߋʹָ͍͠ • 5000ஹճ·ͰΓ4999ஹ9999ԯ9940ສճ • 41ԯ6666ສ6667ޙ