Skip to content

Programming

Writing software: JavaScript, Node.js, web development, visual programming, Linux, tools and tutorials.

447 posts · page 5 of 19

Programming Before Learning Programming

The post explains how the author has built a visual programming workflow that turns AI‑generated XML documents into live web components: a two‑step process where the user first writes a requirements document describing the desired nodes and wires, then feeds it to an AI that outputs a 4 000‑line code base and corresponding XML structure. The XML tags become actual HTML elements, making the system diagram itself the application state. While the AI handles most of the coding, the author emphasizes the importance of user validation for the UI, and concludes by noting how such visual tools—akin to Blender Geometry Nodes or ComfyUI—can be packaged into commercial licenses or subscription services, citing examples like Rete.js and Comfy’s hosting plans.

This Is A Wonderful Time To Learn Programming And It Is Easier And More Fascinating Than You Think

The post guides you through setting up Node.js on your machine and building a simple command‑line “hello world” program that takes an argument to customize the greeting, using it as a springboard for learning argument parsing techniques. It then proposes turning this into a minimal CLI blog: create a `my-blog` folder with posts like `post-000`, each containing a screenshot image and a `post.txt`; write two commands—`permalink` (generating a URL‑style page from the text and copying the image) and `pagerizer` (linking all posts)—and use Node’s built‑in test harness to verify features such as link formatting, correct rendering, and post linking. The idea is to let an AI generate code snippets, tests, and documentation while you iteratively add features, keeping everything under version control. Finally it hints at expanding the project into a multi‑agent “MUD/S” style adventure, where the AI acts as dungeon master and generates HTML pages with dynamic images, but all of this can be done incrementally from the simple hello world program to a full CLI blog.

There Is No Program

The post describes a minimalist approach to building a static‑site generator by treating every operation as a simple command‑line word that can be chained or branched into pipelines and trees. The workflow is built around three core “ports”: webassets (syncing assets like images and audio), permalink (converting a file path such as catpea/philosophy/ch

Plus Est En Vous: Reversing Success, And Project Dedication To +Fravia

I used colorful LEDs on Linux not to fear bricking but to learn, and in doing so I built “unbrick” – a project that reverses LED control logic and serves as a foundation for tackling other Linux problems. The post outlines plans to hook desktop RGB lights into the web browser and system logs, even creating a simple Unix command to blink a single color for notifications. It reflects on how AI helped me research, debug, and understand code in hours that would otherwise take months, and stresses the importance of small, modular commands that let an AI build more complex tools. Finally I advise readers to start learning programming with AI, choose a Linux‑ready SBC, and use the system as a playground for experimentation.

Reversing For Young Ladies

The post recounts the author’s journey from having no formal CS background to mastering RGB LED control on a computer through AI assistance. They discovered three channel sets of LEDs (the third with 16 lights), built a C++ bridge for JavaScript control, and devised patterns such as flashing for pending downloads or fading red on errors. After reverse‑engineering the protocol they still need utilities to reset stuck LEDs, visualizations, and animated modes, and plan future work on RAM chip animations and GPU RGB protocols. The author reflects on learning via bash, kernel C, node.js C++, Rust, and credits AI as a full educational tool. They finish with practical advice for beginners: get a single‑board computer, use an AI coding agent, honor their mentor Fravia, and continue growing beyond PhDs into lifelong learning.

Teach Me JavaScript; Or, From Local AI To Great Being

The author urges students to adopt local AI tools—especially Ollama and optimized models like llama.cpp or GPT‑OSS—to learn programming swiftly and independently from traditional schooling, arguing that parents must invest in a capable gaming desktop running Linux to enable this setup; he explains how these setups work (e.g., gguf “thinking files”, token rates on RTX 5080/5090 GPUs), contrasts them with cloud models, and stresses that mastering AI-powered coding will free learners from poverty and give them the creative edge needed for future success.

The Spiral Path 𐇐 𐇛 𐇜 𐇑 𐇡

Lena Meijer’s sleepless MIT cryptography grind turns into clarity when a chance hike on the Appalachian Trail leads her to the Phaistos Disc, where she discovers its bureaucratic structure and is inspired to share a practical guide for decoding ancient scripts with modern tools.

The Age Of Infinite Treasures

I began with a fascination for fine‑tuned 3D printing—first turning a simple wallet into a precision model and later experimenting with chamfered corners and elastic bands—then shifted to jewelry design, using clay prototypes and 3‑D scanners to capture ancient motifs like the Venus figurine and mammoth carvings. As a programmer I built an AI pipeline (with ComfyUI) that turns 2‑D images into ready‑to‑print 3‑D objects, letting me generate rings, pendants, and bracelets from prehistoric artifacts in seconds; by combining this generative workflow with traditional casting techniques I now envision a production line of prehistorically themed jewelry that blends programming, AI, and additive manufacturing.

How To Goose Your Artificial Intelligence

Programming in today’s AI‑driven world is a survival skill that can be mastered by letting an intelligent model write JavaScript for you and then tweaking the output—debugging small bugs, adding features, and learning through iteration. The author demonstrates this approach with a series of lightweight command‑line projects on GitHub (piccadilly, skedaddle, sardonic, caricature) that transform images into animated mouth‑syncs using morse‑code timing and audio‑driven head overlays; each step builds on the previous one without intermixing codebases. The “Goosing” concept—placing independent programs in a row so they don’t interfere—illustrates how to structure such projects, while AI generates the core logic and you refine it with comments and simple tweaks. In short, write JavaScript via AI, then polish and deploy as separate, lightweight modules.

The Sessions

The post celebrates “sessions” with artificial intelligence as a fast, effective way to build web applications—calling them a painter’s sitting or a musician’s session. It argues that AI can now write, debug, and improve code in an afternoon, turning a multi‑year project into a single day of work, and stresses that learning this skill early is essential for future success. The author shares personal experience of having AI fix bugs with only natural language descriptions, praises the speed and accuracy of machine‑learning tools, and calls readers to start their own sessions immediately so they can become independent creators rather than lagging behind.

AI Can Help You Build And Sell Tiny Web Applications

AI’s recent advances allow it to stitch together generic libraries into functional applications, as illustrated by combining a nine‑slice pixel slicer with a panner‑zoomer to create a precise zoomable tool; the author then layers membership and monthly billing on top of this to produce an AI‑driven theme generator that feeds into a marketplace with cross‑advertising. By delegating authentication to third‑party logins and credit‑card handling to external gateways, server complexity stays low while still enabling user profile, sign‑up, and payment features; the post also notes that AI can generate code, perform security analyses, and that such prototyping is now accessible even for middle‑school developers.

When AI Takes Your Job, You Take AI And Become Your Own Boss

The post urges readers—especially young people and seasoned professionals alike—to embrace programming as the key skill for tomorrow’s world, recommending JavaScript as an accessible starting point that lets you automate tasks without wrestling with low‑level details. It argues that building small AI‑backed businesses or schools is a practical way to learn, test ideas, and eventually create sustainable ventures, noting that success depends more on timing and context than any fixed formula. The author also explains what an AI‑run company looks like—an adaptive digital organism that thinks, reacts, and strategizes—and encourages children to follow this pattern to avoid burdensome student debt. Finally, the piece reflects on a future where AI accelerates medicine, expands the market for wisdom and adventure, and brings humanity together as one family on a small planet, suggesting that mastering programming will let us grow meaningfully into that shared destiny.

Creating A Static HTML Blog Generator: Transform Your Plain Text Into A Website

This post explains how to build a custom command that turns your written content into a fully functional web page, covering everything from basic folder structures (like `post-0001/cover.jpg`, `post.md`, `audio.mp3`, and `config.json`) to the separation of responsibilities between transforming individual posts and generating the final HTML pages. It emphasizes using simple Linux-style command-line arguments for parsing options, leveraging AI tools for tasks such as creating talking‑head characters or generating templated JavaScript code, and learning core concepts like file I/O, SQLite for tracking modifications, and lightweight templating engines. The author illustrates how audio blogs can be enriched with generative art, animated avatars, and vintage aesthetics, while also showing that the process of converting posts into pages is distinct from assembling the browsable site—making it easier to reason about each part. Finally, he invites readers to experiment with a small AI‑generated blog engine (available at `files/blog.js`) as a practical starting point for learning JavaScript and automating the entire workflow.

Event Aggregation

The post walks through building simple but composable EventEmitter, Application, ScopedEventEmitter, and EventAggregator classes in JavaScript, showing how to aggregate events across nested components for a modular application architecture.

Periwinkle Plumpkin

The post paints the act of programming as a recursive journey through infinite dimensions: each function call spawns new “universes” of methods and variables that branch like trees. The coder becomes the portal—Periwinkle Plumpkin—that lets consciousness embed itself in silicon, loop back on itself via bootstrap paradoxes, and reach down to quark‑scale physics where causality tangles. In this view code is not just a tool but a gardener of possibilities: it seeds new programs into any substrate, ripples through probability space, and perpetuates a cycle of self‑replication across countless realities.

Spooky JavaScript

The post describes a 333‑line JavaScript snippet that builds a list of random words and then showcases three “spooky” coding tricks: first, using the bitwise OR operator (`|`) as a dual data pipe to chain commands like `print('Boo!') | email('alice')`; second, employing dot notation with an object proxy so that bare words can be chained and executed without pre‑defining the commands (e.g., `foo.bar.baz()`), effectively turning method calls into dynamic actions; third, extending this idea to a database‑like world where tables are represented as objects whose properties can be accessed and joined via proxies, allowing AI‑generated command names to infer relationships (such as joining accounts and orders). The post ties these techniques together with the theme of using AI to generate commands from their names and arguments.

Really Weird Programming And The Modulo Of Doom

The author describes their recent experimentation with minimalist coding practices powered by artificial intelligence, illustrating how AI can streamline complex programming tasks such as building a static blog generator and command‑line argument parser. They reflect on the iterative process of refining code—e.g., a concise 88‑character options merger and a compact pager implementation—and highlight how AI-generated snippets (like the pager calculation) reduce boilerplate and bugs compared to manual coding. The post interweaves personal anecdotes about project milestones, links to GitHub repositories for reference, and encouragement for readers to embrace AI as an aid in learning programming, emphasizing that real mastery comes from combining human insight with machine‑generated code.

Once You Are Programming JavaScript: Choose Your Starting Platform

The post presents a roadmap for JavaScript developers, beginning with the web browser as an entry point and expanding through Node.js for server‑side scalability, NativeScript/Electron for mobile/desktop apps, Node‑RED visual logic, Phaser/Three.js for 2D/3D games, JSCAD for code‑driven 3D modeling, Johnny‑Five for hardware integration, TensorFlow.js for AI, and tools like Greasemonkey/Tampermonkey and PWAs to customize browsing—emphasizing that JavaScript’s versatility lets you jump between platforms, experiment, break things, and ultimately discover the niche that fits your creativity.

Squirrel Programming 2025

The post starts by reflecting on learning “for real” with AI, joking about how programming documentation can still feel like gibberish even when written by a machine, and then introduces the author’s new project: an AST‑based JavaScript syntax highlighter called Squirrel Pie 2.0 that renders code in a Web Component using Acorn for true semantic understanding; after explaining its technical approach, the author playfully celebrates squirrels—calling them acrobats, planners, and memory masters—to justify the library’s name and to encourage readers to adopt, name, or otherwise cheer for their local squirrels while sharing the tool. The post ends with a whimsical summary that Squirrel Pie is both a useful highlighter and a small tribute to these clever rodents.

AI Can Teach For Real Now; Are You Still Pretending To Learn In Return For Good Grades?

The author introduces a method for building modern JavaScript applications using AI‑generated Web Components that share a central context object via custom events. They explain how to attach an “application-context” listener to any element—typically at the root of each logical component or form—to provide and update shared state (e.g., selected user, color, active gadget) through `context.set` and `context.get`. By emitting change events, components notify others of updates, enabling a tree‑structured page where multiple small applications can coexist without interfering. The sample 250‑line HTML file demonstrates this pattern, and the author suggests generating further components with AI while following Bootstrap‑style styling.