<?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: Rajalakshmi</title>
    <description>The latest articles on DEV Community by Rajalakshmi (@rpriyaraji).</description>
    <link>https://dev.to/rpriyaraji</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%2F453424%2F37248641-952f-4b73-99c9-9d6f211ffd04.jpg</url>
      <title>DEV Community: Rajalakshmi</title>
      <link>https://dev.to/rpriyaraji</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rpriyaraji"/>
    <language>en</language>
    <item>
      <title>Bulk Publish</title>
      <dc:creator>Rajalakshmi</dc:creator>
      <pubDate>Wed, 09 Jun 2021 13:08:00 +0000</pubDate>
      <link>https://dev.to/rpriyaraji/bulk-publish-4cb8</link>
      <guid>https://dev.to/rpriyaraji/bulk-publish-4cb8</guid>
      <description>&lt;p&gt;Greetings, AEM geeks! This Bulk Publish a Replicator Application may be useful if you're an AEM content author who wants to publish a large number of pages with a single button click rather than publishing each page individually.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Purpose&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This functionality allows you to publish a large number of pages, as well as the assets included inside those pages, with a single button click.&lt;/p&gt;

&lt;h3&gt;
  
  
  Existing feature and its limitation
&lt;/h3&gt;

&lt;p&gt;AEM's &lt;em&gt;&lt;a href="https://experienceleague.adobe.com/docs/experience-manager-64/classic-ui/authoring/classic-page-author-publish-pages.html?lang=en#howtoactivateacompletesectiontreeofyourwebsite"&gt;Activation Tree&lt;/a&gt;&lt;/em&gt; feature allows for bulk activation/deactivation of pages that are &lt;em&gt;only modified, only activated, or Ignore Deactivated&lt;/em&gt; under a specific tree.&lt;/p&gt;

&lt;p&gt;Even though it has a lot of features, it's hard to publish certain pages but not others under a tree. &lt;/p&gt;

&lt;p&gt;So, following the instructions below, you may use the bulk publish functionality to solve this problem.&lt;/p&gt;

&lt;h3&gt;
  
  
  Demo
&lt;/h3&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/jVrBUoF8XwM"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  Steps to use Bulk Publish Component
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Drag and drop Bulk Publish Component in a page&lt;/li&gt;
&lt;li&gt;Author dialog of the component by specifying the paths of the pages needed to be published&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Enter the Page Paths to Publish in the format - /content/trainingproject/en&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UiKMe8Vo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1lofoh8ku3i11al82pnj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UiKMe8Vo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1lofoh8ku3i11al82pnj.png" alt="1_Author"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💡 &lt;em&gt;Note: There is no need to include the.html extension to the path, such as→/content/trainingproject/en.html&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;To publish the list of pages available and the assets contained within them, click the Publish button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TM1cJKsY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8zb52l9yn75zj6z83s8b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TM1cJKsY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8zb52l9yn75zj6z83s8b.png" alt="Publish Done"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Yayyy!!! 👐 We can find the pages have now been published in their respective paths successfully 😋&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AcyCb90y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3btckzzzxhz46cf78jnh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AcyCb90y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3btckzzzxhz46cf78jnh.png" alt="3_check"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;👉 &lt;em&gt;Now let's take a look at the code that makes all of this magic  💫  happen.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Back End Code
&lt;/h3&gt;

&lt;h5&gt;
  
  
  Replication API
&lt;/h5&gt;

&lt;p&gt;AEM contains a &lt;a href="https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/diff-previous/changes/com.day.cq.replication.Replicator.html"&gt;&lt;em&gt;Replication API&lt;/em&gt;&lt;/a&gt; that allows you to replicate content using code. We can take advantage of this and replicate the Pages.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h5&gt;
  
  
  Activating Page Assets
&lt;/h5&gt;

&lt;p&gt;To search for all Dam Assets, &lt;a href="https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/day/cq/dam/commons/util/AssetReferenceSearch.html"&gt;&lt;em&gt;AssetReferenceSearch&lt;/em&gt;&lt;/a&gt; API is used. It searches in pages for referenced assets.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/day/cq/dam/api/DamConstants.html"&gt;&lt;em&gt;DamConstants.MOUNTPOINT_ASSETS&lt;/em&gt;&lt;/a&gt;- Defines common used dam constants and the repository path (mount point) under which asset metadata is stored.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h3&gt;
  
  
  Front End Code
&lt;/h3&gt;

&lt;p&gt;Now we need to make an Ajax call from the UI to process the BulkPublishServlet on the backend when a button is clicked.&lt;/p&gt;

&lt;h5&gt;
  
  
  AJAX Call
&lt;/h5&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;💡 &lt;em&gt;On hover, you can find the entire code of both &lt;a href="https://github.com/rpriyaraji/AEM-Learning/tree/main/ui.apps/src/main/content/jcr_root/apps/trainingproject/components/content/bulkPublish"&gt;&lt;em&gt;Frontend component&lt;/em&gt;&lt;/a&gt; and &lt;a href="https://github.com/rpriyaraji/AEM-Learning/blob/main/core/src/main/java/com/adobe/training/core/core/BulkPublishServlet.java"&gt;&lt;em&gt;Backend Core&lt;/em&gt;&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Benefits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Excludes the complications associated with activation trees.&lt;/li&gt;
&lt;li&gt;Hassle free publishing of pages&lt;/li&gt;
&lt;li&gt;Eliminates the need to publish each page from the AEM Sites console separately.&lt;/li&gt;
&lt;li&gt;Enhances the User Experience&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's just simple 😃 how it is; Thanks for your time people ☕, keep exploring and enjoy coding 😇&lt;/p&gt;

&lt;p&gt;I'm always happy to hear your valuable feedback if so, leave a comment 📝 or feel free to connect 💭 with me via &lt;a href="https://www.linkedin.com/in/rajalakshmi-23/"&gt;&lt;em&gt;LinkedIn&lt;/em&gt;&lt;/a&gt; or &lt;a href="https://twitter.com/Rajalak36424741"&gt;&lt;em&gt;Twitter&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Also, fork or raise open issues if any.&lt;/p&gt;

</description>
      <category>aem</category>
      <category>devjournal</category>
      <category>adobe</category>
      <category>cms</category>
    </item>
    <item>
      <title>What Is and How the Internet Works</title>
      <dc:creator>Rajalakshmi</dc:creator>
      <pubDate>Fri, 02 Apr 2021 15:20:42 +0000</pubDate>
      <link>https://dev.to/rpriyaraji/what-is-and-how-the-internet-works-4i5j</link>
      <guid>https://dev.to/rpriyaraji/what-is-and-how-the-internet-works-4i5j</guid>
      <description>&lt;p&gt;Hi Devs! If you are a developer before putting our hands-on code it's better to know how the Internet works and if you are experienced you can brush up on the concepts.&lt;/p&gt;

&lt;p&gt;Without delay let's Dive in&lt;/p&gt;

&lt;h1&gt;
  
  
  Different Views of Internet
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;The Internet: Nuts And Bolts view&lt;/em&gt;&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Computer Network → (Example: Connection between two computers through LAN cable)&lt;/li&gt;
&lt;li&gt;Internet → Network of Networks&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fzdk5mrimhwo49owqeotu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fzdk5mrimhwo49owqeotu.png" alt="Internet - nuts and bolts view"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In Packet Switches&lt;br&gt;
circle → Routers&lt;br&gt;
square → Switch&lt;br&gt;
Router → Connects &lt;em&gt;devices across multiple networks&lt;/em&gt; . Finds the shortest path for a packet. &lt;em&gt;Network&lt;/em&gt; Layer&lt;br&gt;
Switch → Connects &lt;em&gt;various devices in a network&lt;/em&gt; . &lt;em&gt;Data Link Layer&lt;/em&gt;.&lt;br&gt;
Modem → Connects &lt;em&gt;various devices such as PC, Desktop to the Internet.&lt;/em&gt; &lt;em&gt;Data Link Layer&lt;/em&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Difference between Routers &amp;amp; Switch
&lt;img src="https://media.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%2Fz3r6zhz0gvr1omdomhwz.png" alt="Alt Text"&gt;
&lt;/li&gt;
&lt;li&gt;Difference between Routers &amp;amp; Modem
&lt;img src="https://media.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%2Fqlk83d8u0oapbsiat0vc.png" alt="Alt Text"&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The Internet: Services view&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fbh2n4szjhmouh7oo3zqc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fbh2n4szjhmouh7oo3zqc.png" alt="Internet - services view"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Example for Using the Internet as a Service in applications

&lt;ul&gt;
&lt;li&gt;Streaming Video from Datacenter (content Provider network) to mobile network&lt;/li&gt;
&lt;li&gt;Using HTTP protocol from Datacenter (content Provider network) to enterprise network&lt;/li&gt;
&lt;li&gt;Skype calls between mobiles use the Internet&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Internet Structure&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Network edge&lt;/strong&gt; → Clients &amp;amp; Servers&lt;/p&gt;

&lt;p&gt;Clients → end-user requesting &lt;a href="http://www.google.com" rel="noopener noreferrer"&gt;www.google.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Server → serving &lt;a href="http://google.com" rel="noopener noreferrer"&gt;www.google.com&lt;/a&gt; page  (often in data centers)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Access network &amp;amp; Physical Media →&lt;/strong&gt; wired, wireless communication links&lt;/p&gt;

&lt;p&gt;The connection between our mobile, laptop to the routers(end host to Router(ISP))&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;To connect end systems to edge router(router at the edge of our network)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Residential access nets&lt;/p&gt;

&lt;p&gt;Access Networks: Home Networks&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fie8lvsoq83nefu8q3ng8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fie8lvsoq83nefu8q3ng8.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Wireless Access Networks&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2F2cbm2oisehrk60ftwhel.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2F2cbm2oisehrk60ftwhel.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Institutional access network(school, company)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fg911w8pbrzzairt1wqi9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fg911w8pbrzzairt1wqi9.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mobile access networks(WiFi, 4G/5G)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Network core → mesh of interconnected routers&lt;/strong&gt;, ISP's, network of networks&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Connection between multiple routers&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Packet-switching ⇒ Hosts break the application layer messages into packets&lt;/p&gt;

&lt;p&gt;Network forwards packets from one router to next, across links on a path from source to destination(here algorithms are used to find the best path)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fa60xkc3tmnm8yrc3vtxe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fa60xkc3tmnm8yrc3vtxe.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Internet Flow when we hit &lt;a href="http://www.google.com" rel="noopener noreferrer"&gt;www.google.com&lt;/a&gt; in our browser&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Flow from our host to google data center (Content Provider) which is in the US&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Host ⇒ Router ⇒ ISP ⇒ Network of Regional ISPs ⇒ Network of global ISP's ⇒ content Provider Datacenter&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Reference - Computer networking - A Top-Down Approach by Kurose Ross&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>computerscience</category>
      <category>network</category>
      <category>discuss</category>
    </item>
    <item>
      <title>#2 Carpe diem Learning</title>
      <dc:creator>Rajalakshmi</dc:creator>
      <pubDate>Mon, 11 Jan 2021 20:49:33 +0000</pubDate>
      <link>https://dev.to/rpriyaraji/2-ceo-s-daily-diary-4ako</link>
      <guid>https://dev.to/rpriyaraji/2-ceo-s-daily-diary-4ako</guid>
      <description>&lt;h2&gt;
  
  
  Today's Learning on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Coding&lt;/li&gt;
&lt;li&gt;Tasks done&lt;/li&gt;
&lt;li&gt;Tips&lt;/li&gt;
&lt;li&gt;Ideas&lt;/li&gt;
&lt;li&gt;
Take away motivation &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Coding &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Easy to revise Python syntax in a nutshell from this &lt;a href="https://www.csestack.org/basic-python3-syntax-code-example/"&gt;blog&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;In Python, the Dictionary data types represent the implementation of hash tables. The Keys in the dictionary satisfy the following requirements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The keys of the dictionary are hashable i.e. they are generated by the hashing function which generates a unique result for each unique value supplied to the hash function.&lt;br&gt;
The order of data elements in a dictionary is not fixed.&lt;/p&gt;
&lt;h3&gt;
  
  
  Tasks done &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Attended ZOHO interview 2nd &amp;amp; 3rd round&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
  
  
  Round 2
&lt;/h4&gt;
&lt;h5&gt;
  
  
  Question 1 : Print given number pattern using loop.
&lt;/h5&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;55555
54444
54333
54322
54321
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h5&gt;
  
  
  Key Logic:
&lt;/h5&gt;

&lt;p&gt;Split the question into two parts as follows&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Part 1 =&amp;gt; 5----  
          54---
          543--
          5432-
          54321
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Part 2 =&amp;gt; -5555
          --444
          ---33
          ----2
          -----
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To iterate through rows, run an outer loop from 1 to rows (where rows are total rows to be printed).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To print the first part of the pattern, run an inner loop from columns to &lt;a href="https://dev.towhere%20columns%20are%20total%20columns%20to%20be%20printed"&gt;columns- current_row&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;Inside this loop print the value of the current column.&lt;/li&gt;
&lt;li&gt;To print the second part of the pattern, run another inner loop from 1 to [columns - current_row]. 
Inside this loop print the value of rows - [current_row + 1].&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Refer to &lt;a href="https://www.atnyla.com/c-program/program-to-print-number-pattern-pre-55555-54444-54333-54322-54321-pre-/762?page=23"&gt;this&lt;/a&gt; article for the detailed explanation in C&lt;/p&gt;

&lt;h4&gt;
  
  
  3rd Round
&lt;/h4&gt;

&lt;h5&gt;
  
  
  Question 1:
&lt;/h5&gt;

&lt;p&gt;Program to print a snake matrix without using arrays &lt;/p&gt;

&lt;p&gt;Refer to &lt;a href="https://gist.github.com/syedjafer/663538b0d7c4166af5ee1c2a560627ce"&gt;this&lt;/a&gt; article for the detailed explanation in C&lt;/p&gt;

&lt;h5&gt;
  
  
  Question 2:
&lt;/h5&gt;

&lt;p&gt;Program to print a snake matrix in the following pattern without using arrays and if conditions.&lt;/p&gt;

&lt;p&gt;Input : [ 1, 2, 4, 5, 2, 1, 5, 2, 10, 22, 5 ]&lt;br&gt;
Output:&lt;br&gt;
1 -&amp;gt; 2&lt;br&gt;
2 -&amp;gt; 3&lt;br&gt;
5 -&amp;gt; 3&lt;/p&gt;

&lt;h5&gt;
  
  
  Key Logic:
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Create a Hash Map to store the frequency of the elements.
Elements whose frequency is greater than 1 are the repeated elements.&lt;/li&gt;
&lt;li&gt;I got rejected in this question as I have used Dictionary(hashmap) to store the frequency of the elements but in the given question, they have asked to do use array. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Refer to &lt;a href="https://www.geeksforgeeks.org/find-the-frequencies-of-all-duplicates-elements-in-the-array/amp/"&gt;this&lt;/a&gt; article for the detailed explanation in Python&lt;/p&gt;

&lt;h3&gt;
  
  
  Tips&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;From today's Interview experience learned that while the coding focus on building the core logic of a program that brings the best-optimized solution calculated by its space &amp;amp; time taken&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Need in-depth working of data structures in basic programming languages C, C++, Java, Python because irrespective of programming language, interviewers expecting to implement data structures concepts in all of the above.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Ideas&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;For procedural learning of cracking coding interview do heavy practice on &lt;em&gt;cracking the coding interview&lt;/em&gt; book.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Motivation&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;When making plans think big, when making progress think small&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>100daysofcode</category>
      <category>devjournal</category>
      <category>programming</category>
    </item>
    <item>
      <title>#1 Carpe diem Learning</title>
      <dc:creator>Rajalakshmi</dc:creator>
      <pubDate>Sat, 09 Jan 2021 20:57:21 +0000</pubDate>
      <link>https://dev.to/rpriyaraji/1-ceo-s-daily-diary-7le</link>
      <guid>https://dev.to/rpriyaraji/1-ceo-s-daily-diary-7le</guid>
      <description>&lt;p&gt;Hello Devs here,&lt;/p&gt;

&lt;p&gt;I have started this series to jot down my ideas, thoughts, day to day activities that would lay down path to successful person.&lt;/p&gt;

&lt;h2&gt;
  
  
  Today's Learning on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Coding&lt;/li&gt;
&lt;li&gt;Tasks done&lt;/li&gt;
&lt;li&gt;Tips&lt;/li&gt;
&lt;li&gt;Ideas&lt;/li&gt;
&lt;li&gt;
Take away motivation &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Coding &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Learned about &lt;em&gt;competitive programming&lt;/em&gt; and it's best practices&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Programmer's efficiency is calculated from their way of coding that includes the type of algorithm, logic, processing speed, memory allocation.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;First need to understand why big FANG companies approach competitive programming to evaluate a candidate's efficiency&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Main aim of the company is to deliver a product that satisfies customer experience that includes parameters like speed, etc. at a affordable cost&lt;/li&gt;
&lt;li&gt;Expect every developer they hire must have this superpower capability and that can be exposed through their code.

&lt;ul&gt;
&lt;li&gt;To code in such a smarter way we need to know the in-depth working of computers when our code is executed.&lt;/li&gt;
&lt;li&gt;Learning about Algorithms(algo), Data Structures(D.S), most importantly when to use which algo &amp;amp; D.S matters the performance of code.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Time Complexity&lt;/em&gt; (time required to execute each piece of code) 
Following are some key examples to calculate the time complexity(T.C.)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Order of Precedence(low time consuming to high):
&lt;strong&gt;O(1)&amp;lt; O(log n)&amp;lt; O(n)&amp;lt; O(nlogn)&amp;lt; O(n^c)&amp;lt; O(n!)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Cheatsheet:
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qSqV2bqU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/s1guv4de21qwy32km855.jpeg" alt="Alt Text"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PIArKn3K--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/g7avudkm135134rduxw1.jpeg" alt="Alt Text"&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;&lt;em&gt;Space Complexity&lt;/em&gt; (memory): It is opposite to time complexity, more time-efficient programs consume more space. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Also in what scenarios which programming language is preferred

&lt;ul&gt;
&lt;li&gt;C or CPP or JAVA &amp;gt; Python  is preferrable for competitive programming because of its fast execution&lt;/li&gt;
&lt;li&gt;Java is preferred for its &lt;em&gt;Object-Oriented&lt;/em&gt; nature, mainly for its abstraction and encapsulation.&lt;/li&gt;
&lt;li&gt;Python for easy learning and mainly used in &lt;em&gt;ML, Data Science&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;C &amp;amp; CPP used for &lt;em&gt;Game, compiler developing, implementing Data Structures&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Java Script can be used for both front end and backend&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;ReasonML&lt;/em&gt; newly emerging is used for web development with AI, ML because it leverages both JS &amp;amp; OCaml ecosystems&lt;/li&gt;
&lt;/ul&gt;


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

&lt;blockquote&gt;
&lt;p&gt;Tip: Trending Languages many come and go but basic object-oriented programming doesn't change and it is more essential for a successful programmer.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Tasks done &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Attended a meetup conducted by &lt;a href="https://dev.to/gitlabc"&gt;Gitlab Meetup Coimbatore&lt;/a&gt; on &lt;em&gt;BreakDown NodeJS&lt;/em&gt; and won goodies for active participation&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Key takeaways from the meetup : 

&lt;ul&gt;
&lt;li&gt;V8 engine is used to execute js code

&lt;ul&gt;
&lt;li&gt;It is also used in chrome in which the js part only single-threaded.&lt;/li&gt;
&lt;li&gt;Uses heap, stack from stack control is passed to &lt;em&gt;libuv&lt;/em&gt; (package written in C) it executes code blocks in the event loop&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Good understanding of JS Prototype

&lt;ul&gt;
&lt;li&gt;function prototype -&amp;gt; carried out by constructor&lt;/li&gt;
&lt;li&gt;Object prototype -&amp;gt; carried out by &lt;em&gt;proto&lt;/em&gt; property&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Destructuring code&lt;/li&gt;
&lt;li&gt;Babble (to convert ES6 to ES5 at run time for browser compatibility issues)&lt;/li&gt;
&lt;li&gt;NodeJS is single-threaded as of now but nowadays JS, Python switching to multi-thread to support big data.&lt;/li&gt;
&lt;li&gt;suggested to read &lt;em&gt;"You don't know JS"&lt;/em&gt; to understand JS more precisely&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Tips&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.freecodecamp.org/news/vs-code-extensions-to-boost-your-development-productivity/"&gt;Vscode Extensions that'll boost development productivity&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Prepare short notes and do &lt;em&gt;revision&lt;/em&gt; consistently without this learning is simply a waste of time!&lt;/li&gt;
&lt;li&gt;Do follow &lt;em&gt;Atomic Habits&lt;/em&gt; 

&lt;ul&gt;
&lt;li&gt;(1) make it obvious &lt;/li&gt;
&lt;li&gt;(2) make it attractive&lt;/li&gt;
&lt;li&gt;(3) make it easy, and &lt;/li&gt;
&lt;li&gt;(4) make it satisfying&lt;/li&gt;
&lt;/ul&gt;


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

&lt;p&gt;believe it has huge power!!!&lt;/p&gt;

&lt;h3&gt;
  
  
  Ideas&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;As I'm a AI enthusiast, found some cool fun project ideas that we can make during learning stage itself.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;ML Model to clear the clutter from our phone's gallery (E.g. WhatsappImages)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Detect &amp;amp; Extract patterned pictures from that folder&lt;/li&gt;
&lt;li&gt;Built a CNN&lt;/li&gt;
&lt;li&gt;Run Py script in a laptop with connection to mobile containing that folder&lt;/li&gt;
&lt;/ul&gt;


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

&lt;p&gt;Using OpenCV Tensorflow for Face Detection&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To understand Py in ML &amp;amp; Image Processing&lt;/li&gt;
&lt;/ul&gt;


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

&lt;p&gt;Build a website using Py, JS with chatbot implementing NLP&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We can gain an in-depth idea in both Website Design, Development, Hosting, and AI&lt;/li&gt;
&lt;/ul&gt;


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

&lt;h3&gt;
  
  
  Motivation&lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Inspiration unused is merely entertainment so put into action.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Confidence isn't thinking u r better than everyone else, it's realizing that you have no reason to compare yourself to anyone else.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;em&gt;F.A.I.L&lt;/em&gt; - First Attempt In Learning (this made me start this series)&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>100daysofcode</category>
      <category>challenge</category>
      <category>codenewbie</category>
      <category>devjournal</category>
    </item>
    <item>
      <title>Throws signature Exception while Integrating new API services in AEM</title>
      <dc:creator>Rajalakshmi</dc:creator>
      <pubDate>Thu, 24 Dec 2020 01:40:02 +0000</pubDate>
      <link>https://dev.to/rpriyaraji/throws-signature-exception-while-integrating-new-api-services-in-aem-3de</link>
      <guid>https://dev.to/rpriyaraji/throws-signature-exception-while-integrating-new-api-services-in-aem-3de</guid>
      <description>&lt;p&gt;In Aem we would configure a service in such a way that it contains Aws access key, secret key, service name, channel, host. &lt;br&gt;
Already application is working fine for such configuration by utilising this server credentials.&lt;br&gt;
But when I try to add new server with new credentials, host, access and secret key for some specific services it throws invalid signature Exception with the response as canonical string to string doesn't match with the generated one.&lt;/p&gt;

&lt;p&gt;My doubt is does will signature generating code changes for different server credentials? And note aem doesn't use any Aws SDK.&lt;/p&gt;

&lt;p&gt;Or else any other steps need to be performed from AEM side for accessing services Aws other than these&lt;br&gt;
1.configuring a new server under apps/project/config.author folder&lt;br&gt;
2.Accessing it from Java code and passing to 2 methods one for generating Aws headers (signature is generated at this step using AWSV4auth.java code) and other one for executing the post request call by passing access,secret key,Aws headers and getting the response.&lt;br&gt;
In the response it's showing as "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."&lt;/p&gt;

</description>
      <category>challenge</category>
      <category>help</category>
      <category>aws</category>
      <category>aem</category>
    </item>
    <item>
      <title>"vertical {Boolean} false" property is not working in coral radio group</title>
      <dc:creator>Rajalakshmi</dc:creator>
      <pubDate>Sat, 24 Oct 2020 01:50:31 +0000</pubDate>
      <link>https://dev.to/rpriyaraji/vertical-boolean-false-property-is-not-working-in-coral-radio-group-593</link>
      <guid>https://dev.to/rpriyaraji/vertical-boolean-false-property-is-not-working-in-coral-radio-group-593</guid>
      <description>&lt;p&gt;Hey Devs,&lt;br&gt;
This radio group (sling:resourceType="granite/ui/components/coral/foundation/form/radiogroup) in aem6.5 doesn't support "vertical {Boolean} false" property. &lt;br&gt;
Can anyone help in solving this?&lt;/p&gt;

</description>
      <category>help</category>
      <category>discuss</category>
      <category>aem</category>
      <category>adobe</category>
    </item>
  </channel>
</rss>
