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
Siri and Ruby
Search
Ryo Katsuma
June 29, 2013
Programming
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Siri and Ruby
Ryo Katsuma
June 29, 2013
More Decks by Ryo Katsuma
See All by Ryo Katsuma
The past and future of cookpad mart service development
katsuma
1
1.2k
What we learned from our failure at Cookpad Mart to increase the probability of success in product development
katsuma
0
3.6k
Overview and challenge of Cookpad Mart in 2022
katsuma
0
11k
Technology infrastructure and development organization supporting Cookpad Mart
katsuma
0
660
Description of Cookpad Mart for engineers
katsuma
0
1.9k
Rails for backend of fresh EC platform "Cookpad Mart"
katsuma
3
3.5k
Service development process for Cookpad Mart
katsuma
1
580
What is "engineer to manager" ?
katsuma
13
9.2k
Problems of Fresh Market's EC
katsuma
0
310
Other Decks in Programming
See All in Programming
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.6k
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
160
wkhtmltopdfの次どうするか問題2026
willnet
2
1.9k
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
370
カツオ、ご期待ください
suneo3476
0
160
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
220
パーソナライズPodcastを作った話
repunit11
0
130
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.1k
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
150
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
200
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
230
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
620
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
It's Worth the Effort
3n
188
29k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
How GitHub (no longer) Works
holman
316
150k
The Cost Of JavaScript in 2023
addyosmani
55
10k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
BBQ
matthewcrist
90
10k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
590
Transcript
Siri and Ruby TokyuRubyKaigi06 @ryo_katsuma
Hello!! Tokyu Ruby Kaigi
Ryo Katsuma @ryo_katsuma Engineer at COOKPAD Inc. github.com/katsuma twitter.com/ryo_katsuma
http://www.flickr.com/photos/superstarjet/2373405653/ Thank you, SUNTRY !!
͕ɺ͔͠͠
ਖ਼ɺ ਲͬͺΒͬͨɻ
खݩ͕͓΅͔ͭͳ͍
Α͘Θ͔ΒΜ 3FCMPHͪ͠Ό͍ͦ͏
ͰɺϏʔϧ ͖ͩɻ
టਲͯͯ͠ ৗੜ׆Λ ΞϨίϨ͍ͨ͠
Break through?
Siri
You just say something
Siri solves all problems
None
+
+ Ruby makes Siri more cool
None
SiriProxy
Siri plugin by simple regexp
I say ‘GO’, You says ‘Stop’
class SiriProxy::Plugin::Sample < SiriProxy::Plugin listen_for /Go/ do say "Stop" request_completed
end end
class SiriProxy::Plugin::Sample < SiriProxy::Plugin listen_for /Go/ do say "Stop" request_completed
end end
class SiriProxy::Plugin::Sample < SiriProxy::Plugin listen_for /Go/ do say "Stop" request_completed
end end very simple!
DNS setting SiriProxy
DNS setting SiriProxy
DNS setting SiriProxy
DNS setting SiriProxy Siri Server
DNS setting SiriProxy Siri Server
Demo 1
Turn on the screen saver https://github.com/katsuma/SiriProxy-Screen
None
def run_screen_saver `/System/Library/Frameworks/ScreenSaver.framework /Resources/ScreenSaverEngine.app /Contents/MacOS/ScreenSaverEngine` end
class SiriProxy::Plugin::Screen < SiriProxy::Plugin listen_for /ը໘Λ?(ফͯ͠|͚ͯ͠)/ do say 'εΫϦʔϯηʔόʔΛىಈ͠·͢' run_screen_saver
request_completed end end
Demo 2
Turn on/off the light https://github.com/katsuma/SiriProxy-iRemcon
None
iRemocon
Multi remote control with IP address
IP address TCP signal IR
IP address TCP signal Turn on/off the light
Conclusion
Siri + Ruby solves all problems
Have a nice beer!