changeset 547:b95ba0caa16b

wip while42 slides
author Louis Opter <louis@opter.org>
date Sun, 02 Apr 2017 14:06:15 -0700
parents 469dd784cbd4
children e23547d65872
files while42_sf.patch
diffstat 1 files changed, 59 insertions(+), 31 deletions(-) [+]
line wrap: on
line diff
--- a/while42_sf.patch	Sat Apr 01 20:08:59 2017 -0700
+++ b/while42_sf.patch	Sun Apr 02 14:06:15 2017 -0700
@@ -1,5 +1,5 @@
 # HG changeset patch
-# Parent  72024b8586ab857434155a2f8a3f14bd9571646a
+# Parent  0689c022af3bedbaa433ceeb4bda7f64359c51de
 slides: add slides for a small talk at while42 sf
 
 diff --git a/slides/fosdem_2017/CMakeLists.txt b/slides/2017-02-04_fosdem/CMakeLists.txt
@@ -795,7 +795,7 @@
 new file mode 100644
 --- /dev/null
 +++ b/slides/2017-04-XX_while_42/while42.tex
-@@ -0,0 +1,365 @@
+@@ -0,0 +1,392 @@
 +\documentclass{lgtdslides}
 +
 +\usepackage{tikz}
@@ -804,9 +804,9 @@
 +
 +\usepackage{lgtdfigs}
 +
-+\title{Un titre}
-+\subtitle{\textit{Un sous-titre}}
-+\date{While 42 SF, side projects}
++\title{S'amuser avec la lumière}
++\subtitle{\textit{Avec des ampoules LIFX et un Monome 128}}
++\date{While 42 SF : side projects}
 +\author{Louis Opter <louis@opter.org>}
 +
 +\tikzset{arrow/.style={->, >=stealth,ultra thick,rounded corners}}
@@ -815,26 +815,34 @@
 +
 +\begin{frame}\titlepage\end{frame}
 +
++\section{Intro}
++
++\begin{frame}{\LARGE{\texttt{\$ whoami}}}
++Bonjour, moi c'est Louis (Opter) et :\vspace{1em}
++\begin{itemize}
++\item je bosse sur SF depuis ~2012 (docker/Uber) ;
++\item j'y connais rien en hardware ;
++\item donc j'ai acheté des trucs tous faits « simples » ;
++\item et voici une démo de ce que j'ai fait.
++\end{itemize}
++\end{frame}
++
 +\section{Démo}
 +
-+\begin{frame}{monolight}
-+\only<1>{%
++\begin{frame}{Sous vos yeux}
 +\begin{center}
 +\begin{tikzpicture}
 +\pic (0, 0) {monolightarch};
 +\end{tikzpicture}
 +\end{center}
-+}
-+\only<2>{%
-+\vspace{1em}
-+Une autre idée que j'aimerais implémenter\ldots
-+}
 +\end{frame}
 +
++
 +\begin{frame}{Effet sablier/alerte}
++\only<1>{Une autre idée que j'aimerais implémenter\ldots}
 +\begin{center}
 +\begin{tikzpicture}[overlay,scale=1.2]
-+\onslide<1->{%
++\onslide<2->{%
 +\pic (0, 0) {monome={scale 1.2}};
 +
 +\coordinate (NW) at (-4, 1.75);
@@ -846,7 +854,7 @@
 +\node[rectangle] (b117) at (-1.32,-1.93) {};
 +\node[rectangle] (b118) at (-0.82,-1.93) {};
 +}
-+\onslide<1,3->{%
++\onslide<2,4->{%
 +% targets toggles:
 +\fill[mbutton] (-4, 1.75) rectangle +(0.36, -0.36);
 +\foreach \x in {-2,0,...,3.5}
@@ -868,7 +876,7 @@
 +% k:
 +\fill[mbutthigh] (-2.5, -1.25) rectangle +(0.36, -0.36);
 +}
-+\onslide<1>{%
++\onslide<2>{%
 +\draw (caption) node[right] {Ajoutons deux nouvelles fonctions :};
 +
 +\node (timer) [below=0.5cm of b117] {timer};
@@ -876,7 +884,7 @@
 +\draw[arrow] (timer) -- (b117);
 +\draw[arrow] (alert) -- (b118);
 +}
-+\onslide<2>{%
++\onslide<3>{%
 +\draw (caption) node[right] {Sélection du compte à rebours:};
 +\node[below right] at ($(caption.south) + (0, -0.09)$) {\footnotesize{(1 bouton allumé = 1 unité de temps)}};
 +
@@ -902,9 +910,9 @@
 +\node[rectangle] (b122) at (1.18,-1.93) {};
 +\draw[ultra thick,decorate,decoration={name=brace,mirror}]
 +  ($(b120.south west) + (-0.1,-0.35)$) -- ($(b121.south east) + (0.1,-0.35)$);
-+\node (timectl) [below=0.5cm of b121] {dec/inc de l'unité de temps};
++\node (timectl) [below=0.5cm of b121] {déc/inc de l'unité de temps};
 +}
-+\onslide<3>{%
++\onslide<4>{%
 +\draw (caption) node[right] {Sélection de la cible et de la fonction (alert):};
 +
 +\node (alert) [below=0.5cm of b118] {alert};
@@ -922,7 +930,7 @@
 +\draw[arrow,<-] (b8.south) -- ++(0,-0.35) -- (upturn) -- (legend.south);
 +\draw[arrow,<-] (b12.south) -- ++(0,-0.35) -- (upturn) -- (legend.south);
 +}
-+\onslide<4>{%
++\onslide<5>{%
 +\fill[mbutton] (-3.5, 1.75) rectangle +(0.36, -0.36);
 +
 +\node[rectangle] (b1) at (-3.32,1.57) {};
@@ -948,15 +956,34 @@
 +\end{frame}
 +
 +\begin{frame}{Résultats}
++\only<1,3>{%
 +Quelques découvertes et confirmations :
 +\vspace{1em}
 +\begin{itemize}
 +\item Les blobs binaires c'est de la merde ;
 +\item L'IoT s'améliore mais c'est pas encore ça ;
-+\item Spectre de problèmes vraiment très intéressant ;
-+% todo: rajouter le spectre juste sur un slide puis reprendre la liste
++\item Spectre de problèmes vraiment intéressant ;
 +\item Une méthode d'apprentissage de premier ordre.
 +\end{itemize}
++}
++\only<2>{%
++\emph{\leavevmode\usebeamertemplate***{itemize item} Spectre de problèmes vraiment intéressant :}
++\vspace{1em}
++\begin{center}
++\setlength{\tabcolsep}{15pt}
++\begin{tabular}{ccc}
++\textbf{LIFX} & \textbf{lightsd} & \textbf{monolight} \\
++\hline
++hardware & daemon & GUI \\
++\hline
++embarqué & C & Python \\
++\end{tabular}
++\begin{tikzpicture}
++\draw[arrow] (0,0) -- node[below,pos=0.6] {Bas-niveau} (-4.8,0);
++\draw[arrow] (0,0) -- node[below,pos=0.6] {Haut-niveau} (4.8,0);
++\end{tikzpicture}
++\end{center}
++}
 +\end{frame}
 +
 +\section{Merci}
@@ -994,7 +1021,7 @@
 +\hline
 +Gen 2 & QCA 4002, AllJoyn, \emph{plante} \\
 +\hline
-+Gen 3 & + versions have IR, \emph{plante toujours} \\
++Gen 3 & versions + avec IR, \emph{plante toujours} \\
 +\end{tabular}
 +\end{frame}
 +
@@ -1130,30 +1157,30 @@
 +\draw[arrow] (inc) -- (b32);
 +
 +\node[rectangle] (b80) at (-3.82,-0.93) {};
-+\node (dec) at (-4.82,-0.93) {dec};
++\node (dec) at (-4.82,-0.93) {déc};
 +\draw[arrow] (dec) -- (b80);
 +
 +\node[rectangle] (b96) at (-3.82,-1.43) {};
-+\node (DEC) at (-4.82,-1.43) {DEC};
++\node (DEC) at (-4.82,-1.43) {DÉC};
 +\draw[arrow] (DEC) -- (b96);
 +
 +\node[rectangle] (b4) at (-1.82,1.57) {};
 +\node[rectangle] (b5) at (-1.32,1.57) {};
 +\draw[arrow] (b5) -- (b4.west);
-+\draw (b5) node[right] {Ligne de fonctions/voyants (bascule, à déterminer\ldots)};
++\draw (b5) node[right] {Ligne de fonctions/voyants (toggle\ldots)};
 +
 +\node[rectangle] (b20) at (-1.82,1.07) {};
 +\node[rectangle] (b21) at (-1.32,1.07) {};
 +\draw[arrow] (b21) -- (b20.west);
 +\draw (-1.32,1.32) node[below right] {%
 +\begin{minipage}{10cm}
-+4 barres de contrôle (Hsbk, ``roue de couleurs''):
++4 barres de contrôle (HSBK):
 +\vspace{1ex}
 +\begin{itemize}
-+\item Hue: 0.0--360.0°;
-+\item Saturation: 0.0--1.0;
-+\item Luminosité: 0.0--1.0;
-+\item Température: 2500--9000K.
++\item Hue : 0.0--360.0°;
++\item Saturation : 0.0--1.0;
++\item (B) Luminosité : 0.0--1.0;
++\item (K) Température : 2500--9000K.
 +\end{itemize}
 +\end{minipage}};
 +}
@@ -1184,7 +1211,7 @@
 new file mode 100644
 --- /dev/null
 +++ b/slides/common/lgtdfigs.sty
-@@ -0,0 +1,168 @@
+@@ -0,0 +1,169 @@
 +\ProvidesPackage{lgtdfigs}
 +
 +\usetikzlibrary{%
@@ -1329,6 +1356,7 @@
 +\tikzset{pics/monolightarch/.style={code={%
 +
 +\tikzset{wifipath/.style={thick,opacity=0.8,decorate,decoration={name=expanding waves,angle=25,segment length=3.5}}}
++\tikzset{box/.style={draw,ultra thick, color=BeamerBlue, text=black, rectangle, rounded corners=1pt}}
 +
 +\coordinate (Origin) at (0,0);
 +\node[box,color=black] (serialoscd) at (0.5,1.5) {serialoscd};