core.tex 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. \documentclass[aspectratio=169]{beamer}
  2. % get rid of clickable beamer buttons
  3. \beamertemplatenavigationsymbolsempty
  4. % parse most utf-8 correctly
  5. \usepackage[utf8]{inputenc}
  6. \usepackage[ngerman]{babel}
  7. % better graphics
  8. \usepackage{graphicx}
  9. % beamer settings
  10. \title{snailmail}
  11. \author{Noah Vogt \& Simon Hammer}
  12. \date{5. Februar 2022}
  13. \institute{Gymnasium Kirschgarten}
  14. \usetheme{Copenhagen}
  15. \usepackage{varwidth}
  16. \usepackage{graphicx,calc}
  17. \newlength\myheight
  18. \newlength\mydepth
  19. \settototalheight\myheight{Xygp}
  20. \settodepth\mydepth{Xygp}
  21. \setlength\fboxsep{0pt}
  22. \newcommand*\inlinegraphics[1]{
  23. \settototalheight\myheight{Xygp}
  24. \settodepth\mydepth{Xygp}
  25. \raisebox{-\mydepth}{\includegraphics[height=\myheight]{#1}}%
  26. }
  27. % for code snippits
  28. \usepackage{listings}
  29. \usepackage{color}
  30. \definecolor{dkgreen}{rgb}{0,0.6,0}
  31. \definecolor{gray}{rgb}{0.5,0.5,0.5}
  32. \definecolor{mauve}{rgb}{0.58,0,0.82}
  33. \definecolor{background}{rgb}{0.36,0.36,0.36}
  34. \lstset{
  35. numbersep=3pt,
  36. keywordstyle=\color{blue},
  37. commentstyle=\color{dkgreen},
  38. stringstyle=\color{mauve},
  39. breaklines=true,
  40. numbers=left,
  41. numberstyle=\scriptsize\color{black},
  42. frame=none,
  43. basicstyle = \small\ttfamily,
  44. breaklines=true
  45. breakatwhitespace=false,
  46. columns=flexible,
  47. xleftmargin=0.5cm,framesep=8pt,framerule=0pt,
  48. aboveskip=3mm,
  49. belowskip=3mm,
  50. }
  51. % Package to use videos
  52. \usepackage{movie15}
  53. \usepackage{media9}
  54. %for table
  55. \usepackage{array}
  56. \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
  57. %% Putting the background image in the frames
  58. \usebackgroundtemplate{%
  59. %\vbox to \paperheight{\hfil\hbox to \paperwidth{\hfil\includegraphics[width=1\paperwidth]{../../logo/version2grey.pdf}\hfil}\vfil}
  60. \hspace{5.2cm}\includegraphics[width=0.8\paperwidth]{../logo/version2grey.pdf}
  61. }
  62. \begin{document}
  63. \begin{frame}[plain]
  64. \maketitle
  65. \end{frame}
  66. % TODO: -> sectioning (or custom sectioning, but less preferable)
  67. \begin{frame}[plain]{Inhaltsverzeichniss}
  68. \tableofcontents
  69. \end{frame}
  70. \section{Vorwort}
  71. \subsection{Motivation}
  72. \begin{frame}[plain]{Motivation}
  73. \begin{varwidth}{.5\textwidth}
  74. \begin{figure}
  75. \centering
  76. \includegraphics[width=.9\textwidth]{media/macbook.jpg}
  77. \end{figure}
  78. \end{varwidth}
  79. \hfill
  80. \begin{varwidth}{.5\textwidth}
  81. \begin{itemize}\pause
  82. \item allgemeines Interesse\pause
  83. \item fehlender Edubs-Mail-Client\pause
  84. %\item fehlender Edubs-Mail-Client\inlinegraphics{media/baslerstab-1.jpg}\pause
  85. \item persönliche Bedürfnisse
  86. \end{itemize}
  87. \end{varwidth}
  88. \end{frame}
  89. \subsection{Ziele}
  90. \begin{frame}[plain]{Ziele}
  91. \begin{varwidth}{.5\textwidth}
  92. \begin{figure}
  93. \centering
  94. \includegraphics[width=.8\textwidth]{../logo/version3d.png}
  95. \end{figure}
  96. \end{varwidth}
  97. \hfill
  98. \begin{varwidth}{.5\textwidth}
  99. \begin{itemize}\pause
  100. \item Basisfunktionen \inlinegraphics{media/mail.png} \pause
  101. \item Account Manager\inlinegraphics{media/business.png}\pause
  102. \item Mobil und Modern\inlinegraphics{media/mobile.png}\pause
  103. \item Einstellungen\inlinegraphics{media/settings.png}\pause
  104. \item Schnell \& Simpel\inlinegraphics{media/run.png}
  105. \end{itemize}
  106. \end{varwidth}
  107. \end{frame}
  108. %:TODO Ich han eig gmeint Bilder us de Apps. Also wenn du seisch es isch zu überlade das me das in de Apps seht und ned s Logo fo de App
  109. \begin{frame}[plain]{Inspiration Design}
  110. \begin{varwidth}{.3\textwidth}\pause
  111. \begin{figure}
  112. \centering
  113. \includegraphics[height=.8\textheight]{media/gmail-screenshot.png}\\
  114. \vspace{.5cm}
  115. \includegraphics[width=.25\textwidth]{media/gmail-logo.png}
  116. \end{figure}
  117. \end{varwidth}
  118. \hfill
  119. \begin{varwidth}{.3\textwidth}\pause
  120. \begin{figure}
  121. \centering
  122. \includegraphics[width=.8\textwidth]{media/k9-screenshot.png}\\
  123. \vspace{.5cm}
  124. \includegraphics[width=.25\textwidth]{media/k9-logo.png}
  125. \end{figure}
  126. \end{varwidth}
  127. \hfill
  128. \begin{varwidth}{.3\textwidth}\pause
  129. \begin{figure}
  130. \centering
  131. \includegraphics[width=.8\textwidth]{media/fairmail-screenshot.png}\\
  132. \vspace{.5cm}
  133. \includegraphics[width=.25\textwidth]{media/fairmail-logo.png}
  134. \end{figure}
  135. \end{varwidth}
  136. \end{frame}
  137. % TODO: consider using external player
  138. \section{Haupteil}
  139. \subsection{App mit Film}
  140. \begin{frame}[plain]{Demo}
  141. \centering
  142. %\movie[externalviewer]{\includegraphics[width=.8\textwidth]{media/bug.png}}{media/appNoSound.mp4}
  143. %\includemovie[externalviewer, autoplay]{20pt}{20pt}{media/appNoSound.mp4}
  144. % \includemedia[
  145. % width=5cm,height=5cm,
  146. % activate=pageopen,
  147. % addresource=media/appNoSound.mp4,
  148. % flashvars={
  149. % source=media/appNoSound.mp4
  150. % &autoPlay=true
  151. % &scaleMode=letterbox
  152. % }
  153. %]{}{VPlayer.swf}
  154. \end{frame}
  155. \subsection{App Inhalte}
  156. \begin{frame}[plain]{Was alles drin ist}
  157. \centering
  158. \begin{figure}[h]
  159. \includegraphics[height=.9\textheight]{media/errorMessage.png}
  160. \hspace{2.5cm}
  161. \pause
  162. \includegraphics[height=.9\textheight]{media/moreSettings.jpg}
  163. \end{figure}
  164. \end{frame}
  165. \subsection{App-Struktur}
  166. \begin{frame}[plain]{Allgemeine App-Struktur}
  167. \begin{varwidth}{.3\textwidth}
  168. \pause
  169. \begin{figure}
  170. \centering
  171. \includegraphics[height=.8\textheight]{../maturText/media/AppStructureFull.png}
  172. \end{figure}
  173. \end{varwidth}
  174. \hfill
  175. \begin{varwidth}{.5\textwidth}
  176. \begin{itemize}\pause
  177. \item Das User Interface \pause
  178. \item Die Server Connection \pause
  179. \item Die Database \pause
  180. \end{itemize}
  181. \end{varwidth}
  182. \end{frame}
  183. \begin{frame}[plain]{Database}
  184. \begin{block}{Allgemein}
  185. \textbf{Datenbank:} eine organisierte Ansammlung von strukturierter Information oder Daten
  186. \end{block}
  187. \begin{block}{in Der App}
  188. %:TODO finish this simon
  189. \pause
  190. \begin{tabular}{ |C{1.4Cm} |C{0.9Cm} |C{0.5Cm} |C{0.65Cm} |C{0.95Cm} |C{0.85Cm} |C{1.05Cm} |C{1.55Cm} |C{1.05Cm} |C{0.8Cm}|}
  191. %\begin{tabular}{ c c c c c c c c c c}
  192. \hline
  193. \multicolumn{10}{|c|}{Database Table} \\
  194. \hline
  195. \small{ObejctKey} &To & cc & bcc & from & date & subject & \small{textContent} & folder & seen \\
  196. \hline
  197. \pause
  198. 01 & \small{Sam} & null & null & \small{Anna} & \small{1.3.13} & Schule & Hallo Herr & Draft & true \\
  199. \hline
  200. \end{tabular}
  201. \end{block}
  202. \end{frame}
  203. % TODO: add pauses + neomutt / thunderbird + customdomain / edubs example imgs
  204. \begin{frame}[plain]{Email Connection}
  205. \centering
  206. \includegraphics[width=.8\textwidth]{../maturText/media/connection-diagram.png}
  207. \end{frame}
  208. % TODO: not use lstlisting?
  209. \defverbatim[colored]\makeset{
  210. \lstset{language=python}
  211. \begin{lstlisting}
  212. def sendStarttls(host, sendingMail, receivingMail, password, message="",
  213. subject="", port=587, cc=[], bcc=[]):
  214. context = ssl.create_default_context()
  215. if type(cc) is not str:
  216. cc = ",".join(cc)
  217. if type(bcc) is not str:
  218. bcc = ",".join(bcc)
  219. utf8Message = ("Subject: " + subject + "\nCC: " + cc + "\nBCC: " + bcc +
  220. "\n\n" + message)
  221. decoded = utf8Message.encode('cp1252').decode('utf-8')
  222. with smtplib.SMTP(host, port) as serverConnection:
  223. serverConnection.starttls(context=context)
  224. serverConnection.login(sendingMail, password)
  225. serverConnection.sendmail(sendingMail, receivingMail, decoded)
  226. \end{lstlisting}
  227. }
  228. \begin{frame}[plain]{Senden einer Email}
  229. %\makeset
  230. %\lstset{language=Python}
  231. %\lstinputlisting[language=Python]{code/sentMail.py}
  232. \begin{figure}[h]
  233. \includegraphics[width=.8\textwidth]{media/codeFragment.png}
  234. \end{figure}
  235. \end{frame}
  236. \subsection{Librarys}
  237. \begin{frame}[plain]{Material Design}
  238. \begin{varwidth}{.5\textwidth}
  239. \begin{figure}
  240. \centering
  241. \includegraphics[width=\textwidth]{media/material-design-in-action.jpg}
  242. \end{figure}
  243. \end{varwidth}
  244. \hfill
  245. \begin{varwidth}{.4\textwidth}
  246. \includegraphics[width=\textwidth]{media/material-android.png}
  247. \begin{itemize}\pause
  248. \item GUI-Framework\pause
  249. \item beliebt\pause
  250. \item in Google Apps
  251. \end{itemize}
  252. \end{varwidth}
  253. \end{frame}
  254. % TODO: insert bugs
  255. \begin{frame}[plain]{Bugs}
  256. \begin{figure}[h]
  257. \includegraphics[width=.8\textwidth]{media/bug.png}
  258. \end{figure}
  259. \end{frame}
  260. \section{Resultate}
  261. \begin{frame}[plain]{Resultate}
  262. \begin{itemize}\pause
  263. \item User Interface\pause
  264. \item chaquopy\pause
  265. \item Funktionalität\pause
  266. \item abschliessend
  267. \end{itemize}
  268. \end{frame}
  269. \section{Gelerntes}
  270. \begin{frame}[plain]{Was wir gelernt haben}
  271. \begin{varwidth}{.5\textwidth}
  272. \begin{figure}
  273. \centering
  274. \includegraphics[width=.95\textwidth]{media/monetary-success.jpeg}
  275. \end{figure}
  276. \end{varwidth}
  277. \hfill
  278. \begin{varwidth}{.5\textwidth}
  279. \begin{itemize}\pause
  280. \item Java\inlinegraphics{media/java-only-logo.png}\pause
  281. \item Android Apps\inlinegraphics{media/android-robot.png}\pause
  282. \item Android Studio\inlinegraphics{media/android-studio-logo.png}\pause
  283. \item Database \& SQL\inlinegraphics{media/database.png}\pause
  284. \item Gradle\inlinegraphics{media/gradle.png}\pause
  285. \item Zusammenarbeit\inlinegraphics{media/handschlag.jpeg}
  286. \end{itemize}
  287. \end{varwidth}
  288. \end{frame}
  289. \section{Persönliche Meinung}
  290. \begin{frame}[plain]{Persönliche Meinung: Simon}
  291. \begin{varwidth}{.4\textwidth}
  292. \begin{figure}
  293. \centering
  294. \includegraphics[width=.95\textwidth]{media/git-logo.png}
  295. \end{figure}
  296. \end{varwidth}
  297. \hfill
  298. \begin{varwidth}{.5\textwidth}
  299. \begin{itemize}\pause
  300. \item VCS $\rightarrow$ Git $\rightarrow$ GitHub\pause
  301. \item Treffen \& Absprachen \& VoIP\pause
  302. \item texdiary
  303. \end{itemize}
  304. \end{varwidth}
  305. \end{frame}
  306. \begin{frame}[plain]{persönliche Meinung: Noah}
  307. \begin{varwidth}{.4\textwidth}
  308. \begin{figure}
  309. \centering
  310. \includegraphics[width=.95\textwidth]{media/gradle-logo.png}
  311. \end{figure}
  312. \end{varwidth}
  313. \hfill
  314. \begin{varwidth}{.5\textwidth}
  315. \begin{itemize}\pause
  316. \item fehlende Erfahrung\pause
  317. \item Java Libraries\pause
  318. \item persönlicher \& beruflicher Vorteil
  319. \end{itemize}
  320. \end{varwidth}
  321. \end{frame}
  322. \begin{frame}[plain]{Zukunft: Wie geht es weiter?}
  323. \begin{figure}
  324. \centering
  325. \includegraphics[height=.7\textheight]{media/github-repo.jpg}
  326. \end{figure}
  327. \begin{itemize}
  328. \centering
  329. \item https://github.com/noahvogt/snailmail
  330. \item https://git.noahvogt.com/me/snailmail
  331. \end{itemize}
  332. \end{frame}
  333. \end{document}