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
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.1k
JIS keyboard support in Omarchy
lef237
0
100
sbt 2.0: takeoff
eed3si9n
0
150
APNsからLive Activityを開始する話
yumnumm
0
170
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
260
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
660
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
740
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
590
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
410
Event is what happens
moro
2
480
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
2
720
GraphQLとの向き合い方2022年版
quramy
50
15k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
450
Everyday Curiosity
cassininazir
0
350
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Mobile First: as difficult as doing things right
swwweet
225
10k
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