<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Wolfram Hempel on Medium]]></title>
        <description><![CDATA[Stories by Wolfram Hempel on Medium]]></description>
        <link>https://medium.com/@WolframHempel_82303?source=rss-db995ac7fc50------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*B_7evarptUzpHqUC.jpg</url>
            <title>Stories by Wolfram Hempel on Medium</title>
            <link>https://medium.com/@WolframHempel_82303?source=rss-db995ac7fc50------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 15:40:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@WolframHempel_82303/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Symphonic Metal Bands: Nerdiness vs Kickassery — A statistical analysis]]></title>
            <link>https://medium.com/@WolframHempel_82303/symphonic-metal-bands-nerdiness-vs-kickassery-a-statistical-analysis-7c6ec4064286?source=rss-db995ac7fc50------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c6ec4064286</guid>
            <category><![CDATA[music]]></category>
            <category><![CDATA[comedy]]></category>
            <category><![CDATA[metal]]></category>
            <dc:creator><![CDATA[Wolfram Hempel]]></dc:creator>
            <pubDate>Sun, 05 Jun 2022 11:59:59 GMT</pubDate>
            <atom:updated>2022-06-05T14:11:00.870Z</atom:updated>
            <content:encoded><![CDATA[<h3>Symphonic Metal Bands: Nerdiness vs Kickassery — A statistical analysis</h3><p>I love metal, especially the power/symphonic kind. But man — there is some nerdy stuff out there. But does the nerdiness improve or hinder the overall kickassery of the music? Let us analyze:</p><p>Disclaimer:</p><ul><li>This is a joke originating from a random, beer-fueled discussion with some fellow metal fans and hardcore nerds. It’s entirely subjective.</li><li>I am aware that making a scatterplot to understand the correlation of nerdiness to kickassery is in itself the nerdiest fucking thing on here.</li><li>And most importantly: own your nerdiness! With Zuck, Musk, and the Google guys among the wealthiest, clearly, the age of nerds is here!</li></ul><h3>So — how nerdy are we talking?</h3><p>Really nerdy. Incredibly nerdy. You might think this is about popular nerdy bands like Dragonforce, Nightwish, Blind Guardian, Manowar, or Hammerfall, but there is a whole other level beyond them.</p><p>Now don’t get me wrong; there are plenty of other nerdy genres: Country is full of middle-aged toner distribution managers wanting to be cowboys. Dubstep and anime intros have formed some sort of unholy marriage. And don’t even get me started on the very specific brand of nerd that’s into classical: “Dude, Opus number four rearranged for Oboe and Triangle in F Minor key was A REVELATION!!!”.</p><p>But I’m pretty confident that Symphonic Metal takes the cake. Let me show you what I mean:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TxJMzBUMO7aDinFq2w_Vfw.jpeg" /><figcaption>Foto: Napalm/Promo. All rights reserved. (singer Thomas Laszlo Winkler depicted here has since left the band)</figcaption></figure><p>Let’s start with Gloryhammer. The gentleman in the center, donning green battle-armor, silver space-leggings, and holding a huge plastic hammer, goes by the name of Angus McFife XIII, Crown Prince of Fife. Around him, we find Ser Proletius, the Grand Master of the Deathknights of Crail, Zargothrax, the Dark Emperor of DundeeRalathor, the Mysterious Submarine Commander of Cowdenbeath and ultimately The Hootsman, an Astral Demigod of Unst…. got it? Cool. Let’s move on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WeJcxQWsmwv5na-q0ese5Q.jpeg" /><figcaption>Foto: Napalm/Promo. All rights reserved.</figcaption></figure><p>This is Windrose. They are dwarves. Their songs cover popular dwarven topics such as digging holes, living inside of mountains, and the correct etiquette for Goblins when entering a dwarven bar. Also, they seriously rock (no pun intended).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RaHHEPL0BAddVC4sdThl_A.jpeg" /><figcaption>Dragony Twitter Profile Image</figcaption></figure><p>Here’s Dragony. Their latest Album <em>Viribus Unitis</em> tells an alternative history of the Austro-Hungarian empire in which Empress Elisabeth (Sissi) is a Zombie, and emperor Joseph is a Cyborg. It’s fucking awesome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WP_GwVGX3Y_L7qs81qkTsw.jpeg" /><figcaption>Copyright AFM Records</figcaption></figure><p>These are the “Brothers of metal”. They are just one of many MANY bands, ranging from Amon Amarth to Leave’s Eyes that would much rather be Viking warriors than musicians.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lnVNVCgkGCDLakUVqzTZHw.jpeg" /><figcaption>Src: <a href="https://feuerschwanz.de/">https://feuerschwanz.de/</a></figcaption></figure><p>Feuerschwanz, I would put in the “chronologically and historically” confused category.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*Qr6zbge5CDmfX2hUUy84uQ.jpeg" /><figcaption>Src: <a href="https://time-for-metal.eu/twilight-force-gehen-mit-sabaton-und-accept-auf-europatour/">https://time-for-metal.eu/twilight-force-gehen-mit-sabaton-und-accept-auf-europatour/</a></figcaption></figure><p>And finally, we have Twilight Force. I mean, this dude is just straight up a wood-elf — pointy ears and everything.</p><h3>But how about kickassery?</h3><p>So, there’s plenty of nerdiness to go around. But do nerdy bands make more or less kickass music than their “cooler” counterparts? Or is there any correlation at all? To find out, we’ve ranked 89 of the bands we were most familiar with on two dimensions: nerdiness and kickassery. Scores go from 0 (not nerdy/kickass) to 10 (totally nerdy/kickass).</p><p>We’ve limited this to the genres of Powermetal, Symphonic Metal, and adjacent genres (metal genres are a whole issue in their own right.) — So you won’t find any Metallica or Motörhead in this list. Here’s what we find:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RGlHhfZ5JDk77OdQp-EsKA.png" /></figure><h3>Results</h3><p>I’m saddened to report that our chart shows a clear trendline. As nerdiness increases, kickassery declines. There are, however, notable exceptions such as Sabaton, Windrose, or Powerwolf that managed to maintain significant levels of kickassery relative to their undeniable nerdiness.</p><p>You can find all bands and their exact rankings in <a href="https://docs.google.com/spreadsheets/d/1j1AvwS6sWGufCVTy0_cnBNtKWBPybAv_F03BUQpY3GM/edit?usp=sharing">this Google Sheet</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c6ec4064286" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I learned doing content marketing for developers — part 1]]></title>
            <link>https://medium.com/@WolframHempel_82303/what-i-learned-doing-content-marketing-for-developers-part-1-3687da6dfdd5?source=rss-db995ac7fc50------2</link>
            <guid isPermaLink="false">https://medium.com/p/3687da6dfdd5</guid>
            <category><![CDATA[technical-writing]]></category>
            <category><![CDATA[content-marketing]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[Wolfram Hempel]]></dc:creator>
            <pubDate>Mon, 10 Dec 2018 16:32:40 GMT</pubDate>
            <atom:updated>2018-12-10T19:53:01.943Z</atom:updated>
            <content:encoded><![CDATA[<h3>What I learned doing content marketing for developers — part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OP3GPxZcfuTrmWVDRwvT5g.jpeg" /></figure><p>I am a passionate techie. And I am a passionate entrepreneur. This in itself would be plenty to keep me busy.</p><p>But there is one task that persistently shows up at the very top of my pile: Writing content for blog posts, medium, press releases and articles published in online and print publications — sometimes under my own name, sometimes under the name of their publishers.</p><p><strong>Why do I do it? </strong><br>Because I enjoy it. Because I believe that communicating ideas is a core skill to learn. And because it works: When it comes to attracting new users, content consistently beats SEM, Conferences, Cold Sales outreach and any number of other marketing channels, with the exception of raw word-of-mouth.</p><p>Initially, I sucked rather badly — but today, my articles draw on average of 14.700 new visitors to our site — that’s nothing to scoff at. Some articles attract more than 30.000, some (to be honest, quite many) as little as 3000 to 4000 — but still, not too bad.</p><p>In this two-part article, I want to share what I learned, provide examples for what works and shed some light on how to tailor your writing to the audience you want to attract, how to weave in your product, how to funnel readers from your blog to your signup or product page and how to publicize your articles.</p><p>Oh — and before I forget: I’d like to broaden my horizon a bit and would enjoy doing some freelance writing: if you feel your tech or software product could do with a bit of content, get in touch at <a href="/service/mailto:wolfram@arcentry.com">wolfram@arcentry.com</a></p><p><strong>What do I do?</strong><br>I write content for deep tech projects targeted at developers, e.g. the infrastructure planning tool <a href="https://arcentry.com/blog/">Arcenty </a>or previously the realtime data startup <a href="https://deepstreamhub.com/blog/">deepstream</a>. <br>I write lofty high-level pieces about tech trends and developments, insightful references for a particular space and low-level tutorials including code samples.</p><h3>Alright, let’s start with the basics:</h3><p><strong>Be genuine!</strong><br>A consumer’s attention is arguably the rarest and most valuable commodity of the 21st century. Content marketing works because it provides immediate benefit in exchange for that attention.</p><p>But for this promise to uphold, your content has to provide genuine value to its readers. It’s always tempting to let your marketing department write content because they’re cheaper than your developers. Or to cram your article full of keywords to improve search engine visibility. But please — don’t.</p><p>Instead, focus on the areas that you are most knowledgeable about and share your genuine insights. And don’t be concerned about competitors learning from you — if your business depends on secrets that are generic enough to make for a good blog post, you have a whole different problem to address.</p><p><strong>Don’t write just about your product.</strong><br>If you write for a third-party publication, put yourself at the center, but for your own blog, ask yourself: Are you intrinsically interesting? If your business is about landing rocket boosters on tiny drone ships in the ocean — by all means, write about yourself. But if you provide a service that accelerates inter-data-center-connectivity by a few percents, maybe go with a more general topic.</p><p><strong>Help others shine on social media.</strong><br>People share stories on social media that make them appear more interesting, intelligent or echo an opinion they already hold. Help them shine! If your product is emotionally charged, e.g. like the new iPhone, people will be happy to share news about it. If not, rather than putting your product in the spotlight, you need to give your readers the chance to shine by providing quotes, insights or cool visuals they’d be happy to share.</p><p>Likewise, give other brands, partners or projects you use a chance to reflect positively on you. For instance, I recently wrote <a href="https://arcentry.com/blog/postgres-might-just-be-the-most-advanced-database-ever/">an article about how we use the popular Database PostgreSQL for Arcentry</a>. It did alright on Reddit, but didn’t go anywhere on other forums like Hackernews — that was until Postgres picked it up and started tweeting the article:</p><h3>PostgreSQL on Twitter</h3><p>It&#39;s always nice to hear how @PostgreSQL helps make application development easier! @wolframhempel explains how features like built-in pub/sub, foreign data wrappers, JSONB &amp;amp; PostgreSQL&#39;s extensibility help build advanced applications: https://t.co/8u74RVBFHW</p><p>Over the next few days, it accumulated 16,369 unique views — in no small part thanks to Postgres’ endorsement.</p><h3>How to decide what to write?</h3><p>Well — what do you want to achieve?</p><ul><li>Do you want to draw a large number of generic users to your website — or rather a smaller group of highly targeted visitors?</li><li>Are you looking for deeper engagement or are you ok if visitors move on quickly?</li><li>Do you want to create frequently shared content for SEO and visibility purposes or are you happy to give a few experts a deep dive into a subject?</li></ul><p>Depending on your answer to these questions, different formats might fit your need — although a good balance of all the above is most likely the way to success.</p><p><strong>Long term Engagement vs Short Term Spike</strong><br>Gaining a good spike in exposure can be very exciting and gratifying. If you write an article on how your product or service relates to a current, news-worthy event there’s a good chance it will do well on forums like Reddit or Hackernews and you might even be contacted by bloggers or press to share your insights.<br>But there’s a catch: a high number of readers rarely translates to a high number of conversions. And no wonder: your visitors are primarily interested in the underlying event rather than your product.</p><p>On the other end of the spectrum are formats like references, guides or tutorials that generate a small, but steady stream of interested users searching specifically for the answer you provide — and that are thus more likely to try your product if it relates to the answer.</p><p><em>Here’s an example:</em></p><p>In August 2018 there was a lot of talk about edge computing — but there seemed to be widely divergent definitions of what that meant. I jumped on the trend by writing <a href="https://arcentry.com/blog/what-the-f-is-the-edge/">What the f*** is the edge?</a> on the Arcentry blog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*WpFwvmDXtodPPsX6okdZKQ.png" /><figcaption>Pageviews for “What the f*** is the edge?”</figcaption></figure><p>The article spiked at 24.673 pageviews on the first day, a Sunday and accumulated a total of 30.189 views over the next three days before it pretty much dropped back to 0. <br>Out of 30.189 visitors, 1.173 went to the homepage to check out what the product is about and 62 signed up — resulting in a rather terrible conversion rate of 0.2%.</p><p>On the other side of the spectrum is a guide I wrote a while ago on <a href="https://deepstreamhub.com/blog/load-balancing-websocket-connections/">Loadbalancing Websockets</a> which has been generating a steady stream of about 60 new visitors every day for the last year and a half.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*HEhL1iFM_11-RIcrG9YKYA.png" /><figcaption>Pageviews for “Loadbalancing Websocket Connections”</figcaption></figure><p>Granted — writing this sort of content takes a bit more work and requires deep insight into a certain problem space — but it is very much worth it. Not only is it the #1 Google search result on the topic, but it sends highly relevant visitors, leading to a rather nice sign-up rate of 8.7%.</p><p><strong>SEO vs Sign-Ups</strong><br>But it would be short-sighted to focus on just page views and conversion rate: Short-term spikes related to news-worthy events have the benefits of being frequently quoted and shared on social media — leading to high numbers of backlinks and a boosted search engine rating for your site at large.</p><p><strong>Reader Numbers vs Engagement Depth<br></strong>Our data shows that the longer a reader spends on an article, the more likely they are to continue to your home or product page and to ultimately sign up.<br>But only up to a point. This point seems to be around 3:40 min. After that, readers are likely to continue whether they’ve been reading for five or fifteen minutes.</p><p>This suggests that it is crucial to capture your reader’s attention early on — and true enough: articles I wrote that start with an anecdote, personal observation or interesting fact generate consistently higher conversion than technical guides etc. that dive right into the matter.</p><p><strong>Part 2</strong><br>Alright, so much for part 1. In part two we’ll discuss strategies for converting readers to customers, how to weave your product into your content, how to funnel readers from your blog to your signup or product page and how to publicize your articles.</p><p>And again — if I can help your tech or software writing, feel free to reach out at <a href="/service/mailto:wolfram@arcentry.com">wolfram@arcentry.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3687da6dfdd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I’ve learned building a browser app in WebGL]]></title>
            <link>https://medium.com/@WolframHempel_82303/seven-things-ive-learned-building-a-browser-app-in-webgl-89c7c13c12e8?source=rss-db995ac7fc50------2</link>
            <guid isPermaLink="false">https://medium.com/p/89c7c13c12e8</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[webgl]]></category>
            <category><![CDATA[threejs]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Wolfram Hempel]]></dc:creator>
            <pubDate>Mon, 21 May 2018 12:53:20 GMT</pubDate>
            <atom:updated>2018-05-21T15:03:35.255Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the last months I’ve been working on a soon-to-be-released app called <a href="https://arcentry.com/">Arcentry</a> that lets users create isometric diagrams of backend and cloud architectures.</p><p>Apart from some conventional controls written in VueJS, Arcentry is first and foremost a large, interactive canvas on which users can place, move, edit and connect objects, lines, areas, labels, icons and all the other bits and bobs that make up modern architectures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vclh1h8GI1SQRLvoBG38EA.png" /></figure><p>For this canvas we used WebGL, a browser based implementation of the OpenGL 3D standard — and boy, were we in for a ride.</p><h3>Why WebGL?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*OMyFQSZtoMo43FpVIBIZfw.png" /></figure><p>Modern browsers make building webapps with CSS and HTML extremely easy — a fact that I’ve come to appreciate even more since working on Arcentry. Want this element to be red? Have rounded corners? Change color when hovered? Animate that color-change? Attach a click handler? No problem at all! And you don’t face a care in the world about how and when your HTML will be rendered to the screen.</p><p>With WebGL you have to take care of all these things and more yourself. So why would anyone in their right mind use it to build a complex webapp? For three reasons:</p><ul><li>There are some things HTML just can’t do. Real 3D graphics is one of them. Granted, CSS gives you “3D” transforms and some mad geniuses stretched it as far as building <a href="https://keithclark.co.uk/labs/css-fps/">fully functioning first person shooter</a>s, but it is still a very humble take compared to full polygon-models and raytracing.</li><li>WebGL is extremely flexible. Need depth of field effects, color blending or the same scenario rendered multiple times in different resolutions and angles? WebGL can.</li><li>WebGL is fast. Really fast. 2018 graphic cards have become absolute wonders of engineering and WebGL offloads expensive object computations and rendering to them whilst also freeing up the CPU to run your application logic.</li></ul><h3>What I learned</h3><p>I discovered the basics of 3D development working at Crytek (maker of Crysis and early Farcry games) and also <a href="https://experiments.withgoogle.com/skeeem">dabbled a bit with WebGL for a Chrome experiment</a>, but my expertise is first and foremost in backend technologies and HTML apps. As a result this blogpost documents my learnings from a webapp-developer’s perspective — if you’ve spent your life building triple-A FPS games, chances are you’ll find this information rather basic and self-evident, but if you’re a web-guy thinking about going 3D, it might offer the right perspective.</p><p>Let’s start at the beginning:</p><h3>1. You’ll have to choose a framework Russian election style</h3><p>The first choice when building any app is usually the one of language and framework. For WebApps you’re faced with an ecosystem that can be described as anything from saturated to fragmented to convoluted: Angular, React, Vue and a myriad of smaller libraries can be combined with your choice of CSS compiler, transpiler, microlibraries and a host of other things.</p><p>For WebGL things are easier: You use <a href="https://threejs.org/">ThreeJS</a>. Yes, there are alternatives such as B<a href="https://www.babylonjs.com/">abylon</a> and more purpose-built high-level libraries such as <a href="https://aframe.io/">A-Frame</a> (WebVR,), <a href="https://playcanvas.com/">PlayCanvas </a>(Games) or <a href="http://www.pixijs.com/">Pixi</a> (2D Graphics), but Three stands out as the by far most widely adopted, general purpose and universal 3D tool at hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vYD9Mxh1pbHxH3e7bpzjLA.png" /><figcaption>three.js website</figcaption></figure><p>If you’ve ever used 3D modelling software you’ll be immediately familiar with Three’s concepts. Just as you build up a DOM-tree in the browser out of various HTML elements in Three you build up a “scenegraph” out of various 3D objects. These can be concrete and visible such as Meshes (3D Objects composed from Geometry and Material), lights and maps or abstract such as groups, cameras or curves.</p><h3>2. How to build your models on a budget</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cPfWmDysGAEQBJbxW6jRDA.png" /></figure><p>There are ThreeJS exporters for many popular 3D Modelling tools such as Maya or Cinema 4D, but the one we went with was <a href="https://www.blender.org/">Blender</a>. Is it particularly intuitive or easy to use? Absolutely not! I had to watch a three minute tutorial just to find out how to close a panel.</p><p>But it’s well documented, comes with a host of community plugins and most importantly: it is free! In a category where most established alternatives (Autodesk Maya, 3D Studio Max, Cinema 4D) cost upwards of $2000/year that’s nothing to scoff at.</p><p>Three comes with an easy to use e<a href="https://github.com/mrdoob/three.js/tree/dev/utils/exporters/blender">xporter for Blender</a> that spits out JSON files listing the various vertices, edges and faces of a geometry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VlBs9lstAxkGIxCKB_Nvlw.png" /><figcaption>model definition for the above AWS snowball model</figcaption></figure><h3><strong>3. Interactions are all up to you</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*cfnUiAdN87B3_k6tAor_Ew.png" /></figure><p>WebGL renders your scene to a flat pixel canvas. As far as the browser is concerned when you click that canvas all you’ve clicked is an image. To relate your 2D cursor position to a 3D object within your virtual space you need a “<a href="https://threejs.org/docs/#api/math/Ray">ray</a>” — an abstract line that extends from your camera infinitely into the space beyond and intersects objects along the way.</p><p>But even armed with such a ray and your raycasters all set up, you begin to realise just how much the browser gives you on top:</p><ul><li>Your ray intersects all objects along its path — its up to you to figure out which one is on top, which one is clickable and so on — the sort of thing that z-index and pointer-events provide in the DOM.</li><li>Your events exists independent of any object hierarchies. Event bubbling, stopping propagation and routing your event to the right handler are all up to you.</li></ul><h3>4. Crisp dynamic textures are really hard</h3><p>ThreeJS allows you to project the pixel-content of an HTML5 Canvas Element onto the face of a 3D object as a texture — an approach that Arcentry makes extensive use of for things like lines, arrows, areas, icons and so on.</p><p>But there’s a catch. Your canvas is a 2D surface composed of pixels. These need to be projected onto a surface in 3D space — a process called “texture-mapping”. But how many pixels should you map to one “<a href="https://en.wikipedia.org/wiki/Texel_(graphics)">texel</a>” of a texture? That depends on two factors:</p><ul><li>The size of the textured surface in the final rendered image. If it is far away from the camera you can get away with lower resolutions.</li><li>How many pixels your users hardware can support. Creating and mapping high-res dynamic textures is expensive.</li></ul><p>Arcentry supports a huge drawing plane of 1000x1000 cells. At 128px per cell this would have meant we needed a canvas with more than 16 billion pixels as a basis for our 2D shape texture. Clearly out of the question. (Tests showed that anything greater than 4096x4096 just instantly crashes the browser.</p><p>We solved it by creating the smallest possible plane — a 60 degree rotated square that reaches just up to the corners of the visible areas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-IrHmz7PAWC_CiNUlWIQdQ.png" /></figure><p>This works beautifully, but is surprisingly tricky. Why? The square basically sticks to the camera which means that every time the user pans or zooms the view, the square has to move and resize accordingly.</p><p>It also means that our canvas has to keep a resolution independent log of all drawing steps to replicate them upon zooming — but the result seems to justify the additional complexity.</p><h3>5. Rendering text is even harder</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxBxcZ1ilpA3QHsx-hAMIQ.png" /></figure><p>Problems associated with crisp rendering might not be apparent for large, monochrome areas — but for text they are. By default, text projected onto a surface looks blurry and comes with greyish edges. Getting it right required three steps:</p><ul><li><strong>Using Anti-Aliasing:</strong> This is the technique of rendering a larger image than required and scaling it down. Multiple pixels are interpolated in the process, resulting in smoother edges.</li><li><strong>Increasing Anisotropy: </strong>Simply put, Anisotropic Filtering is the extend to which rendered surfaces are affected by the angle they are rendered at. It allows to decrease pixel density as an object becomes steeper relative to a 3D view (there’s a good chance that any computer science professor will put a fat, red F under this definition). Long story short, for an isometric app like Arcentry you want to crank up Anisotropy to the max.</li><li><strong>Using custom blending: </strong>Last but not least your canvas texture will have transparent or semi transparent pixels (e.g. everything that’s not text). Blending impacts how these will be mixed into the underlying image. ThreeJS default alpha blending can be a bit rough and leave grey borders around the edges of transparent areas — but setting it to custom blending with a simple, solid blend source factor of 1 works wonders.</li></ul><h3><strong>6. You decide what to render — and when</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*CfcD-a6rt8owW58GqVTtPA.gif" /><figcaption>Chrome showing repainting rectangles for Arcentry’s HTML controls</figcaption></figure><p>Have a look at the GIF above. It shows Chrome’s repainting areas for HTML controls. As you can see it only repaints what’s absolutely necessary.</p><p>Do we need to achieve the same in a WebGL app? Not necessarily. Rendering might be an expensive operation, but GPUs have gotten so fast that simple, low polygon and low-effect scenes like Arcentry’s aren’t much of a challenge anymore. As a result its mostly fine to render them on every animation frame, usually at around 60 frames per second.</p><p>But that’s not the whole story. Yes, GPUs are fast, but copying information to them is not. Whenever an object is moved, a color is changed or the camera is zoomed, a bit of information is passed from the CPU/Memory to the GPU.</p><p>To keep performance high you want to do this as little and as efficiently as possible. Especially copying large pixel buffers, such as the image data from a dynamic texture canvas costs you dearly.</p><p>For Arcentry we tackled this in a number of ways. We only load texture data that’s changed, we break texture planes down into multiple layers — one for lines and areas, one for pixel objects such as labels, icons or images and a frequently updated plane for interactions, such as hover markers or selection rectangles and we detached the actual rendering from the underlying objects, allowing the renderer to perform numerous dirty/changed checks and to skip if nothing needs updating.</p><h3>7. You decide what scale it is</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*GpyYMaobUBzuGUnCx_xNpA.jpeg" /></figure><p>WebGL uses a three-axis Cartesian coordinate system; x, y and z axis extend from a point 0,0,0 in the center to + and — infinity. Where is this 0,0,0 point? Doesn’t matter. How much is one unit on an axis? That’s up to you.</p><p>There’s a philosophical beauty to being confronted with navigating in an empty, infinite space — but for realworld reasons you need to decide on an arbitrary definition of an unit and stick with it as the future baseline for all other measures: texture resolution (in pixels per unit), model scale (blender uses its own, separate coordinate system) and so on.</p><h3>Conclusion</h3><p>Phew, that sounds like a lot of headache — and it is. Would we choose WebGL again? Absolutely. Not only are the results truly worth it — there’s also a learning angle that makes every bit of progress feel deeply satisfying. Once you discover the right combination of arcane concepts like antialiasing, anisotropy and custom blending, and your visuals finally look crisp and appealing, you feel like you’ve worked a bit of black magic — way more so than just turning on some CSS drop-shadow and letting the browser do the hard work.</p><p>Thanks for holding out with me for so long. If you’d like to try out Arcentry you can sign up for early beta access at <a href="https://arcentry.com/">https://arcentry.com</a>, follow it on Twitter (<a href="https://twitter.com/arcentry">https://twitter.com/arcentry</a>) or follow me to learn more (<a href="https://twitter.com/wolframhempel">https://twitter.com/wolframhempel</a>).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89c7c13c12e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[deepstream 3.0 — a foundation for a multi-protocol-server]]></title>
            <link>https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform/deepstream-3-0-a-foundation-for-a-multi-protocol-server-1e265968ff69?source=rss-db995ac7fc50------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e265968ff69</guid>
            <category><![CDATA[deepstream]]></category>
            <category><![CDATA[announcements]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[realtime]]></category>
            <dc:creator><![CDATA[Wolfram Hempel]]></dc:creator>
            <pubDate>Fri, 21 Jul 2017 10:20:28 GMT</pubDate>
            <atom:updated>2017-07-21T10:20:28.108Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*sWSo7FKi2B0PHIr3dHFloQ.png" /></figure><p>I’m terrible with secrets. I’ve always been. Back when I was still working in corporate land, I gave our receptionist a run for her money when it came to gossiping — and trust me, this is saying a lot.</p><p>Today, with deepstream 3.0 on the horizon I’m not much better:</p><p>Over the last month we’ve been working hard to turn deepstreamHub into a global realtime platform — one that goes beyond the current generation of PubSub services or realtime DBs and makes cloud-based deepstream accessible at large scale.</p><p>But deepstreamHub isn’t just hosted deepstream. It comes with its own set of features . Amongst the most popular ones: our HTTP API.</p><p>The API makes it possible for any programming language to create, read, write and delete records, send events or make RPCs. This opened up a whole new range of usecases: sending events from AWS Lambda functions, bulk importing thousands of records at once, making AJAX calls without establishing a deepstream connection — to name just a few.</p><p>With deepstream 3.0 this API will come back to open source. But we didn’t just take some code from the hub and put it into the open source server — we want to go further:</p><p>deepstream 3.0 will come with a re-architected abstract connection endpoint, making it possible to add any number of communication mechanisms and protocols to exchange data and interact with deepstream’s records, events and RPCs: GraphQL, MQTT, STOMP, Binary transports…just a few of the things on the horizon…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e265968ff69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform/deepstream-3-0-a-foundation-for-a-multi-protocol-server-1e265968ff69">deepstream 3.0 — a foundation for a multi-protocol-server</a> was originally published in <a href="https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform">deepstreamHub: a lightning fast realtime platform</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An overview of realtime protocols]]></title>
            <link>https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform/an-overview-of-realtime-protocols-7d0489778c12?source=rss-db995ac7fc50------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d0489778c12</guid>
            <category><![CDATA[mqtt]]></category>
            <dc:creator><![CDATA[Wolfram Hempel]]></dc:creator>
            <pubDate>Tue, 20 Jun 2017 14:24:41 GMT</pubDate>
            <atom:updated>2017-06-20T14:24:41.613Z</atom:updated>
            <content:encoded><![CDATA[<p>Want to send a request to a server and get a response back? Use HTTP! Simple as that. But when it comes to managing communication via persistent, bi-directional connections, e.g. WebSockets or TCP you’re looking at one heck of a choice.</p><p>This post hopes to shed some light onto the world of MQTT, XMPP, STOMP, AMQP, WAMP and all sorts of proprietary alternatives (plus paves the ground for the next post, explaining why we choose to build our own). In this spirit, here’s to one of the most often referenced XKCD comics: (I can’t believe we’re at this point yet again :-)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*9nMBMt-OugnruBr_M-WuEQ.png" /></figure><h4>Hold on, there’s no such thing as a “realtime protocol”!</h4><p>That’s true; but I’m using the term as a collective noun for protocols that are designed to deliver messages, synchronize data and facilitate request/response workflows over persistent, bidirectional, connections — e.g. WebSockets or TCP.</p><p>To gain an overview, let’s structure them by their purpose:</p><h4>Pure Messaging</h4><p>Low(er) level protocols such as TCP are designed to deliver one message from one sender to one receiver. They have no opinion on how this message should be structured, requested, retrieved, secured or stored. They are just the mailman that brings the mail.</p><p>Protocols like WebSockets sit on top of TCP and add additional functionality, such as headers to transport meta-data, splitting larger messages across multiple packets, basic authentication mechanisms or routing/redirection information — but at the end of the day they, are still just a way for two points to exchange data with each other.</p><p>When it comes to building larger, more complex systems you want some method to your madness; you want a higher level paradigm:</p><h3>Pub/Sub</h3><p>Publish-Subscribe (also called an observer pattern at times) is one of the most common ways to facilitate stateless(ish) messaging and many-to-many communication within larger systems. “Subscribers” can subscribe to “topics”, (sometimes also called “channels”, “events” or “namespaces”), “publishers” can publish messages to these topics that will be routed to all interested subscribers.</p><p>This paradigm is enormously flexible, efficient and scalable. It elegantly decouples senders from receivers and allows individual clients to join and leave topics as their interests change. As an analogy, imagine a newspaper:</p><p>readers (subscribers) open the politics, sports or weather sections (topics), editors publish articles to them. Whilst publishing, the editor doesn’t write for a specific reader — they write for general consumption. Likewise, the reader doesn’t expect a specific article — they open the section due to general interest in the topic and consume whatever has been published to it.</p><p>There’s a number of protocols that facilitate pub-sub messaging: MQTT, STOMP, WAMP or Pushers and PubNub’s protocols to name just a few. So which one should you choose?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*ijWMAUFqkYU_Zvmci2T-pw.png" /></figure><h4><a href="http://mqtt.org/">MQTT</a></h4><p>The <em>Message Queue Telemetry Transport</em> is a binary protocol that’s predominantly used to facilitate communication between servers and low-powered IoT devices.</p><p>It sits on top of TCP and provides publish/subscribe functionality as well as some additional bits, e.g. delivery guarantees (at least once, at most once etc.), storing the last “good” message or registering hooks that ought to be called upon connection loss.</p><p>It is very lightweight and explicitly designed to work in unstable and unpredictable network environments.</p><p><strong>So when would you use it?<br></strong>Definitely for IoT, but there’s no reason not to use it everywhere. Clients are available for pretty much every language and with the advent of binary support even browsers can send and receive MQTT messages via WebSocket.</p><p>There’s a wide array of MQTT brokers such as M<a href="https://mosquitto.org/">osquitto</a> or <a href="https://vernemq.com/">VerneMQ</a> as well as hosted MQTT Platforms, such as <a href="http://www.hivemq.com/">HiveMQ</a> or <a href="https://www.cloudmqtt.com/">CloudMQTT</a> — you can find a more extensive list <a href="https://github.com/mqtt/mqtt.github.io/wiki/servers">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*LzmNvBno7WPrZ6OVLVDmnA.png" /></figure><h4><a href="https://stomp.github.io/">STOMP</a></h4><p>The <em>Streaming Text Oriented Messaging Protocol </em>is a text-based standard used predominantly for WebSocket communication. On top of the usual pub/sub semantics it offers guaranteed message blocks via a begin/publish/commit sequence as well as positive and negative acknowledgements.</p><p>It is explicitly designed to be easy to implement — and as a result there’s a wide array of clients for almost every programming language. On the flipside it is a bit heavier in terms of message sizes and interpretation speed.</p><p><strong>So when would you use it?<br></strong>Stomp is a good choice when it comes to pub/sub messaging for browsers. When used in conjunction with a multi-protocol broker such as <a href="https://activemq.apache.org/apollo/">Apache Apollo</a> it allows for interesting combinations, e.g. displaying updates from IoT devices via MQTT in a browser chart.</p><h4>Binary or Text Based?</h4><p>So far we’ve looked at two protocols: A binary one and a text based one. Time to take a quick excursion to understand the difference:</p><p>Information between computers is exchanged by turning the light or electricity in a cable on or off or by switching between peaks and centers of a WiFi signal. It is — by any means — binary. As a result, all protocols are binary protocols.</p><p>Once information is transmitted, the recipient has two choices — it can derive information directly from the streams of 0 and 1 it has received by grouping them into bytes— or it can perform an extra step, cast it into text and then interpret this text.</p><p>The former approach is called binary. It saves a number of expensive operations and is the standard when it comes to transmitting any non-textual information, e.g. images, sounds, videos or complex files. It can also be used to transmit text-information, e.g. by prepending a few bytes to every message to convey meta-information, e.g. message length or type and only cast the actual message data to text.</p><p>However, as a lot of information exchanged in a pub-sub architecture is text based anyways, a lot of protocols choose to simply cast the whole information to text — thus reducing complexity and increasing readability for humans at the expense of performing an extra computational step upon message receipt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*v5Uh8HvY7WNIH48E_shBXQ.png" /></figure><h4><a href="http://wamp-proto.org/">WAMP</a></h4><p>The <em>Web Application Messaging Protocol </em>(not to be confused with the Windows/Apache/MySQL/PHP Stack) is an attempt at developing an open, text based standard that combines Publish/Subscribe with Request/Response patterns as well as complex routing and delivery strategies. It is most commonly used in conjunction with the <a href="http://crossbar.io/">crossbar.io</a> router and <a href="http://crossbar.io/autobahn/">autobahn client libraries.</a></p><p>Whilst architecturally sound, it never reached the popularity of the other, more purpose build protocols.</p><h4>Pusher / PubNub &amp; Co</h4><p>Realtime platform-as-a-service offerings such as pusher or pubnub use their own, proprietary protocols. Pusher released <a href="https://pusher.com/docs/pusher_protocol">detailed specifications around their JSON based protocol</a>, encouraging third parties to build clients. Pubnub is a bit more closed, but supports a range of open protocols such as MQTT to allow for interaction.</p><h3>Queuing</h3><p>Sometimes, simple Pub/Sub isn’t enough. That’s where queues come in — they provide a wide variety of messaging and storage patters. In their simplest incarnation queues are just a way to send messages from a “publisher” to a “consumer “— with the difference that the consumer can receive messages at its own pace.</p><p>This is usually achieved using a retrieve/acknowledge strategy. A consumer takes a number of messages of the queue, acknowledges their receipt, processes them and then takes the next batch of the queue. This is an incredibly powerful approach for scalable backends.</p><p>Imagine you’re building an Instagram clone that allows users to upload pictures and apply filters to them. Applying filters is a computationally expensive operation — so rather than doing it directly upon upload, the server receiving the image just makes a note of its location within the file system and what kind of filter needs to be applied and pushes this note onto a queue.</p><p>Another computer that’s good at applying filters eventually takes this note of the queue, loads the image, processes it and acknowledges that the task has been completed. To scale your image processing capabilities all you have to do now is to add more consumers to your queue.</p><p>This pattern can be extended to allow for complex routing, task allocation and even request/response workflows. But because it is so powerful, queuing protocols tend to be heavier than their pure pub/sub rivals:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*9zT9i_5z1voQ3sX7S--5Dw.png" /></figure><h4><a href="https://www.amqp.org/">AMQP</a></h4><p>The <em>Advanced Message Queuing Protocol </em>is the juggernaut of the queuing specs. It is a binary messaging spec implemented by a wide variety of brokers such as <a href="https://www.rabbitmq.com/">RabbitMQ</a> or <a href="http://hornetq.jboss.org/">HornetQ</a> and allows for numerous routing and distribution strategies.</p><p><strong>So when would you use it?<br></strong>Whenever you have requirements that go beyond simple publish-subscribe messaging between components. AMQP is reliable, proven and feature-rich. What it is not though is particularly fast or lightweight. If you are looking for a slim alternative you might be better off with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*SsDe5abRiZsk3EulDUhlCg.gif" /></figure><h4><a href="http://zeromq.org/">ZeroMQ</a></h4><p>ZeroMQ is both a protocol and a combination of components implementing it. It aims to be a faster, decentralized alternative to AMQP.</p><p><strong>So when would you use it?<br></strong>When you are looking to achieve complex workflows with higher speed and no central point of failure — and are prepared for a surprising amount of learning and complexity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*VtRrrTsSB8Irmb0ne2kdog.png" /></figure><h4><a href="http://docs.oracle.com/javaee/6/tutorial/doc/bncdq.html">JMS</a></h4><p>The <em>Java Message Service </em>is a combination of a protocol and the components implementing it. As part of the Java Enterprise Edition (JEE) it is used to abstract inter-service communication behind a Java-y interface.</p><p><strong>So when would you use it?<br></strong>When you are using Java and are bought into the Java Enterprise Platform already. If not, you might have an easier time just using the Java client for one of the alternatives mentioned above.</p><h4>Request/Response</h4><p>Even with streaming data sometimes all you want to do is ask a single question and receive a single response. This can be done using an HTTP request — but then again you do already have a connection with your server open — so why not just use that?</p><p>The process of request/response communication over such a persistent connection is usually referred to as RPC (Remote Procedure Call) or RMI (Remote Method Invocation) — it is supported by protocols such as AMQP or ZeroMQ via response-queues, JMS via Java RMI, WAMP or dedicated RPC frameworks/protocols, such as <a href="http://www.grpc.io/">gRPC</a> or <a href="https://thrift.apache.org/">Apache Thrift</a>.</p><h4>DataSync</h4><p>DataSync is the newest addition to this list of realtime communication concepts and associated protocols (although some would argue that approaches such as <a href="https://en.wikipedia.org/wiki/Common_Object_Request_Broker_Architecture">CORBA </a>paved the way for it).</p><p>DataSync synchronizes the actual data in a data-store with clients. Any change that’s made by a given client is stored and shared with all interested subscribers. DataSync is extremely powerful as it hides all the complexities of maintaining state in realtime apps away, reduces complexity and speeds up development by magnitudes, but it is also a fairly new approach with no open protocol standard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*o3dgC1IjW1Msj714NkKzCQ.png" /></figure><p>DataSync is currently available using servers such as <a href="https://deepstream.io/">deepstream</a> or PaaS offerings such as <a href="https://deepstreamhub.com/">deepstreamHub</a>, <a href="https://firebase.google.com/">Firebase</a> or <a href="https://realm.io/">Realm</a></p><h4>To Summarize</h4><p>DataSync, Pub/Sub and Request/Response are incredibly potent patterns, but while there are plenty of establish standards for pure pub/sub or queuing, open protocols for request/response or most importantly data-sync are still largely unavailable.</p><p>With deepstream’s DRP (distributed realtime protocol) we are confident to have found a solid approach that combines these concepts into a single protocol whilst ensuring the maximal efficiency in terms of message size, extensibility and <a href="https://en.wikipedia.org/wiki/Interoperability">interoperability</a>. I can’t wait to share more details in the following post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d0489778c12" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform/an-overview-of-realtime-protocols-7d0489778c12">An overview of realtime protocols</a> was originally published in <a href="https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform">deepstreamHub: a lightning fast realtime platform</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTTP is coming to deepstreamHub]]></title>
            <link>https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform/http-is-coming-to-deepstreamhub-de21a7279729?source=rss-db995ac7fc50------2</link>
            <guid isPermaLink="false">https://medium.com/p/de21a7279729</guid>
            <category><![CDATA[news]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[releases]]></category>
            <dc:creator><![CDATA[Wolfram Hempel]]></dc:creator>
            <pubDate>Tue, 13 Jun 2017 15:48:47 GMT</pubDate>
            <atom:updated>2017-06-13T15:48:47.166Z</atom:updated>
            <content:encoded><![CDATA[<p>HTTP is coming to deepstreamHub! Our upcoming HTTP API will allow any HTTP capable programming language or device (so pretty much everything) to read, write and delete records, send events or make RPCs using a simple JSON format.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*rYYqg7msf2MNP3yU4qW0XQ.jpeg" /></figure><h4>Why is this awesome?</h4><ul><li>Because it allows PHP, Ruby on Rails and other Fast CGI languages to be used with deepstreamHub (PHP client coming very soon, watch this space!)</li><li>Because it allows you to bulk-import thousands of records into deepstreamHub using a single HTTP request</li><li>Because it allows any website to quickly read a record, send an event or request an RPC via Ajax without having to use the deepstream SDK or establishing a deepstream connection</li><li>Because it allows swarms of low powered IoT devices to emit stateless updates</li></ul><h4>How does it work?</h4><p>Our HTTP API uses a simple standard we call JIF (pronounced squirrel), short for JSON Interchange Format. Every request consists of a header with authentication data and an array of operations, e.g.</p><pre>{<br>   &quot;token&quot;: &quot;cxsdf-435-ert34-eggd&quot;,<br>   &quot;body&quot;: [<br>      {<br>         &quot;topic&quot;: &quot;record&quot;,<br>         &quot;action&quot;: &quot;read&quot;,<br>         &quot;recordName&quot;: &quot;item/345&quot;<br>      },<br>      {<br>         &quot;topic&quot;: &quot;record&quot;,<br>         &quot;action&quot;: &quot;write&quot;,<br>         &quot;recordName&quot;: &quot;item/543&quot;,<br>         &quot;data&quot;: {<br>            &quot;description&quot;: {&quot;color&quot;: &quot;red&quot;}<br>         }<br>      },<br>      {<br>         &quot;topic&quot;: &quot;event&quot;,<br>         &quot;action&quot;: &quot;emit&quot;,<br>         &quot;eventName&quot;: &quot;message/32&quot;,<br>         &quot;data&quot;: {<br>            &quot;stuff&quot;: &quot;happened&quot;<br>         }<br>      }<br>   ]<br>}</pre><p>which returns</p><pre>{<br>    &quot;result&quot;: &quot;SUCCESS&quot;,<br>    &quot;body&quot;: [<br>        {<br>            &quot;version&quot;: 1,<br>            &quot;data&quot;: {<br>                &quot;name&quot;: &quot;Tomato Sauce&quot;,<br>                &quot;price&quot;: 3.14<br>            },<br>            &quot;success&quot;: true<br>        },<br>        {<br>            &quot;versions&quot;: [<br>                -1<br>            ],<br>            &quot;error&quot;: null,<br>            &quot;success&quot;: true<br>        },<br>        {<br>            &quot;success&quot;: true<br>        }<br>    ]<br>}</pre><h4>When can I get it?</h4><p>The API will be officially released next week’s Friday (June 23rd)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de21a7279729" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform/http-is-coming-to-deepstreamhub-de21a7279729">HTTP is coming to deepstreamHub</a> was originally published in <a href="https://medium.com/deepstreamhub-a-lightning-fast-realtime-platform">deepstreamHub: a lightning fast realtime platform</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trump & Brexit — International Coverage Bias]]></title>
            <link>https://medium.com/@WolframHempel_82303/trump-brexit-international-coverage-bias-d52a2e4a3698?source=rss-db995ac7fc50------2</link>
            <guid isPermaLink="false">https://medium.com/p/d52a2e4a3698</guid>
            <category><![CDATA[brexit]]></category>
            <category><![CDATA[uk-politics]]></category>
            <category><![CDATA[cognitive-bias]]></category>
            <category><![CDATA[us-elections]]></category>
            <category><![CDATA[donald-trump]]></category>
            <dc:creator><![CDATA[Wolfram Hempel]]></dc:creator>
            <pubDate>Wed, 09 Nov 2016 06:56:47 GMT</pubDate>
            <atom:updated>2016-11-09T06:56:47.427Z</atom:updated>
            <content:encoded><![CDATA[<p>I like to bet. Not gambling or online betting — it’s not about winning money. I like to bet with people and enjoy the gloating and smack talking leading up to the result: You could argue I’m a bit douchy that way.</p><p>But I am successful — or at least I’ve been on an amazingly lucky streak lately. Why? Because I’ve started betting on the distortion in our news intake from other countries. I’ve been betting on what I’d like to call: “international coverage bias”.</p><p>Cognitive biases are a hot topic at the moment: Books like Daniel Kahneman’s “Thinking, Fast and Slow” or “Black Swan” by Nicholas Nassim Taleb introduced the concept of using statistics and socioeconomics to reflect on the way we think and why we often experience reality quite different from its underlying facts.</p><p>This couldn’t be more true for two of the biggest events that took place this year: Britain’s vote to leave the EU and the election of Donald Trump as America’s next president. (I am writing this on 11/09/16 at 1:00am Eastern, it’s currently 215:240 for Trump — but it should be settled by the time I hit the publish button).</p><p>What am I on about? To summarize:</p><blockquote>Control of media-outlets, especially those with international reach lies predominantly within progressive and liberal centers, resulting in favorable coverage of liberal candidates and ideas thus neglecting and by that strengthening a conservative majority.</blockquote><p>Phew, that was a mouthful. Here’s what I mean:</p><p><strong>Brexit<br></strong>I lived in London for many years. In that time I took a few trips to the “countryside” (the rest of the UK for Londoners) — but only ever for touristic reasons, never because I actually needed something I couldn’t get in London.</p><p>As a German, this was strange to me. We’ve got our banks in Frankfurt, our Media in Hamburg and Cologne, our Startups in Berlin, our car makers in Munich, Stuttgart and Wolfsburg and everything else sprinkled across the country. In the UK, if it matters it’s in London (sorry Newcastle).</p><p>Naturally, international coverage for the polls leading up to the EU referendum came almost exclusively from London — and did its very best to convey the impression that Britain will — of course — stay in the EU. Everything else would just be a bit of a joke that has already gone way too far…</p><p>Come voting day, the UK decided to leave. This was a huge shock for everyone following the international news, but less so for the people within Great Britian. Naturally, London voted to stay, but within the “back country”, within South Holland, Thurrock or Great Yarmouth — UK districts few ever heard of, people wanted to leave.</p><p>Surprisingly, amongst the top reasons quoted by leave supporters was that “they weren’t heard” and that they wanted to teach a lesson to the government that “had forgotten about them”.</p><p>Herein lies the danger of unevenly distributed media focus — not only does it distort our perception of what’s really going on in other countries — it also shifts attention away from conservative groups within the countries themselves which in term fight for their place in the spotlight.</p><p><strong>Trump vs Clinton<br></strong>Fast forward five months to today’s US election and we see a very similar picture. The candidate that started as “a joke that’s already gone too far” was able to secure most of the USA’ central states: the bible belt, Kansas, Texas, Oklahoma or Tenesse reliably fell to him.</p><p>The “only reasonable choice” on the other hand that was portrayed as in the lead for almost the entire election season was able to secure media strongholds like New York or California, but not enough others to make the race.</p><p>Again it seems like the forgotten backcountry has decided the vote. I’m not too confident of what that means for the world going forward, but hey, I’m 20 Euros up!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d52a2e4a3698" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>