Future-proof your skills and escape the tech hamster wheel with Linux, Python, vim & git (LPvg) including NixOS, Jupyter, FastHTML and an AI stack to resist obsolescence.
Levinux Logo
Pipulate Logo

LPvg: Timeless Tech Skills for the AI Age

  • `Linux`: The open-source pulse of global computation.
  • `Python`: Language of logic, creativity, and discovery.
  • `vim`: Text whisperer—zen efficiency in keystrokes.
  • `git`: Memory keeper—track, share & find your way.
            /)  ___
      /)\__//  /   \
  ___(/_ 0 0  |     |
*(    ==(_T_)==LINUX|
  \  )   \"\  |     |
   |__>-\_>_>  \___/
    

That’s the main minimal tech-stack as a sort of swiss army knife or utility belt of tech. You don’t need to use it for everything, but it is applicable to everything. With a few more tools, we lower the barrier to entry and make systems reproducible across all hardware. Plus, we’ll sprinkle in the free local AI and a Python-centric web development environment.

                             ___
                            |   |         _____
                            |_  |        /     \
                              \ |       |       \
                              |  \      |       /
                               \  \____ \_      \
                                \      \_/      |
                          ___.   \_            _/
         .-,             /    \    |          |
         |  \          _/      `--_/           \_
          \  \________/                     /\   \
          |                                /  \_  \
          `-----------,                   |     \  \
                      |                  /       \  |
                      |                 |         | \
                      /                 |         \__|
                     /   _              |
                    /   / \_             \
                    |  /    \__      __--`
                   _/ /        \   _/
               ___/  /          \_/
              /     /
              `----`

Writing as a Compass in the Tech Wilderness

I don’t write because I crave an audience or have products to peddle. My words are my compass, helping me navigate the ever-shifting landscape of technology. This digital journal is my sounding board, a space where ideas echo and crystallize. With each post, I’m forging a path forward, articulating the complex, and holding myself accountable to the journey I’ve chosen—and practicing my craft.


  1. Revolutionizing Software Deployment: How Nix Flakes Simplify Development Beyond Docker and pip

    Discover how Nix Flakes are transforming the development landscape by offering a streamlined, reproducible environment that outperforms traditional methods like Docker and pip installations. This article delves into the advantages of using Nix Flakes for infrastructure as code, highlighting how it simplifies user experience, ensures cross-platform consistency, and automates setup and updates.


  2. The key to AI Code Assist Acceleration is 1-Folder Scope

    Explore how moving a key NixOS config to a 'repos' folder accelerates AI coding assistance with Cursor AI. Learn about challenges with Vim macros, AI limitations, and tips for consolidating development resources while leveraging cross-repo insights for coding efficiency.


  3. Soft Launching Botifython

    My journey upgrading Botifython's Pipulate fork with Nix flakes, transforming Jupyter Notebooks into web apps, and deploying to coworkers. From FOSS to proprietary shifts, embracing infrastructure as code, and automating SEO workflows—crafting tech with passion and precision.


  4. Botifython is Born

    I’m diving back into web development through Botifython, a Python framework focused on SEO and AI, driven by new technology. My setup utilizes Nix Flakes for reproducible environments and includes an automated update mechanism with SSH keys, ensuring seamless integration of new features. I’m excited to evolve this project with stable and experimental branches as I continue to enhance its capabilities.


  5. Object Oriented Base Class Plugins

    I've built a plugin system using object-oriented programming, something I was initially hesitant about due to Python's OOP syntax. By creating a base class, `BaseApp`, I've streamlined CRUD operations and routes, improving the system's long-term flexibility. This approach reduces complexity in my single-file setup. I’ve customized the base class with wrappers like `TodoApp` and `ProfileApp` for specific functionalities. This shift to precision coding lets me add new features, like sorting, without bloating the code, making the system easier to update and maintain.


  6. Building a Plugin-Ready Framework: A Step-by-Step Transformation

    Discover how I restructured my system into a plugin-ready framework, enhancing modularity and simplifying updates. This guide outlines the transformative steps taken, highlighting the benefits of a modular design for improved scalability, maintainability, and collaborative development.


  7. Test SPA Endpoints (Single Page Applications in FastHTML)

    This article details the development of a comprehensive testing suite for a FastHTML single-page application using Python's `unittest`. It covers endpoint testing, logging enhancements, and future plans for UI automation, ensuring the application’s reliability and robustness while showcasing code snippets for clarity.


  8. FastHTML and SortableJS For Sortable Todo Lists

    This article explores how to integrate SortableJS with FastHTML for creating sortable to-do lists. It covers client-side drag-and-drop functionality, efficient backend updates using MiniDataAPI, and setting up JavaScript and Python endpoints for real-time updates.


  9. AI-Generated Refactoring Advice from Top LLM Models

    Learn how to integrate AI-powered refactoring advice from Claude 3.5 Sonnet and OpenAI ChatGPT o1-Preview into a Python web framework using FastHTML. This guide walks you through setting up refactoring systems and enhancing workflow with cutting-edge AI models.


  10. Unpacking FastHTML Databases

    The article explores the complexities and nuances of the FastHTML framework, emphasizing its layered architecture built on Python and Starlette. It discusses the challenges of adapting to new conventions while developing a Pythonic API wrapper, highlighting the importance of understanding evolving frameworks for effective web development.


  11. A ChatGPT o1-Preview Code Review

    Building the next generation of Pipulate with FastHTML has been challenging but rewarding. After overcoming hurdles with HTMX and real-time streaming, I'm excited about the potential for powerful local web apps built in Python, easily shareable across platforms.


  12. FastHTML WebSockets & Database for Streaming & Persistence

    FastHTML simplifies web dev with built-in SQLite support, WebSockets, and HTMX. It enables easy database setup, real-time updates, and server-side rendering. The article chronicles a shift from custom solutions to leveraging FastHTML's streamlined features for persistence and communication.


  13. Ollama Websocket Chat

    WebSocket technology enables efficient real-time chat and responsive UIs, replacing older methods like polling. The article discusses various streaming techniques, including ZeroMQ, and proposes combining FastHTML HTMX with Ollama chat for a web-based AI chatbot.


  14. Understanding FastHTML's Framework Opinions

    Comming to grips with how opinionated a framework FastHTML really is, but deciding it's still worth it, if I can decipher the intuitively correct feeling HTMX approach, coupled with Python functions named for HTML tags.


  15. From Jupyer Notebooks to FastHTML with WebSockets

    Getting Back into Web Programming with Jupyter Notebooks and FastHTML, getting down the basic trick of Streaming Messges from long-running tasks using HTMX and WebSockets.


  16. Code as Infrastructure

    Embracing Infrastructure as Code for Hardware Freedom and Career Growth


  17. Melding a Mac and Linux Nix Flake

    Systematically working through getting all the basic data science components working on Windows, Mac and Linux.


  18. Forking a Flake of Infrastructure as Code

    Creating a portable foundation for every project using Nix Flakes and Infrastructure as Code, ensuring a consistent starting point across platforms while avoiding architecture over-engineering. This approach balances practical needs and reusability, making development smooth and adaptable.


  19. There's No Home Like Nix

    This article explores building a reproducible development environment using Nix, focusing on creating a "home" script to streamline setup across platforms. It highlights Nix flakes, simplicity in tech, and modernizing apps like Pipulate with AI in FastHTML.


  20. The DevOps Renaissance: How Infrastructure as Code is Redefining Digital Craftsmanship

    Explore the resurgence of the polymath in DevOps, where Infrastructure as Code is enabling small teams to achieve unprecedented scale and efficiency. Discover how continuous refinement of IaC transforms DevOps engineers into digital artisans, shaping the future of software development.​​​​​​​​​​​​​​​​


  21. FastHTML and Cursor AI on Linux, Mac & Windows

    Learn how to integrate FastHTML and Cursor AI using Nix across Mac, Windows, and Linux. This guide walks through setting up a cross-platform development environment, handling NixOS challenges, and ensuring compatibility with popular tools.


  22. Using NixOS and Nix with Pip Install DotEnv

    Leverage NixOS and Nix with pip to install python-dotenv for managing environment variables. This guide walks you through setting up reproducible Python environments, securely handling secrets, and integrating tools like FastHTML and Ollama for efficient development under Nix.


  23. Getting My Nix System Together

    Discover Nix and NixOS for reproducible systems. Learn to configure NixOS, set up data science environments, and manage Python dependencies, balancing Nix's determinism with Python's flexibility.


  24. Updating NixOS

    Discover Nix and NixOS essentials, including transitioning from Ubuntu and Fedora, understanding the unique /nix/store/, and leveraging deterministic packaging on Mac and Windows. Learn how Nix Flakes simplify software management and development environments.


  25. Embracing AI-Assisted Development with Jupyter AI and Nix Flakes

    Learn how to modify a `flake.nix` to create a flexible development environment with JupyterLab, CUDA support, AI-assisted tools like Jupyter AI, and Python virtual environments for enhanced productivity and adaptability.


  26. Cross-Platform Nix Flake for Jupyter & FastHTML

    Learn how I methodically crafted a cross-platform Nix flake that integrates JupyterLab, CUDA support, Ollama for local LLMs, and a FastHTML server, leveraging virtual environments for maximum flexibility.


  27. Get the Big Tech Picture to Maintain Agency

    Discover the evolution of foundational tech tools—from Unix to Python, Vim, and NixOS—and learn how understanding these principles empowers you to maintain independence and control in today's AI-driven landscape.


  28. My First Nix Flake Will Be JupyterLab

    Exploring how to create a portable and shareable JupyterLab environment using Nix flakes, enabling consistent development workflows across NixOS and macOS.


  29. Getting Started with Nix Flakes

    Discover how Nix Flakes simplify NixOS configuration management. Learn to version control your system setup and streamline your workflow with this step-by-step guide.


  30. Groking the NixOS Langauge

    Pythonista struggles with NixOS, seeking an intuitive grasp of its declarative syntax, functional nature, and abstract structures, navigating challenges in config language comprehension.


  31. Linux, Python, Vim & Git (LPvg) Your Minimum Tech Toolkit for Life

    Master Linux, Python, Vim, and Git (LPvg) as your minimum tech toolkit to stay relevant, resist obsolescence, and embrace open-source freedom with Nix, Jupyter Notebooks, and Pythonic web development using FastHTML and HTMX.


  32. Future-proof Your Tech Skills

    Future-proof your tech skills by mastering a few cherry picked fundamentials that apply in the AI Age. Hear the argument.