<?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 theurikarue on Medium]]></title>
        <description><![CDATA[Stories by theurikarue on Medium]]></description>
        <link>https://medium.com/@iambonitheuri?source=rss-3f3cc1c6b3a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*M5S07PF2ipDhIfT92F6Ctw.jpeg</url>
            <title>Stories by theurikarue on Medium</title>
            <link>https://medium.com/@iambonitheuri?source=rss-3f3cc1c6b3a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 23:42:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iambonitheuri/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[ Want to Show Off Your Code? Here’s How to Share Localhost With Friends.]]></title>
            <link>https://awstip.com/want-to-show-off-your-code-heres-how-to-share-localhost-with-friends-95abb630f960?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/95abb630f960</guid>
            <category><![CDATA[localhost]]></category>
            <category><![CDATA[tailscale]]></category>
            <category><![CDATA[static-site]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 07:51:56 GMT</pubDate>
            <atom:updated>2025-08-21T14:48:22.070Z</atom:updated>
            <content:encoded><![CDATA[<p>Whether you’re building a personal website, a portfolio, an API or a full-stack app — you’ve probably wondered:</p><blockquote>“How can I share what I am doing with others while it’s still running on my machine without the hassle of moving around with your laptop/desktop ?”</blockquote><p>This article is a guide for students, devs, designers, and hackathon teams who want to make their local projects accessible on the internet — quickly and securely — without deploying to a live server. I so happened to stumble on this while exploring the Tailscale VPN third party provider.</p><p>We’ll explore multiple tools to turn your localhost into a <strong>shareable public link.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*zMXbgbntrD94H5-7VaJthQ.png" /><figcaption>localhost</figcaption></figure><h3><strong>❓ Why Share Your Localhost?</strong></h3><p>Before diving into the tools, here’s why you might want to expose your localhost:</p><p>✅ <strong>Demo your work</strong> — Show clients, teammates, or mentors your progress.<br>✅ <strong>Test webhooks</strong> — APIs like Stripe, Twilio, or Discord need a public URL.<br>✅ <strong>Collaborate in real-time</strong> — Get instant feedback from friends or colleagues.<br>✅ <strong>Access your dev environment remotely</strong> — Work from anywhere.<br>✅ <strong>Learn networking &amp; tunneling</strong> — Understand how web traffic flows.</p><p>I like this option since you don’t necessarily <strong>need</strong> to deploy to Netlify, Vercel, or a VPS just to show a “work in progress”. Let’s explore the best ways to share your localhost.</p><h3>🚀 1. Tailscale: Secure VPN + Public Funnel</h3><p>Tailscale creates a <strong>peer-to-peer mesh VPN</strong> that lets your devices talk to each other over a secure, encrypted network. It’s perfect for connecting your laptop to your phone, or your dev server to your production one — <strong>even across the globe. </strong>It uses <strong>WireGuard</strong> under the hood, making it fast and secure.</p><p><strong>🧩 What Makes It Different?</strong></p><ul><li>🛡️ End-to-end encrypted connection</li><li>🔒 Built on WireGuard (super secure)</li><li>🌍 Adds your device to a private network (like your own internet)</li><li>✅ Works NAT-traversal magic — no port forwarding needed</li><li>🚪 Offers <strong>Funnel</strong>, a new way to open your localhost to the public</li></ul><h3>🔧 Step-by-Step Guide: Serving Localhost via Tailscale Funnel</h3><h4>1. Install Tailscale</h4><p>On Linux/macOS:</p><pre>curl -fsSL https://tailscale.com/install.sh | sh</pre><p>On Windows:</p><p>Download from: <a href="https://tailscale.com/download"><em>tailscale.com/download</em></a></p><p><strong>2. Authenticate</strong></p><p>Run:</p><pre>sudo tailscale up</pre><p>You’ll be prompted to <strong>log in with your email, GitHub </strong>or <strong>Microsoft</strong>.</p><p><strong>3. Start Your App Locally</strong></p><p>eg, if your app runs on port 3000:</p><pre>npm run dev<br># or python manage.py runserver 127.0.0.1:3000</pre><h4>4. Enable Funnel</h4><p>This makes your localhost publicly accessible:</p><pre>tailscale funnel 3000</pre><p>You’ll get a public HTTPS link like:<br>👉 <a href="https://your-machine.ts.net/"><strong>https://your-machine.ts.net</strong></a></p><p>⚠ <strong>Note:</strong> You must enable <strong>Funnel</strong> in your Tailscale admin panel first for this to work.</p><h3>Alternatively: Serve Locally Within Your Tailnet Only</h3><p>In the event that all the people you’d like to send your project to are on your <strong>Tailnet</strong>, and you don’t want the link to be accessible to the entire internet, you can use Tailscale’s <strong>local serve utility</strong> instead of Funnel.</p><p>This method is:</p><ul><li><strong>More private</strong> (limited to Tailnet peers only)</li><li><strong>Faster</strong> (less latency)</li><li><strong>Easier to manage</strong> with access control via Tailscale ACLs</li></ul><h4>How to Do It:</h4><ol><li><strong>Start your app locally as usual.</strong></li></ol><pre>npm run dev</pre><p>2. <strong>Use </strong><strong>tailscale serve (Private Sharing)</strong></p><pre>tailscale serve --bg &lt;target&gt; <br># eg tailscale serve --bg 3000</pre><p>3<strong>. Get Your Private Tailscale URL</strong></p><p>Once you’ve served and would like to get your private Tailnet URL, run the following:</p><pre>tailscale status</pre><p>You’ll see a <strong>.ts.net</strong> URL like:<br>👉 <a href="http://your-machine.tailnet-name.ts.net:3000/">http://your-machine.tailnet-name.ts.net:3000</a></p><p>Only devices logged into your Tailnet can access this!</p><p>4. <strong>Stopping the Server</strong></p><p>To shut it down:</p><pre>tailscale serve --reset</pre><p><strong>🔗 Further Reading:</strong></p><ul><li><a href="https://tailscale.com/kb/1242/tailscale-serve/">Tailscale Serve Docs</a></li><li><a href="https://tailscale.com/blog/funnel-serve/">Tailscale Funnel vs. Serve</a></li></ul><h3><strong>💡 VS Code Extension for Tailscale</strong></h3><p>Bonus: Tailscale has a handy VS Code extension that prompts you with a pop-up when you run a server — making it super easy to share your localhost with one click.</p><p>🔗 Tailscale Extension on Marketplace</p><ul><li>One-click sharing of your <strong>local folders or live servers</strong></li><li>Great for frontend developers showing progress</li></ul><p>Below is a photo of the pop up that I am referring:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*vOZoGVNf3WJ27u_NV_GQ7w.png" /></figure><h3>🧪 2. Ngrok: The OG of Localhost Tunneling</h3><p>Ngrok creates a secure tunnel from your local machine to the internet. It’s extremely popular among developers for testing APIs and webhooks.</p><h4><strong>🛠 Setup Guide</strong></h4><p><strong>✅ 1. Install Ngrok</strong></p><p>Go to <a href="https://ngrok.com/downloads/">ngrok</a> and follow the instructions.</p><p>It will guide you regardless of whether you’re on Windows, MacOS, Linux or FreeBSD</p><p><strong>✅ 2. Authenticate</strong></p><p>Get your auth token from your ngrok dashboard:</p><pre>ngrok config add-authtoken &lt;YOUR_AUTHTOKEN&gt;</pre><p>Replace &lt;YOUR_AUTHTOKEN&gt; with your actual authtoken sign up to get your auth token</p><p><strong>✅ 3. Start a Tunnel</strong></p><pre>ngrok http 3000</pre><p>Replace 3000 with the port you’re running on.</p><h3>📦 Features</h3><ul><li>Works with <strong>HTTP, TCP, and custom protocols</strong></li><li>Provides an <strong>HTTPS link by default</strong></li><li>Built-in <strong>dashboard and analytics</strong></li><li><strong>Basic auth</strong> supported (e.g. protect with username/password)</li></ul><h3>⚡ 3. Live Server: Instant Static Site Hosting</h3><p>Yes I know what you’re thinking “Theuri what if I am coding in plain HTML,CSS and vanilla JS which don’t necessarily have a command to run server”. So if you’re building a <strong>pure frontend</strong> site with HTML, CSS, JS — live-server is your best friend. (P.S. Don’t confuse this with the ‘Live Server’ VS Code extension — this one is a standalone CLI tool!).</p><ul><li>Spins up a <strong>local server</strong></li><li>Automatically reloads your browser on file changes</li><li>Great for <strong>HTML/JS learners, portfolio devs, and designers</strong></li><li>What’s more is that you can serve your local directory too.</li></ul><p><strong>📦 Install Live Server</strong></p><pre>npm install -g live-server</pre><p>▶️ Run It</p><p>Go to the directory containing your html code:</p><pre><br>cd Work/naivera/my_favourite_person<br><br>live-server --port=8080 &amp; </pre><p>This will run in the background.</p><p>You’ll get the following response:</p><blockquote>Serving “/home/theuri/Work/naivera/my_favourite_person” at <a href="http://127.0.0.1:8080/">http://127.0.0.1:8080</a><br>Ready for changes</blockquote><p>This is what I meant by serving your local directory (Daamn it even has a search icon)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*1dTv0k1wofW9RACgLJAtag.png" /></figure><p>And yes I know you must be asking yourself what if I would like to share over the internet:</p><p>You can use either tailscale or Ngrok.</p><pre>ngrok http 8080</pre><p>You’ll get a response that looks like this:</p><blockquote>ngrok<br> <br>🫶 Using ngrok for OSS? Request a community license: <a href="https://ngrok.com/r/oss">https://ngrok.com/r/oss</a> <br> <br>Session Status online <br>Account naivera-inc (Plan: Free) <br>Version 3.25.1 <br>Region India (in) <br>Latency 274ms <br>Web Interface <a href="http://127.0.0.1:4040/">http://127.0.0.1:4040</a> <br>Forwarding <a href="https://406b99aa576b.ngrok-free.app/">https://406b99aa576b.ngrok-free.app</a> -&gt; <a href="http://localhost:8080/">http://localhost:8080</a></blockquote><p>Use the link shown in forwarding eg &lt;https://406b99aa576b.ngrok-free.app&gt;</p><p>Boom! Your static site is now accessible anywhere via the ngrok HTTPS link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*4y94_68cBT2CW-DiqlB-4A.png" /></figure><h3>🧭 Conclusion</h3><p>As you’ve seen sharing your localhost with the world is easier than ever.</p><p>Whether you’re hacking on a weekend project, building a startup, or just learning how networks work — you don’t need to deploy everything to production just to show progress.</p><p><strong>My journey started with Tailscale</strong>, and I still use it — especially the VS Code integration. But <strong>Ngrok became my go-to</strong> for demos, and <strong>live-server</strong> is unmatched when teaching HTML.</p><p>Choose your tool:</p><ul><li>For static HTML: <strong>Live Server</strong></li><li>For secure tunnels: <strong>Tailscale + Funnel</strong></li><li>For webhooks/demos: <strong>Ngrok</strong></li></ul><p>Ask me anything <a href="https://forms.gle/Tj2eoYCTYsHT5HY19">via this form</a> — whether it’s about localhost, dev tools, or career advice. No question is too small or too big. I’m happy to help!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95abb630f960" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/want-to-show-off-your-code-heres-how-to-share-localhost-with-friends-95abb630f960">🌐 Want to Show Off Your Code? Here’s How to Share Localhost With Friends.</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VPN: Visibility. Privacy. Neutrality — The Pillars of Secure Digital Operations.]]></title>
            <link>https://medium.com/@iambonitheuri/vpn-visibility-privacy-neutrality-the-pillars-of-secure-digital-operations-2e379ecc39f8?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e379ecc39f8</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[protection]]></category>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[kaspersky]]></category>
            <category><![CDATA[tailscale]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Thu, 10 Jul 2025 12:01:25 GMT</pubDate>
            <atom:updated>2025-07-10T12:01:25.624Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Cybersec 101: VPN s— Visibility, Privacy, Neutrality — The Pillars of Secure Digital Operations.</strong></h3><p>In today’s digital landscape, where data breaches, surveillance, and cyber threats are more prevalent than ever, companies must take proactive steps to protect their infrastructure, employees, and sensitive data. One of the simplest yet most effective cybersecurity measures an organization can adopt is the use of a <strong>Virtual Private Network (VPN)</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O-zrTVGNMF4dcrIqT1_hhw.png" /></figure><h3>What is a VPN and How Does It Work?</h3><p>VPN stands for “Virtual Private Network” and describes the opportunity to establish a protected network connection when using public networks. VPNs encrypt your internet traffic and disguise your online identity. This makes it more difficult for third parties to track your activities online and steal data. The encryption takes place in real time.</p><p>A VPN hides your IP address by letting the network redirect it through a specially configured remote server run by a VPN host. This means that if you surf online with a VPN, the VPN server becomes the source of your data. This means your Internet Service Provider (ISP) and other third parties cannot see which websites you visit or what data you send and receive online. A VPN works like a filter that turns all your data into “gibberish”. Even if someone were to get their hands on your data, it would be useless.</p><p>VPN use has expanded rapidly in recent years, and <a href="https://www.forbes.com/advisor/business/vpn-statistics/">according to Forbes</a>, it’s believed that 31% of all internet users worldwide now use a VPN. This is despite VPN use being severely restricted or impeded in several countries, including China, India, Russia, Egypt, and Turkey. The same Forbes research has found that enhanced privacy is cited by 47% of personal VPN users as a key reason why they use the technology, closely followed by accessing streaming services (46%).</p><h3>What are the benefits of a VPN connection?</h3><p>A VPN connection disguises your data traffic online and protects it from external access. Unencrypted data can be viewed by anyone who has network access and wants to see it. With a VPN, hackers and cyber criminals can’t decipher this data.</p><h4>🔐 Secure Encryption</h4><p>To read the data, you need an encryption key. Without one, it would take millions of years for a computer to decipher the code in the event of a <a href="https://www.kaspersky.com/resource-center/definitions/brute-force-attack">brute force attack</a>. With the help of a VPN, your online activities are hidden even on public networks.</p><h4>🌍 Disguising Your Location</h4><p>VPN servers essentially act as your proxies on the internet. Because the demographic location data comes from a server in another country, your actual location cannot be determined. In addition, most VPN services do not store logs of your activities. Some providers, on the other hand, record your behavior, but do not pass this information on to third parties. This means that any potential record of your user behavior remains permanently hidden.</p><h4>🌐 Access to Regional Content</h4><p>Regional web content is not always accessible from everywhere. Services and websites often contain content that can only be accessed from certain parts of the world. Standard connections use local servers in the country to determine your location. This means that you cannot access content at home while traveling, and you cannot access international content from home. With <a href="https://www.kaspersky.com/resource-center/definitions/spoofing">VPN location spoofing</a>, you can switch to a server in another country and effectively “change” your location.</p><p>Totally off topic and you can skip and go to the next part:</p><p>I have tried employing this recently while playing efootball (for all pes lovers😂 ) and it has done me wonders since maintenance can take such a long time sometimes so “changing location” helps me play the game I love without hiccups. (ps for some odd reason many prefer the Turkey server 😂)</p><h4>📂 Secure Data Transfer</h4><p>If you work remotely, you may need to access important files on your company’s network. For security reasons, this kind of information requires a secure connection. To gain access to the network, a VPN connection is often required. VPN services connect to private servers and use encryption methods to reduce the risk of data leakage.</p><h3>Why should you use a VPN connection?</h3><p>Your ISP usually sets up your connection when you connect to the internet. It tracks you via an IP address. Your network traffic is routed through your ISP’s servers, which can log and display everything you do online.</p><p>Your ISP may seem trustworthy, but it may share your browsing history with advertisers, the police or government, and/or other third parties. ISPs can also fall victim to attacks by cyber criminals: If they are hacked, your personal and private data can be compromised.</p><p>This is especially important if you regularly connect to public Wi-Fi networks. You never know who might be monitoring your internet traffic and what they might steal from you, including passwords, personal data, payment information, or even your entire identity.</p><h3>Why Every Business Should Use a VPN</h3><h4>1. 🛡 Enhanced Data Security</h4><p>When your employees access company resources remotely — especially over public Wi-Fi — they’re vulnerable to cyberattacks such as packet sniffing, man-in-the-middle attacks, and data harvesting. A VPN encrypts this data, rendering it unreadable to malicious actors.</p><h4>2. 📈 Privacy from ISPs and Third Parties</h4><p>ISPs can log and sell user data, including browsing history and connection times. With a VPN, all traffic is encrypted, preventing ISPs and external surveillance tools from tracking online behavior — a crucial step for companies handling sensitive client or financial information.</p><h4>3. 🌎 Secure Remote Access</h4><p>VPNs enable employees to securely connect to the company’s internal network from anywhere in the world. This is essential in a world where remote work and distributed teams are increasingly the norm.</p><h4>4. 🏧 Protection on Public Networks</h4><p>Public Wi-Fi is a breeding ground for cyber-criminals. VPNs ensure that when employees connect from cafes, airports, or co-working spaces, their data remains protected.</p><h4>5. 🛏️ Avoid Geo-Restrictions and Censorship</h4><p>Some business operations — such as researching international markets or accessing region-locked tools — require bypassing geographic content restrictions. A VPN allows users to connect to servers in other countries, enabling uninterrupted access to global resources.</p><h3>Types of VPNs Used in Companies</h3><p>At Naivera we are looking to use Tailscale as our VPN provider. Below are some of the various types of VPNs most companies use.</p><h4>✅ 1. Site-to-Site VPNs (Router-to-Router VPNs)</h4><p><strong>Use case:</strong> Connecting multiple branch offices of a corporation.</p><p>🔹 <strong>Example:</strong><br> A multinational company like <strong>Coca-Cola</strong> with offices in Nairobi, New York, and London uses a <strong>site-to-site VPN</strong> to connect their office networks. Employees in different cities can securely access shared files, printers, and internal tools as if they were in one building.</p><p>🔹 <strong>Benefit:</strong></p><ul><li>Seamless integration of networks</li><li>Centralized access to internal resources</li><li>No need for individual VPN clients</li></ul><h4>✅ 2. Remote Access VPNs (Client-to-Server)</h4><p><strong>Use case:</strong> Employees working remotely or traveling.</p><p>🔹 <strong>Example:</strong><br> A software engineer at <strong>Microsoft</strong> working from home in Kenya connects securely to Microsoft’s internal systems using a <strong>remote access VPN</strong> client like Cisco AnyConnect or OpenVPN.</p><p>🔹 <strong>Benefit:</strong></p><ul><li>Encrypts traffic between user and company network</li><li>Enables remote work without compromising security</li><li>Often includes multi-factor authentication (MFA)</li></ul><h4>✅ 3. SSL VPNs (Browser-Based VPNs)</h4><p><strong>Use case:</strong> BYOD (Bring Your Own Device) environments or temporary access.</p><p>🔹 <strong>Example:</strong><br> A freelance consultant hired by <strong>KCB Bank</strong> logs in via a browser using an <strong>SSL VPN</strong> to access only specific web applications like dashboards or reports — no need to install VPN software.</p><p>🔹 <strong>Benefit:</strong></p><ul><li>No client installation needed</li><li>Works on personal devices</li><li>Access limited to web-based internal tools</li></ul><h3>When Should Your Company Use a VPN?</h3><ul><li><strong>During Remote Work:</strong> Securely access internal systems and documents.</li><li><strong>On Public Wi-Fi:</strong> Prevent data leaks when connecting from non-secure networks.</li><li><strong>While Traveling:</strong> Access company tools and content from abroad without restrictions.</li><li><strong>For Regular Browsing:</strong> Shield sensitive research and analytics from third-party tracking.</li><li><strong>When Handling Confidential Client Data:</strong> Ensure confidentiality and compliance with data protection laws.</li></ul><h3>Core Features of a Good Business VPN</h3><p>A reliable VPN should offer more than just basic encryption. Look for these features:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*spQ9KyMuFWJHPXq0S3N9tw.png" /></figure><h3>Why Your Company Needs to Act Now</h3><p>Cyber threats are no longer just an IT problem — they are a business risk. Data breaches, IP theft, and client trust loss can cost your organization far more than the cost of a VPN subscription.</p><ul><li>According to IBM, the <strong>average cost of a data breach in 2023 was $4.45 million</strong>.</li><li>A Cisco report showed that <strong>remote work has increased the average time to contain a breach</strong> by over 30%. (“Cisco 2024 Hybrid Work Security Index”)</li><li>The <strong>2024 Global VPN Market</strong> is valued at over $75 billion, underscoring how widely adopted this technology has become.</li></ul><p>For a company like Naivera, taking steps toward a more secure infrastructure doesn’t just protect data — it protects your brand, your reputation, and your clients.</p><h3>Best Practices When Implementing a Company VPN</h3><ol><li><strong>Choose a Reputable VPN Provider</strong><br> Avoid free or unknown VPNs. Opt for providers with strong encryption, audits, and a no-logs policy.</li><li><strong>Educate Employees</strong><br> Training on how and when to use the VPN helps reduce human error — the leading cause of data breaches.</li><li><strong>Enforce VPN Usage</strong><br> Configure firewalls and systems to block traffic that doesn’t go through the VPN.</li><li><strong>Integrate with Existing Security Tools</strong><br> VPNs work best when paired with firewalls, antivirus tools, and endpoint protection systems.</li><li><strong>Regularly Monitor and Update</strong><br> Keep software updated, monitor usage, and audit logs regularly to ensure compliance.</li></ol><h3>A Note on Mobile VPN Use</h3><p>Today, employees often work from smartphones or tablets. Fortunately, VPN apps are available for Android and iOS, with easy-to-use interfaces and powerful protections. Whether handling client emails, joining meetings, or accessing cloud drives — a VPN on mobile ensures the same protection as on desktops.</p><h3>Is a VPN Alone Enough?</h3><p>While VPNs are vital for securing online activity, they are not all-encompassing. For complete protection, a layered security approach should be implemented — including antivirus software, firewalls, endpoint protection, phishing filters, and continuous employee education.</p><p>Think of a VPN as the <strong>lock on your front door</strong>. It’s strong and necessary, but on its own, it doesn’t prevent burglars who get in through an open window. Pair it with a complete security system.</p><h3>Conclusion</h3><p>A VPN connection establishes a secure connection between you and the internet. Via the VPN, all your data traffic is routed through an encrypted virtual tunnel. This disguises your IP address when you use the internet, making its location invisible to everyone. A VPN connection is also secure against external attacks. That’s because only you can access the data in the encrypted tunnel — and nobody else can because they don’t have the key. A VPN allows you to access regionally restricted content from anywhere in the world. Many streaming platforms are not available in every country. You can still access them using the VPN.</p><p>There are now also many providers of VPN connections for smartphones which keep mobile data traffic anonymous. However, remember that only your data traffic on the internet is anonymized and protected by using a VPN. The VPN connection does not protect you from hacker attacks, Trojans, viruses, or other malware. You should therefore rely on an additional trusted antivirus software (My last article on how hackers recover stored credentials gets into detail on why having a trusted antivirus is great).</p><p><a href="https://medium.com/@iambonitheuri/cybersec-101-credentials-harvesting-using-lazagne-62730afbaf33">Cybersec 101: Credentials Harvesting using laZagne</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VC30RBOpZmAV6RHI2P9feQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e379ecc39f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cybersec 101: Credentials Harvesting using laZagne]]></title>
            <link>https://medium.com/@iambonitheuri/cybersec-101-credentials-harvesting-using-lazagne-62730afbaf33?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/62730afbaf33</guid>
            <category><![CDATA[credential-harvesting]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cybersecurity-awareness]]></category>
            <category><![CDATA[lazagne]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Mon, 16 Jun 2025 12:42:14 GMT</pubDate>
            <atom:updated>2025-06-16T13:20:54.479Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cybersec 101: How Hackers Recover Stored Credentials using laZagne.</h3><p>Hello guys, yes yes, I know it’s been a while since I wrote to you. Honestly speaking, I was fighting for my life (a bit exaggerated but yes 😂). We had finals for the major part of May after which I had to start looking for an industrial attachment opportunity. Luckily, I managed to get an internship at a company called <a href="https://naiverah.com/"><strong>Naivera</strong></a> — yaaay 🥳! They deal in real estate investments and have both an online portal and a mobile application. I’m mainly working on their backend, and I’m currently in my third week. So far, it’s been great.</p><p>Anyways, I am pretty certain you didn’t wait this long to hear about my survival (well, barely surviving 😂), so let’s dive into today’s topic: <strong>Lazagne — the ultimate password recovery tool</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*pmQnTmQNa_j9YuuUuAGl4Q.jpeg" /><figcaption>Lazagne</figcaption></figure><h3>What is Lazagne?</h3><p><strong>Lazagne</strong> is an open-source password recovery tool that extracts stored credentials from various applications on a system. It’s widely used by:</p><ul><li>Security professionals</li><li>Penetration testers</li><li>System administrators</li></ul><p>One of the things I was looking out for while looking for a credentials harvesting tool is one that can be used on various systems and Lazagne supports multiple platforms: <strong>Windows, Linux, and macOS</strong>.</p><p>It can retrieve:</p><ol><li>passwords from browsers,</li><li>Wi-Fi networks</li><li>Databases</li><li>Email clients</li><li>Credentials from Vault files and even</li><li>Gaming applications.</li></ol><h3>Why Use Lazagne?</h3><h4>Key Features:</h4><ul><li>✅ <strong>Multi-Platform Support</strong>: Windows, Linux, macOS</li><li>✅ <strong>Wide Application Coverage</strong>: Browsers (Chrome, Firefox, Edge), databases, Wi-Fi networks, email clients, etc.</li><li>✅ <strong>Open-Source &amp; Free</strong>: Available on GitHub</li><li>✅ <strong>Command-Line &amp; GUI Support</strong>: Flexible depending on your preference</li><li>✅ <strong>Export results</strong>: Save extracted passwords as TXT, JSON, or CSV files</li></ul><h3><strong>Installation</strong></h3><p>You can get the tool from it’s GitHub repository:</p><p><a href="https://github.com/AlessandroZ/LaZagne">GitHub - AlessandroZ/LaZagne: Credentials recovery project</a></p><ul><li>Clone the repo directly from GitHub</li></ul><pre>git clone https://github.com/AlessandroZ/LaZagne.git</pre><ul><li>Navigate into its directory</li></ul><pre>cd LaZagne</pre><ul><li>Install dependencies</li></ul><pre>pip install -r requirements.txt</pre><ul><li>Use ls(Linux) or dir(Windows) to list contents in the directory/folder:</li></ul><p>You should see something akin to this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wNhpECiQc3_V_M4btqlinQ.png" /></figure><p>Depending on the Operating System you’re using navigate into the correct directory eg if you’re on Windows navigate to Windows</p><pre>cd Windows</pre><h3>Usage</h3><p>Now for the moment you have all been waiting for extracting the stored/saved passwords run the following command on your powershell/terminal.</p><pre>python laZagne.py all</pre><p>Available categories include:</p><ul><li>browsers (Chrome, Firefox, Edge, etc.)</li><li>mails (Outlook, Thunderbird)</li><li>wifi (Wi-Fi passwords)</li><li>databases (SQLite, MySQL, etc.)</li><li>games (Steam, Battle.net)</li><li>sysadmin (FileZilla, WinSCP, etc.)</li></ul><p>Sample screenshots from my own laptop</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XZn8HEksBkJitwkCQp6vfA.jpeg" /></figure><p>Ha you thought I’d simply show you all my passwords eeh 😂😂.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*Y9o_DH0qxzg48orrjr6Wug.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*doiXmRpc69IbQmQ-4qOH_w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nhbBi7PRz8NaUsSMdaOdLw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UbDmIh5no0Lk14wBMk_ynw.png" /></figure><p>In case you would like the extracted passwords to be saved in a file you can later use you can run the following command :</p><pre>python3 laZagne.py all -oN -output result.txt</pre><p><strong>✅ Explanation:</strong></p><ul><li>all: Extracts all possible credentials.</li><li>-oN: Export format as <strong>Normal text file (TXT)</strong>.</li></ul><pre>laZagne.exe all -oN -output passwords.txt</pre><ul><li>-oJ: Export format as <strong>JSON</strong>.</li></ul><pre>laZagne.exe all -oJ -output passwords.json</pre><ul><li>-oC: Export format as <strong>CSV</strong>.</li></ul><pre>laZagne.exe all -oC -output passwords.csv</pre><ul><li>-output result.txt: Saves the output to a file named result.txt in the current directory.</li></ul><h3>Limitations</h3><ul><li>🚩 <strong>Antivirus Detection:</strong> Lazagne is often flagged as malware and even on systems without antivirus software you still need to disable Microsoft Defender.</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ffu0yanfTDWE%3Fstart%3D101%26feature%3Doembed%26start%3D101&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dfu0yanfTDWE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Ffu0yanfTDWE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a500d4204bc6e5c96aa2a1085db570f/href">https://medium.com/media/8a500d4204bc6e5c96aa2a1085db570f/href</a></iframe><ul><li>🔐 <strong>Encrypted Passwords:</strong> Some apps store passwords in unrecoverable encrypted formats.</li><li>🛑 <strong>Admin Privileges:</strong> Some modules require elevated privileges on Windows.</li></ul><h3>Ethical Considerations</h3><ul><li><strong>Legal Use</strong>: Only use Lazagne on systems you own or have explicit permission to test.</li><li><strong>Penetration Testing</strong>: Useful for security audits, but unauthorized use may violate laws.</li><li><strong>Data Protection</strong>: Extracted credentials should be handled securely to prevent misuse.</li></ul><h3>🛡️ How to Safeguard Yourself from Password Recovery Tools Like laZagne</h3><p>While tools like <strong>laZagne</strong> are incredibly useful for security testing, they can also pose significant risks if misused by malicious actors. Here are <strong>practical steps</strong> to protect yourself and your systems from password extraction attacks:</p><h4>1. ✅ Keep Operating Systems Updated</h4><p>Always use <strong>supported and regularly updated versions</strong> of your operating system (e.g., Windows 10, Windows 11).<br> Older systems often lack security patches that prevent tools like laZagne from accessing stored passwords.</p><blockquote><em>🔐 </em><strong><em>Tip:</em></strong><em> Enable automatic updates to quickly receive critical patches.</em></blockquote><h4>2. ✅ Use Strong Antivirus and Endpoint Protection</h4><p>Install <strong>reputable antivirus software</strong> and endpoint protection solutions that can detect credential harvesting tools like laZagne.<br> Many modern antiviruses will flag laZagne as a potential threat.</p><blockquote><em>🔐 </em><strong><em>Tip:</em></strong><em> Regularly scan your system and set up real-time protection.</em></blockquote><h4>3. ✅ Use Full Disk Encryption</h4><p>Full disk encryption (like BitLocker on Windows or LUKS on Linux) helps protect stored data, including cached passwords, in case your device is lost or stolen.</p><blockquote><em>🔐 </em><strong><em>Tip:</em></strong><em> Always set a strong passphrase for disk encryption.</em></blockquote><h4>4. ✅ Limit Password Storage</h4><p>Whenever possible:</p><ul><li>Avoid saving passwords in browsers.</li><li>Use password managers with <strong>master password protection</strong> instead of letting applications store passwords in plaintext or easily accessible locations.</li></ul><blockquote><em>🔐 </em><strong><em>Tip:</em></strong><em> Prefer bowser settings that require authentication before viewing saved passwords.</em></blockquote><h4>5. ✅ Practice Least Privilege</h4><p>Restrict administrator privileges.<br> laZagne often requires elevated permissions to access sensitive areas. If your daily user account has limited rights, the damage potential is significantly reduced.</p><h4>6. ✅ Stay Informed and Report Vulnerabilities</h4><ul><li>Regularly follow security advisories from OS vendors and antivirus companies.</li><li>If you discover new weaknesses, <strong>report them to Microsoft, antivirus providers, or application developers</strong> to help them release timely patches.</li></ul><blockquote><em>🔐 </em><strong><em>Tip:</em></strong><em> You can submit suspicious tools to antivirus vendors for analysis, helping them improve detection signatures.</em></blockquote><h4>7. ✅ Use Multi-Factor Authentication (MFA)</h4><p>Even if passwords are compromised, <strong>MFA adds an extra security layer.</strong><br> Without the second factor, an attacker is less likely to successfully breach your accounts.</p><h4>8. ✅ Regularly Audit Your Systems</h4><p>Schedule periodic audits to:</p><ul><li>Identify and remove insecure password storage practices.</li><li>Monitor for unauthorized tools.</li><li>Validate that security controls are still effective.</li></ul><h3>Final Thoughts</h3><p>Lazagne is a powerful tool that can help security professionals and system admins audit password storage on systems. However, <strong>it must always be used ethically and within legal boundaries.</strong></p><p>I hope you enjoyed this guide and found it helpful! If you’d like a more technical deep dive or a demo, feel free to hit me up. Until then — stay curious, stay ethical, and stay tuned for my next article don’t miss out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62730afbaf33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ From Pixels to Prescriptions: How AI is Revolutionizing Tomato Disease Detection]]></title>
            <link>https://medium.com/@iambonitheuri/from-pixels-to-prescriptions-how-ai-is-revolutionizing-tomato-disease-detection-eef6afb527b4?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/eef6afb527b4</guid>
            <category><![CDATA[diseases-treatment]]></category>
            <category><![CDATA[tomato]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 09:24:18 GMT</pubDate>
            <atom:updated>2025-06-05T09:26:05.686Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*23vfqA2wXk9wemuezMH0bw.png" /><figcaption>A dissatisfied farmer (read till the end and see how the frown turns to a smile.)</figcaption></figure><h3>🌱 Introduction: The Tomato’s Tale</h3><p>Imagine walking through rows of your tomato farm, only to notice strange yellowing on the leaves, or dark spots creeping across them. Panic sets in — what disease is it this time? Could it be Late Blight again? Or maybe just sun scorch? Either way, time is critical, and every hour lost could mean the difference between harvest and heartbreak.</p><p>Traditionally, diagnosing plant diseases required expert agronomists, manual inspection, or lab testing — all of which can be expensive, time-consuming, or simply inaccessible for smallholder farmers. But what if farmers could get an instant diagnosis using just their smartphone?</p><p>That’s the vision behind our school project: to build an intelligent assistant that combines computer vision and natural language processing to identify tomato diseases <strong>from a single image</strong> — and go further to provide <strong>treatment advice</strong>, <strong>symptom explanations</strong>, and <strong>prevention tips</strong>.</p><p>Welcome to the world of multimodal deep learning. 🌍</p><h3>🤖 Meet Qwen2-VL 7B: The AI with Eyes and a Brain</h3><p>At the core of our system is <strong>Qwen2-VL 7B</strong>, a powerful vision-language model developed by Alibaba Group. Unlike typical image classifiers that only tell you “what” something is, vision-language models like Qwen2-VL understand <strong>what they see</strong> and can <strong>talk about it</strong>.</p><p>This means our model doesn’t just say “Tomato Leaf Mold” — it tells you:</p><blockquote><em>“The tomato leaf exhibits pale yellow spots which eventually turn dark brown. This is characteristic of Tomato Leaf Mold, a fungal disease caused by </em>Passalora fulva<em>. Remove infected leaves and apply a copper-based fungicide. Improve air circulation in your greenhouse to prevent recurrence.”</em></blockquote><p>We fine-tuned Qwen2-VL 7B using the <strong>Unsloth</strong> framework, which allowed us to adapt this massive model on modest consumer-grade GPUs, like the T4s on <strong>Google Colab</strong> and <strong>Kaggle Notebooks</strong> — democratizing access to cutting-edge AI.</p><h3>📊 Dataset: Teaching the Model to “See”</h3><p>To train this intelligent assistant, we used a tomato-specific dataset from Kaggle. Here’s a breakdown:</p><ul><li><strong>Total Training Images</strong>: 18,000+</li><li><strong>Test Images</strong>: 2,000</li><li><strong>Classes</strong>: 10 tomato diseases + 1 “Healthy” category</li></ul><p><strong>Examples of Diseases</strong>:</p><ol><li>Tomato Mosaic Virus</li><li>Early Blight</li><li>Late Blight</li><li>Leaf Mold</li><li>Target Spot</li><li>Yellow Leaf Curl Virus</li><li>Bacterial Spot</li></ol><p>Each image was labeled with its disease class, and in our multimodal fine-tuning phase, we paired images with descriptive text prompts to teach the model not only what it’s seeing — but how to <strong>explain it in human terms</strong>.</p><h3>🛠️ Training Process: Augment, Adapt, Accelerate</h3><p>We split the training into two stages:</p><h3>🧠 Stage 1: Image Classification</h3><p>We fine-tuned the model to recognize each disease class using labeled image data. To ensure generalization, we applied:</p><ul><li><strong>Data Augmentation</strong>: Random flips, rotations, zooms, brightness and contrast shifts</li><li><strong>Class Balancing</strong>: To prevent overfitting on overrepresented diseases</li><li><strong>Early Stopping</strong>: To prevent model degradation over longer epochs</li></ul><h3>🗣️ Stage 2: Multimodal Instruction Tuning</h3><p>Next, we taught the model to generate detailed responses using natural language prompts like:</p><pre>### Question:<br>What disease does this tomato plant have, and what should I do?<br><br>### Image:<br>[Uploaded leaf image]<br><br>### Response:<br>The leaf appears to be infected with Tomato Yellow Leaf Curl Virus...</pre><p>This allowed the model to provide <strong>context-aware</strong>, informative, and conversational responses — ideal for farmers without a technical background.</p><h3>📈 Results: Accuracy Meets Intelligence</h3><p>Our model performed exceptionally well:</p><ul><li><strong>Overall Classification Accuracy</strong>: 93.70%</li><li><strong>Precision and Recall</strong> (Average across classes): ~94%</li><li><strong>Top Performing Classes</strong>:</li></ul><ol><li>Tomato Mosaic Virus: 99.9%</li></ol><p><strong>2. </strong>Yellow Leaf Curl Virus: 97.0%</p><p><strong>3.</strong> Leaf Mold: 97.0%</p><p>More importantly, our model didn’t just stop at labels — it generated clear, actionable insights that can be used directly by farmers, agricultural extension officers, or even agri-tech apps.</p><h3>📱 A Glimpse into the Future: Real-World Use</h3><p>Imagine this:</p><ul><li>A farmer snaps a photo of a sick tomato leaf using their phone.</li><li>The AI identifies the disease, explains the symptoms in Swahili or English, suggests a low-cost treatment, and warns of preventive measures — <strong>instantly</strong>.</li></ul><p>That’s not a futuristic dream — it’s exactly what this project aims to enable.</p><p>And we’re not stopping at tomatoes. The same multimodal pipeline can be extended to:</p><ul><li><strong>Other crops</strong>: Maize, potatoes, bananas…</li><li><strong>Mobile App Integration</strong>: For rural accessibility</li><li><strong>Multilingual Support</strong>: English, Swahili, Kikuyu, and more</li><li><strong>Chat Interfaces</strong>: Using tools like Rasa or Langchain for AI-powered agricultural assistants</li></ul><h3>🧠 Why Vision-Language Models Matter</h3><p>Most plant disease detection models today are built purely on CNNs, which offer decent classification — but lack <strong>explanation</strong>. Vision-language models like Qwen2-VL are different:</p><ul><li>They understand <strong>visual features</strong> (blight patterns, discoloration).</li><li>They connect them to <strong>language-based knowledge</strong> (fungal causes, weather influence).</li><li>They provide <strong>meaningful guidance</strong>, not just names.</li></ul><p>This makes them ideal for low-resource environments where <strong>interpretability</strong> and <strong>education</strong> are just as important as accuracy.</p><h3>🎓 Conclusion: AI in Agriculture Is Here</h3><p>This project is more than a tech demo — it’s a <strong>practical solution</strong> to real-world challenges faced by farmers every season.</p><p>By combining computer vision, natural language generation, and local agricultural knowledge, we’ve created an intelligent assistant that not only detects tomato diseases but also helps farmers respond effectively — boosting yields, saving costs, and enhancing food security.</p><p>As AI becomes more accessible, it’s our responsibility as students and innovators to build solutions that <strong>uplift communities</strong>, <strong>solve actual problems</strong>, and <strong>create lasting impact</strong>.</p><p>Thanks to models like Qwen2-VL 7B, and open-source tools like Unsloth, that dream is within reach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QqIojbKg53a_oVH40J4ZRA.png" /><figcaption>A happy farmer (Yaaay I promised you a happy farmer!)</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eef6afb527b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cybersec 101 : Beginnings—How I Finally Got Started (With a Little Help )]]></title>
            <link>https://medium.com/@iambonitheuri/cybersec-101-beginnings-how-i-finally-got-started-with-a-little-help-792d03dc0de6?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/792d03dc0de6</guid>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[defensive-security]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Fri, 18 Apr 2025 06:53:39 GMT</pubDate>
            <atom:updated>2025-04-18T06:53:39.744Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cybersec 101 : Beginnings—How I Finally Got Started (With a Little Help )</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*yXDZ2_Hbd-bKoq9AqJUm1g.jpeg" /><figcaption>for all enthusiasts</figcaption></figure><p>Hey there 👋🏽</p><p>For the longest time, I had a deep interest in <strong>cybersecurity</strong> — I’d watch cool demos, scroll through hacker forums, and dream of running my own team (yep, total Mr. Robot vibes). But despite all that interest, I always hit the same wall:</p><p>👉🏽 <strong>“Where do I even start?”</strong><br> 👉🏽 <strong>“What if I’m not cut out for this?” (Hello, imposter syndrome)</strong><br> 👉🏽 <strong>“Maybe next week…” (which became next month … then next semester)</strong></p><p>It was a cycle of excitement → overwhelm → procrastination — repeat.</p><p>Sound familiar?</p><p>Well, <em>something finally shifted</em>.</p><h3>✨ The Turning Point</h3><p>This semester, I teamed up with a friend — <strong>Vanessa Wambui</strong> — and she’s been nothing short of a game-changer. We started:</p><ul><li>Meeting weekly</li><li>Sharing what we’ve learned</li><li>Holding each other accountable</li><li>Setting small, achievable goals</li></ul><p>And suddenly, learning cybersecurity didn’t feel so lonely or overwhelming anymore. Having someone to learn with was <em>everything</em>.</p><p>That’s why I’m launching this new column: <strong>CyberSec 101</strong> — a beginner-friendly series where I’ll:</p><p>📚 Share my journey<br> 🔧 Break down tools and concepts<br> 🧭 Help you get started if you’re feeling stuck</p><h3>🧠 What I’ve Explored So Far</h3><p>Let’s dive into a few of the wins and tools I’ve played with recently 👇🏽</p><h3>1. IBM Cybersecurity Fundamentals Certification</h3><p>This one was a big win for me! I had started this course ages ago but never finished it — until recently. Thanks to Vanessa’s support, I finally crossed that finish line. Having been someone who didn’t know where and how to begin, this certification was probably the best place to start from (and I highly recommend it if you’re starting out); it covered the following areas:</p><ul><li><strong>Introduction to cybersecurity</strong></li><li><strong>Cybersecurity on the offense (</strong><em>simply offensive security</em><strong>)</strong></li><li><strong>Cybersecurity on the defense (</strong><em>simply defensive security</em><strong>) </strong>and</li><li><strong>The job landscape in cybersecurity</strong></li></ul><p>Sometimes all you need is someone checking in to ask, “How’s that certification coming along?”</p><h3>2. Kali Linux Tools</h3><p>Kali Linux is like Disneyland for security enthusiasts. Some of the tools I’ve been getting comfy with:</p><ul><li><strong>Burp Suite</strong> — for intercepting and manipulating web traffic.</li><li><strong>Wireshark</strong> — packet sniffing and network traffic analysis.</li><li><strong>Ettercap</strong> — perfect for man-in-the-middle attacks and network monitoring.</li></ul><h3>3. QuasarRAT</h3><p>This was a personal favourite. I tinkered with <strong>QuasarRAT</strong>, a remote access trojan that can be used for both offensive and educational purposes. I got hands-on experience understanding how such tools work and how attackers leverage them to gain control over machines.</p><blockquote>(Disclaimer:Always practice in legal, controlled environments only!) eg in my case, I had a Windows 10 computer on my virtual machine and tried it out on friends&#39; laptops with their knowledge and permission.)</blockquote><h3>4. Simulating various attacks</h3><p>Here’s where things got spicy</p><p>Using <strong>Burp Suite’s Intruder module</strong> I simulated:</p><ul><li><strong>Cluster Bomb</strong> attacks (multiple payloads in different positions)</li><li><strong>Sniper</strong> attacks (focused payloads on specific parameters)</li></ul><p>In addition to the above, I also pulled off my first MITM attack using <strong>Ettercap</strong> and arpspoof:</p><pre>arpspoof -i wlan0 -t &lt;target_ip&gt; &lt;gateway_ip&gt;</pre><p>Seeing real-time traffic interception was equal parts thrilling and terrifying.</p><h3>5. Credential Harvesting with laZagne</h3><p>I also explored <strong>laZagne</strong>, a post-exploitation tool used to extract saved credentials from systems — like passwords saved in browsers as well as wifi profiles.</p><p>The results? Eye-opening.<br> It made me rethink ever hitting that <em>“Save Password”</em> button again.</p><h3>💬 Why CyberSec 101?</h3><p>This series is for:</p><ul><li>The curious beginner who doesn’t know where to start</li><li>The procrastinator who keeps saying “I’ll learn next week”</li><li>The learner who needs a buddy or a bit of encouragement</li></ul><p>Each week (or whenever I can), I’ll break down a tool, a concept, or a case study from the cybersecurity world. Think of it as your starter guide, written by someone who’s walking the same road, just a few steps ahead — and still learning too.</p><h3>📅 What’s Next?</h3><p>Next up, I’ll dive deeper into each of these tools and show you exactly how I’ve been using them, complete with screenshots and step-by-step instructions. Drop a comment if there’s anything specific you’d like me to cover in this series.</p><p>Shoutout to Vanessa again—you’ve truly been a blessing.</p><p>Let’s keep growing together 💻🛡️</p><blockquote><em>Note: All security tools mentioned are used for educational purposes only, in controlled environments. Always practice ethical hacking and get proper authorization before testing any systems.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=792d03dc0de6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating New Enterprises: The Art of Starting and Selling Early]]></title>
            <link>https://medium.com/@iambonitheuri/creating-new-enterprises-the-art-of-starting-and-selling-early-50c3a0fae69b?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/50c3a0fae69b</guid>
            <category><![CDATA[sales]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[mvp-development]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Mon, 03 Mar 2025 05:36:59 GMT</pubDate>
            <atom:updated>2025-03-03T05:37:31.665Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*Et8EmO2Se3cq78AzwVMPZg.png" /><figcaption>Entrepreneurship</figcaption></figure><p>Starting a new business is an exciting yet challenging journey. Many entrepreneurs dive into product development, believing that a great product will automatically lead to success. However, the true secret to launching a thriving enterprise lies in how well you engage with your customers and market your solution.</p><p>This blog combines insights from a well known startup mentor by the name of Brewster Barclay, an AWS partner manager and business development director, Zuhlke Engineering limited. Whether you are launching your first business or looking to refine your approach, these key principles will set you on the right path.</p><h3>1. Validation: Confirm Your Vision Before Scaling</h3><p>One of the most common mistakes startups make is building a product in isolation, only to realize later that there is no market demand. Before you invest significant resources, validate your vision by:</p><ul><li><strong>Testing Assumptions:</strong> Engage with potential customers to understand their real pain points. Avoid making decisions based on personal opinions alone.</li><li><strong>Minimizing Wasted Effort:</strong> Focus only on features that customers truly need. Early feedback helps prevent unnecessary development costs.</li><li><strong>Refining Your Value Proposition:</strong> Use direct customer insights to craft messaging that resonates with their problems and desires.</li><li><strong>Identifying Your Ideal Customer:</strong> A well-defined audience makes it easier to build targeted marketing and sales strategies.</li></ul><h3>2. Talk to Your Customers, Not at Them</h3><p>Many startups focus too much on their product rather than on their customers. Instead of spending hours perfecting a PowerPoint presentation, go out and have real conversations. A great salesman talks only 20% of the time, while the customer speaks for 80%. The goal is to listen, understand, and identify how your solution truly solves their problems.</p><h3>3. The Power of an MVP: Start Small, Learn Fast</h3><p>A Minimum Viable Product (MVP) should be centered around core functionalities that address a specific problem. By launching an MVP, you can:</p><ul><li><strong>Test Market Demand:</strong> See if customers are willing to use (or pay for) your solution.</li><li><strong>Gather Early Feedback:</strong> Understand what works and what needs improvement before scaling.</li><li><strong>Refine Your Business Model:</strong> Adjust based on real user interactions rather than assumptions.</li></ul><p>Remember, an MVP is not just about building a prototype — it is about starting the learning process as early as possible.</p><h3>4. Sell Early, Even Before You Have a Product</h3><p>One of the smartest moves a startup can make is selling early. Engaging potential customers, generating interest, and building a waitlist before launching can:</p><ul><li><strong>Prove Market Demand:</strong> Early traction signals that your solution is needed.</li><li><strong>Secure Funding:</strong> Investors are more likely to support a validated idea with demonstrated interest.</li><li><strong>Create Early Momentum:</strong> A pre-launch customer base can speed up initial growth.</li></ul><p>If you lack capital, create mockups or prototypes to gauge interest. Customers care more about the problem being solved than the technical details of your product.</p><h3>5. The Role of Sales in Startup Success</h3><p>Sales is not about overwhelming people with features — it is about effectively communicating the value of your product. Remember:</p><ul><li><strong>Customers Are Not Investors:</strong> They do not care about your technology as much as they care about how it benefits them.</li><li><strong>Explain Your Product in 30 Seconds:</strong> If you cannot simplify your pitch, you likely do not understand your product well enough.</li><li><strong>Sales Validate Business Models:</strong> Strong sales numbers show that your startup is solving a real problem.</li></ul><h3>6. Differentiation: Standing Out in a Competitive Market</h3><p>Competition is inevitable, but differentiation is key. Find what sets you apart:</p><ul><li><strong>Unique Features:</strong> Solve a problem in a way no one else does.</li><li><strong>Superior Customer Service:</strong> Personal touches can create long-term brand loyalty.</li><li><strong>Innovative Business Models:</strong> Challenge industry norms and introduce fresh approaches.</li><li><strong>Pricing Strategies:</strong> Sometimes, competitive pricing can be a key differentiator.</li></ul><h3>7. The Underestimated Power of Partnerships</h3><p>Startups do not have to grow in isolation. Strategic partnerships can provide:</p><ul><li><strong>New Sales Channels:</strong> Access customers through established brands.</li><li><strong>Credibility Boost:</strong> Aligning with trusted organizations can increase trust in your product.</li><li><strong>Faster Market Entry:</strong> Reduce barriers by leveraging existing networks.</li></ul><h3>8. The Ultimate Measure of Success: Sales</h3><p>At the end of the day, a startup’s success is measured by its ability to generate revenue. A strong sales pipeline indicates that you have:</p><ul><li><strong>Identified a Real Market Need:</strong> Your solution resonates with customers.</li><li><strong>Built a Valuable Product:</strong> People are willing to pay for it.</li><li><strong>Communicated Effectively:</strong> Your message is clear and compelling.</li></ul><h3>Key Takeaways:</h3><blockquote>✅ Talk to customers — listen more than you speak.<br>✅ Validate your idea before heavy investment.<br>✅ Focus on a core market before expanding.<br>✅ Build an MVP and refine it with real feedback.<br>✅ Sell early — test demand before full-scale development.<br>✅ Differentiate yourself from competitors.<br>✅ Leverage partnerships for faster growth.<br>✅ Prioritize sales — revenue is the ultimate proof of success.</blockquote><h3>Conclusion</h3><p>Starting a business is about more than just having a great idea — it is about execution, market engagement, and continuous learning. By focusing on customer needs, refining your value proposition, and selling early, you set yourself up for a successful entrepreneurial journey.</p><p>Entrepreneurship is an art. The best startups master the balance between product development, customer engagement, and sales. So, start small, think big, and keep moving forward!</p><h4><strong>Acknowledgments</strong></h4><p>I would like to express my heartfelt gratitude to <strong>JHUB Africa</strong> for organizing this invaluable webinar, which has provided us with crucial insights into launching and selling startups effectively.</p><p>Special thanks to <strong>Dr. Lawrence Nderu</strong>, the <strong>COD of the Computing Department at JKUAT</strong>, and <strong>Co-Founder of JHUB Africa,</strong> for his continuous support and dedication to fostering innovation and entrepreneurship among students. Your guidance and encouragement have played a significant role in making this event a success</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50c3a0fae69b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starlink in Kenya: Bridging the Digital Divide in Remote and Urban Areas]]></title>
            <link>https://medium.com/@iambonitheuri/starlink-in-kenya-bridging-the-digital-divide-in-remote-and-urban-areas-a0bbf149342f?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0bbf149342f</guid>
            <category><![CDATA[kenya]]></category>
            <category><![CDATA[starlink]]></category>
            <category><![CDATA[low-latency]]></category>
            <category><![CDATA[elon-musk]]></category>
            <category><![CDATA[high-speed-internet]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Fri, 30 Aug 2024 09:02:02 GMT</pubDate>
            <atom:updated>2024-08-30T09:02:02.234Z</atom:updated>
            <content:encoded><![CDATA[<h3>Starlink in Kenya: Bridging the Digital Divide in Remote and Urban Areas.</h3><p>After I was done with my internal attachment at JKUAT I talked to a gentleman by the name Charles Maina and asked whether there was any vacancy at his shop (<a href="https://laptopclinic.co.ke/">Elevetus Technologies alias The laptop Clinic</a>) and he said he would be more than glad to make space. I had worked at his shop during the last long holiday while I was in first year and had created a good rapport with him as well as his employees.</p><p>The main difference between what I was doing then(first year) and what I’ve been doing the past three weeks is that I have gotten to interact with Elon Musk’s Starlink and I’ve installed it for a couple of clients. So yes this article is about Starlink.</p><p>Have you heard about Starlink, the revolutionary satellite internet service that promises high-speed internet access even in the most remote areas of Kenya? I believe Starlink is a great solution to slow, unreliable internet connections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*g2zfAtWZODfAg9yTqxtu5w.jpeg" /></figure><p>Before you rush to purchase a Starlink’s kit, it’s essential to understand what <a href="https://laptopclinic.co.ke/products/spacex-starlink-high-speed-low-latency-satellite-dish">Starlink</a> is, how it works, and whether it’s the right choice for you.</p><p>This comprehensive review will delve into the details of Starlink in Kenya, exploring its availability, performance, pricing, and suitability for different users. We’ll also compare it to other internet options available in the country to help you make an informed decision.</p><p>The goal of this article is to empower you with the knowledge you need to determine if Starlink is the solution to your internet woes.</p><h3>What is Starlink?</h3><p>Starlink is a satellite internet constellation operated by SpaceX. It consists of thousands of small satellites in low Earth orbit that work together to provide high-speed internet access to virtually any location on the planet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*ew1_icrcPgFoxedXfM1Swg.jpeg" /><figcaption>Starlink in Kenya</figcaption></figure><p>Unlike traditional internet service providers (ISPs) that rely on ground-based infrastructure, such as cables and towers, Starlink delivers internet directly to your home through a satellite dish.</p><p><strong>How does Starlink work?</strong></p><p>The Starlink system involves three primary components:</p><ol><li><strong>Satellites:</strong> Thousands of small satellites orbit the Earth, forming a vast network in space. These satellites communicate with each other and with ground stations.</li><li><strong>Ground Stations:</strong> These are strategically located facilities on Earth that communicate with the Starlink satellites.</li><li><strong>User Terminal:</strong> This is the equipment installed at your location, consisting of a satellite dish, router, and power supply. The dish receives signals from the Starlink satellites, and the router distributes the internet connection to your devices.</li></ol><p><strong>Benefits of Starlink:</strong></p><ul><li><strong>Broad Coverage:</strong> Starlink can provide internet access to even the most remote areas where traditional ISPs struggle to reach.</li><li><strong>High Speed:</strong> Starlink offers download speeds ranging from 50 Mbps to 250 Mbps, with the potential for higher speeds in the future.</li><li><strong>Low Latency:</strong> Starlink’s low latency makes it suitable for online gaming, video conferencing, and other applications that require fast response times.</li><li><strong>No Data Caps:</strong> Unlike some traditional ISPs, Starlink typically doesn’t impose data caps, allowing you to use the internet without restrictions.</li></ul><h3>Is Starlink Available in Kenya?</h3><p>Starlink has made significant strides in expanding its coverage across the globe, and Kenya is no exception.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*Iftt3OHg1kqFbdHS" /></figure><p>While the service is available in many parts of the country, it’s essential to check the specific coverage map for your location before making a purchase.</p><p><strong>Starlink Coverage in Kenya:</strong></p><ul><li><strong>Urban Areas:</strong> Starlink generally offers good coverage in major cities and towns like Nairobi, Mombasa, and Kisumu. However, building density and obstructions can sometimes affect signal strength.</li><li><strong>Rural Areas:</strong> One of the biggest advantages of Starlink is its ability to provide internet access in remote and underserved regions. Many rural areas in Kenya have reported satisfactory Starlink coverage.</li><li><strong>Remote Locations:</strong> If you live in a truly remote area with limited or no internet connectivity, Starlink is likely your best option. The service has proven to be reliable in even the most challenging environments.</li></ul><p><strong>Factors Affecting Starlink Coverage:</strong></p><ul><li><strong>Obstructions:</strong> Trees, buildings, and hills can interfere with the satellite signal. It’s crucial to have a clear line of sight to the sky for optimal performance.</li><li><strong>Weather Conditions:</strong> Heavy rain, snow, or fog can temporarily impact Starlink’s connectivity. However, the system is designed to minimize disruptions.</li></ul><p><strong>Checking Starlink Availability:</strong></p><p>To determine if Starlink is available in your specific location, visit the official Starlink website and use their coverage map. You can enter your address to get an accurate assessment of service availability.</p><h3>What Do You Need to Use Starlink?</h3><p>To enjoy the benefits of Starlink, you’ll need the necessary hardware and a clear understanding of the setup process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*4BPyZfbgeznfw8A_" /></figure><p><strong>Starlink Kit:</strong></p><p>The actuated Starlink kit includes the following components:</p><ul><li><strong>Satellite Dish:</strong> This is the heart of the system, receiving signals from the Starlink satellites. It’s designed to be weatherproof and relatively easy to install.</li><li><strong>Wi-Fi Router:</strong> This device connects your devices to the Starlink network, allowing you to access the internet wirelessly.</li><li><strong>Power Supply:</strong> This provides the necessary power for the dish and router.</li><li><strong>Starlink Cable: </strong>You will find a Starlink cable inside the box it’s typically 15 metres in length but you can find longer cables such as one for 23metres and 46metres (Which can be found at the shop considering Elevetus is an authorised Starlink Distributor in Kenya)</li></ul><p><strong>Additional Equipment:</strong></p><p>Depending on your specific needs, you might consider purchasing additional equipment:</p><ul><li><strong>Tripod or Mount:</strong> If you need a temporary or portable setup, a tripod or mount can be useful.</li><li><strong>Power Supply:</strong> You might consider purchasing a power supply such as a UPS (Uninterrupted Power Supply) that way your starlink router will have power throughout.</li><li><strong>Ethernet Adapter:</strong> If you prefer a wired connection, an Ethernet adpater can be used to get that wired connection. (The ethernet adapter can be <a href="https://laptopclinic.co.ke/products/starlink-ethernet-adapter-for-wired-external-network?pr_prod_strat=e5_desc&amp;pr_rec_id=f37198980&amp;pr_rec_pid=9502519886109&amp;pr_ref_pid=9452274352413&amp;pr_seq=uniform">purchased at the shop too</a>). You may need to override default starlink router’s behaviour by turning on bypass mode, I could write a shorter article later to help you learn how turn on bypass mode and when to use it.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*67orslRWG0j4YrCrMhRX0A.jpeg" /></figure><h3>How Does Starlink Perform in Kenya?</h3><p>The performance of Starlink in Kenya can vary depending on several factors, including your location, weather conditions, and the number of active users in your area.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*gZn9e6lEn7g0lo4X" /></figure><p>However, based on user experiences and available data, we can provide a general overview of Starlink’s performance in the country.</p><p><strong>Internet Speed:</strong></p><ul><li><strong>Download Speeds:</strong> Starlink typically offers download speeds ranging from 50 Mbps to 250 Mbps. In many areas, users have reported consistently good download speeds, which are often faster than traditional broadband options.</li><li><strong>Upload Speeds:</strong> While upload speeds are generally not as high as download speeds, Starlink provides decent upload performance, suitable for most users’ needs.</li></ul><p><strong>Latency:</strong></p><p>Latency, or ping, is crucial for online gaming, video conferencing, and other real-time applications. Starlink generally offers low latency, making it a viable option for these activities. However, latency can be affected by factors such as distance from the satellites and network congestion.</p><p><strong>Reliability:</strong></p><p>Starlink’s reliability is generally good, but it can be affected by weather conditions such as heavy rain, snow, or fog. Additionally, network congestion during peak usage times might lead to temporary speed reductions or disruptions.</p><p><strong>User Experiences:</strong></p><p>While many users in Kenya have reported positive experiences with Starlink, it’s essential to consider individual variations. Some users have encountered issues such as intermittent connectivity or slower speeds in certain areas. It’s advisable to read user reviews and testimonials to get a broader perspective on Starlink’s performance in your specific region.</p><h3>How Much Does Starlink Cost in Kenya?</h3><p>Understanding the cost of Starlink is crucial before making a purchasing decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*aMoABczgZWNy-yAN" /></figure><p>The pricing structure includes the hardware cost and the monthly subscription fee.</p><p><strong>Hardware Cost:</strong></p><ul><li><strong>Starlink Kit:</strong> The Starlink kit, which includes the satellite dish, router, and power supply, was initially priced at KES 89,000. However, SpaceX introduced a limited-time offer, reducing the price to KES 45,000. It’s essential to check the current pricing on the Starlink website as promotions may change. At the time I wrote my first draft of this article we were selling the kit at KES 30,000.</li></ul><p><strong>Monthly Subscription:</strong></p><p>Considering we have mostly installed in residential areas I will talk about their standard residential plan.</p><ul><li><strong>Standard Plan:</strong> The monthly subscription fee for the standard residential plan is KES 6,500. This includes unlimited data and access to the Starlink network.</li></ul><p><strong>Additional Costs:</strong></p><ul><li><strong>Installation:</strong> While Starlink is designed for self-installation, you might incur additional costs if you require professional help.</li><li><strong>Equipment Upgrades:</strong> If you need to upgrade your equipment in the future, you might incur additional expenses.</li></ul><p><strong>Value Proposition:</strong></p><p>The overall cost of Starlink depends on various factors, including the hardware price, monthly subscription, and any additional expenses. It’s essential to compare the total cost of ownership with other internet providers to determine if Starlink offers the best value for your specific needs.</p><h3>Advantages &amp; Disadvantages of Starlink in Kenya.</h3><p>Like any technology, Starlink has its strengths and weaknesses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*vU1GHeokhjolXcuD" /></figure><p>It’s essential to weigh the pros and cons carefully before making a decision.</p><p><strong>Pros of Starlink:</strong></p><ul><li><strong>Broad Coverage:</strong> Starlink’s satellite-based technology provides internet access to remote areas where traditional ISPs struggle to reach. This is particularly beneficial for rural communities and businesses in Kenya.</li><li><strong>High Speed:</strong> Starlink offers download speeds comparable to or even exceeding those of traditional broadband options in many areas, enabling smooth streaming, online gaming, and video conferencing.</li><li><strong>Low Latency:</strong> Starlink’s low latency is suitable for online gaming, video calls, and other applications that require fast response times.</li><li><strong>No Data Caps:</strong> Enjoy unlimited data usage without worrying about overage charges or throttling.</li><li><strong>Easy Installation:</strong> Starlink is designed for self-installation, saving you time and money on professional setup.</li></ul><p><strong>Cons of Starlink:</strong></p><ul><li><strong>Cost:</strong> The initial hardware cost and monthly subscription fee might be higher compared to traditional broadband plans, especially for users with limited budgets.</li><li><strong>Weather Dependence:</strong> Heavy rain, snow, or fog can impact Starlink’s performance, leading to temporary service disruptions.</li><li><strong>Potential Congestion:</strong> As the number of Starlink users grows, network congestion might occur, leading to slower speeds during peak usage times.</li><li><strong>Equipment Reliance:</strong> You’re reliant on the Starlink hardware, and any malfunctions can disrupt your internet service until repairs or replacements are made.</li></ul><p>By carefully considering these factors, you can determine if Starlink is the right choice for your specific needs and circumstances.</p><h3>Is Starlink Right for You?</h3><p>Determining whether Starlink is the ideal internet solution depends on your specific needs, location, and budget. Here’s a breakdown of who might benefit from Starlink in Kenya:</p><p><strong>Ideal Starlink Users:</strong></p><ul><li><strong>Residents in Remote Areas:</strong> If you live in a rural or remote area with limited or no access to traditional broadband, Starlink can be a game-changer, providing you with high-speed internet connectivity.</li><li><strong>Businesses in Remote Locations:</strong> Businesses operating in remote areas, such as lodges, farms, or mining operations, can benefit from Starlink’s reliable and high-speed internet for operations and communication.</li><li><strong>Digital Nomads and Expats:</strong> Individuals working remotely or traveling frequently can rely on Starlink for consistent internet access across different locations.</li><li><strong>Gamers and Online Enthusiasts:</strong> Starlink’s low latency makes it suitable for online gaming and other activities that require fast response times.</li></ul><p><strong>When Starlink Might Not Be the Best Option:</strong></p><ul><li><strong>Budget Constraints:</strong> If you’re on a tight budget, the initial hardware cost and monthly subscription fee might be prohibitive.</li><li><strong>Urban Areas with Strong Broadband:</strong> If you live in an urban area with access to reliable and affordable broadband, you might not see the immediate benefits of Starlink.</li><li><strong>Weather-Sensitive Applications:</strong> If your work or activities rely heavily on uninterrupted internet connectivity, even for short periods, you might want to consider alternative options.</li></ul><h3><strong>Installation Process:</strong></h3><p>Starlink is designed for easy self-installation. However, if you prefer professional help, there are third-party installers available in Kenya.</p><p><strong>Self-Installation Steps:</strong></p><ol><li><strong>Unboxing:</strong> Carefully unpack your Starlink kit and ensure all components are present.</li><li><strong>App Setup:</strong> Download the Starlink app on your smartphone to guide you through the installation process.</li><li><strong>Dish Placement:</strong> Find a suitable location for the dish with a clear view of the sky. The app can help you find the optimal spot.</li><li><strong>Mounting:</strong> Secure the dish to a stable surface using the provided mounting equipment.</li><li><strong>Connecting Cables:</strong> Connect the satellite dish to the router and power supply according to the instructions.</li><li><strong>Power On:</strong> Plug the router into a power outlet and turn it on.</li><li><strong>Wi-Fi Connection:</strong> Connect your devices to the Starlink Wi-Fi network.</li><li><strong>Software Updates:</strong> The Starlink system will automatically download and install any necessary software updates.</li></ol><p><strong>Troubleshooting Tips:</strong></p><ul><li>If you encounter issues during installation, refer to the Starlink user manual or contact Starlink support for assistance.</li><li>Check for obstructions that might be interfering with the satellite signal.</li><li>Ensure all cables are securely connected.</li><li>Restart the Starlink system if necessary.</li></ul><p><strong>Professional Installation:</strong></p><p>If you prefer to have a professional install your Starlink system, there are third-party installers available in Kenya. These installers can handle the entire setup process, including dish placement, cable routing, and system configuration.</p><h3>Final Thoughts on Starlink in Kenya.</h3><p>Starlink has undoubtedly disrupted the internet landscape in Kenya, offering a viable solution for those seeking high-speed internet access in remote and underserved areas. Its ability to provide connectivity where traditional options fall short is a significant advantage.</p><p>However, it’s essential to weigh the pros and cons carefully. While Starlink offers impressive speeds and low latency, factors such as cost, potential weather interference, and network congestion should be considered.</p><p><strong>Key Takeaways:</strong></p><ul><li>Starlink excels in providing internet access to remote areas with limited connectivity options.</li><li>The service offers high speeds and low latency, making it suitable for various online activities.</li><li>Be prepared for potential weather-related disruptions and potential network congestion during peak usage times.</li><li>Consider your budget and compare Starlink to other available internet options before making a decision.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0bbf149342f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ultimate Laptop Buying Guide for Kenyans: What You Need to Know.]]></title>
            <link>https://medium.com/@iambonitheuri/the-ultimate-laptop-buying-guide-for-kenyans-what-you-need-to-know-ec8fb2af579b?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec8fb2af579b</guid>
            <category><![CDATA[laptop]]></category>
            <category><![CDATA[laptop-guide]]></category>
            <category><![CDATA[review]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 12:31:37 GMT</pubDate>
            <atom:updated>2024-08-24T12:31:37.492Z</atom:updated>
            <content:encoded><![CDATA[<p>A brief overview of our guide:</p><p>1). Introduction</p><p>2). Factors to consider</p><ul><li>Usage:</li><li>For everyday use</li><li>For business</li><li>For studying</li><li>For gaming</li><li>For design and video editing</li><li>Your budget</li><li>Your desired specifications:</li><li>Display</li><li>RAM</li><li>Processor</li><li>Graphics card</li><li>Storage</li><li>Laptop style and weight</li><li>Battery life</li><li>Operating System</li></ul><p>3). Conclusion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*dL5NpoqAwCu7JwTMKKkSkg.jpeg" /></figure><p><strong>1). Introduction</strong></p><p>In the bustling markets of Kenya, where vibrant cultures converge and the rhythm of life beats with enthusiasm, lies a world of technological marvels — the realm of laptops. Each with its unique charm, these portable wonders cater to diverse needs, from the everyday tasks that paint life’s canvas to the exhilarating adventures that unravel in virtual landscapes. In this comprehensive buyer’s guide, we shall embark on a journey of exploration, delving into the essential factors to consider when shopping for laptops in Kenya. From understanding your usage to savouring the intricacies of specifications, let us traverse the tapestry of laptop options and uncover the perfect match for you.</p><p><strong>2). Factors to Consider</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*8slQhkKWZlO4pa1G" /></figure><p><strong>Usage:</strong></p><p>In the grand symphony of laptop selection, the melody of your usage resonates at the core:</p><p><strong>For Everyday Use:</strong></p><p>For the soul seeking a companion for daily pursuits — web surfing, emails, word processing, and multimedia consumption — a laptop with a balance of affordability and functionality shall prove rewarding.</p><p>Key Usage: Web browsing, creating documents, watching movies, listening to music.</p><p>Ideal Screen Size: 12” to 15.6”</p><p>RAM: 4GB RAM or higher</p><p>Processor: Intel Core i3 or AMD Ryzen 3 processor</p><p>Storage: an SSD or HDD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*Zwo3PzwiVwqhfUUj" /><figcaption>Laptop Clinic</figcaption></figure><p><strong>For Business:</strong></p><p>In the realm of corporate ambitions, a laptop donning a robe of sophistication shall empower your professional prowess. Elevate your productivity with the grace of an Intel Core i5 or i7 processor, accompanied by 8GB to 16GB of RAM, and an SSD to ensure seamless multitasking and efficient data handling.</p><p>Key Usage: Working on large documents, presentations, complex spreadsheets, and basic editing.</p><p>Ideal Screen Size: 12” to 15.6”</p><p>RAM: 8GB RAM</p><p>Processor: Intel Core i5 or i7</p><p>Storage: an SSD for fast speeds</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*VZhI5pSupyWYgHnA" /></figure><p><strong>For Studying:</strong></p><p>Amidst the quest for knowledge and enlightenment, your academic journey shall be graced by a laptop of scholarly virtues.</p><p>Key Usage: Web browsing, creating documents, watching movies, listening to music, basic gaming, and basic coding.</p><p>Ideal Screen Size: 12” to 15.6”</p><p>RAM: 8GB RAM or higher</p><p>Processor: Intel Core i5 or AMD Ryzen 5</p><p>Storage: an SSD for fast speeds</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*UPf3qhl6v98S2GJ8" /></figure><p><strong>For Gaming:</strong></p><p>Venture into the enchanting realms of virtual wonder, where immersive experiences await the avid gamer. Unleash the power of a laptop crowned with NVIDIA GeForce GTX or RTX series graphics,</p><p>Key Usage: Professional gaming, Graphic design, running 3rd Party software</p><p>Ideal Screen Size: 15.6” to 17.3”</p><p>RAM: 16GB RAM or higher</p><p>Processor: Intel Core i7 or AMD Ryzen 7</p><p>Storage: an SSD for fast speeds</p><p>Graphics: NVIDIA GeForce GTX or RTX series graphics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*r_IJZ_le_lMHEqEx" /></figure><p><strong>For Design and Video Editing:</strong></p><p>Within the canvas of creativity, where artistry and technology intertwine, an artistic laptop shall awaken your imagination.</p><p>Key Usage:4K Video editing, Graphic design, 3D Animation, 3rd Party software use</p><p>Ideal Screen Size: 15.6” to 17.3”</p><p>RAM: 32GB RAM or higher</p><p>Processor: Intel Core i7 or AMD Ryzen 7</p><p>Storage: an SSD for fast speeds</p><p>Graphics: NVIDIA GeForce GTX or RTX series graphics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*F2Z4y0x7DCCx2rHG" /></figure><p><strong>Your Budget:</strong></p><p>Within the tapestry of financial consideration, your laptop quest shall find its course. Set sail on a journey of discernment, mindful of your budget’s boundaries, and allow the harmony of performance and affordability to guide your steps.</p><p>Pricing means which laptop fits your budget. Thankfully, PC manufacturers like HP and Lenovo take that into consideration. In Kenya today, you can buy a <strong>brand-new computer</strong> ranging from <strong>Ksh: 40,000 to Ksh: 200,000</strong>. At <a href="https://laptopclinic.co.ke/blogs/news/laptopclinic.co.ke"><strong>laptop clinic</strong></a> Kenya, the pricing of the pc depends on its specifications, model year and the manufacturer’s recommended retail price (MRRP). When it comes to pricing PC’s can be categorized into<strong> </strong>two: mid-range laptops and high-end laptops.</p><p><strong>Mid-range computers (Less pricey: mainstream):</strong></p><p>So, what’s a midrange laptop? In simple terms, this is a computer that can perform basic functionality offered at a cheaper price. Being cheaper doesn’t necessarily mean poor performance, mid-range pc’s today perform quite well due to their high demand in the market. In the table below, we highlight some of the best options available here at <a href="https://laptopclinic.co.ke/blogs/news/laptopclinic.co.ke"><strong>laptop clinic Kenya</strong></a><strong>.</strong></p><p><strong>Our top picks for midrange computers:</strong></p><p><a href="https://laptopclinic.co.ke/products/asus-e410m-intel-4gb-128ssd-laptop?_pos=1&amp;_sid=ea7dcbbf4&amp;_ss=r&amp;ref=o12jd76k">Asus E410m Celeron 4gb Ram 128gb Emmc</a> — KSh.31,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-840-g3-core-i5-4-128-ssd-laptop?_pos=6&amp;_sid=21e3ef32c&amp;_ss=r&amp;ref=o12jd76k">Hp Elitebook 840 G3</a> — Ksh.32,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-x360-310-g2-pentium-4gb-ram-128gb-ssd?_pos=2&amp;_psq=Hp%20310%20X360%20G2&amp;_ss=e&amp;_v=1.0&amp;ref=o12jd76k">Hp 310 X360 G2</a> — Ksh.30,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-probook-11core-i3-4gb-ram-500gb-hdd-laptop?_pos=1&amp;_sid=c57dd64fc&amp;_ss=r&amp;ref=o12jd76k">HP ProBook 11 G1</a> — Ksh.30,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-15-dw1207nia-4gb-ram-500hdd?_pos=1&amp;_sid=ff3006b75&amp;_ss=r&amp;ref=o12jd76k">HP 15-DW1207NIA</a> — Ksh.29,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-820-g1-core-i3-4gb-500gb-laptop?_pos=4&amp;_sid=a495fe2d9&amp;_ss=r&amp;ref=o12jd76k">HP Elitebook Folio 9480M</a> — Ksh.25,000.00</p><p><a href="https://laptopclinic.co.ke/products/stream-11-x360-c2d-4gb-32gb?_pos=1&amp;_sid=b457e4fc1&amp;_ss=r&amp;ref=o12jd76k">Hp Stream 11 Celeron</a> — Ksh.22,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-chrome-book-11-laptop?_pos=1&amp;_psq=HP%20Chromebook%20x360&amp;_ss=e&amp;_v=1.0&amp;ref=o12jd76k">HP Chromebook x360</a> — Ksh.17,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-pavilion-dv-6000-pent2gb250gb?_pos=1&amp;_sid=2e8156f01&amp;_ss=r&amp;ref=o12jd76k">Hp pavilion DV 6000 PENT </a>— Ksh.10,000.00</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*lKILrBAXcb2A82Jp" /></figure><p><strong>High-end laptops (A-bit pricey: premium):</strong></p><p>These are pc’s that are built for heavy users and huge workloads. If you want to perform heavy operations on your computer, then consider buying a high-end laptop. Machines like the Apple MacBook’s have the processing capability and some of the best GPU’s for high computational tasks.</p><p><strong>Our top best-selling high-end laptops:</strong></p><p><a href="https://laptopclinic.co.ke/products/zenbook-17-fold-oled-ux9702-16gb-ram-1tb-ssd-win-11?_pos=1&amp;_sid=7715de66e&amp;_ss=r&amp;ref=o12jd76k">ASUS Zenbook 17 Fold OLED</a> — Ksh.489,000.00</p><p><a href="https://laptopclinic.co.ke/products/rog-strix-scar-15-2022-g533zm?_pos=2&amp;_sid=093c69437&amp;_ss=r&amp;ref=o12jd76k">ASUS ROG Strix SCAR 15</a> — Ksh.280,000.00</p><p><a href="https://laptopclinic.co.ke/products/asus-tuf-dash-f15-fx517-core-i7-12th-gen-16gb-ram-512gb-ssd4gb-nvidia-geforce-rtx-3050-graphics-win-11?_pos=1&amp;_sid=303d556a0&amp;_ss=r&amp;ref=o12jd76k">ASUS TUF Dash F15 (2022) FX517Z</a> — KSh180,000.00</p><p><a href="https://laptopclinic.co.ke/products/macbook-pro-a1990-i751216gb-2018?_pos=1&amp;_sid=46dff8acc&amp;_ss=r&amp;ref=o12jd76k">MacBook pro A1990</a> — Ksh.120,000.00</p><p><a href="https://laptopclinic.co.ke/products/apple-macbook-pro-a1708?_pos=1&amp;_sid=c95f8502e&amp;_ss=r&amp;ref=o12jd76k">Apple MacBook Pro A1708</a>- Ksh.100,000.00</p><p><a href="https://laptopclinic.co.ke/products/apple-macbook-pro-a1989-133-inch-256-gb-intel-core-i5-8th-gen?_pos=1&amp;_sid=c46f34557&amp;_ss=r&amp;ref=o12jd76k">Apple MacBook Pro A1989</a> — Ksh.95,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-spectre-13-x360-ci7-10th-162tb-laptop?_pos=3&amp;_sid=e5f11a3d9&amp;_ss=r&amp;ref=o12jd76k">HP Spectre x360 Convertible</a> — Ksh.170,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-elitebook-830-g8-intel-core-i7-11th-gen-8gb-ram-512gb-ssd-133-inches?_pos=1&amp;_sid=09ae821f6&amp;_ss=r&amp;ref=o12jd76k">HP EliteBook 830 G8</a> — Ksh.145,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-probook-440-g8-11th-gen-c-i7-2-8gb-ram-512gb-ssd?_pos=1&amp;_sid=2eb27506a&amp;_ss=r&amp;ref=o12jd76k">HP ProBook 440 G8</a> — Ksh.129,000.00</p><p><a href="https://laptopclinic.co.ke/products/0s-g7-hp-340sg7-i7-1065g7-340s-g7-14-fh?_pos=1&amp;_sid=1ff47681d&amp;_ss=r&amp;ref=o12jd76k">HP 340S G7</a> — Ksh.99,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-zbook-studio-g3-laptop-intel-xeon-290-ghz-16gb-ram-512-gb-ssd?_pos=1&amp;_sid=19222cf85&amp;_ss=r&amp;ref=o12jd76k">HP ZBook 15 G3 Mobile Workstation</a> — Ksh.85,000.00</p><p><a href="https://laptopclinic.co.ke/products/hp-pavilion-15-eg0050-ci5-11th?_pos=1&amp;_sid=d2748270d&amp;_ss=r&amp;ref=o12jd76k">HP Pavilion 15-EG0050</a> — Ksh.82,000.00</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*Yg0vMoLu8R1CFpdN" /></figure><p><strong>Your Desired Specifications:</strong></p><p>In the symphony of technological poetry, your laptop’s soul shall sing with the chosen specifications:</p><p><strong>Display:</strong></p><p><strong>HD means high definition:</strong> It refers to a display resolution of 1280x720 pixels. Despite the HD designation, this resolution is not noted for being clear and sharp. For a better display, don’t settle for less than 1920x1080, typically referred to as 1080p. For instance,1920x1080, aka Full HD (FHD).</p><p><strong>4K</strong>: refers to the horizontal screen resolution of approximately 4000 pixels. Although the term 4K was not selected to indicate this, a 4K display has four times as many pixels as the 1920x1080 resolution.</p><p><strong>UHD, or Ultra HD:</strong> is often confused with 4K. So, what’s the difference? 4K equals a 4096x2160 resolution. UHD refers to a resolution of 3840x2160.</p><p>Retina is a term used only by Apple for their products, refers to a screen with a minimum resolution of 2304x1440. Keep in mind that 4K displays are comparative to this display.</p><p>There is not a direct correlation between screen size and screen resolution. A smaller screen may have a 1024x768 resolution. A larger one may have the same resolution as the smaller one. But the larger screen in this scenario will have a lower quality display. Why? It has the same number of pixels as the smaller screen, but the larger screen means they are less densely packed, resulting in a lower quality image. A higher resolution on the same size screen means a sharper image. But that means a smaller display could be harder to see, resulting in eyestrain.</p><p>Within the embrace of visual delight, the dimensions of your laptop’s screen shall dictate the spectacle. Opt for the intimacy of 11 inches or indulge in the grandeur of 17 inches, finding equilibrium between portability and immersive viewing.</p><p><a href="https://laptopclinic.co.ke/collections/ram?ref=o12jd76k"><strong>RAM:</strong></a></p><p>A symphony of memory, where multitasking thrives or wanes in performance. RAM or Random-Access Memory stores all the information a computer needs to run smoothly in that session. Simply put if you’re running multiple programs on your system simultaneously, you will need more RAM to support them. Laptop with good RAM and storage will keep you sorted for at least five years.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*2gilCSTuGIPNCAS2" /></figure><p><strong>4GB</strong></p><p>Best suited for browsing the web and updating social media.</p><p><strong>8GB</strong></p><p>Best suited for creating spreadsheets, working on presentations, basic gaming, and watching movies on OTT.</p><p><strong>16GB</strong></p><p>Best suited for streaming HD movies, basic photo editing, basic video editing, and gaming.</p><p><strong>32GB</strong></p><p>Best suited for graphic designing, professional photo editing, professional video editing, music production, gaming enthusiast and CAD design.</p><p><strong>Processor (CPU):</strong></p><p>As a shopper, you will also have to factor in the CPU capability of the computer from either Intel, AMD or Apple. CPU’s have really improved in terms of their efficiencies and performance over the past 10 years. Intel’s newest processors, especially the 11th Gen series, are really powerful and suitable for gaming (depending on the laptop specs) and high productivity tasks. The virtuoso conductor of your laptop’s performance, the processor shall orchestrate the symphony of speed and power.</p><p>Which processor models are available?</p><p><strong>Intel processors</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*dmnicwDEKv5oFk5N" /></figure><p>Intel Celeron:</p><p>Celeron is the lowest spec of the intel family, found mostly in our low cheaper variants such as the: HP 14 Celeron CF2209NIA and the Lenovo IdeaPad 3–14. The CPU has two 2 cores and has a base clock velocity of 1.10 GHz. These Intel Celeron is a very good CPU for guys on a really tight-budget and those after basic functionality from a Pc. If your workload involves loads of multitasking, then we recommend you to get a CPU with at the least four cores.</p><p>Intel Core i3:</p><p>The Intel Core i3 based-CPU’s have become so powerful nowadays, boasting of clock speeds up to 4.0 GHz. For example, the 10th Gen 1005G1 i3 processor found in this Lenovo IdeaPad S145–15 is one great beginner pc you should consider looking at. If you intend to use your computer for basic use like running office applications, web-browsing and making amazing PowerPoint presentations, this CPU will suit you perfectly.</p><p>Intel Core i5:</p><p>For shoppers looking for a more capable CPU for playing light games and photo or video editing, consider a core i5 laptop. The latest core i5 CPU’s come with 6 cores, capable of reaching maximum clock speeds of up to 4.60 GHz, 4K support.</p><p>Intel Core i7:</p><p>The core i7 processor is for users looking for a highly responsive PC capable of performing more heavy tasks. With an i7, you are sure to get the most out of your computer. Computer such as the Hp Envy X360 i7, 13M-BD0033DX are great for content creators.</p><p>Intel Xeon<strong>:</strong></p><p>Extremely powerful and expensive processors for large mobile workstations. If you do professional-grade engineering, 3D modeling or video editing, you might want a Xeon, but you won’t get good battery life or a light laptop.</p><p><strong>Apple mac-chips:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*8qV-EESVVeUuG14O" /></figure><p>m1 chip macbook</p><p>We consider the processors found in Apple pc’s as one of the best you could ever use, especially the new M1 chip. They offer cutting edge speeds and security that is unmatched. These new M1 chips now come standard on all new MacBook Pro’s and MacBook Air.</p><p><strong>AMD Processors</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*ci1h_8MN0nFnUJjn" /></figure><p>AMD’s chip naming is just as difficult to decipher as Intel’s.</p><p>In the name AMD Ryzen 5 7600X, the “7” is the generation (how old it is; higher is better), and the “6” is how powerful it is. A “6” would make this example a medium-powered chip, whereas a 3 or 4 would be weaker (slower). The next two numbers don’t have much impact on anything. The “X” at the end indicates high performance. Other letter designations include U for ultra-low power.</p><p>Is there a huge difference between Intel and AMD chips? My experience, testing dozens of both every year, is that it depends. Generally speaking, an Intel i5 is indistinguishable from a Ryzen 5 outside of very specific benchmarks. They’re similar when you’re doing things like browsing the web or editing documents. The same goes for the Intel i7 and Ryzen 7, and the Intel i3 and the Ryzen 3.</p><p>Graphics performance is where you’ll notice a difference. In my testing, in both benchmarks and real work use, AMD’s integrated graphics tend to perform better than Intel on graphics-intensive tasks — think editing videos or playing games. Intel’s most recent series of chips have closed that gap significantly, but AMD still has an edge. You may benefit from buying an AMD machine if you’re a video editor or gamer, but what you most likely want is a dedicated graphics card</p><p><a href="https://laptopclinic.co.ke/collections/graphics-card?ref=o12jd76k"><strong>Graphics Card:</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*jEhmgP4pJKHPzHnv" /></figure><p>In the kaleidoscope of visual enchantment, the graphics card shall render dreams into reality. With NVIDIA GeForce GTX or RTX series and AMD Radeon graphics, your laptop’s visual prowess shall reach sublime heights.</p><p>Graphic cards come in two forms:</p><p><strong>Dedicated graphics card</strong>: A dedicated graphics card is separate in nature (not soldered to the motherboard), that means they come with their own memory. Dedicated graphic cards offer more performance and are mostly found in high-end laptops such as the: Hp Envy 13 Core with NVIDIA MX-450. These cards are manufactured by companies like <strong>NVIDIA.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*4c_NHW0yrfmDueRG" /></figure><p><strong>Integrated graphics card:</strong> An integrated graphics card is soldered to the motherboard and is less powerful compared to a dedicated card. However, companies like intel are now making integrated graphic cards worth to buy due to advancements in technology. For example: Intel’s’ latest Iris® Xe Graphics<strong> </strong>is so good when it comes to multitasking, entertainment and productivity.</p><p><strong>Storage:</strong></p><p>Within the sanctum of data, the heart of your laptop shall find solace. Choose the agile grace of an SSD, embracing swift access to data, or the bountiful embrace of an HDD, a haven for vast digital treasures.</p><p>The hard drive is where you’ll store all your data. Think of this as the filing cabinet next to your desk. The most common choice these days is a solid-state drive (SSD), although some budget laptops still use spinning drives. We suggest avoiding those.</p><p>Go for an SSD drive if you can afford it, with at least 256 gigabytes. SSDs are faster, especially if they use an NVMe connection, which moves data in and out of the hard drive much quicker than the older standard, known as SATA. Sometimes you’ll find laptops with an SSD with NVMe to run the operating system but an older SATA drive to store files. This gives you the best of both worlds: speed where you need it, but still budget-friendly.</p><p>If you’re shopping for a budget laptop, you may run across eMMC storage. This is still billed as an SSD (which it is), but it’s a little different than the NVMe and PCIe SSDs. The abbreviation stands for Embedded MultiMediaCard, and it’s what you’ll find in phones, tablets, and some laptops (especially Chromebooks).</p><p>However, the “embedded” in eMMC usually means it’s soldered directly onto the motherboard. In other words, you can’t swap in a larger drive down the road. The other disadvantage is slower speeds. Currently, eMMC drives top out at about the same speeds as the old SATA-based spinning drives — usable, but not really speedy. In my testing, eMMC drives are fine for light duty laptops used for browsing the web, working on office docs, and so on. Any more than that, and you will be much better off with an SSD. That doesn’t mean there aren’t capable devices with eMMC drives, though. The Surface Go series laptops are a good example of a solid, pretty speedy machine that uses an eMMC drive (at least in the cheaper configurations).</p><p>The minimum amount of space we recommend is 256 gigabytes. If you store everything in the cloud or are looking at Chromebooks, you might be able to get by with less, but it’s good to have the space if you ever need it. If you plan to install a lot of games or software, or save a lot of photos or video, that will quickly eat up space.</p><p>You may have noticed that your hard drive doesn’t seem to ever have its advertised space. If a hard drive is labelled 512 gigabytes, it may show as having only 490 GB available in Windows. You aren’t losing space; this just has to do with the difference between binary and decimal byte size calculations. The drive makers use decimal bytes, but Windows uses binary, which is why they report different sizes. They are both technically correct, though the size Windows reports is the amount of disk space you can actually use to store files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*S62n-UZYmptLHGzX" /></figure><p><strong>Laptop Style and Weight:</strong></p><p>In the realm of aesthetics, where design and comfort intertwine, your laptop’s style shall dance to the tune of your heart. From the sleek and portable elegance to the robust and powerful, the choice shall reflect your essence and serve your needs.</p><p><a href="https://laptopclinic.co.ke/collections/batteries?ref=o12jd76k"><strong>Battery Life</strong></a><strong>:</strong></p><p>Amidst the reverie of technological wonders, the endurance of your laptop’s battery shall paint the canvas of convenience. Seek a laptop with lasting stamina, embracing a battery life of 6 to 8 hours or more, to accompany your ventures without faltering. Large batteries enable greater portability, allowing you to work more on the go. Look for a number of cells (higher the better), battery capacity, and replacement policy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*DDAopU2tV6GOiZgX" /></figure><p><strong>Operating System:</strong></p><p>In the realm of software symphonies, your laptop’s heart shall resonate with the chosen operating system. Windows, macOS, or Linux — the harmony of your user experience shall find its muse, a reflection of your preferences and needs.</p><ol><li><a href="https://laptopclinic.co.ke/collections/windows-software?ref=o12jd76k"><strong>Windows</strong></a><strong>:</strong></li></ol><p>Description: Developed by Microsoft, Windows is the most widely used operating system globally, with a user-friendly interface and extensive software compatibility.</p><p>User Base: Windows is prevalent among home users, businesses, and gamers, offering a vast range of software and applications.</p><p>Versions: Windows regularly releases new versions, such as Windows 10, Windows 11, and future iterations, each with enhanced features and security updates.</p><p>Pros: Familiar interface, broad software support, regular updates, compatibility with a wide range of hardware.</p><p>Cons:Can be susceptible to malware, may require frequent updates, certain versions may be resource-intensive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*34LTKxfhBWCpsViF" /></figure><ol><li><a href="https://laptopclinic.co.ke/collections/apple-macos?ref=o12jd76k"><strong>MacOS</strong></a><strong>:</strong></li></ol><p>Exclusive to Apple’s Mac computers, macOS is known for its sleek design, seamless integration with Apple devices, and a focus on creative applications.</p><p>User Base: Commonly used by creative professionals, designers, and those within the Apple ecosystem.</p><p>Versions: macOS releases periodic updates, each named after California landmarks (e.g., macOS Big Sur, macOS Monterey).</p><p>Pros: Elegant and user-friendly interface, robust security, optimized for creative tasks, seamless sync with other Apple devices.</p><p>Cons: Limited to Apple hardware, fewer software options compared to Windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*CcTD9MujVJ03ouCC" /></figure><ol><li><strong>Linux:</strong></li></ol><p>Linux is an open-source OS available in various distributions (distros), each tailored to specific user preferences and needs.</p><p>User Base: Linux is popular among developers, programmers, and tech enthusiasts who value customization and open-source software.</p><p>Distributions: Popular Linux distributions include Ubuntu, Fedora, Debian, and many others, each with its unique features.</p><p>Pros: High customizability, robust security, excellent for developers, vast range of free and open-source software.</p><p>Cons:Requires more technical knowledge, some software may not be compatible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*heTsHYTce_rbefCn" /></figure><ol><li><a href="https://laptopclinic.co.ke/collections/buy-google-chromeos-online-at-best-prices-in-kenya?ref=o12jd76k"><strong>Chrome OS</strong></a><strong>:</strong></li></ol><p>Developed by Google, Chrome OS is a lightweight, cloud-centric operating system designed for Chromebooks.</p><p>User Base: Chrome OS is suitable for users who primarily use web-based applications and require a simple and secure environment.</p><p>Pros: Fast and simple, excellent for web browsing and online productivity, automatic updates, cost-effective Chromebooks.</p><p>Cons: Limited offline functionality, dependence on internet connectivity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/0*63MTtfV1E_l1Rwo5" /></figure><p>Choosing the right operating system depends on your specific needs and preferences. Windows offers broad software support, macOS excels in creative tasks and integrates seamlessly with Apple devices, Linux provides customization and open-source advantages, while Chrome OS offers simplicity and online-centric functionality. Consider your workflow, software requirements, and hardware compatibility to make an informed decision that empowers you on your computing journey.</p><p><strong>3). Conclusion</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*z2WJWGQwKfNZkyXF" /></figure><p>Once you’ve narrowed the field to a few models, read some reviews and look for things beyond the specifications, like how the hinge holds up over time, how the keyboard feels, how the trackpad performs, and even how hot the bottom gets in your lap. Reading reviews like those here at WIRED is helpful and are an important guide to buying laptops, because looking at specs won’t tell you if a hinge is poorly made or feels sticky, or if the lid scratches easily.</p><p>Technical perfection isn’t everything though, so don’t ignore your idiosyncrasies. Do you want something that looks a certain way? There’s nothing wrong with that. Some people hate the idea of a plastic shell. Others wouldn’t be caught dead with anything other than black plastic. Design is important in both practical and aesthetic terms. It’s no fun to use a laptop you don’t like so let your intuition guide you to your desired laptop .</p><p>Sometimes what you like about something is hard to define, and on paper may not make much sense. As they say, there is no accounting for taste, so be sure to factor that into your decision.</p><p>As the sun sets on the Kenyan horizon, our voyage through the laptop wonderland draws to a close. Armed with the wisdom of understanding your usage, the compass of your budget, and the artistic palette of desired specifications, you stand ready to embark on a journey of technological transcendence having been guided properly. In this bustling land of opportunities, let your heart guide you to a laptop that echoes your soul’s yearnings — a steadfast companion that shall ignite your passions and elevate your aspirations. As you tread upon the path of laptop shopping in Kenya, may this poetic and detail-oriented guide illuminate your way, transforming your search into an odyssey of discovery and fulfillment.</p><p>I hope this detail-oriented guide sparks inspiration and provides a comprehensive exploration of laptop shopping in Kenya. If you have any specific details or preferences to incorporate, or if you need any further adjustments, please feel free to let us know, and we’ll be delighted to assist you further.<a href="https://laptopclinic.co.ke/?ref=o12jd76k"> </a><a href="https://laptopclinic.co.ke/?ref=o12jd76k">Laptop clinic</a> is here for you.</p><p>➤ Shop 1</p><p>Westlands, Woodvale Groove, Pamstech House next to Family Bank</p><p>0729 257 147</p><p>➤ Shop 2</p><p>CBD Moi Avenue, Union Towers Above Galitos,1st floor</p><p>0717 874 061</p><p>(Ps I had written this article last year while working at laptop clinic but I had posted it on a different platform and decided to transfer it here).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec8fb2af579b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Art of Writing Meaningful Git Commit Messages]]></title>
            <link>https://medium.com/@iambonitheuri/the-art-of-writing-meaningful-git-commit-messages-a56887a4cb49?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a56887a4cb49</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[git-commit-messages]]></category>
            <category><![CDATA[git-commit]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Fri, 09 Aug 2024 10:35:38 GMT</pubDate>
            <atom:updated>2024-08-14T06:03:16.918Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Git" src="https://cdn-images-1.medium.com/max/1024/1*jeZIJ5T9x_Tkwktj9vbVYQ.jpeg" /></figure><p>As you already know, I spent the last three months of my life in the JKUAT internal attachment program, and the articles I’ve written so far have shared the experiences I’ve had and the lessons I’ve learnt while there.</p><p>Today, I would like to talk about writing meaningful git commit messages, don’t worry, it’ll not be a long article. I tend to think there’s nothing as hard as coming up with names for variables when it comes to programming and I believe the things that comes second is coming up with meaningful git commit messages -I would often hear <a href="https://medium.com/u/4f17871bf976">Hilda Mwangi</a> ask Florence (and vice versa) to help her come up with commit messages, and they’d proceed to laugh- as it’s sometimes a daunting task.</p><p>On a personal note looking back at my old commits, I found a message from May 21st, 2024.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*8asaQ-GUIha2YBZEcpF9MA.png" /><figcaption><a href="https://github.com/theurikarue/">https://github.com/theurikarue/</a></figcaption></figure><p>It simply said ‘Tweaked a few things’ — not exactly helpful! I mean, who says that in this time and age?</p><h3>Why Should You Write Better Commit Messages.</h3><p>I think Git enters a whole other realm the moment you start working in teams. I challenge you to open up a personal project, or any repository for that matter, and run git log to view a list of old commit messages. (Btw, that’s how I’ve gotten to find my commit message from May 21st, 2024.) You’ll get to realize that six months later, you definitely cannot remember what the few things you tweaked were. Now imagine if you were working in a team; do you think they would know what you meant by ‘Tweaked a few things’? Probably not.</p><p>So, in a nutshell, you should write better commit messages for the following reasons:</p><ul><li>Future readers will not have trouble understanding what changed and why it changed.</li><li>To make it easier to undo certain modifications.</li><li>Making changes to the release notes.</li></ul><p>Clear commit messages serve as a roadmap for future developers, making it easier to track changes and understand the project’s evolution.</p><h3>The Anatomy of A Good Commit Message.</h3><p><strong>Basic:</strong></p><pre>git commit -m &lt;message&gt;</pre><p><strong>Detailed:</strong></p><pre>git commit -m &lt;title&gt; &lt;description&gt;</pre><p>In case you make an error in a recent commit you can run the following command</p><ul><li><strong>- — amend</strong> (allows you to modify and add changes to the most recent commit)</li></ul><pre>git commit --amend</pre><p><strong>Note</strong>: It’s great to use amend to clean up local commits, and once you’re done, you can push the updated version to a shared repository. However, it’s best to refrain from changing commits that have already been made public.</p><h3><strong>Conventional Commits</strong></h3><p>Now that we’ve covered basic commit structure of a good commit message, I’d like to introduce conventional commits to help provide some detail on creating solid commit messages.</p><p>Here’s a great template for a good commit message:.</p><pre>&lt;type&gt;[optional scope]: &lt;description&gt;<br><br>[optional body]<br><br>[optional footer(s)]</pre><p><strong>The commit type can be</strong></p><ul><li><strong>feat</strong>: Commits, which adds a new feature</li><li><strong>fix</strong>: Commits, that fixes a bug</li><li><strong>refactor</strong>: refactored code that neither fixes a bug nor adds a feature but rewrites/restructures your code.</li><li><strong>chore </strong>: Changes that do not relate to a fix or feature and don’t modify src or test files basically miscellaneous commits (for example, updating dependencies or modifying .gitignore file)</li><li><strong>perf </strong>: Commits are special refactor commits, geared towards improving performance.</li><li><strong>ci </strong>: Continuous integration related.</li><li><strong>ops </strong>: Commits, that affect operational components like infrastructure, deployment, backup , recovery …</li><li><strong>build </strong>: Changes that affect the build system build tool, ci pipeline, dependencies, project version, …</li><li><strong>docs </strong>: Commits, that affect documentation, such as the README.</li><li><strong>style </strong>: changes that do not affect the meaning of the code, likely related to code formatting such as white-space, missing semi-colons, etc.</li><li><strong>revert</strong>: reverts a previous commit.</li><li><strong>test:</strong>commits that add missing tests or correct existing tests</li></ul><p>eg:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*WDuXoS4FD72AZbdpmRThqw.png" /></figure><h3>Rules for creating a great commit message</h3><ul><li>Limit the subject line to 50 characters</li><li>Capitalize the subject/description line</li><li>Do not end the subject line with a period</li><li>Separate the subject from the body with a blank line</li><li>Wrap the body at 72 characters</li><li>Use the body to explain what and why</li><li>Use the imperative mood in the subject line let it seem like you’re giving a command eg “feat: Add unit tests for user authentication”. Using the imperative mood in commit messages makes them more consistent and commands-like, which is helpful in understanding the actions taken.</li></ul><h3>Conclusion</h3><p>Writing good commit messages is an extremely beneficial skill to develop, and it helps you communicate and collaborate with your team. Commits serve as an archive of changes. They can become an ancient manuscript to help us decipher the past, and make reasoned decisions in the future.</p><p>I hope this article has helped you go from ‘Tweaked a few things’ to meaningful messages that benefit everyone on your team.</p><p><strong>References:</strong></p><p>[1] <a href="https://www.freecodecamp.org/news/writing-good-commit-messages-a-practical-guide/">https://www.freecodecamp.org/news/writing-good-commit-messages-a-practical-guide/</a></p><p>[2] <a href="https://medium.com/front-end-weekly/how-to-write-good-git-commit-messages-like-a-pro-2c12f01569d9">https://medium.com/front-end-weekly/how-to-write-good-git-commit-messages-like-a-pro-2c12f01569d9</a></p><p>[3] <a href="https://kelvinromero.medium.com/writing-good-commit-messages-527679b1babb">https://kelvinromero.medium.com/writing-good-commit-messages-527679b1babb</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a56887a4cb49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Efficient API Development Using Django Generic Views.]]></title>
            <link>https://medium.com/@iambonitheuri/efficient-api-development-using-django-generic-views-e13e71364c8d?source=rss-3f3cc1c6b3a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/e13e71364c8d</guid>
            <category><![CDATA[django]]></category>
            <category><![CDATA[django-generic-view]]></category>
            <category><![CDATA[django-rest-framework]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[api-development]]></category>
            <dc:creator><![CDATA[theurikarue]]></dc:creator>
            <pubDate>Fri, 26 Jul 2024 06:44:01 GMT</pubDate>
            <atom:updated>2024-07-26T06:44:01.124Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why we leveraged Generic Views Our Project.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*r62-kdUTaaAs2kGeSf57aw.png" /></figure><p>While working on our <a href="https://medium.com/@iambonitheuri/jkuat-alumni-mapping-project-b78ad6bf2a38">internal attachment project</a> <a href="https://medium.com/@mauricemaina669">Maurice</a> and I relied heavily on using Generic Views for our Django back-end views. The main reason is that it was fairly easy to implement considering there is a lot of abstraction in it and it comes with pre-built functionalities that you don’t have to define explicitly.</p><p>This article goes over generic views and may help you leverage their potency in your next Django project.</p><h3>Introduction</h3><p>Imagine you’re building a website that needs pages to show list of items(like blog posts or products) and details about a single item (like a specific product). You might also need forms for users to create new items or edit existing ones. Building these pages from scratch takes time and effort. That’s where generic views come in handy.</p><p><strong>Advantages of Generic Views?</strong></p><p>Generic views are like pre-built blueprints provided by Django to handle commons tasks. Instead of writing all the code yourself you can use these views to:</p><ol><li>Save time: Use pre-built views instead of writing code from scratch.</li><li>Reduce Error: Standardized views reduce the chance of mistakes.</li><li>Flexibility: Combine and modify generic views to meet specific needs.</li></ol><p>According to the Django Documentation:</p><blockquote>“Django’s generic views… were developed as a shortcut for common usage patterns… They take certain common idioms and patterns found in view development and abstract them so that you can quickly write common views of data without having to repeat yourself.”</blockquote><p><strong>Reasons as to why we chose Generic views</strong></p><p>Considering we were using Django to create Restful APIs the Django Rest Framework also came in handy whereby Generic views helped us to:</p><ol><li>Implement Quickly: With pre-built functionalities we could focus more on customizing the views to meet our specific requirements.</li><li>Reduce Redundancy: By using generic views, we avoided repetitive code, making our project more maintainable</li><li>Enhance reliability: The abstraction provided by generic views made our code cleaner and easier to understand.</li><li>Documentation: using a package called drf-spectacular it was easier to document our APIs since documentation is an integral part of API development.</li><li>Laziness: Let’s face it, no one really likes difficult work. Generic Views made it easy for us to create views quickly and efficiently with minimal effort, leveraging pre-built functionalities so we didn’t have to write everything from scratch.</li></ol><p><strong>Common Generic Views</strong></p><ol><li>ListView: Use this to display a list of items from your database.</li><li>CreateView: It is used to create new items.</li><li>UpdateView: It is used to edit existing items.</li><li>DeleteView: It is used to delete an existing item.</li></ol><h3>Django Rest Framework and Generic Views.</h3><p>The Django Rest Framework builds on top of generic views, making it easier to create APIs for interacting with your data. It provides additional generic views specifically for APIs.</p><h4><strong>Components Of Generic Views</strong></h4><p>Generic Views are built on top of the APIView class. They consist of GenericAPIView, mixins, and concrete views:</p><ol><li>GenericAPIView is a more loaded version of APIView. It isn&#39;t really useful on its own but can be used to create reusable actions.</li><li>Mixins are bits of common behavior. They’re useless without GenericAPIView.</li><li>Concrete views combine GenericAPIView with the appropriate mixins to create views often used in APIs.</li></ol><p><strong>a. GenericAPIView</strong></p><p>Imagine you’re building a REST API, a way for other applications to access your data. GenericAPIView is like a toolkit for creating these APIs. It&#39;s a base class that provides common functionality you&#39;ll often need, such as:</p><ol><li><em>Serializing data:</em> It helps translate your data into a format (like JSON) that other applications can easily understand.</li><li>Querying the database:it helps us easily fetch the right data from your models.</li><li>Filtering and Pagination.</li></ol><p><strong>Key Attributes</strong></p><ol><li>Queryset: specifies the data source.</li><li>Serializer_class:Defines ow data is formatted.</li><li>Lookup_field:Identifies single items by a field.</li></ol><p><strong>Method that are important</strong></p><ol><li>get_queryset(): Customizes data retrieval.</li><li>get_object(): Retrieves a single object.</li><li>get_serializer_class(): Selects the appropriate serializer</li></ol><p><strong>b. Mixins</strong></p><p>GenericAPIView is a powerful tool on its own, but you can make it even more useful by combining it with &quot;mixins.&quot; <a href="https://www.django-rest-framework.org/api-guide/generic-views/#mixins">Mixins</a> provide bits of common behavior. They cannot be used standalone; they must be paired with GenericAPIView to make a functional view. While the mixin classes provide create/retrieve/update/delete actions, you still need to bind the appropriate actions to the methods.</p><p>One way to make it easier to understand is to think of mixins as add-ons that provide extra functionality.</p><p>Here is a list of mixins:</p><ol><li>CreateModelMixin: Creates a model instance.</li><li>ListModelMixin : adds a method to list multiple items.</li><li>DestroyModelMixin adds a method to delete items.</li><li>UpdateModelMixin : Update a model instance.</li><li>RetrieveModelMixin:adds a method to retrieve a model instance.</li></ol><p>You can use only one of them or combine them to achieve the desired result.</p><p>Here is an example of what a mixin looks like:</p><pre>class RetrieveModelMixin:<br>    &quot;&quot;&quot;<br>    Retrieve a model instance.<br>    &quot;&quot;&quot;<br>    def retrieve(self, request, *args, **kwargs):<br>        instance = self.get_object()<br>        serializer = self.get_serializer(instance)<br>        return Response(serializer.data)</pre><p>As you can see, RetrieveModelMixin provides a function (an action) called retrieve that retrieves an object from the database and returns it in its serialized form.</p><p>Here is another example showing how you can pair two mixins to achieve your desired result:</p><pre>from rest_framework import mixins<br>from rest_framework.generics import GenericAPIView<br><br>class CreateListItems(mixins.ListModelMixin, mixins.CreateModelMixin, GenericAPIView):<br><br>    serializer_class = ItemSerializer<br>    queryset = Item.objects.all()<br><br>    def get(self, request, *args, **kwargs):<br>        return self.list(request, *args, **kwargs)<br><br>    def post(self, request, *args, **kwargs):<br>        return self.create(request, *args, **kwargs)</pre><p>In CreateListItems we used the serializer_class and queryset provided by GenericAPIView.</p><p>We defined get and post methods on our own, which used list and create actions provided by the mixins:</p><ul><li>CreateModelMixin provides a create action</li><li>ListModelMixin provides a list action</li></ul><p>Last example on mixins(I promise), in this example you’ll see me use <a href="https://www.django-rest-framework.org/api-guide/generic-views/#retrievemodelmixin">RetrieveModelMixin</a>, <a href="https://www.django-rest-framework.org/api-guide/generic-views/#updatemodelmixin">UpdateModelMixin</a> and <a href="https://www.django-rest-framework.org/api-guide/generic-views/#destroymodelmixin">DestroyModelMixin</a> as all deal with a single model instance.</p><pre>rom rest_framework import mixins<br>from rest_framework.generics import GenericAPIView<br><br>class RetrieveUpdateDeleteItem(<br>    mixins.RetrieveModelMixin,<br>    mixins.UpdateModelMixin,<br>    mixins.DestroyModelMixin,<br>    GenericAPIView<br>):<br><br>    serializer_class = ItemSerializer<br>    queryset = Item.objects.all()<br><br>    def get(self, request, *args, **kwargs):<br>        return self.retrieve(request, *args, **kwargs)<br><br>    def put(self, request, *args, **kwargs):<br>        return self.update(request, *args, **kwargs)<br><br>    def patch(self, request, *args, **kwargs):<br>        return self.partial_update(request, *args, **kwargs)<br><br>    def delete(self, request, *args, **kwargs):<br>        return self.destroy(request, *args, **kwargs)</pre><p>Actions provided:</p><ul><li>RetrieveModelMixin provides a retrieve action.</li><li>UpdateModelMixin provides update and partial_update actions.</li><li>DestroyModelMixin provides a destroy action.</li></ul><p><strong>c. Concrete Views</strong></p><p>Last but not least among the components that build up generic views are concrete views(Clap foryourself if you’ve reached to this part of the article). I could have named this part “Putting it together” considering concrete views are the meat of it all, they combine GenericAPIView with the right mixins for common tasks.</p><p>Take a quick look at the code for one of the concrete view classes, ListCreateAPIView:</p><pre># https://github.com/encode/django-rest-framework/blob/3.12.4/rest_framework/generics.py#L232<br><br>class ListCreateAPIView(mixins.ListModelMixin,<br>                        mixins.CreateModelMixin,<br>                        GenericAPIView):<br><br>    def get(self, request, *args, **kwargs):<br>        return self.list(request, *args, **kwargs)<br><br>    def post(self, request, *args, **kwargs):<br>        return self.create(request, *args, **kwargs)</pre><p>As you can see, it’s fairly simple and looks very similar to what we created on our own when using mixins. They extend the appropriate mixins and GenericAPIView. They also define each of the relevant methods and bind the appropriate actions to them.</p><p><strong>Unless you need highly customized behavior, this is the view to go with if you’re using generic views.</strong></p><p>There are nine classes, each providing a combination of behavior that you might need:</p><pre><br>+------------------------------+----------------------------------------+-------------------------+---------------------------------------------------------+<br>|            Class             |                 Usage                  |     Method handler      |                      Extends mixin                      |<br>+------------------------------+----------------------------------------+-------------------------+---------------------------------------------------------+<br>| CreateAPIView                | create-only                            | post                    | CreateModelMixin                                        |<br>| ListAPIView                  | read-only for multiple instances       | get                     | ListModelMixin                                          |<br>| RetrieveAPIView              | read-only for single instance          | get                     | RetrieveModelMixin                                      |<br>| DestroyAPIView               | delete-only for single instance        | delete                  | DestroyModelMixin                                       |<br>| UpdateAPIView                | update-only for single instance        | put, patch              | UpdateModelMixin                                        |<br>| ListCreateAPIView            | read-write for multiple instances      | get, post               | CreateModelMixin, ListModelMixin                        |<br>| RetrieveUpdateAPIView        | read-update for single instance        | get, put, patch         | RetrieveModelMixin, UpdateModelMixin                    |<br>| RetrieveDestroyAPIView       | read-delete for single instance        | get, delete             | RetrieveModelMixin, DestroyModelMixin                   |<br>| RetrieveUpdateDestroyAPIView | read-update-delete for single instance | get, put, patch, delete | RetrieveModelMixin, UpdateModelMixin, DestroyModelMixin |<br>+------------------------------+----------------------------------------+-------------------------+---------------------------------------------------------+</pre><p>You will, have to bear with me on the above.</p><p>Medium editor sucks?</p><p>… Maybe…</p><p>One thing for sure is that it’s not designed for everyone (I mean not everyone will like it). It’s clean and simple. It’s very easy to use until you want to do something that it does not support, such as inserting table. That’s bad… because now you’ll have to deal with the weird table I’ve shown you above.</p><p>You can use the tool below to help you create a table (well table-like form) in your next write up:</p><p><a href="https://ozh.github.io/ascii-tables/?source=post_page-----1ecf924af08e--------------------------------">ASCII Table Generator</a></p><p>I digress, where were we? Ooh yes concrete views as I was saying they are the meat of this article I wrote the article specifically for this part … wait a minute that’s now where I was, I was listing the various classes in concrete views and it seems you’ll have to bear with me again as I would like to show you yet another table that’ll come in handy, it shows which class a particular method handler is mapped back to (medium should really find a way to add tables):</p><pre><br>+------------------------------+-----+------+-----------+--------+<br>|            Class             | get | post | put/patch | delete |<br>+------------------------------+-----+------+-----------+--------+<br>| CreateAPIView                |     | ✓    |           |        |<br>| ListAPIView                  | ✓   |      |           |        |<br>| RetrieveAPIView              | ✓   |      |           |        |<br>| DestroyAPIView               |     |      |           | ✓      |<br>| UpdateAPIView                |     |      | ✓         |        |<br>| ListCreateAPIView            | ✓   | ✓    |           |        |<br>| RetrieveUpdateAPIView        | ✓   |      | ✓         |        |<br>| RetrieveDestroyAPIView       | ✓   |      |           | ✓      |<br>| RetrieveUpdateDestroyAPIView | ✓   |      | ✓         |        |<br>+------------------------------+-----+------+-----------+--------+</pre><p><strong>Key Idea:</strong></p><p>These concrete views are convenient shortcuts for common use cases. If you need more specialized behavior, you can always create your own custom views by combining GenericAPIView with the specific mixins you need.</p><p>Now let me show you an example on how to use and implement concrete views:</p><pre>from rest_framework import generics, permissions<br>from . import models, serializers<br>from .mixins import GetUserProfileAndPostMixin<br><br>class RetrieveUpdateDestroyPost(generics.RetrieveUpdateDestroyAPIView, GetUserProfileAndPostMixin):<br>    queryset = models.Post.objects.all()<br>    serializer_class = serializers.PostSerializer<br>    permission_classes = [permissions.IsAuthenticatedOrReadOnly]<br><br>    def perform_update(self, serializer):<br>        user_profile = self.get_user_profile()<br>        serializer.save(author=user_profile)<br><br>    def perform_destroy(self, instance):<br>        user_profile = self.get_user_profile()<br>        if instance.author == user_profile:<br>            instance.delete()<br>        else:<br>            raise PermissionDenied(&quot;You do not have permission to delete this post.&quot;)</pre><ol><li>In the above code you can see the concrete view RetrieveUpdateDestroyAPIView that handles retrieving, updating, and deleting a single object.</li><li>Custom Mixin: GetUserProfileAndPostMixin is used to get the user profile for additional logic.</li><li>Queryset: queryset = models.Post.objects.all() includes all Post objects.</li><li>Serializer: serializer_class = serializers.PostSerializer specifies the serializer for input/output.</li><li>Permissions: permission_classes = [permissions.IsAuthenticatedOrReadOnly] allows only authenticated users to update/delete.</li><li>Overriden methods: Perform Update and Perform Destroy that updates and destroys a post respectively.</li></ol><p><strong>The Need for Customization</strong></p><p>While the built-in generic views cover many common scenarios, you’ll often need to tweak their behavior to fit your specific API requirements. Here are some reasons you might want to customize:</p><ul><li><strong>Complex Lookups:</strong> You need to fetch objects based on multiple fields in the URL, not just the primary key (pk).</li><li><strong>Specific Filtering:</strong> You want to filter the queryset in a unique way based on request parameters or other factors.</li><li><strong>Modified Serialization:</strong> You want to change how the data is presented to the client.</li><li><strong>Custom Permissions:</strong> You need to implement non-standard permission checks.</li></ul><p><strong>Advanced Techniques in Django REST Framework</strong></p><p>Let’s dive into some advanced topics and techniques you can explore with Django REST Framework:</p><p><strong>1. Hyperlinked APIs</strong></p><p>Hyperlinked APIs use links (URLs) to represent relationships between resources. Instead of including nested data, you provide URLs to access related objects. This promotes loose coupling and makes your API more self-descriptive.</p><p><strong>Example:</strong></p><pre>{<br>  &quot;url&quot;: &quot;https://api.example.com/blogs/1/&quot;,<br>  &quot;title&quot;: &quot;My Blog&quot;,<br>  &quot;posts&quot;: &quot;https://api.example.com/blogs/1/posts/&quot; <br>}</pre><p><strong>2. Nested Relationships</strong></p><p>While hyperlinked APIs are great for loose coupling, you might want to include nested data for some relationships. DRF provides serializers and fields to handle nested representations.</p><pre>{<br>  &quot;url&quot;: &quot;https://api.example.com/blogs/1/&quot;,<br>  &quot;title&quot;: &quot;My Blog&quot;,<br>  &quot;posts&quot;: [<br>    {<br>      &quot;url&quot;: &quot;https://api.example.com/posts/1/&quot;,<br>      &quot;title&quot;: &quot;First Post&quot;,<br>      &quot;content&quot;: &quot;...&quot;<br>    },<br>    {<br>      &quot;url&quot;: &quot;https://api.example.com/posts/2/&quot;,<br>      &quot;title&quot;: &quot;Second Post&quot;,<br>      &quot;content&quot;: &quot;...&quot;<br>    }<br>  ]<br>}</pre><p><strong>3. Versioning</strong></p><p>As your API evolves, you might need to introduce changes that aren’t backward-compatible. Versioning helps you manage these changes without breaking existing clients. DRF supports several versioning schemes, including URL path, query parameters, and headers.</p><p><strong>4. Throttling</strong></p><p>Throttling limits the number of requests a user can make within a certain timeframe. It helps protect your API from abuse and ensure fair usage. DRF provides built-in throttling classes and allows you to define custom ones.</p><p><strong>Example:</strong></p><pre>class FollowThrottle(UserRateThrottle):<br>    rate = &#39;5/min&#39;</pre><p>I created the above throttle class to limit the number of times you can follow/unfollow a profile(in the above case you’re limited to five per minute).</p><p><strong>5. Caching</strong></p><p>Caching can significantly improve the performance of your API by storing responses and serving them from the cache for subsequent requests. DRF integrates with Django’s caching framework and allows you to cache responses at different levels (e.g., per view, per object).</p><p><strong>Example:</strong></p><pre>@method_decorator(cache_page(60*2), name=&#39;dispatch&#39;) <br>class FollowerList(generics.ListAPIView): <br>    serializer_class = FollowerSerializer<br>    permission_classes = [IsAuthenticatedOrReadOnly]<br>    pagination_class = CustomPagination<br><br>    def get_queryset(self):<br>        user_profile = self.request.user.user_profile<br>        return Follower.objects.filter(followed=user_profile)</pre><p>The method decorator caches the view’s response for 2 minutes (60 seconds * 2). This reduces database load and speeds up response times for repeated requests within this time frame.</p><p><strong>6. Custom Permissions</strong></p><p>DRF provides flexible permission classes to control access to your API endpoints. You can use the built-in classes or create your own custom permission logic.</p><p><strong>Example:</strong></p><pre>from rest_framework.permissions import BasePermission<br>from rest_framework.exceptions import NotAuthenticated<br><br>class IsOwnerOrReadOnly(BasePermission):<br>    &quot;&quot;&quot;<br>    Custom permission to only allow owners of an object to edit or delete it.<br>    &quot;&quot;&quot;<br><br>    def has_object_permission(self, request, view, obj):<br>        <br>        if not request.user.is_authenticated:<br>            raise NotAuthenticated(&quot;User not authenticated.&quot;)<br>        <br>        # Read permissions are allowed to any so we&#39;ll always allow GET, HEAD or OPTIONS requests.<br>        if request.method in [&#39;GET&#39;, &#39;HEAD&#39;, &#39;OPTIONS&#39;]:<br>            return True<br><br>        # Write permissions are only allowed to the owner of the object or superuser.<br>        try:<br>            user_profile = request.user.user_profile<br>            return obj.author == user_profile or request.user.is_superuser<br>        except AttributeError:<br>            # Handle the case where the user does not have a profile<br>            return request.user.is_superuser</pre><p>The IsOwnerOrReadOnly a class is a custom permission class in Django REST Framework. It ensures that only the owners of an object can edit or delete it, while allowing anyone to read it.</p><p><strong>7. Third-Party Packages</strong></p><p>There are numerous third-party packages that extend DRF’s functionality. Some popular ones include:</p><ul><li><strong>DjangoFilter:</strong> For advanced filtering capabilities.</li><li><strong>DRF-yasg:</strong> For automatic generation of API documentation using OpenAPI/Swagger.</li><li><strong>DRF Spectacular:</strong> Another tool for generating OpenAPI schemas, and like I had said earlier we also used it to document APIs.</li></ul><p><strong>Additional Tips:</strong></p><ul><li><strong>Use ViewSets:</strong> ViewSets are a great way to organize related views for a single resource. They can simplify your code and make your API more consistent.</li><li><strong>Optimize Queries:</strong> Be mindful of the number of database queries your API is making. Use techniques like select_related and prefetch_related to optimize data fetching.</li><li><strong>Handle Errors Gracefully:</strong> Return informative error responses with appropriate status codes (e.g., 400 for bad requests, 404 for not found).</li></ul><h3>Conclusion</h3><p>Generic views in Django REST Framework offer a powerful way to handle common API tasks with minimal code. By leveraging GenericAPIView, mixins, and concrete views, you can build robust, maintainable, and flexible APIs quickly and efficiently. Whether you&#39;re listing items, retrieving details, creating, updating, or deleting instances, generic views provide the building blocks you need.</p><p>So next time you start a Django project, consider using generic views to save time and reduce the likelihood of errors. Happy coding!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*_vpEkZ-cQSHZEc1PYTf6Qw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e13e71364c8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>