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
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
970
はてなにおけるfujiwara-wareの活用やecspressoのCI/CD構成 / Fujiwara Tech Conference 2025
cohalz
3
11k
はてなのSRE組織2024 / Road to SRE NEXT@福岡
cohalz
2
2.4k
SREのキャリア、 あるいは生態 / #ya8
cohalz
11
1.9k
カンファレンスのボランティアスタッフって何やるの? / DAIMYO Meetup #4
cohalz
0
280
小さなものでも Step Functions / Serverless Meetup Fukuoka Re:boot
cohalz
0
280
ECSのCI/CD改善と標準化の取り組み / JAWS FESTA 2023 in Kyushu
cohalz
8
7.8k
ecspressoへの貢献を振り返る / JAWS-UG コンテナ支部 #24 ecspresso MeetUp
cohalz
1
9.3k
はてなフォトライフをECSに移行した話 / Hatena Engineer Seminar #20
cohalz
1
20k
Other Decks in Programming
See All in Programming
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
160
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
240
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
1
140
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
270
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
630
数百円から始めるRuby電子工作
tarosay
0
160
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
19k
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
570
Go 1.27 における memory allocation の高速化
andpad
0
240
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
390
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
410
Featured
See All Featured
Balancing Empowerment & Direction
lara
6
1.2k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
420
Abbi's Birthday
coloredviolet
3
9.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
960
Site-Speed That Sticks
csswizardry
13
1.4k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Evolving SEO for Evolving Search Engines
ryanjones
0
260
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
540
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
440
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