<?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[Papara Tech - Medium]]></title>
        <description><![CDATA[We are a technology company that aims to make all financial services faster, easier, more affordable and more enjoyable for everyone since 2015! Our middle account is here to get to know our work environment, business structures and us better. - Medium]]></description>
        <link>https://medium.com/peopleofpapara?source=rss----bb75bf7c5504---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Papara Tech - Medium</title>
            <link>https://medium.com/peopleofpapara?source=rss----bb75bf7c5504---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 17:47:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/peopleofpapara" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Real Struggles of Managing Your Investments (and How to Fix Them)]]></title>
            <link>https://medium.com/peopleofpapara/the-real-struggles-of-managing-your-investments-and-how-to-fix-them-a3b5922838ab?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/a3b5922838ab</guid>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[portfolio-management]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[financial-planning]]></category>
            <category><![CDATA[investment]]></category>
            <dc:creator><![CDATA[Volkan Nazmi Metin]]></dc:creator>
            <pubDate>Tue, 20 May 2025 08:53:48 GMT</pubDate>
            <atom:updated>2025-05-20T08:53:48.464Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*DsgWaAum36BsJcLmhqy_wQ.png" /></figure><p>Investing sounds exciting, doesn’t it?</p><p>You set aside some cash, buy a few stocks, maybe dip your toes into crypto or forex, and wait for the magic to happen. Wealth building, financial freedom, and early retirement. The dream is sold in every other finance podcast and Twitter thread.</p><p>But the truth? Managing your investments and making smart decisions is far from easy. In fact, for most of us, it’s a cocktail of stress, second-guessing, and spreadsheets that never seem to make sense.</p><p>Let’s talk about the <em>real</em> struggles investors face : The messy, confusing, very human side of portfolio management. If you’ve ever stared at your screen wondering, “Am I doing this right?” this one’s for you.</p><p><strong>1. The Overwhelm of Too Many Choices</strong></p><p>We’re living in an era of investment abundance. You can buy stocks, bonds, ETFs, REITs, crypto assets, NFTs, commodities and even fractions of them. Sounds like a good thing, right?</p><p>But with more choice comes more confusion.</p><p>How do you allocate your funds? What percentage should go into high-risk assets vs. safe bets? Is now the time to get into AI stocks or just sit on cash?</p><p><strong>Analysis paralysis</strong> is real. Many investors freeze up or keep reshuffling their portfolio, trying to time the market or chase trends, often hurting returns in the long run.</p><p><strong>2. Juggling Multiple Platforms</strong></p><p>Your bank app shows your savings. Robinhood (or its local equivalent) shows your stocks. Binance or Coinbase displays your crypto. Maybe you use an Excel sheet to track everything else.</p><p>Managing your portfolio becomes a part-time job, except you’re not getting paid for it.</p><p>And let’s be honest: cross-checking balances, toggling between apps, or manually updating spreadsheets every month, even every day is exhausting. It’s also easy to make mistakes, miss transactions, or lose sight of how much you’re actually exposed to a certain sector or currency.</p><p><strong>3. Lack of Clarity on Performance</strong></p><p>Are you winning or just treading water?</p><p>Many investors don’t have a clear picture of their portfolio’s performance. Sure, you know your Apple shares are up 15% this year, but what about your total portfolio, after accounting for that losing altcoin or the cash just sitting idle?</p><p>Understanding <em>net performance</em>, <em>risk-adjusted returns</em>, or even just how your investments compare to a simple index fund isn’t always straightforward.</p><p>Without a consolidated, real-time view, it’s hard to make smart decisions. You’re essentially flying blind.</p><p><strong>4. Emotional Decision-Making</strong></p><p>Even seasoned investors fall victim to emotions. We chase rallies. We panic during dips. We let fear and FOMO dictate decisions.</p><p>You check Twitter. Someone just made 10x on a meme coin. You feel like you’re missing out, so you buy in late and get burned.</p><p>Or the market dips 5% overnight and you hit “sell” in a panic, only to watch prices recover two days later.</p><p>Good investing is boring. But when your money’s on the line, it’s hard to keep emotions out of the equation.</p><p><strong>5. No Time for a Strategy</strong></p><p>Let’s face it: most people are not full-time investors.</p><p>You have a job, a life, maybe a family. Keeping up with financial news, reading earnings reports, watching the macroeconomic trends. Who has time for that?</p><p>Yet without a clear investment strategy, a framework to guide your decisions, you’re just reacting to the market. And reactionary investing rarely builds wealth.</p><p>Even if you do have a strategy, sticking to it is another challenge. Life changes, priorities shift, and sometimes your investment plan gets lost in the shuffle.</p><p><strong>6. Expense Tracking Is an Afterthought</strong></p><p>Investing isn’t just about buying assets, it’s also about managing your cash flow. But most people don’t link their expenses with their investment goals.</p><p>You might be investing every month, but are you saving enough? Are your subscriptions and lifestyle creeping up? Is your emergency fund intact?</p><p>Without a clear picture of your expenses and how they impact your ability to invest, you’re not optimizing your wealth-building journey.</p><p><strong>7. Fragmented Insights and Noise</strong></p><p>One of the most frustrating parts of investing today is the sheer volume of <em>noise</em>.</p><p>Every influencer, analyst, newsletter, and subreddit has an opinion. Some say Bitcoin’s going to $250K, others warn of a crash. One fund manager praises Tesla, another says it’s overvalued.</p><p>It’s hard to filter signal from noise.</p><p>Most tools give you data. Few give you clarity. As a result, investors are drowning in insights but starved for real, actionable understanding.</p><p><strong>8. No Central Place for Your Financial Story</strong></p><p>When your finances are scattered across apps, platforms, spreadsheets, and PDFs, there’s no single place that tells <em>your story</em>, who you are as an investor.</p><p>What are your long-term goals? How close are you to them? What’s your real-time net worth? How has your financial behavior evolved?</p><p>Imagine if your investments, expenses, income, and savings all came together to give you a living, breathing picture of your financial journey.</p><p>Most of us are operating without that. And it’s a major blind spot.</p><p><strong>So, What’s the Way Forward?</strong></p><p>First, take comfort in knowing you’re not alone. Every investor, beginner or seasoned, struggles with these issues at some point.</p><p>The solution isn’t another investment app or trend-chasing strategy. It’s <strong>clarity</strong>.</p><p>What we need are tools and systems that <em>reduce complexity</em>, <em>eliminate noise</em>, and <em>empower us with real-time understanding</em>.</p><p>A system that doesn’t just show you your portfolio, but helps you <em>manage</em> it. Holistically, intelligently, and calmly.</p><p>Whether you’re investing for a house, retirement, or just to build a better future, the journey should be understandable, not overwhelming.</p><p><strong>Final Thoughts</strong></p><p>Managing your investments shouldn’t feel like a second job.</p><p>In a world flooded with financial tools, the future belongs to those that can simplify, unify, and guide. Whether you’re investing your first $1,000 or managing a multi-asset portfolio, clarity is your best asset.</p><p>Take a deep breath. Simplify where you can. And remember: you don’t need to have it all figured out, just take the next smart step forward.</p><p><strong>How Valoris Helps You Solve These Pain Points</strong></p><p>Valoris was built with these exact frustrations in mind. It’s your all-in-one command center for:</p><ul><li><strong>Tracking</strong> your entire portfolio (stocks, crypto, forex, and more) in one place</li><li><strong>Syncing</strong> your expenses and income for smarter cash flow management</li><li><strong>Eliminating guesswork</strong> with real-time insights, not cluttered data</li><li><strong>Building</strong> your financial story. Clear, connected, and on your terms</li></ul><p>No noise. No distractions. Just clarity.</p><p><strong>Your Wealth. Your Strategy. Your Future.</strong></p><p><strong>Explore Valoris</strong> → <a href="https://www.valorisapp.com/">www.valorisapp.com</a></p><p><strong>LinkedIn Page</strong> → <a href="https://www.linkedin.com/company/valorisapp/">ValorisApp</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3b5922838ab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/the-real-struggles-of-managing-your-investments-and-how-to-fix-them-a3b5922838ab">The Real Struggles of Managing Your Investments (and How to Fix Them)</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Screenshot Testing with Jetpack Compose and Azure DevOps CI/CD]]></title>
            <link>https://medium.com/peopleofpapara/screenshot-testing-with-jetpack-compose-and-azure-devops-ci-cd-3bac3f017016?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/3bac3f017016</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[compose]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Merve Pekyürek]]></dc:creator>
            <pubDate>Mon, 05 May 2025 07:35:50 GMT</pubDate>
            <atom:updated>2025-05-05T07:35:50.236Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Ensuring UI consistency over time is critical for modern Android applications, especially when using declarative frameworks like Jetpack Compose. While unit tests validate logic, even a minor change in padding, color, or corner radius can break the visual layout. This is where </em><strong><em>Compose Screenshot Testing</em></strong><em> becomes essential. In this article, we’ll walk through how to set up Screenshot Testing and seamlessly integrate it into an Azure DevOps pipeline.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Hi-NxkiJJjQWYtBn3DMng.png" /></figure><h3>1. Introduction: Why Screenshot Testing?</h3><p>Although Jetpack Compose offers a flexible and expressive way to build UI, ensuring that the visual output remains consistent is not always straightforward. Small code modifications can lead to significant and unintended UI changes.</p><p><strong>Screenshot Testing</strong> helps solve this problem by:</p><ul><li>Automatically detecting visual regressions</li><li>Alerting developers about unintended UI changes</li><li>Ensuring stability with each code push via CI</li></ul><h3>2. Setup Instructions</h3><p>To enable screenshot testing, follow the steps below:</p><ul><li>Define the version of the plugin in your version catalogs:</li></ul><pre>[versions]<br>agp = &quot;8.5.0-beta01&quot;<br>kotlin = &quot;1.9.20&quot;<br>screenshot = &quot;0.0.1-alpha07&quot;<br><br>[plugins]<br>screenshot = { id = &quot;com.android.compose.screenshot&quot;, version.ref = &quot;screenshot&quot; }</pre><ul><li>Apply the Plugin in build.gradle.kts (Module Level):</li></ul><pre>plugins {<br>    ...<br>    alias(libs.plugins.screenshot)<br>}</pre><ul><li>In your `gradle.properties` file:</li></ul><pre>android.experimental.enableScreenshotTest=true</pre><ul><li>Add the dependency to your version catalogs:</li></ul><pre>[libraries]<br>androidx-compose-ui-tooling = { group = &quot;androidx.compose.ui&quot;, name = &quot;ui-tooling&quot; }</pre><ul><li>And reference it in your module build script:</li></ul><pre>dependencies {<br>    screenshotTestImplementation(libs.androidx.compose.ui.tooling)<br>}</pre><h3>3. Example Component: HelloView</h3><p>This is a basic composable that renders a styled label inside a bordered container:</p><pre>@Composable<br>fun HelloView(text: String) {<br>    PaparaText(<br>        modifier = Modifier<br>            .background(colorResource(PaparaThemeColor.pades_papara_white))<br>            .border(<br>                width = 1.dp,<br>                color = colorResource(PaparaThemeColor.pades_papara_black),<br>                shape = RoundedCornerShape(8.dp)<br>            )<br>            .padding(PaddingValues(horizontal = 8.dp, vertical = 6.dp)),<br>        text = text,<br>        fontSize = 14.sp,<br>        fontWeight = FontWeight.Bold,<br>        color = colorResource(PaparaThemeColor.pades_status_pending)<br>    )<br>}<br><br>@Preview(name = &quot;Light&quot;, uiMode = Configuration.UI_MODE_NIGHT_NO)<br>@Preview(name = &quot;Dark&quot;, uiMode = Configuration.UI_MODE_NIGHT_YES)<br>@Composable<br>fun PreviewHelloView() {<br>    HelloView(text = &quot;Hello Android Team&quot;)<br>}</pre><p>This component is rendered in both light and dark themes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*WsrQBeg9hzVqaWJWNPUhuw.png" /></figure><h3>4. Creating a Screenshot Test</h3><p>The following test must be placed in the screenShotTest source set inside your module’s src directory:</p><pre>@Preview(name = &quot;Light&quot;, uiMode = Configuration.UI_MODE_NIGHT_NO)<br>@Preview(name = &quot;Dark&quot;, uiMode = Configuration.UI_MODE_NIGHT_YES)<br>@Composable<br>fun HelloViewScreenShotTest() {<br>    PreviewHelloView()<br>}</pre><p>After creating this test, you need to generate the reference screenshots by running:</p><pre>./gradlew updateDebugScreenshotTest</pre><p>This command creates baseline images under your module’s build/outputs directory. These baseline images represent the expected UI appearance. In subsequent test runs, these images will be compared with newly rendered outputs to detect differences.</p><h3>5. Failure Case</h3><p>To simulate a test failure, we change the corner radius of HelloView from 8.dp to 12.dp and execute the validation command:</p><p>This results in the following visual difference and failure:</p><pre>./gradlew validateDebugScreenshotTest</pre><p>As expected, the rendered output now differs from the baseline, causing the test to fail. You can inspect the result in the generated diff image.</p><blockquote><em>Test results are available at: </em><em>build/reports/index.html. This includes reference, actual, and diff images for each test case.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*ZTf5d2FqGLy79BhofsTK9A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Ry_08PJSWiaMxe3i-3VPQ.png" /></figure><h3>6. Azure DevOps Pipeline Integration</h3><p>Below is a sample YAML configuration to integrate screenshot testing into your Azure DevOps CI/CD workflow:</p><pre>name: $(date:dd.MM.yyyy_HH.mm)<br><br>pool:<br>  name: Linux Mobile<br><br>trigger: none<br><br>pr: none<br><br>steps:<br>  - script: |<br>      CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) <br>      git fetch origin master<br>      git checkout master<br>      ./gradlew updateDebugScreenshotTest<br>      git checkout $CURRENT_BRANCH<br>      ./gradlew validateDebugScreenshotTest<br>    displayName: &#39;Generate and validate screenshots&#39;<br><br>  - task: PublishTestResults@2<br>    inputs:<br>      testResultsFiles: &#39;**/build/test-results/**/*.xml&#39;<br>      testRunTitle: &#39;Test Results&#39;<br>      failTaskOnFailedTests: true<br>    condition: always()</pre><h4>What does this YAML do?</h4><ol><li><strong>Update Baseline from Master</strong>: Checks out the latest baseline screenshots from the master branch by using updateDebugScreenshotTest.</li><li><strong>Validate Current Changes</strong>: Switches back to the original working branch and runs validateDebugScreenshotTest to compare new screenshots with the baseline.</li><li><strong>Publish Results</strong>: The PublishTestResults@2 task uploads the XML test results so they can be viewed in the Azure DevOps UI.</li><li><strong>Fail Build on Diff</strong>: If any screenshot differences are detected, the pipeline will fail (thanks to failTaskOnFailedTests: true).</li><li><strong>View HTML Report</strong>: All visual diffs and comparisons are stored in build/reports/index.html.</li></ol><h3>7. Pros and Cons of Screenshot Testing</h3><p>Before diving into best practices, it’s important to consider the advantages and limitations of screenshot testing as outlined in the official Android documentation.</p><h4>Advantages:</h4><ul><li><strong>Covers multiple UI aspects in one test</strong>: A single screenshot test validates layout, margins, colors, fonts, and positioning — all visually.</li><li><strong>Simpler than behavior tests</strong>: Screenshot tests are often easier to write, understand, and maintain compared to traditional UI tests with multiple assertions.</li><li><strong>Good for visual regressions across devices</strong>: They are particularly helpful for detecting regressions on varying screen sizes, densities, and themes.</li><li><strong>Clear diff visualization</strong>: Visual diffs make it easier to review changes without diving into layout code.</li><li><strong>No need to write manual assertions</strong>: Since the image is the truth source, manual assertions for padding or color are unnecessary.</li></ul><h4>Disadvantages:</h4><ul><li><strong>Slight platform differences</strong>: Linux, Mac, and Windows may render images slightly differently due to font rendering, anti-aliasing, or scaling.</li><li><strong>Cumbersome baseline management</strong>: Large projects can accumulate thousands of PNG files, which can be hard to manage.</li><li><strong>Slower than behavior tests</strong>: Rendering full UI elements and saving images takes longer than logic-based assertions.</li><li><strong>Broad impact from minor changes</strong>: A small UI change may affect hundreds or thousands of screenshots, making batch updates tedious.</li><li><strong>Debugging root causes is hard</strong>: While visual diffs highlight differences, they don’t always explain why the change occurred.</li><li><strong>Requires stable rendering</strong>: Flaky components or animated states can cause inconsistent screenshots across runs.</li></ul><blockquote><em>✔️ Use screenshot testing </em><strong><em>as a complement to functional tests</em></strong><em>, not a replacement.</em></blockquote><h3>8. Tips and Best Practices</h3><ul><li>Baseline screenshots are generated the first time tests are executed. Commit them to the master or main branch.</li><li>Always review diff images when a test fails. Use them to distinguish between regression bugs and intentional design updates.</li><li>Even minor pixel differences can cause test failures. Be precise with dimensions, padding, and shapes.</li><li>Use descriptive test names and organize screenshot tests alongside relevant UI components.</li></ul><h3>📚 References</h3><ul><li><a href="https://developer.android.com/studio/preview/compose-screenshot-testing">Compose Preview Screenshot Testing | Android Studio | Android Developers</a></li><li><a href="https://developer.android.com/training/testing/ui-tests/screenshot">Screenshot testing | Test your app on Android | Android Developers</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IXktgZ1IVw44p64c" /><figcaption>Photo by <a href="https://unsplash.com/@ianstauffer?utm_source=medium&amp;utm_medium=referral">Ian Stauffer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bac3f017016" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/screenshot-testing-with-jetpack-compose-and-azure-devops-ci-cd-3bac3f017016">Screenshot Testing with Jetpack Compose and Azure DevOps CI/CD</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UiPath ile Ollama Entegrasyonu: Yapay Zekayı Otomasyon Süreçlerinize Dahil Etmek]]></title>
            <link>https://medium.com/peopleofpapara/uipath-ile-ollama-entegrasyonu-yapay-zekay%C4%B1-otomasyon-s%C3%BCre%C3%A7lerinize-dahil-etmek-845761f618ce?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/845761f618ce</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[product]]></category>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[uipath]]></category>
            <dc:creator><![CDATA[Yaşar Karaali]]></dc:creator>
            <pubDate>Tue, 08 Apr 2025 08:30:27 GMT</pubDate>
            <atom:updated>2025-04-08T08:30:27.278Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tu0BFydj8Lm51AN_" /></figure><p>Yapay zeka, iş süreçlerinde devrim yaratmaya devam ederken, otomasyon araçlarıyla entegre çalışabilmesi büyük bir avantaj sağlıyor. Bu yazıda, Ollama yapay zeka platformunu UiPath ile nasıl entegre edebileceğinizi ve bu entegrasyonun iş süreçlerinizi nasıl optimize edebileceğini detaylandıracağız.</p><h3>Ollama Nedir?</h3><p>Ollama, doğal dil işleme (NLP) yeteneklerine sahip bir yapay zeka modelidir. Diğer API tabanlı yapay zeka çözümlerinin aksine Ollama, <strong>lokal olarak çalışır</strong>. Bu, gizliliğin ve veri güvenliğinin kritik olduğu durumlar için büyük bir avantaj sağlar. Ollama’yı kendi bilgisayarınızda çalıştırarak verilerinizin tamamen kontrolünüz altında kalmasını sağlayabilirsiniz.</p><h3>Neden UiPath ile Ollama?</h3><p>UiPath, tekrarlayan işlerin otomasyonunda lider bir platformdur. Ollama’nın yapay zeka gücünü UiPath ile birleştirdiğinizde:</p><ul><li>Hassas verileriniz üçüncü taraflara aktarılmadan işlenir.</li><li>Kullanıcı taleplerine hızlıca yanıt verebilirsiniz.</li><li>Daha güvenli, verimli ve akıllı bir otomasyon deneyimi elde edebilirsiniz.</li></ul><h3>Gereksinimler</h3><ol><li><strong>UiPath Studio</strong>: Otomasyon süreçlerini tasarlamak için.</li><li><strong>Ollama CLI (Komut Satırı Aracı)</strong>: Ollama’yı lokal olarak çalıştırmak için.</li><li><strong>HTTP Request Activity</strong>: UiPath üzerinden Ollama ile iletişim kurmak için.</li></ol><h3>Adım Adım Entegrasyon Süreci</h3><h3>1. Ollama’yı Lokal Olarak Çalıştırın</h3><p>Ollama’yı kurduktan sonra terminalden şu komutla başlatabilirsiniz:</p><pre>ollama serve</pre><p>Bu komut, Ollama’nın lokal bir sunucu gibi çalışmasını sağlar. Varsayılan olarak, Ollama <strong>127.0.0.1:11434</strong> adresinde çalışır. Yani, tüm API isteklerinizi bu adrese yönlendireceksiniz.</p><blockquote><strong><em>Not:</em></strong><em> Eğer farklı bir port kullanmak istiyorsanız, </em><em>--port parametresini şu şekilde belirtebilirsiniz:</em></blockquote><pre>ollama serve --port 12345</pre><h3>2. UiPath Projesi Oluşturun</h3><ol><li>UiPath Studio’da yeni bir proje başlatın.</li><li><strong>Manage Packages</strong> bölümünden “UiPath.WebAPI.Activities” paketini yükleyin.</li><li>Projenizde bir HTTP Request Activity oluşturun.</li></ol><h3>3. JSON Yapısını Oluşturun</h3><p>Ollama’ya bir istek göndermek için, aşağıdaki gibi bir JSON yapısı oluşturmanız gerekir:</p><h4>Örnek JSON:</h4><pre>{<br>  &quot;model&quot;: &quot;llama2&quot;,<br>  &quot;prompt&quot;: &quot;Bana yapay zeka nedir anlatır mısın?&quot;<br>}</pre><ul><li><strong>model</strong>: Kullanmak istediğiniz modeli belirtir (ör. llama2, gpt-3).</li><li><strong>prompt</strong>: Ollama’ya ileteceğiniz metni içerir.</li></ul><h3>4. HTTP Request Activity Ayarları</h3><p>HTTP Request Activity’yi şu şekilde yapılandırın:</p><ul><li><strong>Endpoint</strong>: <a href="http://127.0.0.1:11434/api/chat">http://127.0.0.1:11434/api/chat</a></li><li><strong>Method</strong>: POST</li><li><strong>Headers</strong>:</li><li>Content-Type: application/json</li><li><strong>Body</strong>: JSON formatında gönderdiğiniz istek (yukarıdaki örnek JSON yapısını kullanabilirsiniz).</li></ul><h4>UiPath İçinde JSON Gönderimi:</h4><ol><li><strong>Assign</strong> Activity ile JSON yapınızı bir değişkene atayın:</li></ol><pre>jsonBody = &quot;{&quot;&quot;model&quot;&quot;: &quot;&quot;llama2&quot;&quot;, &quot;&quot;prompt&quot;&quot;: &quot;&quot;Merhaba, nasılsın?&quot;&quot;}&quot;</pre><ol><li>HTTP Request Activity’nin Body alanına bu değişkeni bağlayın.</li></ol><h3>5. Gelen Yanıtı İşleme</h3><p>Ollama’dan dönen yanıt JSON formatındadır. Örneğin:</p><h4>Dönen Yanıt:</h4><pre>{<br>  &quot;response&quot;: &quot;Merhaba! Size nasıl yardımcı olabilirim?&quot;<br>}</pre><p>UiPath’de bu yanıtı işlemek için gelen cevabı bir <strong>Deserialize JSON</strong> Activity ile ayrıştırabilirsiniz. Sonrasında response anahtarına erişerek metni kullanabilirsiniz.</p><h3>Örnek Senaryo</h3><h3>Müşteri Talep Yönetimi Botu</h3><p>Bir müşteri talep yönetimi süreci için şu adımları izleyebilirsiniz:</p><ol><li>Müşteri e-postalarını UiPath Mail Activities ile okuyun.</li><li>E-posta içeriğini Ollama’ya iletin.</li><li>Ollama’dan dönen yanıta göre e-postayı kategorize edin:</li></ol><ul><li>“Şikayet” kategorisi için ilgili birime yönlendirme yapın.</li><li>“Bilgi Talebi” kategorisi için otomatik bir yanıt gönderin.</li></ul><h3>Faydaları</h3><ol><li><strong>Veri Güvenliği</strong>: Ollama’nın lokal çalışması sayesinde, hassas verileriniz üçüncü taraflara aktarılmaz.</li><li><strong>Kapsamlı NLP Gücü</strong>: Doğru ve kişiselleştirilmiş yanıtlar alabilirsiniz.</li><li><strong>Hızlı Entegrasyon</strong>: Ollama’nın API yapısı, UiPath ile kolayca entegre edilebilir.</li></ol><h3>Sonuç</h3><p>Ollama ve UiPath entegrasyonu, yapay zekanın gücünü iş süreçlerinize getirirken veri güvenliğinizi de ön planda tutar. Lokal bir yapay zeka çözümü arıyorsanız, bu entegrasyon tam size göre!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=845761f618ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/uipath-ile-ollama-entegrasyonu-yapay-zekay%C4%B1-otomasyon-s%C3%BCre%C3%A7lerinize-dahil-etmek-845761f618ce">UiPath ile Ollama Entegrasyonu: Yapay Zekayı Otomasyon Süreçlerinize Dahil Etmek</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fintech’lerde Kullanıcı Deneyimi ve Vergi Uyumu]]></title>
            <link>https://medium.com/peopleofpapara/fintechlerde-kullan%C4%B1c%C4%B1-deneyimi-ve-vergi-uyumu-85c44c78a399?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/85c44c78a399</guid>
            <category><![CDATA[taxes]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Aysima Aytaş Şahinalp]]></dc:creator>
            <pubDate>Fri, 14 Mar 2025 12:20:29 GMT</pubDate>
            <atom:updated>2025-03-14T12:20:29.748Z</atom:updated>
            <content:encoded><![CDATA[<p>Finansal teknolojiler, son yıllarda finans sektörünü kökten değiştirirken, kullanıcı deneyimi ve vergi uyumu gibi kritik alanlarda da yeni yaklaşımların ortaya çıkmasına ön ayak oldu. Fintech şirketleri, kullanıcılarına hızlı, şeffaf, güvenilir ve kişiselleştirilmiş hizmetler sunarken, aynı zamanda karmaşık vergi düzenlemelerine uyum sağlamak durumunda. Bu iki hedefi bir arada gerçekleştirebilmek amacı, dijital çözümleri de beraberinde getirmekte.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*_aphyC37Rd83fDzug-5uJQ.jpeg" /></figure><p><strong>Kullanıcı Deneyimi: Fintech’in Önceliği</strong></p><p>Fintech şirketleri, geleneksel finans kuruluşlarına kıyasla kullanıcı deneyimini merkeze alan bir yaklaşım benimsemekte. Kullanıcı dostu arayüzler, hızlı işlem süreçleri ve kişiselleştirilmiş hizmetler, Fintech’in en büyük avantajları arasında yer alıyor. Ancak, kullanıcı deneyimini iyileştirirken, pek tabii ki vergi uyumu gibi yasal yükümlülüklerin de göz ardı edilmemesi gerekir.</p><p>Özellikle dijital bankacılık, ödeme sistemleri ve kripto para platformları gibi alanlarda, kullanıcıların işlemlerinin vergilendirilmesi ve raporlanması büyük öneme sahip. Bu noktada, dijital çözümler hem kullanıcı memnuniyetini artırıyor hem de şirketlerin yasal gereklilikleri yerine getirmesine katkı sağlıyor.</p><p><strong>Vergi Uyumu: Fintech ile Güvende</strong></p><p>Fintech şirketleri, küresel ve yerel düzeydeki vergi düzenlemelerine uyum sağlamak zorunda. Özellikle kripto para işlemleri, dijital varlıklar ve sınır ötesi ödemeler gibi alanlarda, vergi mevzuatı sürekli değişiyor ve karmaşık hale geliyor. Bu durum, Fintech şirketleri için hem operasyonel hem de mali bir yük oluşturuyor.</p><p>Vergi uyumunu sağlamak, sadece yasal gereklilikleri yerine getirmekle kalmıyor, aynı zamanda kullanıcı güvenini de sağlama alıyor. Kullanıcılar, işlemlerinin güvenli ve yasal çerçevede gerçekleştiğinden emin olmak istiyor. Bu nedenle, Fintech şirketleri için vergi uyumu, sadece bir yükümlülük değil, aynı zamanda bir rekabet avantajı haline geliyor.</p><p><strong>Dijital Çözümler: İki Hedefi Bir Arada Gerçekleştirmek</strong></p><p>Fintech şirketleri, kullanıcı deneyimini iyileştirirken vergi uyumunu da sağlamak için çeşitli dijital çözümlerden yararlanıyor. Bu alanda öne çıkan bazı teknoloji ve uygulamaları şu şekilde sıralayabiliriz:</p><p><strong>1. Otomatik Vergi Hesaplama ve Raporlama Sistemleri:</strong> Fintech platformları, kullanıcı işlemlerini gerçek zamanlı olarak izleyen ve otomatik olarak vergi hesaplayan sistemler kullanıyor. Bu sistemler kullanıcıların işlemlerini kolaylaştırırken, şirketlerin vergi beyannamelerini hızlı ve doğru bir şekilde hazırlamasına da yardımcı oluyor.</p><p><strong>2. Blockchain ve Şeffaf İşlem Kayıtları:</strong> Blockchain teknolojisi, işlemlerin şeffaf ve değiştirilemez bir şekilde kaydedilmesini sağlıyor. Bu hem kullanıcıların güvenini artırıyor hem de vergi otoriteleri için denetim süreçlerini kolaylaştırıyor. Dünyada, özellikle kripto paralar ve dijital varlıklar alanında yaygın olarak kullanılan blockchain, vergi uyumu ve finansal şeffaflık açısından önemli bir araç haline geldi. Örneğin, Bitcoin ve Ethereum gibi kripto para ağları, tüm işlemleri blok zincirine kaydederek, şeffaf ve denetlenebilir bir yapı sunuyor. Benzer şekilde, IBM Food Trust gibi projeler, tedarik zincirindeki her adımı blockchain üzerinde kaydederek, hem şeffaflığı artırıyor hem de vergi uyumunu kolaylaştırıyor. Türkiye’de ise bu teknolojinin kullanımı henüz yaygın olmasa da dijital Türk lirası (DTL) gibi projelerle blockchain’in finansal sistemlere entegrasyonu konusunda adımlar atılıyor. Dünyada ve Türkiye’de uygulama farklılıkları olsa da blockchain teknolojisinin şeffaflık ve güven sağlama potansiyeli, onu Fintech sektörü için vazgeçilmez kılıyor.</p><p><strong>3. Yapay Zeka Destekli Uyum Yönetimi:</strong> Yapay zeka, vergi mevzuatındaki değişiklikleri takip ederek, şirketlerin uyum süreçlerini otomatikleştiriyor. Ayrıca, AI tabanlı analizler, vergi risklerini önceden tespit ederek, şirketlerin proaktif önlemler almasını sağlıyor.</p><p><strong>4. Kişiselleştirilmiş Vergi Danışmanlığı: </strong>Fintech şirketleri, kullanıcılarına kişiselleştirilmiş vergi danışmanlığı hizmetleri sunarak, karmaşık vergi süreçlerini basitleştiriyor. Bu, özellikle küresel kullanıcılar için büyük bir avantaj sağlıyor.</p><p><strong>5. API Entegrasyonları ve Açık Bankacılık: </strong>Açık bankacılık ve API entegrasyonları, Fintech şirketlerinin vergi otoriteleri ve diğer finansal kurumlarla veri paylaşımını kolaylaştırıyor. Bu hem kullanıcı deneyimini iyileştiriyor hem de uyum süreçlerini hızlandırıyor.</p><p>Sonuç olarak, Fintech şirketleri kullanıcı deneyimini iyileştirmek ve vergi uyumunu sağlamak için dijital çözümleri etkin bir şekilde kullanıyor. Blockchain, yapay zeka ve otomatik raporlama sistemleri gibi teknolojiler, sektördeki dönüşümü hızlandırıyor. Gelecekte, bu alanlardaki gelişmelerle Fintech dünyasında daha yenilikçi ve uyumlu çözümler görmemiz kaçınılmaz.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85c44c78a399" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/fintechlerde-kullan%C4%B1c%C4%B1-deneyimi-ve-vergi-uyumu-85c44c78a399">Fintech’lerde Kullanıcı Deneyimi ve Vergi Uyumu</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Geleneksel Staj Programlarını Unutun: Future Paparunners ile Tanışın!]]></title>
            <link>https://medium.com/peopleofpapara/geleneksel-staj-programlar%C4%B1n%C4%B1-unutun-future-paparunners-ile-tan%C4%B1%C5%9F%C4%B1n-04668e4f87c5?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/04668e4f87c5</guid>
            <category><![CDATA[people-culture]]></category>
            <category><![CDATA[human-resources]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[people]]></category>
            <dc:creator><![CDATA[Furkan Ersayın]]></dc:creator>
            <pubDate>Tue, 25 Feb 2025 10:47:33 GMT</pubDate>
            <atom:updated>2025-02-25T10:47:33.502Z</atom:updated>
            <content:encoded><![CDATA[<p>Papara’da genç yetenekler için nasıl harika bir staj programı yarattığımızdan bahsetmek istiyorum. Hani derler ya, “İhtiyaç icadı doğurur” diye… İşte Future Paparunners da tam olarak böyle ortaya çıktı!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pfbdfxAcLJRZSZmJNWN10g.png" /></figure><p>Eskiden stajyer alımlarını ekiplerin taleplerine göre yürütüyorduk. Bir departmanın ihtiyacı varsa İnsan ve Kültür ekibine bildiriyor, biz de süreci başlatıyorduk. Ama zamanla bunun yetersiz kaldığını fark ettik. Talepler artıyor, süreçler karmaşıklaşıyordu. Bunun üzerine daha planlı ve sistemli bir program yaratmaya karar verdik.</p><p>Ve işte burada, Papara’nın<strong> cesur, hızlı ve sonuç odaklı </strong>kültürü devreye girdi. Öncelikle “hayal ettiğimiz gibi bir staj programı tasarlayalım, ihtiyacımıza göre optimize edelim, ismini ise sonra belirleriz” diye düşünerek hızlıca harekete geçtik.</p><p>İlk adım olarak; Papara Internship Program’ı başlattık. Tabii ki bu süreçte birçok şey öğrendik (mesela herkesi aynı tarihte başlatmak iyi bir fikir gibi görünse de, her zaman işe yaramıyor!). Ama öğrendiğimiz her şey bize daha iyisini yapma fırsatı sundu. Sonunda dedik ki, “Bu programı daha da büyütelim, genç yeteneklerin gerçekten gelişebileceği istediği tarihte başlama opsiyonunu kişinin kendisine sunalım ve esnek bir deneyime dönüştürelim” dedik. Sonra bu staj programı bir marka olsun istedik. İşte <strong>Future Paparunners </strong>böyle doğdu!</p><p><strong>Future Paparunners Tam Olarak Nedir?</strong></p><p>Papara’da çalışan herkes <strong>Paparunner</strong> olarak adlandırılır. İşte Future Paparunners da bu kültürü benimseyecek <strong>genç yeteneklere özel tasarlanmış bir staj programı!</strong></p><p>Future Paparunnerlar bu programda:</p><p>🚀 Kullanıcı odaklı bir bakış açısı kazanır. <strong>Kullanıcı deneyimi Papara’da her şeyin merkezindedir. </strong><br> 💡 Cesur olmayı ve büyük düşünmeyi öğrenir, <strong>sınırları zorlamaktan çekinmez.</strong><br>🔥 İşini sahiplenerek projelerde aktif rol alır. <strong>Stajyer değil, doğrudan katkı sağlayan bir ekip üyesi olur.</strong><br>⚡ Hızlı düşünüp sonuç odaklı hareket etme becerisini geliştirir. <strong>Çünkü başarı için çeviklik şarttır.</strong></p><p><strong>Programın Ayrıntıları Neler? </strong><br> <br> Future Paparunners, genç yeteneklere esnek ve dinamik bir staj deneyimi sunar. Tek bir başlangıç tarihi yerine, başvurular yıl boyunca belirli dönemlerde alınır ve adaylar kendileri için en uygun zamanda programa dahil olabilirler.</p><p>Program iki ana alana ayrılıyor:<br>📊 <strong>Business &amp; Operations<br></strong>💻 <strong>Technology &amp; Product Management</strong></p><p>Önceden belirlenmiş kontenjanlara yönlendirme yapmak yerine, adayların <strong>ilgi duydukları alanları kendilerinin seçmesine</strong> olanak tanıyoruz. Böylece, programa katılanlar gerçekten ilgi duydukları alanlarda deneyim kazanabiliyor. Ayrıca, <strong>belirli bir okul veya bölüm şartı olmadan</strong> geniş bir aday havuzuna ulaşmayı hedefliyoruz.</p><p>Hibrit çalışma modeli de programın önemli bir parçası. Stajyerler, kendi tempolarına uygun şekilde <strong>esnek bir çalışma düzeni</strong> oluşturabiliyor. Bu sayede, <strong>günlük ofis zorunluluğu olmadan</strong>, verimli ve dengeli bir çalışma deneyimi yaşayabiliyorlar.</p><p><strong>Bu programa dahil olmak isteyen Future Paparunnerlar’ı nasıl belirliyoruz?</strong></p><p>Sürecimiz oldukça detaylı ve şu adımlardan oluşuyor:</p><p>✅ <strong>Motivasyonu Anlıyoruz:</strong> Başvuru sırasında adaylara yönelttiğimiz sorularla Papara’ya olan ilgilerini ve motivasyonlarını değerlendiriyoruz. Aynı zamanda CV’lerini detaylıca inceleyerek <strong>longlist ve shortlist</strong> oluşturuyoruz.</p><p>✅ <strong>Test Aşaması:</strong> Shortlist aşamasına gelen adaylara İngilizce testi ve kişilik envanteri gönderiyoruz.</p><p>✅ <strong>İlk Mülakat:</strong> Bu aşamayı geçen adaylar ile şirket kültürüne uygunluklarını değerlendirmek için İnsan ve Kültür ekibi olarak mülakat gerçekleştiriyoruz.</p><p>✅ <strong>Teknik Değerlendirme:</strong> Kültürel uyum sürecini başarıyla geçen adaylar, ilgili ekiplerin yöneticileriyle teknik mülakata girerek bilgi ve yetkinliklerini daha derinlemesine gösterme fırsatı buluyor.</p><p>Bu süreç sayesinde <strong>Future Paparunners </strong>programına en uygun ve en istekli adaylarla birlikte çalışıyoruz!</p><p><strong>Genç Yeteneklere Ulaşmak İçin Neler Yapıyoruz?</strong></p><p>Future Paparunners’ı daha fazla gence duyurmak ve doğru adaylara ulaşmak için çeşitli stratejiler izliyoruz:</p><p>🎓 Üniversite kulüplerini ofisimizde ağırlıyor, Papara’yı tanıtıyor ve deneyimlerimizi paylaşıyoruz.</p><p>🤝 Öğrencilerle iş birliği yapan ajanslarla çalışarak programı daha geniş bir kitleye ulaştırıyoruz.</p><p>📢 Üniversitelerin kariyer etkinliklerine aktif olarak katılarak öğrencilere doğrudan ulaşmayı hedefliyoruz.</p><p>📲 Sosyal medya hesaplarımızda programın avantajlarını ve sunduğumuz fırsatları duyurarak, doğru adayları teşvik ediyoruz.</p><p>Future Paparunners başvuruları <strong>her yıl Ekim ayında açılıyor!</strong></p><p>Başvurular açıldığında sosyal medyada paylaşımlarımızı görmek ve kaçırmamak için bizi <a href="https://www.linkedin.com/company/papara/posts/?feedView=all">LinkedIn</a> ve <a href="https://www.instagram.com/peopleofpapara/">Instagram</a> hesaplarımızdan takip edebilirsiniz. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04668e4f87c5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/geleneksel-staj-programlar%C4%B1n%C4%B1-unutun-future-paparunners-ile-tan%C4%B1%C5%9F%C4%B1n-04668e4f87c5">Geleneksel Staj Programlarını Unutun: Future Paparunners ile Tanışın!</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sürekli Teslimatın (Continuous Delivery) Beş Ana Prensibi]]></title>
            <link>https://medium.com/peopleofpapara/s%C3%BCrekli-teslimat%C4%B1n-continuous-delivery-be%C5%9F-ana-prensibi-a0d9ce4cae34?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/a0d9ce4cae34</guid>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[delivery]]></category>
            <dc:creator><![CDATA[Mehmet Oya]]></dc:creator>
            <pubDate>Mon, 03 Feb 2025 14:38:13 GMT</pubDate>
            <atom:updated>2025-02-03T14:38:13.664Z</atom:updated>
            <content:encoded><![CDATA[<p>Yazılım geliştirme süreçlerinde hız ve kalite arasında bir denge kurmak her zaman kolay değildir. Ancak <strong>Sürekli Teslimat (Continuous Delivery — CD)</strong>, yazılım ekiplerine hem yüksek hızda değişiklik yapma hem de güvenilir bir sistem oluşturma fırsatı sunar. Peki, sürekli teslimatın başarılı olabilmesi için hangi prensiplere odaklanmalıyız?</p><p>Bu yazıda, <strong>“Accelerate: The Science of Lean Software and DevOps”</strong> kitabında ele alınan <strong>Sürekli Teslimatın Beş Ana Prensibi</strong>ni inceleyeceğiz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GSh49Ct8vzAlbzBrA2lceg.jpeg" /><figcaption>Continuous Delivery</figcaption></figure><h3>1. Kaliteyi İnşa Edin</h3><p>Geleneksel yazılım geliştirme süreçlerinde kalite genellikle son aşamada test edilip doğrulanır. Ancak sürekli teslimatta <strong>kalite en baştan itibaren</strong> inşa edilmelidir.</p><p>Bu ne anlama geliyor?</p><ul><li>Sorunları <strong>erken tespit edebilmek</strong> için güçlü bir test otomasyonu stratejisi olmalıdır.</li><li>Ekip kültürü, hataları saklamak yerine <strong>açıkça paylaşmayı</strong> ve hızlıca çözmeyi teşvik etmelidir.</li><li><strong>Geri bildirim mekanizmaları</strong> (otomatik testler, kod incelemeleri, CI/CD pipeline’ları) sürekli iyileştirilmelidir.</li></ul><p>Örneğin, bir kod değişikliği <strong>CI/CD pipeline’ı içinde otomatik testlerden geçmezse</strong>, bu değişikliğin üretime alınması engellenmelidir. Böylece, hatalar erken aşamada tespit edilir ve üretime hatalı bir sürüm gönderilmez.</p><h3>2. Küçük Gruplar Halinde Çalışın</h3><p>Büyük çaplı değişiklikler yapmak yerine, işi <strong>küçük ve yönetilebilir</strong> parçalara bölmek, riskleri azaltır ve geri bildirim sürecini hızlandırır.</p><p>Bunun faydaları:</p><ul><li><strong>Küçük değişiklikler</strong> daha kolay test edilebilir ve doğrulanabilir.</li><li><strong>Geri bildirim</strong> almak ve gerekirse yönü değiştirmek daha hızlı olur.</li><li><strong>Risk ve karmaşıklık azalır</strong>, çünkü küçük parçaların hatalarını bulmak ve düzeltmek daha kolaydır.</li></ul><p><strong>Örnek:</strong><br>Bir özellik eklemek yerine, öncelikle o özelliğin sadece bir alt bileşenini geliştirebiliriz. Örneğin, bir e-ticaret sitesinde <strong>tüm ödeme sistemini baştan aşağı yenilemek</strong> yerine, önce <strong>ödeme butonunun arayüzünü geliştirmek</strong>, ardından API entegrasyonunu yapmak daha kontrollü bir süreç sağlar.</p><h3>3. Bilgisayarlar Tekrarlanan İşleri Yapar; İnsanlar Sorunları Çözer</h3><p>Sürekli teslimatta, insan gücü <strong>tekrarlayan işler</strong> için harcanmamalıdır. Bunun yerine, ekiplerin zamanını <strong>yenilikçi ve katma değerli</strong> işlere ayırabilmesi için <strong>otomasyon</strong> kritik bir rol oynar.</p><p>Neleri otomatikleştirmeliyiz?</p><ul><li><strong>Regresyon testleri:</strong> Her kod değişikliğinde eski işlevlerin bozulmadığını kontrol etmek için otomatik testler çalıştırılmalıdır.</li><li><strong>Deployment süreçleri:</strong> Yeni kodu manuel işlemler olmadan canlıya almak için <strong>CI/CD pipeline’ları</strong> kurulmalıdır.</li><li><strong>Kod kalite analizleri:</strong> <strong>Static code analysis</strong> araçları kullanılarak kodun belirli kalite standartlarına uygun olup olmadığı sürekli kontrol edilmelidir.</li></ul><p><strong>Örnek:</strong><br>Manuel olarak her dağıtımda 10 komut çalıştırmanız gerekiyorsa, bunu <strong>CI/CD pipeline’ı</strong> ile tek bir tıklamaya indirgemek büyük bir verimlilik sağlar.</p><h3>4. Sürekli İyileştirmeyi Aralıksız Sürdürün</h3><p>Yüksek performans gösteren ekiplerin en büyük farkı <strong>asla mevcut durumla yetinmemeleri</strong> ve sürekli daha iyiye ulaşma çabasında olmalarıdır.</p><p>Sürekli iyileştirme, <strong>yalnızca teknik borcu azaltmakla</strong> kalmaz, aynı zamanda ekiplerin daha verimli çalışmasını sağlar.</p><p>Bunu sağlamak için:</p><ul><li><strong>Düzenli retrospektif toplantıları yapın</strong> ve ekip olarak neyin iyi, neyin geliştirilebileceğini tartışın.</li><li><strong>KPI’lar ve metrikleri takip edin</strong> (deploy sıklığı, hata oranları, MTTR — Mean Time to Recovery vb.).</li><li><strong>Geri bildirimleri dikkate alın</strong> ve süreçleri iyileştirmek için adımlar atın.</li></ul><p><strong>Örnek:</strong><br>Bir ekip, üretimde yaşanan hataların büyük bir kısmının yanlış yapılandırılmış konfigürasyonlardan kaynaklandığını fark ederse, yapılandırma yönetimini <strong>Infrastructure as Code (IaC)</strong> kullanarak iyileştirebilir.</p><h3>5. Herkes Sorumludur</h3><p>Yüksek performanslı DevOps ekipleri, <strong>departman sınırlarını aşarak</strong> iş birliği yapar. Kaliteli yazılım teslimatı yalnızca geliştiricilerin değil, <strong>QA, operasyon, ürün yöneticileri ve tüm organizasyonun ortak sorumluluğudur</strong>.</p><p><strong>Bürokratik organizasyonlarda</strong> ekipler genellikle sadece kendi hedeflerine odaklanır ve organizasyonun genel başarısını göz ardı eder. Ancak <strong>sürekli teslimatın başarılı olması için tüm süreçler ekipler arasında entegre çalışmalıdır.</strong></p><p><strong>Örnek:</strong></p><ul><li>Yazılım geliştiriciler, <strong>test süreçlerini QA ekibiyle</strong> birlikte kurgulamalıdır.</li><li>Operasyon ekipleri, geliştiricilere üretim ortamı hakkında <strong>şeffaf geri bildirim</strong> sağlamalıdır.</li><li>Tüm ekipler, <strong>aynı hedefler doğrultusunda</strong> çalışmalıdır.</li></ul><h3>Sonuç</h3><p>Sürekli Teslimat, <strong>yalnızca teknik bir uygulama değil</strong>, aynı zamanda bir <strong>kültür ve iş yapış biçimidir</strong>. <strong>Kaliteyi en baştan inşa etmek, küçük parçalarla ilerlemek, otomasyona yatırım yapmak, sürekli iyileştirme sağlamak ve ekipler arası iş birliğini teşvik etmek</strong>, başarılı bir yazılım geliştirme sürecinin temelini oluşturur.</p><p>Eğer siz de sürekli teslimatı ekibinizde uygulamak istiyorsanız, bu beş prensibi benimsemekle başlayabilirsiniz. Unutmayın, <strong>sürekli teslimat sadece kodu hızlı dağıtmak değil, kaliteli ve sürdürülebilir bir sistem oluşturmaktır!</strong></p><p><strong>Kaynaklar:</strong></p><ol><li><a href="https://www.goodreads.com/book/show/35747076-accelerate"><strong>Accelerate: The Science of Lean Software and DevOps</strong></a> — Nicole Forsgren, Jez Humble, Gene Kim</li><li><a href="https://www.goodreads.com/book/show/8686650-continuous-delivery"><strong>Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation</strong> </a>— Jez Humble, David Farley</li><li><a href="https://en.wikipedia.org/wiki/DevOps_Research_and_Assessment"><strong>Google DevOps Research and Assessment (DORA) Reports</strong></a></li><li><a href="https://www.goodreads.com/book/show/26083308-the-devops-handbook"><strong>The DevOps Handbook</strong></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0d9ce4cae34" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/s%C3%BCrekli-teslimat%C4%B1n-continuous-delivery-be%C5%9F-ana-prensibi-a0d9ce4cae34">Sürekli Teslimatın (Continuous Delivery) Beş Ana Prensibi</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL Server Management Studio 21]]></title>
            <link>https://medium.com/peopleofpapara/sql-server-management-studio-21-71b449f9512a?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/71b449f9512a</guid>
            <category><![CDATA[sql-server]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[sql-management-studio]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Murat Süngü]]></dc:creator>
            <pubDate>Fri, 15 Nov 2024 14:35:41 GMT</pubDate>
            <atom:updated>2024-11-15T14:35:41.867Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*8ONAeMA864Ns0Bw5HufzpA.png" /></figure><p>SQL Server, birçok ekibin aktif olarak kullandığı ve zaman zaman şikayet konusu olan bir araç. Bu şikayetlerden biri de genellikle koyu bir temanın resmi olarak sunulmamasıydı. Her ne kadar farklı yöntemlerle koyu tema ayarlamak mümkün olsa da, bunun için biraz uğraşmak gerekiyordu. Neyse ki, karanlık tema nihayet yeni versiyonla resmi olarak kullanıma sunulacak.</p><p>Yeni versiyonun getirdiği güzel yeniliklerden biri de Git desteği. Bu özellik sayesinde, Visual Studio’daki gibi SQL projelerinizi Git üzerinden kolayca yönetebileceksiniz. Bu da versiyon kontrolü ve takım çalışması açısından büyük bir kolaylık sağlayabilir.</p><p>Beni en çok heyecanlandıran, ancak nasıl çalışacağını henüz kestiremediğim diğer bir yenilik ise Copilot desteği. Çoğumuz bilgisayarlarımızda Copilot yüklü olsa da, genellikle ChatGPT’yi tercih ediyoruz. Ancak, Microsoft’un Power BI ve Office programları için Copilot entegrasyonuna ciddi yatırımlar yaptığını ve eğitimler sunduğunu biliyorum. Bu nedenle Copilot’un SQL Server entegrasyonunda da işimizi kolaylaştıracak güzel gelişmeler görebileceğimizi düşünüyorum. Duyuruda, T-SQL komutlarını Copilot’a yazdırabileceğimiz, veritabanını analiz edip tablolar hakkında bilgi alabileceğimiz ve mevcut T-SQL kodlarımızı düzenletebileceğimiz belirtildi.</p><p>Bunların yanı sıra, SQL Server’ın artık 64-bit desteğiyle geleceği duyuruldu. Bu sayede, daha fazla bellek kullanılarak daha verimli ve hızlı bir çalışma ortamı sunulacak.</p><p>Yapılan duyuruyu elimden geldiğince özetlemeye ve faydalı detayları aktarmaya çalıştım. Umarım sizler için faydalı olmuştur. Yeni versiyonun ne zaman yayınlanacağına dair henüz kesin bir bilgi olmasa da, Preview 1 versiyonu meraklılarına duyuruldu. Buraya kadar okuduğunuz için teşekkür ederim. Duyurunun linkine <a href="https://techcommunity.microsoft.com/blog/sqlserver/announcing-sql-server-management-studio-ssms-21-preview-1-and-copilot-in-ssms/4286966"><strong><em>buradan </em></strong></a>erişebilirsiniz.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71b449f9512a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/sql-server-management-studio-21-71b449f9512a">SQL Server Management Studio 21</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Veri Bütünlüğü(Data Integrity)]]></title>
            <link>https://medium.com/peopleofpapara/veri-b%C3%BCt%C3%BCnl%C3%BC%C4%9F%C3%BC-data-integrity-34034c0878d9?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/34034c0878d9</guid>
            <category><![CDATA[data-integrity]]></category>
            <category><![CDATA[veri]]></category>
            <category><![CDATA[veri-bilimi]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-integration]]></category>
            <dc:creator><![CDATA[Murat Süngü]]></dc:creator>
            <pubDate>Mon, 07 Oct 2024 14:02:35 GMT</pubDate>
            <atom:updated>2024-10-07T14:02:35.922Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*37ehu_T-0Q0EDwYEUwhstw.jpeg" /></figure><p>Eğer bir işletmenin verileri değiştirilmiş veya silinmişse; bu işlemlerin nasıl, ne zaman ve kimin tarafından gerçekleştirildiğinin bilinmesi gerekir. Bu yüzden veriye dayalı yapılan işlemlerin hepsinde veri bütünlüğü çok temel bir gerekliliktir.</p><h3><strong>Peki Veri Bütünlüğü </strong>Nedir<strong>?</strong></h3><p>Veri bütünlüğü, verilerin tüm yaşam döngüsü boyunca doğruluğunun ve tutarlılığının korunması, güvence altına alınmasıdır. Verilerin geçerliliğini ve doğruluğunu sağlama ve verilerin korunma işlemlerini içerir. Verileri depolayan, alan veya işleyen herhangi bir sistemin tasarımı, uygulanması ve kullanımı için kritik bir unsurdur. Terimin kapsamı geniştir ve belirli bir bağlamda çok farklı anlamlara sahip olabilir. Veri bütünlüğü, kirli veya bozulmuş veriye zıt anlamda kullanılabilir. Herhangi bir veri bütünlüğü tekniğinin genel amacı aynıdır; verilerin tam olarak amaçlandığı gibi kaydedildiğinden emin olmak. Buna ek olarak, yapılan işlem geri alındığında verilerin ilk kaydedildiği haline geri dönmesi de veri bütünlüğüne dahildir.</p><h3>Veri Bütünlüğü ve Veri Güvenliği (Data Security) Arasındaki Fark Nedir?</h3><p>Kısaca veri bütünlüğü, yetkililerin farkında olmadan ve kasıtsız olarak veride değişiklik yapmadığından emin olmayı hedefler. Bu kısım veri güvenliği ile karıştırılmamalıdır çünkü veri güvenliği yetkisiz kişiler tarafından verinin değiştirilmesini, kopyalanmasını veya silinmesini engellemeyi amaçlar.</p><h3>Veri Bütünlüğünü Bozan Etkenler</h3><p>Kötü niyetli işlem, insan hatası veya donanım hatasının sebep olduğu; depolanan, başka bir konuma yazılan, üzerinde işlem yapılan bir veride istenmeyen bir değişiklik olması veri bütünlüğünü bozar. Değişiklikler yetkisiz biri tarafından yapıldıysa bu veri güvenliği sorunudur.</p><h3>Verilerin Bütünlüğünü Nasıl Sağlanabilir?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*SWg3QMjF_i0PvZ7P5f2d6g.png" /></figure><p>Standart kural ve prosedürlerin kullanılmasıyla verilerinizin tasarım aşamasında bir veri tabanı içerisinde bütünlüğü sağlanmalıdır. Hata denetimi ve doğrulama rutinleri, aktarımlar ve güncellemeler arasında verilerin bütünlüğünü korumada önemlidir. Yapılan her işlemin her adımında bu uygulamalar yapılmalıdır.</p><ul><li>Veri Temizleme ve Bakım: Düzenli bir rutinle bu işlemlerin yapılması gerekir. Bu rutinlerde herhangi bir gevşeme veri bütünlüğünde bir hataya sebep olabilir.</li><li>Veri Girişi Eğitimleri: Veri girişi yapan çalışanlar kusursuz veri toplamanın önemi hakkında yeterince bilgilendirilip eğitilmelidir ve bununla birlikte veri kalitesi konusunda onları sorumlu kılınmalıdır.</li><li>Veri Doğrulama Kuralları: İnsan hatası her zaman olabilir. Bu sebeple yanlış girilen verilere karşı kurallar oluşturmak ve yanlış veri girilmesini kısıtlamak hatayı minimuma indirir. Girdi kaynağına ne kadar yakın veriler üzerinde kontrol sağlanırsa sistemde o kadar az hata oluşur.</li></ul><p>Veri bütünlüğü kurallarının sıkı bir şekilde uygulanması, hata oranlarını düşürerek zamandan tasarruf edilmesini sağlar. Hatalı verilerin ve bu durumun algoritmalarda neden olduğu hataların izlenmesine yardımcı olur.</p><p>Veri bütünlüğü ayrıca bir veri parçasının sahip olabileceği diğer veri parçalarıyla ilişkileri tanımlayan kuralları da içerir. Örneğin bir müşteri kaydının, siparişler tablosuna bağlanmasına izin verilir. Ancak çalışan giderleri tablosu gibi ilgisiz verilere bağlanmasına izin verilmez. Veri bütünlüğü genellikle, sabit bir şemaya (Database Design) veya önceden tanımlanmış bir kurallar kümesine dayalı olarak geçersiz veriler için kontrol ve düzeltme içerir. Örneğin tarih-saat olarak tanımlanmış alana metinsel veri girişi yapılamaz.</p><p>Veri bütünlüğünü sağlamak için bazı kurallar tanımlanması gerektiğinden bahsetmiştik. Bu kurallar SQL üzerinde temel kısıtlayıcılar ile tanımlanabilir.</p><h3>SQL Kısıtlayıcılarının Türleri (SQL Constraints)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*qVLkJA610riZmDIt_To2yg.png" /></figure><p>SQL kısıtlamaları, kurallar belirlemek için kullanılır. Tablodaki verilerin doğruluğunu ve güvenilirliğini sağlar. Yapılan işlem sonucunda herhangi bir ihlal varsa, işlem iptal edilir. Kısıtlamalar sütun seviyesinde veya tablo seviyesinde olabilir. Sütun düzeyindeki kısıtlamalar bir sütuna uygulanır ve tablo düzeyindeki sınırlamalar tüm tabloya uygulanır. Kısıtlamaların başlıca çeşitlerini aşağıdaki gibi görebilirsiniz.</p><p><strong>NOT NULL: </strong>Aksini belirtmedikçe bir tablodaki hücrelere boş değer girilebilir. Fakat bir kolon için NOT NULL tanımlandıysa o alanı boş bırakılamaz. Bazı durumlarda kritik önem taşıyan isim-soy isim, TC No gibi bilgilerin boş bırakılmaması için veri tabanı tasarımı yapılırken bu alanlara NOT NULL tanımlaması yapmak önemlidir. Böylece ileride oluşabilecek çok büyük sorunlar engellenebilir.</p><p><strong>UNIQUE: </strong>UNIQUE kısıtlaması, bir sütundaki tüm değerlerin benzersiz olmasını sağlar. Birden fazla sütün için benzersiz tanımlaması yapılabilir.</p><p><strong>PRIMARY KEY: </strong>Her tablonun bir birincil anahtara sahip olması gerekir ve birincil anahtar olarak seçilen sütunun benzersiz (UNIQUE) olması ve boş olmaması (NOT NULL) gerektiğini belirten bir bütünlük kuralıdır. Her tabloda yalnızca bir adet bulunmalıdır.</p><p><strong>FOREIGN KEY: </strong>İki tabloyu birbirine bağlamak için kullanılan anahtardır. Bu anahtar değerinin tanımlandığı değer, başka bir tablodaki primary key ile bağlantılı olur. Bazen foreign key değeri boş olabilir. Bu durumda ya veri tabanında temsil edilen nesneler arasında bir ilişki olmadığı ya da bu ilişkinin bilinmediği söylenebilir.</p><p>Foreign key veri bütünlüğü için çok önemli tanımlardan bir tanesidir. Barındırdığı özellikler ile bağladığı tablolardan birisinde bir veri silinmeye veya değiştirilmeye çalışıldığında diğer tabloyu da etkileyecek şekilde kurallar tanımlanabilir. Mesela bir tabloda bir değer silindiğinde diğer tabloda silinen değere karşılık gelen veri veya verileri silerek veya onlara varsayılan başka bir değer atayarak veri bütünlüğünün bozulması engellenebilir. Foreign key detaylı bir konu olduğundan burada bu kadar bahsetmekle yetineceğim.</p><p><strong>CHECK: </strong>Check kısıtlaması, bir sütuna yerleştirilebilecek değer aralığını sınırlamak için kullanılır. Örneğin kullanıcıların 18 yaşından büyük olması isteniyorsa, bu kontrol kısıtlayıcısıyla yaş kısmına 18&#39;den düşük değer girildiğinde veri kaydı yapılmaz.</p><p><strong>DEFAULT: </strong>Default<strong> </strong>sınırlaması, bir sütun için varsayılan bir değer sağlamak için kullanılır. NOT NULL ifadesinde de belirtildiği gibi, eğer bir alanın boş bırakılması istenmiyorsa o alan için varsayılan bir değer verilebilir. Örneğin sisteme giriş tarihine varsayılan değer olarak GETDATE fonksiyonu atanabilir.</p><p>Bu sınırlayıcıların nasıl tanımlandığını w3school sitesinden örneklerle görüntüleyebilirsiniz;</p><p><a href="https://www.w3schools.com/sql/sql_constraints.asp">SQL Constraints</a></p><h3>Veri Bütünlüğünün Önemi</h3><p>Yazımda veri bütünlüğünün nasıl sağlanabileceğini aktarmaya çalıştım. Peki neden veri bütünlüğü çok kritik bir öneme sahiptir? Veri tabanında tek bir verinin kaybı veya yanlış girilmesi bile çok önemli sorunlara sebep olabilir. Örneğin bilimsel bir laboratuvarda virgülden sonraki 5. hanenin bile çok önemi olabiliyor. Burada verinin kaybı veya yanlış girilmesi sonucunda, gerçek değerlerden çok uzak sonuçlar bulunabilir bunun sonucundan ciddi bir emek kaybı ve finansal zarar gerçekleşebilir. Veyahut bir hastanede veri bütünlüğünde herhangi bir sorun, bir hastanın sağlığını veya daha da kötüsü yaşamını tehdit edebilir.</p><p>Yazımı buraya kadar okuduğunuz için çok teşekkürler :) Kullandığım <strong><em>kaynaklara</em></strong> aşağıdaki linklerden erişebilirsiniz;</p><ul><li><a href="https://en.wikipedia.org/wiki/Data_integrity">Data integrity - Wikipedia</a></li><li><a href="https://www.varonis.com/blog/data-integrity/">What is Data Integrity and How Can You Maintain it?</a></li><li><a href="https://www.rapidionline.com/blog/data-integrity-what-and-why">WHAT IS DATA INTEGRITY AND WHY IS IT IMPORTANT FOR YOU?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34034c0878d9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/veri-b%C3%BCt%C3%BCnl%C3%BC%C4%9F%C3%BC-data-integrity-34034c0878d9">Veri Bütünlüğü(Data Integrity)</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Optimizing React Performance]]></title>
            <link>https://medium.com/peopleofpapara/optimizing-react-performance-67cfb77bac05?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/67cfb77bac05</guid>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[react-performance]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Gülşah Vural]]></dc:creator>
            <pubDate>Tue, 27 Aug 2024 08:58:01 GMT</pubDate>
            <atom:updated>2024-08-27T08:58:01.580Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*bjn_h9VtaJY0NF-NZJ25Wg.jpeg" /></figure><p>React is one of the most popular JavaScript libraries for building faster user interfaces. However, React applications can become slower and more complex as they grow. Recognizing and fixing potential issues is important to keep your app running fast.</p><p>In web development, performance is the key to providing a positive user experience. I’ll discuss some performance techniques in this article and share code examples.</p><blockquote>Design is not just what it looks like and feels like. Design is how it works. — Steve Jobs</blockquote><h3>Memoization</h3><p>. React.memo</p><p>React.memo is an effective way to avoid unnecessary re-rendering. This higher-order component (HOC) stores the rendered result of a component in memory. If there are no changes to the component’s props, the React.memo won’t re-render the component. This will help increase the performance of your react application. You can wrap your component into a React.memo, as shown below:</p><pre>import { memo, useState } from &#39;react&#39;;<br><br>const MyApp = () =&gt; {<br>  const [name, setName] = useState(&#39;&#39;);<br>  const [address, setAddress] = useState(&#39;&#39;);<br><br>  return (<br>    &lt;&gt;<br>      &lt;label&gt;<br>        Name:<br>        &lt;input value={name} onChange={e =&gt; setName(e.target.value)} /&gt;<br>      &lt;/label&gt;<br>      &lt;label&gt;<br>        Address:<br>        &lt;input value={address} onChange={e =&gt; setAddress(e.target.value)} /&gt;<br>      &lt;/label&gt;<br>      &lt;Child name={name} /&gt;<br>    &lt;/&gt;<br>  );<br>};<br><br>const Child = memo(({ name }) =&gt; {<br>  console.log(&quot;child component is rendering&quot;);<br>  return &lt;h3&gt;{name}&lt;/h3&gt;;<br>});<br><br>export default MyApp;</pre><p>In this example, you will see that the Child component re-renders when the name is changed, but not when address is changed. Normally, if the parent component re-renders, its child components do the same. But with memo, you can prevent a child component from re-rendering as long as its props haven&#39;t changed. This makes the component cached.</p><p>. useMemo</p><p>The useMemo hook stores the result of a function in memory and reuses it when the function&#39;s inputs haven’t changed. This is useful, especially for computationally expensive operations.</p><pre>import React, { useMemo, useState } from &#39;react&#39;;<br><br>const ExpensiveCalculation = () =&gt; {<br>  const [count, setCount] = useState(0);<br>  const [inputValue, setInputValue] = useState(&#39;&#39;);<br><br><br>  const calculation = (num) =&gt; {<br>    console.log(&#39;Expensive Calculation&#39;);<br>    for (let i = 0; i &lt; 1000000000; i++) {<br>      num += 1;<br>    }<br>    return num;<br>  };<br><br>  const calculatedValue = useMemo(() =&gt; {<br>    return calculation(count);<br>  }, [count]);<br><br>  return (<br>    &lt;div&gt;<br>      &lt;h1&gt;Calculated Value: {calculatedValue}&lt;/h1&gt;<br>      &lt;button onClick={() =&gt; setCount(count + 1)}&gt;Increase Count&lt;/button&gt;<br>      &lt;input <br>        type=&quot;text&quot; <br>        value={inputValue} <br>        onChange={(e) =&gt; setInputValue(e.target.value)} <br>        placeholder=&quot;Type something&quot; <br>      /&gt;<br>    &lt;/div&gt;<br>  );<br>};<br><br>export default ExpensiveCalculation;</pre><p>In the example above, the calculation function takes a number and performs many operations on it, which makes it an expensive operation. By using useMemo, this expensive operation is only re-calculated when count changes. Even if inputValue changes, the calculation is not re-calculated because useMemo only depends on count.</p><p>. useCallback</p><p>useCallback is a hook that can be used to memorize callback functions. The callback functions will only be updated if one of the dependencies has changed. It helps prevent unnecessary re-renders of child components that use the callback as a prop.</p><pre>import React, { useState, useCallback, memo } from &#39;react&#39;;<br><br>const  ChildComponent = memo(({ onClick }) =&gt; {<br>  console.log(&#39;ChildComponent rendered&#39;);<br>  return &lt;button onClick={onClick}&gt;Click me&lt;/button&gt;;<br>})<br><br>const ParentComponent = () =&gt; {<br>  const [isDark, setIsDark] = useState(false);<br>  const [count, setCount] = useState(0);<br><br>  const handleClick = useCallback(() =&gt; {<br>    setCount(count + 1);<br>  }, [count]);<br><br>  return (<br>    &lt;div&gt;<br>       &lt;label&gt;<br>        &lt;input<br>          type=&quot;checkbox&quot;<br>          checked={isDark}<br>          onChange={e =&gt; setIsDark(e.target.checked)}<br>        /&gt;<br>        Dark Mode<br>      &lt;/label&gt;<br>      &lt;p&gt;Count: {count}&lt;/p&gt;<br>      &lt;ChildComponent onClick={handleClick} /&gt;<br>    &lt;/div&gt;<br>  );<br>}<br><br>export default ParentComponent;</pre><p>In the example above, if we don’t use useCallback, the ChildComponent would render whenever we changed the dark mode. It looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*-v6dPG60FMxfKC6PWUPalg.png" /></figure><h3>React Fragments</h3><p>With React Fragments, you don’t need to add extra nodes to the DOM. It allows you to group multiple elements.</p><p>This way, you avoid extra DOM elements from rendering.</p><pre>return (<br>    &lt;React.Fragment&gt;<br>      &lt;ChildA /&gt;<br>      &lt;ChildB /&gt;<br>    &lt;/React.Fragment&gt;<br>  );</pre><p>There is also a short syntax:</p><pre>return (<br>    &lt;&gt;<br>      &lt;ChildA /&gt;<br>      &lt;ChildB /&gt;<br>    &lt;&gt;<br>  );</pre><h3>Inline Functions</h3><p>When you pass an inline function as a prop, React treats it as a new function each time the component re-renders. This can cause child components to re-render even if they haven’t changed. I will try to explain this with an example:</p><pre>import React, { useState, useCallback } from &quot;react&quot;<br><br>const MyApp = () =&gt; {<br>  const [isDark, setIsDark] = useState(false)<br>  const callback = useCallback(() =&gt; {}, [])<br><br>  return (<br>    &lt;&gt;<br>      &lt;MyChild callback={() =&gt; callback()} /&gt;<br>      &lt;label&gt;<br>        &lt;input type=&quot;checkbox&quot; <br>         checked={isDark} <br>         onChange={(e) =&gt; setIsDark(e.target.checked)} /&gt;<br>        Dark Mode<br>      &lt;/label&gt;<br>    &lt;/&gt;<br>  )<br>}<br><br>export default MyApp<br><br>const Child = () =&gt; {<br>  console.log(&quot;child component is rendering&quot;)<br>  return &lt;h1&gt;Child Component&lt;/h1&gt;<br>}<br><br>const MyChild = React.memo(Child)</pre><p>In the example above, when I switch to dark mode, the Child component will re-render. Even if the callback function is memorized, the inline function passed as a property to the Child component is not memorized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*NXq29CwMkXMy-ELEI1awRw.png" /></figure><p>So what should we do?</p><pre>import React, { useState, useCallback } from &quot;react&quot;<br><br>const MyApp = () =&gt; {<br>  const [isDark, setIsDark] = useState(false)<br>  const callback = useCallback(() =&gt; {}, [])<br><br>  return (<br>    &lt;&gt;<br>      &lt;MyChild callback={callback} /&gt;<br>      &lt;label&gt;<br>        &lt;input type=&quot;checkbox&quot; <br>         checked={isDark} <br>         onChange={(e) =&gt; setIsDark(e.target.checked)} /&gt;<br>        Dark Mode<br>      &lt;/label&gt;<br>    &lt;/&gt;<br>  )<br>}<br><br>export default MyApp<br><br>const Child = () =&gt; {<br>  console.log(&quot;child component is rendering&quot;)<br>  return &lt;h1&gt;Child Component&lt;/h1&gt;<br>}<br><br>const MyChild = React.memo(Child)</pre><p>We should use callback={callback}instead of callback={()=&gt;callback()} .</p><p>The result is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*-BCVCN6VYGg5A-Orc99yqA.png" /></figure><p>As you can see, the Child component is not re-rendered when I switch to the dark mode.</p><h3>Key Prop in Lists</h3><p>You need to pass each array item a key. When an array is rendered, the order of this array can be changed, deleted, or added. Key helps React to figure out which element in the array needs to be updated. However, there are some things to consider when creating keys. We should avoid using an index as a key. Instead, by defining unique keys, we can optimize React’s rendering process and improve performance.</p><pre>export const people = [{<br>  id: 0, // Used in JSX as a key<br>  name: &#39;Creola Katherine Johnson&#39;,<br>}, {<br>  id: 1, // Used in JSX as a key<br>  name: &#39;Mario José Molina-Pasquel Henríquez&#39;,<br>}, {<br>  id: 2, // Used in JSX as a key<br>  name: &#39;Mohammad Abdus Salam&#39;,<br>}, {<br>  id: 3, // Used in JSX as a key<br>  name: &#39;Percy Lavon Julian&#39;,<br>}, {<br>  id: 4, // Used in JSX as a key<br>  name: &#39;Subrahmanyan Chandrasekhar&#39;,<br>}];<br><br>export default function List() {<br>  const listItems = people.map(person =&gt;<br>    &lt;li key={person.id}&gt;<br>        &lt;b&gt;{person.name}&lt;/b&gt;<br>    &lt;/li&gt;<br>  );<br>  return &lt;ul&gt;{listItems}&lt;/ul&gt;;<br>}</pre><p>In this example, each element has a unique ID. Even if the order of the elements changes or elements are added or removed, there will be no issue. By identifying elements by their unique keys, React can efficiently update the DOM.</p><h3>Code Splitting</h3><p>Bundling is the method of combining imported files with a single file. Most React applications use tools like Webpack, Rollup, or Browserify for packaging. Bundling is great, but as your project grows, your bundle will grow too.</p><p>Code-splitting helps you to load only what the user needs at that moment. This way, we avoid unnecessary imports.</p><pre>import React, { Suspense } from &#39;react&#39;;<br><br>const Child = React.lazy(() =&gt; import(&#39;./Child&#39;));<br>const Child2 = React.lazy(() =&gt; import(&#39;./Child2&#39;));<br><br>function MyComponent() {<br>  return (<br>    &lt;div&gt;<br>      &lt;Suspense fallback={&lt;div&gt;Loading...&lt;/div&gt;}&gt;<br>        &lt;section&gt;<br>          &lt;Child /&gt;<br>          &lt;Child2 /&gt;<br>        &lt;/section&gt;<br>      &lt;/Suspense&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><h3>Lazy Loading Images</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*A87_UWOH16IlkhqmAA8Xjg.png" /></figure><p>When you use a lot of images in your React app, the performance of the app can be slow. This is because you are loading all the images that you have not shown to the user yet. With lazy loading, you can avoid rendering unless it is actually in the viewport.</p><p><a href="https://www.npmjs.com/package/react-lazyload">react-lazyload</a> and <a href="https://www.npmjs.com/package/react-lazy-load-image-component">react-lazy-load-image-component</a> are popular lazy-loading libraries that can be used in React projects.</p><pre>import React from &#39;react&#39;;<br>import { LazyLoadImage } from &#39;react-lazy-load-image-component&#39;;<br><br>const MyImage = ({ image }) =&gt; (<br>  &lt;div&gt;<br>    &lt;LazyLoadImage<br>      alt={image.alt}<br>      height={image.height}<br>      src={image.src} <br>      width={image.width} /&gt;<br>    &lt;span&gt;{image.caption}&lt;/span&gt;<br>  &lt;/div&gt;<br>);<br><br>export default MyImage;</pre><h3>Virtualizing / Windowing Long List Data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*nRQ4qH8W_kSxR7wN6-p83g.jpeg" /></figure><p>React virtualization processes only the data visible on the screen, instead of processing large amounts of data at once. It acts as a window, only rendering the components within that window. As you scroll, the content within the viewport changes.</p><p>The most popular npm packages are <a href="https://www.npmjs.com/package/react-window">react-window</a> and <a href="https://www.npmjs.com/package/react-virtualized">react-virtualized</a>.</p><h3>Debounce</h3><p>Debounce is a technique that prevents a function from being called repeatedly within a given period. For example, let’s say a user typing text into a search box, and you want to send a request to a service using that text. Instead of sending the request immediately every time the user presses a key, you may want to send it after a certain time. This is very useful to reduce unnecessary operations and API requests in user interfaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*ZN4TYLZBFTFeamNvzKwd5Q.png" /></figure><p>There are two common ways to implement debounce in React: the first is to use lodash, a popular JavaScript library, and the second is to create your custom debounce hook. Here’s an example:</p><pre>import { useEffect, useState } from &#39;react&#39;;<br><br>export function useDebounce(value, delay) {<br>  const [debouncedValue, setDebouncedValue] = useState(value);<br><br>  useEffect(() =&gt; {<br>    const handler = setTimeout(() =&gt; {<br>      setDebouncedValue(value);<br>    }, delay);<br><br>    return () =&gt; {<br>      clearTimeout(handler);<br>    };<br>  }, [value, delay]);<br><br>  return debouncedValue;</pre><p>This custom hook updates the value after the specified delay time. This way, we can perform the actions after the user stops typing and the specified time has passed.</p><p>There are many techniques to improve performance. I wanted to share some of these with you. These practices — React.memo, useMemo, useCallback, avoiding inline functions, code splitting, using react fragments, etc. — will help you improve performance, minimize unnecessary re-rendering, and provide a smoother, more efficient user experience.</p><p>Thanks for your time.</p><p>Reference:</p><p><a href="https://legacy.reactjs.org/">React - A JavaScript library for building user interfaces</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67cfb77bac05" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/optimizing-react-performance-67cfb77bac05">Optimizing React Performance</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Gradle Dependency Resolution for Android Projects with Multiple Maven Repositories]]></title>
            <link>https://medium.com/peopleofpapara/mastering-gradle-dependency-resolution-for-android-projects-with-multiple-maven-repositories-7257088f0e84?source=rss----bb75bf7c5504---4</link>
            <guid isPermaLink="false">https://medium.com/p/7257088f0e84</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[gradle]]></category>
            <category><![CDATA[maven]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[dependency-management]]></category>
            <dc:creator><![CDATA[Mustafa Yiğit]]></dc:creator>
            <pubDate>Wed, 21 Aug 2024 15:01:25 GMT</pubDate>
            <atom:updated>2024-08-21T15:01:25.814Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gQU9yXCaehjT1L-J" /><figcaption>Photo by <a href="https://unsplash.com/@darshan394?utm_source=medium&amp;utm_medium=referral">Deva Darshan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As an Android developer, managing Gradle dependencies is a crucial part of your workflow. When your project depends on multiple Maven repositories, ensuring the correct dependencies are used can sometimes feel like a juggling act. If you’ve ever faced issues with Gradle pulling the wrong version or found yourself wondering why a specific dependency wasn’t resolved as expected, you’re not alone. Let’s explore how to manage Gradle’s dependency resolution effectively, ensuring your Android project pulls in the right dependencies from the right places.</p><h3>Understanding Gradle’s Dependency Resolution</h3><p>Think of Gradle as a meticulous librarian organizing books — in this case, your dependencies. When you define dependencies in your gradle file, Gradle looks through the repositories you&#39;ve listed, in the order you&#39;ve specified. If it finds what it’s looking for in the first repository, it stops and uses that version.</p><p>This behavior can sometimes lead to unexpected results, especially when repositories contain overlapping versions of the same library. Understanding and controlling this process is key to ensuring your Android app uses the versions you intend.</p><h3>Setting Up Multiple Maven Repositories</h3><p>Let’s start with a common scenario where your Android project relies on several Maven repositories:</p><pre>repositories {<br>    maven(url = &quot;https://jitpack.io&quot;) // For GitHub projects<br>    maven(url = &quot;https://dl.bintray.com/android/android-tools&quot;) // For specific Android tools<br>    google() // Google&#39;s Maven repository for Android libraries<br>    mavenCentral() // Maven Central for a wide range of libraries<br>}</pre><p>In this configuration:</p><ul><li>Gradle checks JitPack first, ideal for integrating GitHub-hosted libraries.</li><li>Next, it checks Bintray’s repository, often used for specialized Android tools.</li><li>Then, it looks in Google’s repository for Android-specific libraries.</li><li>Finally, it checks Maven Central for other dependencies.</li></ul><p>If a dependency exists in JitPack, that’s what Gradle will use, even if a newer version is available in Maven Central.</p><h3>Controlling Repository Usage with exclusiveContent</h3><p>If you need precise control over where specific dependencies are resolved from, Gradle’s exclusiveContent block is your best friend. This feature allows you to specify that certain dependencies should only come from a particular repository.</p><p>Here’s an example tailored for Android developers:</p><pre>repositories {<br>    maven(url = &quot;https://jitpack.io&quot;)<br>    maven(url = &quot;https://dl.bintray.com/android/android-tools&quot;)<br>    google()<br>    mavenCentral()<br><br>exclusiveContent {<br>        forRepository {<br>            maven {<br>                url = java.net.URI.create(&quot;https://oss.sonatype.org/content/repositories/snapshots&quot;)<br>            }<br>        }<br>        filter {<br>            includeGroup(&quot;com.company.lib&quot;) // Specific library<br>        }<br>    }<br>}</pre><p>In this setup:</p><ul><li>Gradle will only fetch dependencies from the com.company.lib group from the Sonatype snapshot repository.</li><li>This ensures that if you’re using this library you’ll always get the latest snapshot versions from Sonatype, even if other repositories have different versions.</li></ul><h3>Leveraging Repository Content Filtering</h3><p>Gradle’s repository content filtering is an advanced feature that helps you manage which modules are pulled from which repositories. This is particularly useful for Android projects that depend on multiple repositories with overlapping modules.</p><p>For instance, you might want to limit the scope of dependencies from certain repositories to avoid conflicts:</p><pre>repositories {<br>    maven(url = &quot;https://repo1.maven.org/maven2/&quot;) {<br>        content {<br>            includeGroupByRegex(&quot;com\\.android.*&quot;)<br>            excludeModule(&quot;com.android.support&quot;, &quot;support-v4&quot;)<br>        }<br>    }<br>    maven(url = &quot;https://jitpack.io&quot;) {<br>        content {<br>            includeGroup(&quot;com.github.user&quot;)<br>        }<br>    }<br>}</pre><p>In this configuration:</p><ul><li>Maven Central (https://repo1.maven.org/maven2/) will only provide dependencies from the com.android.* group and exclude the com.android.support:support-v4 module.</li><li>JitPack will only serve dependencies from the com.github.User group.</li></ul><p>This approach helps manage dependency conflicts and ensures that your project uses the correct versions and modules.</p><h3>Practical Gradle Techniques for Android Developers</h3><p>Beyond exclusiveContent and content filtering, here are additional techniques that can streamline dependency management for Android developers:</p><h4>1. Include and Exclude Rules</h4><p>You can fine-tune which versions of dependencies are used by specifying include and exclude rules:</p><pre>repositories {<br>    google()<br>    mavenCentral()<br>}<br><br>configurations.all {<br>    resolutionStrategy {<br>        eachDependency { DependencyResolveDetails details -&gt;<br>            if (details.requested.group == &quot;com.squareup.okhttp3&quot; &amp;&amp; details.requested.name == &quot;okhttp&quot;) {<br>                details.useVersion(&quot;4.9.2&quot;) // Ensures specific version of OkHttp is used<br>                details.because(&quot;This version is tested and verified for our app&quot;)<br>            }<br>        }<br>    }<br>}</pre><p>Here, we lock okhttp to version 4.9.2 to ensure compatibility with our Android app, regardless of what’s available in the repositories.</p><h4>2. Repository Filtering with content</h4><p>Control which modules are considered from specific repositories:</p><pre>repositories {<br>    maven(url = &quot;https://repo1.maven.org/maven2/&quot;) {<br>        content {<br>            includeGroupByRegex(&quot;com\\.android.*&quot;)<br>            excludeModule(&quot;com.android.support&quot;, &quot;support-v4&quot;)<br>        }<br>    }<br>}</pre><p>This ensures that only specific groups or modules are fetched from certain repositories, keeping your project’s dependencies clean and free of conflicts.</p><h3>Best Practices for Android Dependency Management</h3><p>To keep your Android project’s dependencies in check:</p><ul><li><strong>Order Matters</strong>: Place the most crucial or frequently updated repositories first in your list.</li><li><strong>Use </strong><strong>exclusiveContent and Content Filtering Wisely</strong>: These tools help direct dependencies to the right repositories, reducing the risk of version conflicts and ensuring the correct modules are used.</li><li><strong>Audit Regularly</strong>: Periodically review and update your dependencies to prevent security vulnerabilities and maintain compatibility.</li></ul><h3>Conclusion</h3><p>Managing dependencies in Android projects with Gradle can sometimes feel complex, especially with multiple Maven repositories in play. By leveraging features like exclusiveContent, repository content filtering, and resolution strategies, you can gain precise control over which dependencies are used and from where they are sourced. This ensures a smoother, more predictable build process, helping you keep your Android project clean, secure, and efficient.</p><p>✨ Next time you find yourself wrestling with dependency resolution, remember you can find more details than here on this Gradle page👇</p><p><a href="https://docs.gradle.org/current/userguide/declaring_repositories_adv.html#sec:repository-content-filtering">https://docs.gradle.org/current/userguide/declaring_repositories_adv.html#sec:repository-content-filtering</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7257088f0e84" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peopleofpapara/mastering-gradle-dependency-resolution-for-android-projects-with-multiple-maven-repositories-7257088f0e84">Mastering Gradle Dependency Resolution for Android Projects with Multiple Maven Repositories</a> was originally published in <a href="https://medium.com/peopleofpapara">Papara Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>