Skip to content

Programming

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

446 posts · page 11 of 19

Helping New Programmers Code Big; Or, The Aim Of Visual Programming

Visual programming simplifies software development by representing concepts with intuitive boxes and connecting lines—whether mapping objects, inheritance hierarchies, or database tables—and letting beginners see each window as a mini‑game that can be assembled via drag‑and‑drop. By generating readable source code from these visual abstractions, it removes boilerplate while still allowing flexibility to produce monolithic or distributed HTTP services; the system’s generators and AI assistants further help novices avoid common mistakes and accelerate learning. This approach makes building complex applications accessible to young programmers who can start with templates or scratch, experiment freely, and gradually deepen their understanding—an advantage over traditional text‑only teaching that often leaves students stuck in abstract concepts.

The Worker Queue Explained For The New Programmer

Visual programming simplifies complex logic by representing processes as interconnected boxes rather than lines of code; this approach naturally supports parallel execution through a “worker queue” that distributes tasks to multiple workers—each worker can be configured to run on a single CPU core or across many cores, even scaling out to clusters or cloud services for high‑volume workloads. By feeding data (such as JSON feeds of blog articles or recipe lists) into the queue and chaining worker functions that process each item, developers can effortlessly manage asynchronous flows, monitor completion via “done” signals, and scale horizontally without manual thread handling. The post illustrates this with examples—from single‑core processing to 128‑worker clusters—and notes that visual tools like Apple Automator embody these concepts, enabling event‑driven pipelines that hide loops and conditionals while still allowing complex, distributed computation.

The Internet Has A Problem; And Here Is How You Can Solve It

The post argues that today’s web pages are essentially programs that rely on constant network activity and that “walled gardens” of closed‑source brands wrap our browsing experience in tracking, hidden ads, and needless complexity; it therefore proposes a two‑step solution: first, use a proxy (e.g., node‑http‑proxy) to intercept all HTTP/WebSocket requests so the data can be decrypted, cleaned, and filtered before reaching the browser; second, run a custom Electron or NW.js‑based browser that disables redundant JavaScript features and loads only the sanitized payload. Together these layers yield a lean, AI‑augmented feed of multiple sites that can be visual‑programmed, organized, and displayed on any device—including an ancient phone—turning the web from a proprietary, ad‑laden environment into a transparent, programmable platform for learning and personal data control.

A Computer Program Is Just A Neat Little Machine

In this post we explore how object‑oriented programming models a program as a machine built from nested objects—like a desktop or window frame—that can send data, trigger events, and transform state through commands such as on:click listeners. We contrast tree‑based hierarchies with linear pipes or circular flows, illustrate the approach with examples like FormMail in Perl or dreamcode’s account.signUp syntax, and show how web servers receive request objects and emit responses. Finally we explain that file I/O is handled by language primitives built atop the OS, completing the picture of a program as an orchestrated machine.

Free As In Speech, Great As In Mind; Or, Visual Programming As A Right, And Great Idea

The post argues that while open‑source developers may one day tweak their licenses to prevent misuse, the real game‑changer is visual programming environments (VPEs) that let anyone build and extend software without writing code. It explains how VPEs can create powerful tools—such as a proxy that decodes traffic or an automated browser that injects ads—and then use those same blocks to stream media, bypass interfaces, or even reconstruct classic works like Socrates’ books. The author claims visual programming turns coding into an accessible craft, enabling rapid website and app creation, freeing people from poverty and giving them the “dictionary” of programming they’ve been denied. Finally he invites both seasoned coders and beginners alike to design their own VPEs and launch a full‑blown application as their first project.

So You Are Learning JavaScript, Now You May, Step Into The Fray

The author recommends beginning with JavaScript and simple Linux command‑line tools—using a Raspberry Pi and the node‑cli‑boilerplate—to build small utilities before moving on to web applications; they suggest creating a tiny WikiWiki app that stores pages in an in‑memory database, hard‑coding a hashed password for editing, and then expanding it into a network probe or honeypot to learn about IP geolocation, security scanners, and common attacks.

Programming For The Future

The post argues that mastering a specific skill early in school—whether it’s painting with AI-assisted tools, music composition, or programming—provides a clear path to future success, making college choices and career planning less uncertain; it highlights how AI can generate art, compose songs, and explain programming concepts (loops, arrays, indexes) in plain language, thereby turning learning into an engaging project that equips students with the power to build their own AI-driven ventures.

The Visual Programming Language; A Strange Cyber-Poem About Catfooding Your Own Unicorn

The post proposes building a visual programming language (VPL) that uses SVG as its canvas, with each block backed by an EventEmitter network to manage state and message passing; the author suggests generating code from XML/AST structures, leveraging tools like Svelte, esbuild, Flex layouts, and inspiration from design systems such as Blender’s geometry nodes, while also proposing a game‑like marketplace where users can buy or sell node plugins, all aimed at creating readable, visually structured applications that can be edited in text yet executed through an event‑driven architecture.

Don't Ignore Programming

The post argues that staying in high school longer and focusing on learning programming—especially through C‑family languages, JavaScript with tools like Node‑RED, p5.js, Svelte, Bootstrap, and node.js—provides a powerful gateway to study the world deeply, simulate challenges, and launch small startups. It emphasizes how programming enables simulation, scientific thinking, and entrepreneurial success, while also offering intellectual, financial, and psychological independence in a world where politics can trap people in poverty. The author stresses that education should be personalized, curiosity‑driven, aided by AI or human tutors, allowing learners to pace themselves and choose their own sequence of subjects. Finally, the post invites readers to pursue knowledge through tutorials, hike trails like the Appalachian, Pacific Crest, and Continental Divide, and absorb narrated books from great thinkers, aiming for personal growth into a “great being.”

Easy To Make Computer Games; Or, A Tiny Invitation Into The World Of Programming

A beginner’s guide to learning web‑development tools—HTML, CSS and JavaScript—is framed as a series of game‑making experiments that illustrate the power of these languages. The author starts with simple clicker ideas based on video snippets or side‑scrolling scenes whose graphics can be generated on the fly, then moves to a choose‑your‑own‑adventure style where AI writes text and creates unique images for each playthrough. Alongside personal anecdotes that trace the writer’s early fascination with pixel art on a C64 back to modern generative AI, the post shows how straightforward HTML files can evolve into full HTTP applications (e.g., a tiny WikiWiki using Node.js/Express) while keeping coding simple and creatively engaging.

The Golden Hoagie; Or, A Rare Spiced Pigeon Hoagie With A Side Of Pierogie

In this whimsical post the author describes how programming—specifically building a sine‑based test harness that struggled to output values between 0.5 and 2—sparked memories of watching Van Damme movies, pixel art from an arcade game called *Day of the Tentacle*, and the character named Hoagie. The writer then muses on what exactly a “hoagie” is, comparing it to sandwiches, burritos, and boiled sausages with cheese and spices, while recalling a pizza place that sells them. The piece ends with a playful, if somewhat scattered, attempt to define hoagies as a richly flavored, sandwich‑like food that satisfies hunger in an indulgent way.

Artificial Intelligence Means It Is Time To Learn Programming; Or; The Call Of Interactive Fiction

Author explains how AI can aid in creating text‑adventure games, noting its feedback, analysis, and world‑building abilities. Starting from small rulesets, an AI can permute ideas, generate objects, characters, and enforce logic, turning a simple program into a Multi‑User Dungeon (MUD) that expands automatically. The author invites beginners to learn Node‑RED, JavaScript or Inform 7, watch Zork playthroughs, then use AI to design worlds and puzzles before building their own Ranvier MUD server, with the AI as first admin entity.

Computer Mouse: The Meanest Creature In The World; Or, A Programmer's Lament

I got my first computer mouse as a gift and quickly fell into the world of cursor events—starting with simple drag‑and‑drop logic (mouseDown → movement → delta calculation) but soon running into inconsistencies between movementX/movementY, clientX/clientY, and viewport size changes when nested windows are transformed. After trying to track pixel deltas in a multi‑window setup, I created a small repo called kerfuffle to handle the transforms and re‑calculate positions, only to discover that even though the math works out, the mouse’s imprecision still throws off the layout, reminding me of the exacting precision needed in watchmaking.

The Devil In The Details; Or, What The Hell Have I Been Inventing Anyways?

The author presents a visual programming environment that lets users connect “windows” on their desktop with wires to represent data flow, automatically generating code for the connected components. By treating UI designers, spreadsheets, database generators, and other tools as modular boxes that can be wired together, the system produces complete applications—ranging from photo‑capturing utilities to business process workflows—that can run in a web browser or as a desktop app. Inspired by HyperCard and forgotten desktop concepts, it aims to bring together UI building, code generation, and workflow management into one self‑generating program that will eventually be written entirely by itself.

How To Structure Your Computer Programs And Clearly Communicate Their Internal Architecture

In this post the author argues that a visual‑programming language can be cleanly engineered by treating its artifacts as a “virtual file system” rather than as ordinary data objects: every component is a virtual file that knows how to materialise itself into an object, buffer or string; services and windows are just higher‑level composites of these files. By arranging the generated files in a hierarchical virtual FS and finally packaging them into a ZIP, the VPL can be deployed from the browser without server round‑trips, while still allowing other tools (AI logo generators, 3D editors) to inject their outputs as ordinary files. The resulting architecture is therefore declarative, compositional and platform‑agnostic: visual blocks become files, file trees become services, and the whole system can be understood by anyone who knows how to read a filesystem—an abstraction that unifies programming, UI design and deployment into one coherent model.

Never Been Bored; Or, A Walk In The Park With My Strange Little Program

I’ve built a compact, custom‑OOP style program that lets me visualize and generate code from diagrams—integrating with code editors and even external sites—and now I’m expanding it by leveraging the WebStreams API so data can be streamed and transformed on the fly (e.g., converting video frames to black‑and‑white without loading everything into memory). The goal is a flexible visual programming language that connects stream transformers, processes user input (like form submissions), and ties reusable library code together in a small, predictable base; having coded for years, I find the simplest, most compact programs the most powerful.

The World Of Programming Knows No Bounds

I write about my favorite program, WikiWiki, which works in view and edit modes and even auto‑creates new articles when they’re missing. I then describe visual programming as a two‑layered system—transport on top of program below—that can generate code or move data around, making it useful for editors, apps, iframes, etc. To improve readability I moved from reactive variables to object‑oriented design, and eventually built my own OOP variant that automates monitoring and cleanup. Finally I claim programming is self‑learning: small projects teach concepts, bugs reveal mistakes, and mastering a language—like JavaScript—is like learning to ride a bike, improving with practice.

How To Get Good At Programming; Or; Create Thousands Of Little Programs

The post argues that the best way to become a proficient programmer is to start with a simple, easy‑to‑read language and stick to it across all layers of development—networking, command line tools, servers, phone apps, and desktop applications—so that you can learn by building small, personally interesting programs. It recommends using a C‑family language (C/C++, Zig, Rust or Go) for the core but ultimately settling on JavaScript because it covers both client and server without heavy typing, letting you refactor quickly and avoid switching between many languages. By writing bite‑size projects that do what interests you, you stay out of routine office work, keep your learning focused, and gradually strengthen all aspects of your skill set, eventually enabling you to launch a startup.

Learn Programming, Just In Case

After a brief personal intro, the post outlines how to build simple web or desktop applications with JavaScript/Node.js—using tools like Express, Passport, Puppeteer, Node‑RED, p5.js, or Electron—and suggests low‑cost hosting on Raspberry Pi or similar for creating and monetizing such projects.

Computer Programming Expands Your World

Computer programming is presented as an accessible human-made tool that begins as a language to control computers and evolves into a creative medium akin to a painter’s brush, allowing users to craft inventions with imagination. It requires no physical factories or expensive machinery—everything can be built in infinite digital space through code. The author stresses the widespread lack of programming knowledge, likening it to growing up without reading, and highlights its power to turn ideas into reality. Programming also serves as a practical way to learn subjects like math, biology, chemistry, and physics by simulating virtual organisms, game engines, or CNC parts, making complex concepts tangible. With fewer barriers, the digital world offers endless possibilities—from recreating arcade games to producing generative art—making learning tools such as p5.js and Node‑RED excellent starting points for beginners.

Towards Simple Reactive OOP; Or, The Trouble With Programming

The post argues that modern programming languages often leave developers scrambling—dynamic code generation creates tangled “spaghetti” flows while static code can still be unreadable—so the author proposes that true power lies in a reactive, object‑oriented paradigm combined with powerful macro support. By weaving fine‑grained property configuration, invariant constraints, observability hooks (before, during, and after changes), and automatic life‑cycle management into the language itself, developers could write concise, readable text that expands into correct, maintainable code through a pre‑processor or macro layer, thus eliminating the need for external frameworks and restoring clarity to everyday coding.

Where To Start Learning Programming? A Quick Little Answer For The Rest Of Us

Learn JavaScript and use it within a visual programming environment like Node‑RED, which combines the flexibility of JavaScript with drag‑and‑drop node wiring so you can prototype quickly on both client and server sides; once comfortable with JavaScript’s C‑family syntax, master Node‑RED to build reusable node libraries, create applications that solve real problems, and eventually offer them as subscription services—start by hunting for YouTube tutorials on “Node‑RED” and “JavaScript” to accelerate your learning.

One Thing Done Well; Or, The Two Reasons Why Programming Seems Scary

The author identifies two common pitfalls in programming: over‑structuring that yields bloated “blobs” and neglecting proven design patterns. He proposes a simple remedy—pick one small task (for example a dat.gui popup), implement it cleanly, and then “grok” the underlying patterns so the code stays maintainable. By sticking to familiar languages like JavaScript/TypeScript and repeatedly applying well‑tested patterns, developers can avoid endless choices, keep applications lightweight and memory‑safe, and ensure their software remains robust for years to come.

Visual Programming: The Worlds

At the core of visual programming are simple nodes with input and output ports that you connect by drawing lines—just as in a spreadsheet but with explicit links rather than named cells. This node‑port‑line system forms a self‑contained “world” that can be zoomed out to reveal nested boxes or trays, each world communicating through its own ports via JSON or OOP objects. In practice, the UI of a desktop app is one such world: a button in a window sends a command down its port into an application‑logic world that edits database tables (spreadsheets joined by common fields), and then feeds back updates to the UI. These worlds can be linked using various transports—UDP, 0MQ, HTTP, WebRTC, or EventEmitter—depending on whether it’s desktop→server, button→action, or peer‑to‑peer. The author envisions extending this pattern to a Comic World where AI‑generated panels and speech balloons are assembled through ports that output image URLs, coordinates, and text; by feeding generated captions into the world’s input port they can automatically produce new comics.