<?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 esauro on Medium]]></title>
        <description><![CDATA[Stories by esauro on Medium]]></description>
        <link>https://medium.com/@esauro?source=rss-c949e3da46d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-Nptb0iKjzOVTKqR.jpg</url>
            <title>Stories by esauro on Medium</title>
            <link>https://medium.com/@esauro?source=rss-c949e3da46d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:21:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@esauro/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[How to manage DB connections]]></title>
            <link>https://esauro.medium.com/how-to-manage-db-connections-ba820bb81c1c?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba820bb81c1c</guid>
            <category><![CDATA[connection-pool]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[commit]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Tue, 06 Apr 2021 21:26:13 GMT</pubDate>
            <atom:updated>2021-04-06T21:26:13.759Z</atom:updated>
            <content:encoded><![CDATA[<p>So you start building an app and you need to store some data. Obviously you would use a database for storing that data. As the application becomes more successful you notice the DB load becomes a concern, in some cases the number of connections opened by the software can be way too much. When this happen the first thing we think in introducing is a connection pool, and if you are working with Postgres likely that connection pool would be pgbouncer.</p><p>Pgbouncer has basically three pool modes:</p><ul><li>Session</li><li>Transactional</li><li>Statement</li></ul><p>This defines when the connection is returned back to the pool. Obviously the decision you make has implications, so for instance if you use statement the connection would be returned after the statement is completed, while if you choose transactional it would be returned after each transaction.</p><p>It’s a common practice in web oriented applications to tie the transaction to the request lifecycle, this is the transaction is started when the request is started and committed (or rolled back) when it finish.</p><p>So we have a connection pool (pgbouncer) with some number of connections allowed configured using transaction pool mode and you have the transaction tie to the request lifecycle.</p><p>In the requests maybe you are doing many things, not just dealing with the Postgres DBs, perhaps you have other things like Redis, ElasticSearch, etc. that you need to deal with too.</p><p>Meanwhile your transaction is still opened and therefore not release back to the pool.</p><p>Let’s imagine for a sec that those other systems become slow, perhaps you are trying to acquire a lock from Redis or indexing some entries in ES that is undergoing heavy load, and your transaction is still opened and therefore not returned to the pool.</p><p>Under the right circumstances this can create contention at the pgbouncer level, this is all the available connections are being used so the new requests are waiting for the connections to be freed and released to the pool so they can do their stuff. Meanwhile the clock is ticking, the user is waiting for the response, the responses become slow at the API level and basically nothing works. Your user is already trying to find an alternative to your service because your service clearly sucks and a some kids could have done a better job using Scratch.</p><p>Pretty bad eh!</p><p>The good news is that it’s easy to fix the problem, just commit!. Try to isolated the parts of the code that deal with the DB from the parts that work in other systems and ensure you commit before jumping from one to the other. It’s literally that simple. Of course depending on the domain and the nature of the business it might not be so simple.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba820bb81c1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Show me the… data!]]></title>
            <link>https://esauro.medium.com/show-me-the-data-79e1630bfdf9?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/79e1630bfdf9</guid>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Wed, 15 Apr 2020 15:56:34 GMT</pubDate>
            <atom:updated>2020-04-15T15:56:34.015Z</atom:updated>
            <content:encoded><![CDATA[<p>At startups, we all brag about being data-driven, based our decisions solely in the data, and making no assumptions or as little assumptions as possible about our users. To succeed in doing this you need to have a data platform that allows you to answer the questions you come up with.</p><p>Every data platform is made of a few parts:</p><ul><li>Getting the data</li><li>Processing the data</li><li>Visualizing the data</li></ul><h3>Getting the data</h3><p>Users use the app, and they create lots of entries in our database in doing so. This is the more straight forward data we can get, but that is probably not enough. Some of the actions the user perform don’t need to store anything in the DB. Getting stuff like when a user visited a screen, or what are the funnels that led to conversions is very important for a startup. It helps to identify friction point and to prioritise the work on them.</p><p>I’d probably suggest using a third party for this, tools like <a href="https://heap.io/">Heap</a>, <a href="https://mixpanel.com/">Mixpanel</a> or <a href="https://amplitude.com/">Amplitude</a> will help you implementing all sort of events.</p><h3>Processing the data</h3><p>Processing the data can be very tricky. I’m a huge fan of <a href="https://redash.io/">Redash</a>. This little tool can be installed from a <a href="https://bitnami.com/">Bitnami</a> image in AWS and GCP (and probably in other cloud providers as well). The Bitnami image works decently for small organizations and it allows us to connect to the different databases we could have. It supports lots of different databases, although some of them don’t really work that well (Kibana, for instance, gave me some headaches in the past).</p><p>If your DB is SQL you can start writing SQL queries and plotting some charts straight away. At Wager, I created a dashboard with metrics like the number of users signed up, conversions, etc. almost when starting, and I literally check it every day.</p><p>A few mind-blowing features Redash have are:</p><ul><li>Ability to run queries against many types of DBs</li><li>Ability con combine the results of different queries, potentially from different sources</li><li>Ability to run python code as part of the query</li><li>Different charts options</li><li>Export the data tables to CVS and Excel</li><li>Ability to create a dashboard with different charting in minutes</li></ul><h3>More processing of the data</h3><p>Sometimes we need to do things that are a bit more complex. Another incredibly helpful tool is <a href="https://jupyter.org/">Jupyter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79e1630bfdf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Young entrepreneurs]]></title>
            <link>https://esauro.medium.com/young-entrepreneurs-602a8f531fd7?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/602a8f531fd7</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[teaching]]></category>
            <category><![CDATA[young]]></category>
            <category><![CDATA[lean-startup]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Tue, 28 Jan 2020 16:33:37 GMT</pubDate>
            <atom:updated>2020-01-28T16:33:37.537Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m a proud father of three boys. All of them are different and they have different interests, personalities and motivations. As you can imagine, they are interested in technology, and as both their parents work in the industry they have access to devices and knowledge that most kids don’t.</p><p>A few days ago the one in the middle who is currently 9, told me he had an idea for an app. I asked him to explain it to me and he did with great detail. As we spoke I was asking questions, and he was trying to come up with answers or solutions to them. Questions like <em>how are we going to make money? </em>or <em>who are going to be our users?. </em>After we discussed enough the idea I proposed to print and fill a Lean Canvas. We didn’t have the time to do it at the time and to be honest I thought he would forget about it.</p><p>The next day in the morning he begged me to print the canvas before school, that I did. Of course, we didn’t have the time to fill it. When I arrived home from work he made me fill it with him. We answer all the entries in the canvas and when we finished he asked me when were we starting to code it.</p><p>The most interesting part of all is that his idea could actually work. It’d need much more work to have a business proposition of course, but the exercise is proving to be stimulating, interesting and it definitively got his attention. He even came out with a cool name, easy to remember and associate to the business he wants to be on.</p><p>I believe the world needs more entrepreneurs. I’m wondering if doing this sort of experiments or thinking wouldn’t something we are not teaching and we should. When I was a child, the Internet as we know it didn’t exist, there weren’t mobile phones, starting a new company was unthinkable, etc. Today is almost a different world. I could create a prototype for my son’s idea and have it up and running for months for the price of a nice dinner (providing I can do the coding myself). The prospects of my childhood were to find a nice company you could work for many years. Today the world is again different, and my children will likely have a bunch of works throughout their life (in fact my own career is becoming a bit bumpy).</p><p>For a child of today, all the games, apps, etc. can create the feeling that things are easy, they aren’t. There’s a huge lot of work behind the simplest of the games or apps. If nothing else while trying to build a prototype for his idea my kid will learn apps and webs require hard work if I can only get him to learn that it would have been worth it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=602a8f531fd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Early-stage CTO]]></title>
            <link>https://esauro.medium.com/early-stage-cto-8e752b793f8a?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e752b793f8a</guid>
            <category><![CDATA[cto]]></category>
            <category><![CDATA[lean-startup]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Tue, 31 Dec 2019 13:50:08 GMT</pubDate>
            <atom:updated>2019-12-31T13:50:08.704Z</atom:updated>
            <content:encoded><![CDATA[<p>2019 is coming to an end, so it’s time to look back to the past year. At the beginning of 2019 I was working for Wisdomtree, the most exciting ETF provider I’ve heard of, and at the turn of the year I’m working at Wager, the most exciting betting startup I’ve heard of. I’m very lucky with the opportunities I have had during the last few years.</p><p>Some people could be wondering why I left my comfortable role as Director of Development at Wisdomtree to become CTO of Wager a company that had no product by the time I joined.</p><p>What I like more about working with technology is the impact a single person can have in the development of something. As the CTO of Wager any week I use many different hats.</p><p><strong>Backend Engineer: </strong>This is my main background. I’ve been doing this role for my whole career with a number of different technologies including Python, Java and NodeJS. I really like this part of the job, that focus on translating business rules into business logic that then empower the frontend developers to create beautiful user experiences.</p><p><strong>SRE/Platform engineer: </strong>Every piece of code needs a piece of infrastructure to run on. Nowadays, with the cloud, that means having a sort of platform and tools that allow the developers to deploy their code, and the users to use the system. In an early-stage startup, there’s no one else to have this work done, therefore I have to play with Terraform scripts and ansible playbooks, to ensure we have all this sorted.</p><p><strong>Data Engineer: </strong>We learn and improve through measuring and running experiments. Thus we need to have fantastic tools that allow us to understand what the users are struggling with, what they are finding easy, where we should be working in other to improve their journeys. A good portion of this can be learnt by having the right data platform. Being able to come up with a hypothesis and then creating charts for them is a massive competitive advantage.</p><p><strong>Frontend Engineer: </strong>Nobody wants to use APIs to create their bets, so we need a neat user interface that our users love to use. I’ve done my share of frontend in the past and I never felt like I knew what I was doing when it came to pure visuals. I feel more comfortable when we are integrating the visuals. Because we don’t have a big team, sometimes I need to work with CSS and keep my skills in shape.</p><p><strong>Product Manager: </strong>Technology is just a medium to an end, not an end in itself. Therefore we need to figure out and realise which features need more work, or where we do have room for improvement. The resources are quite limited and we often need to prioritise and compromise. Being able to work with the business people to agree on the efforts that make sense to take at this stage is very important.</p><p>Of course, I’m not alone, and I don’t do all those jobs all the time, but I often need to help with all those topics. This is what I like the most of work in early-stage, you can learn tons of things that otherwise would imply a career switch. Learning all those skills helps you understand the bigger picture of what creating and running a business is like.</p><p>Going fast, deploying often and learning as quickly as possible is very interesting. Wager is mobile-based what means we can’t control when Apple and Google approve our releases, or when users install the updates, yet we are trying to have something new for the users every week. Sometimes small changes like user interface tweaks here and there, sometimes much bigger changes like Leagues, the ability to send bets to people that are not yet in Wager or a new onboarding flow. The most important thing is that with every new release or feature we learn and we improve, and we will keep doing so in 2020.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e752b793f8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agile is about agility, not ceremonies]]></title>
            <link>https://esauro.medium.com/agile-is-about-agility-not-ceremonies-f7c8be18be0f?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7c8be18be0f</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[scrum]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Mon, 15 Jul 2019 13:36:50 GMT</pubDate>
            <atom:updated>2019-07-15T13:36:50.829Z</atom:updated>
            <content:encoded><![CDATA[<p>A long time ago, companies doing software used to use a process call waterfall that led to massive delays in the schedules, and important deviations in the expected results as well. Waterfall steps and processes assumed complete knowledge of the problem beforehand, and as this never was the case, many little deviations occur throughout the process and those little errors, as it happens with the <a href="https://en.wikipedia.org/wiki/Propagation_of_uncertainty">propagation of errors</a> in statistics, in turn, led to achieving something completely different to what it was intended. In such circumstances, the Agile movement started. In a nutshell, the idea is that you don’t really know what the problem or the solution is, so instead of assuming you do and fail, you made the size of the iteration smaller and then try to achieve the desired outcome as a set of small improvements. Each of those iterations is time-bound, and from each of those iterations, you obtain something, knowledge or progress, that makes you closer to your goal. In a sense, the idea was quite similar to the<a href="https://en.wikipedia.org/wiki/Kaizen"> kaizen philosophy</a>.</p><p>Nowadays <em>Agile </em>has become the norm, almost nobody use waterfall anymore. The problem is that Agile is not as agile as one may expect as it has been stripped out of the core, the reason for existing in favour of a standard and in my opinion bland version of it. At some point terms like <a href="https://en.wikipedia.org/wiki/Scrum_(software_development)">Scrum</a> and <a href="https://en.wikipedia.org/wiki/Kanban">Kanban</a> started to appear and became the new way of doing things in software development. The problem I have with this is that with this, all the idea of being agile and flexible and find the right process and how to collaborate was completely wiped. Many companies are using Scrum <em>by the book </em>without stopping to figure out what they really need, and by doing so they are not taking all the advantage they should from being Agile. Scrum defines many ceremonies that all work for a certain purpose, but you might or might not need those. I think the reasoning behind and be flexible to adjust the actual team to the different needs and stages is many times more important than following the guidance closely.</p><p>Scrum defines different ceremonies:</p><ul><li>Daily scrum (often called daily standup)</li><li>Sprint retrospective</li><li>Scrum planning</li><li>Estimation sessions</li><li>Backlog refinement (or sometimes backlog grooming)</li><li>Sprint review</li></ul><h4>Daily Scrum</h4><p>This ceremony is about keeping people up to date and allowing people to ask for help if they need. It can be done on Slack or in person. This meeting is low-cost and helps to keep everybody in the loop. I’d say a version of this ceremony you probably need.</p><h4>Sprint Retrospective</h4><p>This ceremony is about continuous improvement. The only way to improve is to identify things that didn’t work and try to come up with concrete actions to fix them. The way I usually run this one is but putting some post-its in a whiteboard with the bad, the so-so, and the good. Usually, I spent most of the session going through the bad things (that go first) trying to get actions to fix those problems, then the so-so and we end up with the good ones giving a happy moment to the end.</p><h4>Scrum Planning</h4><p>I don’t normally run this ceremony. Scrum planning is great in conjunction with velocity tracking and estimations, however, I tend to lean over to Kanban instead on this matter. This ceremony is where the PM and the rest of the team decide what they are going to work in the next sprint. As I said I don’t normally do this ceremony instead the PM works directly with the developers and rest of the team on a less structured way.</p><h4>Estimation Sessions</h4><p>Again these sessions I don’t normally run. The goal of the ceremony is to have an estimation of the stories in the backlog. It should involve all the team and the PM. Having the stories estimated and having a good sense of your velocity as a team should help you manage the expectations from the stakeholders, the truth is that is a pretty expensive ceremony as the whole team has to be part of it, and I normally prefer to avoid it. Avoiding it puts a bit more pressure in the PM, but buys many hours for the developers, so I think it’s worth avoiding it.</p><h4>Backlog Refinement</h4><p>This ceremony is about addressing the mid, long term stories. The closer a story is to execution the more details it needs. Something we will be working on in a year time can be as simple as a simple paragraph with a high-level vision of what the feature or story means. The backlog refinement is where some developers good deep and understand all the technical implications of that feature and create a bunch of smaller stories with enough information to be estimated. The backlog refinement is pretty important as it links the roadmap with the backlog. You probably are going to need a version of this.</p><h4>Sprint Review</h4><p>This ceremony is about showing what we have done in the last sprint. It normally involves stakeholders so they can see progress and give input to the team. If you are doing product development and the product is sort of stable (maybe you are a scale-up or at a late stage of the development of a big project) you probably need a version of this ceremony. I normally like to involve in this showcasing the actual people that did the job or either people that tend to be a bit shyer.</p><h4>Be flexible</h4><p>The way a team works has a lot to do with the personality of the team members, therefore different teams will work better using different strategies, don’t be afraid of challenge the traditional scrum and follow a workflow that works for you and your team.</p><p>Also, the workflow can differ significantly depending on the stage of development you are in. It’s not the same thing be a solo developer working on a pre-seed startup, that be part of a scale-up, that be part of a big corporation. The workflow should be a live entity you are always willing to change in case your resources, or problem changes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fa-BOSpxYJ9M%3Fstart%3D1%26feature%3Doembed%26start%3D1&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Da-BOSpxYJ9M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fa-BOSpxYJ9M%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/2bade8b8fcb1d09e6cb283d8214951ab/href">https://medium.com/media/2bade8b8fcb1d09e6cb283d8214951ab/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7c8be18be0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A valid blockchain case]]></title>
            <link>https://esauro.medium.com/a-valid-blockchain-case-cd64f6bafa5a?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd64f6bafa5a</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Fri, 16 Nov 2018 12:44:13 GMT</pubDate>
            <atom:updated>2018-11-20T09:17:18.742Z</atom:updated>
            <content:encoded><![CDATA[<p>Since I joined my new company one of the projects I’d been involved in uses blockchain underneath. I didn’t have any blockchain experience at all so it’s been a massive learning for me so far. Blockchain was first developed for Bitcoin and thus it just generated a massive attraction in the tech community amid the huge spikes in bitcoin demand that happened just before the end of 2017. Now bitcoin and their alike seems to be declining but blockchain is still strong.</p><h4>So what is really blockchain?</h4><p>Blockchain is not more than a distributed immutable ledger that uses cryptographic techniques to ensure some of this features.</p><p>Being distributed means that exactly the same database can be replicated in many different places at the same time. This is not something new from blockchain, many relational and non-relational databases can have this type of setup, however, blockchain makes it easier to run this <a href="https://medium.com/@chrshmmmr/so-when-should-you-consider-a-blockchain-answers-with-flow-charts-376936432ce8">setup across non-trusting-each-other organisations</a>. The way blockchain works in this sense is based on consensus. Once we define what should be considered a valid transaction the system will enforce those rules for us. This is important because it’s easy to agree on the rules (for instance at least one node in each organization has to endorse the transaction before it’s written to the ledger).</p><p>Being immutable means nobody can go and change the past. This again is important for not trusting organisations as none can modify the history after the facts. This pushes a huge number of challenges like for instance what happens if you are storing personal information in the ledger and now has to deal with GDPR legislation. The truth is that there are <a href="https://www.multichain.com/blog/2017/05/blockchain-immutability-myth/">several mechanisms</a> of modifying the past, but they are really hard to use. Stuff like a <a href="https://en.bitcoin.it/wiki/Majority_attack">majority attack</a> could change the past, or even using chameleon hashes.</p><p>Cryptographic techniques play a role in ensuring immutability, because each block has a hash of the previous block, changing the content of the block but keeping the same hash so the following block won’t conflict it is hard. Also, the hash is very simple to generate but very hard to reverse.</p><h4>So what are the main components of a blockchain Fabric application?</h4><p>We need the next components:</p><ul><li>CA</li><li>Orderer</li><li>Peers</li><li>Chaincode</li></ul><p>Very briefly the CA responsibility is validating the certificates of the different users and peers. The Orderer is responsible to send all the transactions to the peers in order. Orderer validates the endorsements and sends the transactions to the network in a certain order. Peers are responsible to endorse the new transactions and store the information. Finally, chaincode exposes a series of methods or function that can be used to store information in the system. These methods or functions are in a sense similar to an API and they are often referred to as a smart contract because they define what can be done in the network. In my opinion, they are quite similar to store procs in traditional RDBMSs.</p><p>Chaincode normally will contain the business logic of the application, while the other parts of the network are in essence the infrastructure that supports the application. Chaincode can be written in Java, nodejs, and Golang.</p><h4>How to access the blockchain?</h4><p>You can either create a wrapper around the CLI or use one of the SDKs. There are SDKs available for Java and nodejs. We decided to create an API using Express to access the blockchain and write the chaincode in nodejs as well, so we can have a single stack for the whole project.</p><h4>Where to deploy this to?</h4><p>You can deploy to Bluemix as IBM has a Blockchain as a service system in there, however, the price is quite high. IBM published <a href="https://github.com/IBM/blockchain-network-on-kubernetes">a way to deploy a network to Kubernetes</a>. Our approach is to leverage the benefits of Kubernetes and so far we have a working cluster with a working network on it. There’s something weird in this setup chaincode run as a separate container for isolation purposes. The chaincode container can’t be seen from kubectlbut it can be seen if you connect to the docker daemon, directly. To do this you will need to install the docker tools and connect to a socket directly, this wasn’t expected but after having thought about it is the only real way.</p><h4>Conclusion</h4><p>Hyperledger Fabric is a quite complex technology that should probably be avoided unless you can’t. It has a learning curve and it’s not too different to a distributed DB with an audit trail, but using the technology is much harder as you will need to have a much deeper understanding of the technology and infrastructure than you need when using a DBMS.<br>When you really understand all the different concepts and how all the pieces work together, working with it is not so hard, so perhaps we are only talking about a technology that is in early days and for which some layers of surrounding tools will be created in the next years.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd64f6bafa5a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agility]]></title>
            <link>https://esauro.medium.com/agility-f8b572431077?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8b572431077</guid>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Wed, 31 Oct 2018 14:45:19 GMT</pubDate>
            <atom:updated>2018-11-20T09:16:32.916Z</atom:updated>
            <content:encoded><![CDATA[<p>Couple of months ago I decided to change jobs. I left Octopus Labs, the company I was working for the previous two and a half years, where I started when just around 20 people were part of it, and it was around 120 people when I left. The role I played in Labs was as main technical actor in one of the products (Octopus Choice) that I joined before it was released for the first time and right after I left the reached the milestone of £200m under management. Labs was quite product driven and the working process changed quite a lot since I joined. At the very beginning it was just 4 of us working of trunk, and deploying manually on our own every time needed. At the end we had CI/CD process in place, we used feature branches and well documented process on how the stories were created and evolved across the deadline.</p><p>The new organization it’s a completely different animal. We are not focus on product, but rather we have some projects we try to deliver to our best with the business being involved less than I’d like. After a couple of weeks in, I already had identified a few things that in my opinion we had to change. In my opinion the two most important things that required improvement were:</p><ul><li>A faster feedback loop for product development</li><li>A mechanism to raise problems in the team</li></ul><p>In an agile organization it’s very important to be able to iterate fast. The only way to iterate fast is by having a feedback loop that works. The best way in my opinion to have that feedback is by working together. It’s required to have somebody that understand the business underneath the product, and it’s always available to explain features, and provide information on what things work and what things don’t work. In many organizations this would be done by a product owner (often called PO). We have this person in pretty much all the projects, but the way we work with them is not fast enough for modern standards.</p><p>The feedback is important in order to understand better the different sides of the project. Yesterday we had for the very first time a very productive retrospective. In my current organization create a place for speaking out things was very important as that was something that didn’t exist before. In agile teams it’s extremely important to be able to talk about the problems and to celebrate the good stuff as being agile and going so fast otherwise it’s easy to end up in a situation where people burn. To yesterday retro only the tech team was invited, I wish we could have other people interested as well there, but we need to give a step at a time.</p><p>Although nowadays Agile has became <em>a thing</em> and you need to do stuff in a certain way in order to be able to call yourself Agile, the true is that not two different teams are the same, and each and every team should figure out how they want to be agile. I’ve worked</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8b572431077" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Love and Work]]></title>
            <link>https://esauro.medium.com/love-and-work-982ae0ded57e?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/982ae0ded57e</guid>
            <category><![CDATA[family]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Fri, 28 Sep 2018 07:30:54 GMT</pubDate>
            <atom:updated>2018-09-28T07:30:54.007Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the last few months my grandad and my grandma passed away. I was very lucky because when I was a child I spent huge amount of time with them. In a way, my experience of them shaped the person I became, and to me they both represent Love and Work.</p><p>I grew up spending my summers in my grandparents house. I wasn’t a big fancy house, just a normal house and we spent a lot of time playing games like board games and watching the television. In those summers, I discovered for the first time software development, as I spent some time doing some coding in my uncle’s Amstrad CPC 464, but I learnt much more important things that just coding.</p><p>My grandma was The Love. Until she was too old she was always trying to make everybody comfortable and happy. She enjoyed small pleasures like playing a Parchis game just before going to the bed, a game in which by the way very likely she would cheat even although she was playing with her two little grandsons. She was not the average old grandma, but on the contrary funny and dynamic. Just a word was needed for her to start doing something special for you, normally around a food or a game.</p><p>My grandad was The Work. I was just a little boy and he woke up very early, went to work, come back for lunch, and then back to work until the late evening, and he used to do this every day. My grandad didn’t have many opportunities, he only attend school for a few years, but he was very intelligent and managed to progress in life and create a very nice family (I know I’m not objective to judge, but it’s pretty nice ;) ). It wasn’t easy for him. He had to work very hard, in some days up to 20 hours, working so hard was his way of loving, because he had to be the provider.</p><p>I believe it was the combination of Love and Work that made my family successful, I think this is needed in all the aspects of life. You can work as hard as you could but if you don’t like what you are doing the result is not going to be good, and the opposite is also true, it doesn’t matter how much you love an idea if you don’t work on it, the result is not going to be good.</p><p>Work and Love is something that is deeply set in my own personality, I can’t be involved half way in anything, either I’m involved and I’m passionate about it or I’m not involved and I don’t care at all. This made me progress in my career so far, but it also made me feel unhappy when others don’t share the passion or the commitment. This is also challenging for the people around me, as it looks like I’m always looking for my next challenge, I can’t compromise with anything, and I need to have something in my mind to work on.</p><p>For me the journey is more important than the destination. At the end of the day, reaching the destination is just the beginning of a new journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=982ae0ded57e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2016]]></title>
            <link>https://esauro.medium.com/2016-efcbe656a5f8?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/efcbe656a5f8</guid>
            <category><![CDATA[retrospectives]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[2016]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Fri, 09 Dec 2016 19:15:12 GMT</pubDate>
            <atom:updated>2016-12-09T19:15:12.081Z</atom:updated>
            <content:encoded><![CDATA[<p>We are approaching to end of year and it’s a good moment to do a retrospective of the last year. For me, 2016 have been quite a remarkable year.</p><p>It all started around 2010, at that moment I was working for the University of La Laguna, but, for some reason, I started thinking in moving out. I told my family, and they agreed at first, our plan was to move to London, one city I felt irremediably in love couple of years before doing tourism, but when the plan was getting concrete, they felt a little bit uncomfortable with the idea, so we decided to postpone it. Since then I always wanted to moved here, but we never found the perfect timing. Giving up on that idea, I decided to accept a job at Acrede, but they day before I started they were acquired by Intuit, their office in Tenerife would be closed and people will be either fired or moved to London. They decided not to bring me to London, but I decided otherwise and I started looking myself for a job here.</p><p>I decided to come to <a href="https://www.siliconmilkroundabout.com/">Silicon Milk Roundabout</a>, a tech job fair where lots of companies where looking for people like me. I met Morgan Sowden the recently CTO of <a href="http://octopuslabs.com/">Octopus Labs</a>, we talked a little bit, and we followed up after and by this time last year I already accepted the offer they made to me. So I was absolutely terrified for how would be all this movement. I relocated from Tenerife to London. I would start working in a new company, in a new language, and with a lot of technology I was not familiar with.</p><p>So I came to London, I started working on <a href="https://octopuschoice.com/">Octopus Choice</a>. We managed to finish the work that was being done within just one month and released an MVP with just one loan available in the platform to a small selection of 7 users allowed to put up to £100 each. Everything was starting, now we have more than 2000 users, with almost £40m lent so far and currently assets under management for more than £20m. I think I have contribute, in my humble capacity, to this massive success, and I hope to be able to have a similar contribution in ongoing years.</p><p>My family followed me to London, and I’m quite impressed on how well they have settled in. 2015 was full of uncertainty and in and outs, but 2016 have been an amazing year. I have done lots of new things, know lots of interesting people, and grow personally and professionally a lot. How better will be 2017 we need to wait for just 1 year to know.</p><p>For all this reasons, it’s time to me to sing:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQ3Kvu6Kgp88%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQ3Kvu6Kgp88&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQ3Kvu6Kgp88%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/09baf08e15764c0d4398c573745baa3d/href">https://medium.com/media/09baf08e15764c0d4398c573745baa3d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efcbe656a5f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From MVP to Business as usual]]></title>
            <link>https://esauro.medium.com/from-mvp-to-business-as-usual-f428759bea0a?source=rss-c949e3da46d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f428759bea0a</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[mvp]]></category>
            <category><![CDATA[lean-startup]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[esauro]]></dc:creator>
            <pubDate>Wed, 02 Nov 2016 21:02:23 GMT</pubDate>
            <atom:updated>2016-11-02T21:02:23.503Z</atom:updated>
            <content:encoded><![CDATA[<p>When I joined my new job some months ago, we had nothing, just 80% of an MVP was ready. At the very beginning, we face some insane deadlines, and lots of time found ourselves figuring out what we needed out by the end of that day. We were cutting corners, so absolutely not time for tests unless they were the hard core of the system we were building.</p><h4>So how do you transition from successful MVP to a business as usual?</h4><p>We managed to create an MVP with roughly around 30% of code covered by unit tests. Bear in mind we were cutting corners so the percentage is not that bad, especially if you realise that 30% is not randomly distributed across the code, but it’s the most important code we have. The process for creating tests was really hard, as we need to have test doubles for absolutely everything accessing DB. I recently came up with a mechanism to use, instead, a real DB instead of having to mock everything, so we can now avoid the hassle of writing the mocks/stubs, instead, we just created the data we need in DB, and run against it. I think this will mean in time we will be able to write tests much faster and in turn to increase a lot our code coverage. I’m asking my team to use more and more this mechanism in the future.</p><h4>Ok, tests. What else?</h4><p>As a team, we have a strong commitment about resilience. We want to be able to undo any critical operation we have. By now we are using complex mechanism to do that, but we think in the near future that will drive us to event driven (<a href="http://martinfowler.com/eaaDev/EventSourcing.html">event sourcing</a>, <a href="http://martinfowler.com/bliki/CQRS.html">CQRS</a>, <a href="https://engineering.linkedin.com/distributed-systems/log-what-every-software-engineer-should-know-about-real-time-datas-unifying">event logging</a>, you name it), for now, it’s just a thought in my mind, but we are looking into the best way to implement it (<a href="https://kafka.apache.org/">Kafka</a>, Google Pub/Sub, etc.)</p><h4>Scaling up is not only about tech, the business has to scale up too.</h4><p>We start having users, and the growth we had so far has incredibly exceed the expectations. Growing pains happen, they are good problems to have, but they are still problems. The only thing you can do with this is to prioritise. Obviously it would depend on the nature of the growing pains you are experiencing, but finding a good balance between how you communicate unexpected situations to the users and how much time you spend making more automatic for your operation team can be the success key.</p><h4>Avoid the urgent preventing you from making the important.</h4><p>When you are on the peak it’s really easy to forget about thinking with a broader mind. You need to step back and figure out in a longer timeframe what are likely to be your challenge, order them by impact and urgency, and focus first on those where impact and urgency is high.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f428759bea0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>