<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: eluconsmidar</title>
    <description>The latest articles on DEV Community by eluconsmidar (@eluconsmidar).</description>
    <link>https://dev.to/eluconsmidar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F709279%2Fe9dd26e4-d79d-4666-abbe-3053c5557237.png</url>
      <title>DEV Community: eluconsmidar</title>
      <link>https://dev.to/eluconsmidar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eluconsmidar"/>
    <language>en</language>
    <item>
      <title>DSA at one place</title>
      <dc:creator>eluconsmidar</dc:creator>
      <pubDate>Sat, 11 May 2024 19:34:46 +0000</pubDate>
      <link>https://dev.to/eluconsmidar/dsa-at-one-place-4k8h</link>
      <guid>https://dev.to/eluconsmidar/dsa-at-one-place-4k8h</guid>
      <description>&lt;p&gt;Striver: takeuforward&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Two pointers&lt;/li&gt;
&lt;li&gt;Sliding window&lt;/li&gt;
&lt;li&gt;Bit manipulation&lt;/li&gt;
&lt;li&gt;Linked list&lt;/li&gt;
&lt;li&gt;Binary search&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;Dynamic programming&lt;/li&gt;
&lt;li&gt;Graph&lt;/li&gt;
&lt;li&gt;Recursion&lt;/li&gt;
&lt;li&gt;Trie&lt;/li&gt;
&lt;li&gt;Binary tree / Binary search tree&lt;/li&gt;
&lt;li&gt;Stack and Queue&lt;/li&gt;
&lt;li&gt;Greedy&lt;/li&gt;
&lt;li&gt;Advanced data structure&lt;/li&gt;
&lt;li&gt;DP interveiw questions&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>datastructures</category>
      <category>algorithms</category>
      <category>striver</category>
      <category>sde</category>
    </item>
    <item>
      <title>How to ask better questions?</title>
      <dc:creator>eluconsmidar</dc:creator>
      <pubDate>Sat, 11 May 2024 19:27:04 +0000</pubDate>
      <link>https://dev.to/eluconsmidar/how-to-ask-better-questions-30bh</link>
      <guid>https://dev.to/eluconsmidar/how-to-ask-better-questions-30bh</guid>
      <description>&lt;p&gt;You learn more from asking questions.&lt;br&gt;
Questions frame the answers.&lt;/p&gt;

&lt;p&gt;What's on your mind?&lt;br&gt;
And what else?&lt;br&gt;
What is the real challenge here?&lt;br&gt;
What do you want?&lt;br&gt;
How can I help you?&lt;br&gt;
If you are saying 'yes' to this, what are you saying 'no' to?&lt;br&gt;
What was the most useful for you?&lt;/p&gt;

&lt;p&gt;Book : The coaching habit.&lt;/p&gt;

&lt;p&gt;Anatomy of a good question?&lt;/p&gt;

&lt;p&gt;Types of questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;open ended question&lt;/li&gt;
&lt;li&gt;close ended question / binary question&lt;/li&gt;
&lt;li&gt;leading question / neutral or unbiased question&lt;/li&gt;
&lt;li&gt;clear / direct question&lt;/li&gt;
&lt;li&gt;ambiguous question&lt;/li&gt;
&lt;li&gt;complex / loaded question&lt;/li&gt;
&lt;li&gt;consice question&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Good question?&lt;/p&gt;

&lt;p&gt;situation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;low engagement&lt;/li&gt;
&lt;li&gt;low growth&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;reason: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;lack of focus&lt;/li&gt;
&lt;li&gt;consistency&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Framework for asking good questions:&lt;br&gt;
PROACT&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;listening / decision framework&lt;/li&gt;
&lt;li&gt;The visual mba - Jason barron&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What is the real problem?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what objective are you trying to accomplish?&lt;/li&gt;
&lt;li&gt;how will you measure the success?&lt;/li&gt;
&lt;li&gt;what are tradeoffs?&lt;/li&gt;
&lt;li&gt;build meaningful connections and be more empathetic.&lt;/li&gt;
&lt;li&gt;be aware&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Books recommended:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What's your problem&lt;/li&gt;
&lt;li&gt;Socratic selling&lt;/li&gt;
&lt;li&gt;The coaching habit&lt;/li&gt;
&lt;li&gt;The visual mba&lt;/li&gt;
&lt;li&gt;Non violent communication&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;credit: Chris Do&lt;/p&gt;

</description>
      <category>questions</category>
      <category>communications</category>
      <category>interview</category>
      <category>selling</category>
    </item>
    <item>
      <title>Constants in Solidity</title>
      <dc:creator>eluconsmidar</dc:creator>
      <pubDate>Wed, 08 May 2024 17:08:56 +0000</pubDate>
      <link>https://dev.to/eluconsmidar/constants-in-solidity-3hdh</link>
      <guid>https://dev.to/eluconsmidar/constants-in-solidity-3hdh</guid>
      <description>&lt;p&gt;Constants are variables that cannot be modified.&lt;/p&gt;

&lt;p&gt;Their value is hard coded and using constants can save gas cost.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract Constants {
     // coding convention to uppercase constant variables
     address public constant MY_ADDRESS = 0x777788889999AaAAbBbbCcccddDdeeeEfFFfCcCc;
     uint256 public constant MY_UINT= 123;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>solidity</category>
      <category>smartcontract</category>
      <category>ethereum</category>
      <category>soliditycontract</category>
    </item>
    <item>
      <title>Variables in Solidity</title>
      <dc:creator>eluconsmidar</dc:creator>
      <pubDate>Wed, 08 May 2024 17:04:08 +0000</pubDate>
      <link>https://dev.to/eluconsmidar/variables-in-solidity-2j2k</link>
      <guid>https://dev.to/eluconsmidar/variables-in-solidity-2j2k</guid>
      <description>&lt;p&gt;There are 3 types of variables in Solidity&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;local&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;declare inside a function&lt;/li&gt;
&lt;li&gt;not stored on the blockchain&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;state&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;declared outside a function&lt;/li&gt;
&lt;li&gt;stored on the blockchain&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;global (provides information about the blockchain)&lt;br&gt;&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract Variables {
     // State variables are stored on the blockchain.
     string public text = "Hello";
     uint256 public num = 123;

     function doSomething() public { 
          // Local variables are not saved to the blockchain.
          uint256 i = 456;

          // Here are some global variables
          uint256 timestamp = block.timestamp; // current block timestamp
          address sender = msg.sender; // address of the caller
     }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>solidity</category>
      <category>smartcontract</category>
      <category>variables</category>
      <category>ethereum</category>
    </item>
    <item>
      <title>Primitive Data Types in Solidity</title>
      <dc:creator>eluconsmidar</dc:creator>
      <pubDate>Wed, 08 May 2024 16:57:43 +0000</pubDate>
      <link>https://dev.to/eluconsmidar/primitive-data-types-in-solidity-21ng</link>
      <guid>https://dev.to/eluconsmidar/primitive-data-types-in-solidity-21ng</guid>
      <description>&lt;p&gt;Here we introduce you to some primitive data types available in Solidity.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;boolean&lt;/li&gt;
&lt;li&gt;uint256&lt;/li&gt;
&lt;li&gt;int256&lt;/li&gt;
&lt;li&gt;address
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract Primitives {
     bool public boo = true;

     /*
     uint stands for unsigned integer, meaning non negative integers 
     different sizes are availabe

     uint8 ranges from 0 to 2 ** 8 -1
     uint16 ranges from 0 to 2 ** 16 -1
     ...
     uint256 ranges from 0 to 2 ** 256 -1
     */

     uint8 public u8 = 1;
     uint256 public u256 = 456;
     uint256 public u = 123; // uint is an alias for uint256

     /*
     Negative numbers are allowed for int types.
     Like uint, different ranges are available from int8 to int256

     int256 ranges from -2 ** 255 to 2 ** 255 - 1
     int128 ranges from -2 ** 127 to 2 ** 127 - 1 
     */

     int8 public i8 = -1;
     int256 public i256 = 456;
     int256 public i = -123; // int is same as int256

     // minimum and maximum of int
     int256 public minInt = type(int256).min;
     int256 public maxInt = type(int256).max;

     address public addr = 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c;

     /*
     In Solidity, the data type byte represent a sequence of bytes.
     Solidity presents two type of bytes types:

     - fixed-sized byte arrays
     - dynamically-sized byte arrays

     The term bytes in Solidity represents a dynamic array of bytes.
     It's a shorthand for byte[].
     */

     bytes1 a = 0xb5;
     bytes1 b = 0x56;

     // Default values
     // Unassigned variables have a default value
     bool public defautlBoo; // false
     uint256 public defualtUint; // 0
     int256 public defaultInt; // 0
     address public defautlAddr; // 0x0000000000000000000000000000000000000000
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>solidity</category>
      <category>pragma</category>
      <category>ethereum</category>
      <category>smartcontract</category>
    </item>
    <item>
      <title>Increment/Decrement in solidity smart contract</title>
      <dc:creator>eluconsmidar</dc:creator>
      <pubDate>Wed, 08 May 2024 16:11:27 +0000</pubDate>
      <link>https://dev.to/eluconsmidar/incrementdecrement-in-solidity-smart-contract-1fmo</link>
      <guid>https://dev.to/eluconsmidar/incrementdecrement-in-solidity-smart-contract-1fmo</guid>
      <description>&lt;p&gt;Here is a simple contract that you can get, increment and decrement the count store in this contract.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract Counter {
     uint256 public count;

     // Function to get the current count
     function get() public view returns (uint256) {
          return count;
     }

     // Function to increment count by 1
     function inc() public {
          count += 1;
     }

     // Function to decrement count by 1
     function dec() public {
          // This function will fail if count = 0
          count -= 1;
     }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>solidity</category>
      <category>smartcontract</category>
      <category>ethereum</category>
      <category>pragma</category>
    </item>
    <item>
      <title>Solidity "Hello World"</title>
      <dc:creator>eluconsmidar</dc:creator>
      <pubDate>Wed, 08 May 2024 16:05:52 +0000</pubDate>
      <link>https://dev.to/eluconsmidar/solidity-hello-world-47bj</link>
      <guid>https://dev.to/eluconsmidar/solidity-hello-world-47bj</guid>
      <description>&lt;p&gt;pragma specifies the compiler version of Solidity.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// SPDX-License-Identifier: MIT
// compiler version must be greater than or equal to 0.8.24 and less than 0.9.0
pragma solidity ^0.8.24;

contract HelloWorld {
     string public greet = "Hello World!";
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>solidity</category>
      <category>pragma</category>
      <category>smartcontract</category>
      <category>ethereum</category>
    </item>
  </channel>
</rss>
