# HG changeset patch # User Louis Opter # Date 1485693595 -3600 # Node ID f8d1c74a24c4831901ce0796c1a2c1e4d77055b3 # Parent ba8ec21bf6193155ccfa126d0fe7856f72f9a134 Commit before implementing feedback from Joa/Sekh diff -r ba8ec21bf619 -r f8d1c74a24c4 add_slides.patch --- a/add_slides.patch Sat Jan 28 00:51:13 2017 +0100 +++ b/add_slides.patch Sun Jan 29 13:39:55 2017 +0100 @@ -1704,7 +1704,7 @@ new file mode 100644 --- /dev/null +++ b/slides/fosdem_2017/fosdem_2017.tex -@@ -0,0 +1,770 @@ +@@ -0,0 +1,813 @@ +\documentclass[utf8x,xcolor={usenames,svgnames}]{beamer} + +\usepackage{tikz} @@ -1757,6 +1757,10 @@ +\colorlet{fgcolor}{White} +\definecolor{BeamerBlue}{RGB}{49,56,172} + ++\colorlet{BodyColor}{Grey!90!black} ++\colorlet{SocketColor}{Silver!90!black} ++\colorlet{LightColor}{LightSlateBlue} ++ +\begin{document} + +\begin{frame}\titlepage\end{frame} @@ -1765,7 +1769,7 @@ + +\subsection{About me} + -+\begin{frame}{\texttt{\$ whoami}} ++\begin{frame}{\LARGE{\texttt{\$ whoami}}} +\onslide<1->{% +Hello, my name is Louis (Opter) and I:\vspace{1em} +\begin{itemize} @@ -2151,9 +2155,6 @@ + +\subsection{Architecture} + -+\colorlet{BodyColor}{Grey!90!black} -+\colorlet{SocketColor}{Silver!90!black} -+ +\begin{frame}{High-level architecture} +\begin{center} +\begin{tikzpicture}[overlay] @@ -2177,7 +2178,7 @@ +\node[box] (monolight) at (3.5,-0.25) {monolight}; +\node[box] (lightsd) at (0.5,-2) {lightsd}; +\node (bulbh) at (-4.2,-1.1) {% -+\colorlet{LightColor}{MediumBlue} ++\colorlet{LightColor}{LightSlateBlue} +\begin{tikzpicture}[scale=0.19,rotate=90] +% main body +\fill[color=BodyColor] @@ -2230,9 +2231,9 @@ +% socket shade +\draw[color=SocketColor!80!black] + (-10mm,-38mm) -- ++(0,-4mm) -+ decorate[decoration={name=snake,amplitude=0.1mm,segment length=0.6mm}] {(-10mm,-42mm) -- ++(0,-10mm)} ++ decorate[screw] {(-10mm,-42mm) -- ++(0,-10mm)} + -- ++(0,-0.5mm) -- ++(7.5mm,-6mm) -- ++(5mm,0) -- ++(7.5mm,6mm) -- ++(0,0.5mm) -+ decorate[decoration={name=snake,amplitude=0.1mm,segment length=0.6mm}] {(10mm,-52mm) -- ++(0,10mm)} ++ decorate[screw] {(10mm,-52mm) -- ++(0,10mm)} + -- (10mm,-38mm); +\draw[color=fgcolor] + (-10mm,-52.5mm) -- ++(7.5mm,-6mm) -- ++(5mm,0) -- ++(7.5mm,6mm); @@ -2257,7 +2258,7 @@ + -- ++(0,-14mm) -- cycle; +\end{tikzpicture}}; +\node (bulbl) at (-4.2,-2.9) {% -+\colorlet{LightColor}{BlueViolet} ++\colorlet{LightColor}{IndianRed} +\begin{tikzpicture}[scale=0.19,rotate=90] +% main body +\fill[color=BodyColor] @@ -2310,9 +2311,9 @@ +% socket shade +\draw[color=SocketColor!80!black] + (-10mm,-38mm) -- ++(0,-4mm) -+ decorate[decoration={name=snake,amplitude=0.1mm,segment length=0.6mm}] {(-10mm,-42mm) -- ++(0,-10mm)} ++ decorate[screw] {(-10mm,-42mm) -- ++(0,-10mm)} + -- ++(0,-0.5mm) -- ++(7.5mm,-6mm) -- ++(5mm,0) -- ++(7.5mm,6mm) -- ++(0,0.5mm) -+ decorate[decoration={name=snake,amplitude=0.1mm,segment length=0.6mm}] {(10mm,-52mm) -- ++(0,10mm)} ++ decorate[screw] {(10mm,-52mm) -- ++(0,10mm)} + -- (10mm,-38mm); +\draw[color=fgcolor] + (-10mm,-52.5mm) -- ++(7.5mm,-6mm) -- ++(5mm,0) -- ++(7.5mm,6mm); @@ -2354,10 +2355,10 @@ +High-level details: +\begin{itemize} +\item Python ≥ 3.5 (pondering ≥ 3.6); -+\item Fully async (using \texttt{asyncio} with the stream API); ++\item Fully async (using \emph{asyncio} with the stream API); +\item Fully typed, it's great; +\item Very slow, no tests \Neutrey; -+\item Uses Artem Popov's \texttt{pymonome} library; ++\item Uses Artem Popov's \emph{pymonome} library; +\item 2/3 months of work, GPLv3. +\end{itemize} +\pause @@ -2409,14 +2410,31 @@ +} +\end{frame} + -+\begin{frame}{The (hard|fun) parts} -+TABLE. ++\begin{frame}{The {\LARGE\texttt{(\Walley\hspace{-1ex}|\Laughey)}} parts} ++\setlength{\arrayrulewidth}{1.5pt} ++In no particular order: ++\vspace{1em} ++\begin{center} ++\begin{tabular}{c|c} ++{\LARGE\Walley\hspace{-1ex}} & {\LARGE\Laughey} \\ ++\hline ++C & C \\ ++asyncio tasks cleanup & Python 3.5+ \\ ++Buildbot & Continuous integration \\ ++Portability & ``Stack position'' \\ ++Wi-Fi & Playing with the lights \\ ++Reverse engineering\ldots & in reasonable amounts \\ ++Firmwares bugs & User feedback \\ ++OS Packaging & \\ ++\end{tabular} ++\end{center} +\end{frame} + +\begin{frame}{Notes on the LIFX bulbs} +\begin{itemize} +\item Get them on sale; +\item Best brightness/colors; ++\item Standby power consumption; +\item Cool LAN API, hope they keep it; +\item Only Gen 1 (EOLed in 2015) doesn't crash for me; +\pause @@ -2461,7 +2479,7 @@ +\vspace{1em} +\begin{itemize} +\item \Large{\url{https://www.lightsd.io/}} -+\item \Large{\texttt{\#lightsd} on IRC (\texttt{chat.freenode.net})} ++\item \Large{\emph{\#lightsd} on IRC (\emph{chat.freenode.net})} +\end{itemize} +\end{frame} + @@ -2469,9 +2487,34 @@ + +\begin{frame}{Questions for you!} +\begin{itemize} -+\item Have you considered hardware hacks on things like the LIFX bulbs? -+\item How has been your experience with more generic projects? ++\item Hardware hacks? ++\item UX with other projects and products? ++\item ``Education'' opportunities opinions? +\end{itemize} +\end{frame} + ++\begin{frame}{LIFX products tables} ++\begin{tabular}{lll} ++\textbf{Generation} & \textbf{Models} & \textbf{Available} \\ ++\hline ++Gen 1 & Original 1000, Color 650 & No \\ ++\hline ++Gen 2 & Color 1000, White 800 & Yes \\ ++\hline ++Gen 3 & A19, BR30, Z (stripe) & Yes \\ ++\end{tabular} ++ ++\par\vspace{2em} ++ ++\begin{tabular}{ll} ++\textbf{Generation} & \textbf{Notes} \\ ++\hline ++Gen 1 & Has 802.15.4 \\ ++\hline ++Gen 2 & QCA 4002, AllJoyn, \emph{crashes} \\ ++\hline ++Gen 3 & + versions have IR, \emph{still crashes} \\ ++\end{tabular} ++\end{frame} ++ +\end{document}