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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ru_shalm
March 24, 2016
Programming
0
51
☆
test
ru_shalm
March 24, 2016
Tweet
Share
More Decks by ru_shalm
See All by ru_shalm
10
ru_shalm
2
120
Other Decks in Programming
See All in Programming
AI & Enginnering
codelynx
0
110
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
CSC307 Lecture 07
javiergs
PRO
0
550
Package Management Learnings from Homebrew
mikemcquaid
0
210
ThorVG Viewer In VS Code
nors
0
760
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
1.1k
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
Featured
See All Featured
The SEO identity crisis: Don't let AI make you average
varn
0
64
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
50
Odyssey Design
rkendrick25
PRO
1
490
Chasing Engaging Ingredients in Design
codingconduct
0
110
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Typedesign – Prime Four
hannesfritz
42
2.9k
Being A Developer After 40
akosma
91
590k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Skip the Path - Find Your Career Trail
mkilby
0
52
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
63
The browser strikes back
jonoalderson
0
360
Transcript
☆ @ru_shalm
わたしはだぁれ? • Ruたん(るたん) – @ru_shalm • Rubyとか • ゲーム制作とか
2015年初頭 会社のSlackにて
誰か「社内favstar 欲しいよね」 ぼく「わかる、つくった」
github.com/rutan/favlack
なにこれ • Slackで☆がついた投稿を集める – Favotter/Favstarのパk…オマージュ • Rails 4.2 • Herokuとかで動く(たぶん)
やってること • Real Time Messaging API – 公開チャンネルの情報全部とれる • 発言、☆、とにかく全部全部! – ☆も割とリアルタイム(遅延2secくらい)
• Rubyの場合はslack-api gemが便利
裏ワザ • config.ru でEventMachine – Webプロセスの裏でWorkerを動かす – Herokuでタダでwebとworker回せる! require ::File.expand_path('../config/environment', __FILE__)
run Rails.application if ENV['WITH_WORKER'].present? EM.defer { ͜͜ʹσʔϞϯతͳॲཧ } end
これでSlackでfav爆が 無限に楽しめるぞ!! !!!!!!!!!
2015年9月某日
誰か「favlack死んでる」 ぼく「えっ」
突然 APIから☆が来なくなる
Slackに問い合わせ (英語がクソ)
素早いお返事 (英語が神)
要約 ☆通知API廃止
世間は☆に厳しい <おわり>