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
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.5k
SREのキャリア、 あるいは生態 / #ya8
cohalz
11
1.9k
カンファレンスのボランティアスタッフって何やるの? / DAIMYO Meetup #4
cohalz
0
290
小さなものでも Step Functions / Serverless Meetup Fukuoka Re:boot
cohalz
0
300
ECSのCI/CD改善と標準化の取り組み / JAWS FESTA 2023 in Kyushu
cohalz
8
7.9k
ecspressoへの貢献を振り返る / JAWS-UG コンテナ支部 #24 ecspresso MeetUp
cohalz
1
10k
はてなフォトライフをECSに移行した話 / Hatena Engineer Seminar #20
cohalz
1
20k
Other Decks in Programming
See All in Programming
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
360
APNsからLive Activityを開始する話
yumnumm
0
170
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
パーソナライズPodcastを作った話
repunit11
0
140
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
370
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
210
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
530
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
400
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
240
contenteditable と日本語入力に向き合う
colorful12
0
190
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
980
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
A Soul's Torment
seathinner
8
3.7k
The browser strikes back
jonoalderson
0
1.8k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Why Our Code Smells
bkeepers
PRO
340
58k
GitHub's CSS Performance
jonrohan
1033
470k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
300
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
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