<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Blogs on Piyush Patel</title><link>https://piyushpatel.vercel.app/posts/</link><description>Recent content in Blogs on Piyush Patel</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2023-2025 Piyush Patel. All Rights Reserved.</copyright><lastBuildDate>Thu, 09 May 2024 10:07:09 -0400</lastBuildDate><atom:link href="https://piyushpatel.vercel.app/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Resolve Maven Error Invalid Target Release 17</title><link>https://piyushpatel.vercel.app/blog/bigquery-least-greatest-vs-spark/</link><pubDate>Thu, 09 May 2024 10:07:09 -0400</pubDate><guid>https://piyushpatel.vercel.app/blog/bigquery-least-greatest-vs-spark/</guid><description><![CDATA[<p>BigQuery has <code>LEAST</code> and <code>GREATEST</code> functions which can be used to find minimum and maximum value across multiple columns. This can be handy when you&rsquo;re building user&rsquo;s spend progression or user&rsquo;s order counts etc. You always want to find the latest order amount from the user.</p>]]></description></item><item><title>Resolve Maven Error Invalid Target Release 17</title><link>https://piyushpatel.vercel.app/blog/resolve-maven-error-invalid-target-release-17/</link><pubDate>Thu, 09 May 2024 10:07:09 -0400</pubDate><guid>https://piyushpatel.vercel.app/blog/resolve-maven-error-invalid-target-release-17/</guid><description><![CDATA[<h2 id="introduction" data-numberify>Introduction<a class="anchor ms-1" href="#introduction"></a></h2>
<p>Recently, I was upgrading my Java version in one of the repositories and I came across this issue. I was using maven for building this project. In my <code>pom.xml</code> file, I simply declared target as Java version <code>17</code> and I came across this error.</p>
<p>This is what it looks like in my <code>pom.xml</code> file.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-xml" data-lang="xml"><span class="line"><span class="ln">1</span><span class="cl"><span class="nt">&lt;properties&gt;</span>
</span></span><span class="line"><span class="ln">2</span><span class="cl">    <span class="nt">&lt;maven.compiler.source&gt;</span>17<span class="nt">&lt;/maven.compiler.source&gt;</span>
</span></span><span class="line"><span class="ln">3</span><span class="cl">    <span class="nt">&lt;maven.compiler.target&gt;</span>17<span class="nt">&lt;/maven.compiler.target&gt;</span>
</span></span><span class="line"><span class="ln">4</span><span class="cl"><span class="nt">&lt;/properties&gt;</span>
</span></span></code></pre></div>
<h2 id="problem" data-numberify>Problem<a class="anchor ms-1" href="#problem"></a></h2>
<p>After changing this to 17, when I run my test cases using <code>mvn clean test</code>, I get below error.</p>]]></description></item><item><title>Introduction to YAML</title><link>https://piyushpatel.vercel.app/blog/introduction-to-yaml/</link><pubDate>Wed, 07 Feb 2024 10:10:15 -0500</pubDate><guid>https://piyushpatel.vercel.app/blog/introduction-to-yaml/</guid><description>&lt;p>YAML (YAML Ain&amp;rsquo;t Markup Language) is a human-readable data serialization format that has gained popularity for its simplicity and readability. The syntax of YAML is very succinct compared to XML or JSON format. In this tutorial, we will explore the syntax and data structures of YAML in detail.&lt;/p></description></item><item><title>How to Install Nodejs on WSL2</title><link>https://piyushpatel.vercel.app/blog/how-to-install-nodejs-on-wsl2/</link><pubDate>Thu, 19 Oct 2023 18:25:00 -0400</pubDate><guid>https://piyushpatel.vercel.app/blog/how-to-install-nodejs-on-wsl2/</guid><description><![CDATA[<h2 id="introduction" data-numberify>Introduction<a class="anchor ms-1" href="#introduction"></a></h2>
<p>WSL2 (Windows Subsystem for Linux 2) provides a seamless way to run a Linux environment within Windows. This allows developers to utilize tools and frameworks like Node.js on their Windows machines without the need for a separate virtual machine or dual boot setup.</p>]]></description></item><item><title>How to Setup WSL2 on Windows10</title><link>https://piyushpatel.vercel.app/blog/how-to-setup-wsl2-on-windows10/</link><pubDate>Sat, 14 Oct 2023 21:50:20 -0400</pubDate><guid>https://piyushpatel.vercel.app/blog/how-to-setup-wsl2-on-windows10/</guid><description>&lt;p>WSL2 (Windows Subsystem for Linux 2) is a powerful feature introduced by Microsoft that enables developers to run a full Linux environment directly on their Windows machines. It provides seamless integration between Windows and Linux, allowing you to leverage the benefits of both operating systems. In this blog post, we will walk you through the step-by-step process of installing WSL2 on your Windows system.&lt;/p></description><enclosure url="https://piyushpatel.vercel.app/blog/how-to-setup-wsl2-on-windows10/turn-windows-feature.JPG" length="60294" type="image/jpeg"/></item><item><title>Deploy Hugo App Using Github Actions</title><link>https://piyushpatel.vercel.app/blog/deploy-hugo-app-using-github-actions/</link><pubDate>Wed, 11 Oct 2023 01:19:05 -0400</pubDate><guid>https://piyushpatel.vercel.app/blog/deploy-hugo-app-using-github-actions/</guid><description>&lt;p>Hugo is one of the most popular frameworks for creating JAM stack websites easily. It is powering thousands of websites as well as complex applications at the moment. Due to its high performance, it is almost overtaking wordpress deployments. This blog post explains how you can deploy a simple Hugo website using Github Actions and Github pages for free.&lt;/p></description></item><item><title>Find difference between two Files</title><link>https://piyushpatel.vercel.app/blog/find-difference-between-two-files/</link><pubDate>Fri, 08 Sep 2023 19:18:20 +0000</pubDate><guid>https://piyushpatel.vercel.app/blog/find-difference-between-two-files/</guid><description>&lt;p>Often times, we want to find the difference between two files to compare the output of something. This is very useful in debugging issues when we want to check for what&amp;rsquo;s the difference. We can use different Bash tools for this. That is what we are going to discuss in this post.&lt;/p></description></item><item><title>Grep Show Lines Before and After a Match</title><link>https://piyushpatel.vercel.app/blog/grep-show-lines-before-and-after-a-match/</link><pubDate>Thu, 24 Aug 2023 07:38:45 +0000</pubDate><guid>https://piyushpatel.vercel.app/blog/grep-show-lines-before-and-after-a-match/</guid><description>&lt;p>Grep is one of the most powerful utility we have with UNIX Shell. This is used for various purposes like finding a text in a file or finding files containing certain text in a path. This comes very handy when scanning through large log files for specific information.&lt;/p></description></item></channel></rss>