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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ru_shalm
March 24, 2016
Programming
52
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
☆
test
ru_shalm
March 24, 2016
Transcript
16 slides
☆ @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廃止
世間は☆に厳しい <おわり>
More Decks by ru_shalm
See All by ru_shalm
10
ru_shalm
2
120
Other Decks in Programming
See All in Programming
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
340
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
450
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
660
AppFunctionsの内部実装を紐解く
hiroaki404
1
120
LLM 101
dalinaum
0
540
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
250
Getting Started with Vibe Coding
miccheng
0
250
AI駆動TDD ― 2026年10月版
hrmstrsmgs
0
110
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
520
The Cost of the DOM
ypresto
2
280
Featured
See All Featured
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
610
Exploring anti-patterns in Rails
aemeredith
4
580
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
4 Signs Your Business is Dying
shpigford
187
23k
Statistics for Hackers
jakevdp
799
230k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
560
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
620