<?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 Muralidharan Vivekananthan on Medium]]></title>
        <description><![CDATA[Stories by Muralidharan Vivekananthan on Medium]]></description>
        <link>https://medium.com/@muralidharan_vivekananthan?source=rss-b7bb28dfafbb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*__7O81TQWEu490oc</url>
            <title>Stories by Muralidharan Vivekananthan on Medium</title>
            <link>https://medium.com/@muralidharan_vivekananthan?source=rss-b7bb28dfafbb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:17:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muralidharan_vivekananthan/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[DAY — 11: BECOMING AN SDE 2 [BACKEND] — GOLANG]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-11-becoming-an-sde-2-backend-golang-1fa0c206e5e4?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fa0c206e5e4</guid>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Thu, 18 Jun 2026 15:14:07 GMT</pubDate>
            <atom:updated>2026-06-18T15:14:07.019Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello there,</p><p>Today is also an extension of yesterday’s learning. [Introduction to Golang.]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tPfqYL536gqjrMmE.png" /></figure><p><strong>Structures</strong>:</p><ul><li>A struct (short for structure) is used to create a collection of members of different data types, into a single variable.</li></ul><p><strong>Format</strong>:</p><pre>type struct_name struct {<br>  member1 datatype;<br>  member2 datatype;<br>  member3 datatype;<br>  ...<br>}</pre><p>Example:</p><pre>type Person struct {<br>  name string<br>  age int<br>  job string<br>  salary int<br>}</pre><p>Here is how you access struct members and pass it to a function:</p><pre>package main<br>import (&quot;fmt&quot;)<br><br>type Person struct {<br>  name string<br>  age int<br>  job string<br>  salary int<br>}<br><br>func main() {<br>  var pers1 Person<br>  var pers2 Person<br><br>  // Pers1 specification<br>  pers1.name = &quot;Hege&quot;<br>  pers1.age = 45<br>  pers1.job = &quot;Teacher&quot;<br>  pers1.salary = 6000<br><br>  // Pers2 specification<br>  pers2.name = &quot;Cecilie&quot;<br>  pers2.age = 24<br>  pers2.job = &quot;Marketing&quot;<br>  pers2.salary = 4500<br><br>  // Print Pers1 info by calling a function<br>  printPerson(pers1)<br><br>  // Print Pers2 info by calling a function<br>  printPerson(pers2)<br>}<br><br>func printPerson(pers Person) {<br>  fmt.Println(&quot;Name: &quot;, pers.name)<br>  fmt.Println(&quot;Age: &quot;, pers.age)<br>  fmt.Println(&quot;Job: &quot;, pers.job)<br>  fmt.Println(&quot;Salary: &quot;, pers.salary)<br>}</pre><p><strong>Maps:</strong></p><ul><li>Maps are used to store data values in key:value pairs.</li><li>Each element in a map is a key:value pair.</li><li>A map is an unordered and changeable collection that does not allow duplicates.</li><li>The length of a map is the number of its elements. You can find it using the len() function.</li><li>The default value of a map is nil.</li><li>Maps hold references to an underlying hash table.</li></ul><p>Example:</p><pre>package main<br>import (&quot;fmt&quot;)<br><br>func main() {<br>  var a = map[string]string{&quot;brand&quot;: &quot;Ford&quot;, &quot;model&quot;: &quot;Mustang&quot;, &quot;year&quot;: &quot;1964&quot;}<br>  b := map[string]int{&quot;Oslo&quot;: 1, &quot;Bergen&quot;: 2, &quot;Trondheim&quot;: 3, &quot;Stavanger&quot;: 4}<br><br>  fmt.Printf(&quot;a\t%v\n&quot;, a)<br>  fmt.Printf(&quot;b\t%v\n&quot;, b)<br>}</pre><p>Output:</p><pre>a   map[brand:Ford model:Mustang year:1964]<br>b   map[Bergen:2 Oslo:1 Stavanger:4 Trondheim:3]</pre><p>Example with <strong>make()</strong> function:</p><pre>package main<br>import (&quot;fmt&quot;)<br><br>func main() {<br>  var a = make(map[string]string) // The map is empty now<br>  a[&quot;brand&quot;] = &quot;Ford&quot;<br>  a[&quot;model&quot;] = &quot;Mustang&quot;<br>  a[&quot;year&quot;] = &quot;1964&quot;<br>                                 // a is no longer empty<br>  b := make(map[string]int)<br>  b[&quot;Oslo&quot;] = 1<br>  b[&quot;Bergen&quot;] = 2<br>  b[&quot;Trondheim&quot;] = 3<br>  b[&quot;Stavanger&quot;] = 4<br><br>  fmt.Printf(&quot;a\t%v\n&quot;, a)<br>  fmt.Printf(&quot;b\t%v\n&quot;, b)<br>}</pre><p><strong>Updating an element in the map</strong>:</p><pre>package main<br>import (&quot;fmt&quot;)<br><br>func main() {<br>  var a = make(map[string]string)<br>  a[&quot;brand&quot;] = &quot;Ford&quot;<br>  a[&quot;model&quot;] = &quot;Mustang&quot;<br>  a[&quot;year&quot;] = &quot;1964&quot;<br><br>  fmt.Println(a)<br><br>  a[&quot;year&quot;] = &quot;1970&quot; // Updating an element<br>  a[&quot;color&quot;] = &quot;red&quot; // Adding an element<br><br>  fmt.Println(a)<br>}</pre><p><strong>Removing an element from the map</strong>:</p><pre>package main<br>import (&quot;fmt&quot;)<br><br>func main() {<br>  var a = make(map[string]string)<br>  a[&quot;brand&quot;] = &quot;Ford&quot;<br>  a[&quot;model&quot;] = &quot;Mustang&quot;<br>  a[&quot;year&quot;] = &quot;1964&quot;<br><br>  fmt.Println(a)<br><br>  delete(a,&quot;year&quot;) //delete(mapName, key)<br><br>  fmt.Println(a)<br>}</pre><p><strong>Check For Specific Elements in a Map:</strong></p><pre>package main<br>import (&quot;fmt&quot;)<br><br>func main() {<br>  var a = map[string]string{&quot;brand&quot;: &quot;Ford&quot;, &quot;model&quot;: &quot;Mustang&quot;, &quot;year&quot;: &quot;1964&quot;, &quot;day&quot;:&quot;&quot;}<br><br>  val1, ok1 := a[&quot;brand&quot;] // Checking for existing key and its value<br>  val2, ok2 := a[&quot;color&quot;] // Checking for non-existing key and its value<br>  val3, ok3 := a[&quot;day&quot;]   // Checking for existing key and its value<br>  _, ok4 := a[&quot;model&quot;]    // Only checking for existing key and not its value<br><br>  fmt.Println(val1, ok1)<br>  fmt.Println(val2, ok2)<br>  fmt.Println(val3, ok3)<br>  fmt.Println(ok4)<br>}</pre><p><strong>Output</strong>:</p><pre>Ford true<br> false<br> true<br>true</pre><p><strong>MAPS ARE REFERENCES</strong>:</p><ul><li>Maps are references to hash tables.</li><li>If two map variables refer to the same hash table, changing the content of one variable affect the content of the other.</li></ul><pre>package main<br>import (&quot;fmt&quot;)<br><br>func main() {<br>  var a = map[string]string{&quot;brand&quot;: &quot;Ford&quot;, &quot;model&quot;: &quot;Mustang&quot;, &quot;year&quot;: &quot;1964&quot;}<br>  b := a<br><br>  fmt.Println(a)<br>  fmt.Println(b)<br><br>  b[&quot;year&quot;] = &quot;1970&quot;<br>  fmt.Println(&quot;After change to b:&quot;)<br><br>  fmt.Println(a)<br>  fmt.Println(b)<br>}</pre><p>Output:</p><pre>map[brand:Ford model:Mustang year:1964]<br>map[brand:Ford model:Mustang year:1964]<br>After change to b:<br>map[brand:Ford model:Mustang year:1970]<br>map[brand:Ford model:Mustang year:1970]</pre><p>That is all for today.</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fa0c206e5e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAY — 8: BECOMING AN SDE 2 [BACKEND] — GOLANG]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-8-becoming-an-sde-2-backend-golang-c6ad814d7ca7?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6ad814d7ca7</guid>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Mon, 15 Jun 2026 18:13:23 GMT</pubDate>
            <atom:updated>2026-06-15T18:13:23.306Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey,</p><p>Today was all about fixing myself up. 🙂</p><p>Here is a LinkedIn post reflecting my thoughts:</p><p><a href="https://www.linkedin.com/posts/muralidharan-vivekananthan-3454481aa_seeking-help-is-always-the-go-to-share-7472339230908653569-g1c1/?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAADDUy-UBPQpHzEkDBjfkLgV0WQ6TbMQbmwk">🙏🏻 Seeking help... is always the go-to, conventionally, when in trouble. But it isn&amp;#39;t the resolution. The helping hand 💪🏻 we look for is often our own. 💥 Growth begins when we stop waiting... | Muralidharan Vivekananthan</a></p><p>All set for a smooth and confident progress. 🤞🏻</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6ad814d7ca7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAY — 7: BECOMING AN SDE 2 [BACKEND] — GOLANG]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-7-becoming-an-sde-2-backend-golang-c94a2b1a8dd3?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c94a2b1a8dd3</guid>
            <category><![CDATA[time-complexity]]></category>
            <category><![CDATA[sde2]]></category>
            <category><![CDATA[big-o-notation]]></category>
            <category><![CDATA[code-optimization]]></category>
            <category><![CDATA[space-complexity]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Sun, 14 Jun 2026 20:36:05 GMT</pubDate>
            <atom:updated>2026-06-14T20:36:05.769Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello there, 🙂</p><p>I learnt about the BIG O NOTATION today. Here is the short note of it:</p><p><strong>Big O answers one question: “How does my code slow down as data grows?”</strong></p><p>Imagine you’re looking for a name in a list. The time it takes depends on how many names are on the list — that’s what Big O measures.</p><p>Below is an example from Claude:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BuumJm0NUt-R_U0OCijrvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GIrTzynSnrPVCtBp2QKcRQ.png" /></figure><h3>How to Calculate Time &amp; Space Complexity</h3><h4>The Simple Rules</h4><p><strong>Time Complexity</strong> = Count how many times your code <em>executes operations</em> as input grows.<br> <strong>Space Complexity</strong> = Count how much <em>extra memory</em> your code uses as input grows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wUKFDBICp7d_9RnKw4421g.png" /></figure><pre>def find_duplicate(arr):<br>    result = []                          # Line 1<br><br>    for i in range(len(arr)):           # Line 2<br>        for j in range(len(arr)):       # Line 3<br>            if i != j and arr[i] == arr[j]:   # Line 4<br>                if arr[i] not in result:       # Line 5<br>                    result.append(arr[i])      # Line 6<br><br>    return result                        # Line 7</pre><p><strong>TIME COMPLEXITY BREAKDOWN</strong>:</p><p>Line 1 → O(1) just creating a variable, runs once<br>Line 2 → O(n) loops through all n items<br>Line 3 → O(n) for EACH item above, loops n times again<br>Line 4 → O(1) just a comparison, runs once per iteration<br>Line 5 → O(n) “not in” scans the result list<br>Line 6 → O(1) append is constant<br>Line 7 → O(1) just returning</p><blockquote>O(1) + O(n × n × n) + O(1)<br>= O(n³) ← two nested loops × “not in” scan inside</blockquote><blockquote>Drop constants and smaller terms → <strong>Final: O(n³)</strong></blockquote><p><strong>SPACE COMPLEXITY BREAKDOWN:</strong></p><p>arr → input, we don’t count this<br>result → O(n) ← in the worst case, holds n items<br>i, j → O(1) ← just two integer variables</p><blockquote>O(n) + O(1) = O(n)</blockquote><blockquote><strong>Final</strong>: O(n) space</blockquote><p>That is all for today.</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c94a2b1a8dd3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAY — 5: BECOMING AN SDE 2 [BACKEND] — GOLANG]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-5-becoming-an-sde-2-backend-golang-806d7a76fbb9?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/806d7a76fbb9</guid>
            <category><![CDATA[sde2]]></category>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Fri, 12 Jun 2026 12:51:00 GMT</pubDate>
            <atom:updated>2026-06-12T12:51:00.667Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey There, 🙂</p><p>I had been feeling kind of off the track for a while though I am consistent. I was watching random videos on youtube about interview prep and stuff. And I suddenly happened to get this thought…</p><blockquote>To work like a SDE2, I’ll have to think like one.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LtFJG9eOHHTcx6ph.png" /></figure><p>And that’s when I had a chat with my virtual friend, ChatGPT and got to understand about the perspective. Here it is:</p><p>— the focus must be on how to make this not break instead of how to make it work.<br> — keep solutions simple. <br>— better logging. (with metrics)<br>— be able to explain why a certain solution was chosen. <br>— write readable code.<br> — consider time and space complexity.</p><p>This is all that I am going to start with going ahead. I might add some more stuff to the list above if I get to encounter more as I learn.</p><p>Besides, I also wrote the following program:</p><p>A program to find the sum of n numbers.</p><pre>package main<br><br>import &quot;fmt&quot;<br><br>func sumTillN() {<br> var num int<br> fmt.Print(&quot;Enter a number: &quot;)<br><br> _, err := fmt.Scan(&amp;num)<br> if err != nil {<br>  fmt.Println(&quot;Invalid input!&quot;)<br>  return<br> }<br><br> if num &lt; 1 {<br>  fmt.Println(&quot;Please enter a positive number!&quot;)<br> }<br><br> sum := num * (num + 1) / 2 //formula to sum n numbers<br><br> fmt.Println(&quot;Sum of digits: &quot;, sum)<br><br>}</pre><p>That is all for today. 🙂</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=806d7a76fbb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAY — 4: BECOMING AN SDE 2 [BACKEND] — GOLANG]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-4-becoming-an-sde-2-backend-golang-8e0bc4990281?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e0bc4990281</guid>
            <category><![CDATA[error-handling]]></category>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Thu, 11 Jun 2026 18:47:14 GMT</pubDate>
            <atom:updated>2026-06-11T18:47:14.758Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello there, 🙂</p><p>Today, I wrote a go program to find the largest of 3 Integers:</p><pre>package main<br><br>import &quot;fmt&quot;<br><br>func largestOf3() {<br> var n1, n2, n3 int<br> fmt.Print(&quot;Enter the numbers number: &quot;)<br><br> _, err := fmt.Scan(&amp;n1, &amp;n2, &amp;n3)<br> if err != nil {<br>  fmt.Println(&quot;Invalid input!&quot;)<br>  return<br> }<br><br> largest := n1<br><br> if n2 &gt; largest {<br>  largest = n2<br> }<br><br> if n3 &gt; largest {<br>  largest = n3<br> }<br><br> fmt.Println(&quot;The largest number is:&quot;, largest)<br>}</pre><p>My learnings from writing the above code:</p><ul><li><strong>Error handling</strong> is the process of anticipating, detecting, and resolving failures or unexpected conditions in a software application while it is running.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_EkoEUd1agWkbC20" /></figure><p><strong>IMPORTANCE</strong>:</p><ul><li>Prevents System Crashes</li><li>Improves User Experience</li><li>Simplifies Debugging</li><li>Secures the Application</li></ul><p>That is all for today.</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e0bc4990281" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAY — 3: BECOMING AN SDE 2 [BACKEND] — GOLANG]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-2-becoming-an-sde-2-backend-golang-219a5076307c?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/219a5076307c</guid>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Wed, 10 Jun 2026 18:04:52 GMT</pubDate>
            <atom:updated>2026-06-11T18:07:07.442Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey there, 🥳</p><p>Here’s what I learnt today:</p><ul><li>WHAT IS A <strong><em>go.mod</em></strong> FILE AND HOW TO CREATE IT?</li></ul><p>The go.mod file is a central component of Go’s module system, which was introduced in Go 1.11 (released in November 2018). It allows you to track the dependencies required by your code and their versions.</p><p>To create a go.mod file, you can use the following steps:</p><ol><li>Create a new directory for your project.</li><li>Navigate into this directory using the command cd.</li><li>Run the command go mod init &lt;your-project-name&gt;. Replace &lt;your-project-name&gt; with the name of your project.</li><li>This will create a go.mod file in your directory and add an entry to it, specifying your module’s path.</li></ol><p>Example go.mod file:</p><pre>module myapp<br><br>go 1.24.0</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/0*_H9NQSiUEZ4nHNcS" /></figure><p>I also wrote go code to find if a number is even or odd:</p><pre>package main<br><br>import &quot;fmt&quot;<br><br>func oddOrEven() {<br> n := 0<br><br> fmt.Println(&quot;Enter a number: &quot;)<br> fmt.Scan(&amp;n)<br><br> if n &lt; 1 {<br>  fmt.Println(&quot;Please enter a valid number!&quot;)<br>  return<br> }<br><br> if n%2 == 0 {<br>  fmt.Println(&quot;Even!&quot;)<br>  return<br> }<br><br> fmt.Println(&quot;Odd!&quot;)<br>}</pre><p>The above solution runs in O(1) time and O(1) space. There is an alternative too.</p><pre>if n&amp;1 == 0 {<br>    fmt.Println(&quot;Even!&quot;)<br>} else {<br>    fmt.Println(&quot;Odd!&quot;)<br>}</pre><h3>Example with an even number</h3><pre>n := 6</pre><p>Binary:</p><pre>6 = 110<br>1 = 001</pre><p>Perform AND:</p><pre>110<br>001<br>---<br>000</pre><p>Result:</p><pre>6 &amp; 1 == 0</pre><p>Since the result is 0, the number is even.</p><p>That is all.</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=219a5076307c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAY — 2: BECOMING AN SDE 2 [BACKEND] — GOLANG]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-2-becoming-an-sde-2-backend-golang-7fbba0260a57?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fbba0260a57</guid>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 20:24:43 GMT</pubDate>
            <atom:updated>2026-06-09T20:24:43.518Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey there, 🙂</p><p>Today, I learnt about the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*HQlGkOwulVaKj92p.png" /></figure><ul><li>VARIABLE DECLARATION IN GO.</li></ul><blockquote>Example:</blockquote><blockquote>var x string = “Qwerty”</blockquote><blockquote>or</blockquote><blockquote>x: = “Qwerty”</blockquote><ul><li>FUNCTIONS AND RETURN TYPES.</li></ul><blockquote>func main() {<br> x := getStr()<br> fmt.Println(x)<br>}</blockquote><blockquote>func getStr() string {<br>return “str”<br>}</blockquote><ul><li>SLICES AND FOR LOOP.</li></ul><blockquote>Slice: <br>x := []string{“Abc”, “Def”}<br>Append()<br>x = append(x, “Ghi”)</blockquote><blockquote>For Loop:<br>for _, i := range x {<br> fmt.Println(i)<br>}</blockquote><ul><li>Golang doesn’t have classes and objects. [<strong><em>It isn’t a Object Oriented Programming Language.</em></strong>]</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Besides, I researched about how best to use AI for development.</p><p>That is all for today.</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fbba0260a57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day — 38 Learning DevOps [CI/CD Pipelines  — Add Docker build & push to pipeline.(WEEK]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-38-learning-devops-ci-cd-pipelines-add-docker-build-push-to-pipeline-week-fe6c25f78e98?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe6c25f78e98</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Fri, 10 Oct 2025 20:09:55 GMT</pubDate>
            <atom:updated>2025-10-10T20:09:55.103Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day — 38 Learning DevOps [CI/CD Pipelines 🔁 — Add Docker build &amp; push to pipeline.(WEEK 5️⃣: DAY 3️⃣)]</h3><p>Hello there, 😄</p><p>And just like that, we have come to the end of the working days. 🥳</p><p>Here’s what I did today:</p><ul><li>Enhanced Day 37’s Pipeline.</li></ul><p><a href="https://medium.com/@muralidharan_vivekananthan/day-37-learning-devops-ci-cd-pipelines-creating-a-basic-build-pipeline-for-backend-app-58d1077e94be">Day — 37 Learning DevOps [CI/CD Pipelines 🔁 — Creating a basic build pipeline for backend app…</a></p><ul><li><strong>Whenever code is pushed to the </strong><strong>main branch, build my Docker image and push it to Docker Hub.</strong></li><li>This was achieved by modifying the .github/workflows/build.yml file. [Personal Reference: <a href="https://github.com/murali-vivek/MY-FIRST-CI-CD-PIPELINE">https://github.com/murali-vivek/MY-FIRST-CI-CD-PIPELINE</a> COMMIT: 506f428 — Add Docker build &amp; push automation via GitHub Actions]</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H87TIjO4TnZNx5S1z56Whw.png" /></figure><p>And that is all for today.</p><p>Thanks for reading.</p><p>Day (3️⃣8️⃣ / 2️⃣0️⃣0️⃣) — ✅</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe6c25f78e98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day — 37 Learning DevOps [CI/CD Pipelines  — Creating a basic build pipeline for backend app…]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-37-learning-devops-ci-cd-pipelines-creating-a-basic-build-pipeline-for-backend-app-58d1077e94be?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/58d1077e94be</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Thu, 09 Oct 2025 20:20:02 GMT</pubDate>
            <atom:updated>2025-10-09T20:20:02.201Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day — 37 Learning DevOps [CI/CD Pipelines 🔁 — Creating a basic build pipeline for backend app with GITHUB ACTIONS.(WEEK 5️⃣: DAY 2️⃣)]</h3><p>Hello there, 👋🏻</p><p>A long day. 😮‍💨</p><p>Today’s goal was to automate <strong>Docker build and push</strong> process using <strong>GitHub Actions</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m1E5jQsoNYDXevpB.png" /></figure><p>This is what I learnt:</p><ul><li>How to create a <strong>GitHub Actions workflow</strong> (.yml file).</li><li>How to use <strong>secrets</strong> in GitHub (for Docker Hub credentials).</li><li>How to automatically build and push Docker image on every commit.</li></ul><p>I used the same app I used in my Kubernetes mini-project: [<a href="https://medium.com/@muralidharan_vivekananthan/day-35-learning-devops-kubernetes-%EF%B8%8F-mini-project-backend-database-on-kubernetes-week-35ad7bf9005c">https://medium.com/@muralidharan_vivekananthan/day-35-learning-devops-kubernetes-%EF%B8%8F-mini-project-backend-database-on-kubernetes-week-35ad7bf9005c</a>]</p><ol><li>Created a new blank GitHub repository.</li><li>I created two secrets in GitHub repository → <strong>Settings → Secrets and variables → Actions → New repository secret. [</strong>DOCKER_USERNAME, DOCKER_PASSWORD<strong>].</strong></li><li>In my project root I created <strong>.github/workflows/build.yml.</strong></li><li>Pasted the below content into build.yml:</li></ol><pre>name: Build and Push Docker Image<br><br>on:<br>  push:<br>    branches:<br>      - main  # triggers the workflow whenever you push to main<br><br>jobs:<br>  build:<br>    runs-on: ubuntu-latest<br><br>    steps:<br>      - name: Checkout repository<br>        uses: actions/checkout@v3<br><br>      - name: Set up Docker Buildx<br>        uses: docker/setup-buildx-action@v3<br><br>      - name: Log in to Docker Hub<br>        uses: docker/login-action@v3<br>        with:<br>          username: ${{ secrets.DOCKER_USERNAME }}<br>          password: ${{ secrets.DOCKER_PASSWORD }}<br><br>      - name: Build and push Docker image<br>        uses: docker/build-push-action@v6<br>        with:<br>          context: .<br>          push: true<br>          tags: muralivivek/node-backend:v1</pre><p>4. Tested the pipeline by committing and pushing my mini-project code to the main branch of the newly created repo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qDll8fCmEDo6zh_9dcuZiw.png" /></figure><p>5. Opened “<strong>Actions</strong>” tab in the repository page.</p><p>6. Saw my pipeline running automatically!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rVJu6-UGdrC6m_vjbKswfg.png" /></figure><p><strong>DOCKER IMAGE CREATED IN DOCKER HUB:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yyP4l2bPenFHinZsP0eVew.png" /></figure><p><strong>OUTCOME</strong>:</p><p>I’ve automated my <strong>build and push</strong> steps:</p><ul><li>No need to run docker build and docker push manually anymore.</li><li>The pipeline runs automatically for every update.</li></ul><p>And that is all for today.</p><p>Thanks for reading.</p><p>Day (3️⃣7️⃣ / 2️⃣0️⃣0️⃣) — ✅</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58d1077e94be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day — 36 Learning DevOps [CI/CD Pipelines  —CI/CD Basics(WEEK 5️⃣: DAY 1️⃣)]]]></title>
            <link>https://medium.com/@muralidharan_vivekananthan/day-36-learning-devops-ci-cd-pipelines-ci-cd-basics-week-5%EF%B8%8F%E2%83%A3-day-1%EF%B8%8F%E2%83%A3-d22cc4c1e1b1?source=rss-b7bb28dfafbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/d22cc4c1e1b1</guid>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[continuous-deployment]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Muralidharan Vivekananthan]]></dc:creator>
            <pubDate>Wed, 08 Oct 2025 18:44:14 GMT</pubDate>
            <atom:updated>2025-10-08T18:44:14.717Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day — 36 Learning DevOps [CI/CD Pipelines 🔁 —CI/CD Basics(WEEK 5️⃣: DAY 1️⃣)]</h3><p>Hey there, 👋🏻</p><p>A new week commences. 😄 Excited to dive into the heart of DevOps. [<strong>CI/CD Pipelines</strong>.]</p><p>I’ve put together an example to understand the basics of CI/CD Pipelines with the help of ChatGpt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/0*SrwyXtWjxFX8PSxJ.png" /></figure><p>🏭 <strong>The Candy Factory Story</strong> — <strong>Understanding CI/CD Pipelines</strong></p><p>Imagine you own a candy factory 🍬 (your software project).<br>You want to produce high-quality candies quickly and continuously — without human error.<br>That’s where a CI/CD pipeline comes in.<br>It’s like an automated candy production line for your software.</p><p>🍫 <strong>Step 1</strong>: Continuous Integration (<strong>CI</strong>) → Mixing Ingredients<br>Continuous Integration (CI) means every time a developer adds new chocolate (code),<br>the system automatically:<br>1. Mixes it into the main batch (merges the code).<br>2. Checks if it still tastes good (runs automated tests).<br>3. Rejects it if it ruins the recipe (build fails).</p><p>👉 <strong>In short</strong>: Every code change is automatically built and tested.</p><p><strong>Example tools</strong>: GitHub Actions, Jenkins, GitLab CI, CircleCI</p><p>🍭 <strong>Step 2</strong>: Continuous Delivery (<strong>CD</strong>) → Wrapping Candies<br>Once the candy passes all tests, we automatically wrap it nicely and store it so it’s ready for delivery.</p><p>- The app is packaged (built into a Docker image).<br>- Then it’s pushed to a repository (like Docker Hub or ECR).<br>- It’s now ready for deployment (but not yet deployed).</p><p>👉 <strong>In short</strong>: The app is always ready to go live.</p><p>🍰 <strong>Step 3</strong>: Continuous Deployment (<strong>CD</strong>) → Delivering to Shops<br>If you take it one step further — <br>the candies are automatically delivered to stores (your production servers).</p><p>- No human approval required.<br>- Each time new code is pushed, it’s automatically deployed to the live app.</p><p>👉 <strong>In short</strong>: Code → Tested → Packaged → Live, all automatically.</p><p>⚙️ <strong>Summary</strong><br>Stage — — — — — — — — — —-| What Happens — — — — — — — — — — —| Example Tools<br> — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — <br><strong>Continuous Integration</strong> — -| Build &amp; test the app — — — — — — — — — -| Jenkins, GitHub Actions<br><strong>Continuous Delivery</strong> — — — | Package &amp; prepare for deployment — -| Docker, AWS CodeBuild<br><strong>Continuous Deployment</strong> — | Automatically deploy to production — | ArgoCD, Spinnaker</p><p>🧠 <strong>One-Liner Analogy</strong><br>CI/CD is like a self-operating candy factory — <br>- Developers pour in new chocolate (code),<br>and the factory automatically mixes, tests, wraps, and delivers perfect candies (software) to the world. 🍬</p><p>And that is all for today.</p><p>Thanks for reading.</p><p>Day (3️⃣6️⃣ / 2️⃣0️⃣0️⃣) — ✅</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d22cc4c1e1b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>