--- 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)
Binary file slides/slides01.pdf has changed
--- 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<<my usual rant about fp\ldots\\ concurrency bla bla\ldots{} better programs
@@ -706,7 +726,7 @@
\begin{textblock}{6}(0.5,0.5)
\begin{bubble}[11.5cm]
\small
- Subject: \textbf{Re: Re: Hate '\textbf{\texttt{val}}'}\hfill 01:04 AM\medskip\\
+ Subject: \textbf{Re: Re: Hate '\textbf{\texttt{val}}'}\hfill 01:04 AM\hspace{1cm}\medskip\\
\textbf{Right now my is\_legal function works fine:}