<?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 The Quacker on Medium]]></title>
        <description><![CDATA[Stories by The Quacker on Medium]]></description>
        <link>https://medium.com/@bsse1202?source=rss-2d1c8bc40ee3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5BrASSLKc0ozplNS</url>
            <title>Stories by The Quacker on Medium</title>
            <link>https://medium.com/@bsse1202?source=rss-2d1c8bc40ee3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:08:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bsse1202/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[Using the Graph for indexing a proxy contract]]></title>
            <link>https://medium.com/@bsse1202/using-the-graph-for-indexing-a-proxy-contract-91ed48e2443e?source=rss-2d1c8bc40ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/91ed48e2443e</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[the-graph-protocol]]></category>
            <category><![CDATA[blockchain-indexing]]></category>
            <category><![CDATA[the-graph]]></category>
            <category><![CDATA[the-graph-network]]></category>
            <dc:creator><![CDATA[The Quacker]]></dc:creator>
            <pubDate>Mon, 20 May 2024 10:39:44 GMT</pubDate>
            <atom:updated>2024-05-20T10:39:44.985Z</atom:updated>
            <content:encoded><![CDATA[<p>The blockchain world is vast, filled with smart contracts that execute various functions and events. When it comes to interacting with these contracts, a key challenge arises: how can we efficiently track and utilize their data? This is where the Graph Protocol comes into play.</p><p>The Graph Protocol is a decentralized indexing protocol for querying networks like Ethereum and IPFS. It enables developers to efficiently access blockchain data through GraphQL queries. But how does it work? Well, it utilizes subgraphs, which are open APIs that anyone can query. These subgraphs index blockchain data, making it easily accessible for querying and analysis.</p><p>Now, imagine we have a smart contract deployed on Ethereum, containing various events and functions. We want to interact with this contract efficiently, tracking its events and executing its functions. To achieve this, we can use the Graph Protocol very easily.</p><p>All we have to do is connect our wallet and sign in to <a href="https://thegraph.com/studio/">https://thegraph.com/studio/</a>. Create a new subgraph, and follow the steps given there.</p><p>But a complication arises, when the contract uses a proxy for upgrades. In a smart contract with a proxy pattern, users interact with the proxy contract rather than the implementation contract. Both the proxy and implementation contracts remain immutable, but upgrades are enabled by allowing the proxy contract to interact with the latest implementation contract. It allows changes to the contract without having to change it’s address many times.</p><p>If we want to create a subgraph or index a proxy contract, the following steps should be followed:</p><p><strong>Original Contract Graph:</strong> Start by mapping out the events and functions of the original contract in a graph using graph studio. This provides a visual representation of its structure and functionalities. We don’t have to deploy this graph, we will only use it for reference as to how the original contracts schema, ABI and event handlers look like.</p><p><strong>Proxy Contract Graph: </strong>Next, create a graph for the proxy contract using the subgraph studio. Follow upto the “graph auth” command.</p><p>Then we have to make the following changes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/0*XjxWPMLBJUzutFj1" /></figure><p>This is the file structure of the project for the proxy contract(both look same if we have named them the same).</p><p><strong>File Structure Update:</strong> Update the file structure of the project for the proxy contract. Replace relevant files such as ABIs, schema, and event handlers with those from the original contract.</p><ol><li>In abis, replace the contract.json with the original contracts abi.</li><li>Then in build &gt; contract &gt; abis, replace the contract.json with the original contracts abi.</li><li>In build, replace the schema.graphql</li><li>In subgraph.yaml replace only the eventhandlers. The rest will stay the same (YES EVEN THE CONTRACT ADDRESS AND THE STARTBLOCK. DONT CHANGE THOSE).</li><li>In the generated &gt; contract &gt; contract.ts (the file will be named whatever name we chose for our contract while setting up the graph), add all the functions from the original contracts project, some may be duplicate, remove the duplicates.</li><li>Do the same for schema.ts in the generated folder.</li><li>In src &gt; contract.ts, replace with the original contracts file.</li><li>In the outer files of schema.graphql and subgraph.yaml -&gt; repeat the previous files processes (steps 3, 4)</li></ol><p><strong>Code Integration:</strong> Incorporate the functions from the original contract into the generated contract and schema files for the proxy contract. Ensure there are no duplicates and remove any redundant entries.</p><p><strong>Compilation and Deployment: </strong>Run the necessary commands (graph codegen, graph build, graph deploy) to compile and deploy the updated subgraph. This process generates the necessary artifacts and deploys them to the designated network.</p><p>By following these steps, we can seamlessly integrate a proxy contract with the Graph Protocol, allowing we to efficiently access and interact with the events and functions of the original contract. This setup enables easier tracking, querying, and utilization of blockchain data, enhancing the capabilities of decentralized applications.</p><p>However, if new events are added in contract upgrades, those events will not be reflected in the API, we will have to redeploy the graph. Since the graph studio allows versioning of the API, that can be easily achieved.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91ed48e2443e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Solidity]]></title>
            <link>https://medium.com/@bsse1202/learning-solidity-61f03dabdb98?source=rss-2d1c8bc40ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/61f03dabdb98</guid>
            <category><![CDATA[solidity]]></category>
            <dc:creator><![CDATA[The Quacker]]></dc:creator>
            <pubDate>Sat, 25 Jun 2022 16:12:54 GMT</pubDate>
            <atom:updated>2022-06-25T16:12:54.682Z</atom:updated>
            <content:encoded><![CDATA[<p>Day 5</p><p>We will learn all about addresses, mapping, msg.sender, require, inheritance and import in Solidity. We’ll also take a look at what memory and storage mean in solidity.</p><p>Let’s dive right in.</p><h3>Addresses</h3><p>The Ethereum blockchain is made up of accounts. An account has a balance of Ether (the currency used on the Ethereum blockchain), and you can send and receive Ether payments to other accounts. Each account has an address. It&#39;s a unique identifier that points to that account.</p><p>Simply, an address is owned by a specific user (or a smart contract).</p><h3>Mappings</h3><p>This is something we’ve seen before in other programming languages. This is like python dictionaries. A structure with key-value pairs called under a single name. The key or the value can be any data type.</p><p>A mapping example can be:</p><pre>mapping (address =&gt; uint) public accountBalance;</pre><p>Where the key is the address, the value is a uint, where the balance of the address is stored.</p><h3>Msg.sender</h3><p>In Solidity, there are certain global variables that are available to all functions. One of these is msg.sender, which refers to the address of the person (or smart contract) who called the current function.</p><p>In Solidity, function execution always needs to start with an external caller. A contract will just sit on the blockchain doing nothing until someone calls one of its functions. So there will always be a msg.sender.</p><pre><strong>mapping (address =&gt; uint) favoriteNumber;  </strong></pre><pre><strong>function setMyNumber(uint _myNumber) public { </strong>  <br><em>// Update our `favoriteNumber` mapping to store `_myNumber` under `msg.sender`</em>   </pre><pre><strong>favoriteNumber[msg.sender] = _myNumber;   <br></strong><em>// ^ The syntax for storing data in a mapping is just like with arrays</em> <br><strong>}  </strong></pre><pre><strong>function whatIsMyNumber() public view returns (uint) <br>{   </strong><br><em>// Retrieve the value stored in the sender&#39;s address</em>   <br><em>// Will be `0` if the sender hasn&#39;t called `setMyNumber` yet</em>  </pre><pre><strong>return favoriteNumber[msg.sender]; <br>}</strong></pre><h3>Require</h3><p>require makes it so that the function will throw an error and stop executing if some condition is not true. So we can set conditions with require :</p><pre><strong>function sayHiToVitalik(string memory _name) public returns (string memory) { <br> require(keccak256(abi.encodePacked(_name)) == keccak256(abi.encodePacked(&quot;Quacker&quot;)));</strong></pre><pre><em>// If it&#39;s true, proceed with the function:</em>   <br><strong>return &quot;Hi!&quot;;<br>}</strong></pre><h3>Inheritance</h3><p>Inheritance works the same in solidity as any other languages. This can be used for logical inheritance (such as with a subclass, a Cat is an Animal). But it can also be used simply for organizing your code by grouping similar logic together into different contracts.</p><p>The child, or inherited contract will have access to all the public functions of the parent contract.</p><p>An example:</p><pre><strong>contract Doge {   <br>function catchphrase() public returns (string memory) {     <br>return &quot;So Wow CryptoDoge&quot;;   <br>} }  </strong></pre><pre><strong>contract BabyDoge is Doge {   <br>function anotherCatchphrase() public returns (string memory) {     return &quot;Such Moon BabyDoge&quot;;   <br>} }</strong></pre><h3>Import</h3><p>If we use inheritance, we can seperate contracts on different files. When you have multiple files and you want to import one file into another, Solidity uses the import keyword:</p><pre><strong>import &quot;./someothercontract.sol&quot;;</strong></pre><h3>Storage vs Memory (Data location)</h3><p>In Solidity, there are two locations you can store variables — in storage and in memory.</p><p>Storage refers to variables stored permanently on the blockchain. Memory variables are temporary, and are erased between external function calls to your contract. Think of it like your computer’s hard disk vs RAM.</p><p>Most of the time you don’t need to use these keywords because Solidity handles them by default. State variables (variables declared outside of functions) are by default storage and written permanently to the blockchain, while variables declared inside functions are memory and will disappear when the function call ends.</p><p>That’s it for today! See you again next time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61f03dabdb98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Solidity]]></title>
            <link>https://coinsbench.com/learning-solidity-649eba2c30d0?source=rss-2d1c8bc40ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/649eba2c30d0</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[solidity-development]]></category>
            <dc:creator><![CDATA[The Quacker]]></dc:creator>
            <pubDate>Fri, 17 Jun 2022 10:26:07 GMT</pubDate>
            <atom:updated>2022-06-22T07:48:00.275Z</atom:updated>
            <content:encoded><![CDATA[<p>Day 4</p><p>Hello, we’re back once again!</p><p>So, today we’ll see how hash functions, typecasting and events in solidity work.</p><p><strong>Hashfunctions:</strong></p><p>A hash function is any function that can be used to map data of arbitrary size to fixed-size values. The values returned by a hash function are called hash values, hash codes, digests, or simply hashes. Hash functions are used <strong>for data integrity and often in combination with digital signatures</strong>. With a good hash function, even a 1-bit change in a message will produce a different hash (on average, half of the bits change). With digital signatures, a message is hashed and then the hash itself is signed.</p><p>There are different hashing algorithms you can implement on different prograaming languages. Solidity, however has the has function keccak256 built in, which is a version of SHA3. Using the hash function in solidity looks like this:</p><p>keccak256(abi.encodePacked(x));</p><p>Here, x is the string you want to implement the hash function on.</p><p><strong>Typecasting:<br></strong>Typecasting in Solidity works the same as any other programming language.</p><p>If you want to typecast an integer x to float you simply write:</p><p>float(x);</p><p>Here, we can create a random DNA generator function, which takes your name and returns a random fixed length DNA as output:</p><p>function _generateRandomDna(string memory _str) private view returns (uint) {</p><p>uint rand = uint(keccak256(abi.encodePacked(_str)));</p><p>return rand % dnaModulus;</p><p>}</p><pre>function _generateRandomDna(string memory _str) private view returns (uint) {</pre><pre>uint rand = uint(keccak256(abi.encodePacked(_str))); // this is where we are typecasting and hashing the string</pre><pre>return rand % 15; //will return a hash of length 15</pre><pre>}<br></pre><p><strong>Events:</strong></p><p><strong>Events</strong> are a way for your contract to communicate that something happened on the blockchain to your app front-end, which can be ‘listening’ for certain events and take action when they happen.</p><pre><br><em>// declare the event</em> <br>event IntegersAdded(uint x, uint y, uint result);  </pre><pre>function add(uint _x, uint _y) public returns (uint) {   <br>uint result = _x + _y;   <br><em>// fire an event to let the app know the function was called:</em>   <br>emit IntegersAdded(_x, _y, result);   <br>return result; <br>}</pre><p>Your app front-end could then listen for the event.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=649eba2c30d0" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/learning-solidity-649eba2c30d0">Learning Solidity</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Solidity]]></title>
            <link>https://coinsbench.com/learning-solidity-8ebf4c2afb02?source=rss-2d1c8bc40ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ebf4c2afb02</guid>
            <category><![CDATA[solidity]]></category>
            <dc:creator><![CDATA[The Quacker]]></dc:creator>
            <pubDate>Sun, 12 Jun 2022 16:58:45 GMT</pubDate>
            <atom:updated>2022-06-17T11:34:27.573Z</atom:updated>
            <content:encoded><![CDATA[<p>Day 3</p><p><strong>Creating Functions:</strong></p><p>The function structure in Solidity is much like C. Although, in Solidity, you announce a function to be function. For example:</p><pre>function createPeoples(String memory _name, uint _age) {</pre><pre>// start here</pre><pre>}</pre><p>Here, we might notice there is a memory keyword, and the way we announced the parameters are a little different.</p><p>Firstly the memory keyword is an instruction that the name variable should be stored in <strong>memory. </strong>This is required for all reference types such as arrays, structs, mappings, and strings.</p><p>Secondly, It’s convention (but not required) to start function parameter variable names with an underscore (_) in order to differentiate them from global variables.</p><p>And I assume we all are familiar with how we can pass an argument.</p><p>a. by value: where we create a new copy of the parameter’s value, and the original value remains unchanged while we work.</p><p>b. by reference: where the original value is called, so if our function changes the value of the variable, the original variable value if also changed.</p><p>Let’s complete the createHumans function so that it creates new Person and adds it to the persons array.</p><p>We can do it in two ways.</p><p>a. We announce a new person with their name and age and then push it to the array.</p><pre>struct Person{<br> string name;<br> uint age;<br> }</pre><pre>Person[] public persons;</pre><pre>function createPeoples(String memory _name, uint _age) {</pre><pre>Person Mashiat = Person(&quot;Mashiat&quot;,20);<br>people.push(Mashiat);</pre><pre>}</pre><p>OR,</p><p>b. We do it in one line as follows:</p><pre>struct Person{<br> string name;<br> uint age;<br> }</pre><pre>Person[] public persons;</pre><pre>function createPeoples(String memory _name, uint _age) {<br>people.push(Person(&quot;Mashiat&quot;,20));</pre><pre>}</pre><p>In Solidity, functions are public by default. This means anyone (or any other contract) can call your contract&#39;s function and execute its code.</p><p>This can make our contract vulnerable to attacks. So, we can make our functions private as well.</p><pre>function createPeoples(String memory _name, uint _age) private {<br>people.push(Person(&quot;Mashiat&quot;,20));<br>}</pre><p><strong>Return Values</strong></p><p>This snippet of code, after declaring that the function is public announces that it will return a string from memory.</p><pre><br>string greeting = &quot;What&#39;s up dog&quot;;  <br>function sayHello() public returns (string memory) {   <br>return greeting; <br>}</pre><p>There are two function return type modifiers named: view and pure.</p><p>View: The above function does’nt change any values or write anything so we can declare it as a view function.</p><pre>string greeting = &quot;What&#39;s up dog&quot;;  <br>function sayHello() public view returns (string memory) {   <br>return greeting; <br>}</pre><p>Pure: Pure functions don’t even access the data in the app/contract.</p><pre>function _multiply(uint a, uint b) private pure returns (uint) {   return a * b; <br>}</pre><p>This function does not even read anything from the contract/app. Its return value depends only on its function parameters.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ebf4c2afb02" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/learning-solidity-8ebf4c2afb02">Learning Solidity</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Solidity]]></title>
            <link>https://coinsbench.com/learning-solidity-8ea0f7b358e3?source=rss-2d1c8bc40ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ea0f7b358e3</guid>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[The Quacker]]></dc:creator>
            <pubDate>Mon, 30 May 2022 10:54:32 GMT</pubDate>
            <atom:updated>2022-06-17T11:34:17.875Z</atom:updated>
            <content:encoded><![CDATA[<p>day 2</p><p>Let’s start writing a Solidity contract!</p><p>We will look into setting the environment in our computer later, currently we will go into how to write a contract and basic Solidity programming.</p><p>While writing solidity contract we have to state the version of solidity by adding :</p><p>pragma solidity //Enter solidity version here like 0.4.15</p><p>Then we announce the name of the contract. Let’s name the contract</p><p>contract HumanFactory{ //leaving contract empty}</p><p><strong>Variables in Solidity</strong></p><p>Solidity has similar variable naming as C/C++. So we can probably name any variable in solidity. Such as int, string, uint etc.The naming convention is also similar to c/c++.</p><p>int a=16;</p><p>uint age=5;</p><p>string h=”hello”;</p><p><strong>Arithmetic functions in Solidity</strong></p><p>Math in Solidity is also pretty straightforward. The following operations are the same as in most programming languages:</p><ul><li>Addition: x + y</li><li>Subtraction: x - y,</li><li>Multiplication: x * y</li><li>Division: x / y</li><li>Modulus / remainder: x % y <em>(for example, </em><em>13 % 5 is </em><em>3, because if you divide 5 into 13, 3 is the remainder)</em></li></ul><p>Solidity also supports an <strong><em>exponential operator</em></strong> (i.e. “x to the power of y”, x^y):</p><pre>uint x = 5 ** 2; // equal to 5^2 = 25</pre><p><strong>Struct in Solidity</strong></p><p>Solidity also allows structures like in c. To create a person structure with an age and a name in Solidity would look like this:</p><pre>struct Person {<br>  uint age;<br>  string name;<br>}</pre><p><strong>Arrays in Solidity</strong></p><p>We can also announce arrays in two ways, fixed size arrays and dynamic size arrays in the following ways:</p><pre>// Array with a fixed length of 2 elements:<br>uint[2] fixedArray;<br>// another fixed Array, can contain 5 strings:<br>string[5] stringArray;<br>// a dynamic Array - has no fixed size, can keep growing:<br>uint[] dynamicArray;</pre><p><strong>Array Structs in Solidity</strong></p><p>You can also create an array of <strong><em>structs</em></strong>. Using the previous Person struct:</p><pre>Person[] people; // dynamic Array</pre><p>So creating a dynamic array of structs like this can be useful for storing structured data in your contract, kind of like a database.</p><p><strong>Public Arrays in Solidity</strong></p><p>You can declare an array as public, and Solidity will automatically create a <strong><em>getter</em></strong> method for it. The syntax looks like:</p><pre>Person[] public people;</pre><p>Other contracts would then be able to read from, but not write to, this array. So this is a useful pattern for storing public data in your contract.</p><p>So far, with the learning of today, we can format a Solidity contract in the following way:</p><pre>pragma solidity &gt;=0.5.0 &lt;0.6.0;<br>contract PersonFactory {</pre><pre>uint dnaDigits = 16;<br> uint dnaModulus = 10 ** dnaDigits;</pre><pre>struct Person{<br> string name;<br> uint age;<br> }</pre><pre>Person[] public persons;</pre><pre>// start here</pre><pre>}</pre><p>That’s it for today!<br>I found a great link to learn Solidity as a beginner.</p><p><a href="https://cryptozombies.io/">https://cryptozombies.io/</a> is a very well made website that teaches and lets you code in a virtual playground for Solidity. You might want to check it out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ea0f7b358e3" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/learning-solidity-8ea0f7b358e3">Learning Solidity</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Data Exploration]]></title>
            <link>https://medium.com/@bsse1202/introduction-to-data-exploration-c57b50b95bd3?source=rss-2d1c8bc40ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c57b50b95bd3</guid>
            <category><![CDATA[data-exploration]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[The Quacker]]></dc:creator>
            <pubDate>Mon, 16 May 2022 16:02:02 GMT</pubDate>
            <atom:updated>2022-05-16T16:02:02.468Z</atom:updated>
            <content:encoded><![CDATA[<p>Most of us are in the dark, when it comes to data exploration and preparation.</p><p>When we picture implementing a project on data, or making a forecast, or implementing a machine learning model on some dataset, we think the hardest and time consuming part is, well, implementing the model, or programming the project from scratch. But the actual tale is very different.</p><p>Datasets, real life datasets have this inherent flaw of having numerous ways of being very unfulfilling. Maybe it was a survey and some people chose not to answer a few questions. Maybe the data was supposed to be numerical but you have text in the field, and much more can go wrong.</p><p>So how do we fix the data for implementing our model or project?</p><p>This is where data exploration comes in. Data exploration, the term is pretty self-explanatory. We take the data, and we explore it.</p><p>But why do we explore data? Because studying the data, studying the gaps between the data, creating charts and plots to visualize what’s happening, is extremely extremely important for our project or model to run more effectively, to create better models with more accuracy.</p><p>Data can also be biased, towards a specific gender or race, if you don’t explore data, you’ll never find out and end up building a very biased program.</p><p>Data exploration helps us gather information and make informed decisions.</p><p>There’s a very interesting story I came across when I first started out with data exploration. The story, in brief, goes as follows:</p><p>During World War II, Abraham Ward, a mathematical genius, was working for USA in the Statistical Research Group (SRG). So, in war, planes get shot at, and from the planes that fly back after being shot at, were analyzed to see where the shots landed and where the planes needed more reinforcement.</p><p>So, even after the reinforcements of planes, the same number of losses were faced, the same number of planes lost to the enemy. This is where Ward came in, he figured, that they needed to look at where the shots DIDN’T land, instead of where they landed. Because, the shots landed there and the planes came back, so it doesn’t matter. The planes that didn’t come back, must have shots landed in the other places, so reinforcements were needed in those places instead.</p><p>Ward looked at his data, explored it, and analyzed the missing data as well. And the missing data was the most helpful insight, which he wouldn’t gain, if he didn’t explore his data!</p><p>This story tells us how data exploration is a very important aspect. In fact, people spend more time on data exploration, than in implementing the actual model itselft, in most cases. So, next time, don’t forget to explore the data you have before you start generating models!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c57b50b95bd3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Solidity]]></title>
            <link>https://coinsbench.com/learning-solidity-6c001e13598a?source=rss-2d1c8bc40ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c001e13598a</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[The Quacker]]></dc:creator>
            <pubDate>Mon, 02 May 2022 17:59:20 GMT</pubDate>
            <atom:updated>2022-06-17T11:34:04.717Z</atom:updated>
            <content:encoded><![CDATA[<p>Day 1</p><p>Being a blockchain enthusiast, I’ve always wanted to learn how it is implemented. So far my knowledge is based on theory and recently I had the opportunity to further manifest my enthusiasm of blockchain and learn Solidity!</p><p>So, Solidity is a programming language, used to implement smart contracts. It’s a high level language and constantly evolving. This object oriented, high level language takes inspiration from C++, python and JavaScript and is designed to target the Ethereum Virtual Machine (EVM)(looking forward to writing about EVM someday soon).</p><p>Being an object oriented language, it supports concepts like inheritance, libraries and complex user defined types.</p><p>I’ve mentioned that solidity is used to create smart contracts (want to elaborate on this later as well). In short, smart contracts are virtual contracts, with predetermined conditions. Let’s say you’re buying from an anonymous buyer/unknown buyer on the internet. How will the buyer know you will pay up when you receive the product, and how will you know the buyer will send the product when you pay beforehand. This is a conundrum. So to create trust, the selling contract could set condition that when the packaging is dispatched and is in the hands of a third party delivery service, your bank account will automatically pay the seller, enabling both of you to trust the system, without trusting each other!</p><p>So, solidity creates contracts for various uses, such as above and also voting, crowdfunding, blind auctions, multisignature wallets, et cetra!</p><p>We should bear in mind that we should always use the latest released version of Solidity while creating contracts! The current version of Solidity, as I am writing is 0.8.x.</p><p>So, we understood what smart contracts are and which language we need to learn to build one so far. Looking forward to day 2!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c001e13598a" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/learning-solidity-6c001e13598a">Learning Solidity</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How getting a pet bird made me better]]></title>
            <link>https://medium.com/@bsse1202/how-getting-a-pet-bird-made-me-better-3ccb19a5d42c?source=rss-2d1c8bc40ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ccb19a5d42c</guid>
            <dc:creator><![CDATA[The Quacker]]></dc:creator>
            <pubDate>Fri, 15 Apr 2022 20:13:57 GMT</pubDate>
            <atom:updated>2022-04-15T20:17:54.465Z</atom:updated>
            <content:encoded><![CDATA[<p>You don’t really get a pet to be “better”. You expect some companionship and some attachment. Maybe you’re excited about connecting with a creature, maybe you are looking for a little bit of company. But what you never expect is it making you better at certain stuff.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*5hVcNu7jiVeH6uNry5N-3w.jpeg" /></figure><p>I got a pet cockatiel as a birthday gift last September. He was a beautiful, beautiful creature. I was worried I wouldn’t be able to provide him with the care he needed. Considering, well, let’s be honest, I was an Engineering student with about 30 hour/week classes and more homework when I’m home. Also, it should be noted that I’m notoriously lazy and a very late sleeper. My sleep ranges from approximately 10/12 hours a day to 4/5 hours a day. Erratic sleep is my middle name. And it doesn’t work well with my education or my health. So, when my friend got me a tiny little bird to keep me company, I thought, “okay fluffball, let’s come to an understanding that I have weird schedules, but let’s see what happens.”</p><p>So, the first thing that changed was, Colaa the cockatiel wasn’t fond of waiting for his food in the morning. Even if I had a late night, I would have to wake up, give him his food, and maybe then, go back to my slumber. Boy, was he loud in the morning.<br>Little by little I had to start waking up earlier, so I could spend some time with him, play with him, and get him his breakfast.</p><p>Since he was in a schedule, I had to be as well. So my messed up life was a little less messed up (Actually, more, considering the dust and feathers and plucking).</p><p>I used to keep his cage right beside me, while I worked on my computer. Which was frankly almost all the time I was home. He enjoyed socializing, and I enjoyed the company. So, I was less forlorn about being stuck home and working, and had a more positive work experience. It contributed to my overall happiness and made my progress faster and more productive.</p><p>For a person like me, who is sort of a loner and has very high expectations from people, my bird was a perfect choice for my companion.</p><p>I’m not saying it was all flowers and rainbows, he threw temper tantrums, he was a very dusty bird which required me to clean everything(and I mean EVERY SURFACE), almost everyday. He needed to be on a proper diet.</p><p>But the bottom line is, he made my life a lot better. He put me on a schedule, he made my work fun, he was something I looked forward to everyday. If you’re a person, who’s looking for a pet which is smart, yet containable to some extent, you can consider getting a bird. They’re super smart, cheeky, adorable creatures. And they will make your life, at the very least, a little better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ccb19a5d42c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>