http://git-wip-us.apache.org/repos/asf/flink-web/blob/48be7c6f/content/news/2015/02/09/streaming-example.html
----------------------------------------------------------------------
diff --git a/content/news/2015/02/09/streaming-example.html 
b/content/news/2015/02/09/streaming-example.html
index 77e6d27..c55d533 100644
--- a/content/news/2015/02/09/streaming-example.html
+++ b/content/news/2015/02/09/streaming-example.html
@@ -196,7 +196,7 @@ found <a 
href="https://github.com/mbalassi/flink/blob/stockprices/flink-staging/
   <li>Read a socket stream of stock prices</li>
   <li>Parse the text in the stream to create a stream of 
<code>StockPrice</code> objects</li>
   <li>Add four other sources tagged with the stock symbol.</li>
-  <li>Finally, merge the streams to create a unified stream. </li>
+  <li>Finally, merge the streams to create a unified stream.</li>
 </ol>
 
 <p><img alt="Reading from multiple inputs" 
src="/img/blog/blog_multi_input.png" width="70%" class="img-responsive 
center-block" /></p>
@@ -204,7 +204,7 @@ found <a 
href="https://github.com/mbalassi/flink/blob/stockprices/flink-staging/
 <div class="codetabs">
   <div data-lang="scala">
 
-    <div class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="k">def</span> <span class="n">main</span><span 
class="o">(</span><span class="n">args</span><span class="k">:</span> <span 
class="kt">Array</span><span class="o">[</span><span 
class="kt">String</span><span class="o">])</span> <span class="o">{</span>
+    <figure class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="k">def</span> <span class="n">main</span><span 
class="o">(</span><span class="n">args</span><span class="k">:</span> <span 
class="kt">Array</span><span class="o">[</span><span 
class="kt">String</span><span class="o">])</span> <span class="o">{</span>
 
   <span class="k">val</span> <span class="n">env</span> <span 
class="k">=</span> <span class="nc">StreamExecutionEnvironment</span><span 
class="o">.</span><span class="n">getExecutionEnvironment</span>
 
@@ -227,12 +227,12 @@ found <a 
href="https://github.com/mbalassi/flink/blob/stockprices/flink-staging/
   <span class="n">stockStream</span><span class="o">.</span><span 
class="n">print</span><span class="o">()</span>
 
   <span class="n">env</span><span class="o">.</span><span 
class="n">execute</span><span class="o">(</span><span class="s">&quot;Stock 
stream&quot;</span><span class="o">)</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
   <div data-lang="java7">
 
-    <div class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="kd">public</span> <span class="kd">static</span> 
<span class="kt">void</span> <span class="nf">main</span><span 
class="o">(</span><span class="n">String</span><span class="o">[]</span> <span 
class="n">args</span><span class="o">)</span> <span class="kd">throws</span> 
<span class="n">Exception</span> <span class="o">{</span>
+    <figure class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="kd">public</span> <span class="kd">static</span> 
<span class="kt">void</span> <span class="nf">main</span><span 
class="o">(</span><span class="n">String</span><span class="o">[]</span> <span 
class="n">args</span><span class="o">)</span> <span class="kd">throws</span> 
<span class="n">Exception</span> <span class="o">{</span>
 
     <span class="kd">final</span> <span 
class="n">StreamExecutionEnvironment</span> <span class="n">env</span> <span 
class="o">=</span>
         <span class="n">StreamExecutionEnvironment</span><span 
class="o">.</span><span class="na">getExecutionEnvironment</span><span 
class="o">();</span>
@@ -246,16 +246,16 @@ found <a 
href="https://github.com/mbalassi/flink/blob/stockprices/flink-staging/
                 <span class="nd">@Override</span>
                 <span class="kd">public</span> <span 
class="n">StockPrice</span> <span class="nf">map</span><span 
class="o">(</span><span class="n">String</span> <span 
class="n">value</span><span class="o">)</span> <span class="kd">throws</span> 
<span class="n">Exception</span> <span class="o">{</span>
                     <span class="n">tokens</span> <span class="o">=</span> 
<span class="n">value</span><span class="o">.</span><span 
class="na">split</span><span class="o">(</span><span 
class="s">&quot;,&quot;</span><span class="o">);</span>
-                    <span class="k">return</span> <span class="k">new</span> 
<span class="n">StockPrice</span><span class="o">(</span><span 
class="n">tokens</span><span class="o">[</span><span class="mi">0</span><span 
class="o">],</span>
+                    <span class="k">return</span> <span class="k">new</span> 
<span class="nf">StockPrice</span><span class="o">(</span><span 
class="n">tokens</span><span class="o">[</span><span class="mi">0</span><span 
class="o">],</span>
                         <span class="n">Double</span><span 
class="o">.</span><span class="na">parseDouble</span><span 
class="o">(</span><span class="n">tokens</span><span class="o">[</span><span 
class="mi">1</span><span class="o">]));</span>
                 <span class="o">}</span>
             <span class="o">});</span>
 
     <span class="c1">//Generate other stock streams</span>
-    <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">SPX_stream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="n">StockSource</span><span class="o">(</span><span 
class="s">&quot;SPX&quot;</span><span class="o">,</span> <span 
class="mi">10</span><span class="o">));</span>
-    <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">FTSE_stream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="n">StockSource</span><span class="o">(</span><span 
class="s">&quot;FTSE&quot;</span><span class="o">,</span> <span 
class="mi">20</span><span class="o">));</span>
-    <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">DJI_stream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="n">StockSource</span><span class="o">(</span><span 
class="s">&quot;DJI&quot;</span><span class="o">,</span> <span 
class="mi">30</span><span class="o">));</span>
-    <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">BUX_stream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="n">StockSource</span><span class="o">(</span><span 
class="s">&quot;BUX&quot;</span><span class="o">,</span> <span 
class="mi">40</span><span class="o">));</span>
+    <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">SPX_stream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="nf">StockSource</span><span class="o">(</span><span 
class="s">&quot;SPX&quot;</span><span class="o">,</span> <span 
class="mi">10</span><span class="o">));</span>
+    <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">FTSE_stream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="nf">StockSource</span><span class="o">(</span><span 
class="s">&quot;FTSE&quot;</span><span class="o">,</span> <span 
class="mi">20</span><span class="o">));</span>
+    <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">DJI_stream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="nf">StockSource</span><span class="o">(</span><span 
class="s">&quot;DJI&quot;</span><span class="o">,</span> <span 
class="mi">30</span><span class="o">));</span>
+    <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">BUX_stream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="nf">StockSource</span><span class="o">(</span><span 
class="s">&quot;BUX&quot;</span><span class="o">,</span> <span 
class="mi">40</span><span class="o">));</span>
 
     <span class="c1">//Merge all stock streams together</span>
     <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">stockStream</span> <span class="o">=</span> <span 
class="n">socketStockStream</span>
@@ -263,7 +263,8 @@ found <a 
href="https://github.com/mbalassi/flink/blob/stockprices/flink-staging/
 
     <span class="n">stockStream</span><span class="o">.</span><span 
class="na">print</span><span class="o">();</span>
 
-    <span class="n">env</span><span class="o">.</span><span 
class="na">execute</span><span class="o">(</span><span class="s">&quot;Stock 
stream&quot;</span><span class="o">);</span></code></pre></div>
+    <span class="n">env</span><span class="o">.</span><span 
class="na">execute</span><span class="o">(</span><span class="s">&quot;Stock 
stream&quot;</span><span class="o">);</span>
+    </code></pre></figure>
 
   </div>
 </div>
@@ -281,7 +282,7 @@ of this example, the data streams are simply generated 
using the
 <div class="codetabs">
   <div data-lang="scala">
 
-    <div class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="k">val</span> <span class="n">symbols</span> 
<span class="k">=</span> <span class="nc">List</span><span 
class="o">(</span><span class="s">&quot;SPX&quot;</span><span 
class="o">,</span> <span class="s">&quot;FTSE&quot;</span><span 
class="o">,</span> <span class="s">&quot;DJI&quot;</span><span 
class="o">,</span> <span class="s">&quot;DJT&quot;</span><span 
class="o">,</span> <span class="s">&quot;BUX&quot;</span><span 
class="o">,</span> <span class="s">&quot;DAX&quot;</span><span 
class="o">,</span> <span class="s">&quot;GOOG&quot;</span><span 
class="o">)</span>
+    <figure class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="k">val</span> <span class="n">symbols</span> 
<span class="k">=</span> <span class="nc">List</span><span 
class="o">(</span><span class="s">&quot;SPX&quot;</span><span 
class="o">,</span> <span class="s">&quot;FTSE&quot;</span><span 
class="o">,</span> <span class="s">&quot;DJI&quot;</span><span 
class="o">,</span> <span class="s">&quot;DJT&quot;</span><span 
class="o">,</span> <span class="s">&quot;BUX&quot;</span><span 
class="o">,</span> <span class="s">&quot;DAX&quot;</span><span 
class="o">,</span> <span class="s">&quot;GOOG&quot;</span><span 
class="o">)</span>
 
 <span class="k">case</span> <span class="k">class</span> <span 
class="nc">StockPrice</span><span class="o">(</span><span 
class="n">symbol</span><span class="k">:</span> <span 
class="kt">String</span><span class="o">,</span> <span 
class="n">price</span><span class="k">:</span> <span 
class="kt">Double</span><span class="o">)</span>
 
@@ -292,12 +293,12 @@ of this example, the data streams are simply generated 
using the
     <span class="n">out</span><span class="o">.</span><span 
class="n">collect</span><span class="o">(</span><span 
class="nc">StockPrice</span><span class="o">(</span><span 
class="n">symbol</span><span class="o">,</span> <span 
class="n">price</span><span class="o">))</span>
     <span class="nc">Thread</span><span class="o">.</span><span 
class="n">sleep</span><span class="o">(</span><span 
class="nc">Random</span><span class="o">.</span><span 
class="n">nextInt</span><span class="o">(</span><span 
class="mi">200</span><span class="o">))</span>
   <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
   <div data-lang="java7">
 
-    <div class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="kd">private</span> <span class="kd">static</span> 
<span class="kd">final</span> <span class="n">ArrayList</span><span 
class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span> 
<span class="n">SYMBOLS</span> <span class="o">=</span> <span 
class="k">new</span> <span class="n">ArrayList</span><span 
class="o">&lt;</span><span class="n">String</span><span class="o">&gt;(</span>
+    <figure class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="kd">private</span> <span class="kd">static</span> 
<span class="kd">final</span> <span class="n">ArrayList</span><span 
class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span> 
<span class="n">SYMBOLS</span> <span class="o">=</span> <span 
class="k">new</span> <span class="n">ArrayList</span><span 
class="o">&lt;</span><span class="n">String</span><span class="o">&gt;(</span>
     <span class="n">Arrays</span><span class="o">.</span><span 
class="na">asList</span><span class="o">(</span><span 
class="s">&quot;SPX&quot;</span><span class="o">,</span> <span 
class="s">&quot;FTSE&quot;</span><span class="o">,</span> <span 
class="s">&quot;DJI&quot;</span><span class="o">,</span> <span 
class="s">&quot;DJT&quot;</span><span class="o">,</span> <span 
class="s">&quot;BUX&quot;</span><span class="o">,</span> <span 
class="s">&quot;DAX&quot;</span><span class="o">,</span> <span 
class="s">&quot;GOOG&quot;</span><span class="o">));</span>
 
 <span class="kd">public</span> <span class="kd">static</span> <span 
class="kd">class</span> <span class="nc">StockPrice</span> <span 
class="kd">implements</span> <span class="n">Serializable</span> <span 
class="o">{</span>
@@ -336,15 +337,15 @@ of this example, the data streams are simply generated 
using the
     <span class="nd">@Override</span>
     <span class="kd">public</span> <span class="kt">void</span> <span 
class="nf">invoke</span><span class="o">(</span><span 
class="n">Collector</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">collector</span><span class="o">)</span> <span 
class="kd">throws</span> <span class="n">Exception</span> <span 
class="o">{</span>
         <span class="n">price</span> <span class="o">=</span> <span 
class="n">DEFAULT_PRICE</span><span class="o">;</span>
-        <span class="n">Random</span> <span class="n">random</span> <span 
class="o">=</span> <span class="k">new</span> <span 
class="n">Random</span><span class="o">();</span>
+        <span class="n">Random</span> <span class="n">random</span> <span 
class="o">=</span> <span class="k">new</span> <span 
class="nf">Random</span><span class="o">();</span>
 
         <span class="k">while</span> <span class="o">(</span><span 
class="kc">true</span><span class="o">)</span> <span class="o">{</span>
             <span class="n">price</span> <span class="o">=</span> <span 
class="n">price</span> <span class="o">+</span> <span 
class="n">random</span><span class="o">.</span><span 
class="na">nextGaussian</span><span class="o">()</span> <span 
class="o">*</span> <span class="n">sigma</span><span class="o">;</span>
-            <span class="n">collector</span><span class="o">.</span><span 
class="na">collect</span><span class="o">(</span><span class="k">new</span> 
<span class="n">StockPrice</span><span class="o">(</span><span 
class="n">symbol</span><span class="o">,</span> <span 
class="n">price</span><span class="o">));</span>
+            <span class="n">collector</span><span class="o">.</span><span 
class="na">collect</span><span class="o">(</span><span class="k">new</span> 
<span class="nf">StockPrice</span><span class="o">(</span><span 
class="n">symbol</span><span class="o">,</span> <span 
class="n">price</span><span class="o">));</span>
             <span class="n">Thread</span><span class="o">.</span><span 
class="na">sleep</span><span class="o">(</span><span 
class="n">random</span><span class="o">.</span><span 
class="na">nextInt</span><span class="o">(</span><span 
class="mi">200</span><span class="o">));</span>
         <span class="o">}</span>
     <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 </div>
@@ -397,7 +398,7 @@ performed on named fields of POJOs, making the code more 
readable.</p>
 
   <div data-lang="scala">
 
-    <div class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="c1">//Define the desired time window</span>
+    <figure class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="c1">//Define the desired time window</span>
 <span class="k">val</span> <span class="n">windowedStream</span> <span 
class="k">=</span> <span class="n">stockStream</span>
   <span class="o">.</span><span class="n">window</span><span 
class="o">(</span><span class="nc">Time</span><span class="o">.</span><span 
class="n">of</span><span class="o">(</span><span class="mi">10</span><span 
class="o">,</span> <span class="nc">SECONDS</span><span 
class="o">)).</span><span class="n">every</span><span class="o">(</span><span 
class="nc">Time</span><span class="o">.</span><span class="n">of</span><span 
class="o">(</span><span class="mi">5</span><span class="o">,</span> <span 
class="nc">SECONDS</span><span class="o">))</span>
 
@@ -411,13 +412,13 @@ performed on named fields of POJOs, making the code more 
readable.</p>
   <span class="k">if</span> <span class="o">(</span><span 
class="n">ts</span><span class="o">.</span><span class="n">nonEmpty</span><span 
class="o">)</span> <span class="o">{</span>
     <span class="n">out</span><span class="o">.</span><span 
class="n">collect</span><span class="o">(</span><span 
class="nc">StockPrice</span><span class="o">(</span><span 
class="n">ts</span><span class="o">.</span><span class="n">head</span><span 
class="o">.</span><span class="n">symbol</span><span class="o">,</span> <span 
class="n">ts</span><span class="o">.</span><span class="n">foldLeft</span><span 
class="o">(</span><span class="mi">0</span><span class="k">:</span> <span 
class="kt">Double</span><span class="o">)(</span><span class="k">_</span> <span 
class="o">+</span> <span class="k">_</span><span class="o">.</span><span 
class="n">price</span><span class="o">)</span> <span class="o">/</span> <span 
class="n">ts</span><span class="o">.</span><span class="n">size</span><span 
class="o">))</span>
   <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 
   <div data-lang="java7">
 
-    <div class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="c1">//Define the desired time window</span>
+    <figure class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="c1">//Define the desired time window</span>
 <span class="n">WindowedDataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">windowedStream</span> <span class="o">=</span> <span 
class="n">stockStream</span>
     <span class="o">.</span><span class="na">window</span><span 
class="o">(</span><span class="n">Time</span><span class="o">.</span><span 
class="na">of</span><span class="o">(</span><span class="mi">10</span><span 
class="o">,</span> <span class="n">TimeUnit</span><span class="o">.</span><span 
class="na">SECONDS</span><span class="o">))</span>
     <span class="o">.</span><span class="na">every</span><span 
class="o">(</span><span class="n">Time</span><span class="o">.</span><span 
class="na">of</span><span class="o">(</span><span class="mi">5</span><span 
class="o">,</span> <span class="n">TimeUnit</span><span class="o">.</span><span 
class="na">SECONDS</span><span class="o">));</span>
@@ -427,7 +428,7 @@ performed on named fields of POJOs, making the code more 
readable.</p>
 <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">maxByStock</span> <span class="o">=</span> <span 
class="n">windowedStream</span><span class="o">.</span><span 
class="na">groupBy</span><span class="o">(</span><span 
class="s">&quot;symbol&quot;</span><span class="o">)</span>
     <span class="o">.</span><span class="na">maxBy</span><span 
class="o">(</span><span class="s">&quot;price&quot;</span><span 
class="o">).</span><span class="na">flatten</span><span class="o">();</span>
 <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">StockPrice</span><span class="o">&gt;</span> <span 
class="n">rollingMean</span> <span class="o">=</span> <span 
class="n">windowedStream</span><span class="o">.</span><span 
class="na">groupBy</span><span class="o">(</span><span 
class="s">&quot;symbol&quot;</span><span class="o">)</span>
-    <span class="o">.</span><span class="na">mapWindow</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">WindowMean</span><span class="o">()).</span><span 
class="na">flatten</span><span class="o">();</span>
+    <span class="o">.</span><span class="na">mapWindow</span><span 
class="o">(</span><span class="k">new</span> <span 
class="nf">WindowMean</span><span class="o">()).</span><span 
class="na">flatten</span><span class="o">();</span>
 
 <span class="c1">//Compute the mean of a window</span>
 <span class="kd">public</span> <span class="kd">final</span> <span 
class="kd">static</span> <span class="kd">class</span> <span 
class="nc">WindowMean</span> <span class="kd">implements</span> 
@@ -447,10 +448,10 @@ performed on named fields of POJOs, making the code more 
readable.</p>
                 <span class="n">symbol</span> <span class="o">=</span> <span 
class="n">sp</span><span class="o">.</span><span class="na">symbol</span><span 
class="o">;</span>
                 <span class="n">count</span><span class="o">++;</span>
             <span class="o">}</span>
-            <span class="n">out</span><span class="o">.</span><span 
class="na">collect</span><span class="o">(</span><span class="k">new</span> 
<span class="n">StockPrice</span><span class="o">(</span><span 
class="n">symbol</span><span class="o">,</span> <span class="n">sum</span> 
<span class="o">/</span> <span class="n">count</span><span class="o">));</span>
+            <span class="n">out</span><span class="o">.</span><span 
class="na">collect</span><span class="o">(</span><span class="k">new</span> 
<span class="nf">StockPrice</span><span class="o">(</span><span 
class="n">symbol</span><span class="o">,</span> <span class="n">sum</span> 
<span class="o">/</span> <span class="n">count</span><span class="o">));</span>
         <span class="o">}</span>
     <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 
@@ -480,7 +481,7 @@ every 30 seconds.</p>
 
   <div data-lang="scala">
 
-    <div class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="k">case</span> <span class="k">class</span> 
<span class="nc">Count</span><span class="o">(</span><span 
class="n">symbol</span><span class="k">:</span> <span 
class="kt">String</span><span class="o">,</span> <span 
class="n">count</span><span class="k">:</span> <span class="kt">Int</span><span 
class="o">)</span>
+    <figure class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="k">case</span> <span class="k">class</span> 
<span class="nc">Count</span><span class="o">(</span><span 
class="n">symbol</span><span class="k">:</span> <span 
class="kt">String</span><span class="o">,</span> <span 
class="n">count</span><span class="k">:</span> <span class="kt">Int</span><span 
class="o">)</span>
 <span class="k">val</span> <span class="n">defaultPrice</span> <span 
class="k">=</span> <span class="nc">StockPrice</span><span 
class="o">(</span><span class="s">&quot;&quot;</span><span class="o">,</span> 
<span class="mi">1000</span><span class="o">)</span>
 
 <span class="c1">//Use delta policy to create price change warnings</span>
@@ -500,14 +501,14 @@ every 30 seconds.</p>
 
 <span class="k">def</span> <span class="n">sendWarning</span><span 
class="o">(</span><span class="n">ts</span><span class="k">:</span> <span 
class="kt">Iterable</span><span class="o">[</span><span 
class="kt">StockPrice</span><span class="o">],</span> <span 
class="n">out</span><span class="k">:</span> <span 
class="kt">Collector</span><span class="o">[</span><span 
class="kt">String</span><span class="o">])</span> <span class="k">=</span> 
<span class="o">{</span>
   <span class="k">if</span> <span class="o">(</span><span 
class="n">ts</span><span class="o">.</span><span class="n">nonEmpty</span><span 
class="o">)</span> <span class="n">out</span><span class="o">.</span><span 
class="n">collect</span><span class="o">(</span><span class="n">ts</span><span 
class="o">.</span><span class="n">head</span><span class="o">.</span><span 
class="n">symbol</span><span class="o">)</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 
   <div data-lang="java7">
 
-    <div class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="kd">private</span> <span class="kd">static</span> 
<span class="kd">final</span> <span class="n">Double</span> <span 
class="n">DEFAULT_PRICE</span> <span class="o">=</span> <span 
class="mi">1000</span><span class="o">.;</span>
-<span class="kd">private</span> <span class="kd">static</span> <span 
class="kd">final</span> <span class="n">StockPrice</span> <span 
class="n">DEFAULT_STOCK_PRICE</span> <span class="o">=</span> <span 
class="k">new</span> <span class="n">StockPrice</span><span 
class="o">(</span><span class="s">&quot;&quot;</span><span class="o">,</span> 
<span class="n">DEFAULT_PRICE</span><span class="o">);</span>
+    <figure class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="kd">private</span> <span class="kd">static</span> 
<span class="kd">final</span> <span class="n">Double</span> <span 
class="n">DEFAULT_PRICE</span> <span class="o">=</span> <span 
class="mi">1000</span><span class="o">.;</span>
+<span class="kd">private</span> <span class="kd">static</span> <span 
class="kd">final</span> <span class="n">StockPrice</span> <span 
class="n">DEFAULT_STOCK_PRICE</span> <span class="o">=</span> <span 
class="k">new</span> <span class="nf">StockPrice</span><span 
class="o">(</span><span class="s">&quot;&quot;</span><span class="o">,</span> 
<span class="n">DEFAULT_PRICE</span><span class="o">);</span>
 
 <span class="c1">//Use delta policy to create price change warnings</span>
 <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">String</span><span class="o">&gt;</span> <span 
class="n">priceWarnings</span> <span class="o">=</span> <span 
class="n">stockStream</span><span class="o">.</span><span 
class="na">groupBy</span><span class="o">(</span><span 
class="s">&quot;symbol&quot;</span><span class="o">)</span>
@@ -517,13 +518,13 @@ every 30 seconds.</p>
             <span class="k">return</span> <span class="n">Math</span><span 
class="o">.</span><span class="na">abs</span><span class="o">(</span><span 
class="n">oldDataPoint</span><span class="o">.</span><span 
class="na">price</span> <span class="o">-</span> <span 
class="n">newDataPoint</span><span class="o">.</span><span 
class="na">price</span><span class="o">);</span>
         <span class="o">}</span>
     <span class="o">},</span> <span class="n">DEFAULT_STOCK_PRICE</span><span 
class="o">))</span>
-<span class="o">.</span><span class="na">mapWindow</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">SendWarning</span><span class="o">()).</span><span 
class="na">flatten</span><span class="o">();</span>
+<span class="o">.</span><span class="na">mapWindow</span><span 
class="o">(</span><span class="k">new</span> <span 
class="nf">SendWarning</span><span class="o">()).</span><span 
class="na">flatten</span><span class="o">();</span>
 
 <span class="c1">//Count the number of warnings every half a minute</span>
 <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">Count</span><span class="o">&gt;</span> <span 
class="n">warningsPerStock</span> <span class="o">=</span> <span 
class="n">priceWarnings</span><span class="o">.</span><span 
class="na">map</span><span class="o">(</span><span class="k">new</span> <span 
class="n">MapFunction</span><span class="o">&lt;</span><span 
class="n">String</span><span class="o">,</span> <span 
class="n">Count</span><span class="o">&gt;()</span> <span class="o">{</span>
     <span class="nd">@Override</span>
     <span class="kd">public</span> <span class="n">Count</span> <span 
class="nf">map</span><span class="o">(</span><span class="n">String</span> 
<span class="n">value</span><span class="o">)</span> <span 
class="kd">throws</span> <span class="n">Exception</span> <span 
class="o">{</span>
-        <span class="k">return</span> <span class="k">new</span> <span 
class="n">Count</span><span class="o">(</span><span class="n">value</span><span 
class="o">,</span> <span class="mi">1</span><span class="o">);</span>
+        <span class="k">return</span> <span class="k">new</span> <span 
class="nf">Count</span><span class="o">(</span><span 
class="n">value</span><span class="o">,</span> <span class="mi">1</span><span 
class="o">);</span>
     <span class="o">}</span>
 <span class="o">}).</span><span class="na">groupBy</span><span 
class="o">(</span><span class="s">&quot;symbol&quot;</span><span 
class="o">).</span><span class="na">window</span><span class="o">(</span><span 
class="n">Time</span><span class="o">.</span><span class="na">of</span><span 
class="o">(</span><span class="mi">30</span><span class="o">,</span> <span 
class="n">TimeUnit</span><span class="o">.</span><span 
class="na">SECONDS</span><span class="o">)).</span><span 
class="na">sum</span><span class="o">(</span><span 
class="s">&quot;count&quot;</span><span class="o">).</span><span 
class="na">flatten</span><span class="o">();</span>
 
@@ -557,7 +558,7 @@ every 30 seconds.</p>
             <span class="n">out</span><span class="o">.</span><span 
class="na">collect</span><span class="o">(</span><span 
class="n">values</span><span class="o">.</span><span 
class="na">iterator</span><span class="o">().</span><span 
class="na">next</span><span class="o">().</span><span 
class="na">symbol</span><span class="o">);</span>
         <span class="o">}</span>
     <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 
@@ -578,7 +579,7 @@ but for the sake of this example we generate dummy tweet 
data.</p>
 
   <div data-lang="scala">
 
-    <div class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="c1">//Read a stream of tweets</span>
+    <figure class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="c1">//Read a stream of tweets</span>
 <span class="k">val</span> <span class="n">tweetStream</span> <span 
class="k">=</span> <span class="n">env</span><span class="o">.</span><span 
class="n">addSource</span><span class="o">(</span><span 
class="n">generateTweets</span> <span class="k">_</span><span class="o">)</span>
 
 <span class="c1">//Extract the stock symbols</span>
@@ -598,14 +599,14 @@ but for the sake of this example we generate dummy tweet 
data.</p>
     <span class="n">out</span><span class="o">.</span><span 
class="n">collect</span><span class="o">(</span><span class="n">s</span><span 
class="o">.</span><span class="n">mkString</span><span class="o">(</span><span 
class="s">&quot; &quot;</span><span class="o">))</span>
     <span class="nc">Thread</span><span class="o">.</span><span 
class="n">sleep</span><span class="o">(</span><span 
class="nc">Random</span><span class="o">.</span><span 
class="n">nextInt</span><span class="o">(</span><span 
class="mi">500</span><span class="o">))</span>
   <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 
   <div data-lang="java7">
 
-    <div class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="c1">//Read a stream of tweets</span>
-<span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">String</span><span class="o">&gt;</span> <span 
class="n">tweetStream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="n">TweetSource</span><span class="o">());</span>
+    <figure class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="c1">//Read a stream of tweets</span>
+<span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">String</span><span class="o">&gt;</span> <span 
class="n">tweetStream</span> <span class="o">=</span> <span 
class="n">env</span><span class="o">.</span><span 
class="na">addSource</span><span class="o">(</span><span class="k">new</span> 
<span class="nf">TweetSource</span><span class="o">());</span>
 
 <span class="c1">//Extract the stock symbols</span>
 <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">String</span><span class="o">&gt;</span> <span 
class="n">mentionedSymbols</span> <span class="o">=</span> <span 
class="n">tweetStream</span><span class="o">.</span><span 
class="na">flatMap</span><span class="o">(</span>
@@ -628,7 +629,7 @@ but for the sake of this example we generate dummy tweet 
data.</p>
 <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">Count</span><span class="o">&gt;</span> <span 
class="n">tweetsPerStock</span> <span class="o">=</span> <span 
class="n">mentionedSymbols</span><span class="o">.</span><span 
class="na">map</span><span class="o">(</span><span class="k">new</span> <span 
class="n">MapFunction</span><span class="o">&lt;</span><span 
class="n">String</span><span class="o">,</span> <span 
class="n">Count</span><span class="o">&gt;()</span> <span class="o">{</span>
     <span class="nd">@Override</span>
     <span class="kd">public</span> <span class="n">Count</span> <span 
class="nf">map</span><span class="o">(</span><span class="n">String</span> 
<span class="n">value</span><span class="o">)</span> <span 
class="kd">throws</span> <span class="n">Exception</span> <span 
class="o">{</span>
-        <span class="k">return</span> <span class="k">new</span> <span 
class="n">Count</span><span class="o">(</span><span class="n">value</span><span 
class="o">,</span> <span class="mi">1</span><span class="o">);</span>
+        <span class="k">return</span> <span class="k">new</span> <span 
class="nf">Count</span><span class="o">(</span><span 
class="n">value</span><span class="o">,</span> <span class="mi">1</span><span 
class="o">);</span>
     <span class="o">}</span>
 <span class="o">}).</span><span class="na">groupBy</span><span 
class="o">(</span><span class="s">&quot;symbol&quot;</span><span 
class="o">).</span><span class="na">window</span><span class="o">(</span><span 
class="n">Time</span><span class="o">.</span><span class="na">of</span><span 
class="o">(</span><span class="mi">30</span><span class="o">,</span> <span 
class="n">TimeUnit</span><span class="o">.</span><span 
class="na">SECONDS</span><span class="o">)).</span><span 
class="na">sum</span><span class="o">(</span><span 
class="s">&quot;count&quot;</span><span class="o">).</span><span 
class="na">flatten</span><span class="o">();</span>
 
@@ -638,8 +639,8 @@ but for the sake of this example we generate dummy tweet 
data.</p>
 
     <span class="nd">@Override</span>
     <span class="kd">public</span> <span class="kt">void</span> <span 
class="nf">invoke</span><span class="o">(</span><span 
class="n">Collector</span><span class="o">&lt;</span><span 
class="n">String</span><span class="o">&gt;</span> <span 
class="n">collector</span><span class="o">)</span> <span 
class="kd">throws</span> <span class="n">Exception</span> <span 
class="o">{</span>
-        <span class="n">random</span> <span class="o">=</span> <span 
class="k">new</span> <span class="n">Random</span><span class="o">();</span>
-        <span class="n">stringBuilder</span> <span class="o">=</span> <span 
class="k">new</span> <span class="n">StringBuilder</span><span 
class="o">();</span>
+        <span class="n">random</span> <span class="o">=</span> <span 
class="k">new</span> <span class="nf">Random</span><span class="o">();</span>
+        <span class="n">stringBuilder</span> <span class="o">=</span> <span 
class="k">new</span> <span class="nf">StringBuilder</span><span 
class="o">();</span>
 
         <span class="k">while</span> <span class="o">(</span><span 
class="kc">true</span><span class="o">)</span> <span class="o">{</span>
             <span class="n">stringBuilder</span><span class="o">.</span><span 
class="na">setLength</span><span class="o">(</span><span 
class="mi">0</span><span class="o">);</span>
@@ -652,7 +653,7 @@ but for the sake of this example we generate dummy tweet 
data.</p>
         <span class="o">}</span>
 
     <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 
@@ -668,13 +669,13 @@ number of mentions of a given stock in the Twitter 
stream. As both of
 these data streams are potentially infinite, we apply the join on a
 30-second window.</p>
 
-<p><img alt="Streaming joins" src="/img/blog/blog_stream_join.png" width="60%" 
class="img-responsive center-block" /> </p>
+<p><img alt="Streaming joins" src="/img/blog/blog_stream_join.png" width="60%" 
class="img-responsive center-block" /></p>
 
 <div class="codetabs">
 
   <div data-lang="scala">
 
-    <div class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="c1">//Join warnings and parsed tweets</span>
+    <figure class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="c1">//Join warnings and parsed tweets</span>
 <span class="k">val</span> <span class="n">tweetsAndWarning</span> <span 
class="k">=</span> <span class="n">warningsPerStock</span><span 
class="o">.</span><span class="n">join</span><span class="o">(</span><span 
class="n">tweetsPerStock</span><span class="o">)</span>
   <span class="o">.</span><span class="n">onWindow</span><span 
class="o">(</span><span class="mi">30</span><span class="o">,</span> <span 
class="nc">SECONDS</span><span class="o">)</span>
   <span class="o">.</span><span class="n">where</span><span 
class="o">(</span><span class="s">&quot;symbol&quot;</span><span 
class="o">)</span>
@@ -699,13 +700,13 @@ these data streams are potentially infinite, we apply the 
join on a
 
     <span class="n">out</span><span class="o">.</span><span 
class="n">collect</span><span class="o">(</span><span class="n">cov</span> 
<span class="o">/</span> <span class="o">(</span><span class="n">d1</span> 
<span class="o">*</span> <span class="n">d2</span><span class="o">))</span>
   <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 
   <div data-lang="java7">
 
-    <div class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="c1">//Join warnings and parsed tweets</span>
+    <figure class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="c1">//Join warnings and parsed tweets</span>
 <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">Tuple2</span><span class="o">&lt;</span><span 
class="n">Integer</span><span class="o">,</span> <span 
class="n">Integer</span><span class="o">&gt;&gt;</span> <span 
class="n">tweetsAndWarning</span> <span class="o">=</span> <span 
class="n">warningsPerStock</span>
     <span class="o">.</span><span class="na">join</span><span 
class="o">(</span><span class="n">tweetsPerStock</span><span class="o">)</span>
     <span class="o">.</span><span class="na">onWindow</span><span 
class="o">(</span><span class="mi">30</span><span class="o">,</span> <span 
class="n">TimeUnit</span><span class="o">.</span><span 
class="na">SECONDS</span><span class="o">)</span>
@@ -721,7 +722,7 @@ these data streams are potentially infinite, we apply the 
join on a
 <span class="c1">//Compute rolling correlation</span>
 <span class="n">DataStream</span><span class="o">&lt;</span><span 
class="n">Double</span><span class="o">&gt;</span> <span 
class="n">rollingCorrelation</span> <span class="o">=</span> <span 
class="n">tweetsAndWarning</span>
     <span class="o">.</span><span class="na">window</span><span 
class="o">(</span><span class="n">Time</span><span class="o">.</span><span 
class="na">of</span><span class="o">(</span><span class="mi">30</span><span 
class="o">,</span> <span class="n">TimeUnit</span><span class="o">.</span><span 
class="na">SECONDS</span><span class="o">))</span>
-    <span class="o">.</span><span class="na">mapWindow</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">WindowCorrelation</span><span class="o">());</span>
+    <span class="o">.</span><span class="na">mapWindow</span><span 
class="o">(</span><span class="k">new</span> <span 
class="nf">WindowCorrelation</span><span class="o">());</span>
 
 <span class="n">rollingCorrelation</span><span class="o">.</span><span 
class="na">print</span><span class="o">();</span>
 
@@ -775,7 +776,7 @@ these data streams are potentially infinite, we apply the 
join on a
 
         <span class="n">out</span><span class="o">.</span><span 
class="na">collect</span><span class="o">(</span><span class="n">cov</span> 
<span class="o">/</span> <span class="o">(</span><span class="n">leftSd</span> 
<span class="o">*</span> <span class="n">rightSd</span><span 
class="o">));</span>
     <span class="o">}</span>
-<span class="o">}</span></code></pre></div>
+<span class="o">}</span></code></pre></figure>
 
   </div>
 

http://git-wip-us.apache.org/repos/asf/flink-web/blob/48be7c6f/content/news/2015/03/02/february-2015-in-flink.html
----------------------------------------------------------------------
diff --git a/content/news/2015/03/02/february-2015-in-flink.html 
b/content/news/2015/03/02/february-2015-in-flink.html
index 607fbe6..757b469 100644
--- a/content/news/2015/03/02/february-2015-in-flink.html
+++ b/content/news/2015/03/02/february-2015-in-flink.html
@@ -223,11 +223,11 @@ the web. Here are some examples:</p>
 directly. Here’s for example a calculation of shortest paths in a
 graph:</p>
 
-<div class="highlight"><pre><code class="language-java" data-lang="java"><span 
class="n">Graph</span><span class="o">&lt;</span><span 
class="n">Long</span><span class="o">,</span> <span 
class="n">Double</span><span class="o">,</span> <span 
class="n">Double</span><span class="o">&gt;</span> <span class="n">graph</span> 
<span class="o">=</span> <span class="n">Graph</span><span 
class="o">.</span><span class="na">fromDataSet</span><span 
class="o">(</span><span class="n">vertices</span><span class="o">,</span> <span 
class="n">edges</span><span class="o">,</span> <span class="n">env</span><span 
class="o">);</span>
+<figure class="highlight"><pre><code class="language-java" 
data-lang="java"><span class="n">Graph</span><span class="o">&lt;</span><span 
class="n">Long</span><span class="o">,</span> <span 
class="n">Double</span><span class="o">,</span> <span 
class="n">Double</span><span class="o">&gt;</span> <span class="n">graph</span> 
<span class="o">=</span> <span class="n">Graph</span><span 
class="o">.</span><span class="na">fromDataSet</span><span 
class="o">(</span><span class="n">vertices</span><span class="o">,</span> <span 
class="n">edges</span><span class="o">,</span> <span class="n">env</span><span 
class="o">);</span>
 
 <span class="n">DataSet</span><span class="o">&lt;</span><span 
class="n">Vertex</span><span class="o">&lt;</span><span 
class="n">Long</span><span class="o">,</span> <span 
class="n">Double</span><span class="o">&gt;&gt;</span> <span 
class="n">singleSourceShortestPaths</span> <span class="o">=</span> <span 
class="n">graph</span>
      <span class="o">.</span><span class="na">run</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">SingleSourceShortestPaths</span><span class="o">&lt;</span><span 
class="n">Long</span><span class="o">&gt;(</span><span 
class="n">srcVertexId</span><span class="o">,</span>
-           <span class="n">maxIterations</span><span class="o">)).</span><span 
class="na">getVertices</span><span class="o">();</span></code></pre></div>
+           <span class="n">maxIterations</span><span class="o">)).</span><span 
class="na">getVertices</span><span class="o">();</span></code></pre></figure>
 
 <p>See more Gelly examples
 <a 
href="https://github.com/apache/flink/tree/master/flink-libraries/flink-gelly-examples";>here</a>.</p>
@@ -241,7 +241,7 @@ and SQL support. Here’s a preview on how you can read two 
CSV file,
 assign a logical schema to, and apply transformations like filters and
 joins using logical attributes rather than physical data types.</p>
 
-<div class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="k">val</span> <span class="n">customers</span> 
<span class="k">=</span> <span class="n">getCustomerDataSet</span><span 
class="o">(</span><span class="n">env</span><span class="o">)</span>
+<figure class="highlight"><pre><code class="language-scala" 
data-lang="scala"><span class="k">val</span> <span class="n">customers</span> 
<span class="k">=</span> <span class="n">getCustomerDataSet</span><span 
class="o">(</span><span class="n">env</span><span class="o">)</span>
  <span class="o">.</span><span class="n">as</span><span 
class="o">(</span><span class="-Symbol">&#39;id</span><span class="o">,</span> 
<span class="-Symbol">&#39;mktSegment</span><span class="o">)</span>
  <span class="o">.</span><span class="n">filter</span><span class="o">(</span> 
<span class="-Symbol">&#39;mktSegment</span> <span class="o">===</span> <span 
class="s">&quot;AUTOMOBILE&quot;</span> <span class="o">)</span>
 
@@ -252,7 +252,7 @@ joins using logical attributes rather than physical data 
types.</p>
 <span class="k">val</span> <span class="n">items</span> <span 
class="k">=</span>
  <span class="n">orders</span><span class="o">.</span><span 
class="n">join</span><span class="o">(</span><span 
class="n">customers</span><span class="o">)</span>
    <span class="o">.</span><span class="n">where</span><span 
class="o">(</span><span class="-Symbol">&#39;custId</span> <span 
class="o">===</span> <span class="-Symbol">&#39;id</span><span 
class="o">)</span>
-   <span class="o">.</span><span class="n">select</span><span 
class="o">(</span><span class="-Symbol">&#39;orderId</span><span 
class="o">,</span> <span class="-Symbol">&#39;orderDate</span><span 
class="o">,</span> <span class="-Symbol">&#39;shipPrio</span><span 
class="o">)</span></code></pre></div>
+   <span class="o">.</span><span class="n">select</span><span 
class="o">(</span><span class="-Symbol">&#39;orderId</span><span 
class="o">,</span> <span class="-Symbol">&#39;orderDate</span><span 
class="o">,</span> <span class="-Symbol">&#39;shipPrio</span><span 
class="o">)</span></code></pre></figure>
 
 <h3 id="access-to-hcatalog-tables">Access to HCatalog tables</h3>
 

http://git-wip-us.apache.org/repos/asf/flink-web/blob/48be7c6f/content/news/2015/03/13/peeking-into-Apache-Flinks-Engine-Room.html
----------------------------------------------------------------------
diff --git 
a/content/news/2015/03/13/peeking-into-Apache-Flinks-Engine-Room.html 
b/content/news/2015/03/13/peeking-into-Apache-Flinks-Engine-Room.html
index 23a6e63..a465872 100644
--- a/content/news/2015/03/13/peeking-into-Apache-Flinks-Engine-Room.html
+++ b/content/news/2015/03/13/peeking-into-Apache-Flinks-Engine-Room.html
@@ -167,7 +167,7 @@
 <p>In this blog post, we cut through Apache Flink’s layered architecture and 
take a look at its internals with a focus on how it handles joins. 
Specifically, I will</p>
 
 <ul>
-  <li>show how easy it is to join data sets using Flink’s fluent APIs, </li>
+  <li>show how easy it is to join data sets using Flink’s fluent APIs,</li>
   <li>discuss basic distributed join strategies, Flink’s join 
implementations, and its memory management,</li>
   <li>talk about Flink’s optimizer that automatically chooses join 
strategies,</li>
   <li>show some performance numbers for joining data sets of different sizes, 
and finally</li>
@@ -178,7 +178,7 @@
 
 <h3 id="how-do-i-join-with-flink">How do I join with Flink?</h3>
 
-<p>Flink provides fluent APIs in Java and Scala to write data flow programs. 
Flink’s APIs are centered around parallel data collections which are called 
data sets. data sets are processed by applying Transformations that compute new 
data sets. Flink’s transformations include Map and Reduce as known from 
MapReduce <a href="http://research.google.com/archive/mapreduce.html";>[1]</a> 
but also operators for joining, co-grouping, and iterative processing. The 
documentation gives an overview of all available transformations <a 
href="http://ci.apache.org/projects/flink/flink-docs-release-0.8/dataset_transformations.html";>[2]</a>.
 </p>
+<p>Flink provides fluent APIs in Java and Scala to write data flow programs. 
Flink’s APIs are centered around parallel data collections which are called 
data sets. data sets are processed by applying Transformations that compute new 
data sets. Flink’s transformations include Map and Reduce as known from 
MapReduce <a href="http://research.google.com/archive/mapreduce.html";>[1]</a> 
but also operators for joining, co-grouping, and iterative processing. The 
documentation gives an overview of all available transformations <a 
href="http://ci.apache.org/projects/flink/flink-docs-release-0.8/dataset_transformations.html";>[2]</a>.</p>
 
 <p>Joining two Scala case class data sets is very easy as the following 
example shows:</p>
 
@@ -215,7 +215,7 @@
 
 <ol>
   <li>The data of both inputs is distributed across all parallel instances 
that participate in the join and</li>
-  <li>each parallel instance performs a standard stand-alone join algorithm on 
its local partition of the overall data. </li>
+  <li>each parallel instance performs a standard stand-alone join algorithm on 
its local partition of the overall data.</li>
 </ol>
 
 <p>The distribution of data across parallel instances must ensure that each 
valid join pair can be locally built by exactly one instance. For both steps, 
there are multiple valid strategies that can be independently picked and which 
are favorable in different situations. In Flink terminology, the first phase is 
called Ship Strategy and the second phase Local Strategy. In the following I 
will describe Flink’s ship and local strategies to join two data sets 
<em>R</em> and <em>S</em>.</p>
@@ -234,7 +234,7 @@
 <img src="/img/blog/joins-repartition.png" style="width:90%;margin:15px" />
 </center>
 
-<p>The Broadcast-Forward strategy sends one complete data set (R) to each 
parallel instance that holds a partition of the other data set (S), i.e., each 
parallel instance receives the full data set R. Data set S remains local and is 
not shipped at all. The cost of the BF strategy depends on the size of R and 
the number of parallel instances it is shipped to. The size of S does not 
matter because S is not moved. The figure below illustrates how both ship 
strategies work. </p>
+<p>The Broadcast-Forward strategy sends one complete data set (R) to each 
parallel instance that holds a partition of the other data set (S), i.e., each 
parallel instance receives the full data set R. Data set S remains local and is 
not shipped at all. The cost of the BF strategy depends on the size of R and 
the number of parallel instances it is shipped to. The size of S does not 
matter because S is not moved. The figure below illustrates how both ship 
strategies work.</p>
 
 <center>
 <img src="/img/blog/joins-broadcast.png" style="width:90%;margin:15px" />
@@ -243,7 +243,7 @@
 <p>The Repartition-Repartition and Broadcast-Forward ship strategies establish 
suitable data distributions to execute a distributed join. Depending on the 
operations that are applied before the join, one or even both inputs of a join 
are already distributed in a suitable way across parallel instances. In this 
case, Flink will reuse such distributions and only ship one or no input at 
all.</p>
 
 <h4 id="flinks-memory-management">Flink’s Memory Management</h4>
-<p>Before delving into the details of Flink’s local join algorithms, I will 
briefly discuss Flink’s internal memory management. Data processing 
algorithms such as joining, grouping, and sorting need to hold portions of 
their input data in memory. While such algorithms perform best if there is 
enough memory available to hold all data, it is crucial to gracefully handle 
situations where the data size exceeds memory. Such situations are especially 
tricky in JVM-based systems such as Flink because the system needs to reliably 
recognize that it is short on memory. Failure to detect such situations can 
result in an <code>OutOfMemoryException</code> and kill the JVM. </p>
+<p>Before delving into the details of Flink’s local join algorithms, I will 
briefly discuss Flink’s internal memory management. Data processing 
algorithms such as joining, grouping, and sorting need to hold portions of 
their input data in memory. While such algorithms perform best if there is 
enough memory available to hold all data, it is crucial to gracefully handle 
situations where the data size exceeds memory. Such situations are especially 
tricky in JVM-based systems such as Flink because the system needs to reliably 
recognize that it is short on memory. Failure to detect such situations can 
result in an <code>OutOfMemoryException</code> and kill the JVM.</p>
 
 <p>Flink handles this challenge by actively managing its memory. When a worker 
node (TaskManager) is started, it allocates a fixed portion (70% by default) of 
the JVM’s heap memory that is available after initialization as 32KB byte 
arrays. These byte arrays are distributed as working memory to all algorithms 
that need to hold significant portions of data in memory. The algorithms 
receive their input data as Java data objects and serialize them into their 
working memory.</p>
 
@@ -260,7 +260,7 @@
 <p>After the data has been distributed across all parallel join instances 
using either a Repartition-Repartition or Broadcast-Forward ship strategy, each 
instance runs a local join algorithm to join the elements of its local 
partition. Flink’s runtime features two common join strategies to perform 
these local joins:</p>
 
 <ul>
-  <li>the <em>Sort-Merge-Join</em> strategy (SM) and </li>
+  <li>the <em>Sort-Merge-Join</em> strategy (SM) and</li>
   <li>the <em>Hybrid-Hash-Join</em> strategy (HH).</li>
 </ul>
 
@@ -305,13 +305,13 @@
 <ul>
   <li>1GB     : 1000GB</li>
   <li>10GB    : 1000GB</li>
-  <li>100GB   : 1000GB </li>
+  <li>100GB   : 1000GB</li>
   <li>1000GB  : 1000GB</li>
 </ul>
 
 <p>The Broadcast-Forward strategy is only executed for up to 10GB. Building a 
hash table from 100GB broadcasted data in 5GB working memory would result in 
spilling proximately 95GB (build input) + 950GB (probe input) in each parallel 
thread and require more than 8TB local disk storage on each machine.</p>
 
-<p>As in the single-core benchmark, we run 1:N joins, generate the data 
on-the-fly, and immediately discard the result after the join. We run the 
benchmark on 10 n1-highmem-8 Google Compute Engine instances. Each instance is 
equipped with 8 cores, 52GB RAM, 40GB of which are configured as working memory 
(5GB per core), and one local SSD for spilling to disk. All benchmarks are 
performed using the same configuration, i.e., no fine tuning for the respective 
data sizes is done. The programs are executed with a parallelism of 80. </p>
+<p>As in the single-core benchmark, we run 1:N joins, generate the data 
on-the-fly, and immediately discard the result after the join. We run the 
benchmark on 10 n1-highmem-8 Google Compute Engine instances. Each instance is 
equipped with 8 cores, 52GB RAM, 40GB of which are configured as working memory 
(5GB per core), and one local SSD for spilling to disk. All benchmarks are 
performed using the same configuration, i.e., no fine tuning for the respective 
data sizes is done. The programs are executed with a parallelism of 80.</p>
 
 <center>
 <img src="/img/blog/joins-dist-perf.png" style="width:70%;margin:15px" />
@@ -328,7 +328,7 @@
 <ul>
   <li>Flink’s fluent Scala and Java APIs make joins and other data 
transformations easy as cake.</li>
   <li>The optimizer does the hard choices for you, but gives you control in 
case you know better.</li>
-  <li>Flink’s join implementations perform very good in-memory and 
gracefully degrade when going to disk. </li>
+  <li>Flink’s join implementations perform very good in-memory and 
gracefully degrade when going to disk.</li>
   <li>Due to Flink’s robust memory management, there is no need for job- or 
data-specific memory tuning to avoid a nasty <code>OutOfMemoryException</code>. 
It just runs out-of-the-box.</li>
 </ul>
 

http://git-wip-us.apache.org/repos/asf/flink-web/blob/48be7c6f/content/news/2015/05/11/Juggling-with-Bits-and-Bytes.html
----------------------------------------------------------------------
diff --git a/content/news/2015/05/11/Juggling-with-Bits-and-Bytes.html 
b/content/news/2015/05/11/Juggling-with-Bits-and-Bytes.html
index 6f6ce52..f6f9d5a 100644
--- a/content/news/2015/05/11/Juggling-with-Bits-and-Bytes.html
+++ b/content/news/2015/05/11/Juggling-with-Bits-and-Bytes.html
@@ -179,7 +179,7 @@ However, this approach has a few notable drawbacks. First 
of all it is not trivi
 <img src="/img/blog/memory-mgmt.png" style="width:90%;margin:15px" />
 </center>
 
-<p>Flink’s style of active memory management and operating on binary data 
has several benefits: </p>
+<p>Flink’s style of active memory management and operating on binary data 
has several benefits:</p>
 
 <ol>
   <li><strong>Memory-safe execution &amp; efficient out-of-core 
algorithms.</strong> Due to the fixed amount of allocated memory segments, it 
is trivial to monitor remaining memory resources. In case of memory shortage, 
processing operators can efficiently write larger batches of memory segments to 
disk and later them read back. Consequently, <code>OutOfMemoryErrors</code> are 
effectively prevented.</li>
@@ -188,13 +188,13 @@ However, this approach has a few notable drawbacks. First 
of all it is not trivi
   <li><strong>Efficient binary operations &amp; cache sensitivity.</strong> 
Binary data can be efficiently compared and operated on given a suitable binary 
representation. Furthermore, the binary representations can put related values, 
as well as hash codes, keys, and pointers, adjacently into memory. This gives 
data structures with usually more cache efficient access patterns.</li>
 </ol>
 
-<p>These properties of active memory management are very desirable in a data 
processing systems for large-scale data analytics but have a significant price 
tag attached. Active memory management and operating on binary data is not 
trivial to implement, i.e., using <code>java.util.HashMap</code> is much easier 
than implementing a spillable hash-table backed by byte arrays and a custom 
serialization stack. Of course Apache Flink is not the only JVM-based data 
processing system that operates on serialized binary data. Projects such as <a 
href="http://drill.apache.org/";>Apache Drill</a>, <a 
href="http://ignite.incubator.apache.org/";>Apache Ignite (incubating)</a> or <a 
href="http://projectgeode.org/";>Apache Geode (incubating)</a> apply similar 
techniques and it was recently announced that also <a 
href="http://spark.apache.org/";>Apache Spark</a> will evolve into this 
direction with <a 
href="https://databricks.com/blog/2015/04/28/project-tungsten-bringing-spark-closer-to-bare-metal.html";>
 Project Tungsten</a>. </p>
+<p>These properties of active memory management are very desirable in a data 
processing systems for large-scale data analytics but have a significant price 
tag attached. Active memory management and operating on binary data is not 
trivial to implement, i.e., using <code>java.util.HashMap</code> is much easier 
than implementing a spillable hash-table backed by byte arrays and a custom 
serialization stack. Of course Apache Flink is not the only JVM-based data 
processing system that operates on serialized binary data. Projects such as <a 
href="http://drill.apache.org/";>Apache Drill</a>, <a 
href="http://ignite.incubator.apache.org/";>Apache Ignite (incubating)</a> or <a 
href="http://projectgeode.org/";>Apache Geode (incubating)</a> apply similar 
techniques and it was recently announced that also <a 
href="http://spark.apache.org/";>Apache Spark</a> will evolve into this 
direction with <a 
href="https://databricks.com/blog/2015/04/28/project-tungsten-bringing-spark-closer-to-bare-metal.html";>
 Project Tungsten</a>.</p>
 
 <p>In the following we discuss in detail how Flink allocates memory, 
de/serializes objects, and operates on binary data. We will also show some 
performance numbers comparing processing objects on the heap and operating on 
binary data.</p>
 
 <h2 id="how-does-flink-allocate-memory">How does Flink allocate memory?</h2>
 
-<p>A Flink worker, called TaskManager, is composed of several internal 
components such as an actor system for coordination with the Flink master, an 
IOManager that takes care of spilling data to disk and reading it back, and a 
MemoryManager that coordinates memory usage. In the context of this blog post, 
the MemoryManager is of most interest. </p>
+<p>A Flink worker, called TaskManager, is composed of several internal 
components such as an actor system for coordination with the Flink master, an 
IOManager that takes care of spilling data to disk and reading it back, and a 
MemoryManager that coordinates memory usage. In the context of this blog post, 
the MemoryManager is of most interest.</p>
 
 <p>The MemoryManager takes care of allocating, accounting, and distributing 
MemorySegments to data processing operators such as sort and join operators. A 
<a 
href="https://github.com/apache/flink/blob/release-0.9.0-milestone-1/flink-core/src/main/java/org/apache/flink/core/memory/MemorySegment.java";>MemorySegment</a>
 is Flink’s distribution unit of memory and is backed by a regular Java byte 
array (size is 32 KB by default). A MemorySegment provides very efficient write 
and read access to its backed byte array using Java’s unsafe methods. You can 
think of a MemorySegment as a custom-tailored version of Java’s NIO 
ByteBuffer. In order to operate on multiple MemorySegments like on a larger 
chunk of consecutive memory, Flink uses logical views that implement Java’s 
<code>java.io.DataOutput</code> and <code>java.io.DataInput</code> 
interfaces.</p>
 
@@ -206,7 +206,7 @@ However, this approach has a few notable drawbacks. First 
of all it is not trivi
 
 <h2 id="how-does-flink-serialize-objects">How does Flink serialize 
objects?</h2>
 
-<p>The Java ecosystem offers several libraries to convert objects into a 
binary representation and back. Common alternatives are standard Java 
serialization, <a href="https://github.com/EsotericSoftware/kryo";>Kryo</a>, <a 
href="http://avro.apache.org/";>Apache Avro</a>, <a 
href="http://thrift.apache.org/";>Apache Thrift</a>, or Google’s <a 
href="https://github.com/google/protobuf";>Protobuf</a>. Flink includes its own 
custom serialization framework in order to control the binary representation of 
data. This is important because operating on binary data such as comparing or 
even manipulating binary data requires exact knowledge of the serialization 
layout. Further, configuring the serialization layout with respect to 
operations that are performed on binary data can yield a significant 
performance boost. Flink’s serialization stack also leverages the fact, that 
the type of the objects which are going through de/serialization are exactly 
known before a program is executed. </p>
+<p>The Java ecosystem offers several libraries to convert objects into a 
binary representation and back. Common alternatives are standard Java 
serialization, <a href="https://github.com/EsotericSoftware/kryo";>Kryo</a>, <a 
href="http://avro.apache.org/";>Apache Avro</a>, <a 
href="http://thrift.apache.org/";>Apache Thrift</a>, or Google’s <a 
href="https://github.com/google/protobuf";>Protobuf</a>. Flink includes its own 
custom serialization framework in order to control the binary representation of 
data. This is important because operating on binary data such as comparing or 
even manipulating binary data requires exact knowledge of the serialization 
layout. Further, configuring the serialization layout with respect to 
operations that are performed on binary data can yield a significant 
performance boost. Flink’s serialization stack also leverages the fact, that 
the type of the objects which are going through de/serialization are exactly 
known before a program is executed.</p>
 
 <p>Flink programs can process data represented as arbitrary Java or Scala 
objects. Before a program is optimized, the data types at each processing step 
of the program’s data flow need to be identified. For Java programs, Flink 
features a reflection-based type extraction component to analyze the return 
types of user-defined functions. Scala programs are analyzed with help of the 
Scala compiler. Flink represents each data type with a <a 
href="https://github.com/apache/flink/blob/release-0.9.0-milestone-1/flink-core/src/main/java/org/apache/flink/api/common/typeinfo/TypeInformation.java";>TypeInformation</a>.
 Flink has TypeInformations for several kinds of data types, including:</p>
 
@@ -216,11 +216,11 @@ However, this approach has a few notable drawbacks. First 
of all it is not trivi
   <li>WritableTypeInfo: Any implementation of Hadoop’s Writable 
interface.</li>
   <li>TupleTypeInfo: Any Flink tuple (Tuple1 to Tuple25). Flink tuples are 
Java representations for fixed-length tuples with typed fields.</li>
   <li>CaseClassTypeInfo: Any Scala CaseClass (including Scala tuples).</li>
-  <li>PojoTypeInfo: Any POJO (Java or Scala), i.e., an object with all fields 
either being public or accessible through getters and setter that follow the 
common naming conventions. </li>
+  <li>PojoTypeInfo: Any POJO (Java or Scala), i.e., an object with all fields 
either being public or accessible through getters and setter that follow the 
common naming conventions.</li>
   <li>GenericTypeInfo: Any data type that cannot be identified as another 
type.</li>
 </ul>
 
-<p>Each TypeInformation provides a serializer for the data type it represents. 
For example, a BasicTypeInfo returns a serializer that writes the respective 
primitive type, the serializer of a WritableTypeInfo delegates de/serialization 
to the write() and readFields() methods of the object implementing Hadoop’s 
Writable interface, and a GenericTypeInfo returns a serializer that delegates 
serialization to Kryo. Object serialization to a DataOutput which is backed by 
Flink MemorySegments goes automatically through Java’s efficient unsafe 
operations. For data types that can be used as keys, i.e., compared and hashed, 
the TypeInformation provides TypeComparators. TypeComparators compare and hash 
objects and can - depending on the concrete data type - also efficiently 
compare binary representations and extract fixed-length binary key prefixes. 
</p>
+<p>Each TypeInformation provides a serializer for the data type it represents. 
For example, a BasicTypeInfo returns a serializer that writes the respective 
primitive type, the serializer of a WritableTypeInfo delegates de/serialization 
to the write() and readFields() methods of the object implementing Hadoop’s 
Writable interface, and a GenericTypeInfo returns a serializer that delegates 
serialization to Kryo. Object serialization to a DataOutput which is backed by 
Flink MemorySegments goes automatically through Java’s efficient unsafe 
operations. For data types that can be used as keys, i.e., compared and hashed, 
the TypeInformation provides TypeComparators. TypeComparators compare and hash 
objects and can - depending on the concrete data type - also efficiently 
compare binary representations and extract fixed-length binary key prefixes.</p>
 
 <p>Tuple, Pojo, and CaseClass types are composite types, i.e., containers for 
one or more possibly nested data types. As such, their serializers and 
comparators are also composite and delegate the serialization and comparison of 
their member data types to the respective serializers and comparators. The 
following figure illustrates the serialization of a (nested) 
<code>Tuple3&lt;Integer, Double, Person&gt;</code> object where 
<code>Person</code> is a POJO and defined as follows:</p>
 
@@ -233,13 +233,13 @@ However, this approach has a few notable drawbacks. First 
of all it is not trivi
 <img src="/img/blog/data-serialization.png" style="width:80%;margin:15px" />
 </center>
 
-<p>Flink’s type system can be easily extended by providing custom 
TypeInformations, Serializers, and Comparators to improve the performance of 
serializing and comparing custom data types. </p>
+<p>Flink’s type system can be easily extended by providing custom 
TypeInformations, Serializers, and Comparators to improve the performance of 
serializing and comparing custom data types.</p>
 
 <h2 id="how-does-flink-operate-on-binary-data">How does Flink operate on 
binary data?</h2>
 
 <p>Similar to many other data processing APIs (including SQL), Flink’s APIs 
provide transformations to group, sort, and join data sets. These 
transformations operate on potentially very large data sets. Relational 
database systems feature very efficient algorithms for these purposes since 
several decades including external merge-sort, merge-join, and hybrid 
hash-join. Flink builds on this technology, but generalizes it to handle 
arbitrary objects using its custom serialization and comparison stack. In the 
following, we show how Flink operates with binary data by the example of 
Flink’s in-memory sort algorithm.</p>
 
-<p>Flink assigns a memory budget to its data processing operators. Upon 
initialization, a sort algorithm requests its memory budget from the 
MemoryManager and receives a corresponding set of MemorySegments. The set of 
MemorySegments becomes the memory pool of a so-called sort buffer which 
collects the data that is be sorted. The following figure illustrates how data 
objects are serialized into the sort buffer. </p>
+<p>Flink assigns a memory budget to its data processing operators. Upon 
initialization, a sort algorithm requests its memory budget from the 
MemoryManager and receives a corresponding set of MemorySegments. The set of 
MemorySegments becomes the memory pool of a so-called sort buffer which 
collects the data that is be sorted. The following figure illustrates how data 
objects are serialized into the sort buffer.</p>
 
 <center>
 <img src="/img/blog/sorting-binary-data-1.png" style="width:90%;margin:15px" />
@@ -252,7 +252,7 @@ The following figure shows how two objects are compared.</p>
 <img src="/img/blog/sorting-binary-data-2.png" style="width:80%;margin:15px" />
 </center>
 
-<p>The sort buffer compares two elements by comparing their binary fix-length 
sort keys. The comparison is successful if either done on a full key (not a 
prefix key) or if the binary prefix keys are not equal. If the prefix keys are 
equal (or the sort key data type does not provide a binary prefix key), the 
sort buffer follows the pointers to the actual object data, deserializes both 
objects and compares the objects. Depending on the result of the comparison, 
the sort algorithm decides whether to swap the compared elements or not. The 
sort buffer swaps two elements by moving their fix-length keys and pointers. 
The actual data is not moved. Once the sort algorithm finishes, the pointers in 
the sort buffer are correctly ordered. The following figure shows how the 
sorted data is returned from the sort buffer. </p>
+<p>The sort buffer compares two elements by comparing their binary fix-length 
sort keys. The comparison is successful if either done on a full key (not a 
prefix key) or if the binary prefix keys are not equal. If the prefix keys are 
equal (or the sort key data type does not provide a binary prefix key), the 
sort buffer follows the pointers to the actual object data, deserializes both 
objects and compares the objects. Depending on the result of the comparison, 
the sort algorithm decides whether to swap the compared elements or not. The 
sort buffer swaps two elements by moving their fix-length keys and pointers. 
The actual data is not moved. Once the sort algorithm finishes, the pointers in 
the sort buffer are correctly ordered. The following figure shows how the 
sorted data is returned from the sort buffer.</p>
 
 <center>
 <img src="/img/blog/sorting-binary-data-3.png" style="width:80%;margin:15px" />
@@ -270,7 +270,7 @@ The following figure shows how two objects are compared.</p>
   <li><strong>Kryo-serialized.</strong> The tuple fields are serialized into a 
sort buffer of 600 MB size using Kryo serialization and sorted without binary 
sort keys. This means that each pair-wise comparison requires two object to be 
deserialized.</li>
 </ol>
 
-<p>All sort methods are implemented using a single thread. The reported times 
are averaged over ten runs. After each run, we call <code>System.gc()</code> to 
request a garbage collection run which does not go into measured execution 
time. The following figure shows the time to store the input data in memory, 
sort it, and read it back as objects. </p>
+<p>All sort methods are implemented using a single thread. The reported times 
are averaged over ten runs. After each run, we call <code>System.gc()</code> to 
request a garbage collection run which does not go into measured execution 
time. The following figure shows the time to store the input data in memory, 
sort it, and read it back as objects.</p>
 
 <center>
 <img src="/img/blog/sort-benchmark.png" style="width:90%;margin:15px" />
@@ -328,13 +328,13 @@ The following figure shows how two objects are 
compared.</p>
 
 <p><br /></p>
 
-<p>To summarize, the experiments verify the previously stated benefits of 
operating on binary data. </p>
+<p>To summarize, the experiments verify the previously stated benefits of 
operating on binary data.</p>
 
 <h2 id="were-not-done-yet">We’re not done yet!</h2>
 
-<p>Apache Flink features quite a bit of advanced techniques to safely and 
efficiently process huge amounts of data with limited memory resources. 
However, there are a few points that could make Flink even more efficient. The 
Flink community is working on moving the managed memory to off-heap memory. 
This will allow for smaller JVMs, lower garbage collection overhead, and also 
easier system configuration. With Flink’s Table API, the semantics of all 
operations such as aggregations and projections are known (in contrast to 
black-box user-defined functions). Hence we can generate code for Table API 
operations that directly operates on binary data. Further improvements include 
serialization layouts which are tailored towards the operations that are 
applied on the binary data and code generation for serializers and comparators. 
</p>
+<p>Apache Flink features quite a bit of advanced techniques to safely and 
efficiently process huge amounts of data with limited memory resources. 
However, there are a few points that could make Flink even more efficient. The 
Flink community is working on moving the managed memory to off-heap memory. 
This will allow for smaller JVMs, lower garbage collection overhead, and also 
easier system configuration. With Flink’s Table API, the semantics of all 
operations such as aggregations and projections are known (in contrast to 
black-box user-defined functions). Hence we can generate code for Table API 
operations that directly operates on binary data. Further improvements include 
serialization layouts which are tailored towards the operations that are 
applied on the binary data and code generation for serializers and 
comparators.</p>
 
-<p>The groundwork (and a lot more) for operating on binary data is done but 
there is still some room for making Flink even better and faster. If you are 
crazy about performance and like to juggle with lot of bits and bytes, join the 
Flink community! </p>
+<p>The groundwork (and a lot more) for operating on binary data is done but 
there is still some room for making Flink even better and faster. If you are 
crazy about performance and like to juggle with lot of bits and bytes, join the 
Flink community!</p>
 
 <h2 id="tldr-give-me-three-things-to-remember">TL;DR; Give me three things to 
remember!</h2>
 

http://git-wip-us.apache.org/repos/asf/flink-web/blob/48be7c6f/content/news/2015/05/14/Community-update-April.html
----------------------------------------------------------------------
diff --git a/content/news/2015/05/14/Community-update-April.html 
b/content/news/2015/05/14/Community-update-April.html
index 9be75a3..24c67de 100644
--- a/content/news/2015/05/14/Community-update-April.html
+++ b/content/news/2015/05/14/Community-update-April.html
@@ -160,7 +160,7 @@
       <article>
         <p>14 May 2015 by Kostas Tzoumas (<a 
href="https://twitter.com/kostas_tzoumas";>@kostas_tzoumas</a>)</p>
 
-<p>April was an packed month for Apache Flink. </p>
+<p>April was an packed month for Apache Flink.</p>
 
 <h3 id="flink-runner-for-google-cloud-dataflow">Flink runner for Google Cloud 
Dataflow</h3>
 
@@ -186,7 +186,7 @@ including Apache Flink.</p>
 
 <h2 id="flink-on-the-web">Flink on the web</h2>
 
-<p>Fabian Hueske gave an <a 
href="http://www.infoq.com/news/2015/04/hueske-apache-flink?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=global";>interview
 at InfoQ</a> on Apache Flink. </p>
+<p>Fabian Hueske gave an <a 
href="http://www.infoq.com/news/2015/04/hueske-apache-flink?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=global";>interview
 at InfoQ</a> on Apache Flink.</p>
 
 <h2 id="upcoming-events">Upcoming events</h2>
 

Reply via email to