<?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 Rajdeep Kaur on Medium]]></title>
        <description><![CDATA[Stories by Rajdeep Kaur on Medium]]></description>
        <link>https://medium.com/@rakaurtakhi?source=rss-ca2e45b62d51------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*RiqLOvWv0zW_EiAILwMqOQ.jpeg</url>
            <title>Stories by Rajdeep Kaur on Medium</title>
            <link>https://medium.com/@rakaurtakhi?source=rss-ca2e45b62d51------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 09:20:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rakaurtakhi/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[Gratitude Journaling Isn’t Just Feel-Good Advice. It’s How You Train Your Brain. ]]></title>
            <link>https://rakaurtakhi.medium.com/gratitude-journaling-isnt-just-feel-good-advice-it-s-how-you-train-your-brain-5bc09db8656d?source=rss-ca2e45b62d51------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bc09db8656d</guid>
            <category><![CDATA[overthinking]]></category>
            <category><![CDATA[rewire-your-brain]]></category>
            <category><![CDATA[journaling-prompts]]></category>
            <category><![CDATA[neuroplasticity]]></category>
            <category><![CDATA[gratitude-journal]]></category>
            <dc:creator><![CDATA[Rajdeep Kaur]]></dc:creator>
            <pubDate>Sun, 03 May 2026 16:23:32 GMT</pubDate>
            <atom:updated>2026-05-03T16:28:02.382Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8clmR01EUojCe-lXNxtqnw.png" /></figure><p><a href="https://www.thirdvoice.io/resources/does-gratitude-journaling-help"><em>Gratitude journaling is often dismissed as something soft. Write a few positive things. Feel a little better. Move on. But that framing misses what’s actually happening. Gratitude journaling works because it changes how your brain processes information.</em></a></p><h3>Your Brain Is Wired to Notice What’s Wrong</h3><p>The human brain has a built-in negativity bias.<br>It prioritizes: <br> threats<br> mistakes<br> uncertainty</p><p>Not because you’re pessimistic,<br>but because this bias helped humans survive.</p><p>The result?</p><p>You naturally:</p><ul><li>remember what went wrong</li><li>replay uncomfortable moments</li><li>overlook what’s working</li></ul><p>Even when your life is improving, your brain may not register it.</p><h3>What You Pay Attention to Gets Reinforced</h3><p>Neuroplasticity is simple in principle: <em>The brain strengthens what it repeatedly focuses on.</em></p><p>If your attention is constantly pulled toward:</p><ul><li>stress</li><li>problems</li><li>self-doubt</li></ul><p>those pathways become easier to access.</p><p>Over time, they feel like your default.</p><h3>Gratitude Journaling Changes the Input</h3><p>Gratitude journaling works because it interrupts this pattern.<br>It forces your brain to do something it doesn’t do naturally:<br>Look for what’s working.</p><p>When you write down:</p><ul><li>something that went well</li><li>something you handled better</li><li>something you appreciate</li></ul><p>you are directing attention deliberately.</p><h3>This Isn’t About Positivity</h3><p>Gratitude journaling is not about ignoring problems.</p><p>It’s about correcting an imbalance.</p><p>Your brain already overweights the negative.</p><p>Gratitude journaling brings in data it would otherwise skip.</p><h3>Repetition Is What Creates Change</h3><p>Doing this once doesn’t matter much.<br>But repeated daily, something shifts.<br>Your brain begins to:</p><ul><li>notice positive signals faster</li><li>retain them longer</li><li>factor them into how you interpret situations</li></ul><p>This is neuroplasticity at work.</p><p>Small inputs. Repeated consistently.<br> Leading to a different baseline.</p><h3>A Simple Practice</h3><p>You don’t need complex prompts.<br>At the end of the day, write:</p><ul><li>1 thing that went well</li><li>1 thing you handled better than before</li><li>1 thing you’re grateful for</li></ul><p>That’s enough.<br>The goal isn’t depth.<br> It’s repetition.</p><h3>You’re Not Just Reflecting. You’re Training.</h3><p>Gratitude journaling feels simple.<br>But what it’s doing is not.<br>It’s gradually shifting what your brain prioritizes.<br>And over time, that changes how you think, feel, and respond.</p><h3>Final Thought</h3><p>Gratitude journaling feels simple.<br>But what it’s doing is not.<br>It’s gradually shifting what your brain prioritizes.<br>And over time, that changes how you think, feel, and respond.</p><p><strong>Train what your mind repeats with </strong>thirdvoice.io<br>You can re-read full article at <a href="https://www.thirdvoice.io/resources/does-gratitude-journaling-help">https://www.thirdvoice.io/resources/does-gratitude-journaling-help</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bc09db8656d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI therapy apps in 2026 that are showing compromising results.: A Quick, Honest Comparison]]></title>
            <link>https://rakaurtakhi.medium.com/the-best-ai-friend-apps-2026-a-quick-honest-comparison-70e099aa1105?source=rss-ca2e45b62d51------2</link>
            <guid isPermaLink="false">https://medium.com/p/70e099aa1105</guid>
            <category><![CDATA[depression]]></category>
            <category><![CDATA[therapy]]></category>
            <category><![CDATA[lonely]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[burnout]]></category>
            <dc:creator><![CDATA[Rajdeep Kaur]]></dc:creator>
            <pubDate>Thu, 12 Mar 2026 11:33:28 GMT</pubDate>
            <atom:updated>2026-03-27T08:06:13.989Z</atom:updated>
            <content:encoded><![CDATA[<p><em>you’re not in crisis, but your therapist appointment isn’t available for another month. you just need someone to think with at 1am.</em></p><p>I tested every major AI companion app i could find. dedicated companion apps, general chatbots, clinical tools. here’s the short version.</p><p><strong>ChatGPT</strong> — smart and versatile, but a yes-man. it validates everything you say. great for work, less great when you need someone to push back on your midnight spiral. free / $20/mo.</p><p><strong>Claude</strong> — the most intellectually impressive. holds complexity well. but it can get surprisingly blunt when you’re emotionally vulnerable. assistant first, companion second. free / $20/mo.</p><p><strong>Third Voice</strong> — the only one that actually remembered me between sessions. warm but not soft. challenges your thinking without making you feel stupid. built for overthinkers, relationship troubles, work stress and burnouts not roleplay. $11/month with a generous free tier. <a href="https://thirdvoice.io/">thirdvoice.io</a></p><p><strong>Google Gemini</strong> — powerful for productivity. emotionally? like talking to a very smart calculator about your feelings. not built for this. free / $19.99/mo.</p><p><strong>Replika</strong> — the OG companion app. warm, avatar-based, emotionally attuned. memory is still surface-level though, and conversations get repetitive. free / $19.99/mo.</p><p><strong>Wysa</strong> — evidence-based CBT tools with a penguin mascot. great for structured exercises. feels like homework, not connection. free / $74.99/yr.</p><p><strong>Pi</strong> — the most soothing tone of any AI. natural, calming, judgment-free. but no real memory and uncertain future after Inflection’s pivot. free.</p><p><strong>Character.AI</strong> — endless characters to talk to. fun for roleplay. zero memory, zero depth. entertainment, not support. free / premium.</p><p><strong>Woebot</strong> — clinical CBT check-ins backed by Stanford research. solid science, but resets every session and feels scripted. free.</p><p><strong>Nomi AI</strong> — impressive memory system with customizable companions. leans heavily into anime aesthetics and relationship simulation. niche. free / paid.</p><h3>he blurry line between AI friendship and intimacy</h3><p>AI companions are built to mirror your tone, follow conversational cues, and keep you engaged. that design can create emotional “stickiness,” especially for users seeking comfort, validation, or a judgment-free place to talk. even when an app markets itself as friendly, the interaction style can drift depending on how prompts, memory features, and guardrails work.</p><p>if your goal is strictly platonic, favor products with:</p><ul><li>clear content boundaries</li><li>strong moderation defaults</li><li>transparency about memory and personalization</li><li>and settings that control relationship style</li></ul><p>general AIs (ChatGPT, Claude, Gemini) are brilliant but weren’t built to be your companion. ChatGPT agrees with everything. Claude can be too direct. Gemini doesn’t even try.</p><p>companion apps (Replika, Nomi, Character.AI) nail the relationship feel but lack real depth.</p><p>clinical tools (Wysa, Woebot) are useful but feel like therapy worksheets, not connection.</p><p>Third Voice is the middle. warm like ChatGPT, smart like Claude, with memory that actually compounds over time. no avatars, no mascots, no worksheets. you just talk. it listens. and next time, it remembers. but no app and support is not there yet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70e099aa1105" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Mental Health Gap Nobody Talks About.]]></title>
            <link>https://rakaurtakhi.medium.com/the-mental-health-gap-nobody-talks-about-2df1db59d628?source=rss-ca2e45b62d51------2</link>
            <guid isPermaLink="false">https://medium.com/p/2df1db59d628</guid>
            <category><![CDATA[anxiety]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[stress]]></category>
            <category><![CDATA[overthinking]]></category>
            <category><![CDATA[burnout]]></category>
            <dc:creator><![CDATA[Rajdeep Kaur]]></dc:creator>
            <pubDate>Sat, 07 Mar 2026 07:30:32 GMT</pubDate>
            <atom:updated>2026-03-26T10:53:52.688Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="And I know I’m not the only one who needed someone to." src="https://cdn-images-1.medium.com/max/474/1*zsuqebg6VsvCREDJ-Dz6-g.jpeg" /></figure><p>There’s a version of you that everyone sees.</p><p>The one who shows up to meetings on time. Who answers Slack messages within minutes. Who somehow manages to hold it all together. The deadlines, the decisions, the quiet weight of being the person everyone else leans on.</p><p>And then there’s the version of you that exists at 11:47 PM, staring at the ceiling, replaying a conversation from six hours ago. Wondering if you said the wrong thing. Wondering if you’re doing enough. Wondering why you feel so hollow when, on paper, everything looks fine.</p><p>I know that version. I’ve been that version.</p><p>That’s why I built ThirdVoice.</p><h3>The Gap Nobody Talks About</h3><p>Here’s what I kept running into. Not just in my own life, but in conversations with friends, colleagues, people I admired. People who were clearly high-functioning. People who were succeeding by every external measure. And yet, underneath all of it, they were drowning in their own thoughts.</p><p>They weren’t in crisis. They weren’t suicidal. They didn’t need to be hospitalized. But they were exhausted in a way that no amount of sleep could fix. Mentally. Emotionally. Quietly.</p><p>And when I’d ask them, “Have you talked to anyone about this?” the answer was almost always some version of: <em>“It’s not serious enough for therapy.”</em> Or: <em>“I can’t leave work in the middle of the week for an appointment.”</em> Or: <em>“My therapist can’t see me for another month.”</em> Or my personal favorite: <em>“The kind of therapist who actually gets high-functioning people charges $1,000 an hour.”</em></p><p>That sentence haunts me.</p><p>Because there are millions of people walking around right now who are too functional for anyone to worry about them, but too overwhelmed to feel okay. They fall into this invisible gap. Not sick enough for the clinical system, not fine enough to stop searching for relief in podcast episodes and Reddit threads at 2 AM.</p><p>Therapy is incredible. I believe in it deeply. But the mental health system as it exists today was not designed for the person who just needs someone to help them <em>think out loud</em> at the end of a hard day. A 45-minute session every two weeks, scheduled three weeks in advance, at $200 an hour. That’s not a solution for the person whose mind won’t stop running at midnight on a Tuesday.</p><h4>That gap? That’s the space ThirdVoice was built for.</h4><h3>Why Not Just Use ChatGPT?</h3><p>I get this question a lot. And honestly, it’s fair.</p><p>Yes, you can open ChatGPT and type “I’m feeling anxious.” And it will say something helpful. Maybe even something insightful. But then you close the tab and open it again the next day, and it has no idea who you are. It doesn’t remember that you’ve been struggling with a boundary issue at work for three weeks. It doesn’t know that the anxiety you’re feeling today is connected to the conversation you had with your mother last Thursday.</p><p>It starts from zero. Every. Single. Time.</p><p>And that’s the thing about mental and emotional wellbeing. It’s not about isolated moments. It’s about patterns. It’s about the thread that connects Tuesday’s frustration to Friday’s exhaustion to Sunday’s guilt. No one-off conversation can hold that. You need continuity. You need something that <em>knows your story</em> and meets you where you are, not where the conversation starts.</p><p>That’s the core idea behind ThirdVoice. It remembers. Not because it’s surveilling you, but because a companion that forgets everything isn’t really a companion at all.</p><h3>Who This Is Really For</h3><p>I didn’t build ThirdVoice for everyone. I built it for a very specific kind of person. Because I am that person, and I know how lonely it can feel to be them.</p><p>It’s for the working professional between 25 and 40 who holds it together all day and then unravels quietly at night. The person who overthinks every decision but makes them all anyway. The one who is everyone’s rock and nobody’s patient.</p><p>It’s for the person who has Googled “am I burned out or just lazy” at least once in the last year. Who has read every self-help book but still can’t seem to stop the spiral. Who knows they <em>should</em> talk to someone but doesn’t know who, or when, or how to even start.</p><p>It’s not therapy. It never will be. It’s not trying to diagnose you or treat you. It’s the thing that exists in the space between your last meeting and your first breakdown. A quiet, consistent presence that helps you make sense of what’s going on inside your head.</p><h3>What the Mental Health Industry Gets Wrong</h3><p>The mental health conversation has come so far. And I’m grateful for that. But somewhere along the way, we created a binary: you’re either “getting help” or you’re not. You’re either in therapy or you’re handling it on your own.</p><p>The reality is much messier.</p><p>Most people don’t need a clinician every week. They need someone, or something, that can sit with them in the mess. Not to fix it. Not to prescribe a framework. Just to be there. To reflect back what they’re feeling without judgment. To say, “I noticed you’ve been talking about work stress a lot lately. Want to explore that?”</p><p>That kind of gentle awareness? It changes things. Not dramatically. Not overnight. But slowly, in the way that actually matters.</p><p>The current system treats mental health like acute care. You go when it’s bad, and you stop when it’s better. But emotional wellbeing isn’t a condition you treat. It’s a relationship you maintain. Every day. In small, quiet ways.</p><p>ThirdVoice is my attempt to build something that respects that truth.</p><h3>The Hardest Part of Building This</h3><p>People ask me about the tech. The AI models. The memory architecture. And yes, those things matter. But the hardest part of building ThirdVoice was never technical.</p><p>The hardest part was getting the <em>tone</em> right.</p><p>Because when you’re building something that talks to people about their inner lives, you can’t sound like a chatbot. You can’t sound like a therapist either. And you definitely can’t sound like a wellness brand trying to sell calm.</p><p>You have to sound like a person who cares. Who listens without rushing to respond. Who doesn’t flinch when someone admits they’ve been crying in the car before work. Who doesn’t offer five steps to fix it.</p><p>We spent weeks debating single words. Does it say “I understand” or “That makes sense”? Does it ask “How does that make you feel?” (too clinical) or “What’s that bringing up for you?” (warmer, less loaded)? These decisions sound small. They’re not. When someone is being vulnerable with a screen, every syllable either earns trust or breaks it.</p><h3>Built From First Principles, Not Trends</h3><p>I didn’t build ThirdVoice because the wellness space is hot right now. I built it because I sat down and asked the most uncomfortable version of a simple question: <em>Why do intelligent, self-aware people still struggle alone with their own minds?</em></p><p>That’s first principles thinking. Strip away the existing solutions, the industry assumptions, the “this is how mental health tech works” playbook. Go back to the raw, human problem and rebuild from there.</p><p>That instinct didn’t come from nowhere. It came from years of reading books that taught me how to think, not what to think.</p><p>Peter Thiel’s <em>Zero to One</em> rewired something in my brain early on. The idea that the most valuable companies don’t compete, they create something so fundamentally new that competition becomes irrelevant. I didn’t want to build another meditation app or another mood tracker. I wanted to ask: what if the entire category is wrong? What if people don’t need more tools to manage their feelings? What if they just need something that <em>stays</em> with them long enough to understand?</p><p>Charlie Munger’s <em>Poor Charlie’s Almanack</em> taught me about mental models and the danger of thinking inside a single discipline. The mental health space is full of people who only see clinical frameworks. The tech space is full of people who only see engagement metrics. Munger would say that’s exactly why both keep failing the same people. ThirdVoice exists at the intersection, borrowing from psychology, from product design, from the simple human truth that consistency builds trust.</p><p>And then there’s Nassim Taleb, whose writing on antifragility shaped how I think about emotional resilience. People don’t get stronger by avoiding hard thoughts. They get stronger by having a safe space to sit with those thoughts repeatedly, without being told to “fix” them. ThirdVoice isn’t designed to make you feel better in the moment. It’s designed to help you build a relationship with your own mind over time.</p><p>These books, and dozens of others, didn’t give me a business plan. They gave me a lens. A way of looking at a broken system and asking: what would I build if nothing existed yet? If I couldn’t copy anyone? If the only brief was the human problem itself?</p><p>That’s where ThirdVoice came from. Not a market gap on a pitch deck. A first principles question that wouldn’t leave me alone.</p><h3>This Isn’t About Replacing Anything</h3><p>I want to be honest about something: ThirdVoice is not going to solve the mental health crisis. No single product will. The systemic issues, access, affordability, stigma, provider shortages, those require policy and cultural change that goes far beyond what any app can do.</p><p>But I also believe that we can’t wait for the system to catch up. Not when there are people right now, smart, capable, good people, who are silently suffering because nothing in the current landscape meets them where they are.</p><p>ThirdVoice is a bridge. A companion for the in-between. For the moments that aren’t emergencies but still matter deeply. For the thoughts that don’t need a diagnosis, just a witness.</p><p>And here’s the thing that tells me this isn’t just my own projection: before we even launched on iOS, before a single ad, before a single influencer post, over 50 people had already signed up. Fifty strangers who somehow found us and said, “Yes, this. This is what I’ve been looking for.” No marketing funnel led them there. Just the quiet, desperate gravity of a need that nobody else was filling.</p><p>That number isn’t big by Silicon Valley standards. But every one of those sign-ups is a real person who was searching for something at some late hour, probably after a hard day, and landed on a page that finally described what they’d been feeling. That’s not a metric. That’s a responsibility.</p><p>If you’re someone who has ever felt too put-together to ask for help but too overwhelmed to keep pretending you don’t need it, I built this for you. Because I was you. And some days, I still am.</p><blockquote><em>ThirdVoice is available at </em><a href="https://www.thirdvoice.io/"><em>thirdvoice.io</em></a><em>. It’s not therapy. It’s not a chatbot. It’s a companion shaped around you.</em></blockquote><p><em>I personally answer every single email. If something in this piece resonated with you, or if you just need someone to hear you out, reach out. I’m at </em><a href="https://rajdeepkaur.com/"><em>rajdee</em></a>p@thirdvoice.io</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2df1db59d628" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bootstrapping Your Startup on Reddit Without Getting Banned]]></title>
            <link>https://rakaurtakhi.medium.com/bootstrapping-your-startup-on-reddit-without-getting-banned-e7341e2159dd?source=rss-ca2e45b62d51------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7341e2159dd</guid>
            <category><![CDATA[bootstrapping]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[startupş]]></category>
            <category><![CDATA[reddit]]></category>
            <category><![CDATA[indiehackers]]></category>
            <dc:creator><![CDATA[Rajdeep Kaur]]></dc:creator>
            <pubDate>Wed, 06 Aug 2025 11:24:41 GMT</pubDate>
            <atom:updated>2025-08-06T11:24:41.903Z</atom:updated>
            <content:encoded><![CDATA[<p>When I first tried promoting my SaaS, I jumped straight into self-promotion — and got banned immediately. I see bootstrap founders pour hours into crafting that perfect post, only to wake up and find it removed (or worse, their account suspended). That’s why I’m writing this article: to help you navigate Reddit’s rules and avoid bans.</p><p>1. <strong>Pick a Subreddit/Community You Love</strong></p><ul><li><strong>Choose a niche you know.</strong> I love drawing and watching cartoons, so I picked a cartoon subreddit (I’m not naming it here).</li><li>Reddit is built for genuine discussion, not ads — think of it as a community, not a marketing channel.</li></ul><p><strong>2. Warm Up for 2–5 Days</strong></p><ul><li><strong>Upvote others’ posts.</strong> Spend the first few days simply upvoting content you like — no self-promotion.</li><li><strong>Save your favorites.</strong> Bookmark the best posts to learn what resonates.</li><li><strong>Start commenting.</strong> After 3–4 days, leave a couple of helpful comments. This shows Reddit’s algorithm and the mods that you’re here to contribute.</li></ul><p><strong>I know it’s annoying when all you want is to talk about your SaaS, but holding off for 4–5 days builds genuine trust.</strong></p><p><strong>3. Play to Your Strengths to Earn Karma</strong></p><ul><li><strong>Post something you’re good at.</strong> I shared a cartoon post I knew they’d love and got <strong>100 upvotes</strong> instantly.</li><li><strong>Aim for 40–50 karma.</strong> That level usually unlocks posting privileges in most subreddits without triggering spam filters.</li></ul><p><strong>This “warm-up” is basically the only way to work around Reddit’s default algorithm — so play to your strength.</strong></p><p><strong>4. Transition Carefully to Your Startup Subreddit</strong></p><ul><li><strong>Wait until you’ve got enough karma.</strong> Jumping in too early often means immediate removal or a ban.</li><li><strong>Read the rules — every single time.</strong> Missing a guideline (no link-only posts, required flair, etc.) gets you banned — and then you’re back to square one.</li><li><strong>Frame your content right.</strong> Instead of “Check out my SaaS here,” try “Here’s what I learned building X over three months — feedback appreciated.”</li></ul><p><strong>5. Protect Your Links</strong></p><ul><li><strong>Avoid spammy behavior.</strong> If your SaaS link gets reported, Reddit can blacklist that URL across the entire site.</li><li><strong>Don’t rely on new accounts.</strong> Even if you make 10 more, a blacklisted link will be filtered out immediately.</li></ul><p><strong>6. Keep Contributing Everywhere</strong></p><ul><li><strong>Stay active in your original subreddits.</strong> Continue upvoting and commenting in your cartoon community (or wherever you built karma).</li><li><strong>Help in related spaces.</strong> If you’re building a Shopify app, spend a couple of days helping merchants in r/Shopify with conversion issues — no strings attached.</li><li><strong>Pick topics you know.</strong> Choose your strengths and keep adding value so the “Reddit agents” gain confidence in you.</li></ul><p><strong>This process takes about 10–15 days total — be patient and genuine. There might be other tactics, but this is how I fixed it. Now I can easily post and promote my SaaS without bans. If you’ve found another way, I’d love to hear your experience. Thanks!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7341e2159dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Taking remote DB backup’s]]></title>
            <link>https://rakaurtakhi.medium.com/taking-remote-db-backups-37455962c752?source=rss-ca2e45b62d51------2</link>
            <guid isPermaLink="false">https://medium.com/p/37455962c752</guid>
            <category><![CDATA[rds]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[bash-script]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Rajdeep Kaur]]></dc:creator>
            <pubDate>Tue, 03 Jul 2018 05:16:33 GMT</pubDate>
            <atom:updated>2018-07-03T05:21:54.842Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*bgwwX_wkMeWYNUQP1RRmXQ.png" /></figure><p>I wanted to do some experiments on my prod database which hosted on rds in aws locally.</p><p>after googling for sometime I thought of connecting my database with the help psql after I will connect I will use pg_dump but didn’t work then I thought of trying with pgadmin3. with it I was able to download a empty dump file as aws has some rds-admin because of which we cannot take dump after we connecting to database as a specific role.</p><p>Then i thought of a hack that 😜</p><p><strong>pg_dumpdatabase_ name &gt; dumpfile.sql</strong></p><p>will give me the download dump of particular db. Why not without entring inside the db take the dump and the it won’t show the permission denied. then i got the following command to download dump of remote db</p><p><strong>pg_dump -h &lt;hostname&gt;evo10 &gt; </strong><a href="https://www.postgresql.org/message-id/1113214659.9945.10.camel%40anton.knut.univention.de"><strong>dumpfile</strong></a><strong>.sql</strong></p><p>But the above didn’t work for me as by default it was taking rdsadmin as user name so with some i combined the psql login command with pg_dump command.</p><p><strong>pg_dump -h &lt;xxxxxxx-hostname&gt; -U user-name -d dbname &gt; dump.sql</strong></p><p>Hope this helps to you all 😃 😄 😉.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37455962c752" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handling conflicts of elastic search]]></title>
            <link>https://rakaurtakhi.medium.com/handling-conflicts-of-elastic-search-1efc593358d2?source=rss-ca2e45b62d51------2</link>
            <guid isPermaLink="false">https://medium.com/p/1efc593358d2</guid>
            <category><![CDATA[elasticsearch]]></category>
            <dc:creator><![CDATA[Rajdeep Kaur]]></dc:creator>
            <pubDate>Tue, 03 Jul 2018 04:41:41 GMT</pubDate>
            <atom:updated>2018-07-03T04:41:41.336Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I’ve set up an ELK stack and started feeding it data from application logs. Unfortunately one (and the most important) field was assigned a wrong mapping in Elasticsearch and instead of double it was sometimes interpreted as a string field.</p><p>I didn’t have much success googling a quick and easy solution, so here is one.</p><p>Kibana was reporting the following error:</p><blockquote><strong><em>Mapping conflict!</em></strong><em> A field is defined as several types (string, integer, etc) across the indices that match this pattern. You may still be able to use these conflict fields in parts of Kibana, but they will be unavailable for functions that require Kibana to know their type. Correcting this issue will require reindexing your data.</em></blockquote><h3>Problem arises with the following situation</h3><p>As the message says, the problem is that a field has different type in different indices in Elasticsearch. By default Elasticsearch creates a new index every day. So every day the values are parsed by Elasticsearch and mapped to data types.</p><p>so I followed the following solution to resolve the conflict. my assumed conflicted index in this case is “<a href="http://localhost:9200/index-2018.06.09?pretty">index-2018.06.09</a>”</p><p>1 Downloading the index file of that day with the following command.</p><p><a href="http://localhost:9200/index-2018.06.09?pretty"><strong>GET http://localhost:9200/index-2018.06.09?pretty</strong></a></p><p>the above command will give us the mapping of the particular index in the json formate.</p><ul><li>remove the second line which has index written in it.</li><li>remove the data inside the key <strong>settings</strong>(at the end of the file).</li><li>typecast the key to it’s required type(In my case I deleted the event and removed the key)</li></ul><p>2 Making an new index with the following command.</p><p><a href="http://35.224.134.65:9200/filebeat-2018.06.09"><strong>PUT http://localhost:9200/index-2018.06.09</strong></a><strong>-backup </strong>with the updated mapping as an attachment from previous step.</p><p>3 reindex the old index with the new index</p><p><strong>POST </strong><a href="http://35.224.134.65:9200/_reindex"><strong>http://localhost:9200/_reinde</strong></a><strong>x</strong> with the following request body</p><p><strong>{ “source”: { “index” : “index-2018.06.09” },”dest” : { “index” : “index-2018.06.09-back” } }</strong></p><p>4. Delete the previous index.</p><p>DELETE <a href="http://35.224.134.65:9200/filebeat-2018.06.09-backup">http://localhost:9200/index-2018.06.09</a></p><p>in order to make the consistency in the indices, we can make alias of new index to point old or again reindex so new index points old index.</p><p>At last refresh the refresh the fields in kibana.</p><p>Cheers !!!!!!!.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1efc593358d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>