<?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: Praneeth</title>
    <description>The latest articles on DEV Community by Praneeth (@praneethkumarpidugu).</description>
    <link>https://dev.to/praneethkumarpidugu</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%2F268978%2F34a32298-970b-441b-807f-5d10f4555389.png</url>
      <title>DEV Community: Praneeth</title>
      <link>https://dev.to/praneethkumarpidugu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/praneethkumarpidugu"/>
    <language>en</language>
    <item>
      <title>Unexpected end of JSON input error in Visual Studio Code for sfdx</title>
      <dc:creator>Praneeth</dc:creator>
      <pubDate>Thu, 23 Feb 2023 21:12:14 +0000</pubDate>
      <link>https://dev.to/praneethkumarpidugu/unexpected-end-of-json-input-in-visual-studio-code-1mim</link>
      <guid>https://dev.to/praneethkumarpidugu/unexpected-end-of-json-input-in-visual-studio-code-1mim</guid>
      <description>&lt;p&gt;If you are reading this blog post, I assume you must be having similar issue which I have faced when trying to authorize a saleforce org from VS Studio code to change orgs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv8285cp0xjfvibzqye4p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv8285cp0xjfvibzqye4p.png" alt=" " width="800" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Why I am getting above error ?&lt;/p&gt;

&lt;p&gt;In your root folder, where we have a .sfdx/ folder, there might be a json file which has a zero byte file. You might be wondering how to detect a zero byte file in .sfdx/ folder if you have more than 100 files. Please execute below command in bash terminal&lt;br&gt;
&lt;code&gt;$ find . -type f -empty&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Once you execute above command, please remove files which has been detected as zero byte.&lt;br&gt;
&lt;code&gt;$ rm -rf &amp;lt;NAME OF YOUR FILE&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now SFDX behind the scenes is happy and feel free to try to reauthorize or change orgs. You should be good&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>GoodBye Webpack and Hello turbopack</title>
      <dc:creator>Praneeth</dc:creator>
      <pubDate>Tue, 25 Oct 2022 20:38:02 +0000</pubDate>
      <link>https://dev.to/praneethkumarpidugu/bye-bye-webpack-and-hello-turbopack-204m</link>
      <guid>https://dev.to/praneethkumarpidugu/bye-bye-webpack-and-hello-turbopack-204m</guid>
      <description>&lt;p&gt;I will write about TurboPack&lt;/p&gt;

</description>
      <category>turbopack</category>
      <category>nextjs</category>
      <category>vercel</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Decimal Point Precision in Apache NiFi using groovy Script</title>
      <dc:creator>Praneeth</dc:creator>
      <pubDate>Wed, 06 Jul 2022 22:45:22 +0000</pubDate>
      <link>https://dev.to/praneethkumarpidugu/decimal-point-precision-in-apache-nifi-using-groovy-script-40b9</link>
      <guid>https://dev.to/praneethkumarpidugu/decimal-point-precision-in-apache-nifi-using-groovy-script-40b9</guid>
      <description>&lt;p&gt;Apache NiFi Doesn't support setting up of Decimal point precision in Expression Language. Thanks to groovy Script Language Support which has the capability to extract the Attributes from flowFiles and modify the values to a particular precision points.&lt;/p&gt;

&lt;p&gt;Here are the following steps which help you to accomplish maintaining precision points in the Decimal Values:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Drag and Drop an ExecuteScript Processor.&lt;/li&gt;
&lt;li&gt;Replace the Body of the Script with the following script:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import org.apache.commons.io.IOUtils
import java.nio.charset.StandardCharsets
import java.text.DecimalFormat

flowFile = session.get()

Double attr1 = Double.parseDouble(flowFile.getAttribute("&amp;lt;NAME OF THE ATTRIBUTE&amp;gt;"))
def df = new DecimalFormat("#0.00")

def attr1_decimal = (df.format(attr1))

flowFile = session.putAttribute(flowFile, "attr1", attr1_decimal)
session.transfer(flowFile, REL_SUCCESS)
session.commit()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.Finally connect the Success relationship to a Pipeline to view the &lt;/p&gt;

</description>
      <category>apache</category>
      <category>nifi</category>
      <category>groovy</category>
    </item>
    <item>
      <title>My Entry to blockchain stack by ethwaterloo 2019 hackathon</title>
      <dc:creator>Praneeth</dc:creator>
      <pubDate>Mon, 11 Nov 2019 04:03:04 +0000</pubDate>
      <link>https://dev.to/praneethkumarpidugu/my-entry-to-blockchain-stack-by-ethwaterloo-hackathon-12o4</link>
      <guid>https://dev.to/praneethkumarpidugu/my-entry-to-blockchain-stack-by-ethwaterloo-hackathon-12o4</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    Blockchain! CryptoCurrency! Bitcoin! ethereum!!!! In my day-day worklife never googled anytime about the blokchain stack and I am glad I attended ethwaterloo2019 hackathon https://ethwaterloo.com/ which led me with a lot of takeaways for me to work on to learn about blockchain and ethereum.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QslNvqUD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/6tnfetnhqnfcqzj2es2p.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QslNvqUD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/6tnfetnhqnfcqzj2es2p.jpg" alt="Alt Text" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;From my first impression, my inner feeling said that I don't belong to this dev community because I never played around with ethereum stuff in the past. But after attending first session which was like a 2 hour workshop presented by Getting started with Ethereum development: How to use Metamask, Remix and Web3.js [A must attend for beginners!]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;with Josh Crites from Consensys Academy helped me playaround with solidity programming language to write smart contracts with web based ethereum IDE: &lt;a href="https://remix.ethereum.org/"&gt;https://remix.ethereum.org/&lt;/a&gt;. My understanding in Object Oriented Programming Language helped me to jump start into Contract Oriented Programming with .sol or solidity language :)&lt;/p&gt;

&lt;p&gt;Well, it was cool that I jump started to solidity and deployed a smart contract but I didn't understand what is really happening behind the scenes. &lt;a href="https://ethereum.org/learn"&gt;https://ethereum.org/learn&lt;/a&gt; to get some basic understanding decentralized web-based applications which is far far far different from centralized systems we are surrounded in our day to day life. Spent a couple of hours going over ethereum, blockchain &amp;amp; couple of protocols.&lt;/p&gt;

&lt;p&gt;Saturday (November 9th 2019) and almost 0 degrees here at waterloo. On this day of event, I attended two workshops which helped me to get the feel of cryptocurrency, token based rewards, clovers &amp;amp; different protocols which got invented by awesome opensource engineers :). One which really blow my mind is the workshop: Brave's Story related to brave browser: &lt;a href="https://brave.com"&gt;https://brave.com&lt;/a&gt; presented by &lt;a href="https://twitter.com/SampsonMSFT"&gt;https://twitter.com/SampsonMSFT&lt;/a&gt;. After downloading brave browser I felt like future will be very bright where most of the people will live in Targeted, Tracking Ads which takes people privacy on risk. One fascinating thing about brave browser is you can earn which you watch content on different websites, awesome right!!.&lt;/p&gt;

&lt;p&gt;Second Workshop which is a mix of philosophy with a touch of blockchain technology blow my mind which is regarding "financial freedome for &amp;amp; by the people" which is presented by &lt;a href="https://twitter.com/owocki"&gt;https://twitter.com/owocki&lt;/a&gt;. This session helped to learn about bounties, gitcoin &amp;amp; commiting to github issues or PR's with bounties. Check out my tweet on this workshop:&lt;br&gt;
Liquid error: internal &lt;a href="https://twitter.com/pidugupraneeth/status/1193409597010300929?s=20"&gt;https://twitter.com/pidugupraneeth/status/1193409597010300929?s=20&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Today (sunday, Nov 10th 2019), event concluded with some awesome cool ideas by utilizing metamask plugin which helps to track ethereum tokens &amp;amp; I was really fascinated the culture of bounties ethereum community encouraging developers by the sponsors of this hackathon. I am very happy &amp;amp; glad that I attended this hackathon which is kind of an eye opener for me with a strong belief for a bright &amp;amp; decentralized future.&lt;/p&gt;

&lt;p&gt;Happy Coding everyone! Good Night :)&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
