
diff -r 08cd972b219f -r 289b85843ffd slides/slides05.tex
--- a/slides/slides05.tex	Thu Dec 08 21:28:33 2022 +0000
+++ b/slides/slides05.tex	Thu Dec 08 22:19:21 2022 +0000
@@ -1,8 +1,8 @@
 % !TEX program = xelatex
 \documentclass[dvipsnames,14pt,t,xelatex,aspectratio=169,xcolor={table}]{beamer}
-\usepackage{../slides}
-\usepackage{../graphics}
-\usepackage{../langs}
+\usepackage{../styles/slides}
+\usepackage{../styles/mygraphs}
+\usepackage{../styles/langs}
 %%\usepackage{../data}
 %%\usepackage[export]{adjustbox}
 \usetikzlibrary{shapes,arrows,shadows}
@@ -162,24 +162,47 @@
     Email:  & christian.urban at kcl.ac.uk\\
     %Office: & N\liningnums{7.07} (North Wing, Bush House)\bigskip\\
     Slides \& Code: & KEATS\bigskip\\
-    %                & \onslide<2>{\alert{PDF: A Crash-Course in Scala}}\bigskip\\
-    %Office Hours: &  Thursdays 12:00 -- 14:00\\
-    %Additionally: & (for Scala) Tuesdays 10:45 -- 11:45\\
-    \multicolumn{2}{c}{\Large\textbf{https://pollev.com/cfltutoratki576}}\\[2cm]
+
+    Office Hour: &  Fridays 11:00 -- 12:00\\
+    Location: & N7.07 (North Wing, Bush House)\bigskip\\
+
+    Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\  \\
   \end{tabular}
   \end{center}
 
 \end{frame}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
+\begin{frame}[t]
+\frametitle{Housekeeping}
+
+\mbox{}\medskip  
+
+\begin{minipage}{1.2\textwidth}
+\begin{itemize}
+\item SGTs still ongoing next week
+\item LGT next week online Ask-Me-Anything (will be recorded, TEAMS link will be emailed and published on KEATS)
+\item tests might break over Christmas  
+\end{itemize}\bigskip
+
+\begin{center}
+\raisebox{-9mm}{\includegraphics[scale=0.15]{../pics/thanks.jpeg}} Junhuai Hou \quad Chin Wan
+\end{center}  
+\end{minipage}
+
+
+\end{frame}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{frame}<1>[c]
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[c]
   \frametitle{Main 3: Regexes}
   
 \begin{center}
   \mbox{Graphs: regex \alert{\texttt{(a*)*b}} and strings $\underbrace{\;\texttt{a}\ldots \texttt{a}\;}_{n}$}\bigskip
 
-
   \small  
 \begin{tabular}[t]{@{\hspace{-8mm}}c@{\hspace{-0mm}}c@{}}
 \only<1>{\raisebox{6mm}{\begin{tikzpicture}
@@ -282,7 +305,7 @@
 \frametitle{Plan for Today}
 
 \begin{itemize}
-\item Being Lazy
+\item Implicits
 \item Polymorphic Types
 \item Immutable OOP
 \item Making Fun about Scala
@@ -292,21 +315,21 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
-\begin{frame}[c,fragile]
-\frametitle{How To calcululate 100 Mio Collatz Series?} 
-
-\begin{lstlisting}[language=Scala, numbers=none, xleftmargin=1mm]
-(1L to 100_000_000).map(collatz).max
-\end{lstlisting}
-
-\end{frame}
+%\begin{frame}[c,fragile]
+%\frametitle{How To calcululate 100 Mio Collatz Series?} 
+%
+%\begin{lstlisting}[language=Scala, numbers=none, xleftmargin=1mm]
+%(1L to 100_000_000).map(collatz).max
+%\end{lstlisting}
+%
+%\end{frame}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
 \begin{frame}[c,fragile]
 \frametitle{Polyorphic Types} 
 
-To be avoided:\bigskip\bigskip
+%To be avoided:\bigskip\bigskip
 \small
 
 \begin{lstlisting}[language=Scala, numbers=none, xleftmargin=-6mm]
@@ -316,7 +339,7 @@
    case x::xs => 1 + length_string_list(xs)
  }
 
-
+ 
 def length_int_list(lst: List[Int]): Int = 
  lst match {
    case Nil => 0
@@ -455,8 +478,10 @@
 \frametitle{Where to go on from here?}
 
 \begin{itemize}
-\item Martin Odersky (EPFL) developed Scala 3.0\medskip
+\item Martin Odersky (EPFL) developed now Scala 3\medskip
 
+\item I use Ammonite by Haoji Li\medskip
+  
 \item Elm (\url{http://elm-lang.org})\ldots web applications with style\medskip   
 
 \item Haskell, Ocaml, Standard ML, Scheme, \ldots 




