<?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 Daniel Diaz on Medium]]></title>
        <description><![CDATA[Stories by Daniel Diaz on Medium]]></description>
        <link>https://medium.com/@danieldiazlajara?source=rss-95ef2fb81e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Hd4HKQFZkxUzeSLIyYKcBA.png</url>
            <title>Stories by Daniel Diaz on Medium</title>
            <link>https://medium.com/@danieldiazlajara?source=rss-95ef2fb81e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 01:25:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danieldiazlajara/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[Checklist to prevent your email campaigns from going to spam]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@danieldiazlajara/checklist-to-prevent-your-email-campaigns-from-going-to-spam-b3c4bcbde968?source=rss-95ef2fb81e4------2"><img src="https://cdn-images-1.medium.com/max/2600/0*qO41RalSsVqOQi_u" width="5184"></a></p><p class="medium-feed-snippet">A list of tips to improve the effectiveness and reach of your campaigns</p><p class="medium-feed-link"><a href="https://medium.com/@danieldiazlajara/checklist-to-prevent-your-email-campaigns-from-going-to-spam-b3c4bcbde968?source=rss-95ef2fb81e4------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@danieldiazlajara/checklist-to-prevent-your-email-campaigns-from-going-to-spam-b3c4bcbde968?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3c4bcbde968</guid>
            <category><![CDATA[email-marketing]]></category>
            <category><![CDATA[email-marketing-tips]]></category>
            <category><![CDATA[email]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Sun, 21 Jan 2024 10:36:39 GMT</pubDate>
            <atom:updated>2024-01-21T10:36:39.356Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to be an IT freelancer in Spain]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/democratizing-finance/how-to-be-an-it-freelancer-in-spain-37956f8745cb?source=rss-95ef2fb81e4------2"><img src="https://cdn-images-1.medium.com/max/2600/0*KuY5clja8Sik3vZ2" width="5616"></a></p><p class="medium-feed-snippet">&#x2026;without perishing in the attempt</p><p class="medium-feed-link"><a href="https://medium.com/democratizing-finance/how-to-be-an-it-freelancer-in-spain-37956f8745cb?source=rss-95ef2fb81e4------2">Continue reading on Democratizing.Finance »</a></p></div>]]></description>
            <link>https://medium.com/democratizing-finance/how-to-be-an-it-freelancer-in-spain-37956f8745cb?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/37956f8745cb</guid>
            <category><![CDATA[taxes]]></category>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[spain]]></category>
            <category><![CDATA[self]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 15:33:28 GMT</pubDate>
            <atom:updated>2023-09-20T15:47:18.458Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What’s new in Hyperledger Fabric 2.5]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/web3-magazine/whats-new-in-hyperledger-fabric-2-5-c59a24eb7af?source=rss-95ef2fb81e4------2"><img src="https://cdn-images-1.medium.com/max/1050/0*KWM4OvUdT7CnU1Lk" width="1050"></a></p><p class="medium-feed-snippet">Privacy in focus in this new release</p><p class="medium-feed-link"><a href="https://medium.com/web3-magazine/whats-new-in-hyperledger-fabric-2-5-c59a24eb7af?source=rss-95ef2fb81e4------2">Continue reading on Web3 Magazine »</a></p></div>]]></description>
            <link>https://medium.com/web3-magazine/whats-new-in-hyperledger-fabric-2-5-c59a24eb7af?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c59a24eb7af</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-development]]></category>
            <category><![CDATA[fabric]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Wed, 29 Mar 2023 07:40:03 GMT</pubDate>
            <atom:updated>2023-03-29T07:40:03.042Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What NOT to store in a Blockchain]]></title>
            <link>https://medium.com/web3-magazine/what-not-to-store-in-a-blockchain-71a1d3d9f3aa?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/71a1d3d9f3aa</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Thu, 26 Jan 2023 21:27:37 GMT</pubDate>
            <atom:updated>2025-01-04T23:31:57.471Z</atom:updated>
            <content:encoded><![CDATA[<h4>The keys to distinguishing between on-chain and off-chain information</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*owKYTEg3-kV3pDLw" /><figcaption>Photo by <a href="https://unsplash.com/@kar111?utm_source=medium&amp;utm_medium=referral">Karine Avetisyan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As a general rule, we store in blockchain networks <strong>information that we want to keep immutable and accessible</strong> to network participants. This is the case of <a href="https://medium.com/democratizing-finance/the-bitcoin-whitepaper-explained-with-visuals-f04b33019140">Bitcoin</a> monetary transactions, where high levels of <strong>transparency and security</strong> are achieved.</p><figure><img alt="Blockchain Bitcoin" src="https://cdn-images-1.medium.com/max/1024/1*JfeVQo18vzdj2cVK6fpvZA.png" /></figure><p>However, blockchain networks have evolved along unexpected lines: the emergence of <strong>private and/or permissioned networks</strong> and, above all, of s<strong>mart contracts</strong> have made the questions <strong>“WHAT to store” and “WHAT NOT to store”</strong> less trivial.</p><p><a href="https://medium.com/web3-magazine/7-inspiring-blockchain-use-cases-beyond-cryptocurrencies-f615eac03fbe">7 inspiring Blockchain use cases beyond cryptocurrencies</a></p><h3>Heavy information</h3><p>Are you planning to keep <strong>your wedding photos</strong> immutable? Are you planning to make an <strong>NFT avatar with your dog’s picture</strong>? Contrary to what it may seem, <strong>images are not stored on the Blockchain</strong>. This is a strongly discouraged practice, as it can cause <strong>cost overruns and network slowdowns</strong>. Remember that heavy data would be stored on all nodes that support the ledger.</p><figure><img alt="Blockchain NFT" src="https://cdn-images-1.medium.com/max/1024/1*-nv2AtqbMU4ykTbNujmwgw.png" /></figure><h3>Sensitive or confidential information</h3><p>If you work with a public network definitely: <strong>DON’T do it</strong>. Let’s remember that immutability goes hand in hand with the<strong> publicity of data between network participants</strong>. This refusal is accentuated if we take into account <strong>data protection regulations</strong> in Europe, such as the <strong>GDPR</strong>.</p><blockquote>In the case of private and/or permissioned networks, this has nuances that will be discussed below.</blockquote><h3>Passwords and/or keys</h3><p>Keeping your passwords <strong>in one place forever</strong> may seem like a good idea for the forgetful… <strong>No way!</strong> Pay for a professional password manager or use <a href="https://keepass.info/">KeePass</a>, a great open source alternative!</p><figure><img alt="Blockchain participants" src="https://cdn-images-1.medium.com/max/1024/1*a82Ef1iXbE8x1SmW1nfhcw.png" /></figure><h3>What to store in a Blockchain</h3><p>The following table summarises what we <strong>CAN/should store in the blockchain</strong>, depending on whether it is public or private.</p><figure><img alt="Blockchain what to store" src="https://cdn-images-1.medium.com/max/1024/1*kH4eV4AnCo6xBMIVdeIB1w.png" /></figure><h4>Hashes</h4><p><strong>Hash functions</strong> are the great <strong>allies of Blockchain networks</strong>. They allow us to store a kind of <strong>“fingerprint” of our information, the DNA of our documents</strong>. While we can easily calculate the hash value of the data and check it on the blockchain, the rest of the participants without this data <strong>will only see a string of letters and numbers</strong>.</p><h4>Heavy information</h4><p><strong>It is the hash that is stored on the blockchain</strong>, while the information can go to any type of storage: <strong>from a conventional database to systems such as IPFS</strong>.</p><h4>Sensitive information</h4><p>It can be <strong>stored in private networks</strong> if strictly necessary. For example, <strong>Hyperledger Fabric</strong> offers relatively secure solutions such as <strong>channels or private data collections</strong>. In any case, extreme caution should be exercised by opting for measures such as data <strong>encryption</strong>.</p><h4>Keys</h4><p>In <strong>blockchain-based identity solutions</strong>, the public key is stored in the network, which is not against <strong>cryptographic orthodoxy</strong>.</p><blockquote>We will delve more into these identity protocols in a future article!</blockquote><p>In summary, when it comes to use of <strong>blockchain technology</strong>, it is very important to clarify at the <strong>design stage </strong>which information will go <strong>to the network (on-chain) and which will go to other types of storage (off-chain)</strong>. This will take advantage of the strengths of distributed technology without sacrificing <strong>security and privacy, avoiding potential ethical and legal implications</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71a1d3d9f3aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web3-magazine/what-not-to-store-in-a-blockchain-71a1d3d9f3aa">What NOT to store in a Blockchain</a> was originally published in <a href="https://medium.com/web3-magazine">Web3 Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy your Fabric Blockchain with Vagrant!]]></title>
            <link>https://medium.com/web3-magazine/deploy-your-fabric-blockchain-with-vagrant-d270333ca314?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d270333ca314</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[hyperledger]]></category>
            <category><![CDATA[vagrant]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Mon, 19 Dec 2022 08:01:44 GMT</pubDate>
            <atom:updated>2022-12-19T08:01:44.884Z</atom:updated>
            <content:encoded><![CDATA[<h4>All you need to easily set up your test networks</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KFMlw9Y50IqOOokJ" /><figcaption>Photo by <a href="https://unsplash.com/@designedbyflores?utm_source=medium&amp;utm_medium=referral">Omar Flores</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A <strong>conventional database </strong>does not require much more than <strong>a couple of commands</strong> to set it up. However, a <strong>Blockchain network </strong>is <strong>much more complex</strong>: generation of certificates and cryptographic keys, programming and deployment of <strong>smart contracts</strong>…</p><p>This is where the <strong>DevOps</strong> philosophy comes into play: <strong>automation, coordination and optimisation</strong> of processes in the service of the Blockchain!</p><h3><strong>DevOps with Hyperledger Fabric Blockchain</strong></h3><p>On a platform like <a href="https://medium.com/@danieldiazlajara/first-steps-in-hyperledger-fabric-blockchain-b56fc827726c">Hyperledger Fabric</a>,<strong> DevOps tools become even more useful</strong>. The processes of channel creation, smart contract deployment and other network tasks are quite tedious, but also <strong>repetitive and well-defined</strong>, making them easy to automate.</p><p>Tools like <strong>Ansible, Kubernetes, Terraform, CI/CD</strong> can be very helpful for a network administrator. However, a developer of <strong>client applications or smart contracts</strong> just wants a network on which he can test his code quickly, <strong>whithout all the tricky steps</strong> involved in a network deployment.</p><p>This is why I decided to dive into this paradigm with <strong>Vagrant</strong>.</p><h3>Vagrant on Twitter: &quot;Future Tweets about #Vagrant will be here. Just reserving the name. @mitchellh tweets about Vagrant for now. / Twitter&quot;</h3><p>Future Tweets about #Vagrant will be here. Just reserving the name. @mitchellh tweets about Vagrant for now.</p><h3>What is Vagrant?</h3><blockquote>Is there really anyone who doesn’t know Vagrant?</blockquote><p><a href="https://www.vagrantup.com/">Vagrant</a> is a utility developed by <strong>HashiCorp</strong> that allows you to easily create <strong>virtual development environments</strong>.</p><blockquote>“Development Environments Made Easy”</blockquote><p>To do so, it makes use of a <strong>declarative configuration file</strong> (Vagrantfile) that allows describing all the <strong>software, hardware requirements, operating system or users</strong> that the machine needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*noXN1akfEihkRUvvxOrgXg.png" /><figcaption>Vagrant functioning</figcaption></figure><h3><strong>Hyperledger Fabric + Vagrant</strong></h3><p><a href="https://github.com/DanielDiazLajara/Hyperledger-Fabric-Vagrant">In this case</a>, it has been used to create a sandbox for <strong>Fabric developers and blockchain enthusiasts </strong>in general.</p><p><a href="https://github.com/DanielDiazLajara/Hyperledger-Fabric-Vagrant">GitHub - DanielDiazLajara/Hyperledger-Fabric-Vagrant: Vagrant configuration to set up Hyperledger Fabirc environment ready for testing</a></p><p>As shown in the <strong>Vagrantfile</strong> below, <strong>the configuration</strong> used automates:</p><ul><li>Creation of a <strong>virtual machine with Ubuntu 20</strong> ready to be used.</li><li>Installation of the basic <strong>Fabric dependencies</strong>.</li><li>Downloading the latest <strong>Fabric binaries and Docker images</strong>.</li><li>Creation of the <strong>network</strong>.</li><li>Installing the <strong>dependencies to create Fabric client applications</strong> and <strong>smart contracts with Golang</strong>.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d20feb28b8063aa00e8a561e9710f11d/href">https://medium.com/media/d20feb28b8063aa00e8a561e9710f11d/href</a></iframe><p>In this way, anyone can have a test network to test <strong>smart contracts and client applications</strong>, without all the complications that <strong>dependencies </strong>entail. All with a simple <strong>command</strong>:</p><blockquote>“vagrant up”</blockquote><p>If this <strong>test environment gets very dirty</strong>, you can always <strong>destroy</strong> it and then build it up again, saving you a lot of tedious or repetitive steps.</p><blockquote>“vagrant destroy”</blockquote><h3><strong>Next steps</strong></h3><p>The project has just started! The following functionalities to be incorporated include:</p><ul><li>Automatic <strong>installation of smart contracts</strong>.</li><li>Deployment of Node JS <strong>API</strong> <strong>for interaction with smart contracts</strong>.</li><li>On-demand deployment of <strong>Portainer</strong> and other network monitoring and management applications (<strong>Grafana, Prometheus</strong>).</li><li>Support for <strong>other smart contracts and SDK languages</strong>.</li><li>Customize Fabric binaries and images to use.</li><li>Complex networks creation making use of tools like Terraform and Ansible.</li><li>CI Pipeline for Hyperledger Fabric smart contracts.</li></ul><p><strong>Stay tuned!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d270333ca314" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web3-magazine/deploy-your-fabric-blockchain-with-vagrant-d270333ca314">Deploy your Fabric Blockchain with Vagrant!</a> was originally published in <a href="https://medium.com/web3-magazine">Web3 Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Bitcoin whitepaper explained with visuals]]></title>
            <link>https://medium.com/democratizing-finance/the-bitcoin-whitepaper-explained-with-visuals-f04b33019140?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f04b33019140</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Sun, 18 Dec 2022 23:06:01 GMT</pubDate>
            <atom:updated>2022-12-19T07:10:01.620Z</atom:updated>
            <content:encoded><![CDATA[<h4>We explain one of the papers that have revolutionised finance and technology in our time.</h4><figure><img alt="bitcoin whitepaper" src="https://cdn-images-1.medium.com/max/1024/0*IGxQ2S0CtpMKv_G-" /><figcaption>Photo by <a href="https://unsplash.com/@thoughtcatalog?utm_source=medium&amp;utm_medium=referral">Thought Catalog</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A few weeks ago it was the anniversary of <strong>the Bitcoin whitepaper</strong>, considered by many to be <strong>the “most influential in history”</strong>. No wonder: it laid the foundations for <strong>Blockchain technology </strong>and has led to the emergence of a vast market of <strong>cryptocurrencies and other digital assets</strong> that mobilise huge amounts of wealth every day.</p><p>It is a <strong>short but elegant text</strong> that, with only<strong> 9 pages and 8 references</strong>, is capable of laying the foundations for a <strong>new digital economy</strong>. As for its author, the only thing we know is that he <strong>signs under the pseudonym of Satoshi Nakamoto</strong>, who may be one or several people who, for the moment, have preferred to remain anonymous. Join me throughout this post to go deeper into this <strong>disruptive and enigmatic paper</strong>!</p><h3>Let’s start at the beginning…</h3><blockquote>“Internet commerce has come to rely almost exclusively on financial institutions acting as trusted third parties to process electronic payments”.</blockquote><p>In its introduction, Nakamoto references to the <strong>current financial model</strong>, in which money exchanges are entrusted to <strong>third parties</strong> (banks). The fact that trust is the cornerstone of the system is its <strong>greatest weakness</strong>. Nakamoto proposes the creation of a financial system where <strong>cryptography is the link between the parties</strong>, eliminating intermediaries. <strong>Said and done!</strong></p><figure><img alt="bitcoin whitepaper" src="https://cdn-images-1.medium.com/max/900/0*EK6gDlDcG7WofvZq.png" /><figcaption>We entrust our monetary transactions to trusted third parties.</figcaption></figure><h3>Transactions and blocks</h3><p><em>In the conventional system, </em><strong><em>what do we do to transfer money?</em></strong> It’s simple: we log into our bank’s application, select an <strong>amount</strong> and the <strong>recipient</strong>, and confirm the transaction by entering<strong> some kind of PIN</strong> that confirms our identity.</p><blockquote>“We define an electronic coin as a chain of digital signatures. Each owner transfers the coin to the next by digitally signing a hash of the previous transaction and the public key of the next owner and adding them to the end of the coin”.</blockquote><p>Something very similar happens with <strong>Bitcoin</strong>, but with a strong <strong>cryptographic component</strong>. Let’s say that a <strong>user’s public key is their account number</strong>, which anyone can find out in order to make a deposit. Meanwhile, <strong>their private key is their “password”</strong>, which is used to confirm transactions and prove their identity.</p><figure><img alt="bitcoin whitepaper" src="https://cdn-images-1.medium.com/max/900/0*8Aran99sy0X5Wbc8.png" /><figcaption>Bitcoin is based on so-called “public key” cryptography.</figcaption></figure><p><strong><em>But what is a hash? </em></strong>It is nothing more than a kind of unique <strong>transaction identifier</strong>. When we transfer money, we indicate the <strong>hash of the previous transaction</strong>, thus ensuring that transactions are in order and that the same money is not spent twice. This forms the <strong>cryptographic glue of transactions and blocks</strong>, allowing anyone to check the integrity of the blockchain.</p><figure><img alt="bitcoin whitepaper" src="https://cdn-images-1.medium.com/max/900/0*ss6QNX4d7ySRO_YM.png" /><figcaption>Each block has the hash of the previous block, which gives the chain consistency.</figcaption></figure><h3>Proof-of-Work and consensus</h3><blockquote>“The proof of work also solves the problem of determining representation in majority decision making”.</blockquote><p><strong><em>What is the proof of work? How do you get the nodes of a network to agree on the ordering of blocks of monetary transactions without intermediaries? </em></strong>Mathematics, and more specifically the aforementioned<strong> hash functions</strong>, have the answer. These functions are also called <strong>one-way functions</strong>, in other words, it is very easy to calculate the hash of a piece of data, but it is <strong>very complicated to calculate the data from its hash</strong>. With this premise, a <strong>“mathematical challenge” is created for each new block</strong>, the complexity of which increases with the number of blocks in the chain. When one participant in the network solves it, <strong>the rest can easily check that the solution is correct</strong>. This process is called<strong> “block mining”</strong>, although Nakamoto does not mention the term (nor does he explicitly mention “blockchain”).</p><figure><img alt="bitcoin whitepaper" src="https://cdn-images-1.medium.com/max/900/0*bT1aIuYnLD9oNHDz.png" /><figcaption>Hash functions are easy to perform, but very complicated to reverse.</figcaption></figure><h3>Incentives</h3><p><strong><em>Why mine?</em></strong> In other words, why do thousands of people and organisations <strong>spend hardware and energy resources</strong> on the complex calculations required by the network? According to Nakamoto:</p><blockquote>By convention, the first transaction in a block is a special transaction that initiates a new coin owned by the creator of the block.”</blockquote><p>It’s as easy as that: <strong>if you manage to mine a block, you get a Bitcoin</strong>, which is not insignificant at the latest currency prices. In addition, nodes also earn commissions <strong>for transactions processing</strong>. These incentives also help to <strong>discourage malicious nodes</strong>: <em>what’s more profitable, defrauding the network or earning $20,000?</em></p><h3>All this, in a network</h3><p>We already know how <strong>transactions and blocks on the chain are linked</strong>, how <strong>consensus</strong> is reached in the network through <strong>proof of work (mining)</strong> and what <strong>incentives</strong> there are for this.</p><p>At this point, <strong>Nakamoto</strong> explains how the network is coordinated, the distributed component that makes the <strong>Blockchain so robust</strong>. The algorithm is <strong>simple and illustrative</strong>:</p><ol><li>New transactions are <strong>broadcast to all nodes</strong>.</li><li>Each node collects the <strong>new transactions in a block</strong>.</li><li>Each node works to solve <strong>the proof of work </strong>for its block.</li><li>When a node finds a proof of work, it <strong>broadcasts the block to all nodes</strong>.</li><li>The <strong>nodes accept the block </strong>only if all the transactions it contains are valid and have not already been spent.</li></ol><p>After these simple steps, all the nodes add the accepted block to their blockchain and <strong>start working on the next block</strong>.</p><figure><img alt="bitcoin whitepaper" src="https://cdn-images-1.medium.com/max/900/0*hmcfJzKzilHGhlwx.png" /><figcaption>The new blocks are validated by all network participants.</figcaption></figure><h3><em>Privacy</em></h3><p><em>OK, I get it, but… </em><strong><em>How come my transactions are sent to all nodes?</em></strong> <em>Will everyone be able to see every single payment I make? </em>Not only that, but these records will <strong>remain written there “forever”</strong>. Wait, don’t panic. You still have to read the<strong> fine print</strong>:</p><blockquote>“The need to announce all transactions publicly precludes this method, but privacy can still be maintained by breaking the flow of information elsewhere: by keeping the public keys anonymous.”</blockquote><p>It is true that any participant in the network <strong>can see all transactions</strong>: how much was sent and the accounts (public keys) of sender and recipient. The catch is that <strong>these accounts are freely created and have no personal data assigned to them</strong>. In other words, we will know which accounts are involved in the transactions, <strong>but not who is behind them</strong> (unless they disclose it, of course). In this way, <strong>privacy is achieved through anonymity</strong>.</p><figure><img alt="bitcoin whitepaper" src="https://cdn-images-1.medium.com/max/900/0*kDvfYmtOY2o3lo4V.png" /><figcaption>Privacy is achieved by anonymising public keys.</figcaption></figure><h3>Final thoughts</h3><p>As we have seen through the previous points, Nakamoto did nothing more than <strong>use everyday concepts and existing technologies</strong> to, with great <strong>creativity and elegance</strong>, revolutionise the monetary and technological paradigm.</p><p>If you have reached this point, I can only <strong>congratulate you on your perseverance and thank you for reading</strong>. It is not easy to understand scientific publications with such a load of<strong> technicalities as the </strong><a href="https://bitcoin.org/bitcoin.pdf"><strong>Bitcoin whitepaper</strong></a>.</p><blockquote>I hope I have helped you understand Bitcoin and the underlying technology a little better!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f04b33019140" width="1" height="1" alt=""><hr><p><a href="https://medium.com/democratizing-finance/the-bitcoin-whitepaper-explained-with-visuals-f04b33019140">The Bitcoin whitepaper explained with visuals</a> was originally published in <a href="https://medium.com/democratizing-finance">Democratizing.Finance</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A brief reflection on Blockchain, immutability and cryptography]]></title>
            <link>https://medium.com/web3-magazine/a-brief-reflection-on-blockchain-immutability-and-cryptography-21d5fdbf7acd?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/21d5fdbf7acd</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Wed, 19 Oct 2022 20:27:04 GMT</pubDate>
            <atom:updated>2022-10-19T20:27:04.472Z</atom:updated>
            <content:encoded><![CDATA[<p>It is often said that <strong>transactions in a blockchain network are</strong> <strong>immutable</strong>. This is true for two fundamental reasons: <strong>cryptography</strong> and the <strong>distributed</strong> component of this technology. However, it is worth asking to what extent this feature is always a good thing. <strong>Let’s start at the beginning:</strong></p><h3>How is this immutability achieved?</h3><blockquote>If you already know the ins and outs of the Blockchain, you can move on to the next point, although it is always good to <strong>refresh concepts</strong>.</blockquote><p>In <strong>blockchain networks</strong>, each of the nodes that make them up <strong>has a ledger</strong>. As if it were a bank ledger, <strong>all transactions are recorded in it</strong>, with a peculiarity: each block contains <strong>the hash of the previous one</strong>, which is the <strong>cryptographic glue</strong> that gives cohesion to the chain. <strong>But that is not all.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4mY-1LrWrrTODYB2Ds5zcA.png" /><figcaption>Each block contains the hash of the previous one</figcaption></figure><p>Let’s imagine a “malicious accountant”. He <strong>changes the data of one transaction</strong> and <strong>recalculates</strong> all subsequent blocks of transactions. Thus, using the same cryptography as above, <strong>the chain would look legitimate and the accountant’s balance would match</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u_NF-Qr6CIHs5SH4Y1qsQw.png" /><figcaption>Malicious accountant</figcaption></figure><p>This is where<strong> the distributed component comes into play</strong>. Instead of a single accountant with a single ledger, Blockchain networks have <strong>thousands of distributed ledgers in different parts of the world (nodes)</strong>, which makes alterations very difficult. Even if one of them modifies its ledger, thousands of records will retain the original data. <strong>The integrity attack will have no effect*.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S1CFGD_bOKKpIPVpCu1oAQ.png" /><figcaption>The fact of being distributed guarantees immutability</figcaption></figure><h3>The dangers of this immutability</h3><blockquote>OK, great, we have the longed-for immutability! What’s wrong with it?</blockquote><p>Well, the main problem with immutability <strong>arises from the very cryptography that supports it</strong>. Cryptographic hashes are not exempt from being broken. For example, it is not very complicated to<strong> undo MD5 hashes or to search for collisions**</strong>.</p><blockquote>Wait a second… Today’s blockchain networks use<strong> SHA-256</strong>, which is highly secure.</blockquote><p>That’s right, but just because it is now <strong>doesn’t mean it always will be</strong>. The state of the art is advancing fast: <strong>quantum computers and increased computing power</strong> are among the threats to orthodox cryptography.</p><blockquote>This would not be a problem in a conventional system, but it is a problem in such an infrastructure <strong>where data remains immutable</strong> until… forever?</blockquote><p>In case of a zero-day vulnerability on these hash functions, <strong>malicious nodes could generate corrupt blocks that would nevertheless comply with the consensus rules</strong>. The ledger would then lose all credibility. This is why public and private blockchain networks must create<strong> contingency plans</strong> (if they do not already have them) for these<strong> cryptographic risks</strong>.</p><h3>Notes</h3><p><strong>*</strong> The distributed component of the blockchain does not always guarantee immutability. Sometimes attackers manage to modify more than half of the ledgers, altering the general consensus of the network. This is a 51% attack or chain denial.</p><p><strong>**</strong> A hash collision occurs when two different pieces of data produce the same hash, which violates the philosophy of these cryptographic functions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21d5fdbf7acd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web3-magazine/a-brief-reflection-on-blockchain-immutability-and-cryptography-21d5fdbf7acd">A brief reflection on Blockchain, immutability and cryptography</a> was originally published in <a href="https://medium.com/web3-magazine">Web3 Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IT and the fear of missing out]]></title>
            <link>https://medium.com/@danieldiazlajara/it-and-the-fear-of-missing-out-90eb1aa61a01?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/90eb1aa61a01</guid>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[fomo]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Sat, 17 Sep 2022 08:27:48 GMT</pubDate>
            <atom:updated>2022-09-17T08:27:48.998Z</atom:updated>
            <content:encoded><![CDATA[<p>You start learning <strong>Golang</strong> and<strong> Google launches Carbon</strong>, another programming language. Then you read on Twitter that teenager who already has<strong> three tech start-ups </strong>or that other one who works at Apple <strong>since he was 22 years old</strong>. Using Docker? <strong>That’s history!</strong></p><blockquote>Personally, I feel this way every week so don’t worry, you’re not alone. Let this post serve as a personal reflection and self-help in this regard.</blockquote><p>This feeling has a name: <strong>“FOMO syndrome”</strong> (<strong><em>fear of missing out</em></strong>), and it is a <strong>psychological pathology</strong> commonly related to the use of social networks and <strong>the need to have social iterations or novel experiences</strong>.</p><blockquote>Just the day you don’t go out partying, your friends have a great time. Sound familiar?</blockquote><h3>FOMO in IT world</h3><p>The technology sector is <strong>the most dynamic sector in human history</strong>. This dynamism has been accelerated even more in an interconnected world where <strong>people from all nations</strong> <strong>work and embark together on new projects</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KwVlBlRZGsFJATOs" /><figcaption>Photo by <a href="https://unsplash.com/@lucabravo?utm_source=medium&amp;utm_medium=referral">Luca Bravo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Those of us who embark on a professional adventure in this world have to <strong>choose from a diversity of specialties</strong>. Thus, we feel that, every time we choose to study or work in one field, <strong>we are sacrificing other technologies</strong>, frameworks and languages that could be as or more profitable, fun and motivating.</p><p>Therefore, we get carried away and buy <strong>courses that we never finish</strong>. We start reading that “<em>best book for developers</em>” <strong>that is a piece of crap</strong>. We jump on the cryptocurrency sector without a clue or program with Google’s new language <strong>even if it’s a cheap copy of Rust</strong>.</p><h3>Calm down</h3><p>This is my particular <strong>computer FOMO syndrome</strong>. I think the best way to deal with it is to focus on those paths we choose, without taking our eyes off them. As they say <strong>“all roads lead to Rome”</strong>.</p><blockquote>What if you get tired, or reach a point of no return? It’s never too late to take a shortcut or a detour.</blockquote><p><strong>WordPress</strong> was considered dead years ago and is <strong>still on the podium of web development</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90eb1aa61a01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[20 questions to ask yourself before using Blockchain in your project]]></title>
            <link>https://medium.com/web3-magazine/20-questions-to-ask-yourself-before-using-blockchain-in-your-project-f4d17436287c?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4d17436287c</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Mon, 22 Aug 2022 08:22:23 GMT</pubDate>
            <atom:updated>2022-08-22T08:22:23.070Z</atom:updated>
            <content:encoded><![CDATA[<p>It is well known that the <strong>Blockchain brings great value to many use cases</strong>. However, when it comes to choosing which form of storage to use, we should not get carried away by <strong>the hype generated by this technology</strong>. Follow me through this post in which I analyze<strong> a series of issues to take into account</strong>.</p><p><a href="https://medium.com/web3-magazine/7-inspiring-blockchain-use-cases-beyond-cryptocurrencies-f615eac03fbe">7 inspiring Blockchain use cases beyond cryptocurrencies</a></p><p><strong><em>NOTE:</em></strong><em> The process will be guided by images, as well as some considerations.</em></p><h3><strong>Initial thoughts</strong></h3><p>Some of these questions may give you clues as to whether Blockchain is a good fit for your project:</p><ul><li>Do you need <strong>consistent shared storage</strong>?</li><li>Do you need a <strong>tamper-proof registry</strong>?</li><li>Are there <strong>trust issues</strong> with your solution?</li><li>(…)</li></ul><figure><img alt="blockchain roadmap" src="https://cdn-images-1.medium.com/max/1024/1*_HItgjEN0Zcvrr6th0nN3g.png" /></figure><p>If after this first filter, you still think you need to use blockchain, it’s up to you to decide: <strong>public network or private network?</strong></p><h3><strong>I want to use a public network!</strong></h3><p>If you plan to store <strong>personal data or other sensitive information </strong>(company secrets, invoices…), discard this option! Even using cryptography, the information would be distributed through unknown nodes all over the world, which could lead to information leaks and litigation. Because of their restricted nature and smaller size, <strong>private networks may be a more secure option</strong>.</p><figure><img alt="blockchain roadmap" src="https://cdn-images-1.medium.com/max/1024/1*vxIbxJ5-kJhRUQW3KsvXyA.png" /></figure><p>Similarly, discard a public network if you need <strong>high throughput rates</strong> (high transaction volume and low latency). It should also be said that networks such as <a href="https://ethereum.org/en/">Ethereum</a> (“<em>the merge is approaching</em>”) promise to improve these rates significantly. Likewise, private networks <strong>present better performance metrics</strong>.</p><p>If you also need to <strong>update or delete data</strong>, don’t use a public network!</p><h4><strong>Perhaps a private network would be a better option…</strong></h4><p>Even in this case, <strong>sensitive information must be treated carefully</strong>. Consider using <strong>cryptography </strong>or other mechanisms such as <em>Hyperledger Fabric </em><a href="https://hyperledger-fabric.readthedocs.io/en/release-2.2/private-data/private-data.html"><em>Private Data Collections</em></a>.</p><figure><img alt="blockchain roadmap" src="https://cdn-images-1.medium.com/max/1024/1*ykpYtz4F9aV1Vq8hrc0Axw.png" /></figure><p>On the other hand, although some private networks allow updates and deletions, <strong>these are only fictitious</strong>. A copy of the past state will remain in the previous blocks. You must be extremely careful with this aspect because of <strong>legal obligations such as the right to be forgotten</strong> in some countries.</p><p><strong>How many organizations participate in your network?</strong> If your answer is one and you are not in an auditing use case, you may reconsider using a private blockchain.</p><p><a href="https://medium.com/@danieldiazlajara/first-steps-in-hyperledger-fabric-blockchain-b56fc827726c">First steps in Hyperledger Fabric Blockchain</a></p><h3><strong>Last questions</strong></h3><p><strong>Have you been honest?</strong> Well, you still have to evaluate many other questions (surprise!):</p><ul><li><strong>Technical questions</strong>: how many nodes are there, and how distributed are they? Are they enough to resist 51% attacks?</li><li><strong>Economic and financial</strong> questions: is the project viable, does it add value, does the market need it?</li><li><strong>Environmental</strong> questions: how is the environmental impact of the blockchain solution adopted? Is it in line with Corporate Social Responsibility and the company’s values?</li></ul><figure><img alt="blockchain roadmap" src="https://cdn-images-1.medium.com/max/1024/1*Gk570-eTNslMf2fP9YyALA.png" /></figure><p>Finally, remember that <strong>smart contracts are programs whose rules must be very well defined</strong>. Does your project fit? Good, now you “only” have to implement it and take it to production, with an exhaustive process of testing and security examinations.</p><p><strong>Good luck!</strong></p><p><a href="https://medium.com/@danieldiazlajara/smart-contracts-neither-smart-nor-contracts-dc76bbc6e5c8">Smart contracts: neither smart, nor contracts</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4d17436287c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web3-magazine/20-questions-to-ask-yourself-before-using-blockchain-in-your-project-f4d17436287c">20 questions to ask yourself before using Blockchain in your project</a> was originally published in <a href="https://medium.com/web3-magazine">Web3 Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Michael Burry, the bullwhip effect, and the next big crisis]]></title>
            <link>https://medium.com/democratizing-finance/michael-burry-the-bullwhip-effect-and-the-next-big-crisis-59b5c3f314e2?source=rss-95ef2fb81e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/59b5c3f314e2</guid>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[crisis]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Daniel Diaz]]></dc:creator>
            <pubDate>Tue, 12 Jul 2022 09:03:35 GMT</pubDate>
            <atom:updated>2022-07-12T09:03:35.488Z</atom:updated>
            <content:encoded><![CDATA[<h3>Michael Burry, the Bullwhip Effect, and the Next Big Crisis</h3><p><strong>An economic depression is brewing</strong>. Numerous economic and financial experts agree. The vast majority of macroeconomic indicators point to this. I am talking about <strong>inflation or interest rate hikes</strong>. <strong>Michael Burry</strong>, a famous investment fund manager, warns us of the bullwhip effect and the keys to the crisis that everyone is waiting for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*hxLM-TlljUVe9pzE4wz5RQ.jpeg" /><figcaption>Tweet from Michael Burry on his Twitter account warning about the whiplash effect.</figcaption></figure><h3>Background</h3><p>The year <strong>2007 </strong>saw the <strong>biggest economic crisis of the 20th century</strong> to date. It was triggered by the collapse of the Leman Brothers bank in the USA and soon spread to Europe and the rest of the world.</p><p>However, <strong>Michael Burry</strong>, a doctor and manager of the modest investment fund <em>Scion Capital</em>, became aware years earlier (2005) of the <strong>subprime mortgage pyramid scam</strong>. These facts were popularized by the book <strong>“The Big Short”</strong> by Michael Lewis and <a href="https://www.filmaffinity.com/es/film774066.html">the 2015 movie of the same name</a>.</p><p>These discoveries brought Michael<strong> significant profits</strong>, and he went on to devote himself to his personal investments. Since then, <a href="https://twitter.com/michaeljburry">Burry’s Twitter profile</a> has been the subject of much excitement among fans and professionals in the world of finance, given his <strong>riddles and predictions</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_IZ4pihOgf_QdJPrHioVzA.png" /><figcaption>Christian Bale plays Michael Burry in “The Big Short”.</figcaption></figure><h3>The Bullwhip Effect</h3><p>In one of his recent posts he warns of the <strong>“oversupply”</strong> in the retail market or <strong>“bullwhip effect”</strong>. Don’t go to the trouble of googling it, as the tweet suggests, <strong>I’ve already done it for you!</strong></p><p>This is a classic <strong>chain effect</strong>:</p><ul><li><strong>Consumers </strong>demand a good in large quantities, leading to a shortage (<em>say, 4 tables</em>).</li><li>Faced with such an avalanche, <strong>retailers </strong>decide to overstock, given the high demand. They place an order with an intermediary for a larger quantity, anticipating that demand will remain high or even increase (<em>8 tables</em>).</li><li><strong>Intermediaries</strong> receive increasing orders, which causes them to stock up in large quantities (<em>20 tables</em>), thus obtaining volume discounts (sales rapping).</li><li><strong>Manufacturers</strong> are overwhelmed by this spiral of orders and increase their production capacity (<em>40 tables</em>), requiring more resources (workers and raw materials).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h73wK3yhnfMGNeJGeGVFgA.jpeg" /><figcaption>Visualized whip effect. Source: <a href="https://www.minderest.com/es/blog/bullwhip-effect-en-los-precios">https://www.minderest.com/es/blog/bullwhip-effect-en-los-precios</a></figcaption></figure><p>It is a very <strong>intuitive</strong> and easy to understand process. In the example above we can see how an unusual demand of <strong>4 tables</strong> leading to a shortage can lead to a <strong>production of 40</strong>.</p><p>Along the way it is not surprising that the economy overheats: <strong>increased hiring, competition and rising wages or inflation</strong> (<em>this sounds familiar</em>) are some side effects. hese reflect investors’ expectations in the short/medium term).</p><p>However, when demand falls there is a <strong>supply and demand shock</strong>: large stocks fill up warehouses with no prospect of being sold. This economic cooling process can cause just the opposite effects: <strong>disinflation, deflation and unemployment</strong>.</p><h3>The current situation</h3><p>Despite the current high inflation, some data such as the<strong> increasing layoffs in the technology sector or the declines in commodity futures</strong> (these reflect investors’ expectations in the short/medium term) are in line with Michael’s thesis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*ERa_uLRKw0stGWSyFICY0w.png" /><figcaption>Number of technology companies laying off workers in the US.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*MKq_Udl3ORt1hhXC0_ohAQ.jpeg" /><figcaption>Evolution of the price of some commodity futures.</figcaption></figure><blockquote>Is Michael right? Is this the script for a new movie? What will be the new predictions?</blockquote><p>Since <strong>Michael Burry</strong> periodically deletes his tweets, some accounts are in charge of collecting them. This is the case of <a href="https://twitter.com/burryarchive">Michael Burry Archive</a>, where you can see his most recent activity.</p><p>If you found this story interesting you can <a href="https://medium.com/@danieldiazlajara">take a look at my profile</a>, where I will talk about Blockchain, finance, programming and, in general, anything I feel like 😉.</p><p><strong>See you next time!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59b5c3f314e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/democratizing-finance/michael-burry-the-bullwhip-effect-and-the-next-big-crisis-59b5c3f314e2">Michael Burry, the bullwhip effect, and the next big crisis</a> was originally published in <a href="https://medium.com/democratizing-finance">Democratizing.Finance</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>