<?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 Adriano Di Giovanni on Medium]]></title>
        <description><![CDATA[Stories by Adriano Di Giovanni on Medium]]></description>
        <link>https://medium.com/@adrianodigiovanni?source=rss-e9f6377b55be------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*yqB45Mrima--_DCT.jpeg</url>
            <title>Stories by Adriano Di Giovanni on Medium</title>
            <link>https://medium.com/@adrianodigiovanni?source=rss-e9f6377b55be------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:23:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adrianodigiovanni/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[Meet Reaves]]></title>
            <link>https://adrianodigiovanni.medium.com/meet-reaves-f789439acb78?source=rss-e9f6377b55be------2</link>
            <guid isPermaLink="false">https://medium.com/p/f789439acb78</guid>
            <category><![CDATA[event-sourcing]]></category>
            <category><![CDATA[entity-attribute-value]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Adriano Di Giovanni]]></dc:creator>
            <pubDate>Sat, 10 Nov 2018 19:21:42 GMT</pubDate>
            <atom:updated>2018-11-10T19:23:22.613Z</atom:updated>
            <content:encoded><![CDATA[<h3>Meet Reaves: Entity-Attribute-Model + Event Sourcing, the Redis way</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_N3HC-oO25UY98GveHOZrQ.jpeg" /></figure><p>Reaves is a package that I’ve just <a href="https://www.npmjs.com/package/reaves">released on npm</a>. It is a Javascript implementation of the <a href="https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model">Entity-Attribute-Value model</a> and the <a href="https://martinfowler.com/eaaDev/EventSourcing.html">event sourcing pattern</a>. It runs on Node.js. It is backed by Redis.</p><p>Simply put, Reaves lets you save and retrieve present and past string values for attributes that belong to entities identified by string IDs.</p><p>This very first release is pretty minimalistic. Nonetheless, Reaves already supports <em>case-sensitivity</em>, <em>nullable</em> and <em>unique</em> constraints for values and it implements a bunch of useful methods to <a href="https://adriano-di-giovanni.github.io/reaves/EntityAttribute.html">query the data</a>.</p><p>I’m very proud of Reaves because it is a not-so-small piece of software that solves a real problem. It solves it well, I think, and it doesn’t require us — you and me — to add another technology to our stack.</p><p>The core functions are written in Lua for performance and atomicity. They are loaded into the script cache of Redis at runtime using another npm package of mine, <a href="https://www.npmjs.com/package/luaload">luaload</a>, that also concatenates multiple script files into one on-the-fly.</p><p>I’m going to use Reaves to implement some features that rely on past and present values of entity attributes for production or administration purposes.</p><p>And by the way, Reaves is the acronym of <em>Redis entity attribute value event sourcing</em>.</p><p><strong>What do you think of Reaves and the idea behind it? Do you spot any drawbacks?</strong></p><p>Please, let me know. It is the reason I wanted to share Reaves with you.</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f789439acb78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I donate blood]]></title>
            <link>https://adrianodigiovanni.medium.com/why-i-donate-blood-ed04a1fe7d97?source=rss-e9f6377b55be------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed04a1fe7d97</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Adriano Di Giovanni]]></dc:creator>
            <pubDate>Fri, 12 Oct 2018 13:46:17 GMT</pubDate>
            <atom:updated>2018-10-12T13:46:17.829Z</atom:updated>
            <content:encoded><![CDATA[<p>I donate blood once a month.</p><p>I started donating when I was 18, mainly because of my mother’s example. I’ve grown into this habit without asking.</p><p>My blood type is AB+. At some point in time, somebody told me that it is rare and it can only be given to AB+ others unless it is processed to use its plasma. AB plasma is universal and can be used for all patients regardless of their blood type. That same somebody also suggested me to start donating plasma. I soon started.</p><p>When you donate plasma, a needle is placed in a vein in your arm. Your blood is collected and then separated into its components: plasma, red blood cells, white blood cells, and platelets. All but the plasma is then returned to you through that same needle and fluids are given to help replace the plasma. It takes way more time than donating the whole blood.</p><p>I’ve never questioned the habit of donating blood, but I know it wasn’t because of the habit that I switched to plasma donation.</p><p>Why I donate blood? I mean, I don’t like people. Why help them?</p><p>Donating blood is good for health and provides a free blood test. Nonetheless, I could earn the same benefits donating the whole blood every three months.</p><p>So, again. Why help people? Why help that person? I realized it today.</p><p>People fighting disease often starts to value love and life more.</p><p>I want to be there. I want to connect. Someway.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed04a1fe7d97" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>