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
もぶぴーについて
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
cohalz
November 13, 2015
Programming
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
もぶぴーについて
PMOBの話すやつ #1
cohalz
November 13, 2015
More Decks by cohalz
See All by cohalz
toittaにOpenTelemetryを導入した話 / Mackerel APM リリースパーティ
cohalz
1
1k
はてなにおけるfujiwara-wareの活用やecspressoのCI/CD構成 / Fujiwara Tech Conference 2025
cohalz
3
12k
はてなのSRE組織2024 / Road to SRE NEXT@福岡
cohalz
2
2.4k
SREのキャリア、 あるいは生態 / #ya8
cohalz
11
1.9k
カンファレンスのボランティアスタッフって何やるの? / DAIMYO Meetup #4
cohalz
0
290
小さなものでも Step Functions / Serverless Meetup Fukuoka Re:boot
cohalz
0
290
ECSのCI/CD改善と標準化の取り組み / JAWS FESTA 2023 in Kyushu
cohalz
8
7.9k
ecspressoへの貢献を振り返る / JAWS-UG コンテナ支部 #24 ecspresso MeetUp
cohalz
1
9.8k
はてなフォトライフをECSに移行した話 / Hatena Engineer Seminar #20
cohalz
1
20k
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
330
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.1k
Webの地図
yosuke_furukawa
PRO
6
4.4k
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
1
150
Security issues being discussed on Web Platforms
petamoriken
0
880
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
6.7k
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
540
型解析で実現する Go の言語内 DSL / Conference に Go! タイムテーブルの歩き方 for Gophers
mazrean
0
150
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
0
250
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
340
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
320
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
320
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
Evolving SEO for Evolving Search Engines
ryanjones
0
290
The Spectacular Lies of Maps
axbom
PRO
1
990
Paper Plane (Part 1)
katiecoart
PRO
1
11k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Visualization
eitanlees
152
17k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
330
Marketing to machines
jonoalderson
1
5.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
500
Rails Girls Zürich Keynote
gr2m
96
14k
Prompt Engineering for Job Search
mfonobong
0
450
Transcript
Ϳͽʔʹ͍ͭͯ
୭
୭ ☞ Twitter: cohalz ☞ Github: cohalz ☞ Ingress: cohalz
☞ ӺϝϞ: cohalz ☞ άϧίε(ΞϓϦ൛): cohalzio ͋ͱͳΜ͔͋Γ·͚ͨͬ͠
Ϳͽʔͱ
Ϛϧίϑ࿈Ͱಈ͘Twitter bot
None
takuti/twitter-botͷFork
ओͳಛ
IgoͰͳ͘MeCabΛ༻͍ͯܗଶ ૉղੳ ☞ ࠓྲྀߦΓͷmecab-ipadic-NEologd͕͑Δ ☞ ͍ͯ͏͔ͦͦIgoಈ͔ͳ͔͔ͬͨΒࠩ͠ସ͑ͨ
Ϛϧίϑ࿈ ☞ จষΛ3~4ͭʹॱʹ͚ɼ͋Δจষͷ࢝·Γ͕લͷจষͷऴ ΘΓͱҰக͢ΔͷΛͱͬͯܨ͛Δ ☞ ୯ʹDBʹ1,2,3,4൪ͷςʔϒϧΛ༻ҙͯ͠ݕࡧͯ͠ܨ͛ͯΔͩ ͚ ☞ ૠೖܗଶૉʹ͚ͯ1ͭͣͭॱ൪ͣΒͯ͠ૠೖ
mysql> select * from fourorder limit 15; +-----------------+-----------------+--------+--------+ | first
| second | third | fourth | +-----------------+-----------------+--------+--------+ | ϫϯμϑϧ | ( | U | ´ | | ( | U | ´ | Д | | U | ´ | Д | `) | | ´ | Д | `) | | | Ϳͽʔ | ͱ͔͍͏ | ͭ | ͳ | | ͱ͔͍͏ | ͭ | ͳ | Μ | | ͭ | ͳ | Μ | ͩ | | ͳ | Μ | ͩ | | | ެࣜ | Ϛείοτ | ͬͯ | ୭ | | Ϛείοτ | ͬͯ | ୭ | ͕ | | ͬͯ | ୭ | ͕ | ೝΊ | | ୭ | ͕ | ೝΊ | ͨ | | ͕ | ೝΊ | ͨ | Μ | | ೝΊ | ͨ | Μ | ͩ | | ͨ | Μ | ͩ | Α | +-----------------+-----------------+--------+--------+
Ϧϓͷ༰ʹԠ
Ϧϓͷ༰ʹԠ ☞ ϦϓϥΠͷจࣈྻ͔ΒMeCabΛ༻໊͍ͯࢺͱه߸ͷΈൈ͖ग़͢ ☞ ൈ͖ग़͞Εͨͷ͔ΒϥϯμϜʹҰͭબΜͰDB ☞ DB͕ۭͷ݁Ռฦͨ͠ΒϥϯμϜʹϨίʔυΛҰͭબΜͰଓ͚Δ
ϥϯμϜੑͱ
order by rand()ΊͪΌ͍
order by rand()ΊͪΌ͍ ☞ ͔֬ʹϥϯμϜʹͳΔ͚Ͳશ݅औಘ ☞ Ϛϧίϑ࿈͔ͳΓͷճΫΤϦΛ͛Δ ☞ where rand()
< 0.05 limit 40ͱٖͯ͠ࣅతʹ
ࣗಈ࠶ىಈ ☞ cronͰ20ຖʹىಈ ☞ طʹىಈͯ͠σʔϞϯԽ͍ͯ͠ΔϓϩηεΛ࣍ͷىಈ࣌ʹࡴ͢
͖ͬ͞ެ։͠·ͨ͠ https://github.com/cohalz/MOBP
None