<?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 Md. Tanjil Bhuiyan on Medium]]></title>
        <description><![CDATA[Stories by Md. Tanjil Bhuiyan on Medium]]></description>
        <link>https://medium.com/@tanjilbhuiyan?source=rss-cebaea3b91b2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_K0amKfCJzWWeS58dXRpYA.jpeg</url>
            <title>Stories by Md. Tanjil Bhuiyan on Medium</title>
            <link>https://medium.com/@tanjilbhuiyan?source=rss-cebaea3b91b2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 06:02:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tanjilbhuiyan/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[A Modern Arch Linux Installation Guide Using archinstall + Niri WM -Part-1]]></title>
            <link>https://tanjilbhuiyan.medium.com/a-modern-arch-linux-installation-guide-using-archinstall-niri-wm-part-1-c5ab6d5371dc?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5ab6d5371dc</guid>
            <category><![CDATA[niri]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[arch-linux]]></category>
            <category><![CDATA[window-manager]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Thu, 04 Dec 2025 14:04:46 GMT</pubDate>
            <atom:updated>2025-12-04T14:04:46.954Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve been in the Linux world for more than five minutes, you’ve probably heard that classic line: <strong>“BTW, I use Arch.”</strong> It’s almost a meme at this point — and for good reason. Arch has always had this reputation for being powerful, customizable, and… well, a bit of a project to install.</p><p>But honestly, things have changed.</p><p>These days we have <a href="https://github.com/archlinux/archinstall"><strong>archinstall</strong></a>, a guided installer that makes the whole process so much easier. And the cool part? It’s not just an installer. It also works as a <strong>Python library</strong>, so it can install Arch, manage packages, configure services, and tweak your system right from the live environment.</p><p>First , Download the <a href="https://archlinux.org/download/"><strong>Arch ISO</strong></a><strong> </strong>and<strong> </strong>make a bootable USB drive using <a href="https://etcher.balena.io/"><strong>Balena Etcher</strong></a> which , you can use to boot into Arch Linux installation.</p><p>The first screen which we will see when boot from USB is like below. You may see a different screen if it does not support UEFI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*CY5PHdBwztA5dJFEDQZsrA.png" /></figure><p>It will load the ISO into RAM and give you a shell. <br>If you are installing in desktop with a LAN connection, try checking internet connection using ping google.com. But if you are installing Arch linux in laptop and does not have a LAN connection, only WIFi, you will need to configure it by <a href="https://man.archlinux.org/man/iwctl.1"><strong>iwctl</strong></a>.</p><p>Write “<strong>archinstall</strong>” and <strong>Enter</strong> and we will see menu like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*OCeCY8TLLIIIEtpC385aUg.png" /></figure><p>We will focus on couple of points in the menu:</p><ol><li>Mirrors and repositories</li><li>Disk configuration</li><li>Authentication</li><li>Profile</li><li>Applications</li><li>Kernels</li><li>Network configuration</li><li>Timezone</li></ol><h3>Mirrors and Repositories</h3><p>This is where you choose where your Arch packages will be downloaded from. Picking faster, local mirrors can speed up the installation a lot. Most users just select their region.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fuTs2UmpHoyZMeQl4GppDA.png" /></figure><h3>Disk Configuration</h3><p>This is the most important part of the installer — this is where you decide <strong>which disk Arch will be installed on</strong> and how it will be partitioned. Fortunately <strong>archinstall</strong> makes it super easy. From <strong>Disk configuration &gt; Partitioning, Disk configuration &gt; Lvm.</strong></p><p>We will <strong>Use a best effort default partition layout , </strong>use<strong> compression. </strong>We will <strong>BTRFS, </strong>a<strong> Copy-on-write </strong>filesystem. You can choose other filesystem if you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*glZvuhSH0JTpbU8hgqj8Xw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s9CTlXeA7WmO6xGR-I3T8Q.png" /></figure><h3>Authentication</h3><p>Here you’ll set up your <strong>root password</strong>, create a <strong>user account</strong>, and decide whether your user should have <strong>sudo</strong> access. Pretty simple, but definitely important.</p><h3>Profile</h3><p>This is where things get interesting. <a href="https://github.com/archlinux/archinstall"><strong>archinstall</strong></a><strong> </strong>comes with different <strong>system profiles</strong>—like “Minimal”, “Desktop”, “Server”. Each profile pre-selects some basic tools or settings to save you time.</p><p>For Desktop, you will see many options to choose from like <strong>Gnome, KDE, Hyprland</strong> etc. There are many you can choose from. We will choose <a href="https://github.com/YaLTeR/niri"><strong>Niri</strong></a><strong>.</strong></p><p>If you want , you can choose “Minimal” and install Niri later.</p><p>In our case, we’ll install <strong>Niri</strong> from “Desktop” . You can see below what pkg will be installed if we choose <strong>Niri.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Byg4asQk3-KsFBsOzcpAsg.png" /></figure><p>Niri will need to access seat ( Collection of hardware devices i.e. mouse, keyboard etc. ), so we will need to choose from <strong>polkit</strong> vs <strong>seatd</strong>.</p><p><strong>polkit:</strong> A tool that controls what actions a user or app is allowed to do, mainly for permissions and elevated access in desktop systems.</p><p><strong>seatd:</strong> A small service that lets Wayland compositors access input devices (keyboard, mouse) and graphics hardware without relying on systemd.</p><p>They are not exactly same. <strong>seatd is the better choice for Niri</strong> because it’s lightweight, simple, and designed specifically to give Wayland compositors direct access to input devices and graphics hardware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EXpRI3GdwAT036CXK_MfSQ.png" /></figure><p>For Graphics , choose based on your hardware. By default, it will choose, All OSS driver. But you can choose AMD OSS, or NVDIA OSS driver also.</p><h3>Applications</h3><p>In applications, you will find audio and bluetooth setup option. <br><strong>Audio:</strong> In audio section you will see option to select Pulseaudio or pipewire. PipeWire is a <strong>unified multimedia server</strong> that replaces both PulseAudio and JACK, offering better performance and more features while maintaining compatibility. Pulsaudio handles audio only, while pipewire Handles <strong>audio AND video</strong> streams. We will choose pipewire.</p><p><strong>Bluetooth:</strong> In bluetooth section, you will be able to find the option to enable bluetooth. i would recommend you enable it.</p><h3>Kernels</h3><p>Arch allows you to choose which Linux <a href="https://wiki.archlinux.org/title/Kernel"><strong>kernel</strong></a> to install:</p><ol><li><strong>linux</strong> — the default, stable kernel</li><li><strong>linux-lts</strong> — long-term support, more stability</li><li><strong>linux-zen</strong> — optimized for performance and desktop use</li><li><strong>linux-hardened</strong> — security-focused</li></ol><p>We can choose multiple like <strong>Linux</strong> and <strong>Linux LTS</strong>, or <strong>Linux Zen </strong>etc. We can choose multiple if we want.</p><h3>Network Configuration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EolRIOOKcpgtTIxsUz9h0A.png" /></figure><p>In network configuration, we will see 3 option. Normally, when we use Gnome or KDE desktop environment, its suggested to use Network Manager.</p><p>We will choose manual configuration and in Manual configuration, we will have to select interface and the DHCP or Static mode. Or we can choose Networkmanager.</p><p>The last past is to proceed the installation. After Installation , Reboot.</p><p>That’s it. You should now have a working installation of Arch linux with Niri window manager.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5ab6d5371dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitor EC2 Instances with AWS CloudWatch Agent]]></title>
            <link>https://tanjilbhuiyan.medium.com/monitor-ec2-instances-with-aws-cloudwatch-agent-e483cbe20ea9?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e483cbe20ea9</guid>
            <category><![CDATA[cloudwatch]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Wed, 12 Nov 2025 21:46:21 GMT</pubDate>
            <atom:updated>2025-11-12T21:46:21.286Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to monitoring EC2 instances, AWS CloudWatch is one of those tools you <em>can’t afford to skip</em>. It gives you deep visibility into your system metrics, logs, and overall performance — helping you catch issues before they impact your users.</p><p>While EC2 provides some basic metrics out of the box (like CPU utilization and network activity), you’ll often need <strong>more detailed insights</strong> — such as memory usage, disk space, or custom application metrics. That’s where the <strong>CloudWatch Agent</strong> comes in.</p><p>In this guide, we’ll walk you through how to install and configure the CloudWatch Agent on your linux EC2 instances step by step.</p><p><strong>First Step:</strong></p><p>Assuming we have a working machine with Amazon Linux 2023 EC2, the first thing we will do is to create a IAM role and assign it to EC2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ss630w59N0ba97JZ9kOXCg.png" /><figcaption>Running EC2 Machine</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tRSwdfI-Ry4S2AnGJhA1mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8w4GU7NjwbrCpVfgVNVFiw.png" /></figure><p>Create IAM role for EC2 with “CloudWatchAgentServerPolicy” and “AmazonSSMManagedInstanceCore”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1JHBBf5E7qqw6Zp46CKzVQ.png" /></figure><p>Go to EC2 dashboard, Security &gt; Modify IAM Role and select the created role. Then Stop and Start the machine. This is for the SSM to work properly. Not related to our goal but it will help us to connect to EC2 from AWS Console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GpqV1ynn2YTHl-GTLCaOhg.png" /></figure><p>Next, we will check the “Configure Cloudwatch agent”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lap8bfSSkiV60hGhPunfAg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C0N8DWkeySTJbi0RHz5zRw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JnS0fngl8Lm2voIOhlfSeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4So4Yp91KnYvbwJfmOidXg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zfixu5MdYPfS6kwSrzvtGQ.png" /></figure><p>We will install the Cloudwatch Agent in the EC2. We can connect using SSH or using SSM Manager. We will install “amazon-cloudwatch-agent” and “collectd” package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N1r3DLZqAMyNAd8T2dBAwQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Pe0dkYI16To09GByYiQtg.png" /></figure><p>Then we will start the wizard to generate the config file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6O4poOx2_-ikLMTPkeqttw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PcV54CVs2amgim3MIylOFw.png" /></figure><p>One important thing, we will select “Advance” when we select type of monitoring. Then we will fetch the config and start the agent by below commands.</p><pre>/opt/aws/amazon-cloudwatch-agent/bin/config.json<br>[ec2-user@ip-172–31–10–70 bin]$ pwd<br>/opt/aws/amazon-cloudwatch-agent/bin<br>[ec2-user@ip-172–31–10–70 bin]$ sudo ./amazon-cloudwatch-agent-config-wizard<br>[ec2-user@ip-172–31–10–70 bin]$ pwd<br>/opt/aws/amazon-cloudwatch-agent/bin<br>[ec2-user@ip-172–31–10–70 bin]$ sudo amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c file:/opt/aws/amazon-cloudwatch-agent/bin/config.json</pre><pre><br>[ec2-user@ip-172-31-10-70 bin]$ pwd<br>/opt/aws/amazon-cloudwatch-agent/bin<br>[ec2-user@ip-172-31-10-70 bin]$ sudo amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c file:/opt/aws/amazon-cloudwatch-agent/bin/config.json<br>****** processing amazon-cloudwatch-agent ******<br>2025/11/12 20:30:45 Starting config-downloader, this will map back to a call to amazon-cloudwatch-agent<br>2025/11/12 20:30:45 Executing /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent with arguments: [config-downloader -multi-config default -mode ec2 -download-source file:/opt/aws/amazon-cloudwatch-agent/bin/config.json -output-dir /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.d -config /opt/aws/amazon-cloudwatch-agent/etc/common-config.toml]<br>I! Trying to detect region from ec2 D! [EC2] Found active network interface I! imds retry client will retry 1 times<br>Start configuration validation...<br>2025/11/12 20:30:45 Starting config-translator, this will map back to a call to amazon-cloudwatch-agent<br>2025/11/12 20:30:45 Executing /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent with arguments: [config-translator -output /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.toml -mode ec2 -config /opt/aws/amazon-cloudwatch-agent/etc/common-config.toml -multi-config default -input /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json -input-dir /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.d]<br>2025/11/12 20:30:45 Reading json config file path: /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.d/file_config.json.tmp ...<br>2025/11/12 20:30:45 I! Valid Json input schema.<br>2025/11/12 20:30:45 D! ec2tagger processor required because append_dimensions is set<br>2025/11/12 20:30:45 D! ec2tagger processor required because append_dimensions is set<br>2025/11/12 20:30:45 D! delta processor required because metrics with diskio or net are set<br>2025/11/12 20:30:45 D! ec2tagger processor required because append_dimensions is set<br>2025/11/12 20:30:45 Configuration validation first phase succeeded<br>I! Trying to detect region from ec2<br>D! [EC2] Found active network interface<br>I! imds retry client will retry 1 times<br>/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent -schematest -config /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.toml<br>Configuration validation second phase succeeded<br>Configuration validation succeeded<br>amazon-cloudwatch-agent has already been stopped<br>Created symlink /etc/systemd/system/multi-user.target.wants/amazon-cloudwatch-agent.service → /etc/systemd/system/amazon-cloudwatch-agent.service.<br>[ec2-user@ip-172-31-10-70 bin]$ sudo amazon-cloudwatch-agent-ctl -a start<br><br>****** processing amazon-cloudwatch-agent ******<br>amazon-cloudwatch-agent has already been started<br>[ec2-user@ip-172-31-10-70 bin]$ sudo systemctl status amazon-cloudwatch-agent.service<br>● amazon-cloudwatch-agent.service - Amazon CloudWatch Agent<br>     Loaded: loaded (/etc/systemd/system/amazon-cloudwatch-agent.service; enabled; preset: disabled)<br>     Active: active (running) since Wed 2025-11-12 20:30:46 UTC; 1min 9s ago<br>   Main PID: 26249 (amazon-cloudwat)<br>      Tasks: 8 (limit: 2205)<br>     Memory: 54.4M<br>        CPU: 672ms<br>     CGroup: /system.slice/amazon-cloudwatch-agent.service<br>             └─26249 /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent -config /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.toml -envconfig /opt/aws/amazon-cloudwa&gt;<br><br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json does not exist or cann&gt;<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: 2025/11/12 20:30:46 Reading json config file path: /opt/aws/amazon-cloudwatch-agent/etc/&gt;<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: 2025/11/12 20:30:46 I! Valid Json input schema.<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: I! Trying to detect region from ec2<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: 2025/11/12 20:30:46 D! ec2tagger processor required because append_dimensions is set<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: 2025/11/12 20:30:46 D! ec2tagger processor required because append_dimensions is set<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: 2025/11/12 20:30:46 D! delta processor required because metrics with diskio or net are s&gt;<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: 2025/11/12 20:30:46 D! ec2tagger processor required because append_dimensions is set<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26259]: 2025/11/12 20:30:46 Configuration validation first phase succeeded<br>Nov 12 20:30:46 ip-172-31-10-70.ap-southeast-1.compute.internal start-amazon-cloudwatch-agent[26249]: I! Detecting run_as_user..</pre><p>Then we will again go to “Configure Cloudwatch agent”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-pvEPWteRZAj9F-Sx9-ikw.png" /></figure><p>Select configurations and metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OZYM38yZBWTz77meKKOLxg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IzlISKleZtCbc41hGv7TGw.png" /></figure><p>We will be able to see the metrics in EC2 monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kmyX-7Jfz4MD089HJrBx9A.png" /></figure><p>In Cloudwatch Metrics, we can see Custom namespace “CWAgent”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lzgkXuEDNtOXBixzpMB_WA.png" /></figure><p>In there, we can see the advance metrics like disk usage %.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BXIVMKkSiraVRl_PFEdahw.png" /></figure><p>We can create Cloudwatch alarms by selecting the desired metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCqn5iI0nW1WgRdz-XL7kw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AAy5UWBaOL3XOPpTC-sHwQ.png" /></figure><p>In Alarm set page, we can specify metric and conditions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Om6sS7x2F7N2fE7A8mFeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xWtFDVqwTrUAsUo28Oq2Qw.png" /></figure><p>With this setup, your EC2 instances are now fully monitored — giving you peace of mind and real-time visibility and alarms right from CloudWatch.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e483cbe20ea9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zed: The GPU-Powered, AI-Ready Editor Worth Checking Out]]></title>
            <link>https://tanjilbhuiyan.medium.com/zed-the-gpu-powered-ai-ready-editor-worth-checking-out-d443b0e7cbed?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d443b0e7cbed</guid>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Sat, 20 Sep 2025 11:04:33 GMT</pubDate>
            <atom:updated>2025-09-20T11:04:33.968Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7VKB_sk3ekwJod_M0mipbw.png" /><figcaption><a href="https://zed.dev/">https://zed.dev/</a></figcaption></figure><p>Let’s face it: our code editors are where we spend most of our waking hours. They’re part toolbox, part battleground, part frenemy. For years, VS Code has dominated with its “throw in everything” philosophy, while the latest wave of “AI editors” often feels like the same old VS Code with a fresh skin.</p><p>Remember when editors actually felt different? Sublime was blazing fast, Atom was hackable, TextMate had its charm. Then VS Code came along and swallowed the market whole — for better and worse. But the world has changed, and it’s time our editors did too.</p><p>Enter <strong>Zed</strong>.</p><h3>From Atom’s Ashes: A Story of Redemption</h3><p>To understand Zed, you have to know its creator, <strong>Nathan Sobo</strong>. If that name rings a bell, it should. He was the lead maintainer of <strong>Atom</strong> at GitHub. Atom was ambitious — maybe <em>too</em> ambitious. It was beautiful, hackable, and open. It championed extensibility and pushed the entire category forward. But it was also slow, and in the end, GitHub (and Microsoft) pulled the plug.</p><p>Instead of walking away, Nathan Sobo decided to fix the mistakes of the past. He took the core ethos of Atom — hackability and community — and asked: “What if we built it on a foundation of raw, uncompromising <strong>performance</strong>?” That question led to <strong>Zed Industries</strong> in <strong>2019</strong>. This isn’t just another editor; it’s a second act. A redemption story.</p><h3>So, What Is Zed? (And Why Is It So Fast?)</h3><p>At its core, Zed is a high-performance, GPU-accelerated, collaborative code editor. But that description doesn’t quite capture the experience — you really have to feel it.</p><p>The secret lies in the tech. Most editors today — including VS Code and the now-retired Atom — are built on Electron, which is essentially a web browser disguised as an editor. Zed takes a completely different approach.</p><p>It’s written in <strong>Rust</strong>, chosen for its safety and raw performance. On top of that, the team built a custom UI framework called <strong>GPUI</strong>, also in Rust, which communicates directly with your GPU. That means everything — the text, the cursor, even syntax highlighting — is rendered by your graphics card. The payoff? Opening and scrolling through giant log files feels effortless. The interface stays silky smooth, with no lag, no stutter. It’s the kind of speed you don’t realize you’ve been missing until you try it.</p><p>To get the best experience, Zed works best on systems with:</p><ul><li>A <strong>Vulkan-compatible GPU</strong> (e.g., Linux on Apple Silicon or modern Intel/AMD machines)</li><li>A system-wide <strong>glibc</strong> (NixOS and Alpine don’t include this by default)</li><li><strong>x86_64</strong> (Intel/AMD): glibc ≥ 2.31 (Ubuntu 20+)</li><li><strong>aarch64 (ARM):</strong> glibc ≥ 2.35 (Ubuntu 22+)</li></ul><h3>Making It Yours: Customization</h3><p>If you’ve ever used Sublime Text, Zed will feel instantly familiar. It carries the same philosophy — a lean, lightning-fast core that you can extend to fit your workflow. The twist? Underneath, it’s powered by Rust, giving it both speed and stability.</p><ul><li><strong>Themes:</strong> Swap the entire look and feel with ease.</li><li><strong>Keymaps:</strong> Remap anything you like. Out of the box, it ships with familiar VS Code, Sublime and many other bindings.</li><li><strong>Settings:</strong> Tweak every detail through a straightforward settings.json.</li><li><strong>CLI &amp; Command Palette:</strong> Hit cmd-shift-p and do just about anything in seconds.</li><li>Zed already includes a working VIM mode, and a Helix mode is currently in progress. Not all <a href="https://helix-editor.com/">Helix</a> keybindings are supported yet, but they’re actively being added.</li></ul><p>Check the <a href="https://zed.dev/docs/configuring-zed">documentation</a>.</p><h3>Using Zed: What You Can Do</h3><p>Zed isn’t just fast — it’s packed with features that make day-to-day development smoother:</p><ul><li><strong>Multibuffers:</strong> Work across multiple files or views at once without losing context.</li><li><strong>Outline Panel:</strong> Get a quick structural overview of your codebase, so you can jump between functions or classes instantly.</li><li><strong>Code Completions:</strong> Smart suggestions help you write code faster and with fewer mistakes.</li><li><strong>Channels &amp; Collaboration:</strong> Share code in real time with teammates, chat inside the editor, and keep the feedback loop short.</li><li><strong>Git Integration:</strong> Stage, commit, and push without leaving your editor.</li><li><strong>Debugger &amp; Diagnostics:</strong> Step through your code, inspect variables, and catch errors early.</li><li><strong>Tasks:</strong> Automate common workflows and run them directly from Zed.</li><li><strong>Remote Development:</strong> Connect to a remote machine or container seamlessly — great for cloud or server-based workflows.</li><li><strong>Environment Variables:</strong> Manage project-specific variables without clutter.</li><li><strong>REPL:</strong> Test snippets of code interactively, without needing to spin up your whole project.</li></ul><h3>The Killer Feature: Collaboration, Baked In</h3><p>Performance is great, but Zed’s real magic might be its approach to <a href="https://zed.dev/docs/collaboration">collaboration</a>. This isn’t some plugin bolted on — it’s part of the editor’s DNA.</p><p>Picture this: no screen shares, no clunky remote sessions. Just send a link, and your teammate is editing alongside you in real time, multiple cursors and all. It feels like Google Docs for code — but with the precision, speed, and reliability developers actually need.</p><h3>Your AI Co-Pilot, Not a Backseat Driver</h3><p>Yes, Zed has AI. And no — it’s not just a ChatGPT sidebar.</p><p>With <strong>Zed Premium</strong> (which even has a free tier), you unlock a context-aware assistant that feels like part of the editor, not something bolted on.</p><ul><li><strong>Chat with your code:</strong> Ask questions about functions or files, and get answers grounded in your actual project.</li><li><strong>Generate &amp; edit code:</strong> Need to refactor a messy function? Highlight it and let Zed’s AI propose a cleaner version. Want quick tests? Type a prompt inline and skip the boilerplate.</li></ul><p>It doesn’t feel like an add-on; it feels like your editor itself is lending a hand.</p><p>Behind the scenes, Zed gives you flexibility in how you set things up. You can connect it to different model providers — <strong>Anthropic, OpenAI, Ollama, Google AI, and more</strong>. It even supports cutting-edge tools like <strong>Gemini CLI, and Claude Code</strong> through the <strong>Agent Client Protocol (ACP)</strong>.</p><p>ACP is a standard that makes it possible for editors (like Zed) to talk to coding agents (AI systems that can understand and modify code). The protocol is still evolving, but the idea is simple: a shared language that lets any editor and any AI agent work together seamlessly.</p><p>I recently got Qwen Code (a fork of Gemini Code) running in Zed. It supports the experimental ACP protocol and was a breeze to set up by just tweaking my settings.json. Now I can seamlessly use both the gemini and qwen CLI commands right from my editor.</p><h3>Conclusion</h3><p>So, is Zed the perfect editor? Not quite — no Windows support is a big miss. But for developers on macOS or Linux, it’s a refreshing and powerful step forward. It takes the best ideas from the editors we love and combines them into something fast, collaborative, and intelligent. If you’re curious about the future of coding, just download it and see for yourself.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d443b0e7cbed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding and Using Python Virtual Environments Effectively]]></title>
            <link>https://tanjilbhuiyan.medium.com/understanding-and-using-python-virtual-environments-effectively-3390e9159020?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/3390e9159020</guid>
            <category><![CDATA[virtual-environment]]></category>
            <category><![CDATA[uv]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Tue, 10 Jun 2025 12:01:51 GMT</pubDate>
            <atom:updated>2025-06-10T12:01:51.585Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve spent any time working with Python, chances are you’ve heard this advice: <em>“Make sure to create a virtual environment first.”</em> But what exactly does that mean? Why is it such a common best practice? And what’s really happening behind the scenes when you create one?</p><p>In this article, we’ll demystify Python virtual environments — not just how to use them, but what they actually do under the hood. Whether you’re a beginner wondering why your global Python setup keeps running into conflicts, or a more experienced developer curious about how dependency isolation works, this guide will help you understand virtual environments in a clear and practical way.</p><h3>What Even Is a Virtual Environment?</h3><p>If you search for <em>“how Python venv works”</em>, the top result is usually the <a href="https://docs.python.org/3/library/venv.html">official Python documentation</a>. Here’s how it puts it:</p><blockquote>“The venv module supports creating lightweight ‘virtual environments’, each with their own independent set of Python packages installed in their site directories. A virtual environment is created on top of an existing Python installation, known as the virtual environment’s ‘base’ Python, and may optionally be isolated from the packages in the base environment, so only those explicitly installed in the virtual environment are available.”</blockquote><p>That’s technically accurate — but also a bit abstract, especially if you’re not familiar with how Python manages environments behind the scenes.</p><p>Let’s simplify it.</p><p>When you create a virtual environment — whether using the built-in venv module, virtualenv, poetry, or newer tools like uv—the core idea is the same: create an isolated workspace where your project has its own set of dependencies, separate from your global Python installation.</p><p>In short, a virtual environment is like a mini Python universe tailored to one specific project. It allows you to:</p><ol><li>Avoid dependency and version conflicts between projects</li><li>Keep your system Python installation clean and stable</li><li>Reproduce project environments reliably using tools like requirements.txt or pyproject.toml</li></ol><h3>Introducing uv: A Modern Python Environment Manager</h3><p>For this article, we’ll be using <a href="https://docs.astral.sh/uv/">uv</a> to demonstrate and explain how virtual environments work in practice.</p><p>So what is uv?</p><p><a href="https://docs.astral.sh/uv/">uv</a> is a blazing-fast Python package and project manager, built in Rust. It&#39;s designed to be a modern, all-in-one replacement for tools like pip, pip-tools, pipx, virtualenv, poetry, pyenv, and even twine.</p><p>In other words, instead of juggling multiple tools for dependency management, packaging, virtual environments, and Python version control — uv aims to do it all, with speed and simplicity.</p><p>Here are some of its key capabilities:</p><p><strong>Install and manage Python versions:</strong><br> Quickly download and switch between Python versions:</p><pre>uv python install 3.10 3.11 3.12</pre><p><strong>Create virtual environments tied to specific Python versions:</strong></p><pre>uv venv --python 3.12.0</pre><p><strong>Use familiar commands with extra power:</strong><br>uv acts as a drop-in replacement for pip, virtualenv, and pip-tools, while adding advanced features like:</p><ol><li>Dependency version overrides</li><li>Platform-independent resolutions</li><li>Reproducible lock files</li><li>Alternative resolution strategies</li></ol><p>With uv, you&#39;re not just creating a virtual environment—you&#39;re also getting a faster, more consistent, and more capable workflow for Python project management.</p><p>Now lets create a virtual environment:</p><pre>uv venv --python 3.12.0</pre><p>I am specifying the version by <strong>— python 3.12.0</strong></p><pre>◉ python --version                                                             ▦ Development/Python 21:04<br>Python 3.13.3<br><br>◉ which python                                                                 ▦ Development/Python 21:05<br>/usr/bin/python<br><br>◉ uv venv --python 3.12.0                                                      ▦ Development/Python 17:21<br>Using CPython 3.12.0<br>Creating virtual environment at: .venv<br>Activate with: source .venv/bin/activate<br><br>◉ source .venv/bin/activate                                                    ▦ Development/Python 17:22<br><br>◉ python --version                                                  ▦ Development/Python py ⌉⌊ 3.12 17:22<br>Python 3.12.0<br><br>◉ which python                                                      ▦ Development/Python py ⌉⌊ 3.12 17:22<br>/home/personal/Development/Python/.venv/bin/python</pre><p>If we want to check what files was created when we created virtual environment</p><pre>◉ tree .venv                                                        ▦ Development/Python py ⌉⌊ 3.12 17:22<br>.venv<br>├── bin<br>│   ├── activate<br>│   ├── activate.bat<br>│   ├── activate.csh<br>│   ├── activate.fish<br>│   ├── activate.nu<br>│   ├── activate.ps1<br>│   ├── activate_this.py<br>│   ├── deactivate.bat<br>│   ├── pydoc.bat<br>│   ├── python -&gt; /home/personal/.local/share/uv/python/cpython-3.12.0-linux-x86_64-gnu/bin/python3.12<br>│   ├── python3 -&gt; python<br>│   └── python3.12 -&gt; python<br>├── CACHEDIR.TAG<br>├── lib<br>│   └── python3.12<br>│       └── site-packages<br>│           ├── _virtualenv.pth<br>│           └── _virtualenv.py<br>├── lib64 -&gt; lib<br>└── pyvenv.cfg<br><br>6 directories, 16 files<br><br>◉ echo $PATH                                                        ▦ Development/Python py ⌉⌊ 3.13 21:06<br>/home/personal/Development/Python/.venv/bin</pre><p>This bin directory contains the environment’s executables and scripts to activate the virtual environment.activate, activate.bat, activate.ps1, etc.</p><p>python, python3, python3.12 These are symlinks pointing to the actual Python interpreter that uv downloaded and manages.</p><p>This lib directory is where your installed packages will live.</p><ul><li>python3.12/: Version-specific directory for Python libraries.</li><li>site-packages/:<br> This is the most important subdirectory. It&#39;s where uv pip install will install packages specific to this virtual environment.</li></ul><p>Inside it:</p><ul><li>_virtualenv.pth, _virtualenv.py: Metadata and helper files created to manage environment paths, ensuring isolation from global packages.</li><li>lib64 -&gt; lib:<br> A symbolic link often used on 64-bit Linux systems for compatibility; it just points to lib/.</li></ul><p>This pyvenv.cfg configuration file tells Python that this directory is a virtual environment. It contains:</p><pre>◉ cat .venv/pyvenv.cfg                                              ▦ Development/Python py ⌉⌊ 3.12 17:23<br>home = /home/personal/.local/share/uv/python/cpython-3.12.0-linux-x86_64-gnu/bin<br>implementation = CPython<br>uv = 0.5.1<br>version_info = 3.12.0<br>include-system-site-packages = false<br>prompt = Python</pre><h3>So, What happens when you activate a virtual environment?</h3><p>When you active the virtual environment by the script, the path of the virtual environment python is added to system’s PATH<em> </em>as the first path, ensuring that the python in the virtual environment is used when called from the command prompt.</p><pre>◉ source .venv/bin/activate                                                    ▦ Development/Python 17:22<br><br>◉ python --version                                                  ▦ Development/Python py ⌉⌊ 3.12 17:22<br>Python 3.12.0<br><br>◉ which python                                                      ▦ Development/Python py ⌉⌊ 3.12 17:22<br>/home/personal/Development/Python/.venv/bin/python<br><br>◉ echo $PATH                                                        ▦ Development/Python py ⌉⌊ 3.12 17:45<br>/home/personal/Development/Python/.venv/bin</pre><p>Now, you are ready to use the virtual environment for your purpose. you can install package using <strong>uv pip </strong>or run tool using <strong>uvx.</strong></p><pre>◉ uv pip install requests                                           ▦ Development/Python py ⌉⌊ 3.12 17:49<br>Resolved 5 packages in 742ms<br>Prepared 4 packages in 297ms<br>Installed 5 packages in 6ms<br> + certifi==2025.4.26<br> + charset-normalizer==3.4.2<br> + idna==3.10<br> + requests==2.32.4<br> + urllib3==2.4.0<br><br>1s ◉ uvx pycowsay &#39;hello world!&#39;                                    ▦ Development/Python py ⌉⌊ 3.12 17:49<br><br>  ------------<br>&lt; hello world! &gt;<br>  ------------<br>   \   ^__^<br>    \  (oo)\_______<br>       (__)\       )\/\<br>           ||----w |<br>           ||     ||</pre><p>Hopefully, this guide has clarified how virtual environments work. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3390e9159020" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure Remote Access: Configuring Tailscale on OpenWrt]]></title>
            <link>https://tanjilbhuiyan.medium.com/secure-remote-access-configuring-tailscale-on-openwrt-d5a9dc6b7b7e?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5a9dc6b7b7e</guid>
            <category><![CDATA[openwrt]]></category>
            <category><![CDATA[tailscale]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[sbc]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Sun, 08 Jun 2025 20:52:29 GMT</pubDate>
            <atom:updated>2025-06-08T20:52:29.830Z</atom:updated>
            <content:encoded><![CDATA[<p>Tailscale is a simple, secure, and zero-config VPN built on <strong>WireGuard</strong>. It lets you connect all your devices — servers, SBCs, laptops, or even your phone — into a single private network, no matter where they are in the world. This is especially useful if you want consistent, remote access to all your nodes without dealing with port forwarding, dynamic IPs, or complex firewall rules.</p><p>In my setup, I use a tool called <a href="https://beszel.dev/"><strong>Beszel</strong></a> to monitor all my servers and SBCs. By running Tailscale on each device — including my OpenWrt router — I can rely on stable Tailscale IPs for seamless, encrypted communication across the board.</p><h3>Configuring Tailscale in OpenWrt</h3><p>Since I’m running OpenWrt Snapshot, I can install Tailscale directly using the package manager:</p><pre>apk update<br>apk add tailscale</pre><p>Once installed, connect your device to your Tailscale network using an auth key. You will get this from Tailscale dashboard.</p><pre>tailscale up --auth-key=tskey-auth-key</pre><p>To verify the connection:</p><pre>tailscale status</pre><p>If successful, your OpenWrt router will now have a Tailscale IP and be accessible across your private mesh network.</p><p>Next is to focus on two key tasks:</p><ol><li><strong>Creating a Tailscale Interface and Updating Firewall Rules</strong></li><li><strong>Enabling Port Forwarding to Access Devices via Tailscale IP (e.g., SSH)</strong></li></ol><p>We’ll follow the <a href="https://openwrt.org/docs/guide-user/services/vpn/tailscale/start">official OpenWrt Tailscale guide</a> with some practical tweaks from my own setup.</p><h3><strong>Creating a Tailscale Interface and Updating Firewall Rules</strong></h3><p>To allow traffic through the Tailscale network, we need to configure a new network interface and firewall zone in OpenWrt.</p><p><strong>Create the Tailscale Interface:</strong></p><p>In LuCI, go to: <strong>Network → Interfaces → Add new interface</strong></p><p>Set the following:</p><ul><li><strong>Name</strong>: tailscale</li><li><strong>Protocol</strong>: Unmanaged</li><li><strong>Device</strong>: tailscale0</li></ul><p>Click <strong>Save</strong>.</p><p><strong>Create the Firewall Zone</strong></p><p>In LuCI, go to: <strong>Network → Firewall → General Settings → Add</strong></p><p>Configure as follows:</p><ul><li><strong>Name</strong>: tailscale</li><li><strong>Input</strong>: ACCEPT</li><li><strong>Output</strong>: ACCEPT</li><li><strong>Forward</strong>: ACCEPT</li><li><strong>Masquerading</strong>: enable</li><li><strong>MSS Clamping</strong>: enable</li><li><strong>Covered networks</strong>: tailscale</li><li><strong>Allow forward to destination zones</strong>: Select lan and/or other internal zones (select wan only if using this as an exit node)</li><li><strong>Allow forward from source zones</strong>: Select lan if you want LAN devices to access other Tailscale hosts</li></ul><p>Click <strong>Save &amp; Apply</strong>, then <strong>reboot the router</strong> to ensure everything is initialized properly.</p><h3><strong>Enabling Port Forwarding to Access Devices via Tailscale IP</strong></h3><p>According to OpenWrt documentation</p><blockquote>If ssh access to OpenWrt through tailscale is wanted, setup a port forward from the created tailscale interface and lan to the local OpenWrt IP, default 192.168.1.1 and port 22 on ingress and egress.</blockquote><p>In LuCI, go to: <strong>Network → Firewall → Port Forwards → Add<br></strong>and a rule like below image. All we specified is the source &amp; destination zone, Internal IP address etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*YrGW2eEIeSHU8pH7HbJChQ.png" /></figure><p>Now from other device in tailscale network, We should be able to ssh now to our OpenWrt router using tailscale network.</p><p>That’s it. Enjoy !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5a9dc6b7b7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Optimize My SBC Router: Flashing Custom OpenWrt Firmware and Essential Post-Setup Configs]]></title>
            <link>https://tanjilbhuiyan.medium.com/optimize-my-sbc-router-flashing-custom-openwrt-firmware-and-essential-post-setup-configs-3b2da2935072?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b2da2935072</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[router]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[openwrt]]></category>
            <category><![CDATA[single-board-computer]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Sun, 08 Jun 2025 08:58:14 GMT</pubDate>
            <atom:updated>2025-06-08T08:58:14.114Z</atom:updated>
            <content:encoded><![CDATA[<p>In my <a href="https://tanjilbhuiyan.medium.com/how-to-turn-a-tiny-sbc-into-a-fully-functional-home-router-aacc0b735aa1">previous article</a>, I walked through how I transformed a small <strong>Single Board Computer (SBC)</strong> into a fully functional home router using OpenWrt. I explained how to download firmware from the OpenWrt Firmware Selector, flash it to an Micro SD card, and set it up as the main router with access point support.</p><p>This time, we’re taking things a step further.</p><p>While OpenWrt’s modular nature allows you to install packages anytime after flashing, it’s far more efficient to build a <strong>custom firmware image</strong> with all the packages you need already baked in. This approach not only saves time but also ensures your setup is more robust and ready to go from the first boot.</p><p>In this article, I’ll guide you through:</p><ol><li>Choosing between squashfs and ext4 firmware types,</li><li>Flashing the custom image to an Micro SD card,</li><li>Expanding the root filesystem to utilize the full Micro SD card capacity</li></ol><h3><strong>Choosing between </strong><strong>squashfs and </strong><strong>ext4 firmware:</strong></h3><p>First we need to understand the difference between squashfs and ext4 firmware.</p><p><strong>squashfs: The Default, Read-Only Root Filesystem</strong></p><p>squashfs is a compressed, read-only filesystem used by default in most OpenWrt firmware. Here’s what you should know:</p><ol><li><strong>Highly compressed</strong>: Saves space, great for low-storage devices.</li><li><strong>Read-only root</strong>: The root filesystem is immutable; any changes (like package installs) go to the overlay filesystem.</li><li><strong>Factory reset-friendly</strong>: Easy to reset to a clean state by clearing the overlay.</li><li><strong>Safer for flash devices</strong>: Since it minimizes writes, it’s ideal for NAND/NOR flash-based routers.</li></ol><p>Downsides:</p><ol><li>Root filesystem is not writable</li><li>Overlay space is limited — too many package installs can fill it</li></ol><p><strong>Use squashfs</strong> if:</p><ol><li>You want a stable system with an easy reset option.</li><li>Your SBC/router has limited storage.</li><li>You’re okay installing additional packages later via the overlay.</li></ol><p><strong>Note</strong>: Unless you’re building a DIY router with an SD card or USB drive, you’re most likely using <strong>squashfs </strong><strong>.bin images</strong>, especially when flashing existing routers.</p><p><strong>ext4: Writable Root Filesystem</strong></p><p>ext4 gives you a writable root filesystem—just like a traditional Linux install.</p><ol><li><strong>Fully writable root</strong>: Packages and configs are written directly to root, no overlay needed.</li><li><strong>Ideal for SD cards and USB storage</strong>: Ext4 is better suited for large, writable media.</li><li><strong>More flexible</strong>: Easier for power users who want to customize or tinker.</li><li><strong>Preinstalled packages </strong>live directly in root, no overlay needed</li></ol><p>Downsides:</p><ol><li>No easy “factory reset.”</li><li>More prone to filesystem corruption if not shut down properly (especially on SD cards).</li><li>Larger image size</li></ol><p><strong>Use ext4</strong> if:</p><ol><li>You’re using an SD card or USB drive (not flash memory).</li><li>You want full control over the root filesystem.</li><li>You’re building a persistent, always-customized setup.</li></ol><p><strong>Best for</strong>: DIY routers using SD cards or USB storage — like Raspberry Pi, NanoPi, or other SBCs.</p><h3><strong>Generating the custom image &amp; </strong>make the Micro SD card Bootable<strong>:</strong></h3><p>To get started, we’ll build our own OpenWrt image using the OpenWrt Firmware Selector. This allows us to include all the necessary packages ahead of time — no need to install them manually later.</p><p>Step 1: Build the Image</p><ol><li>Visit the Firmware Selector.</li><li>Select your <strong>target device or board</strong> (e.g., OrangePi R1 Plus LTS).</li><li>Select the version you want. i will use <strong>Snapshot</strong>.</li><li>Click on <strong>Customize installed packages</strong>.</li><li>In the <strong>packages</strong> field, add the package you need like below:</li></ol><blockquote>luci tailscale luci-app-statistics luci-app-https-dns-proxy</blockquote><p>5. Click <strong>Request Build</strong> and wait a few minutes for the build to finish.</p><p>Once the build is ready, you will see 2 option in the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZX1arllrS2h8mlmIHuqHKQ.png" /><figcaption>Custom Downloads</figcaption></figure><p>I will use ext4 image. Just download the image . Use <a href="https://etcher.balena.io/">Balena Etcher</a> to to make the Micro SD card Bootable.</p><h3><strong>Expanding the root filesystem to utilize the full Micro SD</strong></h3><p>After booting and login to OpenWrt you will see that the disk capacity that shows is very low. You can SSH and check using</p><pre>df -hT</pre><p>The most of the storage is unused. Normally its not a issue, unless you are planning to do a lot more with your OpenWrt Router. For example , you want to run Adguard Home or you want to run some docker container for specific purpose, you will need the space.</p><p>So We will need to increase the Root partition size. Remove the Micro SD card from SBC and connect to your local machine.</p><pre>⊘ lsblk                                                                                                                                                                               ⌂ 12:04<br>NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS<br>mmcblk0     179:0    0  29.2G  0 disk <br>├─mmcblk0p1 179:1    0    16M  0 part <br>└─mmcblk0p2 179:2    0   104M  0 part </pre><p>First try <strong>lsblk, </strong>you will see your root partition is really small. We will check also using <strong>fdisk</strong></p><pre>⊘ sudo fdisk -l /dev/mmcblk0                                                                                                                                                          ⌂ 12:05<br>[sudo] password for personal: <br>Disk /dev/mmcblk0: 29.16 GiB, 31312576512 bytes, 61157376 sectors<br>Units: sectors of 1 * 512 = 512 bytes<br>Sector size (logical/physical): 512 bytes / 512 bytes<br>I/O size (minimum/optimal): 512 bytes / 512 bytes<br>Disklabel type: dos<br>Disk identifier: 0x5452574f<br><br>Device         Boot  Start    End Sectors  Size Id Type<br>/dev/mmcblk0p1 *     65536  98303   32768   16M 83 Linux<br>/dev/mmcblk0p2      131072 344063  212992  104M 83 Linux</pre><p>Next we will modify our root partition.</p><pre>◇┈⊘ sudo su                                                                                                                                                                           ⌂ 12:05<br>personal# fdisk /dev/mmcblk0<br><br>Welcome to fdisk (util-linux 2.41).<br>Changes will remain in memory only, until you decide to write them.<br>Be careful before using the write command.<br><br>Command (m for help): p<br>Disk /dev/mmcblk0: 29.16 GiB, 31312576512 bytes, 61157376 sectors<br>Units: sectors of 1 * 512 = 512 bytes<br>Sector size (logical/physical): 512 bytes / 512 bytes<br>I/O size (minimum/optimal): 512 bytes / 512 bytes<br>Disklabel type: dos<br>Disk identifier: 0x5452574f<br><br>Device         Boot  Start    End Sectors  Size Id Type<br>/dev/mmcblk0p1 *     65536  98303   32768   16M 83 Linux<br>/dev/mmcblk0p2      131072 344063  212992  104M 83 Linux<br><br>Command (m for help): d<br>Partition number (1,2, default 2): 2<br><br>Partition 2 has been deleted.<br><br>Command (m for help): n<br>Partition type<br>   p   primary (1 primary, 0 extended, 3 free)<br>   e   extended (container for logical partitions)<br>Select (default p): p<br>Partition number (2-4, default 2): 2<br>First sector (2048-61157375, default 2048): 131072<br>Last sector, +/-sectors or +/-size{K,M,G,T,P} (131072-61157375, default 61157375): <br><br>Created a new partition 2 of type &#39;Linux&#39; and of size 29.1 GiB.<br>Partition #2 contains a ext4 signature.<br><br>Do you want to remove the signature? [Y]es/[N]o: N<br><br>Command (m for help): w<br><br>The partition table has been altered.<br>Calling ioctl() to re-read partition table.<br>Syncing disks.<br><br>personal# e2fsck -f /dev/mmcblk0p2<br>e2fsck 1.47.2 (1-Jan-2025)<br>Pass 1: Checking inodes, blocks, and sizes<br>Pass 2: Checking directory structure<br>Pass 3: Checking directory connectivity<br>Pass 4: Checking reference counts<br>Pass 5: Checking group summary information<br>Padding at end of inode bitmap is not set. Fix&lt;y&gt;? yes<br><br>rootfs: ***** FILE SYSTEM WAS MODIFIED *****<br>rootfs: 1331/6656 files (0.0% non-contiguous), 12819/26624 blocks<br>personal# resize2fs /dev/mmcblk0p2<br>resize2fs 1.47.2 (1-Jan-2025)<br>Resizing the filesystem on /dev/mmcblk0p2 to 7628288 (4k) blocks.<br>The filesystem on /dev/mmcblk0p2 is now 7628288 (4k) blocks long.</pre><p>First we will delete the partition 2 and create the partition from same sector. and then we will write this to disk. Then we will check the using <strong>e2fsck -f /dev/mmcblk0p2</strong></p><p>what this does is it <strong>forcibly checks and repairs the ext2/ext3/ext4 filesystem</strong> on the partition /dev/mmcblk0p2.</p><p>Then we will run <strong>resize2fs /dev/mmcblk0p2 </strong>to resizes the<strong> ext2/ext3/ext4 filesystem</strong> on the partition /dev/mmcblk0p2 to <strong>fill the available space</strong> of the partition. Thats is. Plug the SD card to your SBC. Boot it up. you should see OpenWrt to use full storage of your SD card.</p><p>You can do a lot more with this expanded storage. For example , i will install docker and run some container like <a href="https://beszel.dev/"><strong>Beszel</strong></a><strong> </strong>to continuously monitor my router resources usage.</p><p>With a custom-built OpenWrt image and a fully utilized SD card, your SBC router is now more powerful and flexible than ever. You’ve not only tailored the firmware to your needs but also unlocked the full potential of your storage — giving you room to install tools like Docker, run advanced monitoring, or explore even more OpenWrt packages.</p><p>Enjoy !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b2da2935072" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Web Apps with Robyn: My First Impressions]]></title>
            <link>https://tanjilbhuiyan.medium.com/building-web-apps-with-robyn-my-first-impressions-c780c144c4c3?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c780c144c4c3</guid>
            <category><![CDATA[robyn]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Wed, 12 Feb 2025 18:42:11 GMT</pubDate>
            <atom:updated>2025-02-12T18:42:11.654Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I decided to dive into API development again. Since I had worked with Python before — mostly while setting up AWS Lambda functions — it felt natural to explore Python web frameworks. Unlike JavaScript, where new frameworks pop up every other day, the Python ecosystem is a bit more stable.</p><p>I started by looking into some well-known frameworks, but I also stumbled upon a few lesser-known ones, like <a href="https://www.neoteroi.dev/blacksheep/"><strong>Blacksheep</strong></a> and <a href="https://robyn.tech/"><strong>Robyn</strong></a>.</p><p>Robyn, in particular, caught my attention because of its uniqueness and I knew I had to give it a try.</p><h3>What is Robyn?</h3><p>Robyn is a web framework that combines Python’s async capabilities with a Rust-powered runtime, making it both scalable and highly efficient. Unlike traditional Python frameworks, Robyn is designed with a multi-process, multi-threaded model. It runs a <strong>master process</strong> that manages multiple <strong>worker processes</strong>, each handling multiple threads. This architecture allows it to fully utilize system resources and handle a large number of concurrent requests.</p><p>One of the standout features of Robyn is its <strong>native Rust integration</strong> — you can write Rust code directly within your Python application for complex computational tasks, boosting performance. And if you’re in development mode, you can enable hot-reloading using the --dev flag.</p><p>For a deep dive into Robyn’s architecture, check out their <a href="https://robyn.tech/documentation/en/architecture">official documentation</a>.</p><figure><img alt="Design diagram how robyn actually works." src="https://cdn-images-1.medium.com/max/1024/1*P_sDOzjaBSTciFnudhJhWA.png" /><figcaption><a href="https://robyn.tech/documentation/en/architecture">https://robyn.tech/documentation/en/architecture</a></figcaption></figure><p>Now, let’s create a simple project to understand how Robyn works in practice.</p><p>We’ll use <strong>uv</strong>, a modern Python package and project manager. You can check out its documentation <a href="https://docs.astral.sh/uv/">here</a>.</p><p>First, let’s create a virtual environment using <strong>uv</strong>:</p><pre>uv venv --python 3.12</pre><p>Once the virtual environment is created, activate it with:</p><pre>source .venv/bin/activate</pre><h3>Creating Project</h3><p>Next, let’s install Robyn. Since we’re using <strong>uv</strong>, we’ll install it with:</p><pre>uv pip install robyn</pre><p>Once the installation is complete, we can use Robyn’s CLI to create a new project. This will generate the necessary structure and files to get started quickly.</p><pre>robyn --create<br>? Directory Path: api<br>? Need Docker? (Y/N) N<br>? Please select project type (Mongo/Postgres/Sqlalchemy/Prisma):  <br>❯ No DB<br>  Sqlite<br>  Postgres<br>  MongoDB<br>  SqlAlchemy<br>  Prisma<br>  SQLModel</pre><p>For now, I’ll choose the <strong>“No DB”</strong> option while setting up the project.</p><p>Next, navigate to the newly created <strong>app folder</strong>:</p><pre>cd app</pre><p>As I mentioned earlier, <strong>Robyn allows seamless Rust integration</strong> within your project. To demonstrate this, we’ll create a Rust file inside our Robyn app using the following command:</p><pre>robyn --create-rust-file functions</pre><p>This will generate a Rust file that we can use to.</p><p>So, we will write a function in rust that will receive a number and return square of that number.</p><pre>// rustimport:pyo3<br><br>use pyo3::prelude::*;<br><br>#[pyfunction]<br>fn square(number: i32) -&gt; i32 {<br>    number * number<br>}</pre><p>Now we will modify our <strong>app.py</strong></p><pre>from robyn import Robyn<br>from functions import square<br><br>app = Robyn(__file__)<br><br><br>@app.get(&quot;/&quot;)<br>def index():<br>    return &quot;Hello World!&quot;<br><br><br>@app.get(&quot;/square/:number&quot;)<br>def calculate_square_get(request):<br>    try:<br>        number = request.path_params.get(&quot;number&quot;)<br>        num = int(number)<br>        result = square(num)<br>        return str(result)<br>    except (ValueError, TypeError):<br>        return {&quot;error&quot;: &quot;Invalid number provided&quot;}, 400<br><br><br>if __name__ == &quot;__main__&quot;:<br>    app.start(host=&quot;0.0.0.0&quot;, port=8080)</pre><p>Now we will run the server using</p><pre>robyn app.py --dev<br>Starting dev server...<br>Reloading the server<br>Compiling rust file: /home/personal/Development/Gitlab/robyn/api/functions.rs<br>Compiled rust file: /home/personal/Development/Gitlab/robyn/api/functions.rs<br>INFO:robyn.logger:SERVER IS RUNNING IN VERBOSE/DEBUG MODE. Set --log-level to WARN to run in production mode.<br>INFO:robyn.logger:Added route HttpMethod.GET /<br>INFO:robyn.logger:Added route HttpMethod.GET /square/:number<br>INFO:robyn.logger:Added route HttpMethod.GET /openapi.json<br>INFO:robyn.logger:Added route HttpMethod.GET /docs<br>INFO:robyn.logger:Docs hosted at http://0.0.0.0:8080/docs<br>INFO:robyn.logger:Robyn version: 0.65.0<br>INFO:robyn.logger:Starting server at http://0.0.0.0:8080<br>INFO:actix_server.builder:starting 1 workers<br>INFO:actix_server.server:Actix runtime found; starting in Actix runtime<br>INFO:actix_server.server:starting service: &quot;actix-web-service-0.0.0.0:8080&quot;, workers: 1, listening on: 0.0.0.0:8080</pre><p>See at the beginning its compiling the rust file. Now we should be able to access the application using <strong>http://localhost:8080</strong>. To square any number use this <strong>http://localhost:8080/square/{number}</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*MEruFL-NXO8UKI4wG47j8A.png" /></figure><h3>Templating in Robyn</h3><p>Robyn supports the <strong>Jinja2</strong> templating engine for rendering HTML pages. This allows you to create dynamic web pages by embedding Python-like expressions within your HTML files.</p><p>we will modify our app.py</p><pre>from robyn import Robyn<br>from functions import square<br>from robyn.templating import JinjaTemplate<br>import pathlib<br>import os<br><br>current_file_path = pathlib.Path(__file__).parent.resolve()<br>JINJA_TEMPLATE = JinjaTemplate(os.path.join(current_file_path, &quot;templates&quot;))<br><br>app = Robyn(__file__)<br><br>@app.get(&quot;/&quot;)<br>def index():<br>    return &quot;Hello World!&quot;<br><br>@app.get(&quot;/square/:number&quot;)<br>def calculate_square_get(request):<br>    try:<br>        number = request.path_params.get(&quot;number&quot;)<br>        num = int(number)<br>        result = square(num)<br>        return str(result)<br>    except (ValueError, TypeError):<br>        return {&quot;error&quot;: &quot;Invalid number provided&quot;}, 400<br><br><br>@app.get(&quot;/template_render&quot;)<br>def template_render():<br>    context = {&quot;framework&quot;: &quot;Robyn&quot;, &quot;templating_engine&quot;: &quot;Jinja2&quot;}<br><br>    template = JINJA_TEMPLATE.render_template(template_name=&quot;hello.html&quot;, **context)<br>    return template<br><br>if __name__ == &quot;__main__&quot;:<br>    app.start(host=&quot;0.0.0.0&quot;, port=8080)</pre><p>Now we will create a folder <strong>templates </strong>and inside we will create hello.html</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>    &lt;title&gt;Welcome to {{ framework }}&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>    &lt;h1&gt;Welcome to {{ framework }}!&lt;/h1&gt;<br>    &lt;p&gt;This page is rendered using {{ templating_engine }}&lt;/p&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>Now we should be able to browse <a href="http://localhost:8080/template_render">http://localhost:8080/template_render</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*hXboyeYMr7-KX189DTggAA.png" /></figure><h3>Conclusion</h3><p>Robyn is an exciting Python web framework that brings together the best of Python’s async capabilities with the power of Rust for high-performance tasks. Its multi-process, multi-threaded architecture allows it to efficiently handle concurrent requests, making it a solid choice for building scalable web applications. With support for Rust integration, Jinja2 templating, and an easy-to-use CLI, Robyn is definitely worth exploring for your next web project.</p><p>Happy coding! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c780c144c4c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Discovering Yazi, LSD, and Zellij: Transforming the Way I Use My Terminal]]></title>
            <link>https://tanjilbhuiyan.medium.com/discovering-yazi-lsd-and-zellij-transforming-the-way-i-use-my-terminal-7b3324c4ff6b?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b3324c4ff6b</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Sun, 26 Jan 2025 10:46:09 GMT</pubDate>
            <atom:updated>2025-01-26T17:42:42.718Z</atom:updated>
            <content:encoded><![CDATA[<p>As someone who loves experimenting with new tools to enhance my workflow, I’m always on the hunt for ways to make my terminal experience more efficient, functional, and — let’s be honest — a bit more fun. Lately, I’ve noticed a trend: tools written in Rust. Developers are embracing Rust for its performance, safety, and elegance, and it’s leading to some incredible innovations. Naturally, I had to try a few.</p><p>In this article, I’ll share my experience with three amazing Rust-based tools: <strong>Yazi</strong>, <strong>LSD</strong>, and <strong>Zellij</strong>. From managing files to navigating directories and multitasking like a pro, these tools have genuinely transformed the way I use my terminal. Let’s dive in!</p><h3>LSD: Not the Drug, But a Terminal Glow-Up</h3><p>First up, <strong>LSD</strong> — or LSDeluxe. It’s a reimagining of the classic ls command, written in Rust, and it brings directory listings to life with colors, icons, tree views, and tons of formatting options. Imagine someone looked at the default ls and thought, <em>This could be so much better.</em> That’s LSD.</p><h4>Getting Started with LSD</h4><p>Before diving in, you’ll need to install patched fonts (like Nerd Fonts or Font Awesome) to fully enjoy the colorful icons. Once that’s done, installing LSD is easy. On Arch Linux, just run:</p><pre>sudo pacman -S lsd</pre><p>If you prefer, you can also install it with Cargo:</p><pre>cargo install lsd</pre><h4>Configuration and Customization</h4><p>LSD has a config file where you can tweak settings like color themes, icon themes, and more. By default, this file is located at:<br>~/.config/lsd/config.yaml</p><p>If you need to load a custom config from another location, you can specify it with:</p><pre>lsd --config-file [PATH]</pre><h4>My Experience with LSD</h4><p>To be honest, I haven’t done much customization yet because the default settings are just so good. All I had to do was set up a Nerd Font in my terminal, and I was ready to roll. LSD gives directory listings a fresh, modern look right out of the box.</p><p>That said, if you’re into tweaking things, LSD lets you customize everything from colors to icons to align with your style. But for me? The default setup checks all the boxes.</p><p>If you’re tired of plain ls and want to add some color and personality to your terminal, give LSD a shot. Trust me, there’s no going back to the plain old black-and-white listings once you try it.</p><p>Check out LSD on <a href="https://github.com/lsd-rs/lsd">GitHub</a>.</p><h3>Yazi: The Blazing-Fast Terminal File Manager</h3><p>Next up is <strong>Yazi</strong>, a terminal-based file manager that prioritizes speed and efficiency. Built with Rust, Yazi uses asynchronous I/O and multi-threaded processing to make the most of your system’s resources. But it’s not just fast — Yazi is packed with features like image previews, code highlighting, and pre-caching for quick file loading.</p><h4>Getting Started with Yazi</h4><p>To use Yazi, you’ll need a few prerequisites, starting with the file utility for file type detection. For a full feature set, install additional tools like Nerd Fonts (for visuals), ffmpeg (for video thumbnails), and 7-Zip (for archive previews).</p><p>On Arch Linux, you can install Yazi and its extensions in one go:</p><pre>sudo pacman -S yazi ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick</pre><p>And if you’re wondering about configuration — don’t sweat it. Yazi works perfectly out of the box. But if you like tweaking things, you can customize it easily. For instance, if you want to show hidden files, just create a yazi.toml file with:</p><pre>[manager]<br>show_hidden = true</pre><h4>Why Yazi?</h4><p>Why use a terminal-based file manager instead of a GUI one? Two reasons: power and speed.</p><p>Imagine someone sends you a maze of nested folders, and you just need to find one file deep inside. Instead of fumbling through a GUI, Yazi lets you quickly navigate, preview files (including images and PDFs, but you will need a supported terminal), and even peek inside archives — all without leaving your terminal.</p><p>Yazi is a workflow game-changer, especially for:</p><ul><li>Previewing images, PDFs, and code files directly in the terminal.</li><li>Opening files with specific programs using custom openers.</li><li>Searching for files or navigating directory history.</li></ul><p>For me, Yazi has become indispensable for quick file management. You can grab it on <a href="https://github.com/sxyazi/yazi">GitHub</a>.</p><h3>Zellij: A Modern Tiling Terminal</h3><p>Last but not least, <strong>Zellij</strong> is a tiling terminal workspace that’s perfect for multitasking in the terminal. Think of it like Tmux, but with a modern, user-friendly design. It’s written in Rust, so you know it’s fast and reliable.</p><h4>Key Features</h4><p>Zellij allows you to:</p><ul><li>Split your terminal into panes and tabs for seamless multitasking.</li><li>Use built-in plugins or create your own for added functionality.</li><li>Customize layouts and keyboard shortcuts to suit your workflow.</li><li>Share your terminal session with others for real-time collaboration.</li><li>View previous sessions, resurrect old sessions, or even attach and disconnect from them as needed.</li><li>Create new sessions on the fly, giving you ultimate flexibility.</li><li>Enjoy floating panes, which let you pop out sections of your terminal for easy, distraction-free work.</li></ul><p>These features work <strong>right out of the box</strong>, with no configuration required, making Zellij incredibly easy to get started with.</p><h4>Getting Started</h4><p>Installing Zellij is straightforward. On Arch Linux:</p><pre>sudo pacman -S zellij</pre><p>Or with Cargo:</p><pre>cargo install --locked zellij</pre><p>Just type zellij to start, and you’re off to the races.</p><h4>My Take on Zellij</h4><p>Zellij has quickly become my go-to tool for terminal multitasking. The ability to split my terminal into multiple panes and tabs is great, but the real game-changer for me is the session management. I can create a new session, resurrect old ones, or even disconnect and reattach to my terminal sessions on the fly. Plus, the floating panes make it super easy to focus on specific tasks without cluttering up the screen.</p><p>It’s simple to use, with all these features available immediately. I’ve used tools like Tmux before, but Zellij feels more modern and intuitive. Whether I’m coding, debugging, or just managing multiple tasks, Zellij’s clean interface and powerful features have seriously improved my workflow.</p><p>If you’ve ever struggled with terminal clutter or wished for more control over your workflow, Zellij is definitely worth trying. You can learn more on <a href="https://github.com/zellij-org/zellij">GitHub</a>.</p><p>To wrap it up, these three Rust-based tools —<strong> Yazi, LSD, </strong>and<strong> Zellij </strong>— have completely changed how I interact with my terminal. Each offers unique features that make tasks faster, more efficient, and even enjoyable. If you’re looking to enhance your terminal experience, these tools are definitely worth exploring. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b3324c4ff6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Ghostty Terminal]]></title>
            <link>https://tanjilbhuiyan.medium.com/exploring-ghostty-terminal-397fc0be7867?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/397fc0be7867</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Sat, 28 Dec 2024 16:12:39 GMT</pubDate>
            <atom:updated>2024-12-28T19:21:35.627Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rQ8175_C5OJ3UOmmRUUo7Q.png" /><figcaption><a href="https://ghostty.org/">https://ghostty.org/</a></figcaption></figure><p>Last night marked the release of <a href="https://ghostty.org/download">Ghostty 1.0</a> for Linux and macOS. Previously available in private beta, I had been eagerly waiting to try this terminal for a long time, and I can confidently say I am impressed.</p><p>Ghostty is fast, easy to configure, and delivers exactly what you need while avoiding unnecessary clutter. It’s a refreshing take on terminal design, prioritizing both performance and simplicity. Whether you’re a developer looking for efficiency or someone who values a clean, intuitive interface, Ghostty seems to strike the perfect balance.</p><p>When we talk about Ghostty, we need to mention Mitchell Hashimoto. He was part of the initial engineering team behind many groundbreaking products, such as Vagrant, Packer, Consul, Terraform, Vault, Nomad, Waypoint, and more. Ghostty was a personal side project of his, which he began working on in 2021.</p><p>Out of the box, Ghostty is extremely fast, as it is written in Zig, also GPU Accelerated. Ghostty is a native application for macOS and Linux. On macOS, the GUI is written in Swift and uses AppKit and SwiftUI. On Linux, the GUI is written in Zig and uses the GTK4 C API. Both versions share a core written in Zig, called “libghostty,” which ensures consistent performance across platforms.</p><p>Ghostty has excellent documentation, which is much cleaner compared to other terminals. The installation process, configuration steps, and features are explained in an easy-to-understand manner. You can explore the documentation here: <a href="https://ghostty.org/docs">Ghostty Documentation</a>.</p><p>I’ve had only a short time with this terminal, but I’m really enjoying it. What stands out the most is how usable Ghostty is right out of the box, without any customization, and how effortless it is to customize when needed. For example, in the menu, you can access the configuration file by pressing Ctrl+,. This opens a plain text file where you can easily define settings like:</p><pre>font-family = &quot;JetBrains Mono&quot;<br>theme = Monokai Remastered<br>shell-integration = bash<br>background-opacity = 0.8<br>clipboard-read = allow<br>clipboard-write = allow<br>copy-on-select = true<br>custom-shader-animation = true<br>desktop-notifications = true<br>term = xterm<br>window-decoration = true<br>window-theme = auto</pre><p>Ghostty’s configuration approach is refreshingly simple. It uses a custom, but very simplistic key = value syntax. No TOML, JSON, or Lua is required. You can find a comprehensive list of configuration options in the <a href="https://ghostty.org/docs/config/reference">option reference</a>. Even without any customization, Ghostty adheres to a zero-configuration philosophy, making it incredibly user-friendly. Learn more about this philosophy <a href="https://ghostty.org/docs/config#zero-configuration-philosophy">here</a>.</p><pre>❯ ghostty --help<br>Usage: ghostty [+action] [options]<br><br>Run the Ghostty terminal emulator or a specific helper action.<br><br>If no `+action` is specified, run the Ghostty terminal emulator.<br>All configuration keys are available as command line options.<br>To specify a configuration key, use the `--&lt;key&gt;=&lt;value&gt;` syntax<br>where key and value are the same format you&#39;d put into a configuration<br>file. For example, `--font-size=12` or `--font-family=&quot;Fira Code&quot;`.<br><br>To see a list of all available configuration options, please see<br>the `src/config/Config.zig` file. A future update will allow seeing<br>the list of configuration options from the command line.<br><br>A special command line argument `-e &lt;command&gt;` can be used to run<br>the specific command inside the terminal emulator. For example,<br>`ghostty -e top` will run the `top` command inside the terminal.<br><br>On macOS, launching the terminal emulator from the CLI is not<br>supported and only actions are supported.<br><br>Available actions:<br><br>  +version<br>  +help<br>  +list-fonts<br>  +list-keybinds<br>  +list-themes<br>  +list-colors<br>  +list-actions<br>  +show-config<br>  +validate-config<br>  +crash-report<br>  +show-face<br><br>Specify `+&lt;action&gt; --help` to see the help for a specific action,<br>where `&lt;action&gt;` is one of actions listed below.</pre><p>In Ghostty help, you can see some available options. For example, you can check the themes by typing <strong><em>ghostty +list-themes</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wZIlVjgfgR-XQd24ApAB-A.png" /></figure><p>If you’re exploring new terminal options, Ghostty 1.0 might just be what you’ve been searching for.</p><p>Give it a try, and see how it transforms your workflow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=397fc0be7867" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Effortless Node Scaling in Kubernetes: Installing Karpenter on EKS]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://tanjilbhuiyan.medium.com/effortless-node-scaling-in-kubernetes-installing-karpenter-on-eks-f6109b2032f4?source=rss-cebaea3b91b2------2"><img src="https://cdn-images-1.medium.com/max/1212/1*U4OxYBvHwiNsx6z7KITi6g.png" width="1212"></a></p><p class="medium-feed-link"><a href="https://tanjilbhuiyan.medium.com/effortless-node-scaling-in-kubernetes-installing-karpenter-on-eks-f6109b2032f4?source=rss-cebaea3b91b2------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://tanjilbhuiyan.medium.com/effortless-node-scaling-in-kubernetes-installing-karpenter-on-eks-f6109b2032f4?source=rss-cebaea3b91b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6109b2032f4</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[karpenter]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[autoscaling]]></category>
            <dc:creator><![CDATA[Md. Tanjil Bhuiyan]]></dc:creator>
            <pubDate>Fri, 27 Dec 2024 19:30:56 GMT</pubDate>
            <atom:updated>2025-05-14T12:32:37.192Z</atom:updated>
        </item>
    </channel>
</rss>