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
I bet my mirror is smarter than yours
Search
Luca Simone
August 16, 2017
Programming
60
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
70
Git for Dummies
lukefx
2
230
Other Decks in Programming
See All in Programming
SREの越境 / SRE Collaboration
y0hgi
2
300
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
160
FreeBSDでZabbixを動かす
kenkino
0
360
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
190
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.8k
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
330
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
280
APNsからLive Activityを開始する話
yumnumm
0
150
Workers Cache を知る
syumai
0
340
JRuby: Past, Present, and Future
headius
0
220
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
230
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
110
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.2k
Become a Pro
speakerdeck
PRO
31
6.3k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
400
The Cost Of JavaScript in 2023
addyosmani
55
10k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
320
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
550
Building AI with AI
inesmontani
PRO
1
1.3k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
570
BBQ
matthewcrist
89
10k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
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