<?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[Pure Labs - Medium]]></title>
        <description><![CDATA[We build tech products that delight &amp; make sense. - Medium]]></description>
        <link>https://medium.com/purelabs?source=rss----3e0a0874ea8b---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Pure Labs - Medium</title>
            <link>https://medium.com/purelabs?source=rss----3e0a0874ea8b---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 23:29:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/purelabs" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How great leaders inspire action]]></title>
            <link>https://medium.com/purelabs/how-great-leaders-inspire-action-b7c5620e8e44?source=rss----3e0a0874ea8b---4</link>
            <guid isPermaLink="false">https://medium.com/p/b7c5620e8e44</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Sebastian Slomski]]></dc:creator>
            <pubDate>Mon, 03 Sep 2018 14:02:34 GMT</pubDate>
            <atom:updated>2018-09-03T14:02:33.880Z</atom:updated>
            <content:encoded><![CDATA[<p>Summary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n20EWVXuoTfAqbYiUJD7Gg.jpeg" /></figure><blockquote>People don’t buy what you do; they buy why you do it.</blockquote><h4>1 Sentence Summary</h4><p>In “Start with Why: How Great Leaders Inspire Everyone to Take Action” Simon Sinek presents the idea that great leaders inspire others by putting the Why (the purpose) before the How (the process), &amp; the What (the product).</p><h4>3 Main Takeaways</h4><ul><li>Inspiring people requires a real purpose, a <em>Why</em>.</li><li>A clearly expressed <em>Why</em> helps separate you from the rest.</li><li>People follow leaders and those who inspire not because they have to, but because they want to.</li></ul><h4>Personal Takeaways</h4><p>Whenever you want to sell something, e.g. when pitching your idea to potential investors, you often start from outside in with the <em>What</em> &amp; <em>How, e.g.</em></p><ul><li><em>What?</em> — We make great computers.</li><li><em>How?</em> — They are beautify designed and user friendly.</li><li><em>Why?</em> — Do you want to buy one?</li></ul><p>Instead, you should start with the <em>How</em> and go from there, e.g.</p><ul><li><em>Why?</em> — Everything we do we believe in challenging the status quo; we believe in thinking differently.</li><li><em>How? </em>— The way we challenge status quo is by making our products designed and user friendly.</li><li><em>What?</em> — We just happen to make computers, do you want to buy one?</li></ul><p>Following this principle improved a lot how I communicate ideas to others, most recently in successfully pitching the idea of our latest <em>Co-Venture</em> <strong>moving</strong> to the jury of the Health Media Award.</p><p>Simon Sinek’s talk “How great leaders inspire action” can be found on YouTube (I’ve embedded the video below), his book on the same topic <a href="https://www.amazon.de/Start-Why-Leaders-Inspire-Everyone/dp/1591846447/">“Start With Why” is available on Amazon</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fqp0HIF3SfI4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dqp0HIF3SfI4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fqp0HIF3SfI4%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6ca68754e15a021eba4b18c5cd2eccf6/href">https://medium.com/media/6ca68754e15a021eba4b18c5cd2eccf6/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7c5620e8e44" width="1" height="1" alt=""><hr><p><a href="https://medium.com/purelabs/how-great-leaders-inspire-action-b7c5620e8e44">How great leaders inspire action</a> was originally published in <a href="https://medium.com/purelabs">Pure Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Build Habit-Forming Products]]></title>
            <link>https://medium.com/purelabs/how-to-build-habit-forming-products-962923ec194a?source=rss----3e0a0874ea8b---4</link>
            <guid isPermaLink="false">https://medium.com/p/962923ec194a</guid>
            <category><![CDATA[habits]]></category>
            <category><![CDATA[hooked]]></category>
            <category><![CDATA[habit-building]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Sebastian Slomski]]></dc:creator>
            <pubDate>Mon, 03 Sep 2018 12:55:45 GMT</pubDate>
            <atom:updated>2018-09-03T13:29:38.361Z</atom:updated>
            <content:encoded><![CDATA[<p>Summary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4WS_bQCC1jVvAs-UYqMoOw.jpeg" /></figure><h4>One Sentence Summary</h4><p>“How to Build Habit-Forming Products” by Nir Eyal is a how-to guide for building better products by making users form habits around them using a framework of four steps to subtly encourage customer behaviour.</p><h4>About the author</h4><p>The Wall Street Journal Bestselling Author Nir Eyal is an entrepreneur who sold two technology companies since 2003 and now help teams design more engaging products. Next to contributing on TechCrunch &amp; Forbes he published his book Hooked about the psychology of technology products in late 2013.</p><h4>3 Main takeaways</h4><ul><li>The most successful products in the world make users form habits around them.</li><li>Variable rewards are one of the key ingredients of a habit-forming product.</li><li>Habit forming products can be built by following a four step process.</li></ul><h4>Personal takeaway</h4><p>This talk taught me why I keep on visiting news/ stocks/ social services so often and how to apply this principle on a product. Forming habits around a product isn’t magic but a framework which can be learned.<br>I highly recommend this talk/ book to anyone building products.</p><p>You can find this talk <a href="https://www.youtube.com/watch?v=-jXM4NymIcA">“How to Build Habit-Forming Products”</a> from the Startup Grind Global 2017 on YouTube (see below) as well as his book <a href="https://www.amazon.de/Hooked-How-Build-Habit-Forming-Products-ebook/dp/B00NW01MKM/">“Hooked” on Amazon</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-jXM4NymIcA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-jXM4NymIcA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-jXM4NymIcA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/dcc694d23f30f63d6cc5290af59fa02a/href">https://medium.com/media/dcc694d23f30f63d6cc5290af59fa02a/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=962923ec194a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/purelabs/how-to-build-habit-forming-products-962923ec194a">How to Build Habit-Forming Products</a> was originally published in <a href="https://medium.com/purelabs">Pure Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 things I learned in 10 years of using Django]]></title>
            <link>https://medium.com/purelabs/10-things-i-learned-in-10-years-of-using-django-6881f3ca23eb?source=rss----3e0a0874ea8b---4</link>
            <guid isPermaLink="false">https://medium.com/p/6881f3ca23eb</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[django-rest-framework]]></category>
            <dc:creator><![CDATA[Sebastian Slomski]]></dc:creator>
            <pubDate>Fri, 29 Jun 2018 18:33:09 GMT</pubDate>
            <atom:updated>2018-09-03T13:06:06.191Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dpn__rQ32LEqE5qZSu2xOw.jpeg" /></figure><h4>About Sebastian</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*Nh72wwnmcjBkB31yo9yJ5Q.jpeg" /></figure><p>Over the past 10 years working in tech I was lucky enough to work with many extraordinary engineers and learn from them. This post represents the essence of that experience, the top 10 tools &amp; techniques which help my teams and me being successful.</p><p>This post is intended as a guideline for beginners as well as a refresher for experts. Applying these principles helped me to rapidly move from ideation to MVP to successful products, to grow the engineers working on a project from one to multiple scrum teams and to pass technical due diligences.</p><h3>Isolate your environments</h3><p>Every new application should start by creating an own, isolated environment. For quite a long time, virtualenv &amp; a-likes were the defacto standard for creating an isolated workspace for a Python application and pinning the dependencies for a project in a own requirements.txt.</p><p>While this is already a huge improvement, it still leaves room for error as the system where the code is developed is usually (and hopefully) not the exact same one where it later is deployed. Small things such as a missing jpeg library on the production server might crash the application.</p><p>That’s where Docker comes in handy. It not just runs your code in the exact same system &amp; environment for development &amp; for production, it also automatically documents your setup.</p><h3>Separate code &amp; data</h3><p>There are usually two types of servers: application servers running the code and data servers providing persistence.</p><p>Keep them separate &amp; treat your application server as they could die every moment — eventually they will. If you follow this advice, all you need to do is re-deploy the code — and the data is still there.</p><p>As I want to create new products and not spend my time with DevOps work, I like to use hosted services such as Amazon Web Services’ RDS for hosting Postgres databases, Heroku for running my code and Cloudinary for hosting media.</p><p><strong>These three services are the best thing ever!</strong> (<em>Disclaimer: I’m a fanboy</em>)</p><h3>Love the blue elephant</h3><p>There are a gazillion of databases out there. Every now and then, something shiny &amp; new comes up. I love the concept of document oriented databases such as MongoDB or CouchDB and have used both in the past. But eventually you want to have something simple &amp; solid — such as Postgres.<br>Don’t underestimate the power of Postgres — it’s one hell of a database.</p><p>Here’s a couple of reasons why I advocate for using Postgres:</p><ul><li>It’s based on SQL: Django’s ORM &amp; many third party extensions rely on SQL. Missing out on these great ecosystem is a huge bummer.</li><li>It’s fast enough. Many NoSQL databases advertise with super fast reads/ writes. If you don’t have very special use case, Postgres will work just fine and is fast enough.</li><li>It’s flexible: Postgres’s JSON data type allows you to store /documents/ and run indexed (!) queries on them without performance losses.</li></ul><h3>Separate Frontend &amp; Backend</h3><p>The time where web applications were html pages with some JavaScript is over. Modern frontends are JavaScript heavy, quite complex due to their asynchronous nature and require quite a lot of dependencies to set it up (Node.js, transpiling, webpack, React.js, …).</p><p>Following the design principle Separation of Concerns, splitting frontend and backend up is the recommended way.</p><p>In modern services, the backend provides data to the frontends via an API in a machine readable format, usually JSON. While GraphQL is the cool new kid on the block, simple REST services get the job often done quite good (and can act as a data provider for GraphQL later on).</p><p>The Django community can be really happy to have the awesome library Django Rest Framework which simplifies building REST APIs a lot.<br><strong>Learn it, use it, love it.</strong></p><h3>Use celery for async tasks &amp; cron jobs</h3><p>Communication with external systems always include latency and can be unpredictable. Initially you might not notice a performance decline, but as you add more external services your application might become slow because of that. This can be simple things such as sending emails or triggering notifications.</p><p>That’s where the task queue celery comes in handy. Any call that doesn’t need to be synchronous can be queued up and eventually be consumed by a celery worker.</p><p>But celery offers more than just that. You can use it for:</p><ul><li>Performing asynchronous tasks such as interaction with an external service (e.g. sending an email).</li><li>Delaying tasks (e.g. sending a welcome mail 10 minutes after the user signed up).</li><li>Executing periodic tasks such as a daily export instead of using cronjobs.</li></ul><h3>Learn to love Redis</h3><p>While your application grows, you will sooner or later need caching or a message broker. Redis is an in-memory data store which is excellent at both.</p><p>Use it as your queue for celery or just as plain simple caching of views or expensive calculations.</p><p>It’s an excellent piece of software and is easy to use. You’ll love it!</p><h3>Tracking all errors</h3><p>Once your service runs in production, errors will happen no matter how well you’ve tested. And that’s ok. Just be sure to catch these errors as soon as possible, prioritise them and fix them.</p><p>Sentry is an open source error tracking tool (also offered as a SaaS, which I recommend) that helps monitoring &amp; fixing crashes. It’s an absolute indispensable tool for diagnosing errors, in the backend and in the frontends as it gives you detailed context including the stack trace and how often the error occurred.</p><p>Always keep in mind, errors can &amp; will happen — just make sure this specific error happens only once. Write a test case for it.</p><h3>Apply code hygiene from day #1 on</h3><p>Code quality is essential. If your code smells, your whole service will eventually suffer from it.<br>That’s why it is your job to insist on highest standards. These standards include:</p><ul><li>Use a linter such as flake8 to analyse your code for potential errors and to enforce a unified coding style.</li><li>Use a coverage tool to calculate your test coverage and to visualise it. That doesn’t tell you how good your tests are, but it’s a great tool to detect untested code.</li><li>Use a Continuous Integration (CI) service for running your linter and your test suite on every push to your remote git repository. Nobody should ever review or deploy code which hasn’t run through these steps first.</li></ul><p>I highly recommend to apply those from the very first day. Don’t make sacrifices on the wrong parts.</p><h3>Document your code</h3><p>Documenting code is a essential part of any developer. Always treat your code as it would need to hand it over to someone else the next day.</p><p>You don’t need to write a full blown handbook (also that’s super nice). Keep it simple and make it a habit.</p><p>The following ways of documenting proofed to be very helpful to me in the past:</p><ul><li>30k feet documentation: This can be as simple as just one chart (we use draw.io for that) describing all internal &amp; external services and how they play together.</li><li>Feature changelog: Describe each new feature with a few sentences and store it in a `changelog` folder in your code base as a text file (we use markdown). Pro tip: Enforce the existence of a changelog file in your CI.</li><li>Inline Docs: Create a habit of starting each new function with a doc string describing what the function does. This makes your code so much easier to read — for other people but also for yourself in a year from now. Descriptive/ verbose function &amp; variable names alone don’t do the trick.</li></ul><h3>Write code which is easy to test</h3><p>Django views have a tendency to become huge bloated monsters with lots of business logic inside. As this makes testing quite hard, try to move that code into the models. <strong>Write fat models &amp; skinny views</strong>.</p><p>The smaller a function is, the easier it is to test. So don’t be afraid of splitting your logic up into smaller chunks. This way testing becomes fun.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6881f3ca23eb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/purelabs/10-things-i-learned-in-10-years-of-using-django-6881f3ca23eb">10 things I learned in 10 years of using Django</a> was originally published in <a href="https://medium.com/purelabs">Pure Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>