<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Caglar Baran Bora on Medium]]></title>
        <description><![CDATA[Stories by Caglar Baran Bora on Medium]]></description>
        <link>https://medium.com/@caglarbaranbora?source=rss-3dd2e4a6720a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QQhXcG_zTzNR6TAVaX9D1A.png</url>
            <title>Stories by Caglar Baran Bora on Medium</title>
            <link>https://medium.com/@caglarbaranbora?source=rss-3dd2e4a6720a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 11:52:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@caglarbaranbora/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bölüm 3: Sayı Sistemleri (Number Systems)]]></title>
            <link>https://caglarbaranbora.medium.com/b%C3%B6l%C3%BCm-3-say%C4%B1-sistemleri-number-systems-97abf760e8ce?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/97abf760e8ce</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[hexadecimal]]></category>
            <category><![CDATA[ccna]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[binary-search]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 07:01:02 GMT</pubDate>
            <atom:updated>2026-11-20T07:01:02.729Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Her ağ mühendisinin bilmesi gereken üç sayı sistemini ve aralarındaki dönüşümleri öğrenin.</em></p><p>Ağ cihazları verileri Binary (İkili) sayı sistemiyle işler ve temsil eder. Bununla birlikte, ağ teknolojilerinde Decimal (Onluk) ve Hexadecimal (Onaltılık) sayı sistemleri de kullanılır.</p><p>Bu yazıda üç sayı sistemini ve aralarındaki dönüşüm işlemlerini öğreneceğiz.</p><h3>Sayı Sistemi Nedir? (Number Systems)</h3><p><strong>Number System (Sayı Sistemi)</strong>, belirli rakamlar kullanılarak sayıların ifade edilmesini sağlar. Her sayı sisteminin, kullanılan rakam sayısını belirleyen bir tabanı (<em>Base</em>) vardır.</p><p>Ağ teknolojilerinde önemli olan üç sayı sistemi şunlardır:</p><ul><li><strong>Binary (Base 2):</strong> Yalnızca 0 ve 1 rakamlarını kullanır.</li><li><strong>Decimal (Base 10):</strong> 0 ile 9 arasındaki rakamları kullanır.</li><li><strong>Hexadecimal (Base 16):</strong> 0 ile 9 arasındaki rakamları ve A ile F arasındaki harfleri kullanır.</li></ul><p>Bilgisayarlar verileri Binary ile temsil eder. Decimal günlük hayatta kullandığımız sayı sistemidir. Hexadecimal ise Binary değerleri daha kısa ve okunabilir şekilde ifade etmemizi sağlar.</p><h3>İkili Sayı Sistemi (Binary Number System)</h3><p>Binary Number System yalnızca iki rakamdan oluşur: 0 ve 1.</p><p>Binary sistemindeki her bir rakama <strong>Bit</strong> denir. 8 bitin bir araya gelmesiyle <strong>Byte</strong> oluşur.</p><p>8 bitlik bir Binary sayıda her basamak, 2&#39;nin bir kuvvetini temsil eder:</p><pre>128  64  32  16  8  4  2  1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uwO480Lbd_HCMrRs" /><figcaption><em>Binary basamak değerleri diyagramı</em></figcaption></figure><p>Örneğin 11001010 sayısının Decimal karşılığını bulmak için 1 olan basamakların değerlerini toplarız:</p><pre>128 + 64 + 8 + 2 = 202</pre><p><strong>11001010₂ = 202₁₀</strong></p><h3>Binary ve Decimal Dönüşümü</h3><p>Bu dönüşüm, özellikle IPv4 adreslerini anlamak için ağ teknolojilerinde önemli bir beceridir.</p><h3>Binary’den Decimal’e Dönüşüm</h3><ol><li>Basamak değerlerini 128&#39;den 1&#39;e doğru sıralarız.</li><li>Değeri 1 olan basamakları belirleriz.</li><li>Bu basamakların değerlerini toplarız.</li></ol><p>Örnek: 10101101 sayısını Decimal&#39;e dönüştürelim.</p><pre>128 + 32 + 8 + 4 + 1 = 173</pre><p><strong>10101101₂ = 173₁₀</strong></p><h3>Decimal’den Binary’ye Dönüşüm</h3><p>Decimal bir sayıyı 8 bitlik Binary sayıya dönüştürmek için 128 değerinden başlayarak sayıyı her basamak değeriyle karşılaştırırız.</p><p>Örnek: 173 sayısını Binary&#39;ye dönüştürelim.</p><ul><li>173, 128&#39;den büyük → 1 (kalan: 45)</li><li>45, 64&#39;ten küçük → 0</li><li>45, 32&#39;den büyük → 1 (kalan: 13)</li><li>13, 16&#39;dan küçük → 0</li><li>13, 8&#39;den büyük → 1 (kalan: 5)</li><li>5, 4&#39;ten büyük → 1 (kalan: 1)</li><li>1, 2&#39;den küçük → 0</li><li>1, 1&#39;e eşit → 1</li></ul><p><strong>173₁₀ = 10101101₂</strong></p><h3>Onaltılık Sayı Sistemi (Hexadecimal Number System)</h3><p>Hexadecimal Number System toplam 16 sembol kullanır:</p><pre>0 1 2 3 4 5 6 7 8 9 A B C D E F</pre><p>10&#39;dan büyük değerler harflerle ifade edilir:</p><ul><li>A = 10</li><li>B = 11</li><li>C = 12</li><li>D = 13</li><li>E = 14</li><li>F = 15</li></ul><p>Hexadecimal sistemin önemli bir özelliği, her bir Hexadecimal basamağın tam olarak <strong>4 Binary bitini</strong> temsil etmesidir. Örneğin Binary 1100 1010 değeri, Hexadecimal olarak CA şeklinde yazılır.</p><p>Hexadecimal, özellikle <strong>MAC Address</strong> ve <strong>IPv6 Address</strong> gösteriminde kullanılır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gukFnnScnrELiLaQ" /><figcaption><em>Binary, Decimal ve Hexadecimal karşılaştırma tablosu</em></figcaption></figure><h3>Hexadecimal Dönüşümleri</h3><h3>Binary’den Hexadecimal’e Dönüşüm</h3><ol><li>Sayıyı sağdan başlayarak 4 bitlik gruplara ayırırız.</li><li>Her grubu Hexadecimal karşılığına dönüştürürüz.</li><li>Sonuçları birleştiririz.</li></ol><p>Örnek: 11001010 sayısını Hexadecimal&#39;e dönüştürelim.</p><pre>1100 1010<br> C    A</pre><p><strong>11001010₂ = CA₁₆</strong></p><h3>Hexadecimal’den Binary’ye Dönüşüm</h3><p>Her Hexadecimal basamağı, 4 bitlik Binary karşılığıyla değiştirilir.</p><p>Örnek: 2F sayısını Binary&#39;ye dönüştürelim.</p><pre>2 = 0010<br>F = 1111</pre><p><strong>2F₁₆ = 00101111₂</strong></p><h3>Decimal’den Hexadecimal’e Dönüşüm</h3><p>Sayıyı 16&#39;ya böler ve kalanları kullanırız.</p><p>Örnek: 200 sayısını Hexadecimal&#39;e dönüştürelim.</p><pre>200 ÷ 16 = 12, kalan 8<br> 12 ÷ 16 =  0, kalan 12 (C)</pre><p>Kalanları sondan başa doğru okuruz.</p><p><strong>200₁₀ = C8₁₆</strong></p><h3>Önemli Noktalar</h3><ul><li><strong>Binary</strong>, 0 ve 1 rakamlarını kullanır.</li><li><strong>Decimal</strong>, 0–9 arasındaki rakamları kullanır.</li><li><strong>Hexadecimal</strong>, 0–9 ve A–F sembollerini kullanır.</li><li>1 Byte, 8 Bit’ten oluşur.</li><li>1 Hexadecimal basamak, 4 Bit’i temsil eder.</li><li>Binary ve Decimal dönüşümü, IPv4 adreslerini anlamak için önemlidir.</li><li>Hexadecimal, MAC Address ve IPv6 Address gösteriminde kullanılır.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97abf760e8ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 3: Number Systems]]></title>
            <link>https://caglarbaranbora.medium.com/chapter-3-number-systems-85bf27a12bd1?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/85bf27a12bd1</guid>
            <category><![CDATA[ccna]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[binary-search]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[hexadecimal]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 07:01:02 GMT</pubDate>
            <atom:updated>2026-11-20T07:01:02.486Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learn how to convert between the three number systems every network engineer needs to know.</em></p><p>Network devices process and represent data using binary numbers. However, decimal and hexadecimal systems are also used to make network information easier to read and understand.</p><p>In this article, we will learn the three number systems and how to convert values between them.</p><h3>What Is a Number System?</h3><p>A <strong>number system</strong> represents numbers using a specific set of digits. Each system has a <em>base</em> that determines how many different digits it uses.</p><p>There are three important number systems in networking:</p><ul><li><strong>Binary (Base 2):</strong> Uses only 0 and 1.</li><li><strong>Decimal (Base 10):</strong> Uses digits from 0 to 9.</li><li><strong>Hexadecimal (Base 16):</strong> Uses digits from 0 to 9 and letters from A to F.</li></ul><p>Computers use binary to represent data. Decimal is familiar to humans, while hexadecimal provides a shorter way to represent binary values.</p><h3>The Binary Number System</h3><p>The binary number system uses only two digits: 0 and 1.</p><p>Each binary digit is called a <strong>bit</strong>. A group of 8 bits is called a <strong>byte</strong>.</p><p>Each position in an 8-bit binary number represents a power of 2:</p><pre>128  64  32  16  8  4  2  1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6Tj4CjfogYVQxl1D" /><figcaption><em>8-bit binary place-value diagram</em></figcaption></figure><p>For example, take the binary number 11001010. To calculate its decimal value, add the position values where the bit is 1:</p><pre>128 + 64 + 8 + 2 = 202</pre><p><strong>11001010₂ = 202₁₀</strong></p><h3>Converting Between Binary and Decimal</h3><p>This is an important skill in networking, especially when working with IPv4 addresses.</p><h3>Binary to Decimal</h3><ol><li>Write the position values from 128 to 1.</li><li>Identify the positions containing 1.</li><li>Add their corresponding values.</li></ol><p>Example: convert 10101101 to decimal.</p><pre>128 + 32 + 8 + 4 + 1 = 173</pre><p><strong>10101101₂ = 173₁₀</strong></p><h3>Decimal to Binary</h3><p>To convert decimal to 8-bit binary, compare the number with each position value, starting from 128.</p><p>Example: convert 173 to binary.</p><ul><li>173 is greater than 128 → 1 (remaining: 45)</li><li>45 is less than 64 → 0</li><li>45 is greater than 32 → 1 (remaining: 13)</li><li>13 is less than 16 → 0</li><li>13 is greater than 8 → 1 (remaining: 5)</li><li>5 is greater than 4 → 1 (remaining: 1)</li><li>1 is less than 2 → 0</li><li>1 equals 1 → 1</li></ul><p><strong>173₁₀ = 10101101₂</strong></p><h3>The Hexadecimal Number System</h3><p>The hexadecimal number system uses 16 symbols:</p><pre>0 1 2 3 4 5 6 7 8 9 A B C D E F</pre><p>Letters represent values greater than 9:</p><ul><li>A = 10</li><li>B = 11</li><li>C = 12</li><li>D = 13</li><li>E = 14</li><li>F = 15</li></ul><p>Hexadecimal is useful because each hexadecimal digit represents exactly <strong>4 binary bits</strong>. For example, 1100 1010 in binary becomes CA in hexadecimal.</p><p>It is commonly used to represent <strong>MAC addresses</strong> and <strong>IPv6 addresses</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZE6fzW_bNmKNaoP8" /><figcaption><em>Binary, decimal, and hexadecimal conversion reference</em></figcaption></figure><h3>Converting to and from Hexadecimal</h3><h3>Binary to Hexadecimal</h3><ol><li>Divide the binary number into groups of 4 bits, starting from the right.</li><li>Convert each group into its hexadecimal equivalent.</li><li>Combine the results.</li></ol><p>Example: convert 11001010 to hexadecimal.</p><pre>1100 1010<br> C    A</pre><p><strong>11001010₂ = CA₁₆</strong></p><h3>Hexadecimal to Binary</h3><p>Replace each hexadecimal digit with its 4-bit binary equivalent.</p><p>Example: convert 2F to binary.</p><pre>2 = 0010<br>F = 1111</pre><p><strong>2F₁₆ = 00101111₂</strong></p><h3>Decimal to Hexadecimal</h3><p>Divide the number by 16 and keep the remainders.</p><p>Example: convert 200 to hexadecimal.</p><pre>200 ÷ 16 = 12, remainder 8<br> 12 ÷ 16 =  0, remainder 12 (C)</pre><p>Read the remainders from bottom to top.</p><p><strong>200₁₀ = C8₁₆</strong></p><h3>Key Takeaways</h3><ul><li><strong>Binary</strong> uses two digits: 0 and 1.</li><li><strong>Decimal</strong> uses ten digits: 0–9.</li><li><strong>Hexadecimal</strong> uses sixteen symbols: 0–9 and A–F.</li><li>One byte contains 8 bits.</li><li>One hexadecimal digit represents 4 bits.</li><li>Binary and decimal conversion is essential for understanding IPv4 addressing.</li><li>Hexadecimal is commonly used in MAC and IPv6 addresses.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85bf27a12bd1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bölüm 2: Protokoller ve Modeller (Protocols and Models)]]></title>
            <link>https://caglarbaranbora.medium.com/b%C3%B6l%C3%BCm-2-protokoller-ve-modeller-protocols-and-models-0c0b0242f2ee?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c0b0242f2ee</guid>
            <category><![CDATA[protocol-suites]]></category>
            <category><![CDATA[data-encapsulation]]></category>
            <category><![CDATA[reference-model]]></category>
            <category><![CDATA[network-rules-protocols]]></category>
            <category><![CDATA[data-access]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 15:12:55 GMT</pubDate>
            <atom:updated>2026-11-17T15:12:55.067Z</atom:updated>
            <content:encoded><![CDATA[<p>Ağ cihazlarının iletişim kurabilmesi için ortak kurallara ihtiyacı vardır. Bu kurallar <strong>Protocol</strong> olarak tanımlanır. Network modelleri ise verinin ağ üzerinde nasıl iletildiğini anlamamıza yardımcı olur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sAH3LRPZPdN5j65yMVGBTQ.png" /><figcaption>Bölüm 2: Protokoller ve Modeller (Protocols and Models)</figcaption></figure><h3>2.1 Kurallar (Rules)</h3><p>Cihazların iletişim kurabilmesi için ortak kurallara uyması gerekir.</p><p>Bu kurallar şunları belirler:</p><ul><li>Verinin nasıl biçimlendirileceğini.</li><li>Verinin nasıl gönderilip alınacağını.</li><li>Cihazların birbirini nasıl tanıyacağını.</li><li>İletişim sırasında oluşan hataların nasıl ele alınacağını.</li></ul><p>Ortak kurallar olmadan cihazlar birbirleriyle doğru şekilde iletişim kuramaz.</p><h3>2.2 Protokoller (Protocols)</h3><p><strong>Protocol (Protokol)</strong>, ağ cihazları arasındaki iletişimi düzenleyen kurallar bütünüdür.</p><p>Farklı protokoller farklı görevleri yerine getirir:</p><ul><li><strong>HTTP / HTTPS:</strong> Web sitelerine erişmek için kullanılır.</li><li><strong>TCP:</strong> Verinin güvenilir şekilde iletilmesini sağlar.</li><li><strong>UDP:</strong> Veriyi teslim garantisi olmadan iletir.</li><li><strong>IP:</strong> Ağlar arasında adresleme ve paket yönlendirme işlemlerini gerçekleştirir.</li><li><strong>Ethernet:</strong> Kablolu yerel ağlarda iletişim kurallarını tanımlar.</li><li><strong>DNS:</strong> Alan adlarını IP adreslerine dönüştürür.</li></ul><p>Ağ iletişiminin gerçekleşmesi için protokoller birlikte çalışır.</p><h3>2.3 Protokol Takımları (Protocol Suites)</h3><p><strong>Protocol Suite (Protokol Takımı)</strong>, birlikte çalışan protokollerin oluşturduğu gruptur.</p><p>En yaygın örnek, Internet üzerindeki iletişimi sağlayan <strong>TCP/IP Protocol Suite</strong>’tir.</p><p>Her protokolün belirli bir görevi vardır. Bu protokoller birlikte çalışarak cihazların ve uygulamaların veri alışverişi yapmasını sağlar.</p><h3>2.4 Standart Organizasyonları (Standards Organizations)</h3><p>Standart organizasyonları, farklı ağ cihazlarının ve teknolojilerin birbiriyle uyumlu çalışabilmesi için ortak standartlar geliştirir.</p><p>Önemli organizasyonlardan bazıları şunlardır:</p><ul><li><strong>ISO (International Organization for Standardization):</strong> OSI Model dahil olmak üzere uluslararası standartlar geliştirir.</li><li><strong>IEEE (Institute of Electrical and Electronics Engineers):</strong> Ethernet ve Wi-Fi gibi teknolojilerin standartlarını belirler.</li><li><strong>IETF (Internet Engineering Task Force):</strong> Internet standartlarını ve protokollerini geliştirir.</li><li><strong>ITU (International Telecommunication Union):</strong> Telekomünikasyon standartlarını geliştirir.</li><li><strong>W3C (World Wide Web Consortium):</strong> Web teknolojileri için standartlar geliştirir.</li></ul><p>Bu organizasyonlar, farklı üreticilerin geliştirdiği teknolojilerin uyumlu çalışmasına yardımcı olur.</p><h3>2.5 Referans Modelleri (Reference Models)</h3><p>Reference Model (Referans Model), ağ iletişimini katmanlara ayırarak her katmanın görevini anlamamızı sağlar.</p><p>İki önemli referans modeli vardır:</p><p><strong>OSI Model — 7 Katman</strong></p><ol><li>Physical (Fiziksel)</li><li>Data Link (Veri Bağlantısı)</li><li>Network (Ağ)</li><li>Transport (Taşıma)</li><li>Session (Oturum)</li><li>Presentation (Sunum)</li><li>Application (Uygulama)</li></ol><p><strong>TCP/IP Model — 4 Katman</strong></p><ol><li>Network Access (Ağ Erişimi)</li><li>Internet (İnternet)</li><li>Transport (Taşıma)</li><li>Application (Uygulama)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*ZyuWy9kiCu6CNJcW" /><figcaption><strong>OSI ve TCP/IP katmanlarının karşılaştırıldığı görsel</strong></figcaption></figure><p><strong>OSI Model</strong>, ağ iletişimini anlamak ve sorunları analiz etmek için kullanılan bir referans modelidir.</p><p><strong>TCP/IP Model</strong> ise Internet iletişiminde kullanılan protokol takımını temsil eder.</p><h3>2.6 Veri Kapsülleme (Data Encapsulation)</h3><p><strong>Encapsulation (Kapsülleme)</strong>, verinin ağ katmanlarından aşağı doğru ilerlerken her katmanda ilgili protokol bilgileriyle genişletilmesi işlemidir.</p><p>Her katman kendi bilgilerini ekler:</p><ul><li><strong>Transport Layer:</strong> TCP veya UDP header ekler. Veri birimi <em>Segment</em> olarak adlandırılır.</li><li><strong>Network Layer:</strong> IP header ekler. Veri birimi <em>Packet</em> olarak adlandırılır.</li><li><strong>Data Link Layer:</strong> Frame header ve trailer ekler. Veri birimi <em>Frame</em> olarak adlandırılır.</li><li><strong>Physical Layer:</strong> Veriyi <em>Bits</em> olarak iletir.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/0*2AZOBpeETOuPRlI3" /><figcaption><strong>Data Encapsulation sürecini gösteren görsel</strong></figcaption></figure><p>Veri alıcı cihaza ulaştığında bu işlem tersine gerçekleşir. Buna <strong>Decapsulation (Kapsül Açma)</strong> denir. Her katman kendisine ait bilgileri işler ve kaldırır.</p><h3>2.7 Veri Erişimi (Data Access)</h3><p>Ağ cihazları, verinin nereye iletileceğini belirlemek için adresler kullanır.</p><p>İki önemli adres türü vardır:</p><ul><li><strong>IP Address (IP Adresi):</strong> Network Layer seviyesinde cihazları tanımlar ve paketlerin ağlar arasında iletilmesine yardımcı olur.</li><li><strong>MAC Address (MAC Adresi):</strong> Data Link Layer seviyesinde bir ağ arayüzünü tanımlar ve Frame’lerin yerel ağda iletilmesinde kullanılır.</li></ul><p>Bir cihaz başka bir ağdaki hedefe veri gönderirken, hedef IP adresi son varış noktasını belirtir.</p><p>Ancak gönderilen Frame, bir sonraki adımda kullanılacak cihazın MAC adresine iletilir. Bu cihaz genellikle <strong>Default Gateway (Varsayılan Ağ Geçidi)</strong> olur.</p><h3>Önemli Noktalar (Key Takeaways)</h3><ul><li><strong>Protocols</strong>, ağ cihazları arasındaki iletişim kurallarını belirler.</li><li><strong>TCP/IP</strong>, Internet üzerinde kullanılan protokol takımıdır.</li><li><strong>OSI ve TCP/IP modelleri</strong>, ağ iletişimini katmanlara ayırır.</li><li><strong>Encapsulation</strong>, veriye katmanlara ait protokol bilgilerinin eklenmesidir.</li><li><strong>IP Address</strong>, paketlerin ağlar arasında iletilmesine yardımcı olur.</li><li><strong>MAC Address</strong>, Frame’lerin yerel ağda iletilmesinde kullanılır.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c0b0242f2ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 2: Protocols and Models]]></title>
            <link>https://caglarbaranbora.medium.com/chapter-3-protocols-and-models-ee03e7c68a61?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee03e7c68a61</guid>
            <category><![CDATA[network-rules-protocols]]></category>
            <category><![CDATA[data-access]]></category>
            <category><![CDATA[data-encapsulation]]></category>
            <category><![CDATA[reference-model]]></category>
            <category><![CDATA[protocol-suites]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 15:09:09 GMT</pubDate>
            <atom:updated>2026-11-17T15:09:54.119Z</atom:updated>
            <content:encoded><![CDATA[<p>Network devices need common rules to communicate. These rules are defined by protocols and organized into models that help us understand how data moves across a network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sAH3LRPZPdN5j65yMVGBTQ.png" /><figcaption>Chapter 2: Protocols and Models</figcaption></figure><h3>2.1 Rules</h3><p>For devices to communicate, they must follow a common set of rules.</p><p>These rules define:</p><ul><li>How data is formatted.</li><li>How data is transmitted and received.</li><li>How devices identify each other.</li><li>How communication is handled.</li></ul><p>Without common rules, devices may not understand each other.</p><h3>2.2 Protocols</h3><p>A <strong>protocol</strong> is a set of rules that controls communication between network devices.</p><p>Different protocols perform different tasks:</p><ul><li><strong>HTTP / HTTPS:</strong> Used to access websites.</li><li><strong>TCP:</strong> Provides reliable data delivery.</li><li><strong>UDP:</strong> Sends data without guaranteeing delivery.</li><li><strong>IP:</strong> Handles addressing and routing between networks.</li><li><strong>Ethernet:</strong> Defines communication over wired local networks.</li><li><strong>DNS:</strong> Translates domain names into IP addresses.</li></ul><p>Protocols work together to make network communication possible.</p><h3>2.3 Protocol Suites</h3><p>A <strong>protocol suite</strong> is a group of protocols that work together.</p><p>The most common example is the <strong>TCP/IP protocol suite</strong>, which is used for communication across the Internet.</p><p>Each protocol has a specific responsibility. Together, they allow devices and applications to exchange data.</p><h3>2.4 Standards Organizations</h3><p>Standards organizations develop common rules to ensure that network devices and technologies can work together.</p><p>Some important organizations are:</p><ul><li><strong>ISO (International Organization for Standardization):</strong> Develops international standards, including the OSI model.</li><li><strong>IEEE (Institute of Electrical and Electronics Engineers):</strong> Defines standards for Ethernet and Wi-Fi.</li><li><strong>IETF (Internet Engineering Task Force):</strong> Develops Internet standards and protocols.</li><li><strong>ITU (International Telecommunication Union):</strong> Develops telecommunications standards.</li><li><strong>W3C (World Wide Web Consortium):</strong> Develops standards for web technologies.</li></ul><p>These organizations help maintain compatibility between different network technologies.</p><h3>2.5 Reference Models</h3><p>Reference models divide network communication into layers. Each layer has specific responsibilities.</p><p>There are two important reference models:</p><p><strong>The OSI Model — 7 Layers</strong></p><ol><li>Physical</li><li>Data Link</li><li>Network</li><li>Transport</li><li>Session</li><li>Presentation</li><li>Application</li></ol><p><strong>The TCP/IP Model — 4 Layers</strong></p><ol><li>Network Access</li><li>Internet</li><li>Transport</li><li>Application</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*rQhh8HbcWtt_KRIN" /><figcaption><strong>OSI and TCP/IP layer comparison diagram</strong></figcaption></figure><p>The <strong>OSI model</strong> is mainly used to understand and troubleshoot network communication.</p><p>The <strong>TCP/IP model</strong> represents the protocol suite used for communication across the Internet.</p><h3>2.6 Data Encapsulation</h3><p><strong>Encapsulation</strong> is the process of adding protocol information to data as it moves down the network layers.</p><p>Each layer adds its own information:</p><ul><li><strong>Transport layer:</strong> Adds a TCP or UDP header. The data unit is called a <em>segment</em>.</li><li><strong>Network layer:</strong> Adds an IP header. The data unit is called a <em>packet</em>.</li><li><strong>Data Link layer:</strong> Adds a frame header and trailer. The data unit is called a <em>frame</em>.</li><li><strong>Physical layer:</strong> Transmits the data as <em>bits</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/0*I-Hcr_hYdHdobfi3" /><figcaption><strong>encapsulation diagram</strong></figcaption></figure><p>At the receiving device, the process is reversed. This is called <strong>decapsulation</strong>. Each layer processes and removes its corresponding information.</p><h3>2.7 Data Access</h3><p>Devices use addresses to identify where data should be delivered.</p><p>Two important types of addresses are:</p><ul><li><strong>IP Address:</strong> Identifies a device at the Network layer and helps deliver packets between networks.</li><li><strong>MAC Address:</strong> Identifies a network interface at the Data Link layer and is used to deliver frames across a local network.</li></ul><p>When sending data to another network, the destination IP address identifies the final destination.</p><p>However, the frame is sent to the MAC address of the next hop, usually the <strong>default gateway</strong>.</p><h3>Key Takeaways</h3><ul><li><strong>Protocols</strong> define the rules of network communication.</li><li><strong>TCP/IP</strong> is a suite of protocols used on the Internet.</li><li>The <strong>OSI and TCP/IP models</strong> organize communication into layers.</li><li><strong>Encapsulation</strong> adds protocol information to data.</li><li><strong>IP addresses</strong> help deliver packets between networks.</li><li><strong>MAC addresses</strong> are used for local frame delivery.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee03e7c68a61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Günümüz Ağları]]></title>
            <link>https://caglarbaranbora.medium.com/g%C3%BCn%C3%BCm%C3%BCz-a%C4%9Flar%C4%B1-fabbd3d3d175?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fabbd3d3d175</guid>
            <category><![CDATA[network-engineering]]></category>
            <category><![CDATA[ccna]]></category>
            <category><![CDATA[cisco]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Wed, 11 Nov 2026 15:57:12 GMT</pubDate>
            <atom:updated>2026-11-11T15:57:55.128Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ağlara Giriş | Bölüm 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MWRJ93Z3fXs5M0YMaWKFdA.png" /></figure><h4>Giriş</h4><p>Ağlar, günlük hayatımızın vazgeçilmez bir parçasıdır. İletişim kurmak, bilgi paylaşmak, çevrimiçi hizmetlere erişmek ve farklı cihazları birbirine bağlamak için ağları kullanırız.</p><p>Akıllı telefonlardan bilgisayarlara ve büyük işletme sistemlerine kadar ağlar, cihazların birbiriyle iletişim kurmasını sağlar.</p><p>Bu yazıda ağların temel bileşenlerini, yaygın ağ türlerini, internet bağlantılarını, güvenilir ağ özelliklerini, güncel teknolojik trendleri ve temel güvenlik kavramlarını inceleyeceğiz.</p><h3>1. Ağ Bileşenleri</h3><p>Bir ağ, bilgi alışverişi yapmak için birlikte çalışan farklı cihazlardan ve bağlantılardan oluşur.</p><h4>1.1 Host Rolleri</h4><p>Host (Ana Sistem), ağ üzerinden bilgi gönderen veya alan cihazdır. Bilgisayarlar, akıllı telefonlar, yazıcılar ve sunucular buna örnektir.</p><p>Host’ların iki temel rolü vardır:</p><ul><li><strong>Client (İstemci):</strong> Bir hizmet veya bilgi talep eden cihazdır.</li><li><strong>Server (Sunucu):</strong> Diğer cihazlara hizmet veya bilgi sağlayan cihazdır.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/0*Wu8NFfV3A12zk9f_.png" /><figcaption>Client-server model</figcaption></figure><h4>1.2 Peer-to-Peer (Eşler Arası)</h4><p>Peer-to-Peer (P2P) ağlarda cihazlar, özel bir sunucuya ihtiyaç duymadan doğrudan birbirleriyle iletişim kurabilir ve kaynak paylaşabilir.</p><p>Her cihaz hem Client hem de Server rolünü üstlenebilir.</p><p>Bu model, kurulumu kolay olduğu için küçük ağlarda tercih edilir. Ancak ağ büyüdükçe yönetimi zorlaşabilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Hm3rRxdXSIe0xEeW.jpg" /><figcaption>Peer-to-peer network</figcaption></figure><h4>1.3 End Devices (Uç Cihazlar)</h4><p>End Devices, kullanıcıların doğrudan etkileşim kurduğu cihazlardır. Ağ iletişiminin başlangıç veya bitiş noktalarını oluştururlar.</p><p>Yaygın örnekleri:</p><ul><li>Masaüstü bilgisayarlar</li><li>Dizüstü bilgisayarlar</li><li>Akıllı telefonlar</li><li>Ağ yazıcıları</li><li>Sunucular</li><li>IP telefonlar</li></ul><p>Ağ diyagramlarında bu cihazlar genellikle kendilerine ait özel simgelerle gösterilir.</p><h4>1.4 Intermediary Devices (Aracı Cihazlar)</h4><p>Intermediary Devices, uç cihazları birbirine bağlar ve verilerin ağ içerisinde iletilmesine yardımcı olur.</p><p>Yaygın örnekleri:</p><ul><li><strong>Switch (Ağ Anahtarı):</strong> Yerel ağ içerisindeki cihazları birbirine bağlar.</li><li><strong>Router (Yönlendirici):</strong> Farklı ağları birbirine bağlar.</li><li><strong>Wireless Access Point (Kablosuz Erişim Noktası):</strong> Kablosuz cihazların ağa bağlanmasını sağlar.</li><li><strong>Firewall (Güvenlik Duvarı):</strong> Güvenlik kurallarına göre ağ trafiğini kontrol eder.</li></ul><p>Bu cihazlar ağ trafiğinin yönetilmesine, iletilmesine ve korunmasına yardımcı olur.</p><h4>1.5 Network Media (Ağ Ortamı)</h4><p>Network Media, verilerin ağ içerisinde taşındığı fiziksel veya kablosuz iletişim ortamıdır.</p><p>Üç yaygın türü vardır:</p><ul><li><strong>Copper Cables (Bakır Kablolar):</strong> Verileri elektrik sinyalleriyle iletir.</li><li><strong>Fiber-Optic Cables (Fiber Optik Kablolar):</strong> Verileri ışık sinyalleriyle iletir.</li><li><strong>Wireless Media (Kablosuz Ortam):</strong> Verileri radyo dalgalarıyla iletir.</li></ul><p>Her türün hız, mesafe ve kurulum açısından farklı özellikleri vardır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/0*hwzSOSEI8YGLjPHL.jpg" /><figcaption>Network Devices</figcaption></figure><h3>2. Ağ Gösterimleri ve Topolojiler</h3><h4>2.1 Ağın Gösterimi</h4><p>Network Diagram (Ağ Diyagramı), cihazların nasıl bağlandığını ve bilgilerin ağ içerisinde nasıl hareket ettiğini anlamamızı sağlar.</p><p>Ağların tasarlanmasını, yönetilmesini ve sorunların giderilmesini kolaylaştırır.</p><h4>2.2 Topoloji Diyagramları</h4><p>İki temel Network Topology (Ağ Topolojisi) diyagramı vardır:</p><ul><li><strong>Physical Topology (Fiziksel Topoloji):</strong> Kablolar ve cihazların konumları dahil olmak üzere ağdaki gerçek fiziksel bağlantıları gösterir.</li><li><strong>Logical Topology (Mantıksal Topoloji):</strong> Cihazların nasıl iletişim kurduğunu ve verilerin ağ içerisinde nasıl hareket ettiğini gösterir.</li></ul><p>Her iki diyagram da ağın farklı yönlerini anlamamıza yardımcı olur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*dbpFzLIs8AUMUxbf.png" /><figcaption>Physical vs logical topology</figcaption></figure><h3>3. Yaygın Ağ Türleri</h3><p>Ağlar boyutlarına, kapsama alanlarına ve kullanım amaçlarına göre sınıflandırılabilir.</p><h4>3.1 Farklı Boyutlardaki Ağlar</h4><p>Ağlar, birkaç cihazı birbirine bağlayan küçük yapılardan geniş coğrafi alanları kapsayan sistemlere kadar farklı boyutlarda olabilir.</p><ul><li><strong>Small Home Network:</strong> Evdeki kişisel cihazları birbirine bağlar.</li><li><strong>Small Office Network:</strong> Bilgisayarları, yazıcıları ve diğer ofis cihazlarını birbirine bağlar.</li><li><strong>Medium to Large Network:</strong> Çok sayıda kullanıcıya ve departmana hizmet verir.</li><li><strong>Global Network:</strong> Farklı ülkelerdeki cihazları ve ağları birbirine bağlar.</li></ul><h4>3.2 LAN ve WAN</h4><p>İki yaygın ağ türü şunlardır:</p><ul><li><strong>LAN (Local Area Network):</strong> Ev, ofis veya okul gibi sınırlı bir coğrafi alanı kapsar.</li><li><strong>WAN (Wide Area Network):</strong> Genellikle şehirler veya ülkeler arasındaki geniş mesafelerde bulunan ağları birbirine bağlar.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*AK2WkyJLwmfmyLM8.png" /><figcaption>LAN and WAN</figcaption></figure><h4>3.3 Internet (İnternet)</h4><p>İnternet, birbirine bağlı ağlardan oluşan küresel bir ağdır. Dünya genelindeki milyarlarca cihazın iletişim kurmasını ve bilgi alışverişi yapmasını sağlar.</p><h4>3.4 Intranet ve Extranet</h4><ul><li><strong>Intranet:</strong> Bir kuruluş içerisinde kullanılan özel ağdır. Yetkili kullanıcılara kurum içi kaynaklara erişim sağlar.</li><li><strong>Extranet:</strong> İş ortakları veya tedarikçiler gibi seçilmiş dış kullanıcıların, kuruluşun özel ağındaki belirli kaynaklara erişmesine izin verir.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*KzFV_rnqlls15-t3.png" /><figcaption>Internet, intranet and extranet</figcaption></figure><h3>4. İnternet Bağlantıları</h3><p>Evlerin ve işletmelerin internete bağlanmasını sağlayan farklı teknolojiler vardır.</p><h4>4.1 İnternet Erişim Teknolojileri</h4><p>Yaygın internet erişim teknolojileri şunlardır:</p><ul><li>DSL</li><li>Kablo internet</li><li>Fiber optik</li><li>Hücresel ağlar</li><li>Uydu internet</li><li>Kablosuz geniş bant</li></ul><h4>4.2 Ev ve Küçük Ofis Bağlantıları</h4><p>Ev kullanıcıları ve küçük ofisler genellikle Internet Service Provider (ISP — İnternet Servis Sağlayıcısı) tarafından sunulan bağlantıları kullanır.</p><p>Yaygın seçenekler arasında fiber, kablo, DSL ve hücresel bağlantılar bulunur.</p><h4>4.3 İşletmelerin İnternet Bağlantıları</h4><p>İşletmeler genellikle daha hızlı, güvenilir ve kararlı internet bağlantılarına ihtiyaç duyar.</p><p>İhtiyaçlarına göre özel fiber bağlantılar, kiralık hatlar veya diğer kurumsal internet hizmetlerini kullanabilirler.</p><h4>4.4 Converged Networks (Birleşik Ağlar)</h4><p>Converged Network, farklı iletişim türlerini aynı ağ altyapısı üzerinden taşıyan ağ yapısıdır.</p><p>Örneğin ses, video ve veri aynı ağ üzerinden iletilebilir.</p><p>Bu yapı ağ altyapısını basitleştirir ve iletişimi daha verimli hâle getirir.</p><h3>5. Güvenilir Ağlar</h3><p>Güvenilir bir ağ, kararlı, güvenli ve kesintisiz iletişim sağlamalıdır.</p><p>Güvenilir ağ mimarisinin birkaç önemli özelliği vardır.</p><h4>5.1 Fault Tolerance (Hata Toleransı)</h4><p>Fault Tolerance, bir bileşen veya bağlantı arızalandığında ağın çalışmaya devam edebilmesidir.</p><p>Örneğin alternatif ağ yollarının kullanılması, bir bağlantı kesildiğinde iletişimin devam etmesine yardımcı olabilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*oExtImaV3B4ZPXKW" /><figcaption>Fault tolerance</figcaption></figure><h4>5.2 Scalability (Ölçeklenebilirlik)</h4><p>Scalability, ağın büyük performans sorunları yaşamadan daha fazla cihazı, kullanıcıyı ve hizmeti destekleyecek şekilde büyüyebilmesidir.</p><h4>5.3 Quality of Service (QoS — Hizmet Kalitesi)</h4><p>QoS, önemli verilere öncelik vermek için ağ trafiğini yönetir.</p><p>Örneğin sesli ve görüntülü görüşmelere, sıradan dosya indirmelerinden daha yüksek öncelik verilebilir. Böylece gecikmeler ve kesintiler azaltılır.</p><h4>5.4 Network Security (Ağ Güvenliği)</h4><p>Network Security, cihazları, verileri ve hizmetleri yetkisiz erişimlere ve diğer tehditlere karşı korur.</p><p>Firewall, kimlik doğrulama ve erişim kontrolü gibi teknolojileri ve uygulamaları kapsar.</p><h3>6. Ağ Trendleri</h3><p>Teknoloji, insanların ve kuruluşların ağları kullanma şeklini sürekli değiştirmektedir.</p><p>Önemli güncel trendlerden bazıları şunlardır:</p><h4>6.1 Bring Your Own Device (BYOD)</h4><p>BYOD, çalışanların kendi dizüstü bilgisayarları ve akıllı telefonları gibi kişisel cihazlarını şirket ağlarına ve hizmetlerine erişmek için kullanmalarına olanak tanır.</p><h4>6.2 Online Collaboration (Çevrimiçi İş Birliği)</h4><p>Çevrimiçi iş birliği araçları, farklı konumlardaki insanların iletişim kurmasını, dosya paylaşmasını ve birlikte çalışmasını sağlar.</p><h4>6.3 Video Communication (Video İletişimi)</h4><p>Video konferanslar ve çevrimiçi toplantılar modern iletişimin önemli bir parçası hâline gelmiştir.</p><h4>6.4 Cloud Computing (Bulut Bilişim)</h4><p>Cloud Computing, bilgi işlem kaynaklarının ve hizmetlerinin internet üzerinden sunulmasıdır.</p><p>Her şeyi yerel cihazlarda saklamak yerine kullanıcılar uygulamalara, depolama alanlarına ve işlem kaynaklarına bulut platformları üzerinden erişebilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*y6Bdd0YonXMIJlzn.png" /><figcaption>Cloud computing</figcaption></figure><h4>6.5 Smart Home Technology (Akıllı Ev Teknolojileri)</h4><p>Akıllı televizyonlar, kameralar, ışıklar ve termostatlar gibi cihazlar ev ağlarına bağlanabilir ve uzaktan kontrol edilebilir.</p><h4>6.6 Powerline Networking (Elektrik Hattı Üzerinden Ağ İletişimi)</h4><p>Powerline Networking, mevcut elektrik kablolarını kullanarak cihazlar arasında ağ verisi taşır.</p><p>Ethernet kablosu döşemenin zor olduğu yerlerde ağ bağlantısı sağlamak için kullanılabilir.</p><h4>6.7 Wireless Broadband (Kablosuz Geniş Bant)</h4><p>Wireless Broadband, hücresel ağlar ve sabit kablosuz bağlantılar gibi teknolojiler üzerinden internet erişimi sağlar.</p><p>Özellikle geleneksel kablolu bağlantıların sınırlı olduğu bölgelerde kullanışlıdır.</p><h3>7. Ağ Güvenliği</h3><p>Ağ güvenliği, bilgilerin korunması ve güvenilir iletişimin sürdürülmesi için gereklidir.</p><h4>7.1 Güvenlik Tehditleri</h4><p>Ağlar farklı güvenlik tehditleriyle karşılaşabilir:</p><ul><li><strong>Viruses (Virüsler):</strong> Cihazlara ve dosyalara bulaşabilen zararlı programlardır.</li><li><strong>Worms (Solucanlar):</strong> Cihazlar arasında otomatik olarak yayılabilen zararlı yazılımlardır.</li><li><strong>Trojan Horses (Truva Atları):</strong> Kendilerini güvenilir uygulamalar gibi gösteren zararlı yazılımlardır.</li><li><strong>Phishing (Oltalama):</strong> Sahte mesajlar veya web siteleri aracılığıyla hassas bilgileri çalma girişimidir.</li><li><strong>Unauthorized Access (Yetkisiz Erişim):</strong> Ağ kaynaklarına izinsiz erişilmesidir.</li><li><strong>Denial of Service (DoS — Hizmet Engelleme):</strong> Bir hizmeti aşırı trafikle kullanılamaz hâle getirmeyi amaçlayan saldırıdır.</li></ul><h4>7.2 Güvenlik Çözümleri</h4><p>Ağları korumak için çeşitli yöntemler kullanılabilir:</p><ul><li><strong>Firewall:</strong> Ağ trafiğini güvenlik kurallarına göre filtreler.</li><li><strong>Antivirus Software:</strong> Zararlı yazılımları tespit eder ve kaldırır.</li><li><strong>Authentication (Kimlik Doğrulama):</strong> Kullanıcıların kimliğini doğrular.</li><li><strong>Access Control (Erişim Kontrolü):</strong> Kaynaklara erişimi yetkili kullanıcılarla sınırlar.</li><li><strong>Encryption (Şifreleme):</strong> Bilgileri yetkisiz kişilerin okuyamayacağı hâle getirir.</li><li><strong>Software Updates (Yazılım Güncellemeleri):</strong> Güvenlik açıklarını giderir ve korumayı iyileştirir.</li></ul><h4>Sonuç</h4><p>Ağlar, insanları, cihazları ve hizmetleri dünya genelinde birbirine bağlar. Ağların temel bileşenlerini, türlerini, bağlantı yöntemlerini ve güvenlik prensiplerini anlamak, Network Engineering öğrenmenin ilk adımıdır.</p><p>Bu temel bilgiler; Switching, Routing ve Network Security gibi daha ileri konular için sağlam bir başlangıç oluşturur.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fabbd3d3d175" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Today’s Networks]]></title>
            <link>https://caglarbaranbora.medium.com/todays-networks-9dea6241e2b1?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dea6241e2b1</guid>
            <category><![CDATA[cisco-certifications]]></category>
            <category><![CDATA[ccna]]></category>
            <category><![CDATA[network-engineering]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Wed, 11 Nov 2026 15:48:02 GMT</pubDate>
            <atom:updated>2026-11-11T15:48:12.866Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction to Networks | Chapter 1</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MWRJ93Z3fXs5M0YMaWKFdA.png" /></figure><h3>Introduction</h3><p>Networks are an essential part of our daily lives. We use them to communicate, share information, access online services, and connect different devices.</p><p>From smartphones and computers to large business systems, networks allow devices to communicate with each other.</p><p>In this article, we will explore the basic components of networks, common network types, internet connections, network reliability, modern trends, and basic security concepts.</p><h3>1. Network Components</h3><p>A network consists of different devices and connections that work together to exchange information.</p><p><strong>1.1 Host Roles</strong></p><p>Hosts are devices that send or receive information over a network. Examples include computers, smartphones, printers, and servers.</p><p>Hosts can have two main roles:</p><ul><li><strong>Client:</strong> A device that requests services or information.</li><li><strong>Server:</strong> A device that provides services or information to other devices.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/0*mO5_UUCjGykqB1HE.png" /><figcaption>Client-server model</figcaption></figure><p><strong>1.2 Peer-to-Peer (P2P)</strong></p><p>In a Peer-to-Peer network, devices can communicate and share resources directly without requiring a dedicated server.</p><p>Each device can act as both a client and a server.</p><p>This model is commonly used in small networks because it is simple to set up. However, it can become difficult to manage as the network grows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*1oVRR34Hh703_PFc.jpg" /><figcaption>Peer-to-peer network</figcaption></figure><p><strong>1.3 End Devices</strong></p><p>End Devices are the devices that users interact with directly. They are the starting or ending points of network communication.</p><p>Common examples include:</p><ul><li>Desktop computers</li><li>Laptops</li><li>Smartphones</li><li>Network printers</li><li>Servers</li><li>IP phones</li></ul><p>In network diagrams, these devices are usually represented with specific icons.</p><p><strong>1.4 Intermediary Devices</strong></p><p>Intermediary Devices connect end devices and help data travel through the network.</p><p>Common examples include:</p><ul><li><strong>Switch:</strong> Connects devices within a local network.</li><li><strong>Router:</strong> Connects different networks.</li><li><strong>Wireless Access Point:</strong> Allows wireless devices to connect to a network.</li><li><strong>Firewall:</strong> Controls network traffic based on security rules.</li></ul><p>These devices help manage, forward, and protect network traffic.</p><p><strong>1.5 Network Media</strong></p><p>Network Media refers to the physical or wireless paths through which data travels.</p><p>There are three common types:</p><ul><li><strong>Copper Cables:</strong> Transmit data using electrical signals.</li><li><strong>Fiber-Optic Cables:</strong> Transmit data using light signals.</li><li><strong>Wireless Media:</strong> Transmit data using radio waves.</li></ul><p>Each type has different characteristics in terms of speed, distance, and installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/0*9i5m1SHdpuFTZSQm.jpg" /><figcaption>Network Devices</figcaption></figure><h3>2. Network Representations and Topologies</h3><p><strong>2.1 Network Representations</strong></p><p>Network diagrams help us understand how devices are connected and how information travels.</p><p>They make it easier to design, manage, and troubleshoot networks.</p><p><strong>2.2 Topology Diagrams</strong></p><p>There are two main types of network topology diagrams:</p><ul><li><strong>Physical Topology:</strong> Shows the actual physical connections between devices, including cables and equipment locations.</li><li><strong>Logical Topology:</strong> Shows how devices communicate and how data moves through the network.</li></ul><p>Both diagrams are useful for understanding different aspects of a network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8tSTtDYVbEwIlqfT56liHw.png" /><figcaption>Physical vs logical topology</figcaption></figure><h3>3. Common Network Types</h3><p>Networks can be classified according to their size, coverage area, and purpose.</p><p><strong>3.1 Networks of Different Sizes</strong></p><p>Networks can range from a few connected devices to systems covering large geographical areas.</p><ul><li><strong>Small Home Network:</strong> Connects personal devices at home.</li><li><strong>Small Office Network:</strong> Connects computers, printers, and other office devices.</li><li><strong>Medium to Large Network:</strong> Supports many users and departments.</li><li><strong>Global Network:</strong> Connects devices and networks across different countries.</li></ul><p><strong>3.2 LAN and WAN</strong></p><p>Two common network types are:</p><ul><li><strong>LAN (Local Area Network):</strong> Covers a limited geographical area, such as a home, office, or school.</li><li><strong>WAN (Wide Area Network):</strong> Connects networks over large geographical distances, often between cities or countries.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*6YA4cBB-6PrqcX_g.png" /><figcaption>LAN and WAN</figcaption></figure><p><strong>3.3 The Internet</strong></p><p>The Internet is a global network of interconnected networks. It allows billions of devices worldwide to communicate and exchange information.</p><p><strong>3.4 Intranet and Extranet</strong></p><ul><li><strong>Intranet:</strong> A private network used within an organization. It provides access to internal resources for authorized users.</li><li><strong>Extranet:</strong> Allows selected external users, such as business partners or suppliers, to access specific resources of an organization’s private network.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*hIkOFfHeJYoiU3f5.png" /><figcaption>Internet, intranet and extranet</figcaption></figure><h3>4. Internet Connections</h3><p>Different technologies allow homes and businesses to connect to the Internet.</p><p><strong>4.1 Internet Access Technologies</strong></p><p>Common internet access technologies include:</p><ul><li>DSL</li><li>Cable</li><li>Fiber-Optic</li><li>Cellular Networks</li><li>Satellite</li><li>Wireless Broadband</li></ul><p><strong>4.2 Home and Small Office Connections</strong></p><p>Home users and small offices generally use internet connections provided by an Internet Service Provider (ISP).</p><p>Common options include fiber, cable, DSL, and cellular connections.</p><p><strong>4.3 Business Internet Connections</strong></p><p>Businesses often require faster, more reliable, and more stable internet connections.</p><p>Depending on their needs, they may use dedicated fiber connections, leased lines, or other enterprise internet services.</p><p><strong>4.4 Converged Networks</strong></p><p>A Converged Network carries different types of communication over the same network infrastructure.</p><p>For example, voice, video, and data can all travel through a single network.</p><p>This simplifies network infrastructure and makes communication more efficient.</p><h3>5. Reliable Networks</h3><p>A reliable network should provide stable, secure, and continuous communication.</p><p>There are several important characteristics of reliable network architecture.</p><p><strong>5.1 Fault Tolerance</strong></p><p>Fault Tolerance means a network can continue operating even when a component or connection fails.</p><p>For example, using alternative network paths can help maintain communication if one connection becomes unavailable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/0*xjcoNYTReE-yeTBy" /><figcaption>Fault tolerance</figcaption></figure><p><strong>5.2 Scalability</strong></p><p>Scalability is the ability of a network to grow and support more devices, users, and services without major performance problems.</p><p><strong>5.3 Quality of Service (QoS)</strong></p><p>QoS manages network traffic to prioritize important data.</p><p>For example, voice and video calls may receive higher priority than ordinary file downloads to reduce delays and interruptions.</p><p><strong>5.4 Network Security</strong></p><p>Network Security protects devices, data, and services from unauthorized access and other threats.</p><p>It includes technologies and practices such as firewalls, authentication, and access control.</p><h3>6. Network Trends</h3><p>Technology continues to change how people and organizations use networks.</p><p>Some important modern trends include:</p><p><strong>6.1 Bring Your Own Device (BYOD)</strong></p><p>BYOD allows employees to use their personal devices, such as laptops and smartphones, to access company networks and services.</p><p><strong>6.2 Online Collaboration</strong></p><p>Online collaboration tools allow people to communicate, share files, and work together from different locations.</p><p><strong>6.3 Video Communication</strong></p><p>Video conferencing and online meetings have become important parts of modern communication.</p><p><strong>6.4 Cloud Computing</strong></p><p>Cloud Computing provides computing resources and services over the Internet.</p><p>Instead of storing everything locally, users can access applications, storage, and processing resources through cloud platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*PA2j1MrG9OiFgq1e.png" /><figcaption>Cloud computing</figcaption></figure><p><strong>6.5 Smart Home Technology</strong></p><p>Smart home devices, such as smart TVs, cameras, lights, and thermostats, connect to home networks and can be controlled remotely.</p><p><strong>6.6 Powerline Networking</strong></p><p>Powerline Networking uses existing electrical wiring to carry network data between devices.</p><p>It can provide network connectivity in places where installing Ethernet cables is difficult.</p><p><strong>6.7 Wireless Broadband</strong></p><p>Wireless Broadband provides internet access through wireless technologies, including cellular networks and fixed wireless connections.</p><p>It is especially useful in areas where traditional wired connections are limited.</p><h3>7. Network Security</h3><p>Network security is essential for protecting information and maintaining reliable communication.</p><p><strong>7.1 Security Threats</strong></p><p>Networks can face different types of security threats, including:</p><ul><li><strong>Viruses:</strong> Malicious programs that can infect devices and files.</li><li><strong>Worms:</strong> Malware that can spread automatically between devices.</li><li><strong>Trojan Horses:</strong> Malicious software disguised as legitimate applications.</li><li><strong>Phishing:</strong> Attempts to steal sensitive information through fake messages or websites.</li><li><strong>Unauthorized Access:</strong> Accessing network resources without permission.</li><li><strong>Denial of Service (DoS):</strong> Attacks that attempt to make a service unavailable by overwhelming it with traffic.</li></ul><p><strong>7.2 Security Solutions</strong></p><p>Several methods can help protect networks:</p><ul><li><strong>Firewall:</strong> Filters network traffic according to security rules.</li><li><strong>Antivirus Software:</strong> Detects and removes malicious software.</li><li><strong>Authentication:</strong> Verifies the identity of users.</li><li><strong>Access Control:</strong> Limits access to authorized users.</li><li><strong>Encryption:</strong> Protects information by making it unreadable to unauthorized parties.</li><li><strong>Software Updates:</strong> Fix security vulnerabilities and improve protection.</li></ul><h3>Conclusion</h3><p>Networks connect people, devices, and services around the world. Understanding their basic components, types, connections, and security principles is the first step toward learning networking.</p><p>These fundamentals provide the foundation for more advanced topics such as switching, routing, and network security.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dea6241e2b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apple Announced iPhone Duo Yesterday. Apple Duo Support Is Now Ready for Development & Design]]></title>
            <link>https://caglarbaranbora.medium.com/apple-announced-iphone-duo-yesterday-apple-duo-support-is-now-ready-for-development-design-ab8be42443e0?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab8be42443e0</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[foldable-phone]]></category>
            <category><![CDATA[apple-duo]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Thu, 10 Sep 2026 16:11:26 GMT</pubDate>
            <atom:updated>2026-09-10T16:11:26.032Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qn-vu3Z-AJhqfst-" /></figure><h3>Apple announced iPhone Duo on September 9.</h3><p>Alongside it came a new Human Interface Guidelines page covering how apps should behave across its dual-display design: device poses, hinge and reserved regions, adaptive layouts, arrangement views, and new placement rules for toolbars and tab bars.</p><p>By September 10, Apple Agent Kit had support for those guidelines.</p><p>That was not just another documentation update for the project. It was a real test of the idea behind Apple Agent Kit:</p><p><strong>Can an AI coding agent get the right Apple guidance exactly when it needs it, without having to search through Apple’s entire documentation or rely on assumptions?</strong></p><h3>What is Apple Agent Kit?</h3><p>Apple Agent Kit is a Claude Code plugin that turns Apple’s official documentation into structured knowledge that AI coding agents can actually use.</p><p>The core idea is simple.</p><p>Instead of giving an agent thousands of lines of documentation and expecting it to find the relevant information, Apple Agent Kit breaks the documentation into three layers:</p><ul><li><strong>References</strong> — the original Apple documentation.</li><li><strong>Knowledge Contracts</strong> — small, atomic rules with a specific responsibility and citation.</li><li><strong>Skills</strong> — routing logic that connects an agent’s task to the Knowledge Contracts it needs.</li></ul><p>So instead of:</p><blockquote><em>“Search Apple’s Human Interface Guidelines and figure out what applies here.”</em></blockquote><p>the agent can get something closer to:</p><blockquote><em>“This is a dynamic layout problem. Route to the contracts covering adaptive layouts and arrangement views.”</em></blockquote><p>The goal is not to give an AI more documentation.</p><p>The goal is to give it <strong>the right documentation at the right time.</strong></p><h3>iPhone Duo support</h3><p>For iPhone Duo, I added three new Knowledge Contracts under the existing human-interface-guidelines Skill.</p><p>No new Skill was necessary.</p><p>That is important because the new Apple guidance naturally belongs to the same HIG domain. The existing routing structure was already able to accommodate it.</p><h3>1. Device anatomy and poses</h3><p>The first contract covers the physical characteristics that directly affect UI layout.</p><p>It includes:</p><ul><li>The two displays</li><li>The hinge</li><li>Different device poses</li><li>Book-fold</li><li>Surface-set</li><li>Edge-standing</li><li>Reserved regions</li><li>Outer and inner cameras</li><li>The folding region</li></ul><p>These aren’t just hardware details.</p><p>They become layout constraints that an application needs to understand.</p><p>An agent generating a UI for Duo needs to know that it cannot simply treat the device as a larger iPhone screen.</p><h3>2. Dynamic layouts and arrangement views</h3><p>The second contract focuses on adaptive layouts.</p><p>It covers how layouts should respond to the fold and how content can be arranged across the two displays.</p><p>It also includes Apple’s new <strong>arrangement view</strong>, including its split and overlay behavior.</p><p>This matters because a layout that works perfectly on a normal iPhone can become completely wrong when the device changes its pose or when content needs to adapt around the hinge.</p><p>The contract also includes Apple’s guidance for full-screen experiences such as games.</p><h3>3. Vertical toolbar and tab bar placement</h3><p>The third contract handles another major change: controls can move to the vertical axis on Duo.</p><p>The contract covers:</p><ul><li>Toolbar placement</li><li>Tab bar placement</li><li>Item ordering</li><li>Visibility priority</li><li>Side-axis controls</li><li>Split View interactions between two apps</li></ul><p>This is exactly the kind of platform-specific detail that an AI coding agent can easily get wrong if it relies on generic UI conventions.</p><h3>Every rule has a source</h3><p>One of the most important design decisions in Apple Agent Kit is that Knowledge Contracts are traceable.</p><p>Each rule points back to the Apple HIG content that supports it.</p><p>That means the agent isn’t simply saying:</p><blockquote><em>“Apple recommends doing X.”</em></blockquote><p>It can identify the documentation behind that recommendation.</p><p>For AI-assisted development, I think this distinction matters a lot.</p><p>An AI-generated answer can sound completely reasonable and still be wrong.</p><p>Platform development makes this even more dangerous because there are countless conventions that feel correct but aren’t actually part of Apple’s guidelines.</p><p>The solution isn’t necessarily giving the model more context.</p><p>Sometimes the better solution is giving it <strong>smaller, verifiable pieces of context.</strong></p><h3>Why iPhone Duo was a good test</h3><p>A new device is an interesting test for this approach because there is no long history of community conventions to fall back on.</p><p>When a platform introduces a new form factor, developers need to answer very concrete questions:</p><p>Where should controls go?</p><p>What happens when the device folds?</p><p>How should a split layout adapt?</p><p>Which regions are unavailable?</p><p>How should a tab bar behave across different orientations?</p><p>What happens when two applications share the inner display?</p><p>These are exactly the questions where an AI agent can start filling gaps with assumptions.</p><p>With Apple Agent Kit, the intended workflow is different.</p><p>The agent identifies the problem, the relevant Skill routes it to the appropriate Knowledge Contracts, and those contracts provide the specific Apple guidance needed to make the decision.</p><p>No repo-wide documentation search.</p><p>No manually reading an entire HIG section.</p><p>No relying on a convention that the model simply assumed was correct.</p><h3>The bigger idea</h3><p>iPhone Duo is only one example.</p><p>The larger problem I’m trying to solve with Apple Agent Kit is the growing gap between <strong>AI coding speed and platform knowledge.</strong></p><p>AI coding agents are getting very good at writing code.</p><p>But writing code is only one part of building a good platform-native application.</p><p>The agent also needs to understand the rules of the platform it’s building for.</p><p>Apple’s documentation is an excellent source for that knowledge, but handing an agent the entire documentation set isn’t necessarily the best way to use it.</p><p>That’s why I built the Knowledge Contract model.</p><p><strong>One rule. One responsibility. One source. One routing path.</strong></p><p>When Apple changes a guideline, the relevant knowledge can be updated without rebuilding the entire knowledge system.</p><p>When an agent encounters a specific problem, it can receive the small part of Apple’s documentation that actually matters.</p><p>And when it makes a decision, there is a source behind it.</p><h3>Try it</h3><p>Apple Agent Kit is available on GitHub:</p><p><a href="https://github.com/caglarbaranbora/Apple-Agent-Kit">https://github.com/caglarbaranbora/Apple-Agent-Kit</a></p><p>For Claude Code:</p><pre>npx apple-agent-kit</pre><p>The project is still evolving, and iPhone Duo is a good example of the kind of platform change I want Apple Agent Kit to handle:</p><p><strong>Apple publishes new guidance → the knowledge is structured → the agent can use it.</strong></p><p>Ideally, developers shouldn’t have to wait weeks for an AI coding agent to “learn” a new Apple platform convention.</p><p>They should be able to give the agent access to the source of truth.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab8be42443e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Stopped My AI Agent From Hallucinating Human Interface Guidelines]]></title>
            <link>https://caglarbaranbora.medium.com/how-i-stopped-my-ai-agent-from-hallucinating-human-interface-guidelines-b326cd4f7a1e?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b326cd4f7a1e</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Wed, 26 Aug 2026 01:07:19 GMT</pubDate>
            <atom:updated>2026-08-26T01:07:19.387Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Vphp_w37dzkJ5ps5lS9WQ.png" /></figure><p><strong>Stop Feeding Your AI Coding Agent the Entire Apple Docs</strong></p><p>If you’ve ever asked an AI coding agent to build an iOS feature, you’ve probably seen one of two things happen. Either it confidently invents a Human Interface Guidelines rule that doesn’t exist, or it tries to “do the right thing” by re-reading half of Apple’s documentation before writing a single line of Swift — burning your context window and your patience in the process.</p><p><a href="https://github.com/caglarbaranbora/Apple-Agent-Kit">Apple Agent Kit</a> is a project that tackles exactly this problem, and it does it in a way that’s more interesting than “just add more docs to the prompt.”</p><p><strong>The core idea: pre-digest, don’t re-read</strong></p><p>Instead of dumping raw Apple documentation into an agent’s context and hoping it finds the relevant bit, Apple Agent Kit breaks that documentation down ahead of time into small, atomic units called Knowledge Contracts. Think of each one as a single, self-contained rule — “here’s how Sign in with Apple buttons should be labeled,” “here’s how VoiceOver traits should be applied to a custom control” — each one traceable back to the exact Apple doc it came from.</p><p>The magic isn’t just in chopping docs into pieces, though. It’s in how the agent finds the right piece. Rather than semantic search rummaging through an entire repo of contracts, routing happens deterministically through Skills — task-specific entry points that point straight at the handful of contracts a given job actually needs. Ask about accessibility labeling and you get the accessibility contracts, not a fuzzy best-guess pulled from everything Apple has ever published.</p><p>The payoff is threefold: lower token cost per task, more consistent output between sessions (no more getting a different answer to the same HIG question depending on the day), and a paper trail back to the source documentation, so you can actually verify why the agent did what it did.</p><p><strong>How it’s structured</strong></p><p>The architecture is a clean pipeline:</p><p>Apple Documentation → References → Knowledge Contracts → Skills → Workflows</p><p>Skills are the individual units you invoke for a focused task. There are more than thirty of them covering a huge chunk of the iOS/iPadOS surface: SwiftUI and UIKit, accessibility, SF Symbols, networking, Xcode project configuration, Face ID, StoreKit, WidgetKit, App Intents, Core Data and SwiftData, localization, Core Location, Photos — the list goes deep rather than wide, and it keeps growing.</p><p>Workflows sit one level up. A Workflow is what you reach for when a task spans more than one domain — when no single Skill owns the whole job. Right now there are three shipped:</p><ul><li><strong>authentication</strong> — takes you through an entire sign-in feature: copy and wording, accessible form design, Sign in with Apple, biometric re-auth, and secure Keychain storage, all as one coordinated sequence instead of four disconnected lookups.</li><li><strong>app-store-submission</strong> — walks through review-guideline compliance and privacy declarations before you even get to signing, archiving, and exporting your build — catching the stuff that gets apps rejected, before it becomes a rejection.</li><li><strong>add-widget</strong> — covers the widget surface itself, its configuration and interaction intents, and the background refresh logic that keeps its timeline current.</li></ul><p>The routing logic is refreshingly simple: if your task touches more than one Skill that a Workflow names, that Workflow loads and sequences them for you. Otherwise, exactly one Skill loads. No manual picking required.</p><p><strong>Where this actually helps in practice</strong></p><p>A few scenarios where this stops being a neat idea and starts being genuinely useful:</p><p>You’re building a login screen and want it to actually match Apple’s conventions — not just compile. Instead of asking a general-purpose agent to “make it accessible and Apple-like” and hoping for the best, the authentication Workflow pulls in style guide rules for your error copy, HIG rules for the layout, Sign in with Apple implementation details, biometric re-auth patterns, and Keychain storage practices — as one pass, not five separate conversations.</p><p>You’re about to submit to the App Store and want a second pair of eyes on review-guideline compliance before Apple’s reviewers give you the bad news. The app-store-submission workflow checks privacy declarations and guideline compliance before archive and export even start.</p><p>You’re adding a home screen widget and don’t want to relearn WidgetKit’s timeline and refresh quirks from scratch. The add-widget workflow bundles the widget declaration, its interaction intents, and the background refresh scheduling together.</p><p>Or maybe it’s simpler than any of that — you just want to sanity-check one screen against the Human Interface Guidelines. That’s where you’d invoke a single Skill directly, with a concrete ask like “check this screen’s layout against HIG” rather than a vague “tell me about HIG,” since the routing works off specific tasks, not topic browsing.</p><p><strong>Where it lives</strong></p><p>It ships as a Claude Code plugin, installed with a single command:</p><pre>npx apple-agent-kit</pre><p>That command pulls the package straight from <a href="https://www.npmjs.com/package/apple-agent-kit">npm</a>, registers the repo as a plugin marketplace, and makes its Skills, Knowledge Contracts, and routing available right inside a Claude Code session. Codex CLI users aren’t left out either — the same installer detects a Codex-only setup and prints the right instructions instead of just failing, and Codex reads the exact same Skill files through a single manifest, with zero translation layer needed.</p><p><strong>Why the traceability part matters more than it sounds</strong></p><p>It would be easy to treat “traces back to Apple docs” as a nice-to-have footnote. In practice it’s the part that makes the whole system trustworthy over time. The project’s own changelog is refreshingly honest about this: a recent review pass that actually fetched live Apple documentation — rather than just re-reading what was already in the repo — turned up fabricated-but-plausible quotes attached to otherwise-correct rules, and even found a rule whose entire premise had quietly gone stale the moment Apple shipped a new API. That’s the kind of drift that’s nearly invisible in a system built purely on vibes, and very visible in one built on atomic, sourced, checkable contracts.</p><p><strong>The takeaway</strong></p><p>Apple Agent Kit isn’t trying to make your AI agent smarter in some abstract sense. It’s trying to make it stop guessing about things that are already written down, and start citing its work instead. For anyone building iOS or iPadOS apps with an AI coding assistant in the loop, that’s a small shift in architecture with an outsized effect on how much you can actually trust the output.</p><p>🔗 GitHub: <a href="https://github.com/caglarbaranbora/Apple-Agent-Kit">https://github.com/caglarbaranbora/Apple-Agent-Kit</a><br> 📦 npm: <a href="https://www.npmjs.com/package/apple-agent-kit">https://www.npmjs.com/package/apple-agent-kit</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b326cd4f7a1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git’e Giriş: Temel Komutlar ve Çalışma Akışı]]></title>
            <link>https://caglarbaranbora.medium.com/gite-giri%C5%9F-temel-komutlar-ve-%C3%A7al%C4%B1%C5%9Fma-ak%C4%B1%C5%9F%C4%B1-4e434c8be800?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e434c8be800</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Tue, 25 Mar 2025 19:28:43 GMT</pubDate>
            <atom:updated>2025-03-25T19:28:43.909Z</atom:updated>
            <content:encoded><![CDATA[<p>Git, modern yazılım geliştirme süreçlerinde en yaygın kullanılan versiyon kontrol sistemlerinden biridir. Bu yazıda, Git’in temel kavramlarını ele alarak, sürüm kontrolünü daha iyi anlamanıza yardımcı olmayı amaçlıyorum.</p><p>Özellikle ekip çalışması yapan geliştiriciler ve projelerinde değişiklikleri etkili bir şekilde yönetmek isteyenler için oldukça önemli olan bu konular, Git’in gücünden tam anlamıyla yararlanmanın temelini oluşturur. Gelin, Git’in temellerini birlikte keşfedelim! Bu keşif sırasında benimle birlikte kodlamak için <a href="https://learngitbranching.js.org/">buraya tıklayınız</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BvEaEvjzE-8cTSpA" /></figure><h3>Yerel Git</h3><h4>Git Commit</h4><p>Commit(işlemek), senin dosyalarının snapshot(anlık) olarak bir repository(depo)’de tutulmasıdır.</p><pre>git commit</pre><h4>Git Branch</h4><p>Basitçe işlevleri, spesifik bir commit’i işaret etmektir. Uzmanların dediğine göre “erken branch at, sık sık branch at”. Bu önerinin sebebi ise ortada bir depolama/hafıza aşırı yüklenmesi durumu olmaması.</p><p>Yeni branch oluşturmak için:</p><pre>git branch newBranch</pre><h4>Git Checkout</h4><p>Bu kullanım ile yeni branch’i kullanıma geçmiş oluyoruz. Eğer yeni branch oluşturduktan sonra checkout ile o branch’e geçmezsek, yapacağımız işlemlerin tümü eski branch üzerinden yapılır. Yani <strong><em>git branch newBranch</em></strong> ile branch oluşturduk ardından <strong><em>git commit</em></strong> yaptık. Yaptığımız commit işlemi newBranch üzerinden gerçekleşmemiş oldu. Tabii kullanımı size kalmış.</p><pre>git checkout newBranch</pre><p><strong>Dikkat!</strong> Git 2.23 ile gelen <strong><em>git switch</em></strong> komutunun amacı <strong><em>git checkout</em></strong>’un yerini almak. Biz bu yazıda <strong><em>checkout</em></strong> ile yazacağız çünkü <strong><em>switch </em></strong>daha deneysel sürümde ve ileride syntax olarak değişebilir.</p><h4>Git Merge</h4><p>Git’te birleştirme (merge) işlemi, iki farklı ebeveyne (parent) sahip özel bir commit oluşturur. İki ebeveyni olan bir commit, temel olarak şu anlama gelir:</p><p>“Buradaki ebeveynden ve şuradaki ebeveynden gelen tüm çalışmaları dahil etmek istiyorum, ayrıca onların tüm ebeveynlerinden gelen çalışmaları da içermeliyim.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*PhY86luV4HSp7bj9XB1K8Q.png" /></figure><pre>git checkout bugFix; &#39;bugFix branchine geçtik.(*)&#39;<br>git merge main; &#39;bugFixi main ile aynı commite aldık.&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*gndin_YwFjmXbgf1-YPMPA.png" /></figure><h4>Git Rebase</h4><p>Branch’ler arasındaki bağlantıyı kurmanın bir başka yolu da <strong><em>git rebase</em></strong>. Esasında rebase işlemi bir dizi commit ele alır ve bunları kopyalar. Son olarak da bir yer fırlatır. Çizgisel ve düzenli bir commit ağacı istiyorsanız kullanılması önerilir. Kafanız biraz karıştı biliyorum ama görsellerle inceleyelim.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*Xu9kIYdczE26jv8mBTV2eA.png" /></figure><p>Dikkat ederseniz şu an <strong><em>bugFix branch</em></strong> seçili. Eğer komutu yazarsak:</p><pre>git rebase main;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*s1KvOope3dMGC62-925Z4Q.png" /></figure><p>Yukarıdaki şekilde gördüğünüz gibi çizgisel bir commit ağacına sahip olacağız.</p><p><strong>Dikkat!</strong> C3 commit hala bir yerlerde var olmakta(ağaçta silik görünüyor) ve C3&#39; ise bizim main branch’in üstüne rebase ettiğimiz kopyası.</p><p>İşlem bitmiş gibi görünebilir ama main branch daha güncellenmedi. Bu işlemi tamamlamak için git checkout ile main branch’i seçelim.</p><pre>git checkout;<br>git rebase bugFix;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*qSxzSi5LX5Ifd0XI2kOVyQ.png" /></figure><p>Son olarak bugFix branch’i üzerine rebase işlemini gerçekleştirdik.</p><h4>HEAD</h4><p><strong><em>HEAD</em></strong> kelimesi sembolik bir isimdir ve o anki kontrol edilen commit’i temsil eder. <strong><em>HEAD</em></strong> her zaman çalışma ağacındaki en son commit’i işaret eder. Normalde <strong><em>HEAD</em></strong> bir branch’i işaret eder(bugFix gibi). commit işlemiden sonra bugFix branch’inin status’u değişir ve bu değişim <strong>HEAD</strong> üzerinden görüntülenebilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*fv5ZCeMPYhTMKvXfmSA5bw.png" /></figure><pre>git checkout C1;<br>git checkout main;<br>git commit;<br>git checkout C2;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*-Nm4ZyfeT6uKEtCGTg7umQ.png" /></figure><p>Gördünüz mü! <strong><em>HEAD</em></strong> başından beri main branch altında saklanıyormuş!</p><h4>HEAD Detach(Ayırma)</h4><p>HEAD Ayırma demek aslında HEAD’i branch yerine commit’e atamaktır.</p><p>Detach işleminden önce:</p><p><strong><em>HEAD -&gt; main -&gt; C1</em></strong></p><pre>git checkout C1;</pre><p>Bu işlemin ardından:</p><p><strong><em>HEAD -&gt; C1</em></strong></p><h4>RELATIVE REFS</h4><p>Git çalışma ortamında takılırken commit hash kullanmak biraz sıkıcı olabilir. Gerçek dünya için konuşursak commit tree yapısı dağınık görünür bu yüzden hash’leri görmek için git log kullanmak zorunda kalırız.</p><p>Üstelik hash’ler genellikle çok uzun olurlar. Örnek vermek gerekirse önceki örnekteki commit’in hash’i <strong><em>fed2da64c0efc5293610bdd892f82a58e8cbc5d8</em></strong>. Dile bile kolay değil…</p><p>Ama Git hash konusunda gerçekten akıllı. Yani commit’i diğerlerinden ayıracak birkaç karakter ile tanıyabilir. Yukarıdaki uzun hash yerine <strong><em>fed2</em></strong> yazabilirim.</p><p>Yine de commit’leri hash’ler üzerinden sınıflandırmak en uygun yol değil. Sebebi ise Git, Relative Refs içerir. İnanılmaz ve havalı şeyler😮🔥!</p><p>Biz sadece en kullanışlı 2 tanesini işleyeceğiz:</p><ul><li>Bir commit yukarıya çıkmak için ‘^’</li><li>Belirtilen commit kadar yukarıya çıkmak için ‘~&lt;num&gt;’</li></ul><p>Kulağa biraz saçma gelebilir ama örneği inceleyince anlayacağınıza eminim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*Fc0lVhd6lnywZ-UPGGdKZA.png" /></figure><pre>git checkout main^;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*n3rq1LFNdap_nv2mJSQW_w.png" /></figure><p>Puff! Tek tek commit hash girmekten çok daha kolay değil mi.</p><p>Aynı işlemi HEAD ile de yapabiliriz:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*zeD1mSn-gCc-o6J791YCzg.png" /></figure><pre>git checkout C3;<br>git checkout HEAD^;<br>git checkout HEAD^;<br>git checkout HEAD^;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*QL7eqetpoKXbWoCDfj3Wkg.png" /></figure><p>Eğer yukarıdaki gibi tekrar etmek istemiyorsanız veya çok fazla kere tekrar etmeniz gerekiyorsa size ilaç gibi gelecek bir çözümüm var. <strong>“~” operator.</strong></p><pre>git checkout HEAD~3;</pre><p>Burada ise belirtilen sayı kadar ilerlemesi gerektiğin belirttik yani <strong><em>C3 =&gt; C0</em></strong>. Harika değiller mi.</p><h4>Branch Forcing(Koda kaba kuvvet uyguluyoruz)</h4><p>Direkt olarak bir commit’e bir branch’i tekrar atamak için -f kullanırız.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*U6oy-3JqM1TMwYB8h5-HQg.png" /></figure><pre>git branch -f main HEAD~3;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*0TWPZ6ZrTE34_cKLQ7uW2A.png" /></figure><p>main branch’i(kaba kuvvet ile) 3 parent geriye atar.</p><h4>Git Revert &amp; Git Reset</h4><p>Git üzerinde birden fazla yol ile değişiklikleri geri çevirebiliriz ve commit gibi geri çevirme işlemleri de Git üzerinde değişikliklere sebep olur. Bizim uygulamamız yine de en sonuncuya odaklanır.</p><p>Bunu yapmak için 2 ana yoldan birini kullanırız. git reset ve git revert.</p><h4>Git Reset</h4><p>git reset, bir branch referansını geçmişteki bir commit’e geri alarak değişiklikleri tersine çevirir. Bu anlamda, <strong>&quot;geçmişi yeniden yazmak&quot;</strong> gibi düşünebiliriz; git reset, bir branch’i geriye alarak sanki o commit hiç yapılmamış gibi hareket eder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*xPxDbkP2D2w2E_FqjM7O_g.png" /></figure><pre>git reset HEAD~1;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*eoAAyRWVvBfxxTLEiRwVLA.png" /></figure><h4>Git Revert</h4><p>git reset, kendi makinenizdeki yerel branch&#39;ler için harika çalışsa da, <strong>&quot;geçmişi yeniden yazma&quot;</strong> yöntemi başkalarının kullandığı uzak branch&#39;lerde işe yaramaz.</p><p>Değişiklikleri tersine çevirmek ve bu tersine çevrilmiş değişiklikleri başkalarıyla paylaşmak için git revert kullanmamız gerekir. Şimdi bunu nasıl yapacağımıza bakalım.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*i_JRdBBSGzrONBKrzCyOzQ.png" /></figure><pre>git revert HEAD;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*XrFEK18kW8zjCpf4RNCRVg.png" /></figure><h3>Remote Git</h3><h4>Git Remotes(Git Uzak Depoları)</h4><p>Git Remotes aslında o kadar da karmaşık değildir. Günümüzün bulut bilişim dünyasında, Git Remotes arkasında bir tür sihir varmış gibi düşünülebilir. Ancak gerçekte, bunlar yalnızca deponuzun başka bir bilgisayardaki kopyalarıdır. Genellikle bu diğer bilgisayarla internet üzerinden iletişim kurabilirsiniz, bu da commit’leri karşılıklı olarak aktarmanızı sağlar.</p><p>Bununla birlikte, Git Remotes’un birçok harika özelliği vardır:</p><ul><li><strong>Öncelikle, Git Remotes mükemmel bir yedekleme sağlar!</strong> Yerel git depoları dosyaları önceki bir duruma geri yükleyebilir (bunu zaten biliyorsunuz), ancak tüm bu bilgiler yalnızca yerel olarak saklanır. Git deponuzun kopyalarını başka bilgisayarlarda tutarak, tüm yerel verilerinizi kaybetseniz bile çalışmanıza kaldığınız yerden devam edebilirsiniz.</li><li><strong>Daha da önemlisi, Git Remotes kodlamayı sosyal hale getirir!</strong> Artık projenizin bir kopyası başka bir yerde barındırıldığı için, arkadaşlarınız projenize kolayca katkıda bulunabilir veya en son değişikliklerinizi alabilirler.</li><li><strong>GitHub gibi, Remotes etrafındaki etkinlikleri görselleştiren web sitelerinin kullanımı oldukça yaygın hale geldi.</strong> Ancak, bu araçların temelinde her zaman Remotes bulunur. Bu yüzden onları anlamak oldukça önemlidir!</li></ul><p>Buraya kadar <strong>Learn Git Branching</strong>, yerel depo çalışmasının temellerini öğretmeye odaklandık(dal oluşturma, birleştirme, yeniden düzenleme vb.). Ancak artık uzak depo çalışmasını öğrenmek istediğimiz için, bu dersler için ortamı hazırlayacak bir komuta ihtiyacımız var. Bu komut <strong>git clone</strong> olacak.</p><p>Gerçek dünyada, <strong>git clone</strong> komutu genellikle uzak depoların yerel kopyalarını oluşturmak için kullanılır(örneğin, GitHub’dan bir depo klonlamak için). Ancak <strong>Learn Git Branching</strong> içinde bu komutu biraz farklı kullanıyoruz. Burada, <strong>git clone aslında yerel deponuzdan bir uzak depo oluşturur</strong>. Teknik olarak bu, gerçek komutun tam tersi bir anlam taşıyor olsa da, klonlama ile uzak depo çalışması arasındaki bağlantıyı kurmanıza yardımcı olur. Bu yüzden şimdilik bu mantıkla ilerleyelim!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*UAqrw8MSHUI1_kljGajY-A.png" /></figure><pre>git clone;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*JIOQ1tDc5FLpIOdtnjOAyg.png" /></figure><p>İşte burada! Artık projemizin bir uzak deposu var.</p><h4>Git Remote Branches</h4><p>Şimdi <strong>git clone</strong> komutunu çalışırken gördüğünüze göre, aslında nelerin değiştiğine daha yakından bakalım.</p><p>İlk fark etmiş olabileceğiniz şey, yerel deponuzda <strong>o/main</strong> adlı yeni bir dalın oluşmasıdır. Bu tür dallara <strong>uzak dal (remote branch)</strong> denir. Uzak dallar özel bir amaca hizmet ettikleri için kendilerine has özelliklere sahiptir.</p><ul><li><strong>Uzak dallar, uzak depoların en son iletişim kurduğunuz andaki durumunu yansıtır.</strong></li><li><strong>Bu dallar, yerel çalışmalarınız ile genel (paylaşılan) çalışmalar arasındaki farkı anlamanıza yardımcı olur.</strong> Başkalarıyla çalışmanızı paylaşmadan önce bu farkları anlamak kritik bir adımdır.</li></ul><p>Uzak dalların özel bir özelliği vardır: <strong>Bu dalları checkout yaptığınızda (geçiş yaptığınızda), detached HEAD moduna alınırsınız.</strong> Git bunu bilerek yapar çünkü uzak dallar üzerinde doğrudan çalışamazsınız. Bunun yerine, farklı bir dalda çalışmalı ve değişikliklerinizi uzak depoya göndermelisiniz (push). Bunu yaptıktan sonra uzak dallar güncellenir.</p><p><strong>Önemli bir nokta!</strong> Uzak dallar <strong>uzak depoda değil, yerel deponuzda bulunur</strong>.</p><h4>origin/ Nedir?</h4><p>Uzak dalların başındaki <strong><em>origin/</em></strong> ifadesinin ne anlama geldiğini merak ediyor olabilirsiniz. Uzak dalların kendilerine özgü bir <strong>isimlendirme kuralı</strong> vardır ve şu formatta görüntülenirler:</p><pre>&lt;uzak depo adı&gt;/&lt;dal adı&gt;</pre><p>Bu yüzden <strong>o/main</strong> adlı bir dal gördüğünüzde:</p><ul><li><strong>Dal adı:</strong> main</li><li><strong>Uzak deponun adı:</strong> o</li></ul><p>Aslında çoğu geliştirici ana uzak depolarını <strong>origin</strong> olarak adlandırır, <strong>o değil</strong>. O kadar yaygın bir uygulamadır ki, <strong>git clone</strong> komutunu çalıştırdığınızda Git varsayılan olarak uzak deponuzu <strong>origin</strong> olarak adlandırır.</p><p>Ancak, <strong>fotoğraflarda “origin” tam adı sığmadığı için onu “o” olarak kısalttık</strong> 😞. Gerçek Git kullanımında, uzak deponuzun büyük olasılıkla <strong>origin</strong> olarak adlandırılacağını unutmayın!</p><p>Bu biraz fazla bilgi olabilir, o yüzden şimdi bunları uygulamada görelim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*VThJ5P1oSz2YTFmJphLigQ.png" /></figure><pre>git checkout o/main;<br>git commit;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*GHZKnOddXreh7m1Yq_tY3A.png" /></figure><p>Gördüğünüz gibi, Git bizi <strong>detached HEAD</strong> moduna aldı ve yeni bir commit eklediğimizde <strong>o/main</strong> dalını güncellemedi.</p><p>Bunun nedeni, <strong>o/main dalının yalnızca uzak depo güncellendiğinde güncellenmesidir</strong>. Yani yerel olarak commit eklemek <strong>uzak dalı (remote branch) etkilemez</strong>; uzak depoya bir değişiklik göndermediğiniz sürece (git push), o/main aynı kalır.</p><h4>Git Fetch</h4><p>Git uzak depolarıyla çalışmak aslında <strong>veriyi farklı depolar arasında aktarmaktan ibarettir</strong>. Commit’leri karşılıklı olarak gönderebildiğimiz sürece, Git tarafından takip edilen her türlü güncellemeyi paylaşabiliriz (yani kod, yeni dosyalar, fikirler, hatta aşk mektupları bile 😄).</p><p>Bu kısımda, <strong>uzak bir depodan veri almayı öğreneceğiz</strong>. Bunun için kullanacağımız komut oldukça mantıklı bir şekilde adlandırılmış:</p><pre>git fetch;</pre><p>Uzak depodaki güncellemeleri aldıkça, <strong>uzak dallarımız (remote branches) da bu yeni durumu yansıtacak şekilde güncellenecektir</strong>. Bu da önceki derste öğrendiğimiz <strong>uzak dalların nasıl çalıştığı</strong> konusuyla bağlantılıdır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*zc5gxu1k0npwcAo9OQc9XQ.png" /></figure><pre>git fetch;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*eQbPEasnn-nCEtO276WxBQ.png" /></figure><p>İşte bu kadar! <strong>C2 ve C3 commit’leri yerel depomuza indirildi</strong> ve <strong>uzak dalımız (o/main) bu değişiklikleri yansıtacak şekilde güncellendi.</strong></p><h4>git fetch Nedir ve Ne Yapar?</h4><p>git fetch komutu <strong>iki ana adımı</strong> gerçekleştirir ve sadece bunları yapar:</p><ul><li><strong>Uzak depoda olup da yerel depomuzda bulunmayan commit’leri indirir.</strong></li><li><strong>Uzak dalların (örneğin </strong><strong>o/main) işaret ettiği konumu günceller.</strong></li></ul><p>Özetle, <strong>git fetch yerel deponuzun uzak deponun en güncel haliyle senkronize olmasını sağlar.</strong> Ancak unutmayın, <strong>git fetch sadece güncellemeleri getirir; onları yerel dallarınıza aktarmak için </strong><strong>git merge veya </strong><strong>git pull gibi ek işlemler yapmanız gerekir.</strong></p><p>Önceki dersten hatırlarsanız, <strong>uzak dalların uzak depoların en son iletişim kurduğunuz andaki durumunu yansıttığını söylemiştik.</strong> İşte git fetch, bu uzak depolarla iletişim kurmanın yoludur!</p><p>Genellikle, <strong>git fetch internet üzerinden (HTTP veya Git protokolü gibi yollarla) uzak depo ile bağlantı kurar</strong> ve en güncel verileri çeker.</p><h4>git fetch Ne Yapmaz?</h4><p>git fetch, <strong>yerel deponuzda herhangi bir değişiklik yapmaz.</strong></p><ul><li><strong>Ana dalınızı (</strong><strong>main) güncellemez.</strong></li><li><strong>Dosya sisteminizde herhangi bir değişiklik yapmaz.</strong></li></ul><p>Bu önemli bir noktadır çünkü birçok geliştirici, git fetch komutunu çalıştırmanın yerel çalışmalarını uzak depoyla aynı hale getireceğini düşünür. <strong>Gerçekte, </strong><strong>git fetch yalnızca gerekli verileri indirir ancak dosyalarınızı veya dallarınızı değiştirmez.</strong></p><p>Özetle: <strong>git fetch bir indirme adımıdır.</strong></p><h4>Git Pull</h4><p>Artık git fetch komutuyla uzak bir depodan nasıl veri alacağımızı öğrendik. Şimdi, <strong>bu değişiklikleri yerel çalışmalarımıza nasıl yansıtacağımızı</strong> görelim!</p><p>Uzak depodan yeni commit’leri aldıktan sonra, <strong>bu commit’leri tıpkı diğer dallardaki commit’ler gibi birleştirebiliriz.</strong> Bunun için birkaç farklı komut kullanabiliriz:</p><ul><li><strong>git rebase o/main</strong> → Değişiklikleri ana dalınızın en son haliyle yeniden düzenlemek için</li><li><strong>git merge o/main</strong> → Değişiklikleri doğrudan birleştirmek için</li></ul><p>Ancak, <strong>fetch + merge işlemi o kadar yaygın bir işlemdir ki Git bunu tek bir komutla yapma imkanı sunar:</strong></p><pre>git pull</pre><p><strong>git pull, önce </strong><strong>git fetch çalıştırır ve ardından </strong><strong>git merge yaparak uzak depodaki güncellemeleri doğrudan yerel deponuza uygular.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*00AjRPgfw1t4C2vDggxvrg.png" /></figure><pre>git fetch;<br>git merge o/main;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*cqnUCAjcmHNyUqy607NjDw.png" /></figure><p><strong>Başardık! </strong>Önce <strong>git fetch</strong> komutuyla <strong>C3 commit&#39;ini indirdik</strong>, ardından <strong>git merge o/main</strong> komutuyla bu değişiklikleri ana dalımıza birleştirdik.</p><p>Şimdi <strong>main dalımız, uzak depodaki (</strong><strong>origin) en güncel çalışmayı yansıtıyor!</strong></p><h4>Aynı işlemi <strong>git pull</strong> ile yapsaydık peki ne olurdu?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*cqnUCAjcmHNyUqy607NjDw.png" /></figure><p>Aynı işlem! Bu, <strong>git pull komutunun aslında </strong><strong>git fetch + </strong><strong>git merge işlemlerinin kısayolu olduğunu</strong> çok net bir şekilde gösteriyor.</p><p><strong>git pull = </strong><strong>git fetch + </strong><strong>git merge</strong></p><p>Yani git pull çalıştırdığınızda önce uzak depodaki güncellemeleri indirir (<strong>fetch</strong>), ardından bunları ilgili dalınıza uygular (<strong>merge</strong>).</p><h4>Git Push</h4><p>Tamam, şimdiye kadar <strong>uzak depodan değişiklikleri aldık, yerel çalışmalarımıza entegre ettik.</strong> Peki, <strong>bizim harika çalışmalarımızı başkalarıyla nasıl paylaşacağız?</strong></p><p>Aslında <strong>uzak depodan değişiklik almak</strong> (git pull) ile <strong>uzak depoya değişiklik göndermek</strong> tam ters işlemlerdir. Yani, <strong>git pull&#39;un tersi nedir?</strong></p><p><strong>git push!</strong></p><h4>git push Nedir ve Ne Yapar?</h4><ul><li><strong>Yerel commit’lerinizi uzak depoya yükler.</strong></li><li><strong>Uzak depodaki ilgili dalı güncelleyerek, yeni commit’leri herkesin erişebileceği hale getirir.</strong></li><li><strong>Arkadaşlarınız ve ekip üyeleriniz artık sizin yaptığınız değişiklikleri </strong><strong>git pull ile indirebilir.</strong></li></ul><p>Bunu, <strong>çalışmalarınızı “yayınlama” komutu</strong> gibi düşünebilirsiniz.</p><h4>git push Kullanımı</h4><p>git push komutu bazı ince ayarlara sahiptir, ancak öncelikle temel kullanımını öğrenelim.</p><blockquote><strong><em>Önemli Not:</em></strong><em> </em><em>git push komutunu </em><strong><em>argümansız</em></strong><em> çalıştırdığınızda, davranışı Git&#39;in </em><em>push.default ayarına bağlıdır.</em></blockquote><ul><li>Git’in <strong>kullandığınız versiyonuna</strong> göre bu ayar değişebilir.</li><li>Bu derslerde, <strong>upstream değerini kullanacağız.</strong></li><li><strong>Kendi projelerinizde </strong><strong>git push kullanmadan önce bu ayarı kontrol etmek iyi bir fikirdir.</strong> (git config --global push.default komutuyla kontrol edebilirsiniz.)</li></ul><p>Şimdi <strong>küçük adımlarla </strong><strong>git push&#39;ı öğrenmeye başlayalım!</strong></p><p>Harika! <strong>Burada, uzak deponun henüz sahip olmadığı bazı değişikliklerimiz var.</strong> Şimdi bu değişiklikleri <strong>uzak depoya yükleyelim</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*BYMI83_ArZeuozvro12zCA.png" /></figure><p>Bunun için aşağıdaki komutu kullanacağız:</p><pre>git push</pre><p>Bu komut, <strong>yerel deponuzdaki değişiklikleri</strong> uzak depoya (örneğin origin) gönderecek ve <strong>uzak dalınızı</strong> güncelleyecektir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*MycO9-TI7Av4Ce0V-XtOnQ.png" /></figure><p>İşte bu kadar!</p><ul><li><strong>Uzak depo, C2 commit’ini aldı.</strong></li><li><strong>Uzak </strong><strong>main dalı, C2&#39;yi işaret edecek şekilde güncellendi.</strong></li><li><strong>Kendi yerel uzak dalımız (o/main) de güncellendi.</strong></li></ul><p>Şimdi her şey <strong>senkronize</strong> durumda! Yani, yerel ve uzak depolar arasındaki tüm değişiklikler birbirini yansıtıyor ve her şey uyum içinde çalışıyor.</p><h3>KAYNAKÇA</h3><ul><li><a href="https://learngitbranching.js.org/">Learn Git Branching</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e434c8be800" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript’te Temel Yapı Taşları: Önemli Kavramlar]]></title>
            <link>https://caglarbaranbora.medium.com/javascriptte-temel-yap%C4%B1-ta%C5%9Flar%C4%B1-%C3%B6nemli-kavramlar-09fb606c7fef?source=rss-3dd2e4a6720a------2</link>
            <guid isPermaLink="false">https://medium.com/p/09fb606c7fef</guid>
            <category><![CDATA[hoisting]]></category>
            <category><![CDATA[closure]]></category>
            <category><![CDATA[scopes]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Caglar Baran Bora]]></dc:creator>
            <pubDate>Mon, 24 Mar 2025 14:20:23 GMT</pubDate>
            <atom:updated>2025-03-24T14:20:23.613Z</atom:updated>
            <content:encoded><![CDATA[<p>JavaScript, web geliştirme dünyasında en yaygın kullanılan programlama dillerinden biridir. Bu yazıda, JavaScript’in temel yapı taşlarını ele alarak, dili daha iyi anlamanıza yardımcı olmayı amaçlıyorum.</p><p>Özellikle yeni başlayanlar ve web geliştirme sürecinde JavaScript bilgilerini güçlendirmek isteyenler için oldukça önemli olan bu konular, dili etkili bir şekilde kullanmanın temelini oluşturur. Gelin, JavaScript’in temel yapı taşlarını birlikte keşfedelim!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OCkRB9qlilhE9Vyj" /></figure><h3>1. Veri Tipleri (Data Types)</h3><p>JavaScript’te iki ana veri türü vardır: <strong>Primitif</strong> ve <strong>Referans</strong> tipler.</p><h3>Primitif Veri Tipleri (Değer direkt bellekte saklanır)</h3><ol><li><strong>String</strong> — &quot;Merhaba&quot;</li><li><strong>Number</strong> — 42, 3.14</li><li><strong>Boolean</strong> — true, false</li><li><strong>Undefined</strong> — Tanımlı ama değeri olmayan değişken (let a;)</li><li><strong>Null</strong> — Boş veya bilinçli olarak atanmış boş değer (let b = null;)</li><li><strong>BigInt</strong> — Büyük tam sayılar (BigInt(9007199254740991))</li><li><strong>Symbol</strong> — Benzersiz ve değişmez değerler (Symbol(&quot;id&quot;))</li></ol><h3>Referans Veri Tipleri (Bellekte referans ile saklanır)</h3><ol><li><strong>Object</strong> — { name: &quot;Ali&quot;, age: 25 }</li><li><strong>Array</strong> — [1, 2, 3, 4]</li><li><strong>Function</strong> — function greet() { console.log(&quot;Hello&quot;); }</li><li><strong>Date, RegExp, Map, Set, WeakMap, WeakSet</strong> gibi özel nesneler.</li></ol><h3>Özel Nesneler (Special Objects) Açıklamaları</h3><p>JavaScript’te Object türüne dahil olan bazı özel nesneler şunlardır:</p><h4>1. Date (Tarih ve Zaman Nesnesi)</h4><ul><li>Tarih ve saat işlemleri için kullanılır.</li><li>Milisaniye cinsinden zaman hesaplamaları yapabilir.</li><li>Tarih formatları arasında dönüştürme yapılabilir.</li></ul><p><strong>Örnek:</strong></p><pre>const now = new Date();<br>console.log(now); // Mevcut tarih ve saat<br>console.log(now.getFullYear()); // Yıl bilgisini alır<br>console.log(now.toISOString()); // ISO formatına çevirir</pre><h4>2. RegExp (Düzenli İfadeler)</h4><ul><li>Metin eşleştirme ve düzenleme için kullanılır.</li><li>test(), exec(), match(), replace() gibi metodlarla kullanılır.</li></ul><p><strong>Örnek:</strong></p><pre>const regex = /hello/i; // Büyük-küçük harf duyarsız &quot;hello&quot; araması<br>console.log(regex.test(&quot;Hello World&quot;)); // true</pre><h4>3. Map (Anahtar-Değer Saklama)</h4><ul><li>Nesneye benzerdir, ancak anahtar olarak herhangi bir veri tipini kabul eder.</li><li>set(), get(), has(), delete() gibi metodları vardır.</li></ul><p><strong>Örnek:</strong></p><pre>const myMap = new Map();<br>myMap.set(&quot;name&quot;, &quot;Ali&quot;);<br>myMap.set(1, &quot;Bir numara&quot;);<br>console.log(myMap.get(&quot;name&quot;)); // Ali<br>console.log(myMap.has(1)); // true</pre><h4>4. Set (Tekrarsız Değerler)</h4><ul><li>Aynı değeri yalnızca bir kez tutar.</li><li>add(), delete(), has() metodları vardır.</li></ul><p><strong>Örnek:</strong></p><pre>const mySet = new Set([1, 2, 3, 3, 4]);<br>console.log(mySet); // Set { 1, 2, 3, 4 }<br>mySet.add(5);<br>console.log(mySet.has(2)); // true</pre><h4>5. WeakMap &amp; WeakSet (Zayıf Referanslı Koleksiyonlar)</h4><ul><li><strong>WeakMap</strong>: Sadece object türündeki anahtarları kabul eder, bellek yönetimi açısından daha güvenlidir.</li><li><strong>WeakSet</strong>: Sadece object türünde elemanlar içerebilir, referansları bellekten otomatik olarak temizlenir.</li></ul><p><strong>Örnek (WeakMap):</strong></p><pre>const weakMap = new WeakMap();<br>let obj = { key: &quot;value&quot; };<br>weakMap.set(obj, &quot;Data&quot;);<br>console.log(weakMap.get(obj)); // Data<br>obj = null; // Bellekten temizlenir</pre><p><strong>Örnek (WeakSet):</strong></p><pre>const weakSet = new WeakSet();<br>let obj = { id: 1 };<br>weakSet.add(obj);<br>console.log(weakSet.has(obj)); // true<br>obj = null; // Bellekten temizlenir</pre><p>Bu özel nesneler, JavaScript’te daha verimli ve güvenli veri yönetimi sağlar.</p><h3>2. Scope (Kapsam)</h3><p>Bir değişkenin hangi alanlarda erişilebilir olduğunu belirler.</p><h3>Global Scope (Her yerden erişilebilir)</h3><pre>let globalVar = &quot;Ben globalim&quot;;<br>function test() {<br>    console.log(globalVar); // Çalışır<br>}<br>test();<br>console.log(globalVar); // Çalışır</pre><h3>Function Scope (Sadece fonksiyon içinde erişilebilir)</h3><pre>function myFunc() {<br>    let localVar = &quot;Ben fonksiyon içindeyim&quot;;<br>    console.log(localVar); // Çalışır<br>}<br>myFunc();<br>console.log(localVar); // Hata verir, çünkü fonksiyon dışından erişilemez</pre><h3>Block Scope (let ve const için geçerlidir)</h3><pre>{<br>    let blockVar = &quot;Ben bir blok içindeyim&quot;;<br>    console.log(blockVar); // Çalışır<br>}<br>console.log(blockVar); // Hata verir</pre><p><strong>Dikkat!</strong> var <strong>block scope&#39;a sahip değildir</strong>, yani {} içinde tanımlansa bile dışarıdan erişilebilir. Ama var <strong>function scope’a </strong>sahiptir!</p><p>Buna karşılık let ve const <strong>block scope</strong>&#39;a sahiptir, yani {} dışına çıkamazlar.</p><h3>Lexical Scope (Leksiksel Kapsam)</h3><p><strong>Lexical Scope</strong>, bir değişkenin <strong>nereden erişilebilir olduğunu</strong>, kodun <strong>yazıldığı yere (lexical structure)</strong> göre belirleyen kapsam modelidir.</p><p>Yani bir değişkenin erişim alanı, <strong>fonksiyonların iç içe geçmiş yapısına (nested functions)</strong> bağlıdır.</p><p>Bir fonksiyon tanımlandığında, <strong>o fonksiyonun nerede yazıldığı</strong> önemlidir. Fonksiyon, <strong>yazıldığı kapsamın değişkenlerine erişebilir</strong>.</p><h3>Örnek: Lexical Scope</h3><pre>function outerFunction() {<br>    let outerVariable = &quot;Ben dış fonksiyon değişkeniyim&quot;;<br>function innerFunction() {<br>        console.log(outerVariable); //Dış değişkene erişebilir<br>    }<br>    innerFunction();<br>}<br>outerFunction();</pre><p><strong>Burada </strong><strong>innerFunction, </strong><strong>outerVariable değişkenine erişebilir.</strong> Çünkü outerVariable, innerFunction&#39;ın yazıldığı kapsamdadır.</p><h3>Lexical Scope’tan Dışa Erişim Yoktur!</h3><pre>function outerFunction() {<br>    let outerVariable = &quot;Ben dış değişkenim&quot;;<br>}<br>console.log(outerVariable); // Hata: outerVariable is not defined</pre><ul><li><strong>Dıştan içe erişim mümkün değil! </strong>Fonksiyonun içindeki değişkenler <strong>sadece fonksiyon içinde erişilebilir</strong>.</li></ul><h3>İç İçe Fonksiyonlarda Lexical Scope</h3><pre>function grandParent() {<br>    let a = &quot;Ben büyükbaba değişkeniyim&quot;;<br>function parent() {<br>        let b = &quot;Ben baba değişkeniyim&quot;;<br>        function child() {<br>            let c = &quot;Ben çocuk değişkeniyim&quot;;<br>            console.log(a); //Büyükbaba değişkenine erişebilir<br>            console.log(b); //Baba değişkenine erişebilir<br>            console.log(c); //Kendi değişkenine erişebilir<br>        }<br>        child();<br>    }<br>    parent();<br>}<br>grandParent();</pre><ul><li><strong>İç fonksiyonlar dış fonksiyonların değişkenlerini görebilir.</strong></li><li><strong>Ama dış fonksiyonlar iç fonksiyonların değişkenlerini göremez.</strong></li></ul><h3>Lexical Scope ve Closure İlişkisi</h3><p>Lexical Scope, <strong>Closure’ın temelini oluşturur</strong>. Closure sayesinde bir iç fonksiyon, dış fonksiyonun değişkenlerini <strong>saklamaya devam eder</strong>.</p><pre>function outerFunction() {<br>    let count = 0;<br>return function innerFunction() {<br>        count++;<br>        console.log(count);<br>    };<br>}<br>const counter = outerFunction();<br>counter(); // 1<br>counter(); // 2<br>counter(); // 3</pre><ul><li>Burada innerFunction, <strong>lexical scope sayesinde </strong><strong>count değişkenine erişebiliyor</strong> ve <strong>closure sayesinde değerini saklıyor</strong>.</li></ul><h3>3. Hoisting (Yukarı Taşıma)</h3><p>JavaScript, değişken ve fonksiyon bildirimlerini derleme aşamasında en üste taşır.</p><h3>Hoisting ile Fonksiyonlar</h3><pre>sayHello();<br>function sayHello() {<br>    console.log(&quot;Merhaba!&quot;);<br>}</pre><p><strong>Fonksiyonlar yukarı taşınır, bu yüzden hata vermez.</strong></p><h3>Hoisting ile Değişkenler</h3><pre>console.log(x); // undefined (Hata vermez)<br>var x = 10;</pre><p><strong>var değişkenleri hoist edilir ancak değeri </strong><strong>undefined olur. </strong>Bunun sebebi hosting işlemi sırasında sadece değişken veya fonksiyon hoist edilir. Sonuç olarak değişkenin bir değeri atanmamış olarak görüneceğinden <strong>undefined </strong>çıktısı normaldir.</p><pre>console.log(y); // Hata verir!<br>let y = 20;</pre><p><strong>let ve </strong><strong>const değişkenleri hoist edilir ancak başlangıç değeri atanmadığı için hata verir.</strong></p><h3>4. let, const ve var Farkları</h3><ol><li><strong>Scope (Kapsam)</strong></li></ol><ul><li>var: Function Scope</li><li>let: Function Scope &amp; Block Scope</li><li>const: Function Scope &amp; Block Scope</li></ul><p><strong>2. Hoisting (Yukarı Taşıma)</strong></p><ul><li>var: Evet (Değeri undefined olur)</li><li>let: Evet (Ama hata verir)</li><li>const: Evet (Ama hata verir)</li></ul><p><strong>3. Reassign (Tekrar Atama)</strong></p><ul><li>var: Evet</li><li>let: Evet</li><li>const: Hayır (İlk atamanın ardından değişmez değerler için kullanılır.)</li></ul><h3>5. Type Coercion (Tip Dönüşümü)</h3><p>JavaScript otomatik olarak bazı türleri dönüştürür.</p><pre>console.log(5 + &quot;5&quot;); // &quot;55&quot; (String)<br>console.log(&quot;5&quot; - 2); // 3 (Number)<br>console.log(&quot;5&quot; * &quot;2&quot;); // 10 (Number)<br>console.log(0 == false); // true (Tip dönüşümü nedeniyle)<br>console.log(0 === false); // false (Tip dönüşümü yok)</pre><h3>6. Closures (Kapatmalar)</h3><p>Bir iç fonksiyonun dış fonksiyonun değişkenlerine erişebilmesini sağlar.</p><pre>function outerFunction(outerValue) {<br>    return function innerFunction(innerValue) {<br>        console.log(`Outer: ${outerValue}, Inner: ${innerValue}`);<br>    };<br>}<br>const closureExample = outerFunction(&quot;Dış Değer&quot;);<br>closureExample(&quot;İç Değer&quot;);</pre><p>Bu özellik, <strong>veri kapsülleme (data encapsulation)</strong> ve <strong>özel değişkenler (private variables)</strong> oluşturmak için kullanılır.</p><h3>7. Callback ve Asenkron JavaScript</h3><p>JavaScript tek iş parçacıklı (single-threaded) olduğundan <strong>asenkron programlama</strong> önemlidir.</p><h3>Callback Fonksiyonlar</h3><pre>function processData(callback) {<br>    console.log(&quot;Veri işleniyor...&quot;);<br>    callback();<br>}<br>processData(() =&gt; console.log(&quot;İşlem tamamlandı!&quot;));</pre><h3>Promise (Daha Temiz Asenkron İşlemler)</h3><pre>const fetchData = new Promise((resolve, reject) =&gt; {<br>    let success = true;<br>    setTimeout(() =&gt; {<br>        success ? resolve(&quot;Veri alındı!&quot;) : reject(&quot;Hata oluştu!&quot;);<br>    }, 2000);<br>});<br><br>fetchData<br>    .then(data =&gt; console.log(data))<br>    .catch(error =&gt; console.error(error));</pre><h3>Async — Await (Daha Kolay Okunabilir Asenkron İşlemler)</h3><pre>async function getData() {<br>    try {<br>        let response = await fetchData;<br>        console.log(response);<br>    } catch (error) {<br>        console.error(error);<br>    }<br>}<br>getData();</pre><h3>Bağlantılar</h3><ul><li><a href="https://www.linkedin.com/in/caglarbaranbora/">LinkedIn — Caglar Baran Bora</a></li><li><a href="https://github.com/caglarbaranbora">GitHub — Caglar Baran Bora</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09fb606c7fef" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>