# HG changeset patch # User Christian Urban # Date 1604804911 0 # Node ID 4b347b6e134f33ac43f689914b70d428fe38ac7b # Parent bb6074814a73640f556bbc33e3ea41e908bf5e16 updated diff -r bb6074814a73 -r 4b347b6e134f progs/mandelbrot.scala --- a/progs/mandelbrot.scala Sat Nov 07 19:13:06 2020 +0000 +++ b/progs/mandelbrot.scala Sun Nov 08 03:08:31 2020 +0000 @@ -104,8 +104,8 @@ val d_x = (end.re - start.re) / W val d_y = (end.im - start.im) / H - for (y <- (0 until H).par) { - for (x <- (0 until W).par) { + for (y <- (0 until H)) { + for (x <- (0 until W)) { val c = start + (x * d_x + y * d_y * i) diff -r bb6074814a73 -r 4b347b6e134f slides/slides01.pdf Binary file slides/slides01.pdf has changed diff -r bb6074814a73 -r 4b347b6e134f slides/slides01.tex --- a/slides/slides01.tex Sat Nov 07 19:13:06 2020 +0000 +++ b/slides/slides01.tex Sun Nov 08 03:08:31 2020 +0000 @@ -499,8 +499,28 @@ \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%\begin{frame} +% +%\end{frame} - +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%\begin{frame}[c, fragile] +% +%\mbox{}\bigskip\bigskip\bigskip +% +%\begin{lstlisting}[language=Scala,numbers=none] +%for (y <- (0 until H).par) { +% for (x <- (0 until W).par) { +% +% ... +% +% } +%} +%\end{lstlisting} +% +% +%\end{frame} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[c] @@ -661,7 +681,7 @@ \begin{center} \begin{bubble}[10.5cm] - Subject: \textbf{Hate '\textbf{\texttt{val}}'}\hfill 01:00 AM\medskip\\ + Subject: \textbf{Hate '\textbf{\texttt{val}}'}\hfill 01:00 AM\hspace{1cm}\medskip\\ Hello Mr Urban,\medskip\\ @@ -687,7 +707,7 @@ \begin{center} \begin{bubble}[10.5cm] - Subject: \textbf{Re: Hate '\textbf{\texttt{val}}'}\hfill 01:02 AM\bigskip\bigskip\\ + Subject: \textbf{Re: Hate '\textbf{\texttt{val}}'}\hfill 01:02 AM\hspace{1cm}\bigskip\bigskip\\ \textcolor{black!70}{ \textit{\large<