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
Flow は今どうなっているか
mizdra
PRO
0
600
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
120
Building a Meta Ray-Ban display app
akkeylab
0
160
Android CLI
fornewid
0
220
AWS CDK を「作」ってみた 〜フルスクラッチで見えた CDK の裏側〜 / aws-cdk-from-scratch
gotok365
3
2.8k
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
190
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
290
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
520
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
200
メールのエイリアス機能を履き違えない
isshinfunada
0
240
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
340
the container ship “Apple Silicon”@WWDC26 Recap -Japan-\(region).swift
shingangan
0
130
Featured
See All Featured
A better future with KSS
kneath
240
18k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
The World Runs on Bad Software
bkeepers
PRO
72
12k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
25k
Believing is Seeing
oripsolob
1
190
Building AI with AI
inesmontani
PRO
1
1.1k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
210
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Designing Experiences People Love
moore
143
24k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
490
BBQ
matthewcrist
89
10k
The Cult of Friendly URLs
andyhume
79
7k
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