<?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 Faik Özcan on Medium]]></title>
        <description><![CDATA[Stories by Faik Özcan on Medium]]></description>
        <link>https://medium.com/@ozcanf?source=rss-2cfd17cc027e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pvRmEXdh1D_oFsN9.jpg</url>
            <title>Stories by Faik Özcan on Medium</title>
            <link>https://medium.com/@ozcanf?source=rss-2cfd17cc027e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 18:40:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ozcanf/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[The Serving Thread: A Software Architect’s Guide to Threading in .NET]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">How your code actually works behind &#x2014; told through a restaurant metaphor that finally makes it click.</p><p class="medium-feed-link"><a href="https://ozcanf.medium.com/the-serving-thread-a-software-architects-guide-to-threading-in-net-7eaaa6375d03?source=rss-2cfd17cc027e------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ozcanf.medium.com/the-serving-thread-a-software-architects-guide-to-threading-in-net-7eaaa6375d03?source=rss-2cfd17cc027e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7eaaa6375d03</guid>
            <dc:creator><![CDATA[Faik Özcan]]></dc:creator>
            <pubDate>Sun, 06 Sep 2026 10:56:22 GMT</pubDate>
            <atom:updated>2026-09-06T10:56:22.641Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to make transactions on decentralized exchanges]]></title>
            <link>https://ozcanf.medium.com/how-to-make-transactions-on-decentralized-exchanges-607d20847043?source=rss-2cfd17cc027e------2</link>
            <guid isPermaLink="false">https://medium.com/p/607d20847043</guid>
            <category><![CDATA[metamask]]></category>
            <category><![CDATA[blockchain-network]]></category>
            <category><![CDATA[centralized-exchange]]></category>
            <category><![CDATA[decentralized-exchange]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[Faik Özcan]]></dc:creator>
            <pubDate>Mon, 01 Nov 2021 21:29:23 GMT</pubDate>
            <atom:updated>2021-11-01T21:29:23.157Z</atom:updated>
            <content:encoded><![CDATA[<p>We don’t have to use centralized exchanges for crypto exchanges, actually we better not to use them so much.</p><p><strong>A block-chain network </strong>is a block-chain infrastructure which is designed to allow its members to communicate and synchronize by using its own protocols. There are several block-chain networks such as Etherium, Bitcoin, Avalanche etc.</p><p><strong>Centralized exchange (CEX)) </strong>is a market which has a direct owner that helps to conduct exchange operations. It is a place where people trust and hold assets of its customers on behalf. These markets are under the regulations of central governments. Conversion of fiat currencies such as USD, EUR, TRY to crypto assets such as BTC, ETH, AVAX are done within these exchanges. When we buy an asset from a centralized exchange, we are not the real owner of the asset on block-chain network, the exchange holds/saves/sends it for us, even we don’t know if the exchange bought the asset or we are the part of some pool of assets. To be fast enough, transactions are not done in block-chain network concurrently when we buy an asset.</p><p><strong>Decentralized exchange (DEX) </strong>is a market where we can exchange tokens by directly signing transactions with private keys of our wallets. In this exchange all transactions are directly realized in the block-chain networks, nobody holds assets for you.</p><p><strong>A crypto wallet</strong> is a software running on your computer or a physical device, that keeps your private and public key pairs, and communicates/interacts with the blockchain networks. When you want to make a transaction, your wallet signs it and sends the transaction to the related network which you are making the transaction. Your wallet also allows you to receive coins or see your coin balances.</p><p>One of the most popular software wallets is metamask. It is a browser extension which can interact with decentralized exchanges. It also has mobile applications for android and ios. In its mobile applications, it has own browser to provide interactions with platforms.</p><p><strong>Metamask </strong>allows us to communicate with different block-chain networks such as avalanche, etherium, polygon etc.</p><p>Now, the definitions are ok. Let’s dive into the details of cex/dex operations.</p><p>In <strong>CEX</strong>, usually the following flow occurs when we want to buy crypto currency.</p><ol><li>Login to CEX with your account using mail adress, phone number etc.</li><li>Transfer fiat currency from your bank account to a centralized exchange’s bank account such as Binance.</li><li>Wait for transfer to be confirmed.</li><li>Buy a coin with the transferred amount.</li><li>Exchange with other coins if you want.</li><li>Trust Binance and wait until you get rich :)</li></ol><p>When using <strong>DEX</strong>, assuming that you are using Metamask as a crypto wallet the <strong>usual </strong>operations are :</p><ol><li>Transfer fiat currency from your bank account to a centralized exchange such as Binance</li><li>Buy a coin (at this point you also decided on which block-chain network you are investing in)</li><li>Open metamask, select the block-chain network of the coin that you want to transfer (you should know on which block-chain network it runs), click to your account and copy your public key (your crypto address)</li><li>Open your CEX(in this scenario Binance) account, select coin, Go to withdrawal menu in the CEX, select the network to transfer (this is the network that you copied your public address at 3rd step). Paste the copied public key to your withdrawal adress, confirm transaction.</li><li>Open metamask, you should be able to see your asset in your wallet. According to different blockchain speeds, this can take different amount of time.</li><li>With metamask browser, open a DEX platform according to the network you want to make exchanges. Exchange will ask you to connect your metamask account, allow it.</li><li>Go to swap menu (usually swap menu is used, but it can change according to the DEX you are operating with)</li><li>Exhange will show your balances when you select a coin to exchange with another coin. Define the pair, define the amount to be exchanged, then confirm.</li><li>Wait until the transaction completes.</li><li>Exchanged coins will be seen on your wallet.</li><li>Trust <strong>yourself, w</strong>ait until you get rich!</li></ol><p>Note : Don’t forget to store your private keys.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=607d20847043" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[İnternet reklamcılığına yeni bir boyut kazandıran proje : Brave]]></title>
            <link>https://ozcanf.medium.com/i%CC%87nternet-reklamc%C4%B1l%C4%B1%C4%9F%C4%B1na-yeni-bir-boyut-kazand%C4%B1ran-proje-brave-431542ba8271?source=rss-2cfd17cc027e------2</link>
            <guid isPermaLink="false">https://medium.com/p/431542ba8271</guid>
            <category><![CDATA[ads]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[browsers]]></category>
            <category><![CDATA[brav]]></category>
            <category><![CDATA[braves]]></category>
            <dc:creator><![CDATA[Faik Özcan]]></dc:creator>
            <pubDate>Sun, 11 Apr 2021 21:15:13 GMT</pubDate>
            <atom:updated>2021-04-30T16:22:10.009Z</atom:updated>
            <content:encoded><![CDATA[<h3>İnternet reklamcılığına yeni bir boyut kazandıran proje : Brave</h3><p>Blockchain teknolojisi ile ortaya çıkan projelerin sayısının artmaya başladığı günlerde, dikkatimi çeken ve işe yarayabilecek bir ürüne dönüşen az sayıda projeden bir tanesi olan Brave projesi ile ilgili sizlerle biraz bilgi paylaşmak istiyorum.</p><p>Son zamanlarda farkındalık kazanmaya başlayan bu projeyi epey bir zamandır takip ediyorum ve bence henüz hak ettiği değeri gördüğü noktaya gelmedi.</p><p><strong>Brave</strong> JavaScript’in mucidi ve <strong>Mozilla &amp; Firefox</strong>’un kurucularından olan <strong>Brendan Eich</strong> liderliğinde geliştirilmiş bir browser’dır.</p><p>Kullanıcılara daha hızlı, güvenlik ve gizliliği ile ön planda olan bir browser deneyimi yaşatırken, gösterilen reklamlar için kullanıcıların ödüllendirilmesini sağlayan bir yapı sunuyor. Aynı zamanda içerik sağlayıcıların da desteklenebilmesini amaçlayan bir ekosistem oluşturmayı hedefliyor.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FkLiLOkzLetE&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkLiLOkzLetE&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FkLiLOkzLetE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/99131c7aaa7fa4f0d2c682bbd6f4b018/href">https://medium.com/media/99131c7aaa7fa4f0d2c682bbd6f4b018/href</a></iframe><p>Bu ekosistem ile, kullanıcıların gizlilik arz eden verilerini toplamadan veya bunları bir merkeze göndermeden, client bilgisayarlarda çalışan ve belirli aralıklarla sunuculardan güncellenen makine öğrenmesi modelleri ile kullanıcılara hangi reklamların gösterileceği belirleniyor. Gösterilen reklamlara istinaden belirli aralıklarla <strong>BAT</strong> token olarak ödeme yapılıyor.</p><p>Projenin bir parçası olan <strong>Brave </strong>browser, reklam kalkanı sayesinde, kurulumunu yaptığınız andan itibaren sayfalardaki hiçbir reklamı kullanıcılara göstermiyor (isterseniz kapatabiliyorsunuz), aynı zamanda sizi izleyebilecek çerezleri, scriptleri, rahatsız edebilecek popupları engelliyor, girdiğiniz siteler destekliyor ise bağlantılarınızı https e upgrade ederek data alışverişinizi güvenli hale getirebiliyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*-00fsW3nCPJNqHzpYLqJ_Q.png" /></figure><p>Bu kalkanlar sayesinde reklamların yüklenmemesinin de verdiği avantaj ile sayfaları çok hızlı bir şekilde açabiliyor.</p><p>Brave.com’da bununla ilgili bir hız testi paylaşılmış, chrome ve firefox a göre 3x-6x daha hızlı olduğu iddia ediliyor.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fqgl7FLh7QsA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dqgl7FLh7QsA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fqgl7FLh7QsA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0add3677790bfaac94ffe2991002a2fc/href">https://medium.com/media/0add3677790bfaac94ffe2991002a2fc/href</a></iframe><p>Brave’i epey bir zamandır deneyimlemiş birisi olarak söylüyorum ki, burada iddia edilen hızlar gerçekçi gibi görünüyor, browser’ı ilk kullandığınız gün bu hız farkını hissediyorsunuz.</p><p>Bu sistemin en önemli özelliklerinden birisi, sayfadaki reklamları göstermediği gibi, kendi reklam havuzu içerisinden gösterdiği reklamlara istinaden ayda bir BAT token olarak ödeme yapıyor olması. Sayfalardaki içerik ile iç içe geçmiş olan reklamlarla alakası olmayan bu reklamlar, belirli aralıklarla popup şeklinde bir köşede size gösteriliyor. Göreceğiniz reklamların sayısını ve sıklığını browser ayarlarından değiştirebiliyorsunuz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ToSP9rLqtumnPvSjYHPXmg.png" /><figcaption>Brave’de gösterilen bir reklam</figcaption></figure><p>Mesela saatte 5 reklam göreyim diyorsanız Brave Ads ayarlarından aşağıdaki şekilde ayarlıyorsunuz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*FZ8NHnakQlHlvPO3bWXjkg.png" /></figure><p>Sistemin ödeme aracı olarak kullandığı BAT token, aslında Ethereum tabanlı bir ERC20 token, Brave browser ı indirdiğinizde bu token a ait bir cüzdan adresi oluşturuluyor. Siz browserda zaman geçirdikçe ve sistem üzerinden gelen reklamları gördükçe bu cüzdana gönderilen tokenlar ile ödüllendiriliyorsunuz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*L5cAHRWDlfpfn-nwgpYhtg.png" /><figcaption>Adres çubuğunun sağ tarafındaki üçgene tıkladığınızda görünen, Brave ile kazandığınız BAT bilgileri</figcaption></figure><p>Peki bize gönderilen bu BAT’lar ile ne yapıyoruz?</p><p>Bunları Brave tarafından doğrulanmış içerik üreticilerine bahşiş olarak göndermek için kullanabiliyorsunuz, mesela bir sitede geziniyorsunuz, sitenin içeriği çok hoşunuza gitti, içeriği üretenlere teşekkür edebilmek için bir bahşiş gönderme imkanınız var, tabi ilgili sitenin “Brave Verified Content Creator” olarak doğrulanmış olması gerekiyor. (Content creator’lar için bu doğrulamayı yapmak çok zor değil)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*uMP5pmpWl9UouuK_wMzqxw.png" /></figure><p>Sistemde “<strong>Uphold</strong>” cüzdanı desteği bulunuyor . Brave browser üzerinden cüzdanınıza ait doğrulamayı yaptıktan sonra, burada biriken BAT’lar cüzdanınıza aktarılıyor. Uphold üzerinden belirli bir borsaya vs. transfer edip nakite çevirebilirsiniz.</p><p>BAT token’lar ile yakın zamanda web’de gezinirken premium content satın alınabilecek bir noktaya geleceğini belirtiyorlar ki bu crypto currency dünyasının gittiği noktada bu tarz gelişmeleri zaten bekliyoruz.</p><p>Bana şu ana kadar Brave kullandığım için ve reklamları gördüğüm için bir miktar BAT gönderildi. Uphold hesabımı Browser’a tanıttıktan sonra doğrudan cüzdanıma aktarıldı. Uphold cüzdanımdan bir görüntüyü sizinle paylaşayım:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*8n0lG3Ed_2B9sEZ3BTLXRw.png" /></figure><p>Güzel olan şu ki, hem reklamları engelliyor, gizliliği koruyor, daha hızlı bir browser deneyimi yaşatıyor, hem de bunlar için kullanıcılara ödeme yapıyor.</p><p>Aşağıdaki linkten indirip kullanmaya başlayabilirsiniz:</p><p><a href="https://brave.com/">Secure, Fast &amp; Private Web Browser with Adblocker | Brave Browser</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=431542ba8271" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Publishing A NodeJS Application On A Linux Machine By Using NGINX]]></title>
            <link>https://ozcanf.medium.com/publishing-a-nodejs-application-on-a-linux-machine-by-using-nginx-76661f1adcd9?source=rss-2cfd17cc027e------2</link>
            <guid isPermaLink="false">https://medium.com/p/76661f1adcd9</guid>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[application-hosting]]></category>
            <category><![CDATA[publishing]]></category>
            <category><![CDATA[linux-web-server]]></category>
            <dc:creator><![CDATA[Faik Özcan]]></dc:creator>
            <pubDate>Thu, 14 Jan 2021 22:44:01 GMT</pubDate>
            <atom:updated>2021-04-03T13:09:46.941Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Publishing A NodeJS Application On A Linux Machine By Using NGINX</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*2T2XwqNSmiL2ML9gJ7Kh2g.png" /><figcaption>nginx acting as a proxy</figcaption></figure><p>In this article, i will try to explain how we can publish a nodejs application on linux server using nginx.</p><p>The server will be listening some ports to get requests from clients and also our application which will be running with nodejs, also need some ports to listen.</p><p>The default port number is 80 for http requests.</p><p>Clients reach web application by writing only hostname not by ip address and port number of our application. (Assume that it has a hostname like example.com)</p><p>The first option is to directly hosting application by listening the port 80, but this has some disadvantages. If the server directly listens port 80 for our application, this port become bounded to example.com and if we want to host another web application, like otherdomain.com, then we will not be able to use port 80 because it is already bounded to example.com.</p><p>As an option, we can host it with another port like 81 but at this point we need to access it by specifying the port number after the hostname like otherdomain.com:81</p><p>At this point, we understand that we need something behaving like a proxy and redirecting all our requests coming to 80 port with the a hostname, to the related application which is running at another port number.</p><p>In this example our nodejs application example.com will be running at port 8081.</p><p>The user will get to the application by writing http://example.com from the browser.</p><p>At first, this request will be sent to our server, assuming that no web server is running on the machine, there will be no application listening port 80, so the request will be rejected.</p><p>To solve the problem we need an http server setup. Also will use this http server to act as a proxy. This can be any web server application like apache, nginx, or something else. In this example we will use nginx.</p><p>Nginx will listen 80 port and it will forward the traffic to another port on the same server with a virtual host configuration.</p><p>I will try to explain how to configure it with linux commands on Centos. Node that all off the commands must run in superuser mode.</p><p><strong>So first change the user to su:</strong></p><blockquote>sudo su</blockquote><p>First we should install nginx to our server. In Centos you can use it by using epel repo. You can get epel repo by typing:</p><pre>yum -y update</pre><pre>yum -y install epel-release</pre><p><strong>Then install nginx and start service</strong></p><pre>yum install nginx</pre><pre>systemctl start nginx</pre><p><strong>Now you can try reaching the localhost by getting the page :</strong></p><pre>curl <a href="http://localhost/">http://localhost/</a></pre><p>If you get the 404 page not found your nginx server is working.</p><p>After we installed nginx, we will make some configuration under the nginx.conf.d which is located at /etc/nginx</p><pre>cd /etc/nginx/conf.d</pre><p>Create a file, starting with the same name as your domain. In our case we will create example.com.conf</p><blockquote>nano example.com.conf</blockquote><blockquote>server {<br> server_name example.com www.example.com;<br> location /<br> {<br> proxy_pass <a href="http://127.0.0.1:8081/">http://127.0.0.1:8081</a>;<br> }</blockquote><blockquote>}</blockquote><p>After editing save and exit by CTRL+O and CTRL X</p><p>After making this setting you should restart nginx, you can restart it by the following command:</p><pre>systemctl restart nginx</pre><p>After this operation, when a client request example.com, it will be redirected to port 8081, and the nodejs app will catch the request from this port.</p><p>Now you can try to reach the page by your browser.</p><p>If you are getting and error like “502 Bad GateWay Error” this maybe related to your security settings. If selinux is enabled on your linux environment. You can try to disable it.</p><p>To make this setting :<br>Open the /etc/selinux/config file</p><pre>nano /etc/selinux/config</pre><p>set the SELINUX mod to disabled and save the file and reboot your system with:</p><pre>shutdown -r now.</pre><p>Once the system boots up, verify the change with the sestatus command:</p><pre>sestatus.</pre><p>The output should look like this: SELinux status: disabled.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76661f1adcd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>