SlideShare a Scribd company logo
1 of 85
Download to read offline
Yet Another
Perl Cooking
@moznion
Yet Another
Perl Cooking
@moznion
@moznion
Yet Another
Perl Cooking
@moznion
What is the
Yet Another Cooking?
Yet Another Cooking
-API Based
-Via your gadget
-Reproducible
-And Automatic!
API Based
We don’t have to manipulate
with old-fashioned controllers
(knobs, switches and etc…)
API Based
“Cooking API is provided”
means we can cooking with
our favorite gadgets!
Reproducible
No matter who cooks,
the same dish will be ready
Automatic
The life is short to cook
elaborate meal.
We should make cooking
to be automatic!
Yet Another Cooking =
Programmable Cooking
Automatic
The life is short to cook
elaborate meal.
We should make cooking
to be automatic!
Nomiku has come
What is Nomiku
-Low temperature
cooking device
-Keeps temperature
of water
-And provides API!
What is Nomiku
-Low temperature
cooking device
-Keeps temperature
of water
-And provides API!
What is the
low temperature Cooking?
Low temperature cooking
-Also called “Sous-vide"
-Putting a food into
water tank which is
controlled temperature
constant
- Myosin (denatured @ 40℃)
- Actin (denatured @ 66℃)
For meat
For meat
- Meat to be parched if actin
gets denatured
- But we must kill bacteria
- Must keep 60-65℃
- (And collagen will hydrolyzes
at about 65 degreed)
For Vegetable
- Root vegetables indurate on
60℃
- Avoid to fall apart while
boiling by parboiling
- ref: http://www.netsubussei.jp/
group/kousai.pdf
Low temperature cooking
It is difficult to keep water
temperature constantly than
I thought…
Low temperature cooking
If mistake to keep
temperature,

it is DANGER cause by
bacteria!!!!!
Nomiku solves them!!!
Great! But…
Nomiku ga konee!!!
It’s no good worrying.
Okay, let’s construct
Nomiku compatible device
*** by hand ***
Features list
- Keeping temperature of
water long time
- Controlable via web API
Features list
- Keeping temperature of
water long time
- Controlable via web API
Simple!
API Spec
- Start heating
- And stop
- Change temperature
- Get status
Architecture
Raspberry Pi
in the water
water
temperature
gauge
heaterrelay
controll on/off
Monitor temperature
power source
water
temperature
gauge
Monitor
Daemon (perl)
GrowthForecast
Post temperature
Control
on/offServer
(Amon2::Lite)
GrowthForecast
heater
relay
power source
ConnectedGet current
temperature
(JSON API / 1min)
Access to
API
How to keep temperature?
- A daemon monitors

temperature of water

and store it into GrowthForecast
How to keep temperature?
- A server gets current temperature
from GrowthForecast
- If it is greater than target
temperature, turn off relay
- Less, turn on relay
Control
on/offServer
(Amon2::Lite)
GrowthForecast
heater
relay
power source
ConnectedGet current
temperature
(JSON API / 1min)
Access to
API
Start
Heating
Keeping
4 hours later…
Good and easy!
Yet Another Cooking;
✔ API Based
✔ Reproducible
✔ Automatic
API Based
Provides web API on Raspberry Pi.
It makes us able to cook with
favorite thing!
(My favorite is cURL)
Reproducible
We only just share a
source code which uses
web API and run it.
Reproducible
Automatic
It keeps temperature
without our control.
Application Example
Use with slow cooker
Using slow cooker instead
heater is nice idea.
You can cook almost the
same.
Ref:
- Cooking for Geeks
- http://blog.naotaco.com/archives/
689#more-689
Other electronic devices
- Hot Plate
- It looks difficult to
control…
- Convection Oven
- Looks good
Can we automate frying?
Can we automate frying?
DANGER!!!!!
Future works
- Cooperate with…
- CI mechanism
- crontab
Future works
- Safety improvements
Future works
- 画像ドーン
DANGER!!!!!
Future works
- Generate convection
Conclusion
Conclusion
Now gadget is a new cooking
tool with using web API
Conclusion
Sharing source code =
Sharing recipe
Conclusion
It is able to automate of
cooking by power of device
Conclusion
Nowadays such devices are
on the market!
(e.g. nomiku, anova)
Conclusion
And we can make device
by hands with a bit DIY
splits!!
Conclusion
It is fun!!!
Yum!!!!!
References
- Cooking for Geeks

(Jeff Potter)
- 調理学

(畑江敬子, 香西みどり)
References
- http://blog.naotaco.com/
- http://
negineesan.hatenablog.co
m/

More Related Content

What's hot

What's hot (9)

TuleapCon2017-Case-Study-Orange
TuleapCon2017-Case-Study-OrangeTuleapCon2017-Case-Study-Orange
TuleapCon2017-Case-Study-Orange
 
Cloud Native Batch Processing
Cloud Native Batch ProcessingCloud Native Batch Processing
Cloud Native Batch Processing
 
Cloud-Native Batch Processing with Spring Batch 4
Cloud-Native Batch Processing with Spring Batch 4Cloud-Native Batch Processing with Spring Batch 4
Cloud-Native Batch Processing with Spring Batch 4
 
TuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
TuleapCon2017-CaseStudy_Sleepinnov_Medical_DevicesTuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
TuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
 
EclipseCon France-2017-Tuleap-new-big-features
EclipseCon France-2017-Tuleap-new-big-featuresEclipseCon France-2017-Tuleap-new-big-features
EclipseCon France-2017-Tuleap-new-big-features
 
簡単にレビュー環境が作れる仕組みを作ってる話し
簡単にレビュー環境が作れる仕組みを作ってる話し簡単にレビュー環境が作れる仕組みを作ってる話し
簡単にレビュー環境が作れる仕組みを作ってる話し
 
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
 
Migrating Wine Quiz to Parse Server
Migrating Wine Quiz to Parse ServerMigrating Wine Quiz to Parse Server
Migrating Wine Quiz to Parse Server
 
Git
GitGit
Git
 

Viewers also liked

"Ops Tools with Perl" 2012/05/12 Hokkaido.pm
"Ops Tools with Perl" 2012/05/12 Hokkaido.pm"Ops Tools with Perl" 2012/05/12 Hokkaido.pm
"Ops Tools with Perl" 2012/05/12 Hokkaido.pm
Ryosuke IWANAGA
 
Google trends to_irc
Google trends to_ircGoogle trends to_irc
Google trends to_irc
rarere
 
これからのPerlプロダクトのかたち(YAPC::Asia 2013)
これからのPerlプロダクトのかたち(YAPC::Asia 2013)これからのPerlプロダクトのかたち(YAPC::Asia 2013)
これからのPerlプロダクトのかたち(YAPC::Asia 2013)
goccy
 
理解したつもりになるGit入門
理解したつもりになるGit入門理解したつもりになるGit入門
理解したつもりになるGit入門
Yoshihiro Sasaki
 

Viewers also liked (20)

Static analysis for perl
Static analysis for perlStatic analysis for perl
Static analysis for perl
 
Talking About Japanese Area Code of Phone
Talking About Japanese Area Code of PhoneTalking About Japanese Area Code of Phone
Talking About Japanese Area Code of Phone
 
Namba.pm #0
Namba.pm #0Namba.pm #0
Namba.pm #0
 
Games::* - Perlで 「ゲーム」しよう #hokkaidopm
Games::* - Perlで 「ゲーム」しよう #hokkaidopmGames::* - Perlで 「ゲーム」しよう #hokkaidopm
Games::* - Perlで 「ゲーム」しよう #hokkaidopm
 
"Ops Tools with Perl" 2012/05/12 Hokkaido.pm
"Ops Tools with Perl" 2012/05/12 Hokkaido.pm"Ops Tools with Perl" 2012/05/12 Hokkaido.pm
"Ops Tools with Perl" 2012/05/12 Hokkaido.pm
 
Use Carton
Use CartonUse Carton
Use Carton
 
YAPCレポートの舞台裏
YAPCレポートの舞台裏YAPCレポートの舞台裏
YAPCレポートの舞台裏
 
YAPC::AsiaとHokkaido.pm
YAPC::AsiaとHokkaido.pmYAPC::AsiaとHokkaido.pm
YAPC::AsiaとHokkaido.pm
 
テーマ「なんでもないようなこと」
テーマ「なんでもないようなこと」テーマ「なんでもないようなこと」
テーマ「なんでもないようなこと」
 
Google trends to_irc
Google trends to_ircGoogle trends to_irc
Google trends to_irc
 
Plack::Request with Encoding
Plack::Request with EncodingPlack::Request with Encoding
Plack::Request with Encoding
 
これからのPerlプロダクトのかたち(YAPC::Asia 2013)
これからのPerlプロダクトのかたち(YAPC::Asia 2013)これからのPerlプロダクトのかたち(YAPC::Asia 2013)
これからのPerlプロダクトのかたち(YAPC::Asia 2013)
 
テーマ「最適化」
テーマ「最適化」テーマ「最適化」
テーマ「最適化」
 
Takao.mt 2013
Takao.mt 2013Takao.mt 2013
Takao.mt 2013
 
PHPカンファレンス北海道_20160416
PHPカンファレンス北海道_20160416PHPカンファレンス北海道_20160416
PHPカンファレンス北海道_20160416
 
YAPC::Asia 2013 - CPAN Testers Reports の情報を上手に使う
YAPC::Asia 2013 - CPAN Testers Reports の情報を上手に使うYAPC::Asia 2013 - CPAN Testers Reports の情報を上手に使う
YAPC::Asia 2013 - CPAN Testers Reports の情報を上手に使う
 
Currying in perl
Currying in perlCurrying in perl
Currying in perl
 
Asset Pipeline for Perl
Asset Pipeline for PerlAsset Pipeline for Perl
Asset Pipeline for Perl
 
理解したつもりになるGit入門
理解したつもりになるGit入門理解したつもりになるGit入門
理解したつもりになるGit入門
 
Using Dancer
Using DancerUsing Dancer
Using Dancer
 

More from moznion

Hachioji.pm 38
Hachioji.pm 38Hachioji.pm 38
Hachioji.pm 38
moznion
 
Hachiojipm 36
Hachiojipm 36Hachiojipm 36
Hachiojipm 36
moznion
 
Net stalking with-lastfm
Net stalking with-lastfmNet stalking with-lastfm
Net stalking with-lastfm
moznion
 
Hachiojipm 28
Hachiojipm 28Hachiojipm 28
Hachiojipm 28
moznion
 
Hachioji pm 25
Hachioji pm 25Hachioji pm 25
Hachioji pm 25
moznion
 

More from moznion (20)

Jesque robust-worker-pool
Jesque robust-worker-poolJesque robust-worker-pool
Jesque robust-worker-pool
 
Hachioji persec
Hachioji persecHachioji persec
Hachioji persec
 
Inner world of Perl::Lint
Inner world of Perl::LintInner world of Perl::Lint
Inner world of Perl::Lint
 
命名の話
命名の話命名の話
命名の話
 
Hachiojipm 44
Hachiojipm 44Hachiojipm 44
Hachiojipm 44
 
Perl::Lint is over, for the present
Perl::Lint is over, for the presentPerl::Lint is over, for the present
Perl::Lint is over, for the present
 
Perl::Lint - Yet Another Perl Source Code Linter
Perl::Lint - Yet Another Perl Source Code LinterPerl::Lint - Yet Another Perl Source Code Linter
Perl::Lint - Yet Another Perl Source Code Linter
 
Hachioji pm 41
Hachioji pm 41Hachioji pm 41
Hachioji pm 41
 
Hachioji.pm 40
Hachioji.pm 40Hachioji.pm 40
Hachioji.pm 40
 
Hachioji.pm #39
Hachioji.pm #39Hachioji.pm #39
Hachioji.pm #39
 
Hachioji.pm 38
Hachioji.pm 38Hachioji.pm 38
Hachioji.pm 38
 
Hokkaido.pm #11
Hokkaido.pm #11Hokkaido.pm #11
Hokkaido.pm #11
 
Hachiojipm 36
Hachiojipm 36Hachiojipm 36
Hachiojipm 36
 
Net stalking with-lastfm
Net stalking with-lastfmNet stalking with-lastfm
Net stalking with-lastfm
 
Perl beginners #08
Perl beginners #08Perl beginners #08
Perl beginners #08
 
Hachiojipm 28
Hachiojipm 28Hachiojipm 28
Hachiojipm 28
 
Hachiojipm 26
Hachiojipm 26Hachiojipm 26
Hachiojipm 26
 
Hachioji pm 25
Hachioji pm 25Hachioji pm 25
Hachioji pm 25
 
Hokkaido pm 8 LT
Hokkaido pm 8 LTHokkaido pm 8 LT
Hokkaido pm 8 LT
 
You Can Be a CPAN Auhor
You Can Be a CPAN AuhorYou Can Be a CPAN Auhor
You Can Be a CPAN Auhor
 

Recently uploaded

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Yet Another Perl Cooking