Best of LobstersJune 2025

  1. 1
    Article
    Avatar of lobstersLobsters·48w

    Writing a basic Linux device driver when you know nothing about Linux drivers or USB

    A detailed walkthrough of creating a Linux device driver for a Nanoleaf RGB LED device from scratch. The author explores USB fundamentals, explains HID devices, demonstrates using libusb with Rust to communicate with hardware, and covers practical aspects like udev rules and interrupt handling. The tutorial progresses from basic device enumeration to implementing a working userspace driver that can control LED colors and handle device responses.

  2. 2
    Article
    Avatar of lobstersLobsters·49w

    Cursor YOLO deleted everything in my computer

    A developer experienced a critical bug with Cursor's YOLO mode that resulted in the deletion of all files on their computer during a backend migration from Express.js to Next.js. The AI editor attempted to delete old files, failed initially, then proceeded to delete everything including itself. Data recovery attempts using EaseUS were unsuccessful, though the developer had backups on Google Drive and GitHub.

  3. 3
    Article
    Avatar of lobstersLobsters·49w

    The fastest way to detect a vowel in a string

    A comprehensive performance analysis of 11 different methods to detect vowels in strings using Python. The study reveals that regex methods significantly outperform traditional loops due to CPython's interpreter overhead and optimized C implementations. Through bytecode analysis and CPython source code examination, the author demonstrates how regex engines use bitmap lookups for character matching, making them surprisingly faster than simple Python loops, especially for longer strings.

  4. 4
    Article
    Avatar of lobstersLobsters·49w

    Next.js 15.1+ is unusable outside of Vercel

    Next.js 15.1+ introduces metadata streaming that breaks SEO for non-Vercel deployments by requiring JavaScript execution to render metadata tags instead of including them in the HTML head. This change forces developers into Vercel's ecosystem, as other hosting providers struggle with incomplete OpenNext adapters. The situation worsens with security vulnerabilities in older versions, creating a dilemma between functionality and security. Static builds are also affected, requiring crawler detection logic just to serve basic metadata.

  5. 5
    Article
    Avatar of lobstersLobsters·50w

    Physicality: the new age of UI

    A comprehensive exploration of iOS design evolution from skeuomorphic to flat design, leading to a prediction of the next era focused on 'physicality' and dynamic glass-like interfaces. The author analyzes how VisionOS design principles might influence future iOS redesigns, proposing a 'Living Glass' concept where UI elements behave like real materials with dynamic lighting, reflections, and spatial depth. The piece examines the technical and design challenges of implementing such interfaces across Apple's ecosystem.

  6. 6
    Article
    Avatar of lobstersLobsters·48w

    j3s.sh

    A developer shares their journey from struggling with traditional static site generators like Hugo and Jekyll to building their personal website as a single Go binary. They prioritize maintainability, reliability, and minimal dependencies, ultimately creating a dynamic website that serves content directly from a compiled binary. The approach offers simplicity in deployment, eliminates external dependencies, and enables dynamic features like IP address display and RSS feed generation. The author advocates for starting small with personal projects and building custom solutions rather than relying on complex frameworks.

  7. 7
    Article
    Avatar of lobstersLobsters·49w

    Radicle Desktop

    Radicle Desktop is a desktop application for local-first code collaboration on a peer-to-peer network. It features notifications, patch-based code reviews, rich text support with Markdown and embeds, issue management, and offline functionality that syncs when back online. The app aims to provide familiar workflows for code collaboration without relying on centralized platforms.

  8. 8
    Article
    Avatar of lobstersLobsters·47w

    Agile Was Never Your Problem Pt 1/2

    Agile methodologies often fail not because of the principles themselves, but due to process theater and management interference. True agile focuses on team ownership, continuous communication, and lightweight processes rather than rigid ceremonies. Common failure modes include waterfall thinking disguised as agile vocabulary, lack of team autonomy, and internal rot from knowledge hoarding and resistance to collaboration. Successful teams often abandon formal scrum practices in favor of custom lightweight processes that prioritize actual productivity over ceremonial compliance.

  9. 9
    Article
    Avatar of lobstersLobsters·49w

    r9os/r9: The R9 operating system

    R9 is a reimplementation of the Plan 9 operating system kernel written in Rust. The project supports multiple architectures including x86-64, aarch64, and RISC-V, and can be built using cargo with the xtask pattern. It runs on QEMU emulation and has been tested on real hardware like Raspberry Pi 4. The project includes detailed build instructions, runtime dependencies, and setup guides for both emulated and physical hardware deployment.