<?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[Wingie Enuygun Tech - Medium]]></title>
        <description><![CDATA[Türkiye’nin seyahat sitesi ENUYGUN’un ve global markası WINGIE’nin yazılım geliştirme ve teknolojik altyapı hikayeleri - Medium]]></description>
        <link>https://medium.com/enuygun-wingie-tech?source=rss----c48d6d608015---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Wingie Enuygun Tech - Medium</title>
            <link>https://medium.com/enuygun-wingie-tech?source=rss----c48d6d608015---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 20:30:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/enuygun-wingie-tech" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Poor Man’s Embeddings: A Minimalist Approach in Rust]]></title>
            <link>https://medium.com/enuygun-wingie-tech/poor-mans-embeddings-a-minimalist-approach-in-rust-6796bc220b70?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/6796bc220b70</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[semantic-search]]></category>
            <category><![CDATA[embedding]]></category>
            <category><![CDATA[rust]]></category>
            <dc:creator><![CDATA[Arda Avci]]></dc:creator>
            <pubDate>Thu, 28 Aug 2025 08:26:19 GMT</pubDate>
            <atom:updated>2025-08-28T08:28:40.500Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E6bi_ZOOq8IHmj8Lnu3FXw.png" /></figure><h3>Introduction</h3><p>We live in an era of constant technological breakthroughs. As new tools and capabilities emerge, so do the demands on the resources required to run them. While our imagination might be limitless, our compute resources are not. This is where smaller models and low-level languages come into play. Not every task needs the latest, most advanced 6B-parameter model.</p><p>In this article, we’ll explore the fundamentals of embeddings and use Rust to show that for simple tasks — like finding the most relevant document from an embedded list — lightweight models combined with an efficient language can be a powerful and cost-effective solution.</p><h3>Embeddings</h3><p>Before we dive into the codebase, let’s refresh our understanding of embeddings. You can think of embeddings as coordinates in a high-dimensional space. Each word, sentence, or document is mapped to a specific point, and the distance between these points (vectors) reflects their similarity — the closer they are, the more related their meanings.</p><p>A classic example that really clarified this concept for me is:</p><blockquote><strong><em>King</em></strong><em> — </em><strong><em>Man</em></strong><em> + </em><strong><em>Woman</em></strong><em> ≈ </em><strong><em>Queen</em></strong></blockquote><p>In practice, if we take the vector for <em>king</em>, add the vector for <em>woman</em>, and subtract the vector for <em>man</em>, we end up with a vector that’s very close to the one representing <em>queen</em>.</p><blockquote>More can be found <a href="https://huggingface.co/spaces/hesamation/primer-llm-embedding?section=word2vec">here</a></blockquote><p>As can be understand from the example finding a related document is a tailored task for embeddings. For this example, I’m using <a href="https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2">AllMiniLm-L12-V2</a> a lightweight sentence-transformer model from Hugging Face. It’s a distilled version of a much larger model, and solely trained to produce high quality embeddings along with keeping the size and inference time low as much as possible.</p><p>At around 33 million parameters, it’s a tiny yet effective model compared to the multi-billion parameter giants:</p><ul><li>Fast — Embeddings are generated in milliseconds, even on CPU</li><li>Lightweight — Which means low memory footprint, allows developers with limited resources to deploy fearlessly without OOM killed tasks.</li><li>Good Enough — for tasks like semantic search, clustering, or similarity scoring, the performance is often indistinguishable from larger models.</li></ul><p>We don’t need a state-of-the-art, bleeding-edge monster for simple “find me the closest document” scenarios. AllMiniLM-L12-v2 strikes a great balance between speed, accuracy, and resource usage — perfect for our Rust-based embedding search demo.</p><h4>Implementation</h4><p>In the next section, we’ll walk through the core parts of the code to see how embeddings are generated, compared, and used to surface the most relevant document.</p><blockquote>Full implementation can be found <a href="https://github.com/ardvci/rust-poor-mans-embeddings">here</a></blockquote><pre>mod reader;<br>mod query;<br>use anyhow::Result;<br>use std::{fs, env, io};<br>use std::any::Any;<br>use rust_bert::pipelines::sentence_embeddings::{SentenceEmbeddingsBuilder, SentenceEmbeddingsModelType};<br>use rust_bert_example::reader::file_reader::FileReader;<br>use rust_bert_example::query::query_maker::EmbeddingsComparer;<br><br><br><br><br>fn main() -&gt; Result&lt;()&gt; {<br>    let binding = env::current_dir()?;<br>    let current_pwd = binding.to_str().expect(&quot;working directory path wasn’t valid UTF‑8&quot;);<br>    let query = &quot;Literature Authors&quot;;<br>    let full_path = current_pwd.to_owned() + &quot;/src/static/articles&quot;;<br>    println!(&quot;full_path = {}&quot;, full_path);<br>    let paths = fs::read_dir(full_path)?;<br>    let model = SentenceEmbeddingsBuilder::remote(<br>        SentenceEmbeddingsModelType::AllMiniLmL12V2<br>    ).create_model()?;<br>    let mut sentences: Vec&lt;String&gt; = Vec::new();<br>    for path in paths {<br>        let path = path?.path();<br>        let f_reader = FileReader;<br>        let read_result = f_reader.read_to_string(<br>            path.to_str().unwrap()<br>        );<br>        sentences.push(read_result?.to_string());<br>    }<br>    let embedding_output = model.encode(&amp;sentences);<br>    let query_embedding = model.encode(&amp;[query]);<br>    let idx: i32 = EmbeddingsComparer::find_similar_embedding(<br>        embedding_output, query_embedding<br>    )?;<br><br>    println!(&quot;Closest Article: {:?}&quot;,sentences.get(idx as usize));<br>    Ok(())<br>}</pre><p>The program follows a direct workflow: encode all candidate articles into embeddings, encode the query into the same vector space, and then compute cosine similarity between the query vector and each article vector. The article with the maximum similarity score is returned as the closest match.</p><p>Cosine similarity is used here because it measures the orientation between vectors rather than their magnitude, which makes it well-suited for semantic tasks where we care about direction in the embedding space, not vector length.</p><pre>use rust_bert::pipelines::sentence_embeddings::{Embedding};<br>use rust_bert::RustBertError;<br><br>pub struct EmbeddingsComparer;<br><br>impl EmbeddingsComparer {<br>    pub fn find_similar_embedding(<br>        base_embeddings_res: Result&lt;Vec&lt;Embedding&gt;, RustBertError&gt;,<br>        query_embeddings_res: Result&lt;Vec&lt;Embedding&gt;, RustBertError&gt;,<br>    ) -&gt; Result&lt;i32, RustBertError&gt; {<br>        let base_embeddings = base_embeddings_res?;<br>        let query_embeddings = query_embeddings_res?;<br>        let query = query_embeddings<br>            .get(0)<br>            .ok_or_else(|| {<br>                RustBertError::InvalidConfigurationError(<br>                    &quot;No query embeddings provided&quot;.into(),<br>                )<br>            })?;<br><br>        let query_slice: &amp;[f32] = query.as_slice();<br>        let mut max_score = 0.0_f32;<br>        let mut best_idx = 0;<br><br>        for (i, embedding) in base_embeddings.iter().enumerate() {<br>            let emb_slice: &amp;[f32] = embedding.as_slice();<br>            let sim = calculate_cosine_similarity(emb_slice, query_slice);<br>            if sim &gt; max_score {<br>                max_score = sim;<br>                best_idx = i as i32;<br>            }<br>        }<br><br>        Ok(best_idx)<br>    }<br>}<br><br>pub fn calculate_cosine_similarity(<br>    v1: &amp;[f32],<br>    v2: &amp;[f32]<br>) -&gt; f32 {<br>    assert_eq!(v1.len(), v2.len(), &quot;vectors must have the same length&quot;);<br>    let sum_of_multiplies: f32 = v1.iter().zip(v2.iter()).map(<br>        |(x,y)| (x * y)<br>    ).sum();<br><br>    let divider_x: f32 = v1.iter().map(<br>        |x| x.powi(2)<br>    ).sum::&lt;f32&gt;().sqrt();<br><br>    let divider_y: f32 = v2.iter().map(<br>        |y| y.powi(2)<br>    ).sum::&lt;f32&gt;().sqrt();<br><br>    let result = sum_of_multiplies / (divider_x * divider_y);<br><br>    println!(&quot;Cosine similarity: {}&quot;, result);<br>    result<br>}</pre><p>Here we define the core logic that makes the whole search “tick.” The find_similar_embedding method unwraps both the article embeddings and the query embedding, then sweeps through each candidate to measure its cosine similarity against the query. Every comparison yields a score, and the function keeps track of the best one, finally returning the index of the winner. The heavy lifting happens in calculate_cosine_similarity, which boils down to a dot product normalized by the vector lengths. The result is a clean score between –1 and 1, where higher means semantically closer. In effect, this loop is our ranking engine: a lightweight, CPU-friendly way of asking, <em>“out of all these documents, which one actually speaks the same language as my query?”</em></p><p><strong>Conclusion</strong></p><p>What we’ve built here is intentionally simple: a handful of lines to embed documents, a loop to measure cosine similarity, and a comparison to decide which candidate ranks highest. Yet even in this stripped-down form, it demonstrates how far you can get without GPUs, giant models, or external services. A single lightweight transformer combined with Rust’s speed and safety is enough to create a working semantic search engine that can sift through your text files in milliseconds.</p><p>Of course, this is just the starting point. The same building blocks can be extended in several directions: instead of returning a single best match, you can rank the <em>top-k</em> most relevant results; you can normalize embeddings up front to speed up comparisons; or you can plug this into a vector database like Qdrant or Milvus when the document collection grows beyond what fits in memory. From there, the system evolves naturally into a more production-grade search pipeline, but the foundation remains the same — embeddings plus cosine similarity.</p><p>The takeaway is that you don’t always need heavyweight infrastructure to get meaningful results. Sometimes, a compact model and a lean language like Rust are enough to deliver a powerful, resource-friendly solution to a very real problem: finding the right information at the right time.</p><p>Not bad for a poor man’s solution.</p><h3>Why This Matters (and Why You Should Join Us!)</h3><p>At <strong>Wingie Enuygun Group</strong>, we love tackling messy, complex problems that make travel better. The <em>Poor Man’s Embeddings</em> approach you just saw? That’s exactly the kind of <strong>practical, solution</strong> we aim to build every day to improve the entire booking experience.</p><p><a href="https://medium.com/enuygun-wingie-tech/room-mapping-a-never-ending-adventure-86c9a996172b"><strong>Room mapping</strong></a> is just another example — behind the scenes, we’re constantly working on <strong>data-driven systems</strong>, <strong>efficient algorithms</strong>, and <strong>lightweight deployments</strong> that bring real-world impact to thousands of travelers.</p><p>If you enjoy solving <strong>real-world engineering challenges</strong> with <strong>cutting-edge tech</strong> and a <strong>hands-on mindset</strong>, we’d love to have you on board! 💚</p><ul><li>Check out our open positions on the <a href="https://apply.workable.com/wingieenuygun/"><strong>Wingie Enuygun Career Page</strong></a>, our <a href="https://www.enuygun.com/kariyer/"><strong>website</strong></a>, and our <a href="https://www.linkedin.com/jobs/search/?currentJobId=4290659591&amp;keywords=wingie%20enuygun%20group&amp;origin=BLENDED_SEARCH_RESULT_NAVIGATION_SEE_ALL&amp;originToLandingJobPostings=4290659591%2C4276984748%2C4290674224"><strong>LinkedIn</strong></a></li><li>Follow our <a href="https://www.linkedin.com/company/wingieenuygungroup/"><strong>LinkedIn account</strong></a> learn more about us!</li><li>👉🏻 <strong>Read </strong><a href="https://medium.com/enuygun-wingie-product"><strong>all our articles here</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6796bc220b70" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/poor-mans-embeddings-a-minimalist-approach-in-rust-6796bc220b70">Poor Man’s Embeddings: A Minimalist Approach in Rust</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Product Managers Need to Think Like Marketers]]></title>
            <link>https://medium.com/enuygun-wingie-tech/why-product-managers-need-to-think-like-marketers-8faa78b86c69?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/8faa78b86c69</guid>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[product-mindset]]></category>
            <category><![CDATA[product-marketing]]></category>
            <dc:creator><![CDATA[Busra Geyik Ademoglu]]></dc:creator>
            <pubDate>Thu, 10 Apr 2025 07:07:47 GMT</pubDate>
            <atom:updated>2025-04-10T07:07:47.108Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>In today’s fast-paced world, you hear a lot of job titles thrown around — Product Manager, Project Manager, Growth Manager, Product Marketing Manager, and more. Each role brings a different skill set to the table, but at the end of the day, they all aim to achieve the same core goals: <strong>increased revenue, larger market share, and stronger customer engagement</strong>. While their approaches may vary, the intersection of these roles — especially between product management and marketing — is more important than ever.</blockquote><p>In the past, Product Managers were seen as the “tech translators” — the ones who worked closely with engineers, wrote specs, and prioritized backlogs. But today, that’s only one piece of the puzzle. PMs are now expected to own <strong>not just the “what” and “how” of the product</strong>, but also deeply understand the <strong>“why” and “for whom”</strong>. That’s where a marketing mindset becomes a superpower.</p><p>As a Product Manager, I’ve never believed that metrics like <strong>Customer Acquisition Cost (CAC), Lifetime Value (LTV), revenue, or new sales</strong> are outside my responsibility. Just like a marketer, I track <strong>Net Promoter Score (NPS), churn rate, conversion rate, and engagement</strong> — not because they’re “marketing metrics,” but because they reflect real outcomes for our users and our business.</p><p>It doesn’t matter whether you carry the title of Product Manager or Marketer — <strong>if you want to create business value and truly impact customers, you need to care about the full spectrum of metrics</strong>. These numbers aren’t just KPIs — they’re indicators of whether we’re solving the right problems, in the right way, for the right people.</p><p>Because at the end of the day,</p><blockquote><strong>every role is the voice of the customer</strong>.</blockquote><p>Whether you’re prioritizing features or crafting a go-to-market plan, you’re speaking for their needs, their frustrations, and their goals.</p><ol><li><strong>🎯 Customer Obsession</strong></li></ol><p>Customer obsession should be so ingrained in your mindset that it stays with you even before you sleep at night. It’s a way of thinking that you can integrate into your life, constantly feeding it with examples from your own experiences and surroundings. (I’m not suggesting you should become consumed with work in an unhealthy way, but rather, I’m referring to the mindset.)</p><p>If you can adopt this approach and view every product you interact with through this lens, you’ll be on your way to becoming a great Product Manager or Marketer. The product doesn’t have to be digital — the principles of user experience apply to all types of products. That’s why it’s crucial to ask the right questions: <br>- What problem are we really solving? <br>- How does this feature connect emotionally with our users? <br>- How do we frame it so people immediately understand its value?</p><p>📚<em>A must-read is </em><strong><em>“Inspired: How To Create Products Customers Love”</em></strong><em> by Marty Cagan. It’s an invaluable resource for understanding how to create products that not only solve customer pain points but also resonate with users on an emotional level.</em></p><p><strong>2. 📈 Product-Market Fit is a Moving Target</strong></p><p>While staying closely attuned to the market, trends, and customer needs — and being obsessed with the 4Ps — is essential for a marketer, it should be just as crucial for a Product Manager. A PM should not be confined to their team; they must follow the <strong>customer closely</strong>, not just be stuck between customer requests. Analysis should involve creating focus groups for direct insights. It’s not enough to simply understand what customers will use; one should also be <strong>curious about how customers will respond and behave when interacting with the product.</strong></p><p>📚<em>I highly recommend reading </em><strong><em>“Hooked: How to Build Habit-Forming Products”</em></strong><em> by Nir Eyal. This book provides valuable insights into the psychology behind user engagement and how to design products that foster lasting habits.</em></p><p><strong>3. 🔁 Growth Loops &amp; Habit Formation</strong></p><p>Marketers think in funnels, journeys, and retention strategies. PMs should too. Building features that hook users, bring them back, or turn them into advocates isn’t accidental — it’s intentional.</p><p>By applying growth strategies like:</p><ul><li>Referrals</li><li>Gamified engagement</li><li>Value delivery early in the journey</li></ul><p>…PMs can drive sustained growth through <strong>product design</strong>, not just campaigns.</p><p><em>📚For understanding how to create growth loops and design for habit formation, I recommend reading </em><strong><em>“The Lean Startup”</em></strong><em>by Eric Ries. This book provides great insights into building products that can scale, while focusing on feedback loops and continuous improvement — key elements in driving sustained growth.</em></p><p><em>📚Another fantastic read is </em><strong><em>“Atomic Habits”</em></strong><em> by James Clear, which dives deep into how small behavioral changes can lead to long-term habits.</em></p><p><strong>4. 🧠 Brand, Trust, and Emotional Design</strong></p><p>Designing a product that users trust isn’t just about security or performance; it’s also about <strong>how it makes them feel.</strong> This concept is well-supported by cognitive psychology research and neuromarketing studies. Marketers understand the power of branding, tone of voice, and emotional signals, as they closely analyze and pay attention to customer behavior.</p><p>In today’s world, there are countless options for every product or service — digital or not. Therefore, appealing to users and retaining them is just as important as acquiring them. This is why <strong>branding</strong> is incredibly important and should be a concern for Product Managers just as much as it is for marketers.</p><p>📚<em>At this point, I highly recommend reading </em><strong><em>The Design of Everyday Things</em></strong><em> and </em><strong><em>Emotional Design</em></strong><em> by </em><strong><em>Don Norman</em></strong><em>, one of my biggest inspirations. His work has influenced us all in the world of product design.</em></p><blockquote>All in all,</blockquote><p>Product isn’t just about sprints and features, and marketing isn’t just about agencies and ads. <strong>It’s all about understanding people’s needs and expectations </strong>and<strong> </strong>clearly showing them why it matters.</p><p>When PMs start thinking like marketers, they don’t just build better products — they tell better stories, create deeper value, and connect with users in ways that last.</p><p><strong><em>Have a lovely day!</em></strong></p><p><em>Büşra</em></p><p>— — — — —</p><p>Would you like to be a part of the Wingie Enuygun team?💚</p><p>You can find our open positions on the <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Career Page</a>, our <a href="https://www.enuygun.com/kariyer/">website</a>, and our <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn page</a>.<br>Follow our <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn account</a> to learn more about us!</p><p>👉🏻 Click here for <a href="https://medium.com/enuygun-wingie-product">all our articles!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8faa78b86c69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/why-product-managers-need-to-think-like-marketers-8faa78b86c69">Why Product Managers Need to Think Like Marketers</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Room Mapping: A Never-Ending Adventure]]></title>
            <link>https://medium.com/enuygun-wingie-tech/room-mapping-a-never-ending-adventure-86c9a996172b?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/86c9a996172b</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[hotel]]></category>
            <category><![CDATA[ota]]></category>
            <category><![CDATA[accommodations]]></category>
            <category><![CDATA[room-mapping]]></category>
            <dc:creator><![CDATA[Hasan Ermis]]></dc:creator>
            <pubDate>Wed, 26 Feb 2025 12:38:10 GMT</pubDate>
            <atom:updated>2025-02-26T12:38:10.123Z</atom:updated>
            <content:encoded><![CDATA[<h4>How We Solve a Surprisingly Complex Travel Challenge at Wingie Enuygun Group</h4><blockquote>I would like to extend my sincere gratitude to <a href="https://medium.com/@ardvci">Arda</a>, who has been an invaluable collaborator throughout this project. His expertise in algorithm development, determination in defining the algorithm’s logic and structure, and unwavering support during the data processing stages were instrumental in our success. His dedication and hard work made a significant impact, and I truly appreciate his contributions. It has been a pleasure working together, and I look forward to future collaborations.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aoC6QSlLg9W7LLgpHTWuNg.png" /></figure><h3>Introduction: The Hidden Complexity Behind Booking a Hotel Room</h3><p>You’ve found the perfect hotel. The location is great, the reviews checked out, and the room looks just right. But when you arrive, it’s not quite what you expected. The <strong>“Deluxe Suite with King Bed and City View”</strong> turns out to be a <strong>“Standard Twin with a Partial View of a Parking Lot.”</strong></p><p>This kind of experience is frustrating, yet surprisingly common. The problem? <strong>Inconsistent hotel room data and missing images.</strong></p><p>At <strong>Wingie Enuygun Group</strong>, we process <strong>millions of hotel listings every month</strong>, and ensuring travelers see <strong>accurate, comparable room details</strong> is one of our biggest challenges. Room mapping — standardizing and matching hotel rooms across different providers — is an ongoing process, and one that we continuously refine.</p><p>This is the story of how we tackle it.</p><h3>Why Room Mapping (and Room Images) Matter</h3><p>When travelers book a hotel room, they’re not just looking at <strong>price</strong> — they care about <strong>details and visuals</strong>.</p><p><strong>8 out of 10 travelers</strong> prefer listings with <strong>at least one image</strong>, proving that room photos play a major role in decision-making.</p><p>Consider a group of friends planning their annual summer getaway to Antalya. They’re comparing different resorts, looking for rooms that can accommodate their entire group. When they find two similarly priced hotels but only one shows detailed room photos, their choice becomes obvious — they need to see the space to ensure it will work for their group’s needs. This common scenario plays out thousands of times daily across our platform, highlighting why visual content has become as crucial as competitive pricing in the modern booking journey. To better serve travelers like these friends, we’re continuously working to enhance our inventory, ensuring users have access to an even wider selection of well-documented hotel options for their perfect stay.</p><p>However, hotel inventory data is <strong>messy</strong>:<br> ✅ One provider might list: <strong>“Double Room with AC”<br></strong> ❌ Another calls it: <strong>“Standard Room with Room Heater”<br></strong> ✅ One mentions <strong>“1 King Bed”<br></strong> ❌ Another just says <strong>“Extra Large Bed”</strong></p><p>On top of that, <strong>many room listings come with no images at all.</strong></p><p>This is a huge issue. <strong>A traveler is far less likely to book a room that has no images, even if the description is perfect.</strong> Worse, when images are present but don’t match the actual room, it creates <strong>trust issues</strong> — leading to cancellations, refunds, and poor customer experiences.</p><p>The more data sources we integrate, the more complex this problem becomes. That’s why we’ve built a <strong>scalable room mapping system</strong> that not only <strong>matches and standardizes room details</strong> but also <strong>fills in missing images where possible</strong> to ensure travelers always get the most accurate view of their stay.</p><h3>How We Solve It: Our Room Mapping System</h3><p>Imagine a production line where raw hotel data flows in, gets cleaned, categorized, and structured before it reaches the customer. That’s how we approach room mapping — except instead of manufacturing a product, we’re <strong>creating structured, reliable information from messy, unstandardized data. </strong>This design ensures that when our customers search for accommodations, they’re seeing consistent, deduplicated results that make booking decision-making simple and transparent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_geAXEAnhHi5giyS" /></figure><h3>Step 1: Extracting &amp; Cleaning Room Data</h3><p>Every month, we ingest <strong>millions of hotel room listings</strong> from different providers. This data lands in our <strong>Raw Provider Logs Database</strong>, where we:</p><ul><li>Extract individual room listings</li><li>Identify inconsistencies in naming, descriptions, and features</li><li><strong>Flag missing or inconsistent images</strong></li><li>Store historical pricing data for analysis</li></ul><h3>Step 2: Understanding Room Descriptions &amp; Images</h3><p>Here’s where things get interesting. Hotel room names are often <strong>packed with unstructured details</strong>, and every provider does things differently.</p><p>Take this example:<br> 📌 <strong>“Quadruple Superior Room Bright Spacious Balcony Wifi At Charge 2 Separate Bedrooms”</strong></p><p>A human might instantly recognize what this means, but for a machine, it’s just a long string of text. We break it down into a <strong>structured format</strong>:</p><ul><li><strong>Room Type:</strong> Superior, Family</li><li><strong>Features:</strong> Balcony, Spacious</li><li><strong>Capacity:</strong> 4 People</li><li><strong>Bedrooms:</strong> 2</li></ul><p>📌 We do this across <strong>multiple languages</strong>, ensuring that whether a listing says <strong>“经典双人房, 1 张双人床 (Classic Double Room, 1 Double Bed)” or “Кровать размера king (King Size Bed)”</strong>, travelers always see the same, <strong>consistent</strong> information.</p><p>But structured text alone isn’t enough. <strong>A room without an image and content is a lost booking.</strong></p><ul><li>If a provider doesn’t supply an image, we attempt to <strong>match it with an identical listing from another provider</strong> that does.</li><li>When multiple images exist, we <strong>prioritize the most representative and high-quality ones</strong> to show first.</li><li>We <strong>flag rooms with outdated, inconsistent, or missing images</strong> and push updates where possible.</li><li>We make sure that amenities listed on the room description matches with the image we matched.</li></ul><p>This means that when travelers browse listings, they <strong>not only see standardized room details but also relevant, high-quality images and amenities whenever possible.</strong></p><h3>Step 3: Matching the Same Room Across Providers</h3><p>Now that we have clean, structured data, we <strong>compare rooms across different providers</strong> to find identical listings.</p><p>For a room to be mapped correctly, we need to be <strong>confident</strong> that two descriptions refer to the same actual room. Our system considers:</p><ul><li><strong>Room type</strong> (e.g., Standard vs. Deluxe)</li><li><strong>Occupancy</strong> (e.g., 2 people vs. 4 people)</li><li><strong>Amenities</strong> (e.g., Balcony, Jacuzzi, Ocean View)</li><li><strong>Available images</strong> (to identify duplicates and match missing photos)</li></ul><p>This ensures that whether a traveler books through Provider A or Provider B, <strong>they always see the same details, accurate images, amenities and get the same experience.</strong></p><h3>The Never-Ending Challenge: Why We Keep Iterating</h3><p>Hotel room data isn’t static. Hotels <strong>renovate, rebrand, and update their offerings constantly</strong>, which means what worked yesterday <strong>might not work tomorrow</strong>.</p><p>Some of the biggest challenges we deal with include:</p><ul><li><strong>Regional naming differences</strong> (e.g., “Deluxe” in one market might be a “Luxury” in another)</li><li><strong>Changing amenities</strong> (a hotel might add or remove features over time)</li><li><strong>Inconsistent or missing images from providers</strong></li></ul><p>Because of this, room mapping <strong>isn’t a one-time fix</strong> — it requires <strong>continuous monitoring, testing, and adjustments.</strong></p><p>To keep accuracy high, we:</p><ul><li>Track <strong>Room Mapping Coverage</strong> (how many listings we successfully match)</li><li>Monitor <strong>false positives</strong> (e.g., incorrectly mapping a room with a Jacuzzi to one without)</li><li><strong>Identify listings with missing or outdated images</strong> and work to update them</li><li><strong>Observe non-mapped rooms</strong> and investigate the reason behind.</li></ul><p>Even a <strong>tiny improvement</strong> can impact <strong>tens of thousands of bookings and rooms</strong>, so <strong>iterating constantly</strong> is critical.</p><h3>What We’ve Improved (And What’s Next)</h3><h3>Before:</h3><ul><li>Generic, incomplete room details</li><li>Inconsistent amenity descriptions</li><li><strong>Many listings with no images or outdated visuals</strong></li></ul><h3>Now:</h3><ul><li><strong>Standardized, high-quality listings</strong> with detailed descriptions</li><li><strong>More visual content</strong>, making it easier for travelers to compare rooms</li><li><strong>Consistent room names across providers</strong>, reducing confusion</li><li><strong>Better image coverage</strong>, ensuring travelers see accurate visuals</li></ul><p>Looking ahead, we’re expanding our mapping to <strong>specialty accommodations</strong> like boutique hotels, serviced apartments, and alternative stays — ensuring <strong>every type of traveler gets clear, accurate room details and images.</strong></p><h3>Why This Matters to You (And Why You Should Join Us!)</h3><p>At <strong>Wingie Enuygun Group</strong>, we love tackling <strong>messy, complex problems</strong> that make travel better. Room mapping is just one piece of the puzzle — we’re constantly working on <strong>scalable, data-driven solutions</strong> to improve the entire booking experience.</p><p>Want to see our algorithm in action? Visit our hotel <a href="https://www.enuygun.com/otel/">website</a> to explore these mapping results firsthand.</p><p>If you’re someone who enjoys solving <strong>real-world challenges with real impact</strong>, we’d love to have you on board.</p><p>Would you like to be a part of the Wingie Enuygun team? 💚<br>You can find our open positions on the <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Career Page</a>, our <a href="https://www.enuygun.com/kariyer/">website</a>, and our <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn page</a>.</p><p>Follow our <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn account</a> to learn more about us!</p><p>👉🏻 Click here for <a href="https://medium.com/enuygun-wingie-product">all our articles!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86c9a996172b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/room-mapping-a-never-ending-adventure-86c9a996172b">Room Mapping: A Never-Ending Adventure</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dify AI ile Yapay Zeka Projelerine Vites Attırma]]></title>
            <link>https://medium.com/enuygun-wingie-tech/dify-ile-yapay-zeka-projelerinize-h%C4%B1z-verin-kodsuz-uygulama-geli%C5%9Ftirme-5f5a317a0353?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/5f5a317a0353</guid>
            <category><![CDATA[dify-ai]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Ercan Çavuşoğlu]]></dc:creator>
            <pubDate>Thu, 16 Jan 2025 11:10:56 GMT</pubDate>
            <atom:updated>2025-01-16T11:10:56.306Z</atom:updated>
            <content:encoded><![CDATA[<p>Yapay zeka, hayatımızın her alanında hızla yerini alıyor ve iş süreçlerimizi dönüştürüyor. Ancak, yapay zeka tabanlı uygulamalar geliştirmek genellikle karmaşık ve zaman alıcı bir süreç olarak görülüyor. Dify, bu süreci basitleştirerek kod yazmadan yapay zeka uygulamaları oluşturmanıza olanak tanıyan açık kaynaklı bir LLM (Large Language Model) uygulama geliştirme platformu sunuyor.</p><p><a href="https://dify.ai/">Dify: Leading Agentic Workflow Builder</a></p><h3>Dify AI Nedir ve Neden Kullanılmalı?</h3><p>Dify, kullanıcıların jeneratif(üretken) yapay zeka uygulamalarını oluşturmasını ve işletmesini sağlayan bir platformdur. Görsel iş akışı düzenleme, canlı düğüm hata ayıklama ve modüler DSL(Domain-Specific Language) gibi özellikleriyle, yapay zeka uygulamalarınızı hızlı ve verimli bir şekilde geliştirmenize yardımcı olur.</p><p><strong>Dify ile Neler Yapabilirsiniz?</strong></p><ul><li><strong>Chatbot Geliştirme</strong>: Dify, chatbot geliştirme sürecini hızlandırıyor. Kullanıcılar, NLP API’lerini entegre ederek ve veri girişlerini ayarlayarak, hızlıca bir chatbot oluşturabilirler.</li><li><strong>Veri Analizi</strong>: Dify, veri analizi projelerinde kullanılarak, veri toplama, veri işleme ve veri görselleştirme süreçlerini hızlandırıyor.</li><li><strong>Otomaşyon</strong>: Dify, iş süreçlerini otomatikleştirme projelerinde kullanılarak, veri girişlerini, API entegrasyonlarını ve çıktılarını ayarlayarak, otomasyon süreçlerini hızlandırıyor.</li></ul><p><strong>Dify’in Temel Özellikleri</strong></p><ul><li><strong>Görsel İş Akışı Düzenleme:</strong> Karmaşık kodlarla uğraşmadan, görsel bir arayüz üzerinden yapay zeka uygulamalarınızı tasarlayabilirsiniz.</li><li><strong>Canlı Düğüm Hata Ayıklama:</strong> Gerçek zamanlı hata ayıklama özelliği sayesinde, uygulamalarınızın performansını anında izleyebilir ve iyileştirebilirsiniz.</li><li><strong>Modüler DSL:</strong> Esnek ve modüler bir dil ile uygulamalarınızı oluşturabilir, ihtiyaçlarınıza göre özelleştirebilirsiniz.</li><li><strong>Yerel Kod Çalışma Zamanı:</strong> Uygulamalarınızı yerel ortamınızda çalıştırarak, performans optimizasyonu yapabilirsiniz.</li><li><strong>Entegrasyon Kolaylığı:</strong> Google Arama ve DALL-E Çizimi gibi birinci taraf araçların yanı sıra, OpenAPI ve Swagger spesifikasyonları kullanarak özel araçları da entegre edebilirsiniz.</li></ul><p><strong>Başlangıç: Dify ile İlk Adımlar</strong></p><p>Dify ile çalışmaya başlamak oldukça kolay. İşte önerilen başlangıç adımları:</p><ol><li><strong>Kurulum:</strong> Platform, Docker Compose veya aaPanel gibi popüler araçlarla kolayca kurulabilir. <br><a href="https://docs.dify.ai/getting-started/install-self-hosted/docker-compose">https://docs.dify.ai/getting-started/install-self-hosted/docker-compose</a></li><li><strong>Model Seçimi:</strong> Dify, OpenAI, Hugging Face gibi sağlayıcıları destekliyor. Projenizin ihtiyaçlarına uygun bir model seçerek başlayabilirsiniz.</li><li><strong>Örnek Projeler:</strong> Dify dokümantasyonunda yer alan örnek projelerden ilham alabilirsiniz.</li></ol><p><strong>İpucu:</strong> İlk projelerinizde önceden tanımlı modelleri kullanmak, platforma alışmanız açısından faydalı olacaktır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ubAfBsb0pVRedOdafFDAkg.png" /><figcaption>Örnek templatelerden de faydalanabilirsiniz.</figcaption></figure><h3>Gerçek Hayattan Örneklerle Dify Kullanımı</h3><h3>1. Sohbet Asistanı Oluşturma</h3><p>Bir müşteri hizmetleri sohbet asistanı geliştirdiğinizi düşünün. Dify’nin sunduğu araçlarla bunu nasıl yapabileceğinizi görelim:</p><ul><li><strong>Adım 1:</strong> Dify’nin OpenAI modeli entegrasyonunu etkinleştirerek dil modelinizi seçin.</li><li><strong>Adım 2:</strong> Sıkça sorulan soruları Notion veya Google Sheets üzerinden içe aktararak bilgi tabanınızı oluşturun.</li><li><strong>Adım 3:</strong> İş akışı yönetimini kullanarak asistanın yanıtlarını düzenleyin, örneğin:</li><li>Müşteri sipariş sorgusu yaptıysa, sipariş durumu bilgilerini çek.</li><li>Yanıt verilemeyen bir soru varsa, bir müşteri temsilcisine yönlendir.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IzbVLQnv5AAbtfvO.png" /><figcaption>İster doğrudan chatbot seçerek oluşturabilirsiniz</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c0LF3tdR0mXLEhvZ5d3kGg.png" /><figcaption>İsterseniz daha gelişmiş Chatflow ile chatbot yapabilirsiniz.</figcaption></figure><p><strong>Sonuç:</strong> Dify’nin bu özellikleriyle yalnızca birkaç saat içinde işlevsel bir sohbet asistanı oluşturabilirsiniz.</p><h3>2. Dinamik İçerik Yönlendirme</h3><p>Bir e-ticaret sitesi için dinamik ürün öneri sistemi kurmak istiyorsunuz. Dify’nin bu süreçte nasıl yardımcı olabileceğine bakalım:</p><ul><li><strong>Adım 1:</strong> Platform üzerinden ürün verilerinizi yükleyin. Örneğin, “en popüler ürünler” veya “ilgili ürünler” kategorilerini belirleyin.</li><li><strong>Adım 2:</strong> Bir bilgi tabanı oluşturun ve ürün bilgilerini buraya bağlayın.</li><li><strong>Adım 3:</strong> Uygulama orkestrasyon araçlarını kullanarak, kullanıcının göz attığı ürünlere göre öneriler sunan bir iş akışı oluşturun.</li></ul><p><strong>Örnek Kullanım:</strong> Bir kullanıcı “kış montu” aradığında, platform “en çok satan botları” da önerir.</p><h3>3. Otomatik Veri Analizi</h3><p>Bir finansal raporlama aracı oluşturduğunuzu düşünün. Dify burada da işinizi kolaylaştırabilir:</p><ul><li><strong>Adım 1:</strong> Google Sheets veya Excel tablolarını platforma entegre edin.</li><li><strong>Adım 2:</strong> Yapay zeka modelini eğiterek, geçmiş verilerden trend analizi yapmasını sağlayın.</li><li><strong>Adım 3:</strong> Sonuçları görselleştirerek bir web uygulaması veya API üzerinden kullanıcılara sunun.</li></ul><p><strong>Fayda:</strong> Bu sistem, verilerdeki gizli trendleri hızlıca bulmanıza yardımcı olur ve karar alma süreçlerini hızlandırır.</p><h3>Dify’nin Öne Çıkan Araçları ile Daha Fazlasını Başarın</h3><h3>1. Workflow Yönetimi</h3><p><strong>Kullanım Senaryosu:</strong> Bir çağrı merkezi için çok aşamalı bir iş akışı.</p><ul><li><strong>Örnek:</strong> Gelen çağrıları konuya göre sınıflandıran ve gerekli departmana yönlendiren bir sistem kurabilirsiniz.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DHKeY47HUyXCn5Rc0j_8nw.gif" /><figcaption>Workflow kurmak bu kadar basit</figcaption></figure><h3>2. Tools Entegrasyonu</h3><p><strong>Kullanım Senaryosu:</strong> Google ve Bing’den veri çeken bir araştırma asistanı.</p><ul><li><strong>Örnek:</strong> “Son 24 saatte yayınlanan teknolojik haberleri bul” şeklinde bir uygulama geliştirebilirsiniz.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AzI_cxjFUL6BXvQKNil1Ng.png" /><figcaption>Çok sayıda tool entegrasyonu mevcut</figcaption></figure><h3>3. Test ve İzleme</h3><p><strong>Kullanım Senaryosu:</strong> Uygulamanızın performansını gerçek zamanlı olarak takip etmek.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M3rR7NedNiqtvindz8MQSQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zpjs7Rift1rWIj2Z9Jg4pw.png" /></figure><ul><li><strong>Örnek:</strong> Dify’nin izleme araçlarıyla API çağrılarının hızını ve kullanıcı geri dönüşlerini analiz edin.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1tF9M3cjhoX-34L4.png" /><figcaption>Dify API ile projelerinizde fark yaratın.</figcaption></figure><h3>Dify ile Verimliliği Artırmanın İpuçları</h3><ol><li><strong>Ekibinizle İş Birliği Yapın:</strong> Ekip üyelerini projeye davet ederek görev paylaşımı yapın.</li><li><strong>Modelleri Test Edin:</strong> Birden fazla modeli test ederek projeniz için en uygun olanı seçin.</li><li><strong>Otomasyonu Kullanın:</strong> İş akışlarınızdaki tekrar eden görevleri otomatikleştirin.</li></ol><h3>Dify Kullanırken Dikkat Edilmesi Gerekenler</h3><p>Dify, birçok avantaj sunsa da, kullanırken dikkat edilmesi gereken bazı noktalar vardır.</p><ul><li><strong>Güvenlik</strong>: API entegrasyonları ve veri işleme süreçlerinde güvenlik önlemlerini ihmal etmemelisiniz.</li><li><strong>Veri Kalitesi</strong>: AI modellerinin performansı, kullanılan verilerin kalitesine bağlıdır. Veri temizleme ve doğrulama süreçlerine özen göstermelisiniz.</li><li><strong>Ölçeklenebilirlik</strong>: Dify, küçük ve orta ölçekli projeler için idealdir. Ancak, büyük ölçekli projelerde performans sorunları yaşanabilir. Bu nedenle, projenizin büyüklüğünü göz önünde bulundurmalısınız.</li></ul><h3>Sonuç: Dify ile Potansiyelinizi Maksimize Edin</h3><p>Dify, yapay zeka uygulama geliştirme sürecini basitleştirerek, kod yazmadan hızlı ve etkili çözümler üretmenize olanak tanır. Eğer siz de yapay zeka projelerinizi hızlandırmak ve iş süreçlerinizi dönüştürmek istiyorsanız, Dify’yi deneyerek kendi uygulamalarınızı oluşturabilirsiniz.</p><p>Unutmayın, yapay zeka dünyasında her geçen gün yeni fırsatlar ortaya çıkıyor. Dify gibi araçlar sayesinde, bu fırsatları değerlendirerek projelerinizi bir adım öteye taşıyabilirsiniz.</p><p>Wingie Enuygun ekibinin bir parçası olmak ister misin? Açık pozisyonlarımızı <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Kariyer</a> sayfamızda, <a href="https://www.enuygun.com/kariyer/">web sitemizde</a> ve <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızda</a> bulabilirsin.💚<br>Bizle ilgili daha fazla bilgiye ulaşmak için <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a> takip et!</p><p>👉🏻Tüm makalelerimiz için <a href="https://medium.com/enuygun-wingie-product">tıkla</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f5a317a0353" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/dify-ile-yapay-zeka-projelerinize-h%C4%B1z-verin-kodsuz-uygulama-geli%C5%9Ftirme-5f5a317a0353">Dify AI ile Yapay Zeka Projelerine Vites Attırma</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ElectronJS Render Süreçleri: ipcMain ve ipcRenderer Kullanımı]]></title>
            <link>https://medium.com/enuygun-wingie-tech/electronjs-render-s%C3%BCre%C3%A7leri-ipcmain-ve-ipcrenderer-kullan%C4%B1m%C4%B1-7b8f0b257fd6?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/7b8f0b257fd6</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[electronjs]]></category>
            <dc:creator><![CDATA[Cemre Aktemur]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 14:55:08 GMT</pubDate>
            <atom:updated>2025-01-06T14:55:08.923Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I85SwuosOZ7eRXdQ" /><figcaption>Photo by <a href="https://unsplash.com/@theshubhamdhage?utm_source=medium&amp;utm_medium=referral">Shubham Dhage</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Electron framework’ü, masaüstü uygulamaları geliştirmek için kullanılan güçlü bir araçtır. Bu framework, Chromium ve Node.js’nin birleşiminden oluşur ve bu sayede JavaScript, HTML ve CSS kullanarak masaüstü uygulamaları geliştirebilirsiniz. Electron’da, genellikle “ana süreç” ve “renderer süreçleri” olarak adlandırılan iki tür süreç bulunur. Ana süreç, uygulamanın başlangıcında çalışan ve GUI (Grafiksel Kullanıcı Arayüzü) öğelerini oluşturan süreçtir. Renderer süreçleri ise HTML ve CSS kullanarak kullanıcı arayüzünü oluşturur ve çalıştırır. Bu iki süreç arasında iletişim kurmanın en yaygın yolu, `ipcMain` ve `ipcRenderer` modüllerini kullanmaktır.</p><h4>ipcMain ve ipcRenderer Nedir?</h4><p>ipcMain: Ana süreçte kullanılır ve ana süreçten renderer süreçlerine veri iletmek için kullanılır.<br> <br>ipcRenderer: Renderer süreçlerinde kullanılır ve renderer süreçlerinden ana süreçe veri iletmek için kullanılır.</p><h3>İletişim Nasıl Kurulur?</h3><h4>Ana Süreçten Renderer Süreçlerine Veri İletme</h4><p>Ana süreçten renderer süreçlerine veri iletmek için şu adımları izleyebiliriz:</p><pre>const { ipcMain } = require(‘electron’);<br>ipcMain.on(&#39;messageFromMain&#39;, (event, data) =&gt; {<br> console.log(&#39;Ana süreçten gelen veri:&#39;, data);<br> // Burada renderer sürecinde cevap verilebilir<br>});<br>const { ipcRenderer } = require(&#39;electron&#39;);<br>ipcRenderer.send(&#39;messageFromMain&#39;, &#39;Merhaba, bu ana süreçten gelen bir mesajdır.&#39;);</pre><h4>Renderer Süreçlerinden Ana Süreçe Veri İletme</h4><p>Renderer süreçlerinden ana sürece veri iletmek için şu adımları izleyebiliriz:</p><pre>const { ipcRenderer } = require(‘electron’);<br>ipcRenderer.on(&#39;messageFromRenderer&#39;, (event, data) =&gt; {<br> console.log(&#39;Renderer süreçten gelen veri:&#39;, data);<br> // Burada main processte cevap verilebilir<br>});<br>const { ipcMain } = require(&#39;electron&#39;);<br>ipcMain.send(&#39;messageFromRenderer&#39;, &#39;Merhaba, bu renderer sürecinde gelen bir mesajdır.&#39;);</pre><h4>Örnek Uygulama: Mesaj Gönderme</h4><p>Aşağıda, basit bir örnek uygulama görebilirsiniz. Bu uygulama, bir butona tıklandığında ana süreçten renderer süreçlerine bir mesaj gönderir.</p><pre><br>const { app, BrowserWindow, ipcMain } = require(&#39;electron&#39;);<br><br>app.on(&#39;ready&#39;, () =&gt; {<br> const mainWindow = new BrowserWindow({<br> width: 800,<br> height: 600,<br> webPreferences: {<br> nodeIntegration: true<br> }<br> });<br><br>mainWindow.loadFile(&#39;index.html&#39;);<br>ipcMain.on(&#39;messageFromMain&#39;, (event, data) =&gt; {<br> console.log(&#39;Ana süreçten gelen veri:&#39;, data);<br> });<br>});<br><br></pre><p>Electron framework’ü, ana süreç ve renderer süreçleri arasında veri iletişimini kolaylaştıran <strong>ipcMain</strong> ve <strong>ipcRenderer </strong>gibi modüller sunar. Bu modüller sayesinde, uygulamanızın farklı bileşenleri arasında veri aktarımı sağlayabilir ve daha karmaşık uygulamalar geliştirebilirsiniz.</p><p>Wingie Enuygun ekibinin bir parçası olmak ister misin? Açık pozisyonlarımızı <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Kariyer</a> sayfamızda, <a href="https://www.enuygun.com/kariyer/">web sitemizde</a> ve <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızda</a> bulabilirsin.💚<br>Bizle ilgili daha fazla bilgiye ulaşmak için <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a> takip et!</p><p>👉🏻Tüm makalelerimiz için <a href="https://medium.com/enuygun-wingie-product">tıkla</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b8f0b257fd6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/electronjs-render-s%C3%BCre%C3%A7leri-ipcmain-ve-ipcrenderer-kullan%C4%B1m%C4%B1-7b8f0b257fd6">ElectronJS Render Süreçleri: ipcMain ve ipcRenderer Kullanımı</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cursor AI ile Ekip İletişimini ve Üretkenliği Artırma]]></title>
            <link>https://medium.com/enuygun-wingie-tech/cursor-ai-ile-ekip-i%CC%87leti%C5%9Fimini-ve-%C3%BCretkenli%C4%9Fi-art%C4%B1rma-fb9e6243dada?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/fb9e6243dada</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cursor-ai]]></category>
            <dc:creator><![CDATA[Ercan Çavuşoğlu]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 14:53:32 GMT</pubDate>
            <atom:updated>2025-01-06T14:53:32.615Z</atom:updated>
            <content:encoded><![CDATA[<p>Yazılım dünyasında hepimizin hayali nedir? Daha az çabayla daha fazla üretmek, değil mi? İşte tam da bu noktada Cursor AI devreye giriyor ve ekibimizin iş yapma şeklini adeta bir üst seviyeye taşıyor. Biz yazılımcılar olarak yaşayan, nefes alan ürünler ortaya çıkarmak istiyoruz ve Cursor AI, bu süreçte hem iletişimimizi güçlendiriyor hem de üretkenliğimizi artırıyor. 😊</p><h3>Cursor AI Nedir ve Ne Yapar?</h3><p>Cursor AI, kod yazarken size destek veren, sorunlarınızı çözmek için önerilerde bulunan ve bir anlamda sizin ikinci beyniniz gibi çalışan bir yapay zeka aracıdır. Kimi zaman “Bu kodu nasıl optimize ederim?” diye kara kara düşünürken, kimi zaman da karmaşık bir algoritmayı anlamaya çalışırken Cursor AI, elini taşın altına koyar ve “Birlikte hallederiz!” der. 💪</p><p>Peki, bu harika aracı nasıl kullanabiliriz? Hadi birlikte bakalım:</p><p><a href="https://www.cursor.com/features">Features | Cursor - The AI Code Editor</a></p><h3>1. Daha Hızlı ve Etkili Kodlama</h3><p>Yazılım dünyasında zaman altın değerinde. Cursor AI, kod önerileriyle sizi hızlandırırken, aynı zamanda temiz ve düzenli bir kod yazmanızı sağlar. Örneğin, bir fonksiyonun performansını artırmak istiyorsunuz ama nereden başlayacağınızı bilemiyorsunuz. Cursor AI burada devreye girip size en iyi uygulamaları sunuyor. Hem vakitten tasarruf hem de kaliteli bir iş! 🙌</p><h4>Pratik Örnek:</h4><pre>// Orijinal Kod<br>function calculateSum(arr) {<br>    let sum = 0;<br>    for (let i = 0; i &lt; arr.length; i++) {<br>        sum += arr[i];<br>    }<br>    return sum;<br>}<br><br>// Cursor AI Önerisiyle<br>const calculateSum = (arr) =&gt; arr.reduce((sum, num) =&gt; sum + num, 0);</pre><h3>2. İletişim ve İşbirliğinde Güçlenme</h3><p>Ekip içinde herkesin aynı dili konuşması her zaman kolay olmayabilir. Cursor AI, dokümantasyon hazırlamaktan tutun da karmaşık konuları basitçe açıklamaya kadar birçok konuda destek sağlar. Örneğin, “Bu modülün işleyişini bir dökümana dökebilir misin?” dediğinizde, Cursor AI sizin için bunu zahmetsizce yapar. Hatta, “Ben bu kısmı anlamadım” diyen ekip arkadaşınızın sorularına bile yanıt bulabilir. 🤝</p><h3>3. Hataları Bulma ve Çözme</h3><p>“Hata var, panik yok!” diye bir sloganımız var, değil mi? Cursor AI ile bu sloganın hakkını veriyoruz. Hataları tespit etmek ve çözmek Cursor AI sayesinde çok daha kolay hale geliyor. Bir log çıktısında gömülü olan o kritik hatayı Cursor AI birkaç saniyede bulup size öneriler sunabiliyor. “Oooo, bu iş tam bizlik!” dedirtiyor. 😎</p><h4>Debugging Örneği:</h4><p>Bir hata mesajı aldığınızda:</p><pre>TypeError: Cannot read property &#39;length&#39; of undefined</pre><p>Cursor AI size şu adımları önerir:</p><ol><li>Değişkeni kontrol et (tanımlı mı?)</li><li>console.log ile hata noktalarını izle.</li><li>Alternatif bir hata yönetimi yapısı kur (ör. try-catch).</li></ol><h3>4. Kod Kalitesini Artırma</h3><p>Cursor AI sadece hız konusunda yardımcı olmakla kalmaz, aynı zamanda kodunuzun kalitesini de artırmaya odaklanır. Kodunuzu analiz ederek potansiyel hata kaynaklarını, optimizasyon fırsatlarını ve best practices (en iyi uygulamalar) önerilerini sunar. Bu, yalnızca işinize hız katmakla kalmaz, aynı zamanda ekip içindeki kod kalitesini standartlaştırmaya da yardımcı olur. Üstelik bu süreç, zaman içinde daha az hatalı ve daha sürdürülebilir bir yazılım geliştirmeye yol açar.</p><p><strong>Pratik Örnek:</strong></p><pre>// Orijinal Kod<br>function fetchData() {<br>  return fetch(&#39;url&#39;)<br>    .then(response =&gt; response.json())<br>    .catch(error =&gt; console.error(&#39;Error:&#39;, error));<br>}<br><br>// Cursor AI Önerisiyle<br>const fetchData = async () =&gt; {<br>  try {<br>    const response = await fetch(&#39;url&#39;);<br>    return await response.json();<br>  } catch (error) {<br>    console.error(&#39;Error:&#39;, error);<br>  }<br>};</pre><p>Yukarıdaki örnekte, Cursor AI asenkron işleme geçişi önererek, modern JavaScript ile daha verimli ve hatasız bir çözüm sunmuş oluyor.</p><p>Kullanımı da oldukça basit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mGWUhY97MVJIlI-1D0b-qQ.png" /></figure><h3>5. Ekip İçindeki Zamanı Verimli Kullanma</h3><p>Cursor AI, kodlama sürecinde zaman kazandıran önerilerde bulunmanın yanı sıra, aynı zamanda ekip içindeki koordinasyonu ve zaman yönetimini de geliştirebilir. Ekip üyeleri birbirlerinin yazdığı kodu anlamada zorlanabilir veya benzer hataları tekrar edebilir. Cursor AI, ekip üyelerinin birbirleriyle daha verimli çalışabilmesi için gereksiz zaman kayıplarını engeller ve daha hızlı bir iş akışı oluşturur.</p><p><strong>Örnek:</strong></p><ul><li>“Birlikte çalışırken kodu daha iyi anlama” — Ekip arkadaşlarınızın yazdığı kodu analiz edip hızlıca anlamanızı sağlayan açıklamalar ve yorumlar ekler.</li><li>“Kodda tekrarlanan hataları engelleme” — Aynı hataların defalarca yapılmasını engelleyerek, sürekli iyileştirilen kodların oluşturulmasına olanak sağlar.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8B-mj42pWPNpHg2FVurDgg.png" /><figcaption>Daha da verimli mod : Composer 🔥🔥</figcaption></figure><h3>6. Yapay Zeka ile Sınırsız Eğitim ve Gelişim</h3><p>Cursor AI, sadece yazılımla ilgili değil, aynı zamanda kişisel gelişim açısından da faydalıdır. Geliştiriciler, her zaman daha iyi ve etkili yazılım yazmak isterler. Cursor AI, sürekli öğrenme ve gelişim fırsatları sunar. AI, size kod yazarken rehberlik ederken, aynı zamanda yeni teknolojiler hakkında bilgi edinmenizi sağlar. Bu süreç, ekip üyelerinin sürekli olarak kendilerini geliştirmelerine yardımcı olur.</p><p><strong>Örnek:</strong></p><ul><li>Cursor AI, yeni teknolojiler ve kütüphaneler hakkında önerilerde bulunabilir.</li><li>Geliştiricilere kod yazma tarzları hakkında geri bildirim sunarak daha temiz ve verimli kod yazmalarını teşvik eder.</li></ul><h3>7. Proje Yönetiminde Destek</h3><p>Cursor AI, proje yönetimi süreçlerinde de büyük bir yardımcı olabilir. Kod yazmanın ötesinde, AI’a proje planlaması, takvim oluşturma veya görev yönetimi gibi konularda da yardımcı olması için yönlendirmelerde bulunabilirsiniz. Kodlama dışında zaman kazanmak isteyen ekipler için bu tür görevler de AI tarafından ele alınabilir.</p><p><strong>Örnek:</strong></p><ul><li>“Proje takvimini oluştur” veya “Öncelikli görevleri belirle” gibi komutlarla proje yönetimini kolaylaştırabilir.</li></ul><h3>8. Geri Bildirim Kültürünü Destekleme</h3><p>Ekip içinde güçlü bir geri bildirim kültürü oluşturmak, başarının önemli bir parçasıdır. Cursor AI, yazılım geliştirme sürecine dahil olan her ekip üyesine anında geri bildirim sunabilir. Bu, hem yazılım kalitesini artırır hem de ekip içindeki iletişimi geliştirir. Ekip üyeleri, birbirlerine sürekli olarak yapıcı geribildirimler sunabilir ve bu da tüm ekip için verimliliği artırır.</p><p><strong>Örnek:</strong></p><ul><li>Yazılım hataları ve potansiyel iyileştirme alanlarını göstermek, ekip üyelerinin daha hızlı gelişmesini sağlar.</li></ul><h3>Cursor AI’ı Kullanırken Dikkat Edilmesi Gerekenler</h3><p>Tabii ki her güçlü aracın sorumlulukları da beraberinde getirdiğini unutmamak lazım. Cursor AI’ı kullanırken şunlara dikkat etmeliyiz:</p><ul><li><strong>Fazla bağımlı olmamak:</strong> Cursor AI harika bir yardımcıdır, ama son karar ve kontrol her zaman sizin elinizde olmalıdır.</li><li><strong>Yapıcı eleştiriler yapmak:</strong> AI’ın önerilerini sorgulayarak kullanın. Sizi her zaman en doğru çözüme yönlendiremeyebilir.</li><li><strong>Ekip içi paylaşımı artırmak:</strong> Cursor AI’dan öğrendiklerinizi ekibinizle paylaşarak birlikte büyüyün.</li></ul><h3>Best Practices:</h3><ul><li>AI çıktısını mutlaka test edin.</li><li>Dokümantasyonu Cursor AI ile düzenli olarak güncelleyin.</li><li>Ekip içi eğitimlerde Cursor AI önerilerini paylaşarak bilgi transferi sağlayın.</li></ul><h3>Sonuç</h3><p>Cursor AI, yazılım geliştirme sürecinde ekibin verimliliğini artırmakla kalmaz, aynı zamanda ekibin daha sağlıklı bir işbirliği ve iletişim içinde çalışmasına olanak tanır. Teknolojiyle dost olan ekipler sadece daha hızlı yazılım üretmekle kalmaz, aynı zamanda daha kaliteli işler ortaya koyar ve sürekli gelişir. Cursor AI ile bir adım önde olursunuz, çünkü teknoloji sizin en güçlü iş arkadaşınız olur. 💡</p><p>Wingie Enuygun ekibinin bir parçası olmak ister misin? Açık pozisyonlarımızı <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Kariyer</a> sayfamızda, <a href="https://www.enuygun.com/kariyer/">web sitemizde</a> ve <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızda</a> bulabilirsin.💚<br>Bizle ilgili daha fazla bilgiye ulaşmak için <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a> takip et!</p><p>👉🏻Tüm makalelerimiz için <a href="https://medium.com/enuygun-wingie-product">tıkla</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb9e6243dada" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/cursor-ai-ile-ekip-i%CC%87leti%C5%9Fimini-ve-%C3%BCretkenli%C4%9Fi-art%C4%B1rma-fb9e6243dada">Cursor AI ile Ekip İletişimini ve Üretkenliği Artırma</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Axios Interceptors 101]]></title>
            <link>https://medium.com/enuygun-wingie-tech/axios-interceptors-101-012c6d48acd7?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/012c6d48acd7</guid>
            <category><![CDATA[axios-interceptor]]></category>
            <category><![CDATA[interceptors]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Cemre Aktemur]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 14:51:37 GMT</pubDate>
            <atom:updated>2025-01-06T14:51:37.654Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4zisA-IVynF_t4fY" /><figcaption>Photo by <a href="https://unsplash.com/@nasa?utm_source=medium&amp;utm_medium=referral">NASA</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Axios, JavaScript dünyasında REST API’lerle etkileşim kurmak için tercih edilen HTTP istemci kütüphanelerinden biridir. Sunucularla yapılacak HTTP istekleri sırasında geliştiricilere büyük kolaylık ve esneklik sağlayan bu kütüphane, özellikle single page uygulamalar (SPA) ve Node.js ortamlarında geniş çapta kullanılır. Axios’un sunduğu en çarpıcı özelliklerden biri ise “interceptors” adı verilen ara katman mekanizmasıdır. Bu mekanizma, geliştiricilerin gönderdikleri istekleri ve aldıkları yanıtları merkezi bir noktadan kontrol ederek düzenlemelerine olanak tanır. Özellikle karmaşık uygulama mimarilerinde, API istekleri arasında tekrar eden işlemleri merkezileştirmek, hata yönetimini kolaylaştırmak ve API çağrılarını daha verimli hale getirmek için bu özellikten yararlanılır. Bu yazımda, Axios interceptors’un temel işlevlerini, kullanım senaryolarını ve nasıl etkin bir şekilde implemente edilebileceğini anlatmaya çalışacağım.</p><h3>Axios Interceptors Temelleri</h3><p>Interceptors, istek gönderilmeden önce veya bir yanıt alındıktan hemen sonra müdahale etme imkanı sunar. Request interceptors, API’ye göndermeden önce istekleri; Response interceptors ise API’dan gelen yanıtları işleme alır.</p><h4>Request Interceptors</h4><p>Bu, API isteklerine otomatik olarak bir yetkilendirme tokeni eklemek gibi işlemler için kullanılır:</p><pre>axios.interceptors.request.use(request =&gt; {<br>  request.headers[&#39;Authorization&#39;] = `Bearer ${token}`;<br>  return request;<br>});</pre><h4>Response Interceptors</h4><p>API’dan gelen yanıtları işlemek için kullanılır. Örneğin, belirli bir HTTP hata koduna global bir yanıt verebilirsiniz:</p><pre>axios.interceptors.response.use(response =&gt; {<br>  return response;<br>}, error =&gt; {<br>  if (error.response.status === 401) {<br>    // Oturum yenileme veya kullanıcıyı giriş sayfasına yönlendirme<br>  }<br>  return Promise.reject(error);<br>});</pre><h3>Gelişmiş Hata Yönetimi</h3><p>Axios interceptors, hataları merkezi bir noktadan yönetmek için mükemmeldir. Aşağıda, gelişmiş hata yönetimi için bazı örnekler verilmiştir:</p><h4>Temel Hata Yönetimi</h4><p>Hatalı yanıtları yakalayıp uygun şekilde işleyebiliriz:</p><pre>axios.interceptors.response.use(response =&gt; {<br>  return response;<br>}, error =&gt; {<br>  if (error.response) {<br>    switch (error.response.status) {<br>      case 401:<br>        console.log(&quot;Oturum süresi dolmuş.&quot;);<br>        break;<br>      case 500:<br>        console.log(&quot;Sunucu hatası.&quot;);<br>        break;<br>      // Diğer durumlar<br>    }<br>  } else {<br>    console.log(&quot;Bir hata oluştu.&quot;);<br>  }<br>  return Promise.reject(error);<br>});</pre><h4>Otomatik Yeniden Deneme Mekanizması</h4><p>API isteği başarısız olduğunda otomatik olarak yeniden denemek için:</p><pre>axios.interceptors.response.use(undefined, function axiosRetryInterceptor(err) {<br>  let config = err.config;<br>  if(!config || !config.retry) return Promise.reject(err);<br><br>  config.__retryCount = config.__retryCount || 0;<br>  if(config.__retryCount &gt;= config.retry) {<br>    return Promise.reject(err);<br>  }<br><br>  config.__retryCount += 1;<br>  let backoff = new Promise((resolve) =&gt; {<br>    setTimeout(() =&gt; {<br>      resolve();<br>    }, config.retryDelay || 1);<br>  });<br><br>  return backoff.then(() =&gt; {<br>    return axios(config);<br>  });<br>});</pre><p>Axios interceptors, API istek ve yanıtlarınızı yönetme konusunda son derece güçlü ve esnek bir araçtır. İster global hata yönetimi, ister otomatik yeniden deneme mekanizması olsun, Axios interceptors ile uygulamanızın kararlılığını ve kullanıcı deneyimini iyileştirebilirsiniz.</p><p>Wingie Enuygun ekibinin bir parçası olmak ister misin? Açık pozisyonlarımızı <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Kariyer</a> sayfamızda, <a href="https://www.enuygun.com/kariyer/">web sitemizde</a> ve <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızda</a> bulabilirsin.💚<br>Bizle ilgili daha fazla bilgiye ulaşmak için <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a> takip et!</p><p>👉🏻Tüm makalelerimiz için <a href="https://medium.com/enuygun-wingie-product">tıkla</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=012c6d48acd7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/axios-interceptors-101-012c6d48acd7">Axios Interceptors 101</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSS Preprocessor: SASS ve LESS]]></title>
            <link>https://medium.com/enuygun-wingie-tech/css-preprocessor-sass-ve-less-090c3041786f?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/090c3041786f</guid>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[scss]]></category>
            <category><![CDATA[less]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[css-preprocessors]]></category>
            <dc:creator><![CDATA[Cemre Aktemur]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 14:49:43 GMT</pubDate>
            <atom:updated>2025-01-06T14:49:42.931Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZIfzzX9lYqpPycMA" /></figure><p>CSS, web tasarımında temel bir yapı taşıdır ancak büyük ve karmaşık projelerde yönetilebilirliği zorlaştırabilir. İşte bu noktada CSS öncesi diller devreye girer ve gelişmiş özelliklerle CSS kodlarını daha düzenli ve etkili bir şekilde yazmamıza olanak tanır. SASS ve LESS, bu alandaki en popüler CSS öncesi dillerindendir ve ileri düzey kullanım ile daha da güçlü hale gelir.</p><h4>SASS ve LESS Nedir?</h4><p>Öncelikle, SASS (Syntactically Awesome Stylesheets) ve LESS’in (Leaner Style Sheets) temel prensiplerini anlamak önemlidir. Her ikisi de CSS’e eklenen özellikleri ve daha iyi organizasyon sağlayan yapıları ile bilinir. SASS, Ruby tabanlı bir CSS preprocessor’üdür, LESS JavaScript üzerine kuruludur.</p><h4>SASS Kullanımı</h4><p>SASS, modüler bir yapıya sahiptir ve projelerinizi daha iyi organize etmenize olanak tanır. İleri düzeyde, SASS’i partial dosyaları, extend özellikleri ve mixin’lerle kullanarak kodlarınızı modüler hale getirebilirsiniz.</p><pre>$primary-color: #3498db;<br>.button {<br> background-color: $primary-color;<br>}<br>// main.scss<br>@import &#39;variables&#39;;<br>@import &#39;buttons&#39;;<br></pre><h4>2.Mixin’ler ve Extend Kullanımı</h4><p>Mixin’ler ve extend özellikleri, stil paylaşımını kolaylaştırır. Özel bir tasarım özelliğini birden çok yerde kullanmak istediğinizde, mixin’leri tercih edebilirsiniz:</p><pre>@mixin border-radius($radius) {<br> -webkit-border-radius: $radius;<br> -moz-border-radius: $radius;<br> border-radius: $radius;<br>}<br>// _buttons.scss<br>.button {<br> @include border-radius(5px);<br> // …<br>}</pre><h4>3.Nested Stillerin Kontrollü Kullanımı</h4><p>SASS, stil bloklarını iç içe geçirmeye izin verir, ancak bu özelliğin aşırı kullanımı kodunuzu karmaşık hale getirebilir. İleri düzeyde, nested yapıları kontrollü bir şekilde kullanarak daha temiz ve anlaşılır kodlar elde edebilirsiniz.</p><pre>// main.scss<br>nav {<br> background-color: #333;<br>ul {<br> list-style: none;<br> padding: 0;<br>li {<br> display: inline-block;<br> margin-right: 10px;<br>a {<br> color: #fff;<br> text-decoration: none;<br> }}}}</pre><h4>LESS Kullanımı</h4><h4>1. Mixin’lerin Parametreli Kullanımı</h4><p>LESS, mixin’lerle birlikte parametre kullanımını destekler. Bu, mixin’leri daha esnek hale getirir ve aynı mixin’i farklı parametrelerle kullanmanıza olanak tanır.</p><pre>// .less dosyası<br>.border-radius(@radius) {<br> border-radius: @radius;<br>}<br>// Stil kullanımı<br>.button {<br> .border-radius(5px);<br>}</pre><h4>2. Extend ve İmport Kullanımı</h4><p>LESS, SASS gibi extend özelliğini destekler. Bu, stil paylaşımını kolaylaştırır. Aynı zamanda, farklı LESS dosyalarını import ederek projenizi daha modüler bir hale getirebilirsiniz.</p><pre>// .less dosyası<br>#header {<br> font-size: 18px;<br>}<br>// Stil kullanımı<br>#article {<br> &amp;:extend(#header);<br> line-height: 1.5;<br>}</pre><h4>3. Math İşlemleri ile Değişken Kullanımı</h4><p>LESS, matematiksel işlemleri de destekler. Bu, özellikle responsive tasarımlarda değişken kullanımını ve hesaplamaları kolaylaştırır.</p><pre>// .less dosyası<br>@base-font-size: 16px;<br>#header {<br> font-size: @base-font-size * 1.5;<br>}</pre><p>SASS ve LESS, CSS yazmayı daha etkili ve yönetilebilir hale getiren güçlü araçlardır. İleri düzey kullanım ile birlikte, projelerinizi daha modüler hale getirebilir, kod tekrarını azaltabilir ve daha temiz, düzenli bir kod tabanı oluşturabilirsiniz. Bu örnekler, SASS ve LESS’in sunduğu olanakları anlamanıza ve kullanmanıza yardımcı olacaktır. Bu nedenle, projelerinizi daha verimli bir şekilde yönetmek için bu öncü dillere bir şans vermek oldukça değerlidir.</p><p>Wingie Enuygun ekibinin bir parçası olmak ister misin? Açık pozisyonlarımızı <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Kariyer</a> sayfamızda, <a href="https://www.enuygun.com/kariyer/">web sitemizde</a> ve <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızda</a> bulabilirsin.💚<br>Bizle ilgili daha fazla bilgiye ulaşmak için <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a> takip et!</p><p>👉🏻Tüm makalelerimiz için <a href="https://medium.com/enuygun-wingie-product">tıkla</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=090c3041786f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/css-preprocessor-sass-ve-less-090c3041786f">CSS Preprocessor: SASS ve LESS</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Golang’de “Import Cycle Not Allowed” Hatası ve Duck Typing]]></title>
            <link>https://medium.com/enuygun-wingie-tech/golangda-import-cycle-not-allowed-hatas%C4%B1-ve-duck-typing-e41a960c08d8?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/e41a960c08d8</guid>
            <category><![CDATA[duck-typing]]></category>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Barancanatbas]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 14:44:19 GMT</pubDate>
            <atom:updated>2025-01-06T14:44:19.156Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*M5oRxwM5o84CJR5S.gif" /></figure><p>Go dilinde projelerimizde paketler arasında döngüsel bağımlılıklar oluşturmamamız gerektiğini unutmamamız gereken önemli bir kavram vardır. Bu bağlamda, “Import Cycle Not Allowed” hatası, Go dilinde sıklıkla rastlanan ve çoğu zaman bağımlılıkları yanlış yönetmenin sonucu olarak ortaya çıkan bir hatadır.</p><p>Bu blog postunda, “Import Cycle Not Allowed” hatasının nedenlerini özetlemek yerine, bu hatayı çözmek için “duck typing” yöntemini nasıl kullanabileceğimizi ele alacağız. “Duck typing”, Go dilinde döngüsel bağımlılıkları çözmek ve kodun esnekliğini artırmak için güçlü bir yöntemdir.</p><h3>“Import Cycle Not Allowed” Hatası</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*P9HytbOXbsUlZN3GGoqYkA.png" /></figure><p>“Import Cycle Not Allowed” hatası, Go dilinde iki veya daha fazla paket arasında döngüsel bir bağımlılığın bulunmasından kaynaklanır. Bu durum, A paketinin B paketini içeriyor olması ve aynı zamanda B paketinin de A paketini içeriyor olması şeklinde gerçekleşir. Bu döngüsel bağımlılık, Go dilinin derleyicisinin paketleri doğru bir şekilde çözümleyememesine ve hata üretmesine neden olur.</p><p>Döngüsel bağımlılıkları çözmek için projemizin tasarımını düzenlememiz gerekebilir. Ancak bazı durumlarda, paketler arasındaki ilişkileri azaltmak veya projeyi yeniden yapılandırmak kolay olmayabilir. İşte bu noktada, “duck typing” yöntemini kullanarak döngüsel bağımlılıkları ortadan kaldırabiliriz.</p><h3><strong>Duck Typing Nedir?</strong></h3><p>“Duck typing” Go dilindeki tip sistemine özgü bir kavram değildir, ancak Go gibi dinamik tipli dillerde sıklıkla kullanılır. Bu teknik, bir nesnenin tipini doğrudan belirtmek yerine, onun davranışlarına dayalı olarak tanımlamamıza olanak tanır. Yani, bir nesne, üzerinde çalıştığımız metodları destekliyorsa, o nesneyi kullanabiliriz, o metodların bir arayüz tarafından tanımlandığı varsayılır.</p><p>“Duck typing” sayesinde, iki paket arasındaki sıkı döngüsel bağımlılıklar yerine, bağımlılıkların arayüzlerle çözümlendiği esnek bir yapı elde ederiz. Bu sayede, paketler birbirleri yerine arayüzleri kullanarak etkileşime geçerler.</p><h3><strong>Duck Typing ile “Import Cycle Not Allowed” Hatasını Çözmek</strong></h3><p>Örneğin, A paketi B paketini içeriyor ve aynı zamanda B paketi de A paketini içeriyorsa, döngüsel bir bağımlılık oluşur ve bu durum derleme zamanında bir “Import Cycle Not Allowed” hatasına yol açar. Bu tür bir döngüyü çözmek için arayüzler kullanabiliriz.</p><p>Diyelim ki packageX ve packageY olmak üzere iki paketimiz var ve aralarında döngüsel bağımlılık oluşturduğu gibi görünüyor.</p><pre>package packageX<br><br>import &quot;packageY&quot;<br><br>type Shape interface {<br>    Area() float64<br>}<br><br>func CalculateArea(shape Shape) float64 {<br>    return shape.Area()<br>}</pre><pre>package packageY<br><br>import &quot;packageX&quot;<br><br>type Rectangle struct {<br>    Width  float64<br>    Height float64<br>}<br><br>func (r Rectangle) Area() float64 {<br>    return r.Width * r.Height<br>}</pre><p>Yukarıdaki örnekte, packageX interface tanımlar ve packageY Rectangle typını implemente eder, böylece interface’i karşılar (implement eder).</p><p>Ancak, packageX doğrudan packageY&#39;yi içe aktarırsa, döngüsel bir bağımlılık oluştururuz. Bunun yerine &quot;duck typing&quot; kullanabiliriz ve arayüzü packageX içinde tanımlayarak, packageY tarafından uygulanmasını sağlayabiliriz. Bu yaklaşım sayesinde doğrudan içe aktarmayı ve döngüsel bağımlılığı ortadan kaldırabiliriz.</p><pre>package main<br><br>import (<br>    &quot;fmt&quot;<br>    &quot;packageX&quot;<br>)<br><br>func main() {<br>    rectangle := packageY.Rectangle{Width: 5, Height: 10}<br>    area := packageX.CalculateArea(rectangle)<br>    fmt.Println(&quot;Rectangle Area:&quot;, area) // Output: Rectangle Area: 50<br>}</pre><p>main.go dosyasında, packageX&#39;i içe aktarıyoruz ve packageY.Rectangle tipinden bir örnek oluşturuyoruz. Ardından bu örneği, &quot;duck typing&quot; kullanarak packageX.CalculateArea fonksiyonuna geçiriyoruz. Bu fonksiyon, &quot;duck typing&quot; ile dikdörtgenin alanını hesaplar. Sonuç, packageX ve packageY arasında döngüsel bağımlılığın çözüldüğü ve istenen işlevselliğin elde edildiği bir yapı oluşturur.</p><p>“Duck typing” uygulayarak kodu daha esnek, bakımı kolay ve döngüsel bağımlılığı çözen bir yapıya kavuşturmuş oluyoruz.</p><p>Sonuç olarak bu blog post da, “Import Cycle Not Allowed” hatasının nedenlerini özetlemek yerine, döngüsel bağımlılıkları çözmek için “duck typing” yöntemini nasıl kullanabileceğimizi anlattık. “Duck typing” ile paketler arasındaki sıkı döngüsel bağımlılıkları arayüzlerle esnek bir yapıya dönüştürerek, kodun daha sürdürülebilir ve bakımı kolay hale gelmesini sağlayabiliriz.</p><p>Umarım bu yazım sizlere yardımcı olmuştur. İyi kodlamalar!</p><p>Wingie Enuygun ekibinin bir parçası olmak ister misin? Açık pozisyonlarımızı <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Kariyer</a> Sayfamızdan, <a href="https://www.enuygun.com/kariyer/">Web Sitemizden</a> ve <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a>ndan sayfamızda bulabilirsin.💚<br>Bizle ilgili daha fazla bilgiye ulaşmak için <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a> takip et!</p><p>👉🏻Tüm makalelerimiz için <a href="https://medium.com/enuygun-wingie-product">tıkla</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e41a960c08d8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/golangda-import-cycle-not-allowed-hatas%C4%B1-ve-duck-typing-e41a960c08d8">Golang’de “Import Cycle Not Allowed” Hatası ve Duck Typing</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Golang Ve Garbage Collector]]></title>
            <link>https://medium.com/enuygun-wingie-tech/golang-ve-garbage-collector-1b27628c25d9?source=rss----c48d6d608015---4</link>
            <guid isPermaLink="false">https://medium.com/p/1b27628c25d9</guid>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[go]]></category>
            <category><![CDATA[garbage-collection]]></category>
            <dc:creator><![CDATA[Barancanatbas]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 14:42:42 GMT</pubDate>
            <atom:updated>2025-01-06T14:42:42.874Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*pT06TOo8Hp6igmkd.jpg" /></figure><p>Garbage collector, bir programın çalışma zamanında kullanılmayan bellek alanlarını tespit ederek geri dönüştüren bir mekanizmadır. Bellek yönetimini kolaylaştıran ve hatalı bellek kullanımını en aza indiren bir araçtır.</p><p>Garbage collector’ın kökenleri, ilk olarak Lisp programlama dilinde ortaya çıkan otomatik bellek yönetimi tekniklerine dayanır. Lisp, dinamik olarak ayrılan belleği desteklemesi ve referansları takip etmesi nedeniyle garbage collector için uygundur. Lisp’in etkisiyle garbage collector, daha sonraki programlama dillerine de yayıldı.</p><p>Garbage collector algoritmaları genellikle iki temel yaklaşıma dayanır: referans takibi ve kullanılmayan nesnelerin tespiti. Referans takibi, canlı nesnelerin erişilebilirliğini belirlemek için referans ilişkilerini takip eder. Kullanılmayan nesnelerin tespiti ise bir nesnenin artık erişilemez olduğunu tespit ederek geri dönüşümünü sağlar.</p><h3>Garbage Collactor Algoritmaları</h3><h4>Reference Counting</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/0*CkkOX0YF6TAVuBAb.gif" /></figure><p>Reference counting algoritmasında her bellek bloğu için bir reference counter tutulur. Bu sayacın başlangıç değeri genellikle sıfırdır. Her bir nesne başka bir nesne tarafından referanslandığında referans sayacı artırılır ve bir referans kesildiğinde sayacı azaltılır.</p><p>Bir örnek üzerinden gidelim:</p><pre>type Person struct {<br>    name   string<br>    friend *Person<br>}<br><br>func main() {<br>    samet := &amp;Person{name: &quot;Samet&quot;}<br>    baran := &amp;Person{name: &quot;Baran&quot;}<br>  <br>    samet.friend = baran<br>    baran.friend = samet<br>  <br>    // Referans sayacı:<br>    // samet -&gt; 1 (baran tarafından referanslanıyor)<br>    // baran -&gt; 1 (samet tarafından referanslanıyor)<br>  <br>    samet = nil<br>    baran = nil<br>  <br>    // Referans sayacı:<br>    // samet -&gt; 0<br>    // baran -&gt; 0<br>}</pre><p>Yukarıdaki kod parçasında <a href="https://github.com/sametxpolat">samet</a> ve <a href="https://github.com/barancanatbas">baran</a> adında iki Person nesnesi oluşturulur. Ardından samet&#39;in friend alanı baran&#39;a, baran&#39;ın friend alanı ise samet&#39;e referans oluşturur.</p><p>İlgili referansları kesmek için samet = nil ve baran = nil ifadeleri kullanılır. Bu durumda her iki nesne için referans sayacı sıfıra düşer.</p><p>Referans sayacı sıfıra düşen bir nesne artık kullanılmayan bir nesne olarak kabul edilir ve bellekten otomatik olarak geri dönüştürülür.</p><p>Her nesne için bir referans sayacının güncellenmesi gerektiği için bu yöntem, ek bir maliyet getirir. Her referansın oluşturulduğunda, kopyalandığında veya silindiğinde referans sayacı güncellenmelidir. Bu, zaman ve işlemci gücü gerektirir.</p><h4>Mark and Sweep</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/0*h31PfZDAY08oF1wm.gif" /></figure><p>Durumsuzlama (Mark and Sweep), bellek yönetimi için kullanılan bir garbage collector algoritmasıdır. Çalışma prensibi, bellekteki ulaşılamayan nesneleri (çöp) tespit ederek ve geri kazanır. İşleyişini ve küçük bir örneği şu şekilde özetleyebiliriz:</p><blockquote>İşaretlemeli Aşama (Marking Phase):</blockquote><p>Algoritma, kök nesnelerden (genellikle global değişkenler veya stack üzerindeki nesneler gibi ulaşılabilir olan nesneler) başlayarak belleği taramaya başlar.</p><p>Ulaşılabilir olan tüm nesneleri işaretleyerek, bir bayrak veya ayrı bir veri yapısı kullanarak ulaşılabilirliğini belirtir.</p><p>İşaretlemeler genellikle, bir nesneden diğerine referansları takip ederek, rekürsif bir şekilde gerçekleştirilir.</p><blockquote>Temizleme Aşaması (Sweeping Phase):</blockquote><p>Ulaşılabilir olan nesneleri işaretledikten sonra temizleme aşamasına geçilir.</p><p>Bellek alanını baştan sona tarayarak her bloğu kontrol eder. İşaretlenmemiş (ulaşılamayan) bloklar çöp olarak kabul edilir.</p><p>Garbage collector, işaretlenmemiş blokların kapladığı belleği serbest bırakarak, gelecekteki tahsisler için kullanılabilir hale getirir.</p><h4>Stop-the-World</h4><p>Stop-the-World durumu, çoğu mark and sweep garbage collector algoritmasında ortaya çıkar. Bu algoritmalarda, garbage collect işlemi için iki aşama vardır: işaretlemeli aşama ve temizleme aşaması. İşaretlemeli aşamada, kullanılmayan nesneler işaretlenir ve temizleme aşamasında bu işaretlenen nesneler bellekten gerçekten silinir.</p><p>Bu işaretlemeli ve temizleme aşamaları sırasında, programın normal işleyişi geçici olarak durur ve durumu “Stop-the-World” olarak adlandırılır. Bu durumda, programdaki tüm iş parçacıkları veya işlemler durur ve garbage collect işlemi gerçekleştirilir. Daha sonra programın normal işleyişi devam eder.</p><h4>Golang ve GC</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*zvQBpxTEOaMsHsCD.gif" /></figure><p>Go programlama dilinin GC’si, bellek tahsisi ve geri dönüşümü için tri-color adı verilen bir algoritma kullanır.</p><p>Tri-color algoritması, GC’nin bellekteki nesneleri analiz etmek ve kullanılmayan nesneleri tespit etmek için kullandığı bir yöntemdir. Algoritma, nesneleri üç farklı renk kategorisine ayırır:</p><ol><li>Beyaz (White): Bellekteki kullanılmayan nesneleri temsil eder.</li><li>Siyah (Black): Bellekteki kullanılan ve erişilebilir nesneleri temsil eder.</li><li>Gri (Gray): Siyah nesnelere erişebilen ve henüz kontrol edilmemiş nesneleri temsil eder.</li></ol><p>GC’nin amacı, kullanılmayan nesneleri tespit etmek ve bellekten geri kazanmaktır. Tri-color algoritması, bu işlemi iki aşamada gerçekleştirir:</p><ol><li>Marking (İşaretleme) Aşaması: Bu aşamada, GC, siyah nesnelerden başlayarak tüm erişilebilir nesneleri işaretler. İşaretleme, bir graf gezisi algoritması kullanılarak gerçekleştirilir. Başlangıçta, siyah nesneler kullanılırken gri renkte işaretlenir. Ardından, gri nesneleri kontrol ederken, nesneler siyah renge dönüştürülür. Bu süreç, tüm erişilebilir nesneler işaretlenene kadar devam eder.</li><li>Sweeping (Temizleme) Aşaması: Bu aşamada, GC, beyaz nesneleri tespit ederek bellekten geri kazanır. Beyaz nesneler kullanılmayan ve erişilemeyen nesneleri temsil eder. GC, işaretlenmemiş (beyaz) nesneleri tarama ve bellekten geri alma sürecini gerçekleştirir. Bu süreçte, kullanılmayan nesnelerin bellekten serbest bırakılması ve yeniden tahsis edilebilir hale gelmesi sağlanır.</li><li>Tri-color algoritması, GC’nin bellekteki nesneleri etkin bir şekilde analiz etmesini sağlar. Gri renkteki nesneler, henüz kontrol edilmemiş erişilebilir nesneleri temsil ederken, siyah renkteki nesneler ise hala kullanılan nesneleri temsil eder. Beyaz renkteki nesneler ise kullanılmayan nesneleri belirtir.</li></ol><p>Go dilinin GC’si, tri-color algoritmasını kullanarak bellek yönetimini gerçekleştirir. Otomatik olarak nesneleri tahsis eder ve kullanılmayan nesneleri bellekten geri kazanır.</p><h4>GC Frekansı ve Trade-off</h4><p>GC’nin CPU zamanı ve bellek arasında bir trade-off olduğunu unutmamak önemlidir. GC frekansı, GC’nin ne zaman başlayacağını belirleyen ana parametredir. GC frekansını yüksek tutmak, daha sık GC döngülerine yol açar ve daha düşük bellek kullanımı sağlar. Ancak bunun bir maliyeti vardır, çünkü daha fazla CPU kullanımına neden olur. Öte yandan, GC frekansını düşürmek GC döngülerinin sayısını azaltırken bellek kullanımını artırır.</p><p>Golang üzerinde GC frekans ayarı yapabileceğiniz 2 yöntem bulunmaktadır.</p><ul><li>GOGC ortam değişkeni, Go programlarında GC&#39;nin hedef heap boyutunu belirleyen bir parametredir. Bu değeri ayarlayarak, GC&#39;nin CPU zamanı ile bellek arasındaki trade-off&#39;u kontrol edebilirsiniz. Değeri yüzde cinsinden belirtirsiniz.</li></ul><pre>export GOGC=100</pre><ul><li>runtime/debug paketi, SetGCPercent fonksiyonu aracılığıyla GC frekansını ayarlamayı sağlar. Bu fonksiyon, GOGC değerini ayarlamak için kullanılır. GOGC değeri yüzde cinsinden belirtilir.</li></ul><pre>import &quot;runtime/debug&quot;<br><br>func main() {<br>    debug.SetGCPercent(100)<br>}</pre><h4>GC İzleme ve Hata Ayıklama</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*OpVI0jAxX37n1hkA.gif" /></figure><p>Go’nun GC’sini daha ayrıntılı bir şekilde izlemek ve hataları ayıklamak için bazı ayarlamalar yapabilirsiniz. Örneğin, GODEBUG=gctrace=1 ayarını kullanarak, GC&#39;nin ayrıntılı bir izleme çıktısı alabilirsiniz. Bu çıktı, GC&#39;nin başlangıcından bitişine kadar geçen süreyi, bellek istatistiklerini ve diğer önemli bilgileri içerir. Ayrıca GODEBUG=schedtrace=1 ayarlarını kullanarak gorutinlerin davranışını inceleyebilirsiniz.</p><p>pprof paketini kullanarak GC’nin uygulamanızın performansını nasıl etkilediğini ve zamanın hangi noktalarında harcandığını görebilirsiniz.</p><p>Go’nun runtime ve runtime/debug paketleri, bellek profilleri oluşturmanızı ve kullanılan bellek miktarını izlemenizi sağlar. runtime.MemStats yapısı ile toplam ayrılmış bellek, serbest bellek, GC istatistikleri ve diğer bellek kullanımı bilgilerini alabilirsiniz.</p><p>Umarım bu yazım garbage collector hakkında sizlere yardımcı olmuştur. İyi kodlamalar!</p><p>Wingie Enuygun ekibinin bir parçası olmak ister misin? Açık pozisyonlarımızı <a href="https://apply.workable.com/wingieenuygun/">Wingie Enuygun Kariyer</a> Sayfamızdan, <a href="https://www.enuygun.com/kariyer/">Web Sitemizden</a> ve <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a>ndan sayfamızda bulabilirsin.💚<br>Bizle ilgili daha fazla bilgiye ulaşmak için <a href="https://www.linkedin.com/company/wingieenuygungroup/">LinkedIn hesabımızı</a> takip et!</p><p>👉🏻Tüm makalelerimiz için <a href="https://medium.com/enuygun-wingie-product">tıkla</a>!</p><p>Kaynaklar;</p><ul><li><a href="https://pkg.go.dev/runtime/debug#SetGCPercent">debug</a></li><li><a href="https://tip.golang.org/doc/gc-guide">A Guide to the Go Garbage Collector - The Go Programming Language</a></li><li><a href="https://www.ardanlabs.com/blog/2019/05/garbage-collection-in-go-part2-gctraces.html">Garbage Collection In Go : Part II - GC Traces</a></li><li><a href="https://en.wikipedia.org/wiki/Reference_counting">Reference counting - Wikipedia</a></li><li><a href="https://en.wikipedia.org/wiki/Tracing_garbage_collection">Tracing garbage collection - Wikipedia</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b27628c25d9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/enuygun-wingie-tech/golang-ve-garbage-collector-1b27628c25d9">Golang Ve Garbage Collector</a> was originally published in <a href="https://medium.com/enuygun-wingie-tech">Wingie Enuygun Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>