SlideShare une entreprise Scribd logo
1  sur  85
Télécharger pour lire hors ligne
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/

Contenu connexe

Tendances

Tendances (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
 

En vedette

"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
 

En vedette (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
 

Plus de 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
 

Plus de 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
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

Yet Another Perl Cooking