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
I bet my mirror is smarter than yours
Search
Luca Simone
August 16, 2017
Programming
59
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
I bet my mirror is smarter than yours
Luca Simone
August 16, 2017
More Decks by Luca Simone
See All by Luca Simone
GISDay 2015 - Web GIS @ ti.ch
lukefx
0
100
Git @ CSI
lukefx
0
68
Git for Dummies
lukefx
2
230
Other Decks in Programming
See All in Programming
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
730
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
210
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
170
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
120
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
800
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
910
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
600
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
12
6.2k
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
150
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
260
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
350k
Oxlintのカスタムルールの現況
syumai
6
1.1k
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
310
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Accessibility Awareness
sabderemane
1
140
The agentic SEO stack - context over prompts
schlessera
0
820
Music & Morning Musume
bryan
47
7.2k
How to build a perfect <img>
jonoalderson
1
5.7k
Rails Girls Zürich Keynote
gr2m
96
14k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
250
Become a Pro
speakerdeck
PRO
31
6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
55k
Transcript
I bet my mirror is smarter than yours…
Hi! Passionate developer, Web technology lover, AI enabler, Machine learning
group @ Swisscom, Chef wannabe. from Lugano Living in Zürich I’m Luca Simone @lukefx
https://medium.com/@maxbraun/my-bathroom-mirror-is-smarter-than-yours-94b21c6671ba
None
None
None
None
None
None
but…how does it work?
None
Two way mirror
Not me!
Two way mirror Normal mirror
Old laptop LCD LCD controller orderer from China
How to get the right LCD controller…
‘Model number’ is the only thing needed to order the
LCD controller
Check that the controller actually…works!
None
Use a normal desktop monitor… It has USB that also
power up the pi.
None
ElectronJS
None
Aurelia is a JavaScript client framework for mobile, desktop and
web leveraging simple conventions and empowering creativity
• Clean and Unobtrusive • Convention over Configuration • Simple,
But Not Simplistic • Amazingly Extensible • Web Standards Focused • Integrates Well with Others • TypeScript Support
None
None
import './clock.scss'; import { inlineView } from 'aurelia-framework'; import moment
from 'moment'; @inlineView(` <template> <div class="clock-component clock-component__wrapper"> <div class="clock-component__time"> <span>\${time}</span> </div> <div class="clock-component__date"> <span>\${date}</span> </div> </template> `) export class ClockCustomElement { private time: string; private date: string; public attached(): void { setInterval(() => { this.time = moment().format('HH:mm'); this.date = moment().format('dddd, D MMMM gggg'); }); } }
If you use WebPack:
1 main process 1 renderer per window
The main process wait for events from the renderer(s)
None
YEAH!
https://github.com/nfarina/homebridge
Control any other “smart” thing in the house
https://josephg.com/blog/electron-is-flash-for-the-desktop